[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

AU756987B2 - N-tuple or ram based neural network classification system and method - Google Patents

N-tuple or ram based neural network classification system and method Download PDF

Info

Publication number
AU756987B2
AU756987B2 AU22656/99A AU2265699A AU756987B2 AU 756987 B2 AU756987 B2 AU 756987B2 AU 22656/99 A AU22656/99 A AU 22656/99A AU 2265699 A AU2265699 A AU 2265699A AU 756987 B2 AU756987 B2 AU 756987B2
Authority
AU
Australia
Prior art keywords
weight
values
cell values
training
column
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
AU22656/99A
Other versions
AU2265699A (en
Inventor
Thomas Martini Jorgensen
Christian Linneberg
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Intellix AS
Original Assignee
Intellix AS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from EP98201910A external-priority patent/EP0935212B9/en
Application filed by Intellix AS filed Critical Intellix AS
Publication of AU2265699A publication Critical patent/AU2265699A/en
Application granted granted Critical
Publication of AU756987B2 publication Critical patent/AU756987B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Molecular Biology (AREA)
  • Computational Linguistics (AREA)
  • Biophysics (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Facsimile Image Signal Circuits (AREA)

Description

BACKGROUND OF THE INVENTION The present invention relates generally to n-tuple or RAM based neural network classification systems and, more particularly, to n-tuple or RAM based classification systems having weight vectors with element values being determined during a training process.
DESCRIPTION OF THE PRIOR ART A known way of classifying objects or patterns represented by electric signals or binary codes and, more precisely, by vectors of signals applied to the inputs of neural network classification systems lies in the implementation of a so-called learning or training phase. This phase generally consists of the configuration of a classification network that fulfils a function of performing the envisaged classification as efficiently as possible by using one or more sets of signals, called learning or training sets, where the membership of each of these signals in one of the classes in which it is desired to classify them is known. This method is known as supervised learning or learning with a teacher.
S 15 A subclass of classification networks using supervised learning are networks using memory-based learning. Here, one of the oldest memory-based networks is the "n-tuple .network" proposed by Bledsoe and Browning (Bledsoe, W.W. and Browning, I, 1959, "Pattern recognition and reading by machine", Proceedings of the Eastern Joint -Computer Conference, pp. 225-232) and more recently described by Morciniec and 20 Rohwer (Morciniec, M. and Rohwer, R.,1996, "A theoretical and experimental account of n-tuple classifier performance", Neural Comp., pp. 629-642).
One of the benefits of such a memory-based system is a very fast computation time, both during the learning phase and during classification. For the known types of ntuple networks, which is also known as "RAM networks" or "weightless neural networks", learning may be accomplished by recording features of patterns in a randomaccess memory (RAM), which requires just one presentation of the training set(s) to the system.
The training procedure for a conventional RAM based neural network is described by Jorgensen (co-inventor of this invention) et al. (Jorgensen, Christensen, S. S.
and Liisberg, C.,1995, "Cross-validation and information measures for RAM based neural networks", Proceedings of the Weightless Neural Network Workshop -2- (Kent at Canterbury, UK) Ed. D. Bisset, pp.76-81) where it is described how the RAM based neural network may be considered as comprising a number of Look Up Tables (LUTs). Each LUT may probe a subset of a binary input data vector. In the conventional scheme the bits to be used are selected at random. The sampled bit sequence is used to construct an address. This address corresponds to a specific entry (column) in the LUT.
The number of rows in the LUT corresponds to the number of possible classes. For each class the output can take on the values 0 or 1. A value of 1 corresponds to a vote on that specific class. When performing a classification, an input vector is sampled, the output vectors from all LUTs are added, and subsequently a winner takes all decision is made to classify the input vector. In order to perform a simple training of the network, the output values may initially be set to 0. For each example in the training set, the following steps should then be carried out: Present the input vector and the target class to the network, for all LUTs calculate their corresponding column entries, and set the output value of the target class to 1 in all S 15 the "active" columns.
By use of such a training strategy it may be guaranteed that each training pattern always obtains the maximum number of votes. As a result such a network makes no S: misclassification on the training set, but ambiguous decisions may occur. Here, the generalisation capability of the network is directly related to the number of input bits for each LUT. If a LUT samples all input bits then it will act as a pure memory device and no generalisation will be provided. As the number of input bits is reduced the generalisation is increased at an expense of an increasing number of ambiguous o• decisions. Furthermore, the classification and generalisation performances of a LUT are •i highly dependent on the actual subset of input bits probed. The purpose of an "intelligent" training procedure is thus to select the most appropriate subsets of input data.
Jorgensen et al. further describes what is named a "cross validation test" which suggests a method for selecting an optimal number of input connections to use per LUT in order to obtain a low classification error rate with a short overall computation time. In order to perform such a cross validation test it is necessary to obtain a knowledge of the actual number of training examples that have visited or addressed the cell or element /4 S- R 1 corresponding to the addressed column and class. It is therefore suggested that these -3numbers are stored in the LUTs. It is also suggested by Jorgensen et al. how the LUTs in the network can be selected in a more optimum way by successively training new sets of LUTs and performing cross validation test on each LUT. Thus, it is known to have a RAM network in which the LUTs are selected by presenting the training set to the system several times.
In an article by Jorgensen (co-inventor of this invention) (Jorgensen. T.M.
"Classification of handwritten digits using a RAM neural net architecture", February 1997, International Journal of Neural Systems, Vol. 8, No. 1, pp. 17-25 it is suggested how the class recognition of a RAM based network can be further improved by extending the traditional RAM architecture to include what is named "inhibition". This method deals with the problem that in many situations two different classes might only differ in a few of their features. In such a case, an example outside the training set has a high risk of sharing most of its features with an incorrect class. So, in order to deal with this problem it becomes necessary to weight different features differently for a given 15 class. Thus, a method is suggested where the network includes inhibition factors for some classes of the addressed columns. Here, a confidence measure is introduced, and the inhibition factors are calculated so that the confidence after inhibition corresponds to a desired level.
The result of the preferred inhibition scheme is that all addressed LUT cells or S 20 elements that would be set to 1 in the simple system are also set to 1 in the modified *e version, but in the modified version column cells being set to 1 may further comprise information of the number of times the cell has been visited by the training set.
However, some of the cells containing O's in the simple system will have their contents changed to negative values in the modified network. In other words, the conventional o• network is extended so that inhibition from one class to another is allowed.
In order to encode negative values into the LUT cells, it is not sufficient with one bit per cell or element as with a traditional RAM network. Thus, it is preferred to use one byte per cell with values below 128 being used to represent different negative values, whereas values above 128 are used for storing information concerning the number of training examples that have visited or addressed the cell. When classifying an object the addressed cells having values greater than or equal to 1 may then be counted as having 41>, the value 1.
By using inhibition, the cells of the LUTs are given different values which might be considered a sort of "weighting". However, it is only cells which have not been visited by the training set that are allowed to be suppressed by having their values changed from 0 to a negative value. There is no boosting of cells having positive values when performing classification of input data. Thus, very well performing LUTs or columns of LUTs might easily drown when accompanied by the remaining network.
The following discussion of prior art is not to be construed as an admission with regard to the common general knowledge in Australia.
SUMMARY OF THE INVENTION It is an object of the present invention to overcome or ameliorate at least one of the disadvantages of the prior art, or to provide a useful alternative.
According to a first aspect of the invention there is provided a method of training a computer classification system which can be defined by a network comprising a number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number O~o 15 of rows corresponding to at least a subset of possible classes and further comprising a o ".:number of columns being addressed by signals or elements of sampled training input •data examples, each column being defined by a vector having cells with values, said method comprising determining the column vector cell values based on one or more training sets of input data examples for different classes so that at least part of the cells 20 comprise or point to information based on the number of times the corresponding cell address is sampled from one or more sets of training input examples, and determining weight cell values corresponding to one or more column vector cells being addressed or sampled by the training examples to thereby allow weighting of one or more column vectors cells of positive value during a classification process, said weight cell values being determined based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
According to a second aspect of the invention there is provided a method of training a computer classification system which can be defined by a network comprising a number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of columns being addressed by signals or elements of sampled training input data examples, each column being defined by a vector having cells with values, said method comprising determining the column vector cell values based on one or more training sets of input data examples for different classes so that at least part of the cells comprise or point to information based on the number of times the corresponding cell address is sampled from one or more sets of training input examples, and determining weight cell values corresponding to at least a subset of the column vector cells to thereby allow boosting of one or more column vector cells during a classification process, said weight cell values being determined based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
Preferably, the weight cell values are determined based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples. According to the present invention the training input data examples may preferably be presented to the network as input signal vectors.
15 It is preferred that determination of the weight cell values is performed so as to allow weighting of one or more column vectors cells of positive value and/or to allow boosting of one or more column vector cells during a classification process.
Furthermore, or alternatively, the weight cell values may be determined so as to allow suppressing of one or more column vector cells during a classification process.
20 According to a third aspect of the invention there is provided a method of determining weight cell values in a computer classification system which can be defined by a network comprising a number of n-tuples or Look Up Tables (LUTs), with each n- °tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of column vectors with at least part of said column vectors having corresponding weight vectors, each column vector being addressed by signals or elements of a sampled training input data example and each column vector and weight vector having cells with values being determined based on one or more training sets of input data examples for different classes, said method comprising determining the column vector cell values based on the training set(s) of input examples so that at least part of said values comprise or point to information based on the number of times the corresponding cell address is sampled from the set(s) of Straining input examples, and determining weight vector cell values corresponding to one or more column vector cells based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples, said determination allowing weighting of column vector cells having a positive value (greater than 0) and column vector cells having a non-positive value (lesser than or equal to 0).
Preferably, the determination of the weight cells allows weighting of any column vector cell. More preferably, to determine or calculate the weight cell values, the determination of these values may comprise initialising one or more sets of weight cells corresponding to at least part of the column cells, and adjusting at least part of the weight cell values based on the information of at least part of the determined column cell values and by use of at least part of the training set(s) of input examples. When determining the weight cell values it is preferred that these are arranged in weight vectors corresponding to at least part of the column vectors.
In order to determine or adjust the weight cell values according to the preferred 15 embodiments of the present invention, the column cell values should be determined.
Here, it is preferred that at least part of the column cell values are determined as a "function of the number of times the corresponding cell address is sampled from the set(s) of training input examples. Alternatively, the information of the column cells may be determined so that the maximum column cell value is 1, but at least part of the cells have an associated value being a function of the number of times the corresponding cell address is sampled from the training set(s) of input examples. Preferably, the column vector cell values are determined and stored in storing means before the adjustment of the weight vector cell values.
Preferably also, a way of determining the column vector cell values may comprise the training steps of a) applying a training input data example of a known class to the classification network, thereby addressing one or more column vectors, b) incrementing, preferably by one, the value or vote of the cells of the addressed column vector(s) corresponding to the row(s) of the known class, and c) repeating steps until all training examples have been applied to the network.
However, it should be understood that the present invention also includes embodiments where the information of the column cells is determined by alternative functions of the number of times the cell has been addressed by the input training set(s).
Thus, the cell information does not need to comprise a count of all the times the cell has been addressed, but may for example comprise an indication of when the cell has been visited zero times, once, more than once, and/or twice and more than twice and so on.
So far it has been mentioned that weight cell values may be determined for one or more column cells, but in a preferred embodiment all column vectors have corresponding weight vectors.
When initialising weight cell values according to embodiments of the present invention, the initialisation may comprise setting each weight cell value to a predetermined specific cell value. These values may be different for different cells, but all weight cell values may also be set to a predetermined constant value. Such a value may be 0 or 1, but other values may be preferred.
15 In order to determine the weight cell values, it is preferred to adjust these values, which adjustment process may comprise one or more iteration steps. The adjustment of the weight cell values may comprise the steps of determining a global quality value based on at least part of the weight and column vector cell values, determining if the global quality value fulfils a required quality criterion, and adjusting at least part of the weight cell values until the global quality criterion is fulfilled.
The adjustment process may also include determination of a local quality value for each sampled training input example, with one or more weight cell adjustments being performed if the local quality value does not fulfil a specified or required local quality criterion for the selected input example. As an example the adjustment of the weight cell values may comprise the steps of a) selecting an input example from the training set(s), b) determining a local quality value corresponding to the sampled training input example, the local quality value being a function of at least part of the addressed weight and column cell values, c) determining if the local quality value fulfils a required local quality criterion, if not, adjusting one or more of the addressed weight vector cell values if the local quality criterion is not fulfilled, d) selecting a new input example from a predetermined number of examples of the training set(s), e) repeating the local quality test steps for all the predetermined training input examples, f) determining a global quality value based on at least part of the weight and column vectors being addressed during the local quality test, g) determining if the global quality value fulfils a required global quality criterion, and, h) repeating steps until the global quality criterion is fulfilled.
Preferably, steps of the above mentioned adjustment process may be carried out for all examples of the training set(s).
The local and/or global quality value may be defined as functions of at least part of the weight and/or column cells. Correspondingly, the global and/or the local quality criterion may also be functions of the weight and/or column cells. Thus, the quality criterion or criteria need not be a predetermined constant threshold value, but may be changed during the adjustment iteration process. However, the present invention also covers embodiments in which the quality criterion or criteria is/are given by constant °threshold values.
It should be understood that when adjusting the weight cell values by use of one or 555*** S 20 more quality values each with a corresponding quality criterion, it may be preferred to stop the adjustment iteration process if a quality criterion is not fulfilled after a given •number of iterations.
It should also be understood that during the adjustment process the adjusted weight cell values are preferably stored after each adjustment, and when the adjustment process includes the determination of a global quality value, the step of determination of the global quality value may further be followed by separately storing the hereby obtained weight cell values or classification system configuration values if the determined global quality value is closer to fulfil the global quality criterion than the global quality value corresponding to previously separately stored weight cell values or configuration values.
A main reason for training a classification system according to an embodiment of the present invention is to obtain a high confidence in a subsequent classification process _of an input example of an unknown class.
-9- According to a fourth aspect of the invention there. is provided a method of classifying input data example into at least one of a plurality of classes using a computer classification system configured according to a method as described above whereby the column vector cell values and the corresponding weight vector cell values are determined for each n-tuple or LUT based on one or more training sets of input data examples, said method comprising a) applying an input data example to be classified to the configured classification network thereby addressing column vectors and corresponding weight vectors in the set of n-tuples or LUTs, 10 b) selecting a class thereby addressing specific rows in the set ofn-tuples or oooo LUTs, c) determining an output value as a function of values of addressed weight oo" .cells, repeating steps until an output has been determined for all classes, e) comparing the calculated output values, and f) selecting the class or classes having maximum output value.
When classifying an unknown input example, several functions may be used for determining the output values from the addressed weight cells. However, it is preferred :that the parameters used for determining the output value includes both values of addressed weight cells and addressed column cells. Thus, as an example, the output value may be determined as a first summation of all the addressed weight cell values corresponding to column cell values greater than or equal to a predetermined value. In another preferred embodiment, the step of determining an output value comprises determining a first summation of all the addressed weight cell values corresponding to column cell values greater than or equal to a predetermined value, determining a second summation of all the addressed weight cell values, and determining the output value by dividing the first summation by the second summation. The predetermined value may preferably be set to 1.
Preferred embodiments of the present invention also provide training and classification systems according to the above described methods of training and classification.
According to a fifth aspect of the invention there is provided a system for training a computer classification system which can be defined by a network comprising a stored number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of columns being addressed by signals or elements of sampled training input data examples, each column being defined by a vector having cells with values, said system comprising input means for receiving training input data examples of known classes, means for sampling the received input data examples and addressing column vectors in the stored set of n-tuples or LUTs, means for addressing specific rows in the set of n-tuples or LUTs, said rows corresponding to a known class, storage means for storing determined n-tuples or LUTs, means for determining column vector cell values so as to comprise or point to information based on the number of times the corresponding cell address is sampled from the training set(s) of input examples, and means for determining weight cell values corresponding to one or more column vector cells being addressed or sampled by the training examples to thereby allow weighting of one or more column vectors cells of positive value during a classification process, said weight cell values being determined based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
.fee.: 20 According to a sixth aspect of the invention there is provided a system for training a computer classification system which can be defined by a network comprising a stored number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of columns being addressed by signals or elements of sampled training input data examples, each column being defined by a vector having cells with values, said system comprising input means for receiving training input data examples of known classes, means for sampling the received input data examples and addressing column vectors in the stored set of n-tuples or LUTs, means for addressing specific rows in the set of n-tuples or LUTs, said rows corresponding to a known class, storage means for storing determined n-tuples or LUTs, means for determining column vector cell values so as to comprise or point to information based on the number of times the L rresponding cell address is sampled from the training set(s) of input examples, and -11means for determining weight cell values corresponding to at least a subset of the column vector cells to thereby allow boosting of one or more column vectors cells during a classification process, said weight cell values being determined based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
According to a seventh aspect of the invention there is provided a system for determining weight cell values of a classification network which can be defined by a stored number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of the number of possible classes and further comprising a number of column vectors with at least part of said column vectors having corresponding weight vectors, each column vector being addressed by signals or elements of a sampled training input data example and each column vector and weight vector having cell values being determined during a training process based on one or more sets of training input data examples, said system S 15 comprising: input means for receiving training input data examples of known classes, means for sampling the received input data examples and addressing column vectors and .ooo corresponding weight vectors in the stored set of n-tuples or LUTs, means for addressing specific rows in the set of n-tuples or LUTs, said rows corresponding to a known class, storage means for storing determined n-tuples or LUTs, means for determining column S 20 vector cell values so as to comprise or point to information based on the number of times 9*o* the corresponding cell address is sampled from the training set(s) of input examples, and o means for determining weight vector cell values corresponding to one or more column vector cells based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples, said determination allowing weighting of one or more column vector cells having a positive value (greater than 0) and one or more column vector cells having a non-positive value (lesser than or equal to 0).
Here, it is preferred that the means for determining the weight cell values is adapted to determine these values based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
12- Preferably, the means for determining the weight cell values is adapted to determine these values so as to allow weighting of one or more column cells of positive value and/or to allow boosting of one or more column cells during a classification process. The determining means may furthermore, or alternatively, be adapted to determine the weight cell values so as to allow suppressing of one or more column vector cells during a classification process.
According to an embodiment of the present invention the weight determining means may be adapted to determine the weight cell values so as to allow weighting of one or more column vector cells having a positive value (greater than 0) and one or more column vector cells having a non-positive value (lesser than or equal to Preferably, the means may further be adapted to determine the weight cell values so as to allow weighting of any column cell. It is also preferred that the means for determining the weight cell values is adapted to determine these values so that the weight cell values are 1 arranged in weight vectors corresponding to at least part of the column vectors.
15 In order to determine the weight cell values according to a preferred embodiment of the present invention, the means for determining the weight cell values may comprise means for initialising one or more sets of weight vectors corresponding to at least part of the column vectors, and means for adjusting weight vector cell values of at least part of the weight vectors based on the information of at least part of the determined column S 20 vector cell values and by use of at least part of the training set(s) of input examples.
eeoo As already discussed above the column cell values should be determined in order °0 to determine the weight cell values. Here, it is preferred that the means for determining *ee.
•°ea the column vector cell values is adapted to determine these values as a function of the o onumber of times the corresponding cell address is sampled from the set(s) of training 25 input examples. Alternatively, the means for determining the column vector cell values may be adapted to determine these cell values so that the maximum value is 1, but at least part of the cells have an associated value being a function of the number of times the corresponding cell address is sampled from the training set(s) of input examples.
According to an embodiment of the present invention it is preferred that when a training input data example belonging to a known class is applied to the classification network thereby addressing one or more column vectors, the means for determining the Acolumn vector cell values is adapted to increment the value or vote of the cells of the 13addressed column vector(s) corresponding to the row(s) of the known class, said value preferably being incremented by one.
In order to initialise the weight cells according to an embodiment of the invention, it is preferred that the means for initialising the weight vectors is adapted to setting the weight cell values to one or more predetermined values.
For the adjustment process of the weight cells it is preferred that the means for adjusting the weight vector cell values is adapted to determine a global quality value based on at least part of the weight and column vector cell values, determine if the global quality value fulfils a required global quality criterion, and adjust at least part of the weight cell values until the global quality criterion is fulfilled.
As an example of a preferred embodiment according to the present invention, the means for adjusting the weight vector cell values may be adapted to a) determine a local quality value corresponding to a sampled training input example, the local quality value being a function of at least part of the addressed weight and column vector cell values, b) determine if the local quality value fulfils a required local quality criterion, c) adjust one or more of the addressed weight vector cell values if the local quality criterion is not fulfilled, d) repeat the local quality test for a predetermined number of training input examples, e) determine a global quality value based on at least part of the weight and •column vectors being addressed during the local quality test, f) determine if the global quality value fulfils a required global quality criterion, and, S 25 g) repeat the local and the global quality test until the global quality criterion is ful-filled.
The means for adjusting the weight vector cell values may further be adapted to stop the iteration process if the global quality criterion is not fulfilled after a given number of iterations. In a preferred embodiment, the means for storing n-tuples or LUTs comprises means for storing adjusted weight cell values and separate means for storing best so far weight cell values or best so far classification system configuration values.
Here, the means for adjusting the weight vector cell values may further be adapted to 14replace previously separately stored best so far weight cell values with obtained adjusted weight cell values if the determined global quality value is closer to fulfil the global quality criterion than the global quality value corresponding to previously separately stored best so far weight values. Thus, even if the system should not be able to fulfil the global quality criterion within a given number of iterations, the system may always comprise the "best so far" system configuration.
According to another aspect of the invention there is provided a system for classifying input data examples into at least one of a plurality of classes using a computer classification system configured according to a method as described above, 10 said system comprising: storage means for storing a number or set of n-tuples or Look Up Tables (LUTs) with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of the number of possible classes and further comprising a number of column vectors with corresponding weight vectors, each column vector being addressed by signals or elements of a sampled input data example and each column vector and weight vector having cells with values being determined during a training process based on one or more sets of training input data examples, said system further comprising: input means for receiving an input data example to be classified, means for sampling the received input data example and addressing columns and corresponding weight vectors in the stored set of n-tuples or LUTs, means for addressing 0. 20 specific rows in the set of n-tuples or LUTs, said rows corresponding to a specific class, S° means for determining an output value as a function of addressed weight cells, and means for comparing calculated output values corresponding to all classes and selecting the class or classes having maximum output value.
According to a preferred embodiment of the classification system of the present invention, the output determining means comprises means for producing a first summation of all the addressed weight vector cell values corresponding to a specific class and corresponding to column vector cell values greater than or equal to a predetermined value. It is also preferred that the output determining means further comprises means for producing a second summation of all the addressed weight vector cell values corresponding to a specific class, and means for determining the output value by dividing the first summation by the second summation.
It should be understood that it is preferred that the cell values of the column and weight vectors of the classification system according to the present invention are determined by use of a training system according to any of the above described systems.
Accordingly, these cell values may be determined during a training process according to any of the above described methods.
Thus, the preferred embodiments of the invention provide a RAM classification network which allows a very fast training or learning phase and subsequent classification, but which at the same time allows real weights to both boost and suppress cell values of LUT columns in order to obtain a proper generalisation ability of the 10 sampled number of input bits based on access information of the training set.
Unless the context clearly requires otherwise, throughout the description and the •claims, the words 'comprise', 'comprising', and the like are to be construed in an "inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in the sense of"including, but not limited to".
BRIEF DESCRIPTION OF THE DRAWINGS *o o For a better understanding of the present invention and in order to show how the same may be carried into effect, reference will now be made by way of example to the accompanying drawings in which: Fig. 1 shows a block diagram of a RAM classification network with Look Up 20 Tables (LUTs); Fig. 2 shows a detailed block diagram of a RAM classification network with Look Up Table (LUT) according to an embodiment of the present invention; Fig. 3 shows a block diagram of a computer classification system according to the present invention; Fig. 4 shows a flow chart of a learning process for LUT column cells according to an embodiment of the present invention; WO 99/40521 PCT/DK99/00052 16 Fig. 5 shows a flow chart of a learning process for weight cells according to a first embodiment of the present invention, Fig. 6 shows a flow chart of a learning process for weight cells according to a second embodiment of the present invention, and Fig. 7 shows a flow chart of a classification process according to the present invention.
DETAILED DESCRIPTION OF THE INVENTION In the following a more detailed description of the architecture and concept of a classification system according to the present invention will be given including an example of a training process of the column cells of the architecture and an example of a classification process. Furthermore, different examples of learning processes for weight cells according to embodiments of the present invention are described.
Notation The notation used in the following description and examples is as follows:
X:
Nx: Xj:
C:
CQY):
CIV:
C
w c.:
NC:
The training set.
An example from the training set.
Number of examples in the training set X.
The j'th example from a given ordering of the training set X.
A specific example (possible outside the training set).
Classlabel.
Class label corresponding to example T (the true class).
Winner Class obtained by classification.
Runner Up Class obtained by classification.
Leave-one-out cross-validation classification for example Y.
Number of training classes corresponding to the maximum number of rows in a LUT.
WO 99/40521 PCT/DK99/00052
NLUT:
N
17C Set of LUTs (each LUT may contain only a subset of all possible address columns, and the different columns may register only subsets of the existing classes).
Number of LUTs.
Number of different columns that can be addressed in a specific LUT (LUT dependent).
The set of training examples labelled class C.
Weight for the cell addressed by the i'th column and the C'th class.
Entry counter for the cell addressed by the i'th column and the C'th class.
ai(V): Index of the column in the i'th LUT being addressed by example y.
7: Vector containing all elements of the LUT network.
Vector containing all ir,. elements of the LUT network.
Q
1
T
i, J, Local quality function.
Global quality function.
Description of architecture and concept In the following references are made to Fig. 1, which shows a block diagram of a RAM classification network with Look Up Tables (LUTs), and Fig. 2, which shows a detailed block diagram of a single Look Up Table (LUT) according to an embodiment of the present invention.
A RAM-net or LUT-net consists of a number of Look Up Tables (LUTs) Let the number of LUTs be denoted NL,. An example of an input data vector y to be classified may be presented to an input module of the LUT network. Each LUT may sample a part of the input data, where different numbers of input signals may be sampled for different LUTs (in principle it is also possible to have one LUT sampling the whole input space). The outputs of the LUTs may be fed to an output module of the RAM classification network.
WO 99/40521 PCT/DK99/00052 18 In Fig. 2 it is shown that for each LUT the sampled input data of the example presented to the LUT-net may be fed into an address selecting module The address selecting module may from the input data calculate the address of one or more specific columns in the LUT. As an example, let the index of the column in the i'th LUT being addressed by an input examplebe calculated as The number of addressable columns in a specific LUT may be denoted and varies in general from one LUT to another. The information stored in a specific row of a LUT may correspond to a specific class C The maximum number of rows may then correspond to the number of classes, N c In a preferred embodiment, every column within a LUT contains two sets of cells. The number of cells within each set corresponds to the number of rows within the LUT. The first set of cells may be denoted column vector cells and the cell values may correspond to class specific entry counters of the column in question. The other set of cells may be denoted weight cells or weight vector cells with cell values which may correspond to weight factors, each of which may be associated with one entry counter value or column vector cell value. The entry counter value for the cell addressed by the i'th column and class C is denoted The weight value for the cell addressed by the i'th column and class C is denoted The and w,,.-values of the activated LUT columns may be fed to the output module where a vote number may be calculated for each class and where finally a winner-takes-all (WTA) decision may be performed.
Let e X, denote an input data example used for training and let J denote an input data example not belonging to the training set. Let denote the class to which Y belongs. The class assignment given to the exampley is then obtained by calculating a vote number for each class. The vote number obtained for class C is calculated as a function of the and w,i, numbers addressed by the example v VoteNo(C, y) fi l.ctionl(va,, w,,n.c a From the calculated vote numbers the winner class, can be obtained as: WO 99/40521 PCT/DK99/00052 19 Cw argmax(VoteNo(C, 1 C N c
C
An example of a sensible choice of VoteNo(C,.) is the following expression: VoteNo(C,y)= n t E ).aC) 1 E r ien where 6, is Kroneckers delta 1 if i jand 0 otherwise), and fl if z> n 0 if Z. <11 Q describes the set of LUTs making up the whole LUT network. S c denotes the set of training examples labelled class C. The special case with all w,,.-values set to 1 gives the traditional LUT network, C argmax syGi c) Figure 3 shows an example of a block diagram of a computer classification system according to the present invention. Here a source such as a video camera or a database provides an input data signal or signals describing the example to be classified. These data are fed to a pre-processing module of a type which can extract features, reduce, and transform the input data in a predetermined manner.
An example of such a pre-processing module is a FFT-board (Fast Fourier Transform). The transformed data are then fed to a classification unit (3.2) comprising a RAM network according to the present invention. The classification unit outputs a ranked classification list which might have associated confidences.
The classification unit can be implemented by using software to programme a WO 99/40521 PCT/DK99/00052 standard Personal Com puter or programming a hardware device, e.g. using programmable gate arrays combined with RAM circuits and a digital signal processor. These data can be interpreted in a post-processing device which could be a computer module combining the obtained classifications with other relevant information. Finally the result of this interpretation is fed to an output device such as an actuator.
Initial training of the architecture The flow chart of Fig. 4 illustrates a one pass learning scheme or process for the determination of the column vector entry counter or cell distribution, -distribution according to an embodiment of the present invention, which may be described as follows: 1. Initialise all entry counters or column vector cells by setting the cell values, to zero and initialise the weight values, i. This could be performed by setting all weight values to a constant factor, or by choosing random values from within a specific range 2. Present the first training input example, .7 from the training set X to the network 4.3) 3. Calculate the columns addressed for the first LUT 4. Add 1 to the entry counters in the rows of the addressed columns that correspond to the class label of (increment in all LUTs) Repeat step 4 for the remaining LUTs 4.8).
6. Repeat steps 3-5 for the remaining training input examples 4.10). The number of training examples is denoted N,.
Classification of an unknown input example When the RAM network of the present invention has been trained to thereby determine values for the column cells and the weight cells whereby the LUTs may be defined, the network may be used for classifying an unknown input data example.
WO 99/40521 PCT/DK99/00052 21 In a preferred example according to the present invention, the classification is performed by determining the class having a maximum vote number, VoteNo, where VoteNo is given by the expression VoteNo(C,.)
"-O
If the denominator is zero the VoteNo can be defined to be 0.
Thus, the classification example may be described as follows by reference to Figs. 1 and 2: Present an unknown input example, to the network For all LUTs calculate the columns addressed by T For each class (corresponding to a specific row in each of the addressed columns) produce the sum (sum_1) of The term implies that c components only are included if 1 For each class (corresponding to a specific row in each of the addressed columns) produce the sum (sum_2) of Calculate the output value corresponding to class C as Out[C] sum_1 sum_2 Choose the class (or classes) that maximise Out[C] Figure 7 shows a block diagram of the operation of a computer classification system in which a classification process is performed. The system acquires one or more input signals using e.g. an optical sensor system. The obtained input data are pre-processed in a pre-processing module, e.g. a low-pass filter, and presented to a classification module which according to an embodiment of the invention may be a LUT-network. The output data from the classification module is then post-processed in a post-processing module e.g. a CRC algorithm calculating a cyclic redundancy check sum, and the result is forwarded to an output device which could be a monitor screen.
WO 99/40521 PCT/DK99/00052 22 Weight adiustments Usually the initially determined weight cell values will not present the optimal choice of values. Thus, according to a preferred embodiment of the present invention, an optimisation or adjustment of the weight values should be performed.
In order to select or adjust the weight values to improve the performance of the classification system, it is suggested according to an embodiment of the invention to define proper quality functions for measuring the performance of the weight values.
Thus, a local quality function Q,(,IT,iX) may be defined, where 7 denotes a vector containing all v,c elements of the LUT network, and jT denotes a vector containing all elements of the LUT network. The local quality function may give a confidence measure of the output classification of a specific example If the quality value does not satisfy a given criterion (possibly dynamically changed during the iterations), the weights i are adjusted to make the quality value satisfy or closer to satisfying the criterion (if possible).
Furthermore a global quality function: may be defined. The global quality function may measure the performance of the input training set as a whole.
Fig. 5 shows a flow chart for weight cell adjustment or learning according to the present invention. The flow chart of Fig. 5 illustrates a more general adjustment or learning process, which may be simplified for specific embodiments.
Example 1 The vote number function for an input example is given as VoteNo(C,) With this definition of the VoteNoo function a leave-one-out cross-validation classification for an input example of the training set may be calculated as: WO 99/40521 PCT/DK99/00052 23 ar-max l X This expression is actually explained above except for the factor which is equal to if C and equal to if C= 0z is only 1 if c 2, else it is 0. This simply assures that an example cannot obtain contributions from itself when calculating the leave-one-out crossvalidation.
Let the local quality function calculated for the example be defined as: .Cc, Here Q, is 0 if .generates a cross-validation error, else Q, is 1. So if Q, 0 then weight changes are made.
Let the global quality function be defined as: QGc
T
6,T,.cT TQ, I, X), lex TEX This global quality function measures the number of examples from the training set X that would be correctly classified if they were left out of the training set as each term in the sum over the training set is 1 if and else 0. The global quality criterion may be to satisfy Qc ENx, where E is a parameter determining the fraction of training examples demanded to be correctly classified in a leave-one-out crossvalidation test.
An updating scheme for improving QG can be implemented by the following rules: WO 99/40521 PCT/DK99/00052 24 For all input examples .of the training set with a wrong cross-validation classification adjust the weights by: III,ew max(, k e where k is a small constant. A feasible choice of k could be one tenth of the mean of the absolute values of the w,c values.
This updating rule implies that w 1 k if v and that o'T -k if v The max() function ensures that the weights cannot become negative.
Referring now to Fig. 5, the weight update or adjustment steps of example 1 may be described as: Initialise all wi,c values to zero Loop through all examples in the training set 5.10, 5.3).
Calculate the local quality value for each example (can the example be correctly classified if excluded from the training set? If yes proceed with next example If not increase the addressed weights of the "true" class if the corresponding column cells adds a positive contribution to the VoteNo( function if 2) and decrease the weights of the "true" class otherwise if <2) Calculate the global quality value. If the quality is the highest obtained hitherto store the LUT network (5.11).
Repeat until global quality value is satisfactory or other exit condition is fulfilled (5.12, 5.13).
Example 2 Let the vote number function for an input example y be given as WO 99/40521 PCT/DK99/00052 VoteNo(C,.)- For the true class C(TJ) sum the w t aCT).C(T) values for a given v-value using the function Hist(l, The parameter!/ runs over the possible values of vir, 0 vi. NX.
A confidence Cvii] between the winning class, and the runner-up class C. may then be defined as: Voe 7,W'(X i C(i)) COnIf A value m may be determined by the function: m max ary Hist(lC(T)) The upper limit of the summation index n can vary from 1 to the maximum i value within the iT vector. The expression states that m is chosen as the largest value of n for which Hist(1, Conf A local quality function may now be defined as: fly? 1resh if C" C(Yi) QL( TVi3EX)= 10 if C 1 j C(T) WO 99/40521 PCT/DK99/00052 26 where is a threshold constant. If Q. 0 then the weights wij are updated to make Q increase, by adjusting the weights on the runner-up class, C,: N, .ca. c. -k v. c, k, (1 .c This updating rule implies that 1 k if v 1 and that k if v 1.
.C The global quality criterion may be based on two quality functions: 0 ;i 7 8 and Q Co( Te.V Here Go(Q,) is 1 if Q, 20 and 0 if Q. 0. measures the number of examples from the training set that can pass a leave one out cross-validation test and measures the number of examples that can pass the local quality criterion.
These two quality functions can then be combined in to one quality function based on the following boolean expression (a true expression is given the value 1 and a false expression is given the value 0): w, X) X)
EN.)
Here and E, are two parameters determining the fractions of training examples demanded to pass a leave-one-out crossvalidation test and the local quality criterion, respectively. If both of these criterions are passed the global quality criterion is passed in which case Q X) is 1, otherwise it is 0.
WO 99/40521 PCTDK99/00052 27 With reference to Fig. 5, the weight updating or adjustment steps of example 2 may be described as: Initialise all iw,, values to zero Loop through all examples in the training set 5.10, 5.3).
Calculate the local quality value for each example (Does the example have sufficient "support" If yes process next example if not decrease the weights associated with voting for the runner-up class and increase the weights associated with cells having 1 Calculate the global quality value. If the quality is the highest obtained hitherto store the network (5.11).
Repeat until global quality value is satisfactory or other exit condition is fulfilled (5.12, 5.13).
Example 3 Again the vote number function for an input example 5 is given as VoteNo(C,) A local quality function Q(i, ifxX) is defined as a measure of a vote confidence for an input training example For an example the confidence Con] between the true class, and the runner-up class CR may be determined as: Conllf()= I VVn,?,).CCF) I ""JI.CH ienf iei2 The confidence can be zero stating that the runner up class has a vote level equal to that of the true class (if one or more classes have a vote level equal to that of the WO 99/40521 PCT/DK99/00052 28 true class we will define one of the classes different from the true one as the runner up class). The local quality function may now be defined as: Qi(7", Conj(Y).
A threshold value may be determined for the calculated local quality value and if QL Qrire,..a,i then the weights are updated to make Q, increase. A possible value of Q,l,,rchiwould be 0.1 stating that the difference between the vote level of the true and that of the runner up class should at least be 10% of the maximum vote level.
The weights may be updated by adjusting the weights for the runner-up class, C,: Ii 9 k 1), where k is a small constant, and adjusting the weights for the true class a, 1 t The small constant k determines the relative change in the weights to be adjusted.
One possible choice would be k=0.05.
Again the number of cross-validation errors is a possible global quality measure.
Q IeX The global quality criterion may be to satisfy Qc ENx, where E is a parameter determining the fraction of training examples demanded to be correctly classified in a leave-one-out crossvalidation test.
With reference to Fig. 5, the weight updating or adjustment steps of example 3 may be described as: Initialise all w, values to zero Loop through all examples in the training set (5.2,5.10, 5.3).
WO 99/40521 PCT/DK99/00052 29 Calculate the local quality value for each example (Can the example be correctly classified if excluded from the training set and at the same time have sufficient "support" If yes process next example, if not update the weights associated with cells voting on the runner-up class and update the weights associated with cells voting for the true class in order to increase the vote level on the true class and decrease the vote level on the runner up class.
Calculate the global quality value. If the quality is the highest obtained hitherto store the network (5.11).
Repeat until global quality value is satisfactory or other exit condition is fulfilled (5.12, 5.13).
Example 4 Again the vote number function for an input example T is defined as T VoteNo(C,) The vote levels obtained for a training example when performing a cross-validation test is then: VoteNocv e- Again the runner-up class obtained using VoteNo(C, may be denoted CR (if one or more classes have a vote level equal to that of the true class we will define one of the classes different from the true one as the runner up class).
The local quality function may now be defined by a Boolean expression.
WO 99/40521 PCT/DK99/00052 X) (VoteNo, .VT) A (VotcNov, A where k, and k, are two constants between 0 and 1 and k, If all three criteria (VoteNOcv(C(.),.)>k 1 VoteNoc,,(C, 1 and A(i) are satisfied then Q, F,x, is 1 otherwise it is 0. The two criteria corresponds to demanding the vote level of the true class in a leave-one-out cross-validating test to be larger than k, and the vote level of the runner up class to be below k, with level k, being larger than level k 2 The VoteNoo function used in this example will have value between 0 and 1 if we restrict the weights to have positive value in which case a possible choice of k values are k, equal to 0.9 and k, equal to 0.6.
If the given criteria for the local quality value given by X) is not satisfied then the weights are updated to satisfy if. possible, the criteria for by adjusting the weights on the runner-up class, CR: oh k 2 1 "2) 2 where k3. is a small constant, and adjusting the weights on the true class: New O [2ld 0)=mxw,. i( )1 1o% ITIX 4 a,(n.T ).Ct-o) k 3 determines the relative change in the weights to be adjusted for the runner up class. One possible choice would be k 3 is 0.1. A feasible choice of k 4 could be one tenth of the mean of the absolute values of the iw,c. values.
A suitable global quality function may be defined by the summation of the local quality values for all the training input examples: Qc (VI QL l6x WO 99/40521 PCT/DK99/00052 31 The global quality criterion may be to satisfy Q; EN x where E is a parameter determining the fraction of training examples demanded to pass the local quality test.
With reference to Fig. 5, the weight updating or adjustment steps of example 4 may be described as: Initialise all w,C. values to zero Loop through all examples in the training set (5.2,5.10, 5.3).
Calculate the local quality for each example (Can the example be correctly classified if excluded from the training set and at the same time have sufficient vote "support" If yes process next example, if not update the weights associated with cells voting on the runner-up class and update the weights associated with cells voting on the true class in order to increase the vote level on the true class and decrease the vote level on the runner up class.
Calculate the global quality function. If the quality is the highest obtained hitherto store the network (5.11).
Repeat until global quality value is satisfactory or other exit condition is fulfilled (5.12, 5.13).
Example In this example the vote number function for an input example 5 is given as VoteNo( C. Xv, (1Ci(pa, V).C) The local quality function and the threshold criteria is now defined so that the answer to the question "is Qlocal OK" will always be no. Thus, the local quality function may be defined as: WO 99/40521 PCT/DK99/00052 32 Q, FALSE With these definition all training examples will be used for adjusting 1 as the answer to will always be no.
The weight updating rule is: where is defined as: 2 if :>a if Z and a is the iteration number.
The global quality function for the iteration may be defined as:
Q
4 Y A(.T where argmax m "a,cT).c) c iel With reference to Fig. 5, the weight updating or adjustment steps of example 5 may be described as: Initialise all iw,, values to zero (5.1) Loop through all examples in the training set 5.10, 5.3).
Calculate the local quality for each example (In this example it will always be false, i.e. it will not fulfil the quality criteria).
If QL TRUE proceed with next example (it will never be true for this example), else set the addressed weights using which depends on the actual iteration WO 99/40521 PCT/DK99/00052 33 Calculate the global quality value. If the quality value is the highest obtained hitherto store the network (5.11).
Repeat until the last iteration (5.12, 5.13).
Thus, the above described example 5 fits into the flowchart structure shown in Fig.
However as the answer to is always no, the weight assignment procedure can be simplified in the present case as described below with reference to Fig. 6, which shows the flow chart of a more simplified weight cell adjustment process according to the present invention: A number of schemes, aA x for setting the values may be defined as follows 6.6, 6.7): Scheme a: (6.2) for all LUTs do: for all ido: for all C do: For each a scheme a global quality function for the classification performance may be calculated One possibility for the global quality function is to calculate a cross-validation error: QC= E X where a) argmax C ieQf s 4 The network having the best quality value Q, may then be stored Here, it should be understood that another number of iterations may be selected and other suitable global quality functions may be defined.
WO 99/40521 PCT/DK99/00052 34 The foregoing description of preferred exemplary embodiments of the invention has been presented for the purpose of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and obviously many modifications and variations are possible in light of the present invention to those skilled in the art. All such modifications which retain the basic underlying principles disclosed and claimed herein are within the scope of this invention.

Claims (54)

1. A method of training a computer classification system which can be defined by a network comprising a number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of columns being addressed by signals or elements of sampled training input data examples, each column being defined by a vector having cells with values, said method comprising determining the column vector cell values based on one or more training sets of input data examples for different classes so that at least part of the cells comprise or point to information based on the number of times the corresponding cell address is sampled from one or more sets of training input examples, and determining weight cell values corresponding to one or more column vector cells being addressed or sampled by the training examples to thereby allow weighting of one or more column vectors cells of positive value during a classification process, said weight cell values being determined based on the information of at least part of the determined column vector cell S" o 15 values and by use of at least part of the training set(s) of input examples.
2. A method of training a computer classification system which can be defined by a •oh• network comprising a number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of columns being addressed by signals or elements of B o S 20 sampled training input data examples, each column being defined by a vector having cells *•oC with values, said method comprising determining the column vector cell values based on one or more training sets of input data examples for different classes so that at least part of .the cells comprise or point to information based on the number of times the corresponding cell address is sampled from one or more sets of training input examples, and determining S 25 weight cell values corresponding to at least a subset of the column vector cells to thereby allow boosting of one or more column vector cells during a classification process, said weight cell values being determined based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
3. A method according to claim 2 wherein the weight cell values are determined so as to allow suppressing of one or more column vector cells during a classification process. -36-
4. A method according to any one of claims 1 to 3 wherein the determination of the weight cell values allows weighting of one or more column vector cells having a positive value (greater than 0) and one or more column vector cells having a non-positive value (lesser than or equal to 0).
5. A method according to any one of the claims 1 to 4 wherein the weight cell values are arranged in weight vectors corresponding to at least part of the column vectors.
6. A method of determining weight cell values in a computer classification system which can be defined by a network comprising a number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of column vectors with at least part of said column vectors having corresponding weight vectors, each column vector being addressed by signals or elements of a sampled training input data example and each column vector and weight vector having cells with values being determined based on one or more training sets of input data examples for different classes, said method comprising determining the column vector cell values based on the training set(s) of input examples so that at least part of said values comprise or point to information based on the number of 0* S times the corresponding cell address is sampled from the set(s) of training input examples, and determining weight vector cell values corresponding to one or more column vector cells based on the information of at least part of the determined column vector cell values S 20 and by use of at least part of the training set(s) of input examples, said determination T. :allowing weighting of column vector cells having a positive value (greater than 0) and •S column vector cells having a non-positive value (lesser than or equal to 0). ;oo
7. A method according to any one of the preceding claims wherein determination of 9@ 0 the weight cells allows weighting of any column vector cell. S 25
8. A method according to any of the preceding claims wherein the weight cells are arranged in weight vectors and the determination of the weight cell values comprises initialising one or more sets of weight vectors corresponding to at least part of the column vectors, and adjusting weight vector cell values of at least part of the weight vectors based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples. -37-
9. A method according to any one of the preceding claims wherein at least part of the column cell values are determined as a function of the number of times the corresponding cell address is sampled from the set(s) of training input examples.
A method according to any one of the preceding claims wherein the maximum column vector value is 1, but at least part of the values have an associated value being a function of the number of times the corresponding cell address is sampled from the training set(s) of input examples.
11. A method according to any one of claims 8 to 10 wherein the column vector cell values are determined and stored in storing means before the adjustment of the weight vector cell values.
12. A method according to any one of the preceding claims wherein the determination of the column vector cell values comprises the training steps of: a) applying a training input data example of a known class to the classification •network, thereby addressing one or more column vectors, 6SOO 15 b) incrementing, preferably by one, the value or vote of the cells of the ••O S°addressed column vector(s) corresponding to the row(s) of the known class, and i c) repeating steps until all training examples have been applied to the network.
13. A method according to any one of claims 5 to 12 wherein all column vectors have 0•0 S• 20 corresponding weight vectors. eog...
14. A method according to any one of claims 8 to 13 wherein the initialisation of the weight vectors comprises setting all weight vector cell values to a predetermined constant value, said predetermined value preferably being 1.
15. A method according to any one of claims 8 to 13 wherein the initialisation of the O 25 weight vectors comprises setting each weight vector cell to a predetermined specific cell value.
16. A method according to any one of claims 8 to 15 wherein the adjustment of the weight vector cell values comprises the steps of determining a global quality value based on at least part of the weight and column vector cell values, determining if the global quality value fulfils a required quality criterion, and adjusting at least part of the weight cell values until the global quality criterion is fulfilled. 0 -o- -38-
17. A method according to any one of claims 8 to 15 wherein the adjustment of the weight cell values comprises the steps of: a) selecting an input data example from the training set(s), b) determining a local quality value corresponding to the sampled training input example, the local quality value being a function of at least part of the addressed weight and column vector cell values, c) determining if the local quality value fulfils a required local quality criterion, if not, adjusting one or more of the addressed weight vector cell values if the local quality criterion is not fulfilled, d) selecting a new input example from a predetermined number of examples of the training set(s), e) repeating the local quality test steps for all the predetermined training input examples, f) determining a global quality value based on at least part of the weight and column vectors being addressed during the local quality test, g) determining if the global quality value fulfils a required global quality criterion, and, h) repeating steps until the global quality criterion is fulfilled.
18. A method according to claim 17 wherein steps are carried out for all 20 examples of the training set(s).
19. A method according to any one of claims 16 to 18 wherein the global and/or the local quality criterion is changed during the adjustment iteration process.
A method according to any one of claims 16 to 19 wherein the adjustment iteration process is stopped if the global quality criterion is not fulfilled after a given number of 25 iterations.
21. A method according to any one of claims 16 to 20 wherein the adjusted weight cell values are stored after each adjustment, and wherein the determination of the global quality value further is followed by separately storing the hereby obtained weight cell values or classification system configuration values if the determined global quality value is closer to fulfil the global quality criterion than the global quality value corresponding to previously separately stored weight cell values or configuration values. -39-
22. A method of classifying input data example into at least one of a plurality of classes using a computer classification system configured according to a method of any one of the preceding claims whereby the column vector cell values and the corresponding weight vector cell values are determined for each n-tuple or LUT based on one or more training sets of input data examples, said method comprising a) applying an input data example to be classified to the configured classification network thereby addressing column vectors and corresponding weight vectors in the set of n-tuples or LUTs, b) selecting a class thereby addressing specific rows in the set of n-tuples or LUTs, c) determining an output value as a function of values of addressed weight cells, d) repeating steps until an output has been determined for all classes, e) comparing the calculated output values, and f) selecting the class or classes having maximum output value.
23. A method according to claim 22 wherein the output value further is determined as a function of values of addressed column cells.
24. A method according to claim 23 wherein said output value is determined as a first summation of all the addressed weight vector cell values corresponding to column vector 20 cell values greater than or equal to a predetermined value, said predetermined value preferably being 1.
25. A method according to claim 23 wherein said step of determining an output value comprises determining a first summation of all the addressed weight vector cell values ooooo corresponding to column vector cell values greater than or equal to a predetermined value, oooo 25 determining a second summation of all the addressed weight vector cell values, and determining the output value by dividing the first summation by the second summation.
A system for training a computer classification system which can be defined by a *network comprising a stored number of n-tuples or Look Up Tables (LUTs), with each n- tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of columns being addressed by signals or elements of sampled training input data examples, each column being defined by a vector having cells with values, said system comprising input means for receiving training input data examples of known classes, means for sampling the received input data examples and addressing column vectors in the stored set of n-tuples or LUTs, means for addressing specific rows in the set of n-tuples or LUTs, said rows corresponding to a known class, storage means for storing determined n-tuples or LUTs, means for determining column vector cell values so as to comprise or point to information based on the number of times the corresponding cell address is sampled from the training set(s) of input examples, and means for determining weight cell values corresponding to one or more column vector cells being addressed or sampled by the training examples to thereby allow weighting of one or more column vectors cells of positive value during a classification process, said weight cell values being determined based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
27. A system for training a computer classification system which can be defined by a network comprising a stored number of n-tuples or Look Up Tables (LUTs), with each n- tuple or LUT comprising a number of rows corresponding to at least a subset of possible classes and further comprising a number of columns being addressed by signals or elements of sampled training input data examples, each column being defined by a vector having cells with values, said system comprising input means for receiving training input data examples of known classes, means for sampling the received input data examples and 20 addressing column vectors in the stored set of n-tuples or LUTs, means for addressing specific rows in the set of n-tuples or LUTs, said rows corresponding to a known class, storage means for storing determined n-tuples or LUTs, means for determining column vector cell values so as to comprise or point to information based on the number of times the corresponding cell address is sampled from the training set(s) of input examples, and oo• 25 means for determining weight cell values corresponding to at least a subset of the column vector cells to thereby allow boosting of one or more column vectors cells during a o •classification process, said weight cell values being determined based on the information of •at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
28. A system according to claim 27 wherein means for determining the weight cell values is adapted to determine these values so as to allow suppressing of one or more column vector cells during a classification process. -41-
29. A system according to any one of claims 26 to 28 wherein the means for determining the weight cell values is adapted to determine these values so as to allow weighting of one or more column vector cells having a positive value (greater than 0) and one or more column vector cells having a non-positive value (lesser than or equal to 0).
30. A system according to any one of claims 26 to 29 wherein the means for determining the weight cell values is adapted to determine these values so that the weight cell values are arranged in weight vectors corresponding to at least part of the column vectors.
31. A system for determining weight cell values of a classification network which can be defined by a stored number of n-tuples or Look Up Tables (LUTs), with each n-tuple or LUT comprising a number of rows corresponding to at least a subset of the number of possible classes and further comprising a number of column vectors with at least part of said column vectors having corresponding weight vectors, each column vector being addressed by signals or elements of a sampled training input data example and each column vector and weight vector having cell values being determined during a training process based on one or more sets of training input data examples, said system comprising: input means for receiving training input data examples of known classes, means for sampling the received input data examples and addressing column vectors and corresponding weight vectors in the stored set of n-tuples or LUTs, means for addressing S•specific rows in the set of n-tuples or LUTs, said rows corresponding to a known class, S 20 storage means for storing determined n-tuples or LUTs, means for determining column vector cell values so as to comprise or point to information based on the number of times the corresponding cell address is sampled from the training set(s) of input examples, and means for determining weight vector cell values corresponding to one or more column vector cells based on the information of at least part of the determined column vector cell 25 values and by use of at least part of the training set(s) of input examples, said determination allowing weighting of one or more column vector cells having a positive value (greater than 0) and one or more column vector cells having a non-positive value (lesser than or equal to 0).
32. A system according to any one of claims 26 to 31 wherein the means for determining the weight cell values is adapted to allow weighting of any column vector cell.
33. A system according to any one of claims 26 to 32 wherein the means for determining S TR the weight cell values comprises means for initialising one or more sets of weight vectors -42- corresponding to at least part of the column vectors, and means for adjusting weight vector cell values of at least part of the weight vectors based on the information of at least part of the determined column vector cell values and by use of at least part of the training set(s) of input examples.
34. A system according to any one of claims 26 to 33 wherein the means for determining the column vector cell values is adapted to determine these values as a function of the number of times the corresponding cell address is sampled from the set(s) of training input examples.
A system according to any one of claims 26 to 33 wherein the means for determining the column vector cell values is adapted to determine these values so that the maximum value is 1, but at least part of the values have an associated value being a function of the number of times the corresponding cell address is sampled from the training set(s) of input examples.
36. A system according to any one of claims 26 to 35 wherein, when a training input data example belonging to a known class is applied to the classification network thereby addressing one or more column vectors, the means for determining the column vector cell values is adapted to increment the value or vote of the cells of the addressed column vector(s) corresponding to the row(s) of the known class, said value preferably being incremented by one. :o 20
37. A system according to any one of claims 26 to 36 wherein all column vectors have corresponding weight vectors.
38. A system according to any one of claims 33 to 37 wherein the means for initialising the weight vectors is adapted to setting all weight vector cell values to a predetermined constant value, said predetermined value preferably being one. 9 25
39. A system according to any one of claims 33 to 38 wherein the means for "initialising the weight vectors is adapted to setting each weight vector cell to a 9 predetermined specific value.
40. A system according to any one of claims 33 to 39 wherein the means for adjusting the weight vector cell values is adapted to determine a global quality value based on at least part of the weight and column vector cell values, determine if the global quality value fulfils a required global quality criterion, and adjust at least part of the weight cell values until the global quality criterion is fulfilled. -43-
41. A system according to any one of claims 33 to 39 wherein the means for adjusting the weight vector cell values is adapted to a) determine a local quality value corresponding to a sampled training input example, the local quality value being a function of at least part of the addressed weight and column vector cell values, b) determine if the local quality value fulfils a required local quality criterion, c) adjust one or more of the addressed weight vector cell values if the local quality criterion is not fulfilled, d) repeat the local quality test for a predetermined number of training input 10 examples, e) determine a global quality value based on at least part of the weight and column vectors being addressed during the local quality test, f) determine if the global quality value fulfils a required global quality criterion, and, g) repeat the local and the global quality test and associated weight adjustments until the global quality criterion is fulfilled.
42. A system according to claim 40 or claim 41 wherein the means for adjusting the weight vector cell values is adapted to stop the iteration process if the global quality criterion is not fulfilled after a given number of iterations.
43. A system according to claim 40 or claim 41 wherein the means for storing n-tuples or LUTs comprises means for storing adjusted weight cell values and separate means for storing best so far weight cell values, said means for adjusting the weight vector cell values further being adapted to replace previously separately stored best so far weight cell values with obtained adjusted weight cell values if the determined global quality value is closer to fulfil the global quality criterion than the global quality value corresponding to previously separately stored best so far weight values.
44. A system for classifying input data examples into at least one of a plurality of classes using a computer classification system configured according to a method as defined in any one of claims 1 to 21, said system comprising: storage means for storing a number or set of n-tuples or Look Up Tables (LUTs) with each n-tuple or LUT comprising a number of Srows corresponding to at least a subset of the number of possible classes and further -43a- comprising a number of column vectors with corresponding weight vectors, each column vector being addressed by signals or elements of a sampled input data example and each column vector and weight vector oo -44- having cells with values being determined during a training process based on one or more sets of training input data examples, said system further comprising: input means for receiving an input data example to be classified, means for sampling the received input data example and addressing columns and corresponding weight vectors in the stored set of n-tuples or LUTs, means for addressing specific rows in the set of n-tuples or LUTs, said rows corresponding to a specific class, means for determining an output value as a function of addressed weight cells, and means for comparing calculated output values corresponding to all classes and selecting the class or classes having maximum output value.
A system according to claim 44 wherein the output value further is determined as a function of values of addressed column cells.
46. A system according to claim 44 or claim 45 wherein the output determining means comprises means for producing a first summation of all the addressed weight vector cell values corresponding to a specific class and corresponding to column vector cell values greater than or equal to a predetermined value.
47. A system according to claim 46 wherein the output determining means further comprises means for producing a second summation of all the addressed weight vector cell values corresponding to a specific class, and means for determining the output value by dividing the first summation by the second summation. 6% 0'
48. A system according to any one of claims 44 to 47 wherein the cell values of the 20 column vectors and the weight vectors have been determined by use of a training system i according to any one of the systems of claims 26 to 43.
49. A system according to any one of claims 44 to 47 wherein the cell values of the column vectors and the weight vectors have been determined during a training process according to any one of the methods of claims 1 to 21. 25
50. A method of training a computer classification system substantially as hereindescribed with reference to any one of the embodiments of the invention illustrated •in the accompanying drawings and/or examples.
A method of determining weight cell values in a computer classification system substantially as hereindescribed with reference to any one of the embodiments of the invention illustrated in the accompanying drawings and/or examples.
52. A system for training a computer classification system substantially as hereindescribed with reference to any one of the embodiments of the invention illustrated in the accompanying drawings and/or examples.
53. A system for determining weight cell values of a classification network substantially as hereindescribed with reference to any one of the embodiments of the invention illustrated in the accompanying drawings and/or examples.
54. A system for classifying input data examples into at least one of a plurality of classes substantially as hereindescribed with reference to any one of the embodiments of the invention illustrated in the accompanying drawings and/or examples. DATED this 23rd Day of February, 2001 INTELLIX A/S Attorney: JOHN B. REDFERN Fellow Institute of Patent and Trade Mark Attorneys of Australia of BALDWIN SHELSTON WATERS S
AU22656/99A 1998-02-05 1999-02-02 N-tuple or ram based neural network classification system and method Ceased AU756987B2 (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
DK16298 1998-02-05
DK0162/98 1998-02-05
EP98201910 1998-06-09
EP98201910A EP0935212B9 (en) 1998-02-05 1998-06-09 N-Tuple or ram based neural network classification system and method
PCT/DK1999/000052 WO1999040521A1 (en) 1998-02-05 1999-02-02 N-tuple or ram based neural network classification system and method

Publications (2)

Publication Number Publication Date
AU2265699A AU2265699A (en) 1999-08-23
AU756987B2 true AU756987B2 (en) 2003-01-30

Family

ID=26063433

Family Applications (1)

Application Number Title Priority Date Filing Date
AU22656/99A Ceased AU756987B2 (en) 1998-02-05 1999-02-02 N-tuple or ram based neural network classification system and method

Country Status (8)

Country Link
JP (1) JP2002503002A (en)
CN (1) CN1227608C (en)
AU (1) AU756987B2 (en)
CA (1) CA2318502C (en)
IL (1) IL137337A0 (en)
NZ (1) NZ506053A (en)
PL (1) PL343114A1 (en)
WO (1) WO1999040521A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6995629B2 (en) * 2018-01-05 2022-01-14 日本電信電話株式会社 Arithmetic circuit
CN110163334B (en) * 2018-02-11 2020-10-09 上海寒武纪信息科技有限公司 Integrated circuit chip device and related product
CN110197274B (en) * 2018-02-27 2020-08-25 上海寒武纪信息科技有限公司 Integrated circuit chip device and related product
CN110197275B (en) * 2018-02-27 2020-08-04 上海寒武纪信息科技有限公司 Integrated circuit chip device and related product
CN110197264B (en) * 2018-02-27 2020-08-04 上海寒武纪信息科技有限公司 Neural network processor board card and related product
CN110197267B (en) * 2018-02-27 2020-08-04 上海寒武纪信息科技有限公司 Neural network processor board card and related product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992000572A1 (en) * 1990-06-29 1992-01-09 University College London Neural processing devices with learning capability

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992000572A1 (en) * 1990-06-29 1992-01-09 University College London Neural processing devices with learning capability

Also Published As

Publication number Publication date
JP2002503002A (en) 2002-01-29
CA2318502A1 (en) 1999-08-12
CA2318502C (en) 2008-10-07
CN1290367A (en) 2001-04-04
AU2265699A (en) 1999-08-23
NZ506053A (en) 2003-02-28
WO1999040521A1 (en) 1999-08-12
PL343114A1 (en) 2001-07-30
IL137337A0 (en) 2001-07-24
CN1227608C (en) 2005-11-16

Similar Documents

Publication Publication Date Title
Jo et al. Integration of case-based forecasting, neural network, and discriminant analysis for bankruptcy prediction
Pham et al. Control chart pattern recognition using a new type of self-organizing neural network
Hoffmann et al. Inferring descriptive and approximate fuzzy rules for credit scoring using evolutionary algorithms
Khan et al. Multi-objective feature subset selection using non-dominated sorting genetic algorithm
Roßbach Neural networks vs. random forests–does it always have to be deep learning
CN111542843A (en) Active development with collaboration generators
Gençay et al. Degree of mispricing with the Black-Scholes model and nonparametric cures
Trabelsi et al. Classification systems based on rough sets under the belief function framework
Curti et al. What drives the scatter of local star-forming galaxies in the BPT diagrams? A Machine Learning based analysis
AU753822B2 (en) N-tuple or ram based neural network classification system and method
US6393413B1 (en) N-tuple or RAM based neural network classification system and method
AU756987B2 (en) N-tuple or ram based neural network classification system and method
Walley et al. Biological monitoring: a comparison between Bayesian, neural and machine learning methods of water quality classification
Gajowniczek et al. Generalized entropy cost function in neural networks
Alizadeh et al. An adaptive neuro‐fuzzy system for stock portfolio analysis
CN106780020A (en) A kind of stock trend analysis and share-selecting method based on strong matching sequence
Wilkowski et al. Application of artificial neural networks for real estate valuation
CN115049006A (en) Communication signal identification method and system based on self-adaptive feedforward neural network
Davies et al. Dagger: A new approach to combining multiple models learned from disjoint subsets
Georgiadou et al. Estimating the far right vote with aggregate data
CN118096244B (en) Charging pile sales model training method, device, equipment and storage medium
Maghsoudi et al. Weighted combination of multiple classifiers for the classification of hyperspectral images using a genetic algorithm
CN118657145A (en) Data processing method, apparatus, computer device, readable storage medium, and program product
Evjen Analysis of the probability of default in peer-to-peer lending. Application of different classification techniques.
İkizler et al. Feature Dependency in Benefit Maximization: A Case Study in the Evaluation of Bank Loan Applications

Legal Events

Date Code Title Description
FGA Letters patent sealed or granted (standard patent)