CN110135557B - Neural network topology architecture of image processing system - Google Patents

Neural network topology architecture of image processing system Download PDF

Info

Publication number
CN110135557B
CN110135557B CN201910289676.XA CN201910289676A CN110135557B CN 110135557 B CN110135557 B CN 110135557B CN 201910289676 A CN201910289676 A CN 201910289676A CN 110135557 B CN110135557 B CN 110135557B
Authority
CN
China
Prior art keywords
array
level
neuron
neural network
image processing
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.)
Active
Application number
CN201910289676.XA
Other languages
Chinese (zh)
Other versions
CN110135557A (en
Inventor
赵宇航
温建新
皮常明
沈灵
曾夕
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.)
Shanghai IC R&D Center Co Ltd
Original Assignee
Shanghai IC R&D Center Co Ltd
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 Shanghai IC R&D Center Co Ltd filed Critical Shanghai IC R&D Center Co Ltd
Priority to CN201910289676.XA priority Critical patent/CN110135557B/en
Publication of CN110135557A publication Critical patent/CN110135557A/en
Application granted granted Critical
Publication of CN110135557B publication Critical patent/CN110135557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06N3/045Combinations of networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses an image processing system architecture, which comprises a pixel array, a synaptic array and a multi-stage neuron array group, wherein the 1 st-stage neuron array group only comprises one 1 st-stage neuron array, the last-stage neuron array group only comprises one last-stage neuron array, each intermediate-stage neuron array group comprises at least one neuron array, and at least one intermediate-stage neuron array and at least one non-adjacent-stage neuron array are connected through synapses in the synaptic array. The invention can simulate the neural network topology architecture of the image processing system of the complex neural network.

Description

一种图像处理系统的神经网络拓扑架构A Neural Network Topology Architecture of Image Processing System

技术领域technical field

本发明涉及图像处理技术领域,特别涉及一种图像处理系统的神经网络拓扑架构。The invention relates to the technical field of image processing, in particular to a neural network topology architecture of an image processing system.

背景技术Background technique

随着CMOS集成电路工艺的发展,电子成像产品在日常生活、工业生产中的应用越来越广泛。相应的,图像处理技术能够作为图像自动化处理技术,在智能监控、航空航天、智能驾驶、快速识别、精确捕捉等关键领域起到了重要作用。人工智能算法的发展也加速了图像处理的广泛度。在现如今的应用中,在图像处理系统中,可以利用神经网络作为处理图像的手段。如图1所示,基于神经网络的图像处理系统包括像素阵列和神经网络。像素(PD)阵列的作用是将光信号转化成电信号,并将此电信号转移到神经网络的输入端,作为初始图像电信号。神经网络由多级构成,包括突触阵列和神经元阵列。较佳的,像素阵列,突触阵列和神经元阵列在物理结构上各自占据一层芯片层,像素阵列在上层、突触阵列在中间层、神经元阵列在下层,由此形成3D立体堆叠结构,减小图像处理系统架构的物理空间。With the development of CMOS integrated circuit technology, electronic imaging products are more and more widely used in daily life and industrial production. Correspondingly, image processing technology can be used as an automatic image processing technology, which plays an important role in key fields such as intelligent monitoring, aerospace, intelligent driving, rapid identification, and accurate capture. The development of artificial intelligence algorithms has also accelerated the breadth of image processing. In today's applications, in image processing systems, neural networks can be used as a means of image processing. As shown in Figure 1, the neural network-based image processing system includes a pixel array and a neural network. The role of the pixel (PD) array is to convert the optical signal into an electrical signal, and transfer this electrical signal to the input of the neural network as the initial image electrical signal. A neural network consists of multiple stages, including arrays of synapses and arrays of neurons. Preferably, the pixel array, the synapse array and the neuron array each occupy a chip layer in physical structure, the pixel array is on the upper layer, the synapse array is on the middle layer, and the neuron array is on the lower layer, thus forming a 3D three-dimensional stacked structure , reducing the physical space of the image processing system architecture.

在现有的类脑神经网络结构中,可以就神经网络简单的划分成神经元和突触两个部分,神经元作为信号的处理单元,突触作为信号的传输单元。通常的神经网络制作方法如图2所示,将神经元分为若干级,每一级与前后相邻的神经元之间通过突触连接。这种连接方式是一种最简单的逻辑架构方式,其布局是基于简单的单层堆叠,虽然能够起到模拟神经网络的效果,但是与实际的神经网络还是有所区别。现实中的神经网络往往更加复杂,不能简单的通过神经元相邻级别之间的连接来实现。所以,需要一种更为复杂多样的神经网络拓扑架构,才能够模拟出各种复杂的神经网络。In the existing brain-like neural network structure, the neural network can be simply divided into neurons and synapses. Neurons are used as signal processing units, and synapses are used as signal transmission units. The usual neural network production method is shown in Figure 2. The neurons are divided into several levels, and each level is connected to the adjacent neurons through synapses. This connection method is the simplest logical architecture method, and its layout is based on a simple single-layer stack. Although it can simulate the effect of a neural network, it is still different from the actual neural network. Neural networks in reality are often more complex and cannot be realized simply through connections between adjacent levels of neurons. Therefore, a more complex and diverse neural network topology is needed to simulate various complex neural networks.

发明内容Contents of the invention

本发明的主要目的在于克服现有技术的缺陷,提供一种能够模拟出复杂神经网络的图像处理系统的神经网络拓扑架构。The main purpose of the present invention is to overcome the defects of the prior art, and provide a neural network topology structure capable of simulating a complex neural network image processing system.

为达成上述目的,本发明提供一种图像处理系统的神经网络拓扑架构,包括像素阵列、突触阵列和N级神经元阵列群,其中第1级神经元阵列群仅包括一个第1级神经元阵列,第N级神经元阵列群仅包括一个第N级神经元阵列,第i级神经元阵列群包括至少一个第i级神经元阵列,且至少一个第j级神经元阵列和至少一个第j+k级神经元阵列通过所述突触阵列中的突触相连接,其中N为大于等于4的正整数,i为大于1且小于N的正整数,j为大于等于1且小于N-1的正整数,k为大于等于2且小于N-1的正整数且j+k小于等于N。To achieve the above object, the present invention provides a neural network topology of an image processing system, including a pixel array, a synapse array, and an N-level neuron array group, wherein the first-level neuron array group only includes one first-level neuron array, the Nth-level neuron array group includes only one Nth-level neuron array, the i-level neuron array group includes at least one i-th level neuron array, and at least one j-th level neuron array and at least one j-th level neuron array The +k-level neuron array is connected through synapses in the synapse array, wherein N is a positive integer greater than or equal to 4, i is a positive integer greater than 1 and less than N, and j is greater than or equal to 1 and less than N-1 is a positive integer, k is a positive integer greater than or equal to 2 and less than N-1, and j+k is less than or equal to N.

优选地,第1级神经元阵列至少与一个非第N级的后级的神经元阵列相连。Preferably, the first-level neuron array is connected to at least one non-Nth-level subsequent neuron array.

优选地,每一个第2级神经元阵列通过所述突触阵列中的突触和所述第1级神经元阵列相连接。Preferably, each second-level neuron array is connected to the first-level neuron array through a synapse in the synapse array.

优选地,第N级神经元阵列至少与一个非第1级的前级的神经元阵列相连。Preferably, the neuron array of the Nth level is connected to at least one neuron array of the previous level that is not the first level.

优选地,每一个第N-1级神经元阵列通过所述突触阵列中的突触和所述第N级神经元阵列相连接。Preferably, each N-1th level neuron array is connected to the Nth level neuron array through a synapse in the synapse array.

优选地,第i级神经元阵列群中每一个第i级神经元阵列通过所述突触阵列中的突触与至少一个第l级神经元阵列连接,其中l为大于等于1且小于等于i-1的正整数。Preferably, each i-th level neuron array in the i-level neuron array group is connected to at least one l-th level neuron array through a synapse in the synapse array, where l is greater than or equal to 1 and less than or equal to i A positive integer of -1.

优选地,第i级神经元阵列群中每一个第i级神经元阵列通过所述突触阵列中的突触与至少一个第i-1级神经元阵列连接。Preferably, each i-th level neuron array in the i-th level neuron array group is connected to at least one i-1th level neuron array through a synapse in the synapse array.

优选地,第i级神经元阵列群中每一个第i级神经元阵列通过所述突触阵列中的突触与至少一个第m级神经元阵列连接,m为大于等于i+1且小于等于N的正整数。Preferably, each i-th level neuron array in the i-th level neuron array group is connected to at least one m-th level neuron array through a synapse in the synapse array, m is greater than or equal to i+1 and less than or equal to A positive integer of N.

优选地,所述神经元阵列包括多个神经元,每个所述神经元包括前神经元和后神经元;Preferably, said array of neurons comprises a plurality of neurons, each said neuron comprising a pre-neuron and a post-neuron;

对于通过一所述突触相连的第p级神经元阵列的神经元和第q级神经元阵列的神经元,其中所述第p级神经元阵列的神经元的前神经元接收采样信号,并通过所述突触传输突触电信号给第q级神经元阵列的神经元的后神经元,所述第q级神经元阵列的神经元的后神经元相应输出采样信号给同一神经元的前神经元,其中p为大于等于1且小于N-1的正整数,q为大于p且小于N的正整数。For the neurons of the pth neuron array and the neurons of the qth neuron array connected by a synapse, wherein the pre-neurons of the neurons of the pth neuron array receive sampling signals, and The synaptic electrical signal is transmitted to the rear neuron of the neuron of the qth level neuron array through the synapse, and the rear neuron of the neuron of the qth level neuron array correspondingly outputs a sampling signal to the front of the same neuron A neuron, where p is a positive integer greater than or equal to 1 and less than N-1, and q is a positive integer greater than p and less than N.

相较于现有技术,本发明的整个图像处理系统由于减少了像素阵列和神经网络之间的额外连接,在速度和面积上都有显著优势,图像处理不再经过额外的模拟数字信号间的转化,图像数据可以实时并行处理。此外,由于本发明中神经网络具有拓扑结构,更能够满足实际神经网络的复杂结构,相对于传统算法的固定性,利用具有拓扑结构的神经网络对图像处理的准确性更高。Compared with the prior art, the entire image processing system of the present invention has significant advantages in speed and area due to the reduction of additional connections between the pixel array and the neural network, and the image processing does not go through additional analog and digital signals. Transformation, image data can be processed in parallel in real time. In addition, since the neural network in the present invention has a topological structure, it can better meet the complex structure of the actual neural network. Compared with the fixedness of traditional algorithms, the accuracy of image processing using the neural network with a topological structure is higher.

附图说明Description of drawings

图1所示为现有技术中图像处理系统的基本结构示意图;FIG. 1 is a schematic diagram of the basic structure of an image processing system in the prior art;

图2所示为现有技术图像处理系统的神经网络拓扑架构的示意图;FIG. 2 is a schematic diagram of a neural network topology of an image processing system in the prior art;

图3所示为本发明一实施例的图像处理系统的神经网络拓扑架构的多级结构示意图;FIG. 3 is a schematic diagram of a multi-level structure of a neural network topology of an image processing system according to an embodiment of the present invention;

图4所示为本发明一实施例的图像处理系统的神经网络拓扑架构的示意图;FIG. 4 is a schematic diagram of a neural network topology of an image processing system according to an embodiment of the present invention;

图5所示为本发明一实施例的两级神经元信号传输示意图;FIG. 5 is a schematic diagram of two-stage neuron signal transmission according to an embodiment of the present invention;

图6所示为本发明一实施例的神经网络的单个神经元的内部方块图。FIG. 6 is an internal block diagram of a single neuron of a neural network according to an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明的内容更加清楚易懂,以下结合说明书附图,对本发明的内容作进一步说明。当然本发明并不局限于该具体实施例,本领域内的技术人员所熟知的一般替换也涵盖在本发明的保护范围内。In order to make the content of the present invention clearer and easier to understand, the content of the present invention will be further described below in conjunction with the accompanying drawings. Of course, the present invention is not limited to this specific embodiment, and general replacements known to those skilled in the art are also covered within the protection scope of the present invention.

以下结合附图2-6和具体实施例对本发明作进一步详细说明。需说明的是,附图均采用非常简化的形式、使用非精准的比例,且仅用以方便、清晰地达到辅助说明本实施例的目的。The present invention will be described in further detail below in conjunction with accompanying drawings 2-6 and specific embodiments. It should be noted that the drawings are all in a very simplified form, using imprecise scales, and are only used to facilitate and clearly achieve the purpose of assisting in describing the present embodiment.

本发明的图像处理系统的神经网络拓扑架构包括像素阵列、突触阵列和神经元阵列群。像素阵列的作用是将光信号转化成图像信号,并将此图像信号转移到神经元阵列群。神经元阵列群为多级构成,神经元阵列群之间采用多种拓扑连接架构。每一级神经元阵列群包括至少一个神经元阵列。突触阵列连接两个不同级别的神经元阵列。每个神经元阵列由多个神经元电路构成,每个神经元电路的作用是处理接收到图像信号并输出相应的处理以及反馈信号。突触阵列由多个突触构成,每个突触是一个两端结构,连接两个神经元,突触的作用是将图像信号从一个神经元传递到另一个神经元,也同时负责相应反馈信号的传输。The neural network topology of the image processing system of the present invention includes a pixel array, a synapse array and a group of neuron arrays. The function of the pixel array is to convert the light signal into an image signal, and transfer the image signal to the neuron array group. The neuron array group is composed of multiple levels, and multiple topological connection structures are used between the neuron array groups. Each level of neuron array group includes at least one neuron array. The synapse array connects two arrays of neurons at different levels. Each neuron array is composed of multiple neuron circuits, and each neuron circuit is used to process received image signals and output corresponding processing and feedback signals. The synaptic array is composed of multiple synapses, and each synapse is a two-terminal structure that connects two neurons. The function of the synapse is to transmit the image signal from one neuron to another neuron, and is also responsible for the corresponding feedback. transmission of signals.

请参阅图3,神经网络是分级的,存在多级架构,第一级神经元阵列群和最后一级(第N级)神经元阵列群都只含有一个神经元阵列A1和An,其余处于中间级的神经元阵列群可以包含一个或者多个神经元阵列,每一级的多个神经元阵列构成该级的神经元阵列群。需要注意的是,本发明中并非相邻的两级神经元阵列群中的各个神经元阵列必须存在对应连接的关系,换言之,至少存在一个某一级的神经元阵列能够跨多级与其它级(非上一级或下一级)的神经元阵列连接,但本发明中第1级和最后一级的神经元阵列不能直接跨级连接。此外,当相邻两级神经元阵列群连接时,也不限定每一个当前级神经元阵列必须与相邻级的每一个神经元阵列相连。需要说明的是,本发明中对于神经元阵列的级数的定义为,如果这个神经元阵列位于第i级,那么这个第i级的神经元阵列至一个第1级神经元阵列之间的最长连接链路上存在i个不同级的神经元阵列。Please refer to Figure 3. The neural network is hierarchical, and there is a multi-level structure. Both the first-level neuron array group and the last-level (Nth level) neuron array group contain only one neuron array A 1 and A n , and the rest The neuron array group at an intermediate level may contain one or more neuron arrays, and multiple neuron arrays at each level constitute the neuron array group at that level. It should be noted that in the present invention, it is not necessary for each neuron array in the adjacent two-level neuron array group to have a corresponding connection relationship. In other words, there is at least one neuron array of a certain level that can communicate with other levels across multiple levels. (not the upper or lower level) neuron arrays are connected, but in the present invention, the neuron arrays of the first level and the last level cannot be directly connected across levels. In addition, when the neuron array groups of two adjacent levels are connected, it is not limited that each neuron array of the current level must be connected with each neuron array of the adjacent level. It should be noted that the definition of the number of neuron arrays in the present invention is that if the neuron array is located at the i-th level, then the maximum number of neuron arrays between the i-th level neuron array and the first-level neuron array There are i different levels of neuron arrays on the long connection link.

接下来对神经网络架构作进一步说明。本实施中,第一级神经元阵列至少与后面级别(非最后一级)中的一个神经元阵列存在连接关系。优选的,位于第二级的每一个神经元阵列A21-A2k2,必须与第一级神经元阵列A1存在连接关系。Next, the neural network architecture is further explained. In this implementation, the first-level neuron array is connected to at least one neuron array in the subsequent level (not the last level). Preferably, each neuron array A 21 -A 2k2 at the second level must be connected to the first level neuron array A 1 .

最后一级神经元阵列,至少与前面级别(非第1级)中的一个神经元阵列存在连接关系。优选的,位于倒数第二级的每一个神经元阵列A(n-1)1-A(n-1)kn-1,必须与最后一级神经元阵列An存在连接关系。The last level of neuron arrays is connected to at least one neuron array in the previous level (not level 1). Preferably, each neuron array A (n-1)1 -A (n-1)kn-1 at the penultimate level must be connected to the neuron array A n at the last level.

中间级神经元阵列,至少分别与前面级别的一个神经元阵列和后面级别的一个神经元阵列存在连接关系。特别的,与前面级别神经元阵列的连接关系中,每一个当前级的神经元阵列与至少一个其前面级别的神经元阵列的连接。特别的,每个当前级的神经元阵列与至少一个其前一级的神经元阵列连接。例如,假设一个中间级神经元阵列位于第五级,那么往前面级别的连接中,每一个第五级神经元阵列与第四级的任一个或多个神经元阵列连接,同时第五级神经元阵列也可以在第一级至第三级的任意神经元阵列中选择进行连接。而对于往后面级别的连接,每个神经元阵列与至少一个其后面级别的神经元阵列连接。例如第五级神经元阵列可以在第六级至最后一级的任意至少一个神经元阵列中选择连接。当然,同级神经元阵列之间不具有连接关系。The neuron array at the intermediate level is at least respectively connected to one neuron array at the front level and one neuron array at the next level. In particular, in the connection relationship with the neuron array of the previous level, each neuron array of the current level is connected with at least one neuron array of the previous level. In particular, each neuron array of the current level is connected to at least one neuron array of the previous level. For example, assuming that an intermediate neuron array is located at the fifth level, then in the connection to the previous level, each fifth-level neuron array is connected to any one or more neuron arrays of the fourth level, and the fifth-level neuron array The neuron array can also be selected for connection in any neuron array from the first level to the third level. For the connection to the next level, each neuron array is connected to at least one neuron array at the next level. For example, the neuron array at the fifth level may be selectively connected to at least one neuron array at any of the sixth level to the last level. Of course, there is no connection relationship between neuron arrays at the same level.

请参见图4,其所示为本发明一实施例的图像处理系统的神经网络拓扑架构,本实施例中一共有五级神经元阵列。Please refer to FIG. 4 , which shows a neural network topology of an image processing system according to an embodiment of the present invention. There are five levels of neuron arrays in this embodiment.

第一级和第五级都只有一个神经元阵列。中间的第二、三、四级有m,n,k个神经元阵列。Both the first and fifth levels have only one neuron array. The second, third, and fourth levels in the middle have m, n, k neuron arrays.

第一级神经元阵列A1分别与第二级的神经元阵列A21、A22至A2m连接,符合位于第二级的每一个神经元阵列,必须与第一级神经元阵列存在连接关系的拓扑架构规则。The first-level neuron array A 1 is respectively connected to the second-level neuron arrays A 21 , A 22 to A 2m , which means that each neuron array located in the second level must have a connection relationship with the first-level neuron array topology rules.

第五级阵列A5分别与第四级的A41、A42至A4k连接,符合位于倒数第二级的每一个神经元阵列,必须与最后一级神经元阵列存在连接关系的拓扑架构规则。The fifth-level array A 5 is respectively connected to the fourth-level A 41 , A 42 to A 4k , which conforms to the topological structure rule that every neuron array in the penultimate level must have a connection relationship with the last-level neuron array .

第二级至第四级的神经元阵列,保证每一个阵列与至少一个上一级神经元阵列的连接,也保证存在与后面级别神经元阵列的至少一个连接,符合至少分别与前面级别和后面级别的一个神经元阵列存在连接关系的规则,也符合与前面级别神经元阵列的连接关系中至少需要有一个与前一级神经元阵列的连接这条规则。The neuron arrays of the second level to the fourth level ensure that each array is connected to at least one neuron array of the previous level, and also guarantees that there is at least one connection with the neuron array of the back level, which meets at least the previous level and the back level respectively. The rule that a neuron array at the first level has a connection relationship also conforms to the rule that at least one connection with the neuron array at the previous level needs to be connected to the neuron array at the previous level.

可以看到,A22并没有与第三级的每一个神经元阵列有连接关系,A2m直接跳过第三级,只与第四级神经元阵列有连接关系。It can be seen that A 22 does not have a connection relationship with every neuron array in the third level, and A 2m directly skips the third level and only has a connection relationship with the neuron array in the fourth level.

对于相连的两级神经元阵列,最基本的连接关系是神经元阵列-突触阵列-神经元阵列。当分别位于两个级别的两个神经元阵列需要有连接关系时,神经元阵列之间需要存在一个突触阵列,该突触阵列中的每一个突触分别将两个神经元阵列中的两个神经元建立起一个连接关系。如图5所示,每个神经元包括一个前神经元和一个后神经元。在神经网络的任意相连的两级中,其中一级的任一个前神经元和另一级的任一个后神经元通过突触连接。神经元由标准CMOS工艺制造的元器件构成,可模拟神经元的传输、分析能力。突触由电学参数随外界电信号变化的非易失性存储器件构成。图6为任意两级神经元信号传输的示意图。对于任意两级神经元阵列来说,划分为前级神经元阵列和后级神经元阵列,其中前级的前神经元接收采样信号,并传输突触电信号给相连的突触;后级的后神经元收集相连的突触传递的突触信号,并输出电信号(即采样信号)给同一神经元中的前神经元。例外情况是,第1级神经元阵列中神经元的后神经元不参与工作,前神经元的采样信号由像素阵列直接提供,最后级神经元阵列中神经元的前神经元不参与工作,后神经元输出信号直接作为图像处理的最终输出信号。For connected two-level neuron arrays, the most basic connection relationship is neuron array-synapse array-neuron array. When two neuron arrays located at two levels respectively need to have a connection relationship, there needs to be a synapse array between the neuron arrays, and each synapse in the synapse array connects two of the two neuron arrays respectively. Neurons establish a connection relationship. As shown in Figure 5, each neuron includes a pre-neuron and a post-neuron. In any two connected stages of the neural network, any pre-neuron of one stage is connected with any post-neuron of the other stage through synapses. Neurons are composed of components manufactured by standard CMOS technology, which can simulate the transmission and analysis capabilities of neurons. Synapses are composed of non-volatile memory devices whose electrical parameters change with external electrical signals. Fig. 6 is a schematic diagram of any two-level neuron signal transmission. For any two-level neuron array, it is divided into a front-level neuron array and a rear-level neuron array, where the front-level neuron receives the sampling signal and transmits synaptic electrical signals to the connected synapses; Post-neurons collect synaptic signals transmitted by connected synapses, and output electrical signals (ie, sampled signals) to pre-neurons in the same neuron. The exception is that the rear neurons of the neurons in the first-level neuron array do not participate in the work, and the sampling signals of the front neurons are directly provided by the pixel array, and the front neurons of the neurons in the last-level neuron array do not participate in the work, and the rear neurons do not participate in the work. The neuron output signal is directly used as the final output signal of image processing.

需要注意的是,本发明的图像处理系统可进行训练。训练是图像处理系统产生图像处理能力的关键步骤,其在训练完成后具备图像处理能力,可以正常使用。图像处理系统可以经过多次训练,也可以对系统进行重置,然后再次训练。本发明中,神经元阵列在训练期间改变突触的突触权重。对于相连的两级神经元,假设前级的一个前神经元通过突触对应连接后级的一个后神经元,那么后级的该后神经元根据其接收的突触电信号判断是否更新突触权重,并在判断更新突触权重时输出反馈信号通过突触反馈至该前级的前神经元,并与该前神经元共同改变突触的突触权重。It should be noted that the image processing system of the present invention can be trained. Training is a key step for the image processing system to generate image processing capabilities. After the training is completed, it has image processing capabilities and can be used normally. Image processing systems can be trained multiple times, or the system can be reset and trained again. In the present invention, the neuron array changes the synaptic weights of the synapses during training. For two connected neurons, assuming that a pre-neuron of the previous stage is connected to a post-neuron of the post-stage through a synapse, the post-neuron of the post-stage judges whether to update the synapse according to the synaptic electrical signal it receives weight, and when judging to update the synapse weight, the output feedback signal is fed back to the pre-neuron of the previous stage through the synapse, and jointly changes the synaptic weight of the synapse with the pre-neuron.

每个神经元从外界获取的信号包括突触电信号和反馈信号,传输给外界的信号也包括突触电信号和反馈信号。请参见图5和图6,每个前神经元包括采样模块、反馈处理模块和第一输出控制模块;采样模块用于接收采样信号,反馈处理模块用于接收反馈信号;第一输出控制模块用于负责协调信号的传输,使信号在合理的时序下工作,最终输出突触电信号。每个后神经元包括判决模块、反馈输出模块和第二输出控制模块,判决模块用于接收突出电信号并判断是否更新突触权重,反馈输出模块用于产生反馈信号,第二输出控制模块用于负责协调信号的传输,使信号在合理的时序下工作,最终输出采样信号给同一神经元的前神经元和输出反馈信号给前级的前神经元。The signals that each neuron obtains from the outside world include synaptic electrical signals and feedback signals, and the signals transmitted to the outside world also include synaptic electrical signals and feedback signals. Please refer to Fig. 5 and Fig. 6, each pre-neuron comprises a sampling module, a feedback processing module and a first output control module; the sampling module is used to receive a sampling signal, and the feedback processing module is used to receive a feedback signal; the first output control module uses Yu is responsible for coordinating the transmission of signals, making the signals work in a reasonable sequence, and finally outputting synaptic electrical signals. Each post-neuron includes a judgment module, a feedback output module and a second output control module, the judgment module is used to receive the outstanding electrical signal and judge whether to update the synaptic weight, the feedback output module is used to generate the feedback signal, and the second output control module is used to It is responsible for coordinating the transmission of signals, making the signals work in a reasonable timing, and finally outputting sampling signals to the pre-neurons of the same neuron and outputting feedback signals to the pre-neurons of the previous stage.

本实施例中,突触电学结构上是一个两端器件,在电学特性上是一种可以通过外界电信号来改变阻值的阻变器件。通常可以采用具备多值电阻变化能力的新型非易失存储器,如阻变式存储器RRAM、PCRAM等,或者也可以由多个并联结构的具备单值阻变能力的新型非易失存储器,如MRAM、FeRAM、RRAM、PCRAM等,来实现。不失一般性的,也可以采用面积较小的具备此类性质的其他电学器件来实现突触。突触权重与突触的阻值相关,即突触阻值的变化对应权重的改变。阻值变小,权重变大;阻值变大,权重变小。并且,只有在加在其两端的电信号超过一定阈值才能发生阻值的变化,即权重改变。在本实施例中,相连的两级中其中一级的神经元阵列中的一个前神经元和另一级神经元阵列中的一个后神经元控制外界电信号来改变连接这两者的突触的阻值,从而达到权重的改变。In this embodiment, the electrical structure of the synapse is a two-terminal device, and its electrical characteristics are a resistive variable device whose resistance value can be changed by an external electrical signal. Usually, a new type of non-volatile memory with multi-value resistance change capability can be used, such as resistive memory RRAM, PCRAM, etc., or a new type of non-volatile memory with single-value resistance change capability in parallel structure, such as MRAM , FeRAM, RRAM, PCRAM, etc., to achieve. Without loss of generality, other electrical devices having such properties with a smaller area can also be used to realize the synapse. The synaptic weight is related to the resistance of the synapse, that is, the change of the synaptic resistance corresponds to the change of the weight. The smaller the resistance value, the larger the weight; the larger the resistance value, the smaller the weight. Moreover, only when the electrical signal applied to both ends exceeds a certain threshold can the resistance value change, that is, the weight change. In this embodiment, a pre-neuron in the neuron array of one level and a post-neuron in the neuron array of the other level control the external electrical signal to change the synapse connecting the two levels. The resistance value, so as to achieve the change of weight.

综上所述,本发明的整个图像处理系统由于减少了像素阵列和神经网络之间的额外连接,在速度和面积上都有显著优势,图像处理不再经过额外的模拟数字信号间的转化,图像数据可以实时并行处理。此外,由于本发明中神经网络具有拓扑结构,更能够满足实际神经网络的复杂结构,相对于传统算法的固定性,利用具有拓扑结构的神经网络对图像处理的准确性更高。且由于该神经网络具有多级神经元结构,每一次训练,可以通过合理的信号触发机制更新各个神经元之间的连接权重。经过多次训练,最终可以将神经网络训练成具有特定图像处理能力的系统。In summary, the entire image processing system of the present invention has significant advantages in speed and area due to the reduction of additional connections between the pixel array and the neural network, and the image processing no longer undergoes additional conversion between analog and digital signals. Image data can be processed in parallel in real time. In addition, since the neural network in the present invention has a topological structure, it can better meet the complex structure of the actual neural network. Compared with the fixedness of traditional algorithms, the accuracy of image processing using the neural network with a topological structure is higher. And because the neural network has a multi-level neuron structure, each training can update the connection weights between each neuron through a reasonable signal trigger mechanism. After many times of training, the neural network can finally be trained into a system with specific image processing capabilities.

虽然本发明已以较佳实施例揭示如上,然所述诸多实施例仅为了便于说明而举例而已,并非用以限定本发明,本领域的技术人员在不脱离本发明精神和范围的前提下可作若干的更动与润饰,本发明所主张的保护范围应以权利要求书所述为准。Although the present invention has been disclosed above with preferred embodiments, the various embodiments described are only examples for convenience of description, and are not intended to limit the present invention. Those skilled in the art can Some changes and modifications are made, and the scope of protection claimed by the present invention should be based on the claims.

Claims (9)

1. A neural network topology architecture of an image processing system, comprising a pixel array, a synaptic array, and an N-level neuronal array group, wherein the 1-level neuronal array group comprises only one 1-level neuronal array, the N-level neuronal array group comprises only one N-level neuronal array, the i-level neuronal array group comprises at least one i-level neuronal array, and the at least one j-level neuronal array and the at least one j+k-level neuronal array are connected by synapses in the synaptic array, wherein N is a positive integer greater than or equal to 4, i is a positive integer greater than 1 and less than N, j is a positive integer greater than or equal to 1 and less than N-1, k is a positive integer greater than or equal to 2 and less than N-1, and j+k is less than or equal to N.
2. The neural network topology of an image processing system of claim 1, wherein a level 1 array of neurons is connected to at least one non-N-th level of a subsequent array of neurons.
3. The neural network topology of an image processing system of claim 2, wherein each level 2 neuron array is connected to the level 1 neuron array by a synapse in the synapse array.
4. The neural network topology of an image processing system of claim 1, wherein the N-th level of neuron array is connected to at least one non-level 1 preceding level of neuron array.
5. The neural network topology of an image processing system of claim 4, wherein each of said N-1 th level of neuron arrays is connected by a synapse of said synapse array and said N-th level of neuron array.
6. The neural network topology of an image processing system of claim 1, wherein each of a group of i-th level of neuron arrays is connected to at least one of the i-th level of neuron arrays by a synapse in the synaptic array, where l is a positive integer greater than or equal to 1 and less than or equal to i-1.
7. The neural network topology of an image processing system of claim 6, wherein each of a group of i-th level neuron arrays is connected to at least one i-1-th level neuron array by a synapse in said synapse array.
8. The neural network topology of an image processing system of claim 6, wherein each of a group of i-th-level neuron arrays is connected to at least one m-th-level neuron array by a synapse in said synapse array, m being a positive integer greater than or equal to i+1 and less than or equal to N.
9. The neural network topology of an image processing system of claim 1, wherein said array of neurons comprises a plurality of neurons, each of said neurons comprising a pre-neuron and a post-neuron;
for the neurons of the p-th level neuron array and the neurons of the q-th level neuron array which are connected through a synapse, wherein the front neurons of the p-th level neuron array receive sampling signals and transmit the synaptic electric shock signals to the rear neurons of the q-th level neuron array through the synapse, the rear neurons of the q-th level neuron array correspondingly output the sampling signals to the front neurons of the same neurons, wherein p is a positive integer which is greater than or equal to 1 and less than N-1, and q is a positive integer which is greater than p and less than N.
CN201910289676.XA 2019-04-11 2019-04-11 Neural network topology architecture of image processing system Active CN110135557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910289676.XA CN110135557B (en) 2019-04-11 2019-04-11 Neural network topology architecture of image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910289676.XA CN110135557B (en) 2019-04-11 2019-04-11 Neural network topology architecture of image processing system

Publications (2)

Publication Number Publication Date
CN110135557A CN110135557A (en) 2019-08-16
CN110135557B true CN110135557B (en) 2023-06-02

Family

ID=67569605

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910289676.XA Active CN110135557B (en) 2019-04-11 2019-04-11 Neural network topology architecture of image processing system

Country Status (1)

Country Link
CN (1) CN110135557B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9218564B2 (en) * 2012-07-30 2015-12-22 International Business Machines Corporation Providing transposable access to a synapse array using a recursive array layout
CN105122278B (en) * 2013-03-15 2017-03-22 Hrl实验室有限责任公司 Neural network and method of programming
JP7041078B2 (en) * 2016-06-09 2022-03-23 プログレス インコーポレイテッド Neural networks, and neural network training methods

Also Published As

Publication number Publication date
CN110135557A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
US11531871B2 (en) Stacked neuromorphic devices and neuromorphic computing systems
KR102788329B1 (en) Improved spiking neural network
JP7228320B2 (en) Neuromorphic chip, neuromorphic system, method and computer program for updating synaptic weights in neuromorphic chip
JP5963315B2 (en) Methods, devices, and circuits for neuromorphic / synaptronic spiking neural networks with synaptic weights learned using simulation
CN103455843B (en) A kind of feedback-type artificial neural network training method and computing system
Reid et al. Rapid training of higher-order neural networks for invariant pattern recognition
WO2012015450A1 (en) Systems and methods for modeling binary synapses
CN109165730B (en) A State Quantization Network Implementation Method in Cross-Array Neuromorphic Hardware
JPWO2020092691A5 (en)
CN106462798A (en) Methods, systems and computer program products for neuromorphic graph compression using associative memories
CN110348570A (en) A kind of neural network associative memory method based on memristor
CN114241245B (en) Image classification system based on residual capsule neural network
US20220138546A1 (en) Expandable neuromorphic circuit
CN111076770A (en) A Multimodal Smart Sensor Combining Sensing Elements and Memristors
CN109034379A (en) A kind of neuron and neuron circuit built by class brain device memristor
KR0170505B1 (en) Learning method of multi-layer perceptrons with n-bit data precision
CN110111234B (en) An image processing system architecture based on neural network
CN110135557B (en) Neural network topology architecture of image processing system
Skorpil et al. Back-propagation and k-means algorithms comparison
CN115206455A (en) Deep neural network-based rare earth element component content prediction method and system
US11106971B2 (en) Neuromorphic device and a synapse network including a post-synaptic neuron having a subtracting circuit
CN112734022A (en) Four-character memristor neural network circuit with recognition and sorting functions
KR101510991B1 (en) Neuromorphic Pattern Classifier of using Resistance Changing Memory and Method of Classifying the Pattern
CN116523011B (en) Memristor-based binary neural network layer circuit and binary neural network training method
KR940004425A (en) Self-learning multilayer neural network and learning method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant