LSTM MAC Circuit with Threshold-Based Input Reuse

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

LSTM neural networks suffer from long latencies and inefficiencies due to repeated calculations of unchanged input values across consecutive time steps, leading to wasted power and time consumption.

Innovation Solution

Implementing an improved MAC circuit within LSTM cells that stores previously calculated weight and input value product terms, allowing multiplication operations to be skipped if input values change by less than a threshold, and performing fresh calculations only when necessary.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If traditional MAC circuits perform multiplication operations at every time step, then computational accuracy is maintained, but power consumption and latency increase due to redundant calculations

Engineering Contradiction:
Improvepower consumptionVSAvoidcomputational efficiency
Core Design Contradiction:
Loss of energyVSProductivity

Solution Approach 1:

The patent implements a storage element that retains the previous input value and a comparator that checks whether the current input differs from the previous input before triggering multiplication operations. This preliminary check prevents redundant calculations when inputs remain unchanged, directly reducing power consumption while maintaining computational accuracy when needed.

Inventive Principle:
Principle #10Preliminary action

2Loss of time

If multiplication operations are performed at every time step, then computational accuracy is ensured, but processing time increases due to unnecessary calculations

Engineering Contradiction:
Improvecomputational latencyVSAvoidcomputational accuracy
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent extracts the essential computational step (multiplication) from the continuous time-step processing by introducing a conditional trigger mechanism. The comparator isolates the decision logic, and the storage element isolates the state retention, allowing multiplication to occur only when explicitly triggered by actual input changes, thereby reducing latency without compromising accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If selective input computation is implemented, then power consumption and latency are reduced, but device complexity increases due to additional circuit components

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidcircuit complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent segments the MAC circuit into distinct functional modules: a storage element for retaining previous input values, a comparator for detecting input changes, and the multiplication unit that operates conditionally. This segmentation allows each component to perform a specific function efficiently, and the modular structure enables selective activation of computational resources, improving overall efficiency despite increased component count.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12361269B2LSTM circuit with selective input computation
Publication Date: 2025.07.15 INTEL CORP
  • US12361269B2 patent drawing
  • US12361269B2 patent drawing
  • US12361269B2 patent drawing

AI summary

An apparatus is described. The apparatus includes a long short term memory (LSTM) circuit having a multiply accumulate circuit (MAC). The MAC circuit has circuitry to rely on a stored product term rather than explicitly perform a multiplication operation to determine the product term if an accumulation of differences between consecutive, preceding input values has not reached a threshold.