Soft margin classifier

Information

  • Patent Grant
  • 5640492
  • Patent Number
    5,640,492
  • Date Filed
    Thursday, June 30, 1994
    30 years ago
  • Date Issued
    Tuesday, June 17, 1997
    27 years ago
Abstract
A soft margin classifier and method are disclosed for processing input data of a training set into classes separated by soft margins adjacent optimal hyperplanes. Slack variables are provided, allowing erroneous or difficult data in the training set to be taken into account in determining the optimal hyperplane. Inseparable data in the training set are separated without removal of data obstructing separation by determining the optimal hyperplane having minimal number of erroneous classifications of the obstructing data. The parameters of the optimal hyperplane generated from the training set determine decision functions or separators for classifying empirical data.
Description

BACKGROUND OF THE INVENTION
1. Field of the Invention
This disclosure relates to automated data classifiers. In particular, this disclosure relates to an apparatus and method for performing two-group classification of input data in automated data processing applications.
2. Description of the Related Art
Automated systems for data classifying application such as, for example, pattern identification and optical character recognition, process sets of input data by dividing the input data into more readily processible subsets. Such data processing employs at least two-group classifications; i.e. the classifying of input data into two subsets.
As known in the art, some learning systems such as artificial neural networks (ANN) require training from input training data to allow the trained learning systems to perform on empirical data within a predetermined error tolerance. In one example, as described in Y. Le Cun et al., "Handwritten Digit Recognition with a Back-propagation Network" (D. Touretzky, Ed.), ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS, Volume 2, Morgan Kaufman, 1990; a five layer back propagation neural network is applied to handwritten digit recognition on a U.S. Postal Service database of 16.times.16 pixel bit-mapped digits containing 7300 training patterns and 2000 test patterns recorded from actual mail.
One classification method known in the art is the Optimal Margin Classifier (OMC) procedure, described in B. E. Boser, I. Goyan, and V. N. Vapnik, A Training Algorithm for Optimal Margin Classifiers, PROCEEDINGS OF THE FOURTH WORKSHOP OF COMPUTATIONAL LEARNING THEORY, Vol. 4, Morgan Kaufman, San Mateo, Calif. 1992. An application of the OMC method is described in commonly assigned U.S. patent application No. 08/097,785, filed Jul. 27, 1993, and entitled AN OPTIMAL MARGIN MEMORY-BASED DECISION SYSTEM, which is incorporated herein by reference.
Generally, using a set of vectors in n-dimensional space as input data, the OMC classifies the input data with non-linear decision surfaces, where the input patterns undergo a non-linear transformation to a new space using convolution of dot products for linear separation by optimal hyperplanes in the transformed space, such as shown in FIG. 1 for two-dimensional vectors in classes indicated by X's and O's. In this disclosure the term "hyperplane" means an n-dimensional surface and includes 1-dimensional and 2-dimensional surfaces; i.e. points and lines, respectively, separating classes of data in higher dimensions. In FIG., 1 the classes of data vectors may be separated by a number of hyperplanes 2, 4. The OMC determines an optimal hyperplane 6 separating the classes.
In situations having original training patterns or dot-product-transformed training patterns which are not linearly separable, learning systems trained therefrom may address the inseparability by increasing the number of free parameters, which introduces potential over-fitting of data. Alternatively, inseparability may be addressed by pruning from consideration the training patterns obstructing separability, as described in V. N. Vapnik, ESTIMATION 0F DEPENDENCIES BASED ON EMPIRICAL DATA, New York: Springer-Verlag, pp. 355-369, 1982; followed by a restart of the training process on the pruned set of training patterns. The pruning involves a local decision with respect to a decision surface to locate and remove the obstructing data such as erroneous, outlying, or difficult training patterns.
It is preferable to absorb such separation obstructing training patterns within soft margins between classes and to classify training patterns that may not be linearly separable using a global approach in locating such separation obstructing training patterns. It is also advantageous to implement a training method which avoids restarting of detecting difficult training patterns for pruning.
SUMMARY
A soft margin classification system is disclosed for differentiating data vectors to produce a classification signal indicating membership status of each data vector in class. The soft margin classification system includes a processing unit having memory for storing the data vectors in a training set; stored programs including a data vector processing program; and a processor controlled by the stored programs. The processor includes determining means for determining parameters including slack variables from the data vectors, the parameters representing a multidimensional surface differentiating the data vectors with respect to the class; and means for generating the classification signal from the data vectors and the parameters.
The generating means evaluates a decision function of the parameters and each data vector to indicate membership of a respective data vector in the class to generate the classification signal. The determining means determines the parameters including a weight vector and a bias for all of the data vectors in a training set, and determines a minimum non-negative value of the slack variables for each data vector from a plurality of constraints.
The determining means minimizes a cost function to satisfy a plurality of constraints. The determining means determines the weight vector and bias representing an optimal hyperplane separating classes A, B. An input device is provided for inputting the training set of data vectors, and the processor includes means for transforming the data vectors using convolution of dot products.
A method is also disclosed for differentiating pattern vectors to indicate membership in a class comprising the steps of storing data vectors in memory; processing the data vectors using stored programs including a data vector processing program; determining parameters including slack variables from the data vectors, the parameters representing a multidimensional surface differentiating the data vectors with respect to a class; and generating a classification signal from the data vectors and the parameters.





BRIEF DESCRIPTION OF THE DRAWINGS
The features of the disclosed soft margin classifier and method will become more readily apparent and may be better understood by referring to the following detailed description of an illustrative embodiment of the present invention, taken in conjunction with the accompanying drawings, where:
FIG. 1 illustrates an example of two-dimensional classification by the OMC method;
FIG. 2 shows the components of the soft margin classifier disclosed herein;
FIG. 3 illustrates a block diagram of the operation of the soft margin classifier;
FIG. 4 illustrates a block diagram of a subroutine implementing a parameter determination procedure;
FIG. 5 illustrates exemplary bit map digits as training patterns;
FIG. 6 shows an example of soft margin classification of pattern vectors; and
FIG. 7 illustrates error contributions from the slack variables.





DESCRIPTION OF THE PREFERRED EMBODIMENTS
Referring now in specific detail to the drawings, with like reference numerals identifying similar or identical elements, as shown in FIG. 2, the present disclosure describes an apparatus and method implementing a soft margin classifier 10, which includes a processing unit 15 having a processor 20, memory 25, and stored programs 30 including a matrix reduction program; an input device 35; and an output device 40. In an exemplary embodiment, the processing unit 15 is preferably a SPARC workstation available from Sun Microsystems, Inc. having associated RAM memory and a 400 MB capacity hard or fixed drive as memory 25. The processor 20 operates using the UNIX operating system to run application software as the stored programs 30 providing application programs and subroutines implementing the disclosed soft margin classifier system and methods.
The processor 20 receives commands and training pattern data from a training pattern data source 45 through the input device 35 which includes a keyboard and/or a data reading device such as a disk drive for receiving the training pattern data from storage media such as a floppy disk. The received training pattern data are stored in memory 25 for further processing to determine parameters of an optimal hyperplane as described below.
The parameters are used by the processor 15 as a decision function to classify input empirical data to generate a classification signal corresponding to the input empirical data as being a member or non-member of a specified class corresponding to a separator value input by the user through the input device 35. The classification signal is sent to an output device 40 such as a display for displaying the input data classified by the decision function. Alternatively, the output device 30 may include specialized graphics programs to convert the generated classification signal to a displayed graphic of a multidimensional hyperplane representing the decision function. In additional embodiments, the generated classification signal includes a weight vector, a bias, and slack variables listed in a file with the input training patterns for output as columns or tables of text by the output device 40 which may be a display or a hard copy printer.
The soft margin classifier 10 performs the application programs and subroutines, described hereinbelow in conjunction with FIGS. 3-4, which are implemented from complied sources code in the C programming language with a LISP interface.
The present invention includes a method for generating a classification signal from input training patterns, including the steps of storing data vectors in memory; processing the data vectors using stored programs including a data vector processing program; determining parameters including slack variables from the data vectors, the parameters representing a multidimensional surface differentiating the data vectors with respect to a class; and generating a classification signal from the data vectors and the parameters.
In an exemplary embodiment, as shown in FIGS. 3-4, the soft margin classifier 10 starts a classification procedure in step 60 using the data vector processing program, including the steps of receiving data vectors of the training set from a training pattern data source in step 65; parsing received data vectors to obtain class labels in step 70; receiving an input separator value representing a class which is selected by a user through input device 35 for classification of the data vectors in step 75; and determining parameters of a separator classifying data vectors in the class according to the separator value in step 80 which includes transforming input data vectors in step 85 according to a predetermined vector mapping; determining parameters of an optimal multidimensional surface separating parsed data vectors by soft margins using slack variables in step 90; and determining a decision function from the parameters corresponding to the separator value in step 95.
After determining the parameters in step 80, the classification procedure performs the steps of generating a classification signal from the decision function to indicate membership status of each data vector in the class in step 100; and outputting the classification signal in step 105.
In step 90, the determination of parameters is performed by a subroutine as shown in FIG. 4 including the steps of starting the determination of parameters of the optimal multidimensional surface in step 110; minimizing a cost function by quadratic optimization in step 115; determining weight vector and bias in step 120; determining minimum non-negative slack variables satisfying soft margin constraints in step 125; and returning the determined weight vector, bias, and slack variables in step 130 to proceed to step 95 in FIG. 3.
In an exemplary embodiment, the soft margin classifier 10 generates ten separators for each digit 0, 1, . . . 9, where a separator is a classification signal or set of parameters determining a decision function derived from the training set. The decision function derived from the training set is used to classify empirical input data with respect to the selected class.
In the exemplary embodiment for use in recognizing bit mapped digits, each pattern t.sub.i of data in the training set T includes a bit map s.sub.i and a label y.sub.i of a digit D where the pattern s.sub.i, when reformatted, determines the shape and appearance of the digit D. Data pattern t.sub.i is referred to as a vector, but t.sub.i may be in other equivalent or comparable configurations; for example, matrices, data blocks, coordinates, etc.
Each data pattern t.sub.i is associated with the set Y.sub.D by its corresponding label y.sub.i, where Y.sub.D is the set of all patterns which are bit maps of digit D. Data pattern t.sub.i may thus be represented by the vector (s.sub.i, y.sub.i) indicating that pattern s.sub.i has label y.sub.i ; s.sub.i .epsilon.Y.sub.D (belongs to set Y.sub.D); and s.sub.i represents a bit map of digit D. Also associated with Y.sub.D is its complement Y.sub.D '=not(Y.sub.D) where Y.sub.d ' is the set of all patterns t.sub.i having corresponding bit map data s.sub.i which do not represent a bit map of digit D. Thus, Y.sub.D .orgate. Y.sub.D '=T.
As shown in FIG. 5, fourteen patterns are bit maps of digits with their corresponding label of the represented digit respectively below. Therefore, a data pattern s.sub.1 shown as reference 50 in FIG. 5 is a bit map of digit 6, so s.sub.1 is associated with Y.sub.6 and s .epsilon.Y.sub.6. Similarly, data pattern s.sub.2 shown as reference 55 in FIG. 5 is a bit map of digit 5, so s.sub.2 .epsilon.Y.sub.5, s.sub.2 .epsilon slash.Y.sub.6, and s.sub.1 .epsilon slash.Y.sub.5.
In the above examples, s.sub.1, s.sub.2 .epsilon.T are bit maps of 16.times.16 pixels so the length of each data pattern s.sub.1, s.sub.2 is 16.times.16=256 bits and so each is represented in the above example by a 256 component vector.
In operation the soft margin classifier 10 parses each pattern t.sub.i =(s.sub.i, y.sub.i) of label Y.sub.i, leaving data vector s.sub.i, and then each vector s.sub.i is transformed by convolution of a dot product to transformed data vectors x.sub.i. The transformation permits classification using non-linear decision surfaces; i.e. a non-linear transformation is performed on the input patterns in the input space to a new transformed space permitting linear separation by optimal hyperplanes of the OMC method in the references cited above.
A predetermined k-dimensional vector function
V:.sup.n .fwdarw..sup.k (1)
maps each n-dimensional training vector s.sub.i to a new k-dimensional training vector x.sub.i =V(s.sub.i). As described below, a k-dimensional weight vector w and a bias b is then constructed for each digit D such that a decision function classification function f.sub.A for class A is a linear separator of the transformed training vectors x.sub.i where
f.sub.A (x)=w.multidot.V(x)+b (2)
In the exemplary example, A=Y.sub.D and B=Y.sub.D ' for generating a decision function or separator classifying input data vectors to determine the membership status of the input data vectors in each class A, B; i.e. to determine whether or not each input data vector represents digit D.
In constructing the separator using optimal hyperplanes as in the OMC method, the weight vector may be written as: ##EQU1## where x.sub.i is the transformed training data vectors.
The linearity of the dot product implies that the decision function f.sub.A for class A for unknown empirical data depends on the dot product according to ##EQU2##
The classification method may be generalized by considering different forms of the dot product
V(u).multidot.V(v).tbd.K(u,v) (5)
According to the Hilbert-Schmidt Theorem, as described in R. Courant and D. Hilbert, METHODS OF MATHEMATICAL PHYSICS, Interscience, New York, pp. 122-141, 1953; any symmetric function K(u,v) can be expanded in the form ##EQU3## where .lambda..sub.i .epsilon.and V.sub.i are eigenvalues and eigenfunctions, respectively, of the integral equation
.intg.K(u,v)V.sub.i (u)du=.lambda..sub.i V.sub.i (v) (7)
A sufficient condition to ensure a positive norm of the transformed vectors is that all the eigenvalues in the expansion of Eq. (6) above are positive. To guarantee that these coefficients are positive, it is necessary and sufficient (according to Mercer's Theorem) that the condition
.intg..intg.K(u,v)g(u)g(v)du dv>0 (8)(8)
is satisfied for all g such that
.intg.g.sup.2 (u)du<.infin. (9)
Functions that satisfy Mercer's Theorem can therefore be used as dot products. As described in M. Aizerman et al., "Theoretical foundations of the potential function method in pattern recognition learning", Automation and Remote Control, 25:821-837, June 1964; potential functions are of the form ##EQU4##
In the Boser et al. publication, cited above, the optimal hyperplane method was combined with the method of convolution of the dot product, and in addition to the potential functions as in Eq. (10) above, polynomial classifiers of the form
K(u,v)=(u.multidot.v+1).sup.d (11)
were considered.
Using different dot products K(u,v), one can construct different learning machines with arbitrarily shaped decision surfaces. All these learning machines follow the same solution scheme as the original optimal hyperplane method and have the same advantage of effective stopping criteria. A polynomial of the form as in Eq. (11) is used in the soft margin classifier 10 described herein. In use, it was found that the raw error in classification c the U.S. Postal Service Database was between 4.3-4.7% for d=2 to 4, and the error decreased as d increased. With d=4, the raw error was 4.3%.
By increasing the degree d, simple non-linear transformations as in Eq. (11) eventually lead to separation, but the dimensionality of the separating space may become larger than the number of training patterns. Better generalization ability of the learning machine, and less potential over-fitting of the data, can be achieved if the method allows for errors on the training set as implemented in the soft margin classifier 10 and method described herein.
The OMC method described above uses margins on either side of an intermediate hyperplane separating the transformed vectors to thus classify the transformed vectors as being on one side or the other of the intermediate hyperplane. The margins are determined by the +1 and -1 in the equation ##EQU5##
In the soft margin classifier 10, the margin is "soft"; i.e. the hyperplane separating the classified data vectors in the transformed space depends on the values of slack variables. The margins are determined from the slack variables such that ##EQU6## where .xi..sub.i (w,b) for each pattern is a non-negative slack variable. The value of .xi..sub.i i(w,b) is a function of the parameters (w,b) of the decision surface which is the smallest non-negative number that makes the transformed data patterns x.sub.i satisfy the inequality in Eq. (13).
FIG. 6 illustrates the use of slack variables in relation to an optimal hyperplane between vectors of classes A, B represented by X's and O's respectively.
Hyperplanes 135, 140 correspond to w.multidot.x +b =-1 and w.multidot.x +b =1, respectively, with soft margins extending from each hyperplane 135, 140. Hyperplane 145 corresponds to w.multidot.x +b =0 and is intermediate of hyperplanes 135, 140.
As shown in FIG. 6, data vector 150 is in class A but is classified by the soft margin classifier 10 as a member of class B since data vector 150 is present in the region determined by the hyperplanes 135, 140, classifying data vectors as members of class B. Similarly, data vectors 155, 160 from class B are classified as being as class A by the soft margin classifier 10 using hyperplanes 135, 140. As shown in FIG. 6, the values of the slack variables .xi. are greater than 1 for data vectors 150, 155, 160; i.e. data vectors 150, 155, 160 are deemed erroneous data. These erroneous data vectors are taken into account by the soft margin classifier 10, as described below, without removal c these data vectors from the training set and without restart of the classification method, in determining the optimal hyperplanes. FIG. 6 also illustrates data vectors 165, 170 of classes A and B, respectively, having .xi.=0; i.e. lying on hyperplanes 135, 140, respectively.
The soft margin classifier 10 determines the weight vector w and the bias b having the fewest numbers of errors on the two sets A, B of patterns. A value of .xi..sub.i (w,b) >1 corresponds to an error on pattern x.sub.i since the pattern is classified according to the sign of w.multidot.x.sub.i +b.
The optimal solution is found to be (w.sup.*,b.sup.*) which minimizes the expression ##EQU7##
As illustrated in FIG. 7, .THETA. is the step-function: .THETA.(x)=1 if x>0 and zero otherwise, shown as reference 175.
The minimizing of Eq. (14) is a highly non-linear problem. An analytic expression for an upper bound on the number of errors is obtained through the constraint ##EQU8## where .DELTA.>0.
As shown in FIG. 7, for .DELTA.>1, the cost of an error increases more than linearly as shown by the graph 180 of .xi..sup..DELTA. with the pattern's deviation from the desired value. As seen in FIG. 7, non-errors; i.e. patterns having 0 <.xi.<1, make small contributions by .xi..sup..DELTA., shown as reference 185, to the sum .epsilon.(w,b), approximating the zeroing out the non-errors by the step function. As .DELTA..fwdarw.0 all .xi.>1 contribute with the same cost of 1 using the step function where .xi..sup..DELTA. is approximately 1, shown as reference 190, as .DELTA..fwdarw.0, which is preferable to the contribution of each .xi.when .DELTA..gtoreq.1.
A constraint of the form in Eq. (15) departs from the quadratic programming problem of determining the optimal hyperplane in the OMC, and departs from guaranteed convergence time, unless .DELTA.=1 or 2. In the preferred embodiment of the soft margin classifier 10, .DELTA.=1 is the best mode since it provides a constraint that is near to the desired constraint. In alternative embodiments, a hybrid method is implemented by the soft margin classifier 10 with .DELTA.=2 for 0.ltoreq..xi..ltoreq.1 and .DELTA.=1 for .xi..gtoreq.1 which provides a moderate increase in computational complexity.
A unique solution to the quadratic optimization problem is provided by the following cost function ##EQU9## where .eta., .gamma. are parameters of the cost function, kept fixed under optimization. The cost function is minimized in step 115 in FIG. 4 with respect to the following constraints: ##EQU10##
The terms in the cost function serve different purposes. The term .epsilon..sup.2 enforces a small number of errors. When several solutions exist with the same value of .epsilon..sup.2 we choose the unique one that also minimizes .parallel.w.parallel..sup.2 +.gamma..xi..sup.2. The .parallel.w.parallel..sup.2 term is common with the OMC, and it tends to keep the distance between the convex hulls of the correctly classified patterns as far apart as possible. The .xi..sup.2 term is chosen to obtain a unique solution, so its multiplier .gamma. is kept at a small positive value.
Eq. (16) can be solved in the dual space of the Lagrange multipliers in a similar manner as in the OMC for determining optimal hyperplanes. Additional m+1 non-negative Lagrange multipliers are introduced: m multipliers, .epsilon..sub.i enforces the constraints .xi..sub.i .gtoreq.0, and a multiplier .delta. enforces the last constraint of Eq. (17).
In the OMC, a function W was defined by the following equation: ##EQU11##
In the soft margin classifier system and method disclosed herein, the function W in Eq. (18) is altered to become: ##EQU12## with respect to which the 2m+1 non-negative multipliers are maximized, where .psi.is the 2m+1 dimensional vector ##EQU13## and A is a positive definite (2m+1) .times.(2m+1) matrix.
The optimal weight vector w.sup.* and bias b.sup.* are determined in step 120 in FIG. 4 by: ##EQU14## under the constraints ##EQU15##
The vectors U, l, u.sub.i, V.sub.i, e.sub.i of dimension n+m+1 are defined as follows: ##EQU16## and non-negative Lagrange multipliers .alpha..sub.i, .beta..sub.i, .epsilon..sub.i, and .delta. are applied for the constraints. The Lagrange function corresponding to the optimization problem is, with this notation, ##EQU17## where Q is a n+m+1.times.n+m+1 diagonal matrix ##EQU18##
The minimization of Eq. (27) with respect to U is performed according to the following Kuhn-Tucker conditions: ##EQU19##
Back-substitution the first five expressions of Eq. (29) back into Eq. (27) determines a maximization problem in the 2m+1 dimensional multiplier space of .alpha..sub.i, .beta..sub.i, .epsilon..sub.i, .delta.: ##EQU20##
From the above, W is a quadratic form of the multipliers due to the introduction of the n+m+1 dimensional vector .psi. defined in Eq. (22). One obtains ##EQU21## where the matrix H in the n+m+1 dimensional block matrix A is the signed dot products between vectors:
h.sub.ij =Y.sub.i Y.sub.j X.sub.i .multidot.X.sub.j
and m.sup.* is the number of patterns with non-zero .xi. in the solution.
The constnaint: ##EQU22## is to be valid when the sum is taken over all non-zero .xi.. It also has to be fulfilled for any subset of the .xi. as well. Lagrange multipliers, .xi..sub.1, .xi..sub.2, . . . .xi..sub.p, corresponding to every subset of patterns considered to form the intermediate solutions. The dimension of the Lagrange multiplier space is now n+m+p, and the Kuhn-Tucker conditions read: ##EQU23## and the G matrix last column and row are widened to a band of width p. For every subset, j, to which .xi..sub.i is a member, there will be an entry k as defined above in position (i, n+m+j), (i+m, n+m+j), (n+m+j, i) and (n+m+j, i+m). The bottom right p.times.p block is of the form ##EQU24## where m.sub.1.sup.* +m.sub.2.sup.* are the .xi. vectors in both subset 1 and 2. The off-diagonal matrix of the above matrix may be ignored to do the optimization with respect to the individually .delta.'s independently, and also to reduce the number of support patters in the intermediate solutions. Thus, the obtained solution provides an accurate approximation for (w.sup.*, b.sup.*) to a true optimum.
Upon determining (w.sup.*, b.sup.*) in step 120 in FIG. 4 and minimizing the slack variables .xi. in step 125 in FIG. 4, the classification signal is then generated with respect to class A from the sign of the value of the decision function f.sub.A (x.sub.c), where x.sub.c is empirical data transformed by a dot product mapping function and input to the determined decision function. Referring to Eq. (13) in conjunction with FIG. 6, for non-erroneous patterns, the slack variables .xi. satisfy the inequality 0 <.xi..ltoreq.1 and also satisfy Eq. (13), so the sign of f.sub.A (x) is +1 if x .epsilon. A and the sign of f.sub.A (x) is -1 if x .epsilon slash. A. Thus, f.sub.A (x.sub.c) uniquely determines the classification of empirical data patterns x.sub.c and provides a predicted classification of the empirical data patterns based on the training set x.sub.i and optimally determined with soft margins about an optimal hyperplane between classes.
The above described exemplary embodiments apply the soft margin classifier 10 and method of use described above to two-group classification of data patterns representing pixels of 16.times.16 pixel bit map digits, where A and B are complementary classes or sets of patterns such that A=set of all patterns representing digit D, and B=set of all patterns not representing digit D. However, it is contemplated that pattern recognition applications such as classification of alphabetical and symbol bit map, voice data, financial data, etc. may be classified according to the above described system and method.
It is further contemplated that classes, A and B may overlap (i.e. are non-complementary) in implementing classification in the above recited pattern recognition applications, and that the training patterns may include more than one label. For example, multiple labels may indicate specific digits, curved or straight portions of the displayed bit map digits, and membership in arbitrary classes e.g. even and odd numbers. The training patterns may then be parsed to perform classification with respect to a specific label.
While the disclosed soft margin classifier and method has been particularly shown and described with reference to the preferred embodiments, it will be understood by those skilled in the art that various modifications in form and detail may be made therein without departing from the scope and spirit of the invention. Accordingly, modifications such as those suggested above, but not limited thereto, are to be considered within the scope of the invention.
Claims
  • 1. A system for differentiating data vectors to produce a signal indicating membership status of each data vector in a class, the system comprising:
  • a processing unit including memory for storing the data vectors; stored programs including a data vector processing program; and a processor controlled by the stored programs and including:
  • means for determining parameters including slack variables from the data vectors, the parameters representing a multidimensional surface differentiating the data vectors with respect to the class; and
  • means for generating the signal from the data vectors, the parameters and the slack variables.
  • 2. The system of claim 1 wherein the generating means evaluates a decision function of the parameters and each data vector to indicate membership of a respective data vector in the class to generate the signal.
  • 3. The system of claim 2 wherein the generating means generates the signal from a sign function of a value of the evaluated decision function.
  • 4. The system of claim 3 wherein the determining means determines the parameters including a weight vector and a bias from a plurality of constraints.
  • 5. The system of claim 4 wherein the generating means evaluates the decision function from a linear sum of the bias and a dot product of the weight vector and a respective data vector.
  • 6. The system of claim 4 wherein the determining means determines a minimum non-negative value of the slack variables for each data vector from the weight vector and the bias satisfying the plurality of constraints.
  • 7. A classifier for classifying data vectors to produce a signal representing membership status of each data vector with respect to a plurality of classes, the classifier comprising:
  • means for providing the data vectors to be classified;
  • memory for receiving and storing the data vectors and stored programs including a data vector processing program; and
  • a processor controlled by the data vector processing program and including:
  • means for determining parameters including slack variables from the data vectors, the parameters representing a multidimensional surface separating the data vectors into the plurality of classes;
  • means for minimizing the slack variables; and
  • means for generating the signal from the data vectors, the parameters and the minimized slack variables.
  • 8. The classifier of claim 7 wherein the determining means determines the parameters including a plurality of multipliers to satisfy a plurality of constraints.
  • 9. The classifier of claim 7 wherein the determining means determines the parameters to represent an optimal multidimensional surface.
  • 10. The classifier of claim 8 wherein the determining means minimizes a cost function of the slack variables to determine the optimal multidimensional surface.
  • 11. The classifier of claim 7 further comprises:
  • means for inputting a class separator value;
  • the processor further includes means for parsing the data vectors to extract class labels therefrom;
  • the determining means determines the parameters as a decision function corresponding to the class separator value; and
  • the generating means generates the signal indicating data vectors with corresponding class labels are members of the class corresponding to the class separator value.
  • 12. The classifier of claim 11 wherein the determining means transforms the data vectors using a predetermined vector mapping, and determines the parameters from the transformed data vectors.
  • 13. The classifier of claim 7 wherein the classifier classifies a training set of pattern vectors as the data vectors and the generating means generates the signal to indicate the membership of each pattern vector in the training set with respect to the class.
  • 14. A soft margin classifier for classifying vector patterns x.sub.i associated with a training set of data vectors into at least two classes A, B, the soft margin classifier comprising a source providing the data vectors and a processing unit including:
  • memory having stored programs including data vector processing program for receiving the vector patterns in the training set from the source; and
  • a processor controlled by the stored program including:
  • means for determining a weight vector w, a bias b, and a slack variable .xi..sub.i simultaneously satisfying soft margin conditions: ##EQU25## and means for generating and outputting a signal from the respective signs of f(x.sub.i) for each x.sub.i.
  • 15. The soft margin classifier of claim 14 wherein the determining means determines a minimum non-negative value of .xi..sub.i for each x.sub.i.
  • 16. The soft margin classifier of claim 14 wherein the determining means determines w and b to minimize a cost function of w, b, and each .xi..sub.i.
  • 17. The soft margin classifier of claim 14 wherein the determining means minimizes the cost function to satisfy a plurality of constraints.
  • 18. The soft margin classifier of claim 14 wherein the determining means determines the weight vector w and bias b representing an optimal hyperplane separating classes A, B.
  • 19. The soft margin classifier of claim 14 further comprising:
  • an input device for inputting the training set t.sub.i of data vectors; and
  • the processor includes means for transforming the data vectors t.sub.i to the vector patterns x.sub.i.
  • 20. A method for differentiating pattern vectors to indicate membership in a class comprising the steps of:
  • storing data vectors in memory;
  • processing the data vectors using stored programs including a data vector processing program;
  • determining parameters including slack variables from the data vectors, the parameters representing a multidimensional surface differentiating the data vectors with respect to a class; and generating the signal from the data vectors, the parameters and the slack variables.
  • 21. The method of claim 20 wherein the step of generating includes evaluating a decision function of the parameters and each data vector.
  • 22. The method of claim 21 wherein the step of generating includes evaluating a sign function of a value of the evaluated decision function.
  • 23. The method of claim 20 wherein the step of determining includes determining a weight vector and a bias from a plurality of constraints.
  • 24. The method of claim 23 wherein the step of determining includes evaluating a linear sum of the bias and a dot product of the weight vector and a respective data vector.
  • 25. The method of claim 23 wherein the step of determining includes minimizing a non-negative value of the slack variables for each data vector from the weight vector and the bias satisfying a plurality of constraints.
  • 26. A method for classifying pattern vectors comprising the steps of:
  • providing the data vectors to be classified from a data source;
  • receiving and storing the data vectors in memory;
  • determining parameters, including a weight vector, a bias, and slack variables, from the data vectors, the parameters representing a multidimensional surface separating the data vectors into a plurality of classes;
  • minimizing the slack variables; and
  • generating the signal from the data vectors, the parameters and the minimized slack variables.
  • 27. The method of claim 26 wherein the step of determining includes determining the parameters to represent an optimal multidimensional surface.
  • 28. The method of claim 27 wherein the step of determines the parameters includes determining the plurality of slack variables minimizing a cost function of the slack variables to determine the optimal multidimensional surface.
  • 29. The method of claim 26 wherein the step of determining includes determining the parameters including a plurality of multipliers to satisfy a plurality of constraints.
  • 30. The method of claim 26 further comprising the steps of:
  • parsing the received data vectors to extract corresponding class labels;
  • inputting a class separator value; and
  • the step of generating includes generating the signal indicating data vectors with corresponding class labels are members of the class corresponding to the class separator value.
  • 31. The method of claim 26 further comprising the steps of:
  • transforming the received data vectors using a predetermined vector mapping; and
  • the step of determining includes determining the parameters from the transformed data vectors.
US Referenced Citations (10)
Number Name Date Kind
4120049 Thaler et al. Oct 1978
4122443 Thaler et al. Oct 1978
5040214 Grossberg et al. Aug 1991
5214716 Refregier et al. May 1993
5239594 Yoda Aug 1993
5239619 Takatori et al. Aug 1993
5245696 Stork et al. Sep 1993
5263124 Weaver et al. Nov 1993
5271090 Boser Dec 1993
5333209 Sinden et al. Jul 1994
Non-Patent Literature Citations (12)
Entry
Bottou et al, "Comparison of classifier methods: A case study in Handwritten digit recognition," Proc. of 12th IAPR Conf., Oct. 9-13, 1994, pp. 77-82.
Schulmeister, B, "The piecewise linear classifier DIPOL92," Machine Learning:ECML-94. pp. 411-414.
R. Courant and D. Hilbert, Methods of Mathematical Physics, Interscience: New York, pp. 122-141, 1953.
D.G. Luenberger, Linear and Non-Linear Programming, Addison-Wesley: Reading, MA, pp. 326-330, 1984.
V.N. Vapnik, Estimation of Dependencies Based on Empirical Data, Springer-Verlag: New York, pp. 355-367, 1982.
M. Aizerman, E. Braverman, and L. Rozonoer, "Theoretical Foundations of The Potential Function Method in Pattern Recognition Learning", Automation and Remote Control, vol. 25, pp. 821-837, Jun. 1964.
B.E. Boser, I. Goyon, and V.N. Vapnik, "A Training Algorithm For Optimal Margin Classifiers", Proceedings Of The 4-th Workshop of Computational Learning Theory, vol. 4, San Mateo, CA, Morgan Kaufman, 1992.
Y. Le Cun, B. Boser, J. Denker, D. Henderson, R. Howard, W. Hubbard, and L. Jackel, "Handwritten Digit Recognition with a Back-Propagation Network", (D. Touretzky, Ed.), Advances In Neural Information Processing Systems, vol. 2, Morgan Kaufman, 1990.
A.N. Refenes et al., "Stock Ranking: Neural Networks Vs. Multiple Linear Regression":, IEEE International Conf. on Neural Networks, vol. 3, San Francisco, CA, IEEE, pp. 1419-1426, 1993.
M. Rebollo et al., "A Mixed Integer Programming Approach to Multi-Spectral Image Classification", Pattern Recognition, vol. 9, No. 1, Jan. 1977, pp. 47-51, 54-55, and 57.
V. Uebele et al., "Extracting Fuzzy Rules From Pattern Classification Neural Networks", Proceedings From 1993 International Conference on Systems, Man and Cybernetics, Le Touquet, France, 17-20, Oct. 1993, vol. 2, pp. 578-583.
C. Cortes et al., "Support-Vector Networks", Machine Learning, vol. 20, No. 3, Sep. 1995, pp. 273-297.