Native Multi-Dimensional Subquadratic Operators via Input Dependent Long Convolutions
This paper introduces HyenaND, a subquadratic, input-dependent operator that applies global convolutions directly to native multi-dimensional data structures to overcome the limitations of standard attention and recurrent models, achieving competitive accuracy and significant speedups through a specialized CUDA implementation.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to teach a super-smart robot to understand the world. Right now, the best robots use a tool called "attention" to look at everything at once, like a student scanning a whole page of text to find the most important words. This works great for short stories, but if you give the robot a whole library, a 3D movie, or a complex weather map, the "attention" tool gets overwhelmed. It has to compare every single piece of data with every other piece, which takes so much time and energy that the robot crashes or has to squint at the data through a tiny keyhole (a process called "patchification") just to survive.
To fix this, scientists have been trying to build faster tools. One popular idea is to use "recurrent" models, which read data like a line of text, one word after another. But this is like trying to understand a 3D sculpture by only looking at it from one angle and then guessing the rest; it destroys the natural shape of the object. Another idea is to use "convolutions," which are like sliding a magnifying glass over an image to spot patterns. These are fast and keep the 3D shape intact, but they usually act like a rigid stamp, applying the exact same pattern to every part of the image without paying attention to what's actually there. The big question in this corner of computer science is: Can we build a tool that is fast enough to handle massive 3D data, keeps the natural shape of that data, and is smart enough to change its "magnifying glass" based on what it sees?
This paper introduces a new tool called HyenaND that says "yes." Think of HyenaND as a magical, shape-shifting magnifying glass that can slide over a 3D object (like a medical scan or a weather simulation) without ever flattening it into a 1D line. Unlike the rigid stamps of the past, this tool can look at the whole object first, decide what kind of pattern it needs to find, and then instantly adjust its lens to match. It does this using a clever math trick involving "Fourier transforms" (a way of turning images into sound waves to process them faster) that keeps the speed super high, growing only slightly slower as the data gets bigger, rather than exploding in cost.
The authors found that HyenaND is a game-changer for handling complex, multi-dimensional data. In their tests, they showed that HyenaND can handle tasks that would make standard "attention" tools crash due to memory limits, such as analyzing 3D medical images or simulating fluid dynamics. When they tested it on a "copying" game where the robot had to remember a specific color from a 3D grid, HyenaND was thousands of times more accurate than the old methods. They also built a special software engine called nSubQ to make sure this math trick runs lightning-fast on real computer chips, turning theoretical speed into actual time savings.
The paper suggests that while HyenaND is incredibly powerful on its own, it works even better when paired with the old "attention" tools in a hybrid team. In experiments with DNA sequences, computer vision (ImageNet), and medical imaging, these hybrid teams beat both pure attention models and other fast models that try to read data in a line. The authors argue that we don't need to choose between speed and intelligence anymore; we can have a tool that respects the 3D geometry of our data, scales to massive sizes, and still pays close attention to the details. They conclude that this approach removes a major bottleneck, allowing future AI to finally "see" the world in its native, high-resolution 3D glory without having to squint through a tiny keyhole.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.