IP Library › Granted Patent US 12,307,373
Granted Patent B2
US 12,307,373 · App. 17/336,250 · Granted May 20, 2025

Partial-activation of neural network based on heat-map of neural network activity

Inventors: Eli David (Tel Aviv, IL); Eri Rubin (Tel Aviv, IL)
Assignee: Nano Dimension Technologies, Ltd.
G06N3/082G06F18/211G06N3/045G06N3/063G06N3/08G06N3/084G06N5/04G06N5/046G06V10/454G06V10/82
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,307,373
App. No.
17/336,250
Filed
Jun 1, 2021
Granted
May 20, 2025
Kind
B2
Art Unit
2148
USPC
706/25
Abstract

A device, system, and method for training or prediction of a neural network. A current value may be stored for each of a plurality of synapses or filters in the neural network. A historical metric of activity may be independently determined for each individual or group of the synapses or filters during one or more past iterations. A plurality of partial activations of the neural network may be iteratively executed. Each partial-activation iteration may activate a subset of the plurality of synapses or filters in the neural network. Each individual or group of synapses or filters may be activated in a portion of a total number of iterations proportional to the historical metric of activity independently determined for that individual or group of synapses or filters. Training or prediction of the neural network may be performed based on the plurality of partial activations of the neural network.

Claims (49)

1. A method for training or prediction of a neural network, the method comprising:

storing a current value of each of a plurality of synapses or filters in a neural network;

generating a heat map comprising a historical metric of activity for each individual or group of one or more of the synapses or filters during one or more past iterations;

iteratively executing a plurality of partial activations of the neural network, wherein each partial-activation iteration activates a subset of the plurality of synapses or filters in the neural network based on the heat map of historical metrics of activity of the synapses or filters, wherein the synapses or filters in hot spots of the heat map that were activated with relatively high weights or frequencies during the one or more past iterations are activated more often in the partial-activation iterations than synapses or filters activated in cold spots of the heat map that were activated with relatively low weights or frequencies during the one or more past iterations; and

performing training or prediction of the neural network based on the plurality of partial activations of the neural network.

2. The method of claim 1 , wherein the historical metric of activity is selected from the group consisting of: a frequency that each individual or group of synapses or filters was activated in one or more past iterations, a magnitude of the synapse or filter weights in one or more past iterations, a magnitude of a change in the synapse or filter weights in one or more past error correction iterations, an average median or standard deviation of any of those measures, and a value derived from any individual or combination thereof.

3. The method of claim 1 comprising dynamically updating the historical metrics of activity periodically or each iteration or time an individual or group of synapses or filters is activated.

4. The method of claim 3 comprising displaying a moving image of the heat map comprising a sequence of frames visualizing the dynamically updated historical metrics of activity over a sequence of one or more respective iterations.

5. The method of claim 1 comprising, during training, performing a plurality of backward pass error correction iterations to correct each individual or group of activated synapses or filters.

6. The method of claim 1 comprising, during training or prediction:

performing a plurality of forward pass inference iterations to generate a plurality of partial outputs, respectively, in which each individual or group of synapses or filters is computed in the portion of the total number of inference iterations; and

aggregating the plurality of partial outputs to generate an aggregated output approximating an output generated by fully-activating the neural network by executing a single instance of all synapses or filters of the neural network.

7. The method of claim 6 , wherein the synapses or filters activated in the plurality of inference iterations cumulatively span only a subset of all the synapses or filters of the neural network such that a plurality of the remaining synapses or filters are not activated.

8. The method of claim 1 comprising determining the subset of the plurality of synapses or filters to activate based on an input into the neural network.

9. The method of claim 1 , wherein synapses or filters are activated in discrete groups selected from the groups consisting of: sequences of synapses or filters forming neural network pathways linking a continuous sequence of synapses or filters from an input layer to an output layer, groups of synapses each directly connected to a neuron, and groups of filters each directly connected to a group of neurons in a convolutional neural network.

10. The method of claim 1 comprising performing a hybrid combination of partially-activating and fully-activating the neural network for different iterations, layers, filters, channels, or modes of operation.

11. The method of claim 10 comprising alternating between partially-activating and fully-activating the neural network according to a predetermined schedule.

12. The method of claim 10 comprising switching between partially-activating and fully-activating the neural network when a measure of error or accuracy crosses a threshold.

13. The method of claim 1 comprising reactivating an individual or group of synapses or filters that are inactive for a greater than threshold time or number of iterations.

14. The method of claim 1 comprising initiating training or prediction by fully activating all synapses or filters of the neural network and incrementally deactivating individual or groups of synapses or filters with below threshold historical metrics of activity.

15. The method of claim 1 comprising initiating training or prediction by partially activating a random or semi-random subset of synapses or filters of the neural network and activating additional synapses or filters with above threshold historical metrics of activity and deactivating synapses or filters with below threshold historical metrics of activity.

16. The method of claim 1 comprising generating a sparse neural network by pruning or eliminating synapses or filters with below threshold historical metrics of activity or above threshold numbers of deactivated iterations.

17. The method of claim 1 comprising tuning the portion of total iterations in which the individual or group of synapse or filters are activated.

18. The method of claim 1 comprising:

partially activating the neural network only during training and fully-activating the neural network only during prediction,

partially activating the neural network only during prediction and fully-activating the neural network only during training mode, or

partially activating the neural network during both training and prediction.

19. A system for training or prediction of a neural network, the system comprising:

one or more memories to store a current value of each of a plurality of synapses or filters in the neural network;

one or more processors configured to:

generate a heat map comprising a historical metric of activity for each individual or group of one or more of the synapses or filters during one or more past iterations,

iteratively execute a plurality of partial activations of the neural network, wherein each partial-activation iteration activates a subset of the plurality of synapses or filters in the neural network based on the heat map of historical metrics of activity of the synapses or filters, wherein the synapses or filters in hot spots of the heat map that were activated with relatively high weights or frequencies during the one or more past iterations are activated more often in the partial-activation iterations than synapses or filters activated in cold spots of the heat map that were activated with relatively low weights or frequencies during the one or more past iterations, and

train or predict using the neural network based on the plurality of partial activations of the neural network.

20. The system of claim 19 , wherein the historical metric of activity is selected from the group consisting of: a frequency that each individual or group of synapses or filters was activated in one or more past iterations, a magnitude of the synapse or filter weights in one or more past iterations, a magnitude of a change in the synapse or filter weights in one or more past error correction iterations, an average median or standard deviation of any of those measures, and a value derived from any individual or combination thereof.

21. The system of claim 19 , wherein the one or more processors are configured to dynamically update the historical metrics of activity periodically or each iteration or time an individual or group of synapses or filters is activated.

22. The system of claim 19 , wherein the one or more processors are configured to visualize, on a display device, a moving image of the heat map comprising a sequence of frames showing the dynamically updated historical metrics of activity over a sequence of one or more respective iterations.

23. The system of claim 19 , wherein the one or more processors are configured to, during training, perform a plurality of backward pass error correction iterations to correct each individual or group of activated synapses or filters.

24. The system of claim 19 , wherein the one or more processors are configured to, during training or prediction:

perform a plurality of forward pass inference iterations to generate a plurality of partial outputs, respectively, based on computations of each individual or group of activated synapses or filters, and

aggregate the plurality of partial outputs to generate an aggregated output approximating an output generated by fully-activating the neural network by executing a single instance of all synapses or filters of the neural network.

25. The system of claim 19 , wherein the one or more processors are configured to determine the subset of the plurality of synapses or filters to activate based on an input into the neural network.

26. The system of claim 19 , wherein the one or more processors are configured to activate the synapses or filters in discrete groups selected from the groups consisting of: sequences of synapses or filters forming neural network pathways linking a continuous sequence of synapses or filters from an input layer to an output layer, groups of synapses each directly connected to a neuron, and groups of filters each directly connected to a group of neurons in a convolutional neural network.

27. The system of claim 19 , wherein the one or more processors are configured to perform a hybrid combination of partially-activating and fully-activating the neural network for different iterations, layers, filters, channels, or modes of operation.

28. The system of claim 19 , wherein the one or more processors are configured to generate a sparse neural network by pruning or eliminating synapses or filters with below threshold historical metrics of activity or above threshold numbers of deactivated iterations.

29. The system of claim 19 , wherein the one or more processors are configured to tune the portion of total iterations in which the individual or group of synapse or filters are activated.

30. The system of claim 19 , wherein the one or more processors are configured to:

partially-activate the neural network only during training and fully-activate the neural network only during prediction,

partially-activate the neural network only during prediction and fully-activate the neural network only during training mode, or

partially-activate the neural network during both training and prediction.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 13, 2023
From: DEEPCUBE LTD.
To: NANO DIMENSION TECHNOLOGIES, LTD.
Reel/Frame 062959/0764 →
CHANGE OF NAME Recorded Oct 31, 2022
From: DEEPCUBE LTD.
To: NANO DIMENSION TECHNOLOGIES, LTD.
Reel/Frame 061594/0895 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 2, 2021
From: DAVID, ELI; RUBIN, ERI
To: DEEPCUBE LTD.
Reel/Frame 056413/0595 →
Continuity (2)
Continuation 16916543 · Jun 30, 2020
Related Publication 20210406692A1 · Dec 30, 2021
References Cited (36)
US 7814038B1 · Repici · 2010 [cited by applicant]
US 10339450B2 · David · 2019 [cited by applicant]
US 10366322B2 · David et al. · 2019 [cited by applicant]
US 10515306B1 · David et al. · 2019 [cited by applicant]
US 10878321B2 · David et al. · 2020 [cited by applicant]
US 20160321540A1 · Towal · 2016 [cited by applicant]
US 20180174023A1 · Imam · 2018 [cited by examiner]
US 20200209810A1 · Bazhenov · 2020 [cited by examiner]
US 20200265304A1 · Nagaraj Chandrashekar · 2020 [cited by examiner]
US 20210089841A1 · Mithun et al. · 2021 [cited by applicant]
US 20210097132A1 · Dimanov · 2021 [cited by examiner]
JP 1995319509 · 1995 [cited by applicant]
JP 20208993 · 2020 [cited by applicant]
KR 1020210123402A · 2021 [cited by applicant]
TW 201706918A · 2017 [cited by applicant]
TW 201944283A · 2019 [cited by applicant]
Isanta Navarro, Roger. “Study of a neural network-based system for stability augmentation of an airplane.” (2013). (Year: 2013). [cited by examiner]
Downing, Keith L. “Learning via Synaptic Tuning.” (2015): 231-274. (Year: 2015). [cited by examiner]
Friedrich, Johannes, and Máte Lengyel. “Goal-directed decision making with spiking neurons.” Journal of Neuroscience 36.5 (2016) : 1529-1546. (Year: 2016). [cited by examiner]
Demin, Vyacheslav, and Dmitry Nekhaev. “Recurrent spiking neural network learning based on a competitive maximization of neuronal activity.” Frontiers in neuroinformatics 12 (2018): 79. (Year: 2018). [cited by examiner]
Sun, Xiaoyu, et al. “Fully parallel RRAM synaptic array for implementing binary neural network with (+ 1,−1) weights and (+ 1, 0) neurons.” 2018 23rd Asia and South Pacific Design Automation Conference (ASP-DAC). IEEE, … [cited by examiner]
Gomez, Aidan N., et al. “Learning sparse networks using targeted dropout.” arXiv preprint arXiv:1905.13678 (2019). (Year: 2019). [cited by examiner]
Rennie, Steven J., Vaibhava Goel, and Samuel Thomas. “Annealed dropout training of deep networks.” 2014 IEEE Spoken Language Technology Workshop (SLT). IEEE, 2014. (Year: 2014). [cited by examiner]
Office Action for Taiwan Application No. 110123505 dated Jun. 2, 2022. [cited by applicant]
Taiwan Search Report and Office Action for Appl. No. 110123505 dated Jun. 20, 2022. [cited by applicant]
Bellec Guillaume et al.: “Deep Rewiring: Training Very Sparse Deep Net-Works”, Aug. 7, 2018 (Aug. 7, 2018), pp. 1-24,XP055832112, Retrieved from the Internet: URL:https://arxiv.org/pdf/1711.05136.pdf [retrievedonAug. 16… [cited by applicant]
Dai Xiaoliang et al:“NeST:A Neural Network Synthesis Tool Based on a Grow- and-Prune Paradigm”, Ieeetransactionsoncomputers, IEEE,USA, vol. 68, No. 10, Oct. 1, 2019 (Oct. 1, 2019), pp. 1487-1497,XP011744527, ISSN:0018-9… [cited by applicant]
European Search Report for Pat. Appl. No. 21178886.4 dated Feb. 8, 2022. [cited by applicant]
Korean Office Action for Pat. Appl. No. 10-2021-0084754 dated Nov. 29, 2021. [cited by applicant]
Korean Notice of Allowance for Pat. Appl. No. 10-2021-0084754 dated Feb. 9, 2022. [cited by applicant]
Japanese Office action for Pat. Appl. No. 2021-102518 dated Oct. 26, 2021. [cited by applicant]
Navarro, Roger Isanta, “Study of a neural network-based system for stability augmentation of an airplane”, Sep. 2013, Escola Tecnica Superior d'Enginyeries Industrial Aeronautica de Terrassa, Universitat Politecnica De … [cited by applicant]
Sun et al., “Testing deep neural networks”, Mar. 10, 2018, arXiv preprint arXiv:1803.04792. [cited by applicant]
Sun, Xiaoyu, Xiaochen Peng, Pai-Yu Chen, Rui Liu, Jae-sun Seo, and Shimeng Yu. “Fully parallel RRAM synaptic array for implementing binary neural network with(+ 1,− 1) weights and(+ 1, 0) neurons.” In 2018 23rd Asia and… [cited by applicant]
Friedrich, Johannes, and Mate Lengyel. “Goal-directed decision making with spiking neurons.” Journal of Neuroscience 36, No. 5 (2016): 1529-1546. (Year: 2016). [cited by applicant]
Downing, Keith L. “Learning via Synaptic Tuning.” Chapter 10, pp. 231-274. (2015) (Year: 2015). [cited by applicant]