Incomplete image sample repairing method based on pulse neural network information storage model
By using an information storage model based on spiking neural networks, the problem of insufficient fine-grained classification and dynamic visual scene recognition capabilities in image recognition technology in complex scenarios is solved, achieving efficient image restoration and storage, and improving the accuracy and efficiency of image processing.
Patent Information
- Application Number
- CN202311782791.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-22
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-12-22
AI Technical Summary
Existing image recognition technologies have limited capabilities in fine-grained classification and diverse target recognition in complex scenes, and traditional storage methods cannot efficiently process and protect massive amounts of image data. In particular, they may overfit or fail to achieve ideal generalization results when training data is insufficient. At the same time, the dynamic requirements of real-world visual scenes are not met.
An information storage model based on spiking neural networks is adopted. Incomplete image data is processed through time encoding and mapping decoding. The biological interpretability and temporal information processing capabilities of spiking neural networks are utilized, and image restoration is performed by combining Gaussian distribution modeling, which reduces the amount of computation and improves interpretability.
It achieves more accurate semantic recognition and restoration on incomplete image datasets, improves the rationality and efficiency of image processing, adapts to the needs of dynamic visual scenes, reduces computational load, and improves the interpretability of the model.
Smart Images

Figure CN117911283B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of artificial intelligence and image processing, storage, repair and generation technology, and specifically relates to a method for repairing incomplete image samples based on a spiking neural network information storage model. Background Technology
[0002] In today's digital age, image information storage and processing play a crucial role in the field of artificial intelligence and computer vision. With the continuous emergence of various types of image data, the efficient identification, storage, generation, and optimization of information have become core requirements in multiple application areas. These technologies are not only widely used in consumer applications such as social media and smartphones, but also have a profound impact on fields such as healthcare, transportation, and agriculture, including intelligent recognition, smart healthcare / education, autonomous driving, and intelligent decision-making. The successful storage, processing, and restoration of image data information is vital for promoting technological innovation and social progress.
[0003] Currently, image-related technologies have made significant progress in some fundamental fields. Traditional machine learning methods may perform well in some image-related tasks; however, with the rise of deep learning, methods such as convolutional neural networks have driven a leap in image processing performance. Deep learning models, trained on large-scale image data, can automatically learn features from the data and have achieved outstanding results in tasks such as image recognition, restoration, and generation.
[0004] Nevertheless, image recognition technology still faces a series of challenges. First, existing models often have limitations when dealing with fine-grained classification and diverse targets in complex scenes. Second, for tasks with insufficient training data, models may overfit or fail to achieve ideal generalization results. Furthermore, real-world visual scenes are often dynamic, containing temporal and spatial variations, requiring image inpainting and generation technologies to possess stronger temporal and dynamic pattern recognition capabilities.
[0005] Another challenge is the storage and processing of massive amounts of image data. With the widespread adoption of smart devices, multimedia data such as images and videos has exploded, and traditional storage and processing methods can no longer meet the demand. At the same time, protecting user privacy and data security has become crucial. How to efficiently store, analyze, and process massive amounts of image data is a significant challenge currently facing information storage technology. Summary of the Invention
[0006] In order to overcome the shortcomings of the prior art, the present invention aims to provide a method for repairing incomplete image samples based on a spiking neural network information storage model. The method aims to introduce spiking neural networks into tasks such as information storage, processing, repair and generation, so as to solve the limitations of traditional methods in the repair of incomplete images.
[0007] To achieve the above objectives, the technical solution adopted by the present invention is as follows:
[0008] A method for restoring incomplete image samples based on a spiking neural network information storage model includes the following steps:
[0009] Step 1: Preprocessing of incomplete sample image data, including: performing time encoding on the value corresponding to each pixel of the incomplete sample image data to obtain a time series represented by a matrix used to encode image information, and recording the value corresponding to each pixel of the incomplete sample image data;
[0010] Step 2: Encoded information mapping and decoding, including: using the time series as a pulse signal input to the spiking neural network, learning to generate the encoded information of each pixel in the memory generation module of the information storage model, mapping and decoding the information of the matrix in three equivalent paths, generating a new information tensor representation according to the corresponding network rules, learning to generate the corresponding neuron activation state in the memory generation module, and completing the training of the spiking neural network;
[0011] Step 3: Extraction of key modeling parameters, including: obtaining the tensor representations of the three key modeling parameters π, μ and σ required for modeling the mixture Gaussian distribution based on the neuron membrane potential state in the spiking neural network;
[0012] Step 4: Image restoration generation, including: inputting the incomplete sample image data into the trained spiking neural network, modeling the corresponding value of each pixel using a Gaussian mixture distribution, and generating the target restored image through probability sampling using a Gaussian distribution.
[0013] Compared with existing technologies, this invention fully utilizes the biological interpretability, temporal information processing capabilities, and efficient computational characteristics of spiking neural networks. This effectively reduces the computational load of neural networks, improves rationality and interpretability, and enables more accurate semantic identification on incomplete sample image datasets. Furthermore, it allows for better modeling to complete the task of incomplete sample repair.
[0014] This invention will give new dimensions to tasks such as information storage, processing, repair, and generation, and further promote innovation and development in this field. Attached Figure Description
[0015] Figure 1 This is a flowchart of the overall process for a method to repair incomplete image samples based on a spiking neural network information storage model proposed in this invention.
[0016] Figure 2 This is a flowchart illustrating the training and learning process of the target membrane potential using the spiking neural network information storage memory module proposed in this invention.
[0017] Figure 3This is a flowchart of the TF-TPA algorithm for asymptotically advancing target membrane potential at fixed time points.
[0018] Figure 4 This is the flowchart of the TS-TPA algorithm for asymptotically approximating the target membrane potential through pulse dynamic time shifting.
[0019] Figure 5 This is a schematic diagram of the TF-TPA algorithm for asymptotically increasing target membrane potential at fixed time points.
[0020] Figure 6 This is a flowchart illustrating the specific process of the TF-TPA algorithm for asymptotically advancing target membrane potential at fixed time points.
[0021] Figure 7 This is a schematic diagram of the TS-TPA algorithm for asymptotically approximating the target membrane potential through pulse dynamic time shifting.
[0022] Figure 8 This is a flowchart describing the specific process of the TS-TPA algorithm for asymptotically approximating the target membrane potential through pulse dynamic time shifting.
[0023] Figure 9 This is a schematic diagram of test results for different datasets in an embodiment of the present invention.
[0024] Figure 10 This is a detailed flowchart of a method for repairing incomplete image samples based on a spiking neural network information storage model proposed in this invention. Detailed Implementation
[0025] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings and examples.
[0026] like Figure 1 As shown, this invention provides a method for repairing incomplete image samples based on a spiking neural network information storage model, comprising the following steps:
[0027] Step 1: Preprocessing of incomplete sample image data, including: performing time encoding on the value corresponding to each pixel of the incomplete sample image data to obtain a time series represented by a matrix used to encode image information, and recording the value corresponding to each pixel of the incomplete sample image data.
[0028] In this embodiment of the invention, the image datasets used are an 8×8 handwritten digit dataset, a USPS 16×16 handwritten digit dataset, and an MNIST 28×28 handwritten digit dataset. Specifically, these are the 8×8 handwritten digit dataset, the USPS 16×16 handwritten digit dataset, and the MNIST 28×28 handwritten digit dataset included in the Python package sklearn. The 8×8 dataset comes from the National Institute of Standards and Technology (NIST), where the training set images are from the handwriting of 30 different people, and the test set images are from the handwriting of 13 different people. NIST provides a preprocessing program to extract the bitmaps of these handwritings (converting them to 8×8). This dataset contains a total of 1797 sample images and does not have a segmentation between the training and test sets, requiring manual segmentation. The 16×16 dataset comes from handwritten zip codes on United States Postal Service (USPS) envelopes. The training set has 7291 samples, and the test set has 2007 samples. In the 28×28 MNIST handwritten digit set, the training set has 60000 samples, and the test set has 10000 samples.
[0029] The preprocessing process for incomplete sample image data is as follows:
[0030] Step 1.1: Decompose the incomplete sample image data into individual pixels according to their corresponding pixel structure. For example, for image data with a total of n×n pixels, decompose it into n 2 For example, in the form of 1×1 unit pixels, all incomplete sample image data of the three image datasets mentioned above, namely the 8×8 handwritten digit dataset, the USPS 16×16 handwritten digit dataset, and the MNIST 28×28 handwritten digit dataset, are read respectively, and the images contained in each specific handwritten digit dataset are decomposed into 64, 256, and 784 corresponding pixel units according to their size.
[0031] In this step, the smallest processing unit for subsequent input of incomplete sample image information data is determined, ensuring the consistency and coherence of the entire method.
[0032] Step 1.2: For the value of each pixel in all the incomplete sample image data contained in the dataset, perform time encoding that meets the requirements of the LIF neuron input to the information storage model. The information form of this time encoding conforms to the information storage model and has a strict correspondence with the specific scale of Step 1.1. The values are arranged in chronological order to form a time series, which is the time series represented by the matrix.
[0033] In this step, the image information contained in the corresponding handwritten digit dataset can be converted into pulses, and the time series represented by the matrix can be used as the input pulse signal of the spiking neural network, thereby completing the introduction of the incomplete sample image dataset into the spiking neural network.
[0034] Step 1.3: Record and save the value corresponding to each pixel of the incomplete sample image data.
[0035] Step 2: Encoded information mapping and decoding, including: inputting the pulse signal obtained in Step 1 into the spiking neural network, learning to generate the encoded information of each pixel in the memory generation module of the information storage model, mapping and decoding the matrix information representing image information in three equivalent paths, and generating a new information tensor representation of the matrix information according to the corresponding network rules, learning to generate the corresponding neuron activation state in the memory generation module, and completing the training of the spiking neural network.
[0036] In some embodiments of the present invention, such as Figure 2 As shown, in step 2, the obtained pulse signal is input into the neural network, and the memory generation module of the information storage model learns to generate the encoded information of each pixel.
[0037] The spiking neural network generally consists of three layers: an input layer, a hidden layer, and an output layer. Each layer comprises several LIF neuron models. The input layer and the hidden layer constitute the memory generation module. The input layer introduces the preprocessed incomplete sample image data from step 1 into the spiking neural network. The corresponding time-series encoding causes the corresponding input neurons to generate pulses, which are then passed to the hidden layer for further processing. The hidden layer processes and transforms the information from the input layer. The output layer has the same number of neurons as the hidden layer.
[0038] In the memory generation module of this invention, the input layer and the hidden layer are connected using a fully connected method, and the mapping is completed first through three equivalent paths. The mapping method of this invention constructs three equivalent paths, which is equivalent to performing a three-way mapping on the information of the input layer in the same way in parallel to reach the corresponding hidden layer.
[0039] The fully connected connection method of this invention, for each mapping path, n i Each input layer neuron satisfies the condition that it is connected to all n neurons in the hidden layer. h On n neurons, where n i With n h These represent the number of neurons in the input layer and the number of neurons in the hidden layer, respectively. In other words, all neuron elements contained in the two sets corresponding to the input layer neurons and the hidden layer neurons must have pairwise connections between the sets.
[0040] The relationship between the number of neurons in the input layer and the hidden layer satisfies Equation 1, where K is the third dimension component of the new information tensor representation generated by the matrix encoding information decoding in step 2 according to the corresponding mapping relationship.
[0041] n i ·K=n h (Equation 1)
[0042] In some embodiments of the present invention, the network training process in this step is as follows:
[0043] Step 2.1: Initialization, setting network training parameters. In this example, the number of Gaussian components K in the Gaussian mixture model is set to 2, the number of training iterations Epochs is set to 100, and the mean μ of the initial weight distribution from the input layer to the output layer is set to... init =0.5, the standard deviation σ of the initial weight distribution from the input layer to the output layer. init =1, the initial membrane time constant τ of the output layer neurons init =110.0, gradient learning step size (target membrane potential learning rate) η v =0.1, initial learning rate η of weights w =1, membrane time constant, initial learning rate η tau =1, learning rate decay rate ξ η =0.5, the attenuation rate ξ of the weights corresponding to the detected pulse in the output layer. w =0.5, total simulation time sd=30ms, encoding interval length T range =25ms, Gaussian distribution with maximum mean Mean range =16 / 1 / 255, the maximum standard deviation Var of the Gaussian distribution range =1, the maximum output membrane potential is limited by v max = -57.0, minimum output membrane potential limit v min = -67.0, Bad Pixel Ratio in the image is set to 20%.
[0044] Step 2.2: Transmit the pulse signal to the hidden layer through the fully connected structure between the input layer and the hidden layer.
[0045] Step 2.3: For the pulse signal transmitted from the input layer, each neuron in the hidden layer expands the matrix information into an information tensor representation through three equivalent paths according to the decoding and processing up-dimensional mapping algorithm.
[0046] The dimension-upgrading mapping algorithm in this step decomposes the data into a superposition of Gaussian mixture components. This step completes the dimension-upgrading mapping from matrix data to tensor data, broadening the specific spiking neural network structure corresponding to the information transmitted by the hidden layers and subsequent output layers, and significantly optimizing the network's repair performance.
[0047] Step 2.4: The repaired image data and the complete original image data generated by the output layer are compared, and values are taken for each corresponding pixel. Backpropagation is performed using MSE as the loss function (Loss). The hidden layer network is trained to learn the target membrane potential using two basic optimization algorithms: the TF-TPA algorithm for asymptotically approximating the target membrane potential at fixed time points and the TS-TPA algorithm for asymptotically approximating the target membrane potential with dynamic pulse time shifting. (The steps are as follows...) Figure 3 and Figure 4 As shown.
[0048] The TF-TPA algorithm for this step can be further referenced. Figure 5 Let the membrane potential of the Out neuron at the target time ttar be vo under the action of the pulse sequence generated by the current input neurons In1-Inm. The desired output membrane potential value of the Out neuron is vtar. This algorithm provides a solution that, without changing the pulse timing of the input neurons, gradually approaches the target membrane potential value vtar by continuously modifying the weights w1-wm of the input neurons In1-Inm to the Out neuron and the membrane time constant τo of the Out neuron. See the detailed process below. Figure 6 (Algorithm 1).
[0049] The TS-TPA algorithm for this step can be further referenced. Figure 7 Traditional time windows can cause peaks to accumulate at the window boundaries. To address this issue, a dynamic time window approach is adopted, and this algorithm is used. See the detailed process below. Figure 8 (Algorithm 2).
[0050] Step 2.5: Repeat steps 2.2 to 2.4 until the maximum number of training rounds is reached or the target loss function has converged, thus completing the learning and memorization of the target membrane potential of the hidden layer neurons when inputting incomplete sample image data.
[0051] In this step, the obtained pulse signal is fed into the neural network. After learning by the memory generation module in the information storage model, and through continuous optimization and adjustment, the relevant image information of the corresponding handwritten dataset is stored in the spiking neural network.
[0052] Step 3: Extraction of key modeling parameters. Based on the neuron membrane potential state in the spiking neural network, obtain the tensor representations of the three key modeling parameters π, μ and σ required for modeling the mixture Gaussian distribution.
[0053] In some embodiments of the present invention, the three key modeling parameters π, μ, and σ all correspond to the neuron size of the new information tensor representation, exhibiting a one-to-one correspondence, i.e., consistent with the hidden layer, and are three-dimensional data. The first two dimensions correspond to the input data of the spiking neural network input layer in step 2 and its corresponding neuron size, while the third dimension is the mapping parameter K value from step 2, specifically 10. These three key modeling parameters have a decisive influence on the restoration effect of the incomplete sample image data described in subsequent step 4.
[0054] In some embodiments of the present invention, step 3, key modeling parameter extraction, is performed as follows:
[0055] In the trained spiking neural network, based on the membrane potential states of the hidden layer neurons obtained after training in step 2, the corresponding tensor information is used to obtain the three key modeling parameters π, μ, and σ according to the mapping relationship; the value of parameter π is normalized to the tensor information of the corresponding hidden layer using the activation function Softmax before it is obtained. The formula for calculating the Softmax value is shown in Equation 2:
[0056]
[0057] That is, the data components are raised to the power of the natural logarithm e, and the intermediate value obtained by this method is compared with the sum of the powers obtained by the same method for all components. Finally, the Softmax value corresponding to each component is obtained, thus completing the normalization.
[0058] In this step, tensor representations of the three key modeling parameters that determine the new restored image data are obtained. While continuing the network's broadening effect, this process is crucial for the spiking neural network to learn and remember, and plays a vital role in improving the accuracy and efficiency of the network's restoration performance.
[0059] Step 4: Image restoration generation, including: inputting the incomplete sample image data into the trained spiking neural network for image restoration; completing the incomplete sample restoration task based on the aforementioned key parameters; modeling the corresponding value of each pixel using a Gaussian mixture distribution; and generating the target restored image through probability sampling using a Gaussian distribution.
[0060] In some embodiments of the present invention, step 4, constructing the mathematical formula corresponding to the Gaussian mixture probability model, is expressed as follows:
[0061]
[0062] That is, the formula for modeling the mixture Gaussian distribution in this invention is determined by Equation 3, which includes the three key parameters π, μ and σ, K is the third dimension value of the tensor of the decoding mapping, the subscript k of the three key modeling parameters π, μ and σ is an integer in the closed interval [1, K], used to express the internal mathematical form of continuous addition, x is the value of the pixel point corresponding to the image data generated by the modeling target in step 4, p is its distribution probability, and N represents the mixture Gaussian distribution.
[0063] In some embodiments of the present invention, step 4, image repair generation, is carried out as follows:
[0064] Step 4.1: First, cross-multiply σ, one of the three key modeling parameters obtained in Step 3, with the tensor ε obtained from sampling the standard normal distribution to perform parameter renormalization and obtain a scalar value. For example, in the MNIST 28×28 handwritten digit dataset, this step performs cross-multiplication on two tensors of the same size corresponding to 28×28×K, representing σ and ε respectively, to obtain an equivalent scalar of size 1×1×1, so as to ensure that the key modeling parameter σ can be gradient backpropagated to complete the network training in Step 2.
[0065] In this step, the parameter renormalization of σ in the tensor representation was completed using the standard normal distribution probability sampling results, which provides a rigorous mathematical guarantee for the gradient backpropagation training in step 2 of the information storage model (incomplete sample repair model).
[0066] Step 4.2: Construct and substitute the values of the three key parameters π, μ and σ obtained or processed in Step 4.1 according to the formula 3 corresponding to the Gaussian mixture distribution model, and obtain the value of each pixel in the corresponding generated image data based on its Gaussian mixture probability distribution model.
[0067] Step 4.3: Convert the value matrix information of each pixel point corresponding to the target generated image data obtained in Step 4.2 into specific image generation to generate the target repair image.
[0068] In this embodiment, the standard normal distribution probability sampling was selected for parameter renormalization and Softmax layer normalization to process the three key modeling parameters, which achieved good results in generating reconstructed and repaired image data.
[0069] In another aspect, the present invention provides a computer program product comprising a computer program that, when executed by a processing unit, implements the steps of the method described.
[0070] In another aspect, the present invention provides a computing device including a storage unit and a processing unit, wherein the storage unit stores a computer program, and the processing unit executes the computer program to implement the steps of the method described.
[0071] Another aspect of the present invention provides a damaged sample repair system based on a spiking neural network information storage model, including a display device and the aforementioned computing device;
[0072] The computing device includes a processing unit comprising a preprocessing module for performing preprocessing, a training module for performing network training, and a computation module for performing transformation; the preprocessing module takes the incomplete sample image data as input, and the computation module takes the preprocessed incomplete sample image data as input and outputs the generated repaired image data result;
[0073] The display device is used to display the image result of the target data generated by repairing the incomplete sample image data.
[0074] To test the effectiveness of this invention, incomplete data from an 8×8 handwritten digit dataset, a USPS 16×16 handwritten digit dataset, and an MNIST 28×28 handwritten digit dataset were used as test inputs. Figure 9 The image shows a visualization of the repaired data during the training process. A decrease in RMSE indicates an improvement in the network's repair capability; from... Figure 9 As can be seen, these models can generally converge within 100 iterations; and the larger the image size, the better the convergence effect of the model. Therefore, the method of this invention achieves excellent results in restoring incomplete sample image data.
[0075] In summary, as Figure 10 As shown, this invention comprises four steps: preprocessing of incomplete sample image data, encoding information mapping and decoding, extraction of key modeling parameters, and generation of repaired images. The spiking neuron model uses LIF neurons with multiple time steps as the basic model. Based on a given evaluation criterion for information "memory" ability, a spiking neural network information storage model is established. Several model optimization algorithms on the spiking neural network are proposed to train the key parameters of this memory model. A solution to broaden the network to address the "memory distortion" problem is given, thus achieving incomplete sample repair. This method incorporates more biological characteristics, effectively reducing the computational load of the neural network, improving rationality and interpretability, and enabling more accurate semantic identification on incomplete sample image datasets. It also allows for better modeling to complete the task of incomplete sample repair.
[0076] The above description is merely a preferred embodiment of the present invention in the specific problem of image classification. The present invention should not be limited to the problem form, implementation examples, and content disclosed in the accompanying drawings. Any equivalent or modified embodiments that do not depart from the spirit of the present invention should fall within the protection scope of the present invention.
Claims
1. A method for restoring incomplete image samples based on a spiking neural network information storage model, characterized in that, Includes the following steps: Step 1: Preprocessing of incomplete sample image data, including: performing time encoding on the value corresponding to each pixel of the incomplete sample image data to obtain a time series represented by a matrix used to encode image information; Step 2: Encoded information mapping and decoding, including: using the time series as a pulse signal input to the spiking neural network, learning to generate the encoded information of each pixel in the memory generation module of the information storage model, mapping and decoding the information of the matrix in three equivalent paths, generating a new information tensor representation according to the corresponding network rules, learning to generate the corresponding neuron activation state in the memory generation module, and completing the training of the spiking neural network; Step 3: Extraction of key modeling parameters, including: obtaining three key modeling parameters required for Gaussian mixture distribution modeling based on the neuron membrane potential state in the spiking neural network. , and The corresponding tensor representation; Step 4: Image restoration generation, including: inputting the incomplete sample image data into the trained spiking neural network, modeling the corresponding value of each pixel using a Gaussian mixture distribution, and generating the target restored image through probability sampling using a Gaussian distribution; The training process in step 2 is as follows: Step 2.1: Initialization, setting network training parameters; Step 2.2: Transmit the pulse signal to the hidden layer through the fully connected structure between the input layer and the hidden layer; Step 2.3: Each neuron in the hidden layer expands the matrix information into an information tensor representation through three equivalent paths according to the decoding processing up-dimensional mapping algorithm; Step 2.4: Generate repaired image data and complete original image data through the output layer, and take values for each corresponding pixel. Perform backpropagation with MSE as the loss function Loss. Train the hidden layer network to learn the target membrane potential through two basic optimization algorithms: the target membrane potential asymptotic algorithm TF-TPA with fixed time points and the target membrane potential asymptotic algorithm TS-TPA with pulse dynamic time shift. Step 2.5: Repeat steps 2.2 to 2.4 until the maximum number of training rounds is reached or the target loss function has converged, thus completing the learning and memorization of the target membrane potential of the hidden layer neurons when inputting incomplete sample image data.
2. The method for repairing incomplete image samples based on a spiking neural network information storage model according to claim 1, characterized in that, Step 1, the preprocessing of incomplete sample image data, is as follows: Step 1.1: For the incomplete sample image data, decompose it into individual pixels according to its corresponding pixel structure; Step 1.2: For each pixel value of all incomplete sample image data contained in the dataset, perform time encoding that meets the requirements of the LIF neuron input to the information storage model to obtain the time series represented by the matrix; Step 1.3: Record the value corresponding to each pixel of the incomplete sample image data.
3. The method for repairing incomplete image samples based on a spiking neural network information storage model according to claim 1, characterized in that, In step 2, the spiking neural network consists of three layers: an input layer, a hidden layer, and an output layer. Each layer is composed of several LIF neuron models. The input layer and the hidden layer constitute the memory generation module. The input layer introduces the incomplete sample image data preprocessed in step 1 into the spiking neural network. The corresponding time series encoding causes the corresponding input neurons to generate pulses, which are then transmitted to the hidden layer. The hidden layer processes and transforms the information from the input layer. The output layer has the same number of neurons as the hidden layer.
4. The method for repairing incomplete image samples based on a spiking neural network information storage model according to claim 3, characterized in that, The input layer and hidden layer are connected in a fully connected manner, and the mapping is completed first through three equivalent paths; The mapping constructs three equivalent paths, that is, the information of the input layer is mapped in parallel in the same way to reach the corresponding hidden layer; The fully connected connection method, for each mapped path, n i Each input layer neuron satisfies the condition that it is connected to all neurons in the hidden layer. n h On 1 neuron, among which n i and n h These represent the number of neurons in the input layer and the number of neurons in the hidden layer, respectively. In other words, all neuron elements contained in the two sets corresponding to the input layer neurons and the hidden layer neurons must have pairwise connections between the sets. The relationship between the number of neurons in the input layer and the hidden layer satisfies the following equation: in K The third dimension component is the representation of the new information tensor.
5. The method for restoring incomplete image samples based on a spiking neural network information storage model according to claim 1, characterized in that, Step 3, three key modeling parameters , and The form of each dimension is consistent with the neuron size represented by the new information tensor, and there is a one-to-one correspondence, that is, consistent with the hidden layer, and is three-dimensional data; the first two dimensions are consistent with the input data of the input layer of the spiking neural network and its corresponding neuron size, and the third dimension is the value of the mapping parameter K.
6. The method for restoring incomplete image samples based on a spiking neural network information storage model according to claim 1, characterized in that, Step 3, the extraction process is as follows: In the trained spiking neural network, based on the membrane potential state of the hidden layer neurons, the corresponding tensor information is used to obtain the three key modeling parameters according to the mapping relationship. , and ; parameters Before obtaining the value, the tensor information of the corresponding hidden layer is normalized using the activation function Softmax.
7. The method for restoring incomplete image samples based on a spiking neural network information storage model according to any one of claims 1 to 6, characterized in that, The mathematical expression of the formula corresponding to step 4, Gaussian mixture distribution modeling, is as follows: in K For the third dimension component of the new information tensor representation, three key modeling parameters , and subscript k For the closed interval [1, K The integers within the brackets are used to express the internal mathematical form of repeated addition. x To generate image data corresponding to the pixel values of the target being modeled. p Let its probability distribution be... N This represents a mixture Gaussian distribution.
8. The method for restoring incomplete image samples based on a spiking neural network information storage model according to claim 1, characterized in that, Step 4, the process of generating the repaired image, is as follows: Step 4.1: Set three key modeling parameters , and The corresponding formula for modeling Gaussian mixture distribution is used to construct and substitute values, and the value of each pixel in the corresponding generated image data is obtained by modeling according to Gaussian mixture probability distribution. Step 4.2: Convert the matrix information of the values of each pixel into specific image generation to generate the target repair image.
9. The method for repairing incomplete image samples based on a spiking neural network information storage model according to claim 8, characterized in that, Before step 4.1, the following steps are also performed: Will Tensor obtained by sampling from the standard normal distribution Cross product is subjected to parameter renormalization to ensure The network training in step 2 can be completed by gradient backpropagation.
Citation Information
Patent Citations
Serialized sketch generation and reconstruction model training method, reconstruction method and device
CN115457183A
Detection apparatus, detection method and detection program
JP2019049778A
