Recognition unit and recognizing and judging apparatus employing same

Abstract: A recognizing and judging apparatus includes a plurality of recognition units organized in a multi-layered hierarchical network structure. Some recognition units include a signal input section (71; 81; 101), a quantizer (72; 102) for performing a quantization according to a signal inputted from the signal input section (71; 81; 101), and a path selecting section (73; 103) having at least one path input terminal (73a1; 73a1, 73a2; 73a1-73a8; 103a; 103a1, 103a2; 103a1-103a8) and at least one path output terminal (73b1, 73b2; 73b1; 103b1, 103b2; 103b1). The path selecting section (73; 103) performs a selection of paths according to an output of the quantizer (72; 102).

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to a recognition unit and a recognizing and judging apparatus employing a plurality of recognition units for recognizing and judging an object according to various characteristic data of the object. Description of the Prior Art Fig. 1 is a block diagram indicating a conventional recognizing and judging apparatus, which comprises a template comparator 1 having a signal input terminal 2 and a signal output terminal 3, a plurality of templates 4-7 of input signal patterns prepared in advance, and a learning device 8 having a teacher signal input terminal 9. A series of signals representative of an object to be recognized are inputted from the signal input terminal 2 to the template comparator 1. The template comparator 1 compares a pattern of the inputted signals with each of the templates 4-7 and outputs the number of a template having the smallest error as a recognition result from the signal output terminal 3. If the output result is incorrect, the number of a template to which the inputted signals should belong is inputted from the teacher signal input terminal 9 to the learning device 8, thereby modifying an appropriate template to improve the recognizing percentage. In the conventional recognizing and judging apparatus as described above, because it is necessary to compare the inputted signals with all the templates, it takes very long time to make comparisons. Furthermore, because it is necessary to prepare the same number of templates as the kinds of patterns to be classified and recognized, a memory having a large capacity for storing all the templates is required. In addition, learning to be performed by modifying the appropriate template needs a lot of time. A learning type recognizing and judging apparatus is known, for example, in "Learning Representations by Back-Propagating Errors" written by D. E. Rumelhart et al. and reported in Vol. 323, No. 9(1986) of "Nature". Fig. 2 is a block diagram indicating the structure of one of conventional learning type recognizing and judging apparatus, which comprises a plurality of input terminals 11 and 12, a plurality of output terminals 22, a learning circuit 27, a plurality of multi-input/output circuits 28-30, an output layer 31, and a hidden layer 32. As shown in Fig. 2, the plurality of multi-input/output circuits 28-30 are organized in a hierarchical manner in the learning type recognizing and judging apparatus, in which signals inputted from the input terminals 11 and 12 are processed and outputted from the output terminals 22. Of the hierarchically organized multi-input/output circuits 28-30, a layer containing multi-input/output circuits for outputting signals is called the "output layer" whereas a layer containing multi-input/output circuits other than those contained in the output layer is called the "hidden layer". The hidden layer may consist of either a single layer or a plurality of layers each including multi-input/output circuits. Fig. 3 is a block diagram indicating the structure of another conventional learning type recognizing and judging apparatus, which comprises input terminals 41 and 42, a plurality of variable weight multipliers 43-48, a plurality of adders 49-51 each having a saturation input/output characteristic, an output terminal 52, a teacher signal generating section 53, an error calculating section 54, a steepest-descent-direction deciding section 55, a weight changing section 56, a learning circuit 57, a plurality of multi-input/output circuits 58-60, an output layer 61, and a hidden layer 62. As shown in Fig. 3, each of the multi-input/output circuits 58-60 includes two variable weight multipliers and one adder having the saturation input/output characteristic. More specifically, an output signal of the j-th multi-input/output circuit is expressed as: where y[i] is an output signal of the i-th multi-input/output circuit of the preceding layer; w[i, j] is a weight to be applied when the output signal of the i-th multi-input/output circuit of the preceding layer is inputted to the j-th multi-input/output circuit; and fnc( ) is a function having a saturation characteristic and is expressed by, for example, the following Sigmoid function: fnc ( x )= 2 1+exp( -x ) -1 . Fig. 4 is a graph representative of the characteristic function of the adders 49-51 each having a saturation input/output characteristic expressed by the above fnc( ). As described above, the learning type recognizing and judging apparatus has a structure in which multi-input/output circuits are hierarchically connected with each other. During learning, weights applied to the variable multipliers 43-48 are changed so that a desirable output signal (hereinafter referred to as a teacher signal) may be outputted in response to input signals. First, an error is found from the teacher signal and the output signal of the output layer in order to determine the amount of changes of the weights. where y p [j] is an output signal of the j-th multi-input/output circuit of the output layer in response to the p-th input signal; t p [j] is a teacher signal with respect to y p [j]; is the sum of all the teacher signals; is the sum of all the multi-input/output circuits of the output layer; and w is a vector (hereinafter w is referred to as a weight vector) having a weight w[i, j] as a component. As indicated by Equation (2), the error E is expressed by the sum of squares of the differences between the teacher signals and the corresponding output signals of the output layer and is a function of the weight vector w . During the learning, the weights are changed and the differences between the teacher signals and actual output signals, namely the error, are minimized. The amount of changes of the weights is determined by Δ w = -ε * ∂ E ∂ w + α * Δ w' where ε is a positive constant called the "learning parameter"; α is a positive constant called the "momentum"; ∂ E ∂ w is a vector of the partial derivative of the error E expressed by Equation (2) with respect to a weight w[i, j] and is called the "steepest descent direction"; and Δ w' is a vector expression of the amount of changes of the weights in the previous learning. Fig. 5 schematically depicts the structure of the learning circuit 57 of the conventional learning type recognizing and judging apparatus. The learning circuit 57 has an input terminal 63 for receiving output signals from the output layer, an input terminal 64 for receiving output signals from the hidden layer, an input terminal 65 for receiving input signals, an output terminal 66 for outputting weights to the output layer, and an output terminal 67 for outputting weights to the hidden layer. In this learning circuit 57, the teacher signal generating section 53 generates a teacher signal t p [j] (desirable output signal) in response to an input signal. The error calculating section 54 calculates the error E expressed by Equation (2) based on the teacher signal t p [j] and the output signal y p [j] of the output layer. The error calculating section 54 outputs a difference signal t p [j] - y p [j] between the teacher signal required for changing the weights and the output signal to the steepest-descent-direction deciding section 55. The steepest-descent-direction deciding section 55 finds the steepest descent direction of the error E in a space of weights, in which the weights are expressed in vector, based on output signals of the output layer, output signals of the hidden layer, input signals, and weights of the output layer. The steepest descent direction is found by: g = - ∂ E ( w ) ∂ w The right side of Equation (4) is a vector expression of the partial derivative of the error E with respect to the weight. The steepest-descent-direction deciding section 55 multiplies the steepest descent direction by the learning parameter and outputs the result to the weight changing section 56. The weight changing section 56 finds the amount of changes of the weights using Equation (3), thereby changing the weight to be multiplied in each of the variable weight multipliers 43-48. As described above, iteratively finding the amount of changes of the weights by the use of the steepest descent method can reduce the error. When the error becomes considerably small, the learning is terminated by reason that the output signal has reached a satisfactorily desirable value. In the conventional recognizing and judging apparatus of the above-described type, the structure of a network cannot be altered from a fixed state initially defined or designed. Accordingly, since the learning and the recognition ability are determined by the initial design, the apparatus cannot provide an appropriate processing according to input data. Furthermore, any method of designing the network has not been established and actual designing fully depends upon trial and error based on experience and perception. Document INT. WORKSHOP OF NEURAL NETWORKS & THEIR APPLICATIONS, 13 November 1989, NEW YORK, pages 407-427; P. BOCK ET AL. 'The project alias: an application of collective learning systems theory to an adaptive learning image analysis system', figures 3 and 6, as well as line 11 in page 411 and lines 1-2 in page 413,discloses a recognition unit having an input section, and a path selecting section. It does not disclose a quantizer for mapping an analog inputted signal into a discrete value. This document discloses selector cells which are able of transforming incoming responses into stimuli having a different format from the incoming responses. This document further discloses an alternative to preprogrammed rule-based artificial intelligence in the form of a hierarchical network of cellular automata which acquire their knowledge through learning based on a series of trial-and-error interactions with an evaluating environment. The input to the hierarchical network is provided by a set of sensors which perceive the external world. Based upon this perceived information and past experience (memory), the learning automata synthesise collections of trial responses. Periodically the automata estimate the effectiveness of these collections using either internal evaluations (unsupervised learning) or external evaluations from the environment (supervised learning), modifying their memories accordingly. SUMMARY OF THE INVENTION The present invention has been developed to overcome the above-described disadvantages. It is accordingly an object of the present invention to provide a recognition unit for use in a recognizing and judging apparatus which enables learning and recognizing processings to be effectively performed in a short period of time without requiring any templates. Another object of the present invention is to provide a recognizing and judging apparatus of the above-described type which enables not only learning to be made in response to input data, but also the structure of a network to be automatically appropriately altered, constructed, and self-organized in response to input signals. In accomplishing these and other objects, a recognition unit according to the present invention comprises a signal input section, a quantizer for performing a quantization according to a signal inputted from the signal input section, and a path selecting section having at least one path input terminal and at least one path output terminal. The path selecting section performs a selection of paths according to an output of the quantizer. A recognizing and judging apparatus includes a plurality of recognition units organized in the form of a multi-layered hierarchical network. In this apparatus, various characteristic data of an object to be recognized are initially inputted to the signal input sections of the recognition units in some upper layers. Connecting paths between the recognition units are then switched according to outputs of the quantizers of the recognition units, and a desired path leading to the lowermost layer is selectively determined so that a recognition result may be obtained. Therefore, recognition processing and learning of the object can be performed at a high speed. In another aspect of the present invention, a recognition unit comprises a basic unit having at least a signal input section, a function-processing section and a signal output section, a structure storage means for storing a structure of the basic unit, an internal state storage means for storing an internal state of the basic unit, and a duplicating means for duplicating the basic unit based on the internal state of the basic unit stored in the internal state storage means. Upon input of various characteristic data of an object to the signal input sections of a plurality of recognition units organized in a hierarchical manner, the internal state stored in the internal state storing means changes according to input data. When the internal state reaches a certain state, the duplicate means duplicates some recognition units at respective appropriate locations based on the structure of a network stored in the internal state storing means. As a result, the network is reconstituted in the apparatus so as to automatically adapt itself to the input data. The basic unit may be comprised of a signal input section, a quantizer for performing a quantization according to a signal inputted from the signal input section, and a path selecting section having at least one path input terminal and at least one path output terminal. BRIEF DESCRIPTION OF THE DRAWINGS These and other objects and features of the present invention will become more apparent from the following description taken in conjunction with the preferred embodiment thereof with reference to the accompanying drawings, throughout which like parts are designated by like reference numerals, and wherein: Fig. 1 is a block diagram of a conventional recognizing and judging apparatus; Fig. 2 is a block diagram of a conventional learning type recognizing and judging apparatus; Fig. 3 is a detailed block diagram of the apparatus of Fig. 2; Fig. 4 is a graph representative of a characteristic function of adders provided in the apparatus of Fig. 2; Fig. 5 is a block diagram of a learning circuit provided in the apparatus of Fig. 2; Fig. 6 is a block diagram of a recognition unit according to a first embodiment of the present invention; Fig. 7 is a diagram similar to Fig. 6, according to a second embodiment of the present invention; Fig. 8 is a diagram similar to Fig. 6, according to a third embodiment of the present invention; Fig. 9 is a diagram similar to Fig. 6, according to a fourth embodiment of the present invention; Fig. 10 is a diagram similar to Fig. 6, according to a fifth embodiment of the present invention; Fig. 11 is a diagram similar to Fig. 6, according to a sixth embodiment of the present invention; Fig. 12 is a diagram similar to Fig. 6, according to a seventh embodiment of the present invention; Fig. 13 is a diagram similar to Fig. 6, according to an eighth embodiment of the present invention; Fig. 14 is a diagram similar to Fig. 6, according to a ninth embodiment of the present invention; Fig. 15 is a diagram similar to Fig. 6, according to a tenth embodiment of the present invention; Fig. 16 is a diagram similar to Fig. 6, according to an eleventh embodiment of the present invention; Fig. 17 is a block diagram of a recognizing and judging apparatus employing a plurality of recognition units according to the present invention; Fig. 18 is a diagram similar to Fig. 17, indicating a learning type recognizing and judging apparatus employing a plurality of recognition units according to the present invention; and Fig. 19 is a schematic diagram indicating a duplicating operation performed in the learning type recognizing and judging apparatus of Fig. 18. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring now to the drawings, there is schematically shown in Fig. 6 a recognition unit according to a first embodiment of the present invention. The recognition unit comprises a signal input section 71 to which characteristic data to be recognized are inputted via a signal input terminal 71a, a quantizer 72 for quantizing the inputted characteristic data, and a path selecting section 73 for changing the connection between a path input terminal 73a1 and path output terminals 73b1 and 73b2 based upon a value quantized by and inputted from the quantizer 72. When a network is constituted by the combination of a plurality of recognition units, respective terminals 73a1, 73b1 and 73b2 of the recognition units are connected with one another. Fig. 7 schematically shows a recognition unit according to a second embodiment of the present invention, in which a plurality of path input terminals (in this case, two terminals 73a1 and 73a2) are provided. This recognition unit can be operated similarly to that shown in Fig. 6. Fig. 8 schematically shows a recognition unit according to a third embodiment of the present invention. In this embodiment, the path selecting section 73 comprises a path input section 73a having one path input terminal 73a1, a path output section 73b having two path output terminals 73b1 and 73b2, and a switch 73c. The switch 73c switches the connection between the path input terminal 73a1 of the path input section 73a and the path output terminals 73b1 and 73b2 of the path output section 73b based on a value inputted thereto from the quantizer 2. Fig. 9 schematically shows a recognition unit according to a fourth embodiment of the present invention. In this embodiment, the path selecting section 73 comprises a path input section 73a having one path input terminal 73a1, a path output section 73b having two path output terminals 73b1 and 73b2, and a path loading section 73d. Loads 73d1 and 73d2 are weights to be applied to path output signals to be outputted to the path output terminals 73b1 and 73b2 of the path output section 73b, respectively. A loader 73d0 changes these loads according to a value outputted from the quantizer 72. The loads 73d1 and 73d2 weight a path signal inputted from the path input section whereas the path output section 73b outputs the weighted path signal to the path output terminals 73b1 and 73b2. Fig. 10 schematically shows a recognition unit according to a fifth embodiment of the present invention. In this embodiment, the path input section 73a comprises an adder 73a0 for adding input signals from a plurality of path input terminals to one another whereas the path output section 73b comprises a threshold processor 73b0 for performing threshold processing with respect to path signals. The adder 73a0 adds path signals inputted from eight path input terminals 73a1-73a8 and inputs the result of addition to a path selector 73e. The path selector 73e decides how to output a signal obtained through the addition to the path output terminal according to a value outputted from the quantizer 72. The path selector 73e may be of either the construction as shown in Fig. 8 or that as shown in Fig. 9. In this embodiment, because only one path output terminal is provided in the path output section, the path selector 73e decides whether or not the path signal is outputted in the case where the construction as shown in Fig. 8 is employed or the path selector 73e changes the load for weighting the path signal in the case where the construction as shown in Fig. 9 is employed. Fig. 11 schematically shows a recognition unit according to a sixth embodiment of the present invention. The recognition unit comprises a signal input section 81 to which various data signals are inputted through signal input terminals 91-94, and a function-processing section 82 for processing inputted data using a function, for example a threshold function such as Sigmoid function, and a signal output section 83 for outputting processed data via an output terminal 83a thereof. When a network is constituted by the combination of a plurality of recognition units, respective signal input terminals 91-94 and signal output terminals 83a thereof are connected with one another. The recognition unit according to this embodiment further comprises a structure storage means 84, an internal state storage means 85, and a duplicating means 86. The structure storage means 84 stores various informations such as the structure of the signal input section 81, the number of output terminals of the signal output section 83, and the contents processed by the function-processing section 82. The internal state storage means 85 stores the internal state of the recognition unit which changes momentarily in response to inputted signals. The duplicating means 86 duplicates the recognition unit according to the structure of the recognition unit stored in the structure storage means 84 when the internal state stored in the internal state storage means 85 reaches a certain value. Fig. 12 schematically shows a recognition unit according to a seventh embodiment of the present invention. The recognition unit comprises a signal input section 101 to which characteristic data to be recognized are inputted via a signal input terminal 101a, a quantizer 102 for quantizing the inputted characteristic data, and a path selecting section 103 for changing the connection between a path input terminal 103a and path output terminals 103b1 and 103b2 based upon a value quantized by and inputted from the quantizer 102. When a network is constituted by the combination of a plurality of recognition units, respective terminals 103a, 103b1 and 103b2 of the recognition units are connected with one another. The recognition unit further comprises a structure storage means 104, an internal state storage means 105, and a duplicating means 106. The structure storage means 104 stores the range to be quantized by the quantizer, the number of quantization, the number of the path input and output terminals of the path selecting section 103. The internal state storage means 105 stores the average, dispersion, and total number of inputted signals as the internal state of the recognition unit. The duplicating means 106 duplicates the recognition unit according to the structure of the recognition unit stored in the structure storage means 104 when the internal state stored in the internal state storage means 105 reaches a certain value. Fig. 13 schematically shows a recognition unit according to an eighth embodiment of the present invention, in which a plurality of path input terminals (in this case, two path input terminals, 103a1 and 103a2) are provided. This recognition unit can be operated similarly to that shown in Fig. 12. Fig. 14 schematically shows a recognition unit according to a ninth embodiment of the present invention. In this embodiment, a path selecting section 103 is constructed by a path input section 103a having one path input terminal 103a1, a path output section 103b having two path output terminals 103b1 and 103b2, and a switch 103c. The switch 103c connects the path input terminal 103a1 of the path input section 103a and the path output terminal 103b1 or 103b2 of the path output section 103b with each other based on a value inputted thereto from the quantizer 102. Fig. 15 schematically shows a recognition unit according to a tenth embodiment of the present invention. In this embodiment, a path selecting section 103 comprises a path input section 103a having one path input terminal 103a1 and a path output section 103b having two path output terminals 103b1 and 103b2, and a path loading section 103d. Loads 103d1 and 103d2 are weights to be applied to path output signals to be outputted to the path output terminals 103b1 and 103b2 of the path output section 103b, respectively. A loader 103d0 changes these loads according to a value outputted from the quantizer 102. The loads 103d1 and 103d2 weight a path signal inputted from the path input section whereas the path output section 103b outputs the weighted path signal to the path output terminals 103b1 and 103b2. Fig. 16 schematically shows recognition unit according to an eleventh embodiment of the present invention. In this embodiment, a path input section 103a comprises an adder 103a0 for adding input signals from a plurality of path input terminals whereas a path output section 103b comprises a threshold processor 103b0 for performing threshold processing with respect to path signals. The adder 103a0 adds path signals inputted from eight path input terminals 103a1-103a8 and inputs the result of addition to a path selector 103e. The path selector 103e decides how to output a signal obtained through the addition to the path output terminal according to a value outputted from the quantizer 102. The path selector 103e may be of either the construction as shown in Fig. 14 or that as shown in Fig. 15. In this embodiment, because only one path output terminal is provided in the path output section, the path selector 103e decides whether or not the path signal is outputted in the case where the construction as shown in Fig. 14 is employed or the path selector 103e changes the load for weighting the path signal in the case where the construction as shown in Fig. 15 is employed. Fig. 17 schematically shows a recognizing and judging apparatus, in which a network is constructed by connecting a plurality of recognition units according to the present invention in a multi-layered hierarchical structure. The recognition unit as shown in Fig. 8 is used as recognition units n11 - n12 , n21 - n24 , and n31 - n38 constituting a first, a second, and a third layer, respectively. As described previously, a path selecting section 73 comprises a path input section 73a having one path input terminal 73a1, a path output section 73b having two path output terminals 73b1 and 73b2, and a switch 73c. The recognition unit as shown in Fig. 10 is used as recognition units n41 - n43 constituting a fourth layer. In this recognition unit, a path input section 73a comprises an adder 73a0 for adding input signals from the plurality of path input terminals whereas a path output section 73b comprises a threshold processor 73b0 for performing threshold processing with respect to path signals. The recognizing and judging apparatus as shown in Fig. 17 classifies objects to be recognized into three categories based upon three kinds of each two characteristic data. The learning operation of the recognizing and judging apparatus shown in Fig. 17 is as follows. "1" is initially given as a path signal to the path input terminal of each of the recognition units n11 and n12 of the first layer. A series of first characteristic data of an object to be recognized are inputted to the signal input terminal of the quantizer of each of these units. (In this figure, two first characteristic data are inputted to two recognition units, respectively.) These first characteristic data are quantized by the quantizers of the recognition units n11 and n12 . Paths p11 and p12 are then selected by the switch shown in Fig. 8 based on respective values quantized, and a path signal "1" is sent to the path input terminal of each of the recognition units n22 and n23 of the second layer. A series of second characteristic data of the object are inputted to the signal input terminal of each quantizer of these units. (In this figure, two second characteristic data are inputted to two recognition units n22 and n23, respectively.) These second characteristic data are quantized by the quantizers of the recognition units n22 and n23 . Paths p21 and p22 are then selected by the switch shown in Fig. 8 based upon respective values quantized, and a path signal "1" is sent to the path input terminal of each of the recognition units n34 and n36 of the third layer. A teacher signal indicating which of three categories to be classified the object belongs to, namely, a signal indicating which of n41-n43 should be selected is inputted to the signal input terminal of the quantizer of each of these units. (In this figure, the teacher signal is inputted to two recognition units n34 and n36 .) The teacher signal is quantized by the quantizers of the recognition units n34 and n36, and paths p31 and p32 are selected by the switch shown in Fig. 8 based on values quantized. As described above, in the learning process of the recognizing and judging apparatus according to the present invention, various characteristic data of each object to be recognized are inputted to the signal input section of each recognition unit constituting a multi-layered hierarchical network. Connection paths between recognition units are switched according to outputs of the quantizers. In a layer adjacent to the lowermost layer, the teacher signal merely determines the selection of path towards the lowermost layer. Accordingly, the learning processing can be performed at a very high speed. Furthermore, the apparatus according to the present invention is superior in additional learning because, fundamentally, only the addition or alteration of connection paths of recognition units is required to perform the additional learning. The recognition operation by the apparatus according to the present invention is as follows. In the recognition units n11 , n12 , n22 , and n23 , similarly to the learning operation, respective quantizers quantize inputted characteristic data, and connection paths are switched based on values quantized, thereby sequentially selecting the paths p11, p12, p21, and p22. In the recognition operation, no teacher signal is inputted to the signal input terminal of each of the recognition units n34 and n36 . Accordingly, the state of the switches during the learning is kept, and the paths p31 and p32 are selected according to the state of these switches, and a path signal "1" is sent to the path input terminal of the recognition unit n42 of the fourth layer. The adder of the path input section of this unit adds path signals inputted through the paths p31 and p32 to each other. The signal "1" is inputted to the signal input terminal of the signal input section, and the quantizer quantizes this signal so that the path selector may enable the path output. (When a signal "0" is inputted, the path selector switches so that the path output may be disabled.) A path signal obtained through the addition is sent to the path output section, which performs threshold processing with respect thereto and outputs the processing result to the path output terminal. Accordingly, when the signal after the addition is greater than a certain threshold value, the signal is outputted through the path output terminal. In this way, objects to be recognized can be classified into respective appropriate categories for recognition and judgement thereof based on inputted characteristic data thereof. Sigmoid function, Step function or the like can be used as a function for performing the threshold processing. As described above, in the recognizing process of the recognizing and judging apparatus according to the present invention, various characteristic data of each object to be recognized are inputted to the signal input section of each recognition unit constituting a multi-layered hierarchical network. Connection paths between recognition units are switched according to outputs of respective quantizers. In a layer adjacent to the lowermost layer, a recognition result is obtained only by determining the selection path to the lowermost layer based on a connection path set in the learning process. Therefore, recognition processing can be performed at a very high speed based on the learning result. The duplicating operation of the recognition unit shown in Figs. 11 to 16 is discussed hereinafter with reference to Fig. 12. In order to produce a duplicate, it is necessary to prepare unused vacant recognition units not connected with other recognition units. A signal taking a value from 1 to 10 is initially inputted to the signal input terminal 101a of the signal input section 101 of the recognition unit, which originates the duplicate. The range of quantization by the quantizer 102 is set to 1 to 10. The internal state storage means 105 calculates and stores the average, dispersion, and the number of inputs of sequentially inputted data signals whenever a data signal is inputted. When the product of the number of inputs and the dispersion exceeds a certain value, the duplicating means duplicates information of this recognition unit to an unused vacant recognition unit with reference to the range of quantization of the quantizer, the number of quantization, and the number of path input and output terminals of the path selecting section stored in the structure storage means. At the same time, the duplicating means produces a duplicate identical to itself including the connection with other recognition units. In this event, the duplicate is produced so that the original unit and the duplicate shares functions by dividing a necessary range of quantization into 1 to 10, for example, by setting the range of quantization of the quantizer of the original recognition unit to 1 to 5 and the range of quantization of the quantizer of the duplicate to 6 to 10. Fig. 18 schematically shows a learning type recognizing and judging apparatus according to the present invention. A network is constructed by connecting a plurality of recognition units with one another in a multi-layered hierarchical structure. The recognition unit as shown in Fig. 14 is used as recognition units n11 - n12 , n21 - n24 , and n31 - n38 constituting a first, a second, and a third layer, respectively. As described previously, the path selecting section 103 comprises the path input section 103a having one path input terminal 103a1, the path output section 103b having two path output terminals 103b1 and 103b2, and the switch 103c. The recognition unit as shown in Fig. 16 is used as recognition units n41 - n43 constituting a fourth layer, and as described previously, the path input section 103a comprises the adder 103a0 for adding input signals from the plurality of path input terminals whereas the path output section 103b comprises the threshold processor 103b0 for performing threshold processing with respect to path signals. The learning type recognizing and judging apparatus as shown in Fig. 18 classifies objects to be recognized into three categories based upon three kinds of each two characteristic data. The learning operation of the learning type recognizing and judging apparatus shown in Fig. 18 is substantially the same as that of the recognizing and judging apparatus shown in Fig. 17. The operation of duplicating recognition units in the learning type recognizing and judging apparatus shown in Fig. 18 is discussed hereinafter with reference to Fig. 19. When a recognition unit of a certain layer in the first to the fourth layer is duplicated, it is necessary to produce duplicates including all recognition units connected thereto in the lower layer thereof, as shown in Fig. 19. A duplicate detecting section S detects all recognition units which have initiated a duplicate operation, thus issuing instructions so that all recognition units including those connected thereto in the lower thereof may be duplicated. For example, a recognition unit 111 is duplicated together with recognition units 112 and 113 both connected thereto in the lower layer thereof, i.e., a duplicate recognition unit 111a and duplicate recognition units 112a and 113a connected thereto in the lower layer thereof are newly produced. Accordingly, not only the learning of a network is performed in response to input data, but also the structure of the network can be automatically altered, constructed, and self-organized according to input signals so that the network may adapt itself to the input signals. As described above, in the process of producing duplicates in the learning type recognizing and judging apparatus according to the present invention, the internal state of each recognition unit changes according to input data, and the duplicate detecting means initiates the duplicating operation. As a result, a plurality of duplicates of recognition units are produced. Accordingly, the apparatus according to the present invention can readily adapt itself to new data which the apparatus has not learned. Similar to the recognizing and judging apparatus as shown in Fig. 17, the learning type recognizing and judging apparatus shown in Fig. 8 can perform the learning processing at a very high speed. Although the present invention has been fully described by way of examples with reference to the accompanying drawings, it is to be noted here that various changes and modifications will be apparent to those skilled in the art. Therefore, unless such changes and modifications otherwise depart from the scope of the appended claims, they should be construed as being included therein.

Claims: A recognition unit comprising: a signal input section (71), a quantizer (72) for mapping an analog signal inputted from said signal input section (71) to a discrete value, and a path selecting section (73) comprising: a path input section (73a) having a plurality of path input terminals (73a1-73a8) each of which is connected to a path output terminal of another recognition unit, and having an adder (73aO) for adding signals inputted from said plurality of path input terminals (73a1-73a8) to one another, a path output section (73b) having at least one path output terminal (73b1, 73b2) which is connected to a path input terminal of another recognition unit, and having a threshold processor (73bO) for performing threshold processing with respect to a signal outputted from said adder (73a0), and path selector means comprising a switch (73c) for switching the connection between an output of said path input section (73a) and said path output section (73b) according to an output of said quantizer (72). A recognition unit comprising: a signal input section (71), a quantizer (72) for mapping an analog signal inputted from said signal input section (71) to a discrete value, and a path selecting section (73) comprising: - a path input section (73a) having a plurality of path input terminals (73a1-73a8) each of which is connected to a path output terminal of another recognition unit, and having an adder (73a0) for adding signals inputted from said plurality of path input terminals (73a1-73a8) to one another, - a path output section (73b) having at least one path output terminal (73b1, 73b2) which is connected to a path input terminal of another recognition unit, and having a threshold processor (73b0) for performing threshold processing with respect to a signal outputted from said adder (73a0), and path selector means comprising a loader (73d0) for changing a strength of the connection between an output of said path input section (73a) and said path output section (73b) according to said output of said quantizer (72). A recognition unit comprising: a signal input section (101), a quantizer (102) for mapping an analog signal inputted from said signal input section (101) to a discrete value, a path selecting section (103) having at least one path input terminal (103a1, 103a2) which is connected to a path output terminal of another recognition unit, and having at least one path output terminal (103b1, 103b2) which is connected to a path input terminal of another recognition unit, said path selection section (103) being provided with path selector means (103c, 103d) for making a connection between said at least one path input terminal (103a1, 103a2) of said path selecting section (103) and said path output terminal (103b1, 103b2) of said path selecting section (103) according to an output of said quantizer (102), a structure storage means (104) for storing a structure of said recognition unit, an internal state storage means (105) for storing an interval state of said recognition unit, and a duplicating means (106) for duplicating said recognition unit, when a value obtained from said internal state exceeds a predetermined value, according to said internal state of said recognition unit stored in said internal state storage means (105) and according to a quantization range stored in said structure storage means as a part of said structure, said duplicating means producing a duplicate of itself including the connection with other recognition units, so that the original unit and the duplicate unit share functions by dividing a necessary range of quantization. The recognition unit according to claim 3, wherein constants of quantization of said quantizer (102), the number of path input terminals (103a1, 103a2) of said path selecting section (103), and the number of path output terminals (103b1, 103b2) of said path selecting section (108) are stored in said structure storage means (104) as a structure of said recognition unit. The recognition unit according to claim 4, wherein the range of quantization and the number of quantization are stored in said structure storage means (104) as said constants of quantization. The recognition unit according to claim 5, wherein said duplicating means (106) is constructed so that the range of quantization stored in said structure storage means (104) of said recognition unit originating a duplicate is divided into two ranges, one of which is allocated to the range of quantization of said recognition unit, and the other of which is allocated to the range of quantization of a duplicate recognition unit. The recognition unit according to one of the claims 3 to 6, wherein the average and dispersion of input signals and the number of inputs are stored in said internal state storage means (105) as the internal state. A recognizing and judging apparatus comprising: a plurality of recognition units (n11, n12, n21-n24, n31-n38, n41-n43) organized in a multi-layered hierarchical manner, each of said recognition units (n11, n12, n21-n24, n31-n38, n41-n43) comprising: a signal input section (71), a quantizer (72) for performing a quantization according to a signal inputted from said signal input section (71), and a path selecting section (73) having at least one path input terminal (73a1 - 73a8) which is connected to a path output terminal of another recognition unit, and having at least one path output terminal (73b1, 73b2) which is connected to a path input terminal of another recognition unit, said path selecting section (73) being provided with path selector means (103c, 103d) for making a connection between said at least one path input terminal (73a1-73a8) of said path selecting section (73) and said path output terminal (73b1, 73b2) of said path selecting section (73) according to an output of said quantizer (72), wherein a teacher signal is inputted into signal input sections (71) of recognition units of a layer adjacent to an output layer in a multi-layered hierarchical structure. The recognizing and judging apparatus according to claim 8, wherein said path selecting section (73) of each recognition unit (n41-n43) positioned at an output layer in a multi-layered hierarchical structure comprises: a path input section (73a) having a plurality of path input terminals (73a1-73a8) each of which is connected to a path output terminal of another recognition unit (n31-n38), said path input section (73a) comprising an adder (73a0) for adding signals inputted from said plurality of path input terminals (73a1-73a8), a path output section (73b) having said at least one path output terminal (73b1, 73b2) and comprising a threshold processor (73b0) for performing threshold processing with respect to a signal outputted from said adder (73a0), and a switch (73c) for switching the connection between the plurality of path input terminals (73a1-73a8) of said path input section (73a) and said path output terminal (73b1 or 73b2) of said path output section (73b) according to the output of said quantizer (72). The recognizing and judging apparatus according to claim 8, wherein said path selecting section (73) of each recognition unit (n41-n43) positioned at an output layer in a multi-layered hierarchical structure comprises: a path input section (73a) having a plurality of path input terminals (73a1-73a8) each of which is connected to a path output terminal of another recognition unit (n31-n38), said path input section (73a) comprising an adder (73a0) for adding signals inputted from said plurality of path input terminals (73a1-73a8), a path output section (73b) having said at least one path output terminal (73b1,73b2) and comprising a threshold processor (73b0) for performing threshold processing with respect to a signal outputted from said adder (73a0), and a loader (73d0) for changing a strength of the connection between each of the plurality of path input terminals (73a1-73a8) of said path input section (73a) and said path output terminal (73b1, 73b2) of said path output section (73b) acccording to the output of said quantizer (72).

Inventors: MARUNO SUSUMU, MARUNO, SUSUMU
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1991
Main classification: G06K9
IPC codes: G06N3, G06K9