Analog Softmax Circuit for Attention Computation

INVENTION REFERENCE NUMBER

202606343

  • SI-Enabled Technologies
This close-up shot showcases the intricate details of a computer motherboard and its components. The image highlights the motherboard's various ports, connectors, and integrated circuits, as well as the colorful wires connecting the various parts.

This technology provides an analog approach for softmax computation in neural-network hardware, addressing the power, latency, circuit area, and data-movement demands associated with conventional digital implementations. The integrated design processes multiple neural-network signals and generates normalized outputs directly in hardware while reducing reliance on complex digital arithmetic and repeated data conversion. The technology is suitable for integration with computing-in-memory systems, mixed-signal accelerators, neuromorphic hardware, and other neural-network processors requiring fast, scalable normalization.

Description

Softmax computation is widely used in attention mechanisms, classification, probabilistic inference, reinforcement learning, and other artificial intelligence and machine-learning applications that require normalized outputs. Conventional digital implementations can require substantial arithmetic circuitry, lookup operations, and repeated data conversion, while existing analog approaches may face limitations related to operating range, precision, or scalability.
ORNL’s technology uses an integrated analog architecture to convert multiple neural-network outputs into normalized values without requiring separate digital units for each stage of the computation. The approach uses shared analog and time-domain processing to generate and normalize intermediate signals, reducing duplicated hardware and the need for repeated analog-to-digital and digital-to-analog conversions. The architecture can interface with computing-in-memory arrays and other analog or mixed-signal neural-network accelerators. It is also scalable to accommodate different input sizes and processing requirements. The current implementation completes a full softmax operation in approximately 280 nanoseconds.

Benefits

  • Low-latency softmax computation
  • Reduced digital arithmetic and data-conversion requirements
  • Lower power and circuit-area demands
  • Scalable architecture for different input sizes
  • Compatible with analog, mixed-signal, and computing-in-memory systems

Applications and Industry

  • SI and machine-learning accelerators
  • Transformer and attention-processing hardware
  • Computing-in-memory systems
  • Neuromorphic and mixed-signal processors
  • Classification and probabilistic inference
  • Mixture-of-experts and reinforcement-learning systems


Contact

To learn more about this technology, email [email protected] or call 865-574-1051.