Efficient Transformer Attention for SNNs via Hadamard Simplification
Abstract
Lay Summary
Artificial intelligence (AI) is becoming more powerful, but many AI models consume too much energy to run on small devices like phones or robots. This is a challenge for applications that need to work locally on battery power. Inspired by the brain, a class of AI models called "spiking neural networks" uses short electrical pulses to process information, making them naturally energy-efficient. However, the most accurate AI models today, called Transformers, are too complex to run efficiently on this brain-inspired hardware. In this paper, we simplify the Transformer design to work better with spiking neural networks. We replace heavy computations with much lighter operations, reducing the amount of data that needs to move around inside the chip. Our new design matches the accuracy of existing models while using significantly less energy, making it more suitable for real-world applications on low-power devices.