CA2063426A1 - Pattern recognition - Google Patents

Pattern recognition

Info

Publication number
CA2063426A1
CA2063426A1 CA002063426A CA2063426A CA2063426A1 CA 2063426 A1 CA2063426 A1 CA 2063426A1 CA 002063426 A CA002063426 A CA 002063426A CA 2063426 A CA2063426 A CA 2063426A CA 2063426 A1 CA2063426 A1 CA 2063426A1
Authority
CA
Canada
Prior art keywords
weight
input
vector
weights
training
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.)
Abandoned
Application number
CA002063426A
Other languages
French (fr)
Inventor
Philip Charles Woodland
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.)
British Telecommunications PLC
Original Assignee
Individual
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
Application filed by Individual filed Critical Individual
Publication of CA2063426A1 publication Critical patent/CA2063426A1/en
Abandoned 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/24Classification techniques
    • G06F18/243Classification techniques relating to the number of classes
    • G06F18/24317Piecewise classification, i.e. whereby each classification requires several discriminant rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L15/16Speech classification or search using artificial neural networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Molecular Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Biophysics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Complex Calculations (AREA)
  • Image Analysis (AREA)

Abstract

A neural net is trained on training data, and the weight values are increased up to a predetermined maximum value M; any weight values which would otherwise exceed M are set equal to M. Useful for training multi-layer perceptrons for speech recognition;
results in weight values which are more easily quantised hence give a more robust performance.

Description

WO 91/00591 P~/~B90/011JO2 PATTERN RECOGNITION

This invention relates to pattern recognition apparatus or the like using neural networks, and a method of producing such apparatus; in particular, but not exclusively, using neural networks of the multi-layer perceptron (MLP) type.
Neural networks of this type in general comprise a plurality of parallel processing units ("neurons"), each connected to receive a plurality of inputs comprising an input vector, each input heing connected to one of a respective plurality of weighting units, the weighting factors of which comprise a respective weight vector, the output of the neuron being a scalar function of the input vector and the weight vector. Typically, the output is a ~unction of the sum of the weighted inputs. Such networks lS have been proposed since the lY50s tor before), and have been applied to a wide variety of problems such as visual object recognition, speech recognition and text-to-speech conversion.
It is also known to implement such networks using a 20 single, suitably progra~med, digital computing device to perform the processing of all such neurons. Although the speed achievable by such an arrangement is of necessity of lower than that of a parallel network, the advantages of adaptive pattern recognition can give such an implementation greater speed and slmplicity than would the use of conventional pattern recognition techniques.
~ he perceptron illustrated in Figure l, consists of simple processing units ~neurons~ arranged in layers connected together via 'weightsl (synapses). The output of 3 o each unit in a layer is the weighted sum of the outpu~s . .. .

i i ' . ' ' ` ' ' ' ~ ` ' ' ` ' . .
: ~ . , .
~,' ~ ,' ' .' . ;. ~' ' , . ' . . . : ~ ~ . . .
.: . . .

W O 91/00591 PCT/GB90/01002 ~
206342~ -2~

from the previous layer. During training, the values of these weights are adjusted so that a pattern on the output layer is 'recognised' by a particular set of output units being activated above a threshold.
Interest in perceptrons faded in the 1960s, and did not revive again until the mid 1980s, when l:wo innovations gave perceptrons new potential. The first was the provision of a non-linear compression following each neuron, which had the effect that the transformation between layers was also be non-linear. This meant that, in theory at least, s~ch a device was capable of performing complex, non-linear mappings. The second innovation was the invention of a weight-adjustment algorithm known as khe 'generalised delta rule'. These innovations are discussed in Rumelhart, D.E., Hinton, G.E. & Williams, R.J.
(1986). "Learning internal representations by error propagation."
In Parallel Distributed Processinq Eds McClelland & Rumelhart. NIT Press.

Since a sequence of non-linear transformations is not, generally, equivalent to a single, non-linear transformation, the new perceptron could have as many layers as necessary to perform its complicated mappings.
: 2 5 Thus the new device came to be known as the multi-layer perceptron (NLP). The generalised delta rule enabled it to learn patterns by a simple error back propagation training process. A pattern to be learned is supplied and latched ('clamped') to the input units of the device, and the 3 0 corresponding required output is presented to the output units. The weights, which connect input to output via the multiple layers~ are adjusted so that the error between the actual and required output is reduced. The standard back propagation training algorithm for these networks employs a 3s gradient descent algorithm with weights and biases adjusted by an amount proportional to the qradient of the error function with respect to each weight. The constant of . . , ,.~ , . . .

:, . .
.~ . .
: .
-............................................. . .

~ u ~
w o sl/on~sl PCT/G~90/01~02 proportionality is known as the learning rate. A
~momentum~ ter~ is also usually added that smooths successive welght updates by adding a constant proportion o~ the previous weight update to the current one. For large MLPs training on large amounts of data, an alternatlYe algorithm computes a variable learning rate and momentum smoothing. The adaptation scheme ensures that steep gradients do not cause excessively large steps in weight space, but still permits reasonable step sizes with o small gradients. This process is repeated many times for all the patterns in the training set. After an appropriate number of iterations, the MLP will recognise the patterns in the training set. If the data is structured, and if the training set is representative, then the MLP will also recognise patterns not in the training set.
Such training techniques are discussed in, for example, British Telecom Technology Journal Vol 6, No. 2 April 1988 pl31-139 "~ulti-layer perceptions applied to speech technology", N. McCulloch et al, and are well known in the art. Similar training procedures are used for other types of neural network.
To be effective, the network must learn an underlying mapping from input patterns to output patterns by using a sparse set of examples (training data). This mapping : 25 should also be applicable to previously unseen data, i.e.
the network should generalise well. This is especially important for pattern classification systems in which the data forms natural clusters in the input feature space, such as speech data.
In the following, generalisation is defined as the difference between the classification performance on the training data set and that on a test set drawn from a population with the same underlying statistics. Why does a given network fail to generalise? A net is specifi~d by a 3 5 set of parameters that must be learned from a set of training examples. If the amount of training data available is increased, the better in general will be the weight estimates and the more likely a net will . ~: , . . . .
.,:, , ' ~ . ' ' . '. , :, w o ~1/00591 PCT/GB90/01002 2 ~ ~ 3L~ 2 6 ~4~
aeneralise. In all practical appll~ations, the amount of training data available is limited and strategies must be developed to constrain a network so that a limited amount of data will produce good weight values. Limiting the ` 5 internal complexity of the network (num~ers of hidden nodes and connectivity) is o~e prior method of constraint.
The standard algorithm used for training multi-layer perceptrons is the error bac~-propagati.on algorithm discussed aboven To learn a particular mapping, the algorithm adjusts networ~ weight and bias values so as to reduce the sum-squared error between the actual network output and some desired output value. In a classification task such as speech or visual pattern recognition, the correct output is a vector that represents a particular class.
However, the same class label will be assigned to an input vector whether or not it is close to a class boundary.
Boundary effects, and as importantly for "real~worlcl problems, noise at the level of the feature description, mean that, to minimise the output error, fast transitions of the output nodes in the input space are required. To build up fast transitions, large weight values need to be used. The back-propagation algorithm, if run for a large number of iterations, builds up such large values.
2 S It can be seen that generalisation in the presence of noise and limited training data is promoted if smooth decision surfaces are formed in the input feature space.
This means that a small change in input values will lead to only a relatively small change in output value. This 3 O smoothness can be guaranteed if the connection weight magnitudes are kept to low values. Although it may not be possible for the network to learn the training set to such a high degree of accuracy, the difference between training set and ~est set performance decreases and test set performance can increase.
Previously, the generalisation problem has been tackled simply by initialising a network using small random weights and stopping the training process after a : . . , . . ; : . ~

' ' ,':
' . .: , ' .

w O 91/00591 PCT/GB90/01002 -small number of cycles. This is done so that the training set should not be learnt in too great detail.
Additionally, some workers (for example Haffner et al ~Fast Back-propagation learning methods for phonemic 5 neural networks". Eurospeech 89), Paris have realised that large networ~ weight values lead to poor generalisation ability, and that it is ~or this reason that training cycles should be limited. However, the correct number of training cycles to choose is dependent on the problem, the networ~ size, nPtwor~ connectivity and on the learning algorithm parameters. Hence, simply limiting training cycles is a poor solution to an important problem.
In any digital hardware implementation of an NLP or 15 other network, the question of weight quantisation must be addressed. It is known that biological neurons do not perform precise arithmetic, so it might be hoped that weights in a neural network would be robust to quantisation. Normally, quantisation takes place after 2 o the network has been trained. However, if as described a~ove, the network has built up large weight values, then node output may depend on small differences between large `
values. This is an undesirable situation in any numerical computation, especially one in which robustness to 25 quantisation errors is required.
The issue of weight-quantisation is also an area that has not been approached with a view to performing N~P
training subject to a criteria that will improve quantisation performance. NLP weights would normally be 3 o examined after train mg and then a suitable quantisation scheme devised. It is true that the prior art technique of limiting the number of training cycles as discussed above, will improve veight quantisation slmply because weight values will have not yet grown to large values, but 3 5 the extent to which it does so depends, as discussed above, on a number of parameters which may be data-relaked. It is thus not a general-purpose solution to the problem of providing readily quantised weights.

. .

.
~ . , ~ - , -.

w o 91/00591 PCT/GB90/01002 20~3~26 We have found that both generalisation performance and robustness to weight quantisation are improved by including explicit weight-range limiting into the MLP
training procedure.
; According to the invention there is provided;
- a method of deriving weight vectors (each comprising a plurality of multibit digital weights each having one of a range of discrete values) for a neural net comprls mg:-- vector input means for receiving a plurality o~
input values comprising an input vector; and vector processing means for generating plurality of scalar outputs in dependence upon the input vector and respective reference weight vectors, 1S comprising the steps of:-: - selecting a sequence of sample input vectors (correspoding to predetermined net outputs);
- generating, using a digital processlng device employing relatively high-precision digital arithmetic, an 2 o approximation to the scalar outputs which would be produced by the neural net processing means;
;; - generating therefrom an approximation to the outputs of the net corresponding to the respective input vectors; and - iteratively modifying the weight vectors so as to reduce the difference between the said approximated ne~
outputs and the predetermined outputs;
characterised in that, if the said modifying step would result in the magnitude of a weight, or weight vector, exceeding a predetermined value M, then that weight, or ~eight vector, magnitude is constrained to be equal to (or less than~
Our results clearly show the effectiveness of the weight range-limiting technique in both improving 3 5 quantisation per~ormance and increasing the robustness of the structure to weight quantisation, although it may seem surprising that good test-set accuracy can be obtained by , . , . .. . . : :
. ~. -, ~ - . ., ' ~.

. . ., , ~ ~ . .

20~3~26 WO 91/00591 PCI /GBgO/01002 networks with very limited weight ranges (down to ~1.5).
It is important to note that good performance is due to the fact that the weight-limlting technique is incorporated into the learning procedure and hence the NLP
parameters are optimised s~bject to constraints on the weight values. This process can be thought of as incorporating knowledge into the structure by disallowing weight space configuration that will give poor generalisation due to the inherent noise in data for ` lo real-world problems.
; Weight limiting also improves general network robustness to numerical inaccuracies - hence weight quantisation performance improves. It is seen here that with suitable weight limits as few as three bits per l 5 weight can be used. Large weights can cause a network node to compute small differences between large (weighted) inputs. This in turn gives rise to sensitivity to numerical inaccuracies and leads to a lessening of the inherent robustness of the MLP structure. The weight limited NLP according to the invention is able to deal with inaccuracies in activation function evaluation and low resolution arithmetic better than a network with larger weight values. These factors combine to mean that the technique is useful in any limited pre~ision, : 2 5 fixed-point NLP implementation. The numerical robustness is increased so that, with suitable weight limits, as few - as three bits per weight can be used to represent trained weight values.
Simulations on a "real-world" speech recognition problem show that, for a fixed MLP structure, although classification performance on the training set decreases, improved generalisation leads to improved test set performance.
~ neural network employing weights derived according 3 5 to the above method will be dis~inguishable, in general, from prior art networks because the distribution of the weight values will not be even (i.e. tailing off at high positive and negative weight sizes), but will be skewed - .
.

.
`,~ ` ' ' ' " ' ' . ~ ~ ': :

WO 91/00591 PCItGE~90/01002 ~ . -2~3~26 towards the maximum level M, with a substantial proportion of weight magnitudes equal to M. It will also, as discussed above, have an improved generalisation performance. The invention thus extends to s~ch a network.
Such a network (which need not be a multi-layer perceptron network but could be, for example, a single layer perception), is, as discussed above, useful for speech recognition, but is also useful in visual object recognition and other classification tasks, and in estimation tasks such as echo cancelling or optLmisation tasks such as telephone network management. In some applications (for example, speaker-dependent resognition), it may be useful to supply an l'untrained" network which includes training means (e~g. a microcomputer) programmed to accept a series of test data input vectors and derive the weights therefrom in the manner discussed above during a training phase.
The magnitude referred to is generally the absolute (i.e. +) magnitude, and preferably the magnitude of any single weight (i.e. vector component) is constrained not to exceed M.
The invention will now be described by way of example only, with reference to the accompanying drawings, in which:-- Figure 1 shows schematically a (prior art) perceptron;
- Figure 2 shows schematically a multi-layer perceptron;
- Figure 3 shows schematically a training algorithm according to one aspect of the invention - Figure 4a shows schematically an input stage for an embodiment of the invention, - Figure 4b shows schematically a neuron for an embodiment of the invention, and - Figure 5 shows schematically a network of such neurons.

. ~ . .
.,~ . . . ' ' ' .
;,~ . ;.
.. . . .
': ' ' ' . . ~

~'~ ' '.' 2~4~
W O 91/00591 PCr~GB90/01002 _ g_ The foll~wing describes an experimental evaluation of the weight range-limiting method of the invention. First, the example problem and associated database are described, followed by a series of ex~eriments and the results.
5The problem was required to be a "real-world" problem having noisy features ~ut also being of limited dimension.
The problem chosen was the one of speaker independent re~ognition of telephone quality utterances of "yes" and - "no~ using a simple feature description. This task has all the required properties listed above and also the added advantages of known performance using several other techniques, see Woodland, P.C. & Millar, W. (1989). "Fixed dimensional classifiers for speech recognition". In Soeech and Lanquaae Processinq Eds. Wheddon &

Linggard. Kogan-Page.
The speech data used was part of a large database collected by British Telecom from long distance telephone talks over the p~blic switched telephone network. It consisted of a single utterance of the words "yes" and "no" from more than 700 talkers. 79~ utterances were available for NLP training and a further 620 for testing.
The talkers in the training set were completely distinct from the test set talkers. The speech was digitally sampled at 8kHz and manually endpointed. The resulting data set included samples with Lmpulsive switch m g noise and very high background noise levels.
The data was processed by an energy based segmentation scheme into five variable length portions. Within each segment low order LPC analysis was used to produce two cepstral coefficients and the normalised prediction error. The complete utterance was therefore described by a single fifteen dimensional vector.
A number of ~LPs were trained using this database to assess the effects of weight range-limiting on generalisation and weight quantisation. In all cases the ~LPs had a single hidden layer, full connection between the input and hidden layers and full connection between ., ~ ~. , : , .
.
. . ' , .

:: ,. .

W O 91/OOS9l PCT/CB90/01002 --2063~26 -lO-the hidden and output layer. There were no direct input/output connections. The back-propagation training algorithm was used with updating after each epoch, i.e., after every input/output pattern has been presented. This update scheme ensures that the weights are changed i~ a direction that reduces error over all the traininq patterns and result o~ the training procedure does not depend on the order of pattern presentation. All networks used a single output node. During training, the desired output was set to 0.9 for ~yes" and to 0.1 for ~no~.
~uring testing all utterances that gave an output of greater than 0.5 were classified as "yes" and the remainder as ~'no~'. The learning rate used was 0.01 and the momentum constant was set to 0.9.
Weight range-limited networks were trained subject to a maximum absolute value of M. If after a weight update a particular weight exceeded this value then it was reset to the maximum value. Classification performance results for values of M of 1.5, 2.0, 3.0, 5.0 and no-limit are shown as Tables 1 to 5 TA8LE 1 - Performance with M = 1.5 .
Number of Training Set Test Set Hidden Nodes Accuracy~ Accuracy~
.

2 90.4 90.7 3 92.2 92.3 4 92.7 93.2 93.9 94.7 95.7 95.5 96.6 95.7 97.1 95.5 97.4 95.3 g7.0 95O5 ':,' , , ;'. ~` ~
` , ' ' ~j ' , :
. . -?

.
`: : ` . . , .`. : .

'~ v ~
w o 91/00591 ~ PCT/GB90/01002 TABLE 2 - Performance with M = 2.0 .

.
Number o~ Training Set Test Set Hidden Nodes Accuracy% Accuracy%

2 92.9 92.7 3 94.1 94.0 4 94.6 95.2 94.9 95.3 96.9 95.0 97.6 95.3 98.1 96.3 97.9 95-2 TABLE 3 - Performance with M = 3.0 _ Number Of rraining Set Test Set Hidden Nodes Accuracy % Accuracy %

2 94.4 95.0 3 ` 95.2 95.2 4 96.2 ~ 95.3 97.0 94.8 98.9 95.3 99.0 95.2 '' ' .

..... . .
,. - ~ , ~
.
~ ' - . .
: , ;
. . .

W O 91/00591 2 ~ 12- PCT/G~90/01002 TAB_ 4 - Performance with M = 5.0 Number of Training Set Test Set - Hidden Noaes Accuracy % Accuracy %

2 95.6 95.5 3 g6.5 9~.3 4 97.6 94.7 97.9 95.3 99.5 94-3 99.5 93-7 TABLE 5 - Performance with no weiqht limits -Number of Training Set Test Set Hidden Nodes Accuracy % Accuracy %

2 97.0 95.2 3 97.9 93.7 4 98.6 95.0 ~ -98.~ 94.5 99.8 94.0 99.8 9~.0 It can be seen from these tables that as N is increased the training set accuracy increases for a given number of hidden nodes, tending towards the figures with no weight constraints. It can also be seen that training set and test set accuracies converge as N is decreased, i.e., generalisation performance improves. Further, as the number of hidden nodes increase, the test set performance gets worse for the no limit case, while ; .. .. . . .... .
. .. . .. . . ..
-. ~ . . .. .
.. :' ' - ~ . ., ' .
~ :- . ..
;................................... . .

~ - - ' . . .

4 ~ b W O 91/oossl PCT/GB90/01002 (M=) for small values of M this effect ls not in evidence. It should be noted that the best test set performance occurs for ~ = 2.0 with 25 hidden nodes.
Also, for all finite values of M tested, there is at least one ~LP configuration that gives superior test-set performance to the best achleved with no weight limiting.
Experiments to ascertain the relative degradations due to weight quantisation were also performed. Once the network had been fully tralned using a floating point arithmetic training algorithm, the weights and biases ~ere quantised into a fixed (odd) number, L, of equally spa~ed levels. The maximum absolute value in the network determined the maximum positive and maximum negative level value. Each network weight and bias was then mapped to the nearest quantisa~ion level value and network testing performed using floating point arithmetic. The effects of weight quantisation after training was tested for the 15 hidden node networks described above. Table 6 gives the RMS error (between actual and desired outputs) on the ~ set for di~erent numbers of levels and a range of maximum absolute weights.

TABLE 6 - RMS Error on traininq set for differinq L & N

No o~ RMS Error on Training Set Levels L M= 1.5 N = 2.0 M = 3.0 M = 5.0 N = cP

3 0.2674 0.1700 0.1954 0.4849 0.5391 7 0.1~5~3 0.1540 0.1374 0.4514 0.4993 0.1465 0.1277 0.1162 0.1920 0.3770 31 0.1445 0.1255 0.1212 0.1000 0.1428 63 0.1443 0.1254 0.1079 0.0975 0.0977 127 0.1441 0.1253 0.1079 0.0970 0.1205 Z55 0.1441 0.1253 0.1080 0.0962 0.095B
0.1441 0.1253 0.1077 0.0961 0.0~23 From Table 6 the approximate number of levels required, and hence the number of bits per weight, for no .
.
..
. . .

., . ~ . , .

.. . . .

W O 91/00591 PCT/GB90/OtO02 .-.
~ 0 6 3 ~ 2 6 -14-significant degradation can be calculated. Table 7 lists the number of bits per weight required such tha~ the RMS
error is less than 5% greater than for unquantised weights for each of the values of M under consideration.

TABLE 7 - Bits/weight required Maxim~m weight Bits per weight M required 1.5 3 2.0 4 3.0 6 5.0 5 c~? 8 Although, as discussed, the invention is primarily intended for implementation in neural networks of the well known perceptron type which need no further description to the skilled man, some exemplary embodiments will now be briefly disclosed with reference to Figures 4a, 4b & 5 ~with particular reference to sp2ech recognition).
A real-world input (speech) signal is received, sampled, digitised, and processed to extract a feature vector by an input processing circuit 1. For a speech input, the sampling rate may be 8 KHZ; the digitisation may involve A-law PCM coding; and the feature vector may for example comprise a set of LPC coefficients, Fourier Transform coefficients or preferably melfrequency cepstral coefficients.
For speech, the start and end points of the utterance are determined by end pointing device la, using for e~ample the method described in Wilpon J.G, Rabiner and Martin T: IAn improved word-detection algorithm for .telephone quality speech incorporating both syntactic and semantic constraints', AT&T Bell Labs Tech J, 63 (1984) (or any other well known method)7 and between these points n-dimensional feature vectors X are supplied periodically (for example, every 10-100 msec) to the input node 2 of . . .

, ,, . . , . ~:

.

W O 91/00591 2 ~ ~ 3 ~ 2 B PCT/GB90tO1002 -15- ~

the net. The vector X may be a set of l5 8-bit coefficients xi (i.e. n=15) The feature vectors are convenlently supplied in time-division multiplexed form to a single input 2a s connected to common data bus 2b.
The input bus is connec~able to each neuron 3a, ~ 3b, 3d, in the input layer.
- Referring to Figure 4b, each comprises a weight vector RON 5 storing the 15 weight values. The clock signal controlling the multiplex also controls the address bus of the RON 5, so that as successive input values xi ~i = l to n) of the input vector X are !, successively supplied to a first input of hardware digital multiplier 6, corresponding weight values wi are addressed and placed on the data bus of the RON 5 and supplied to a second input of the multiplier 6. The weighted input value produced at the output of the multiplier 6 is supplied to a digital accumulating adder 7, and added to the current accumulated total.
The clock signal also controls a latch 8 on the output of the accumulating adder 7 50 that when all weighted input values of an input vector are accumulated, the (scalar) total is latched in latch 8 for the duration of the next cycle. This is achieved by dividing the clock by n. The accumulating adder 7 is then reset to zero (or to any desired predetermined bias value). The total y (= ~ xi wi) is supplied to a non linear compression circuit 9 which generates in response an output of co~pressed range, typically given by the function C(y) = l/(l+exp (-y)) The compression circuit 9 could be a lookup RON, the total being supplied to the address lines and the output being supplied from the data lines but is preferably as disclosed in our UK application GB892252B.8 and the article 'Efficient Implementation of piecewise linear activation function for digital VLSI Neural Networks'; Nyers et al, Electronics letters, 23 November l9~9, Vol 25 no 24.

: . . - . - , ...
,~: : . :: : . .

~ 3 ~2 ~ -16-Referri~g to Figure 5, the (latched) scalar output Y of each neuron is connected as an input to the neurons 10a, 10b, 10c of the intermediate or 'hidden' layer. Typically, fewer ne~rons will be req~ired in the hidden layer. The output values may be mult.iplexed onto a common inter~ediate bus 11 (but clocked at a rate of l/n that of the input values by, for example, a flipflop circuit) in which case each hidden layer neuron 10a, 10b, 10c may be equivalent to the input layer neurons 3a, 3b, 3c, receiving as their input vector the output values of the input layer. This is a useful embodiment in that it allows a flexible implementation of various nets with low interconnection complexity.
The neurons 10a, 10b, 10c of the hidden layer likewise supply scalar outputs which act as inputs to neurons 12a, 12b, of the output layer. In a classification application, there is typically an output neuron for each class (and possibly others; for example one for "not recognised'l). For a speech recogniser intended to recognise "yes" and "no" two output neurons 12a, 12b could be provided as shown (although a single output could be used to discriminate between two classes). Each receives as its input vector ~he set of outputs of the hidden layer below, and applies its weight vector (stored, as above, in RONs) via a multiplier, to produce a net output value. Preferably the output layer neurons also use a compression function. The class which corresponds to the output layer neuron producing the largest output value is allocated to the input vector (although other 'decision rules' could be used).
Various modifications and substitutions to the above example are possible.
Further intermediate layers may be included.
The skilled man will realise that the functions of all neurons of one input layer(s) could be performed by a single computing device sequentially, in environments where high speed is inessential; the multiply and accumulate/add operations are of course com~on in microprocessors and in dedicated digital signal processing . - . . .

, ,, .

~ U ~ ~ 4 ~ ~
W o 91/00591 PCTtGB90/01002 (DSP) devices such as the Texas Instruments TMS320 family or the Motorola 56000 family.
Equally, all the ROMs 5 could be realised as areas of a single memory device. Alternatively, the invention ~ay be realised using hybrid analogue digital networks in which digital weights act on analogue siqnals, using neurons of the type shown in Figs ll and 12 of WO 89/02134 (assigned to the present applicants).
In applications such as hybrid video coding, speaker recognition or speaker-dependent sp~ech recognition, the network needs to be ~trainable' - that is, must be capable of devising satisfactory weight values on training data.
Accordingly, in this type of apparatus a weight adjusting device 13 is provided; - typically a microprocessor operating according to a stored program. The input test patterns are supplied to the input l, and the initial weight values are adjusted, using an error back-propagation algorithm, to reduce the difference between the net outputs (to which the device 13 i9 connectable) and the predetermined outputs corresponding to the inputs. The device 13 thus calculates the output error, calculates the necessary weight value increment for each weight; limits the weiqht magnitudes (if necessary) to M; accesses the weights in each store 5 (which must, of ~5 course in this embodiment, be a read/write store, not a RON), adds the increments and rewrites the new weight values to the stores 5; the method is discussed above.
Consequently, the adjusting device 13 is connected to the address busses of all stores 5 and to the net outputs. It is also connected to a source of correct output values;
for example, in training a speaker-dependant word recogniser these are derived from a prompt device (not shown) which instructs the speaker to speak a given word.
The correct output (say 0.9) for the output neuron corresponding to that wordl is supplied to weight adjuster 13 together with correct outputs (say O.l) for all other output neurons.

. .......... .

, . ~ ~ : ` ,: `

,, .

Claims (10)

1. A method of deriving weight vectors (each comprising a plurality of multibit digital weights each having one of a range of discrete values) for a neural net comprising:-- vector input means for receiving a plurality of input values comprising an input vector; and - vector processing means for generating a plurality of scalar outputs in dependence upon the input vector and respective reference weight vectors, comprising the steps of:-- selecting a sequence of sample input vectors (correspoding to predetermined net outputs);
- generating, using a digital processing device employing relatively high-precision digital arithmetic, an approximation to the scalar outputs which would be produced by the neural net processing means;
- generating therefrom an approximation to the outputs of the net corresponding to the respective input vectors; and - iteratively modifying the weight vectors so as to reduce the difference between the said approximated net outputs and the predetermined outputs;
characterised in that, if the said modifying step would result in the magnitude of a weight, or weight vector, exceeding a predetermined value N, then that weight, or weight vector, magnitude is constrained to be equal to (or less than) M.
2. A method according to claim 1, further comprising the step of quantising the thus-derived weights or said weight vectors to a lower precision, one of the quantised levels being said value N.
3. A trainable neural network comprising:-- vector input means for receiving an input vector; and - vector processing means for generating a plurality of scalar outputs in dependence upon the input vector and a plurality of respective reference, weight, vectors each comprising a plurality of multibit digital weights each having one of a range of discrete values, further comprising:-- training means for deriving, in a training phase, the weights of said reference weight vectors, characterised in that the training means includes means for limiting, during the training phase, said reference weight vectors or weights to a predetermined maximum value M by constraining the value of weight vectors or weights which would otherwise exceed M not to so do.
4. A network according to claim 3, further comprising quantising means for quantising said thus-derived weights subsequent to said training phase.
5. A network according to claim 3 or claim 4, arranged to comprise a multi-layer perceptron.
6. A neural network having weight vectors derived by the method of claim 1 or claim 2.
7. A neural network according to claim 6, connected to comprise a multi-layer perceptron.
8. A neural network in which the distribution of weight values is skewed towards a maximum magnitude M, a substantial number of said weights having said magnitude.
9. A method of training a neural network substantially as described herein, with reference to the accompanying Figure 3.
10. A neural network substantially as herein described.
CA002063426A 1989-06-30 1990-06-29 Pattern recognition Abandoned CA2063426A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB898915085A GB8915085D0 (en) 1989-06-30 1989-06-30 Pattern recognition
GB8915085.8 1989-06-30

Publications (1)

Publication Number Publication Date
CA2063426A1 true CA2063426A1 (en) 1990-12-31

Family

ID=10659352

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002063426A Abandoned CA2063426A1 (en) 1989-06-30 1990-06-29 Pattern recognition

Country Status (7)

Country Link
EP (1) EP0484344A1 (en)
JP (1) JPH04506424A (en)
CA (1) CA2063426A1 (en)
FI (1) FI916155A0 (en)
GB (2) GB8915085D0 (en)
HK (1) HK132896A (en)
WO (1) WO1991000591A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0683781B2 (en) * 1986-03-14 1994-10-26 住友化学工業株式会社 Method for producing flaky material
GB9116255D0 (en) * 1991-07-27 1991-09-11 Dodd Nigel A Apparatus and method for monitoring
US5621858A (en) * 1992-05-26 1997-04-15 Ricoh Corporation Neural network acoustic and visual speech recognition system training method and apparatus
DE4300159C2 (en) * 1993-01-07 1995-04-27 Lars Dipl Ing Knohl Procedure for the mutual mapping of feature spaces
US11106973B2 (en) 2016-03-16 2021-08-31 Hong Kong Applied Science and Technology Research Institute Company Limited Method and system for bit-depth reduction in artificial neural networks

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0327817B1 (en) * 1988-01-11 1996-08-28 Yozan Inc. Associative pattern conversion system and adaptation method thereof

Also Published As

Publication number Publication date
GB2253295B (en) 1993-11-03
EP0484344A1 (en) 1992-05-13
GB9127502D0 (en) 1992-03-11
JPH04506424A (en) 1992-11-05
WO1991000591A1 (en) 1991-01-10
HK132896A (en) 1996-08-02
GB2253295A (en) 1992-09-02
FI916155A0 (en) 1991-12-30
GB8915085D0 (en) 1989-09-20

Similar Documents

Publication Publication Date Title
US5095443A (en) Plural neural network system having a successive approximation learning method
Virtanen Sound source separation using sparse coding with temporal continuity objective
US5033087A (en) Method and apparatus for the automatic determination of phonological rules as for a continuous speech recognition system
AU702903B2 (en) Speech recognition
CN1156819C (en) Method of producing individual characteristic speech sound from text
Bhama et al. Single layer neural networks for linear system identification using gradient descent technique
US5621848A (en) Method of partitioning a sequence of data frames
KR0173923B1 (en) Phoneme Segmentation Using Multi-Layer Neural Networks
WO1993013519A1 (en) Composite expert
US10741184B2 (en) Arithmetic operation apparatus, arithmetic operation method, and computer program product
CN113111786B (en) Underwater target identification method based on small sample training diagram convolutional network
AU685626B2 (en) Speech-recognition system utilizing neural networks and method of using same
EP1576580A1 (en) Method of optimising the execution of a neural network in a speech recognition system through conditionally skipping a variable number of frames
US5745874A (en) Preprocessor for automatic speech recognition system
Du et al. Spiking structured state space model for monaural speech enhancement
CA2063426A1 (en) Pattern recognition
Koyama et al. Music source separation with deep equilibrium models
JPH0540497A (en) Speaker adaptive voice recognizing device
Woodland Weight limiting, weight quantisation and generalisation in multi-layer perceptrons
Lee et al. Recurrent neural networks for speech modeling and speech recognition
CN112786068A (en) Audio source separation method and device and storage medium
Renals et al. Learning phoneme recognition using neural networks
Jou et al. Mandarin syllables recognition based on one class one net neural network with modified selective update algorithm
Binh et al. A high-performance speech-recognition method based on a nonlinear neural network
Kasper et al. Strategies for reducing the complexity of a rnn based speech recognizer

Legal Events

Date Code Title Description
EEER Examination request
FZDE Discontinued