CN114781628A - Memristor noise-based data enhancement method and device, electronic equipment and medium - Google Patents
Memristor noise-based data enhancement method and device, electronic equipment and medium Download PDFInfo
- Publication number
- CN114781628A CN114781628A CN202210325808.1A CN202210325808A CN114781628A CN 114781628 A CN114781628 A CN 114781628A CN 202210325808 A CN202210325808 A CN 202210325808A CN 114781628 A CN114781628 A CN 114781628A
- Authority
- CN
- China
- Prior art keywords
- data
- memristor
- mapping
- noise
- training
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000013507 mapping Methods 0.000 claims abstract description 68
- 238000012549 training Methods 0.000 claims description 59
- 230000006870 function Effects 0.000 claims description 22
- 238000013528 artificial neural network Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 7
- 238000003860 storage Methods 0.000 claims description 7
- 230000002708 enhancing effect Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000013434 data augmentation Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000008901 benefit Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000009466 transformation Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000003631 expected effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 238000011426 transformation method Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/06—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
- G06N3/063—Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using electronic means
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Health & Medical Sciences (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Evolutionary Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Bioinformatics & Computational Biology (AREA)
- Neurology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Noise Elimination (AREA)
Abstract
Description
技术领域technical field
本申请涉及数据增强技术领域,特别涉及一种基于忆阻器噪声的数据增强方法、装置、电子设备及存储介质。The present application relates to the technical field of data enhancement, and in particular, to a data enhancement method, device, electronic device and storage medium based on memristor noise.
背景技术Background technique
人工智能是研究、开发用于模拟、延伸和扩展人行为的理论、方法、技术及应用系统的一门技术科学,是研究使计算机来模拟人的某些思维过程和智能行为(如学习、推理、思考、规划等)的学科,主要包括计算机实现智能的原理、制造类似于人脑智能的计算机,使计算机能实现更高层次的应用。通常,为获得理想的人工智能模型,人们利用大量有标签的数据使模型进行监督学习。模型可以从给定的训练数据集中学习出一个函数即模型参数,当新的数据到来时,可以根据这个函数预测结果,从而达到预测的目的。Artificial intelligence is a technical science that studies and develops theories, methods, technologies and application systems for simulating, extending and expanding human behavior. , thinking, planning, etc.), mainly including the principle of computer realization of intelligence, the manufacture of computers similar to human brain intelligence, so that computers can achieve higher-level applications. Usually, in order to obtain an ideal artificial intelligence model, people use a large amount of labeled data to make the model perform supervised learning. The model can learn a function from the given training data set, that is, the model parameters. When new data arrives, the result can be predicted according to this function, so as to achieve the purpose of prediction.
监督学习的预测效果很大程度上与训练阶段所接受数据的数量和多样性成正相关。随着神经网络规模的不断增大,对于数据量与数据多样性的需求也在不断增大。然而相比庞大的数据量需求,现有的数据集往往无法满足其要求。因此,一种解决该问题的方法是采用数据增强,即通过对有限数据进行一定的变换从而生成新的训练数据,以达到扩充数据的目的。数据增强除了可以扩充数据量与数据多样性以外,还可以用来解决分类任务中的类别不平衡问题,例如利用数据增强来调整正负样本比例。The predictive effect of supervised learning is largely positively related to the amount and variety of data received during the training phase. With the continuous increase in the scale of neural networks, the demand for data volume and data diversity is also increasing. However, compared with the huge data volume requirements, existing datasets often cannot meet its requirements. Therefore, a method to solve this problem is to use data augmentation, that is, to generate new training data by performing certain transformation on the limited data, so as to achieve the purpose of expanding the data. In addition to expanding data volume and data diversity, data augmentation can also be used to solve the class imbalance problem in classification tasks, such as using data augmentation to adjust the ratio of positive and negative samples.
针对数据增强的实现方法有很多,以下以图像数据为例,通过对现有数据进行裁剪,翻转,旋转等规律变换来实现数据增强。数据增强通常分为离线数据增强与在线数据增强。离线数据增强是指对数据集进行处理后将扩充的数据集缓存,以备模型的训练及推理使用。在线数据增强是指在模型训练及推理过程中,仅对当前训练批次的数据进行变化。其中与本文最相似的一种在线数据增强的方案被称为自编码器,是先将数据压缩编码至特定向量,后对特定向量添加一个采样的高斯噪声。再通过解码器将其还原成原图的数据增强方案称为自编码器。该方法的核心在于将数据通过神经网络后,通过添加一个随机的高斯扰动,从而实现对数据的变换。由于添加的是随机扰动,因而可以提高训练模型的鲁棒性。There are many implementation methods for data enhancement. The following takes image data as an example, and realizes data enhancement by regularly transforming existing data such as cropping, flipping, and rotating. Data augmentation is usually divided into offline data augmentation and online data augmentation. Offline data augmentation refers to caching the expanded data set after processing the data set for model training and inference. Online data augmentation refers to changing only the data of the current training batch during model training and inference. One of the most similar online data enhancement schemes in this paper is called autoencoder, which firstly compresses and encodes data into a specific vector, and then adds a sampled Gaussian noise to the specific vector. The data enhancement scheme that restores it to the original image through the decoder is called an autoencoder. The core of this method is to transform the data by adding a random Gaussian disturbance after passing the data through the neural network. Since random perturbations are added, the robustness of the trained model can be improved.
其中,离线数据增强直接对数据集进行处理,数据的数目会变成增强因子乘以原数据集的数目。该方案的优点在于不需要增加模型训练及推理时长,预先处理过的数据可用于多个模型的不同任务。然而离线数据增强的方案缺点也十分明显,由于是直接对数据集进行处理,因而该方案对芯片缓存有着较高要求。因此该方案通常用于较小的数据集。Among them, offline data enhancement directly processes the data set, and the number of data becomes the enhancement factor multiplied by the number of the original data set. The advantage of this scheme is that there is no need to increase the model training and inference time, and the pre-processed data can be used for different tasks of multiple models. However, the shortcomings of the offline data enhancement scheme are also very obvious. Because the data set is directly processed, this scheme has high requirements on the chip cache. Therefore this scheme is usually used for smaller datasets.
在线数据增强是在模型训练过程中,仅对当前使用批次的数据进行变换。训练过程中,已经使用过的数据不会被保存。该方案的优点在于不需要额外缓存,数据在模型训练及推理过程中即用即删。然而该方案同样有较为明显的缺点,当遇到较为复杂的变换时,在线数据增强将加长模型训练及推理的时长。以前文所提到的自编码器方案为例,生成随机数的过程将耗费大量时间。针对每个批次随机生成大量随机数将严重增加模型训练及推理的时间成本。Online data augmentation is to transform only the data of the currently used batch during the model training process. During training, data that has already been used will not be saved. The advantage of this solution is that no additional cache is required, and data can be deleted immediately during model training and inference. However, this scheme also has obvious shortcomings. When encountering more complex transformations, online data enhancement will lengthen the time for model training and inference. Taking the autoencoder scheme mentioned above as an example, the process of generating random numbers will take a lot of time. Randomly generating a large number of random numbers for each batch will seriously increase the time cost of model training and inference.
采用单一变换手段,例如平移、旋转、缩放等对图像进行变换是图像数据增强常用的方案之一。主要缺陷在于生成图像欠缺多样性与随机性,因而对模型的鲁棒性的提升无法达到预期的效果。Using a single transformation method, such as translation, rotation, scaling, etc., to transform an image is one of the commonly used solutions for image data enhancement. The main defect is that the generated images lack diversity and randomness, so the improvement of the robustness of the model cannot achieve the expected effect.
发明内容SUMMARY OF THE INVENTION
本申请提供一种基于忆阻器噪声的数据增强方法、装置、电子设备及存储介质,利用忆阻器的随机噪声进行数据增强,增强的数据具有多样性和随机性,解决了相关技术中离线数据增强的方式适用的数据集较小,在线数据增强的方式耗时长,效率低,并且数据增强方式单一的问题。The present application provides a data enhancement method, device, electronic device and storage medium based on memristor noise. The random noise of memristor is used for data enhancement, and the enhanced data has diversity and randomness, which solves the problem of offline processing in related technologies. The data enhancement method is suitable for small datasets, the online data enhancement method is time-consuming and inefficient, and the data enhancement method has a single problem.
本申请第一方面实施例提供一种基于忆阻器噪声的数据增强方法,包括以下步骤:确定表征输入数据与输出数据之间关系的映射关系;基于所述映射关系,将所述映射关系对应的映射网络映射至目标忆阻器阵列;以及将所述输入数据输入至映射后的所述目标忆阻器阵列,并在所述目标忆阻器阵列施加随机噪声后,得到数据增强后的所述输出数据。An embodiment of the first aspect of the present application provides a method for data enhancement based on memristor noise, including the following steps: determining a mapping relationship representing the relationship between input data and output data; based on the mapping relationship, mapping the mapping relationship to The mapping network is mapped to the target memristor array; and the input data is input to the mapped target memristor array, and after random noise is applied to the target memristor array, the data-enhanced data is obtained. the output data.
可选地,在本申请的一个实施例中,还包括:将所述映射关系作为训练数据进行神经网络训练,在满足训练终止条件时,停止训练,得到所述映射网络。Optionally, in an embodiment of the present application, the method further includes: using the mapping relationship as training data to perform neural network training, and when a training termination condition is met, stopping the training to obtain the mapping network.
可选地,在本申请的一个实施例中,所述将所述输入数据输入至映射后的所述目标忆阻器阵列,并在所述目标忆阻器阵列施加随机噪声后,得到数据增强后的所述输出数据,包括:将所述输入数据的电压信号输入至映射后的所述目标忆阻器阵列;通过所述忆阻器阵列施加随机噪声后,输出所述输入数据的电流信号;对所述电流信号进行转换得到所述数据增强后的输出数据。Optionally, in an embodiment of the present application, the input data is input into the mapped target memristor array, and data enhancement is obtained after random noise is applied to the target memristor array. The latter output data includes: inputting the voltage signal of the input data to the mapped target memristor array; after applying random noise through the memristor array, outputting the current signal of the input data ; Convert the current signal to obtain the data-enhanced output data.
可选地,在本申请的一个实施例中,所述训练终止条件包括:所述映射网络的损失函数小于预设阈值;和/或,所述输入数据与所述输出数据之间的误差小于预设误差阈值。Optionally, in an embodiment of the present application, the training termination condition includes: the loss function of the mapping network is less than a preset threshold; and/or, the error between the input data and the output data is less than Preset error threshold.
本申请第二方面实施例提供一种基于忆阻器噪声的数据增强装置,包括:获取模块,用于确定表征输入数据与输出数据之间关系的映射关系;映射模块,用于基于所述映射关系,将所述映射关系对应的映射网络映射至目标忆阻器阵列;以及增强模块,用于将所述输入数据输入至映射后的所述目标忆阻器阵列,并在所述目标忆阻器阵列施加随机噪声后,得到数据增强后的所述输出数据。An embodiment of the second aspect of the present application provides a data enhancement device based on memristor noise, including: an acquisition module for determining a mapping relationship representing the relationship between input data and output data; a mapping module for based on the mapping relationship, mapping the mapping network corresponding to the mapping relationship to the target memristor array; and an enhancement module, used for inputting the input data to the mapped target memristor array, and in the target memristor array After random noise is applied to the generator array, the output data after data enhancement is obtained.
可选地,在本申请的一个实施例中,还包括:训练模块,用于将所述映射关系作为训练数据进行神经网络训练,在满足训练终止条件时,停止训练,得到所述映射网络。Optionally, in an embodiment of the present application, it further includes: a training module configured to use the mapping relationship as training data to perform neural network training, and when the training termination condition is met, stop training to obtain the mapping network.
可选地,在本申请的一个实施例中,所述增强模块,具体用于将所述输入数据的电压信号输入至映射后的所述目标忆阻器阵列,通过所述忆阻器阵列施加随机噪声后,输出所述输入数据的电流信号,对所述电流信号进行转换得到所述数据增强后的输出数据。Optionally, in an embodiment of the present application, the enhancement module is specifically configured to input the voltage signal of the input data to the mapped target memristor array, and apply the voltage signal through the memristor array. After random noise, the current signal of the input data is output, and the current signal is converted to obtain the data-enhanced output data.
可选地,在本申请的一个实施例中,所述训练终止条件包括:所述映射网络的损失函数小于预设阈值;和/或所述输入数据与所述输出数据之间的误差小于预设误差阈值。Optionally, in an embodiment of the present application, the training termination condition includes: the loss function of the mapping network is less than a preset threshold; and/or the error between the input data and the output data is less than a preset threshold. Set the error threshold.
本申请第三方面实施例提供一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序,以执行如上述实施例所述的基于忆阻器噪声的数据增强方法。An embodiment of a third aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program to execute The data augmentation method based on memristor noise as described in the above embodiments.
本申请第四方面实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行,以执行如上述实施例所述的基于忆阻器噪声的数据增强方法。Embodiments of the fourth aspect of the present application provide a computer-readable storage medium on which a computer program is stored, and the program is executed by a processor to execute the method for data enhancement based on memristor noise as described in the foregoing embodiments.
本申请实施例利用忆阻器的噪声实现数据增强中噪声扰动添加的功能,避免了生成随机数所需的时间,在数据增强过程中,将忆阻器的真实噪声替换相关技术中使用的随机高斯噪声,可以实现对有限数据进行数据增强,并且数据增强后生成图像具有多样性与强随机性,并且忆阻器的输出数据直接输入任务网络进行应用,使用完毕后即可删除,无需缓存。In the embodiment of the present application, the noise of the memristor is used to realize the function of adding noise disturbance in data enhancement, which avoids the time required to generate random numbers. Gaussian noise can realize data enhancement of limited data, and the generated images after data enhancement have diversity and strong randomness, and the output data of the memristor is directly input into the task network for application, and can be deleted after use without caching.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be set forth, in part, in the following description, and in part will be apparent from the following description, or learned by practice of the present application.
附图说明Description of drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:
图1为根据本申请实施例提供的一种基于忆阻器噪声的数据增强方法的流程图;1 is a flowchart of a method for data enhancement based on memristor noise provided according to an embodiment of the present application;
图2为根据本申请实施例提供的一种忆阻器结构示意图;2 is a schematic structural diagram of a memristor provided according to an embodiment of the present application;
图3为根据本申请实施例提供的一种忆阻器阵列示意图;3 is a schematic diagram of a memristor array provided according to an embodiment of the present application;
图4为根据本申请实施例提供的一种生成网络的数据生成示意图;4 is a schematic diagram of data generation of a generation network according to an embodiment of the present application;
图5为根据本申请实施例提供的一种忆阻器阵列嵌入示意图;FIG. 5 is a schematic diagram of embedding a memristor array according to an embodiment of the present application;
图6为根据本申请实施例提供的另一种忆阻器阵列嵌入示意图;6 is a schematic diagram of another memristor array embedding provided according to an embodiment of the present application;
图7为根据本申请实施例的一种基于忆阻器噪声的数据增强装置的示例图;FIG. 7 is an exemplary diagram of a data enhancement apparatus based on memristor noise according to an embodiment of the present application;
图8为申请实施例提供的电子设备的结构示意图。FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The following describes in detail the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to be used to explain the present application, but should not be construed as a limitation to the present application.
下面参考附图描述本申请实施例的基于忆阻器噪声的数据增强方法、装置、电子设备及介质。针对上述背景技术中心提到的离线数据增强的方式适用的数据集较小,在线数据增强的方式耗时长,效率低,并且数据增强方式单一的问题,本申请实施例利用忆阻器的噪声实现数据增强中噪声扰动添加的功能,避免了生成随机数所需的时间,在数据增强过程中,将忆阻器的真实噪声替换相关技术中使用的随机高斯噪声,可以实现对有限数据进行数据增强,并且数据增强后生成图像具有多样性与强随机性,并且忆阻器的输出数据直接输入任务网络进行应用,使用完毕后即可删除,无需缓存。由此,解决了相关技术中离线数据增强的方式适用的数据集较小,在线数据增强的方式耗时长,效率低,并且数据增强方式单一的问题。The method, apparatus, electronic device, and medium for data enhancement based on memristor noise according to the embodiments of the present application are described below with reference to the accompanying drawings. Aiming at the problems that the offline data enhancement method mentioned by the above-mentioned background technology center is applicable to a small dataset, the online data enhancement method is time-consuming, has low efficiency, and the data enhancement method is single, the embodiment of the present application uses the noise of the memristor to achieve The function of adding noise perturbation in data enhancement avoids the time required to generate random numbers. In the process of data enhancement, the real noise of the memristor is replaced by the random Gaussian noise used in related technologies, which can realize data enhancement for limited data. , and the image generated after data enhancement has diversity and strong randomness, and the output data of the memristor is directly input into the task network for application, and can be deleted after use without caching. As a result, the problems in the related art that the offline data enhancement method is applicable to a small dataset, the online data enhancement method is time-consuming, and the efficiency is low, and the data enhancement method is single, are solved.
具体而言,图1为根据本申请实施例提供的一种基于忆阻器噪声的数据增强方法的流程图。Specifically, FIG. 1 is a flowchart of a method for data enhancement based on memristor noise provided according to an embodiment of the present application.
如图1所示,该基于忆阻器噪声的数据增强方法包括以下步骤:As shown in Figure 1, the memristor noise-based data augmentation method includes the following steps:
在步骤S101中,确定表征输入数据与输出数据之间关系的映射关系。In step S101, a mapping relationship representing the relationship between the input data and the output data is determined.
可以理解的是,本申请实施例的映射关系可以为输入数据与输出数据之间固有的映射关系,例如,已知电阻大小,根据输入电流值和欧姆定律,输出电压值,也可以为根据实际需求设定输入数据与输出数据之间的映射关系,例如,输出数据值与输入数据值的差值为固定值或输出数据值是输入数据值的预设倍等,不作具体限定。It can be understood that the mapping relationship in this embodiment of the present application may be an inherent mapping relationship between input data and output data. For example, with a known resistance size, according to the input current value and Ohm’s law, the output voltage value may also be based on the actual value. The mapping relationship between the input data and the output data needs to be set, for example, the difference between the output data value and the input data value is a fixed value or the output data value is a preset multiple of the input data value, etc., which are not specifically limited.
在步骤S102中,基于映射关系,将映射关系对应的映射网络映射至目标忆阻器阵列。In step S102, based on the mapping relationship, the mapping network corresponding to the mapping relationship is mapped to the target memristor array.
通过步骤S101确定出输入数据与输出数据的映射关系后,根据映射关系进行神经网络的训练,将得到映射网络映射至忆阻器阵列。After the mapping relationship between the input data and the output data is determined through step S101, the neural network is trained according to the mapping relationship, and the obtained mapping network is mapped to the memristor array.
如图2所示,展示了忆阻器的一种结构形式,可以理解的是,忆阻器本身具有符合高斯分布的噪声,该噪声在一定范围内随机波动。忆阻器器件噪声具有不确定性,随机性等特点,因此,将忆阻器器件噪声作为扰动添加源生成的数据同样具有多样性,随机性等特点。该优势可有效避免单一手段进行数据增强来带的弊端,使得模型训练后有更好的鲁棒性。As shown in Figure 2, a structural form of the memristor is shown, and it can be understood that the memristor itself has a noise conforming to a Gaussian distribution, which fluctuates randomly within a certain range. Memristor device noise has the characteristics of uncertainty and randomness. Therefore, the data generated by using memristor device noise as a perturbation addition source also has the characteristics of diversity and randomness. This advantage can effectively avoid the drawbacks brought about by a single method of data enhancement, making the model more robust after training.
可选地,在本申请的一个实施例中,将映射关系作为训练数据进行神经网络训练,在满足训练终止条件时,停止训练,得到映射网络。其中,映射网络的输入维度可以等于输出维度,也可以不等于输出维度。Optionally, in an embodiment of the present application, the neural network training is performed using the mapping relationship as training data, and when the training termination condition is met, the training is stopped to obtain the mapping network. Among them, the input dimension of the mapping network may be equal to the output dimension, or may not be equal to the output dimension.
可选地,在本申请的一个实施例中,训练终止条件包括:映射网络的损失函数小于预设阈值,和/或,输入数据与输出数据之间的误差小于预设误差阈值。Optionally, in an embodiment of the present application, the training termination condition includes: the loss function of the mapping network is less than a preset threshold, and/or the error between the input data and the output data is less than a preset error threshold.
其中,本申请实施例的损失函数可以为像素级的均方误差或其他误差,不做具体限制。The loss function in this embodiment of the present application may be a pixel-level mean square error or other errors, which are not specifically limited.
具体而言,训练映射网络时,在达到预设的训练终止条件时,本申请的实施例停止训练,本申请实施例的训练终止条件可以为映射网络的损失函数小于设定的阈值,例如,阈值为A时,在损失函数的值小于A时,停止训练。本申请实施例的训练终止条件还可以为输入数据与输出数据之间的误差小于预设的误差阈值,例如,根据一定的标准对输入数据和输出数据进行量化,比较量化后的输入数据与输出数据间的差值,在差值小于预设的误差阈值时,停止训练。本申请实施例的训练终止条件还可以为训练轮次或时长达到预设值等,对此,本领域技术人员可以根据实际情况进行设置,不作具体限定。Specifically, when training the mapping network, when a preset training termination condition is reached, the embodiment of the present application stops training, and the training termination condition in the embodiment of the present application may be that the loss function of the mapping network is less than a set threshold, for example, When the threshold is A, the training stops when the value of the loss function is less than A. The training termination condition in this embodiment of the present application may also be that the error between the input data and the output data is less than a preset error threshold. For example, the input data and the output data are quantized according to a certain standard, and the quantized input data and the output data are compared. The difference between the data, when the difference is less than the preset error threshold, stop training. The training termination condition in the embodiment of the present application may also be that the training round or the duration reaches a preset value, etc., which can be set by those skilled in the art according to the actual situation, which is not specifically limited.
图2展示的为单个忆阻器的结构,本申请的实施例可以将多个忆阻器结构进行连接,如图3所示,通过多个忆阻器组成多行多列的忆阻器阵列,将上述实施例训练的映射网络映射至多行多列的忆阻器阵列。FIG. 2 shows the structure of a single memristor. In the embodiment of the present application, multiple memristor structures can be connected. As shown in FIG. 3 , a memristor array with multiple rows and columns is formed by multiple memristors. , the mapping network trained in the above embodiment is mapped to a multi-row and multi-column memristor array.
如图3所示,x1至x5表示原始数据,x1’至x5’为进行变换后所得数据。通过训练一个简单神经网络得到映射网络,如图4所示,需要说明的是,图4仅展示训练的基本原理,具体网络结构与参数可以根据实际情况进行设置,该网络具有输入维度等于输出维度的特点。映射网络的训练以像素级的均方误差为损失函数,以减小输入与输出之间的误差为目标进行训练。将训练好的映射网络映射至忆阻器阵列中,即将网络权重写入忆阻器中。As shown in Fig. 3, x1 to x5 represent original data, and x1' to x5' are data obtained after transformation. A mapping network is obtained by training a simple neural network, as shown in Figure 4. It should be noted that Figure 4 only shows the basic principle of training. The specific network structure and parameters can be set according to the actual situation. The network has an input dimension equal to the output dimension. specialty. The training of the mapping network takes the pixel-level mean square error as the loss function, and trains with the goal of reducing the error between the input and the output. The trained mapping network is mapped into the memristor array, that is, the network weights are written into the memristor.
在步骤S103中,将输入数据输入至映射后的目标忆阻器阵列,并在目标忆阻器阵列施加随机噪声后,得到数据增强后的输出数据。In step S103, input data is input to the mapped target memristor array, and after random noise is applied to the target memristor array, data-enhanced output data is obtained.
可以理解的是,映射后的忆阻器阵列可以根据输入数据,输出变换后的输出数据。输入数据经过忆阻器阵列后输入任务网络中进行运算,该批次的数据使用结束后可直接删除,无需额外空间进行缓存,避免了离线数据增强需要大量缓存的缺点。It can be understood that the mapped memristor array can output transformed output data according to the input data. After the input data passes through the memristor array, it is input into the task network for operation. The batch of data can be deleted directly after use, and no additional space is needed for caching, which avoids the disadvantage that offline data enhancement requires a large amount of caching.
可选地,在本申请的一个实施例中,将输入数据输入至映射后的目标忆阻器阵列,并在目标忆阻器阵列施加随机噪声后,得到数据增强后的输出数据,包括:将输入数据的电压信号输入至映射后的目标忆阻器阵列,通过忆阻器阵列施加随机噪声后,输出输入数据的电流信号,对电流信号进行转换得到数据增强后的输出数据。Optionally, in an embodiment of the present application, input data is input to the mapped target memristor array, and after random noise is applied to the target memristor array, data-enhanced output data is obtained, including: The voltage signal of the input data is input to the mapped target memristor array, and after applying random noise through the memristor array, the current signal of the input data is output, and the current signal is converted to obtain the data-enhanced output data.
具体地,数据增强进行时,将数据的电压信号流经忆阻器阵列,得到电流输出信号。由于忆阻器自身存在随机噪声,因而得到的输出信号可视为在原始数据上添加噪声后得到的数据。噪声本身具有不确定性强,随机性强等特点,因而使得生成数据同样具有多样性,随机性等特点。Specifically, when data enhancement is performed, the voltage signal of the data flows through the memristor array to obtain a current output signal. Since the memristor itself has random noise, the resulting output signal can be regarded as the data obtained by adding noise to the original data. Noise itself has the characteristics of strong uncertainty and strong randomness, which makes the generated data also have the characteristics of diversity and randomness.
本申请实施例的基于忆阻器噪声的数据增强方式,可采用在线数据增强的形式内嵌入任意任务中,如图5所示。在输入数据输入任务网络前,将输入数据输入映射后的忆阻器阵列,将当前批次的输入数据先经过加噪数据增强,然后输入任务网络,从而达到在线数据增强的目的。输入数据流经阵列后直接应用于各个网络,而后删除,无需额外的空间对生成数据进行缓存,因而避免了离线数据增强的弊端。同时,由于噪声的不确定性,对每一次输入的数据所添加的噪声均是不同的,因此避免了单一数据增强手段所带来的弊端。The data enhancement method based on the memristor noise in the embodiment of the present application can be embedded in any task in the form of online data enhancement, as shown in FIG. 5 . Before the input data is input into the task network, the input data is input into the mapped memristor array, and the input data of the current batch is first enhanced by the noised data, and then input into the task network, so as to achieve the purpose of online data enhancement. After the input data flows through the array, it is directly applied to each network, and then deleted. There is no need for additional space to cache the generated data, thus avoiding the drawbacks of offline data enhancement. At the same time, due to the uncertainty of noise, the noise added to each input data is different, thus avoiding the drawbacks brought by a single data enhancement method.
本申请实施例的基于忆阻器噪声的数据增强方式,亦可作为单独模块,内嵌入某些特殊数据增强网络中,对中间编码而非原始数据进行随机扰动的添加,如自编码器,如图6所示。将忆阻器阵列内嵌入自编码器网络,取代其原本需要生成随机数以添加噪声的部分。由于利用忆阻器器件噪声作为随机扰动的添加源,可无需额外生成随机数,以此达到加速模型训练及推理的速度,因而避免了在线数据增强所带来的弊端。The data enhancement method based on the memristor noise in the embodiment of the present application can also be used as a separate module, embedded in some special data enhancement networks, and random perturbation is added to the intermediate code instead of the original data, such as an autoencoder, such as shown in Figure 6. An autoencoder network is embedded within the memristor array, replacing the part that would otherwise need to generate random numbers to add noise. Since the noise of the memristor device is used as the added source of random disturbance, it is not necessary to generate additional random numbers, so as to accelerate the speed of model training and inference, thus avoiding the drawbacks brought by online data augmentation.
通过将忆阻器阵列设计为单独的数据增强模块,内嵌入任意任务中,使得设计方案灵活多变,具有即插即用的优势。By designing the memristor array as a separate data enhancement module, embedded in any task, the design scheme is flexible and has the advantage of plug-and-play.
需要说明的是,在本申请的实施例中,忆阻器可以根据实际需要替换为其他器件,如相变存储器(PCM)或铁电存储器(FeRAM)等。It should be noted that, in the embodiments of the present application, the memristor can be replaced with other devices, such as phase change memory (PCM) or ferroelectric memory (FeRAM), etc. according to actual needs.
本申请实施例基于忆阻器噪声的数据增强方法,利用忆阻器的噪声实现数据增强中噪声扰动添加的功能,避免了生成随机数所需的时间,在数据增强过程中,将忆阻器的真实噪声替换相关技术中使用的随机高斯噪声,可以实现对有限数据进行数据增强,并且数据增强后生成图像具有多样性与强随机性,并且忆阻器的输出数据直接输入任务网络进行应用,使用完毕后即可删除,无需缓存。由此,解决了相关技术中离线数据增强的方式适用的数据集较小,在线数据增强的方式耗时长,效率低,并且数据增强方式单一的问题。The data enhancement method based on the memristor noise in the embodiment of the present application uses the noise of the memristor to realize the function of adding noise disturbance in the data enhancement, which avoids the time required to generate random numbers. The real noise replaces the random Gaussian noise used in the related technology, which can realize data enhancement of limited data, and the generated image after data enhancement has diversity and strong randomness, and the output data of the memristor is directly input into the task network for application, It can be deleted after use without caching. As a result, the problems in the related art that the offline data enhancement method is applicable to a small dataset, the online data enhancement method is time-consuming, and the efficiency is low, and the data enhancement method is single, are solved.
其次参照附图描述根据本申请实施例提出的一种基于忆阻器噪声的数据增强装置。Next, a data enhancement device based on memristor noise proposed according to an embodiment of the present application will be described with reference to the accompanying drawings.
图7为根据本申请实施例的一种基于忆阻器噪声的数据增强装置的示例图。FIG. 7 is an exemplary diagram of a data enhancement apparatus based on memristor noise according to an embodiment of the present application.
如图7所示,该基于忆阻器噪声的数据增强装置10包括:获取模块100、映射模块200和增强模块300。As shown in FIG. 7 , the
其中,获取模块100用于确定表征输入数据与输出数据之间关系的映射关系。映射模块200用于基于映射关系,将映射关系对应的映射网络映射至目标忆阻器阵列。增强模块300用于将输入数据输入至映射后的目标忆阻器阵列,并在目标忆阻器阵列施加随机噪声后,得到数据增强后的输出数据。The obtaining
可选地,在本申请的一个实施例中,还包括:训练模块,用于将映射关系作为训练数据进行神经网络训练,在满足训练终止条件时,停止训练,得到映射网络。Optionally, in an embodiment of the present application, it further includes: a training module configured to use the mapping relationship as training data to perform neural network training, and when the training termination condition is met, stop training to obtain a mapping network.
可选地,在本申请的一个实施例中,增强模块300具体用于将输入数据的电压信号输入至映射后的目标忆阻器阵列,通过忆阻器阵列施加随机噪声后,输出输入数据的电流信号,对电流信号进行转换得到数据增强后的输出数据。Optionally, in an embodiment of the present application, the
可选地,在本申请的一个实施例中,训练终止条件包括:映射网络的损失函数小于预设阈值,和/或,输入数据与输出数据之间的误差小于预设误差阈值。Optionally, in an embodiment of the present application, the training termination condition includes: the loss function of the mapping network is less than a preset threshold, and/or the error between the input data and the output data is less than a preset error threshold.
需要说明的是,前述对一种基于忆阻器噪声的数据增强方法实施例的解释说明也适用于该实施例的一种基于忆阻器噪声的数据增强装置,此处不再赘述。It should be noted that the foregoing explanation of the embodiment of a memristor noise-based data enhancement method is also applicable to a memristor noise-based data enhancement apparatus of this embodiment, and details are not repeated here.
根据本申请实施例提出的一种基于忆阻器噪声的数据增强装置,利用忆阻器的噪声实现数据增强中噪声扰动添加的功能,避免了生成随机数所需的时间,在数据增强过程中,将忆阻器的真实噪声替换相关技术中使用的随机高斯噪声,可以实现对有限数据进行数据增强,并且数据增强后生成图像具有多样性与强随机性,并且忆阻器的输出数据直接输入任务网络进行应用,使用完毕后即可删除,无需缓存。由此,解决了相关技术中离线数据增强的方式适用的数据集较小,在线数据增强的方式耗时长,效率低,并且数据增强方式单一的问题。According to a data enhancement device based on memristor noise proposed in the embodiment of the present application, the noise of the memristor is used to realize the function of adding noise disturbance in data enhancement, which avoids the time required to generate random numbers. , the real noise of the memristor is replaced by the random Gaussian noise used in the related technology, which can realize data enhancement of limited data, and the generated image after data enhancement has diversity and strong randomness, and the output data of the memristor is directly input. The task network is used for application, and it can be deleted after use without caching. As a result, the problems in the related art that the offline data enhancement method is applicable to a small dataset, the online data enhancement method is time-consuming, and the efficiency is low, and the data enhancement method is single, are solved.
图8为本申请实施例提供的电子设备的结构示意图。该电子设备可以包括:FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device may include:
存储器801、处理器802及存储在存储器801上并可在处理器802上运行的计算机程序。
处理器802执行程序时实现上述实施例中提供的一种基于忆阻器噪声的数据增强方法。When the
进一步地,电子设备还包括:Further, the electronic device also includes:
通信接口803,用于存储器801和处理器802之间的通信。The
存储器801,用于存放可在处理器802上运行的计算机程序。The
存储器801可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The
如果存储器801、处理器802和通信接口803独立实现,则通信接口803、存储器801和处理器802可以通过总线相互连接并完成相互间的通信。总线可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(PeripheralComponent,简称为PCI)总线或扩展工业标准体系结构(Extended Industry StandardArchitecture,简称为EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图8中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。If the
可选的,在具体实现上,如果存储器801、处理器802及通信接口803,集成在一块芯片上实现,则存储器801、处理器802及通信接口803可以通过内部接口完成相互间的通信。Optionally, in terms of specific implementation, if the
处理器802可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。The
本实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如上的一种基于忆阻器噪声的数据增强方法。This embodiment also provides a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the above-mentioned data enhancement method based on memristor noise is implemented.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或N个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or N of the embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“N个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "N" means at least two, such as two, three, etc., unless otherwise expressly and specifically defined.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更N个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method description in the flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or N more executable instructions for implementing custom logical functions or steps of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,N个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of this application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the N steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented by any one of the following techniques known in the art, or a combination thereof: discrete with logic gates for implementing logic functions on data signals Logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those skilled in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing the relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be stored in a computer-readable storage medium. When executed, one or a combination of the steps of the method embodiment is included.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210325808.1A CN114781628A (en) | 2022-03-29 | 2022-03-29 | Memristor noise-based data enhancement method and device, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210325808.1A CN114781628A (en) | 2022-03-29 | 2022-03-29 | Memristor noise-based data enhancement method and device, electronic equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114781628A true CN114781628A (en) | 2022-07-22 |
Family
ID=82427123
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210325808.1A Pending CN114781628A (en) | 2022-03-29 | 2022-03-29 | Memristor noise-based data enhancement method and device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114781628A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117495705A (en) * | 2023-11-14 | 2024-02-02 | 南京邮电大学 | Image noise reduction method based on memristor |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109064434A (en) * | 2018-06-28 | 2018-12-21 | 广州视源电子科技股份有限公司 | Image enhancement method and device, storage medium and computer equipment |
CN109543827A (en) * | 2018-12-02 | 2019-03-29 | 清华大学 | Production fights network equipment and training method |
CN110956256A (en) * | 2019-12-09 | 2020-04-03 | 清华大学 | Method and device for realizing Bayes neural network by using memristor intrinsic noise |
US20200193300A1 (en) * | 2018-12-18 | 2020-06-18 | Hewlett Packard Enterprise Development Lp | Systems for introducing memristor random telegraph noise in hopfield neural networks |
CN112991223A (en) * | 2021-04-06 | 2021-06-18 | 深圳棱镜空间智能科技有限公司 | Image enhancement method, device, equipment and medium based on reversible neural network |
CN114067157A (en) * | 2021-11-17 | 2022-02-18 | 中国人民解放军国防科技大学 | Memristor-based neural network optimization method, device and memristor array |
CN114241245A (en) * | 2021-12-23 | 2022-03-25 | 西南大学 | An Image Classification System Based on Residual Capsule Neural Network |
-
2022
- 2022-03-29 CN CN202210325808.1A patent/CN114781628A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109064434A (en) * | 2018-06-28 | 2018-12-21 | 广州视源电子科技股份有限公司 | Image enhancement method and device, storage medium and computer equipment |
CN109543827A (en) * | 2018-12-02 | 2019-03-29 | 清华大学 | Production fights network equipment and training method |
US20200193300A1 (en) * | 2018-12-18 | 2020-06-18 | Hewlett Packard Enterprise Development Lp | Systems for introducing memristor random telegraph noise in hopfield neural networks |
CN110956256A (en) * | 2019-12-09 | 2020-04-03 | 清华大学 | Method and device for realizing Bayes neural network by using memristor intrinsic noise |
CN112991223A (en) * | 2021-04-06 | 2021-06-18 | 深圳棱镜空间智能科技有限公司 | Image enhancement method, device, equipment and medium based on reversible neural network |
CN114067157A (en) * | 2021-11-17 | 2022-02-18 | 中国人民解放军国防科技大学 | Memristor-based neural network optimization method, device and memristor array |
CN114241245A (en) * | 2021-12-23 | 2022-03-25 | 西南大学 | An Image Classification System Based on Residual Capsule Neural Network |
Non-Patent Citations (3)
Title |
---|
HAN ZHAO: "Memristor-based signal processing for edge computing", 《TSINGHUA SCIENCE AND TECHNOLOGY》, 12 November 2021 (2021-11-12), pages 455 * |
KECHUAN WU: "Enhanced memristor-based MNNs performance on noisy dataset resulting from memristive stochasticity", 《THE INSTITULTION OF ENGINEERING AND TECHNOLOGY》, 1 July 2019 (2019-07-01), pages 704 - 709 * |
孙盛阳: "基于忆阻器的卷积神经网络架构研究", 《中国优秀硕士学位论文全文数据库(信息科技辑)》, 15 February 2022 (2022-02-15), pages 135 - 295 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117495705A (en) * | 2023-11-14 | 2024-02-02 | 南京邮电大学 | Image noise reduction method based on memristor |
CN117495705B (en) * | 2023-11-14 | 2025-03-18 | 南京邮电大学 | A method for image denoising based on memristor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109754066B (en) | Method and apparatus for generating a fixed-point neural network | |
CN111652368B (en) | Data processing method and related product | |
US20220374688A1 (en) | Training method of neural network based on memristor and training device thereof | |
US10872290B2 (en) | Neural network processor with direct memory access and hardware acceleration circuits | |
US20210350233A1 (en) | System and Method for Automated Precision Configuration for Deep Neural Networks | |
JP7178513B2 (en) | Chinese word segmentation method, device, storage medium and computer equipment based on deep learning | |
CN110648348A (en) | Quantum image segmentation method based on NEQR expression | |
JP2017224027A (en) | Machine learning method related to data labeling model, computer and program | |
CN114138231B (en) | Method, circuit and SOC for performing matrix multiplication | |
CN113723589A (en) | Hybrid precision neural network | |
CN108171328A (en) | A kind of convolution algorithm method and the neural network processor based on this method | |
CN119067221A (en) | A large language model reasoning acceleration method, device, system and medium | |
CN114781628A (en) | Memristor noise-based data enhancement method and device, electronic equipment and medium | |
US20250200348A1 (en) | Model Compression Method and Apparatus, and Related Device | |
TWI758223B (en) | Computing method with dynamic minibatch sizes and computing system and computer-readable storage media for performing the same | |
CN108376283B (en) | Pooling apparatus and pooling method for neural networks | |
CN110009091B (en) | Optimization of learning network in equivalence class space | |
CN117743980A (en) | Method, device, equipment and medium for identifying branch connection status of distribution network topology diagram | |
CN117391145A (en) | A convolutional neural network quantitative reasoning optimization method and system | |
KR102765759B1 (en) | Method and apparatus for quantizing deep neural network | |
WO2020059073A1 (en) | Information processing device, method, and program | |
JP7398625B2 (en) | Machine learning devices, information processing methods and programs | |
CN114118341A (en) | Quantification method, computing device, and computer-readable storage medium | |
CN111797438A (en) | Implementation method and implementation device of physical unclonable function | |
CN115439721B (en) | Training method and device for abnormal few-sample defect classification model of electric equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220722 |