Stateful Neural Network Circuit With Multi-Scale Memory Registers

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current recurrent neural networks are limited in their ability to effectively propagate information across different temporal feature scales, as they utilize a single state variable and can only remember at most a single time point in the past, making them inadequate for real-world applications requiring spatial and temporal pattern recognition.

Innovation Solution

A spatiotemporal residual recurrent network (SRRN) architecture that incorporates state data from multiple previous executions of the neural network, using a register to store and propagate information across different temporal feature scales, allowing the network to remember its history at various time scales and make more sophisticated decisions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If a single state variable is used in recurrent networks, then the network structure remains simple, but the ability to propagate information across different temporal feature scales deteriorates

Engineering Contradiction:
Improvenetwork structureVSAvoidinformation propagation capability
Core Design Contradiction:
Device complexityVSLoss of information

Solution Approach 1:

The patent divides the single state variable into multiple state variables, each responsible for capturing information at different temporal feature scales. This segmentation allows the network to maintain separate memory streams for short-term and long-term dependencies, resolving the contradiction by improving information propagation without requiring a completely complex new architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extends the state representation from one dimension (single state variable) to multiple dimensions (multiple state variables representing different temporal scales). This dimensional expansion enables the network to capture hierarchical temporal patterns while maintaining a structured and manageable network configuration.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If state data from multiple previous executions is stored and used, then pattern recognition capability improves, but memory requirements and computational overhead increase

Engineering Contradiction:
Improvepattern recognition capabilityVSAvoidmemory resources
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent implements periodic registers that store state data at different temporal intervals (e.g., every 1st, 2nd, 4th, 8th execution). This periodic sampling strategy allows the network to capture essential temporal patterns while avoiding the need to store and process every single previous state, thus improving pattern recognition without linearly increasing memory requirements.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The patent uses a selective subset of previous state data rather than all available historical states. By choosing specific temporal intervals and using learnable functions to determine which past states are most relevant, the network achieves effective pattern recognition with a manageable portion of historical information, balancing reliability with resource constraints.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12462350B2Circuit for executing stateful neural network
Publication Date: 2025.11.04 AMAZON COM SERVICES LLC
  • US12462350B2 patent drawing
  • US12462350B2 patent drawing
  • US12462350B2 patent drawing

AI summary

Some embodiments provide a neural network inference circuit for executing a neural network that includes multiple nodes that use state data from previous executions of the neural network. The neural network inference circuit includes (i) a set of computation circuits configured to execute the nodes of the neural network and (ii) a set of memories configured to implement a set of one or more registers to store, while executing the neural network for a particular input, state data generated during at least two executions of the network for previous inputs. The state data is for use by the set of computation circuits when executing a set of the nodes of the neural network for the particular input.