Spiking Patches: Asynchronous, Sparse, and Efficient Tokens for Event Cameras
The paper introduces "Spiking Patches," an asynchronous and sparse tokenization method for event cameras that preserves their unique properties while achieving faster inference and comparable or superior accuracy to existing frame and voxel-based approaches across various vision tasks.
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
Robots and self-driving cars have long relied on standard cameras that capture the world like a movie camera, taking a complete picture of a scene every fraction of a second. This method works well for many things, but it creates a heavy burden of data, much of which is just empty space or unchanged background. A newer type of sensor, known as an event camera, operates on a different principle. Instead of taking full pictures, it only records changes. When a pixel on the sensor notices a shift in brightness, it sends a single signal, or event, at that exact moment. This means the camera produces a stream of isolated signals that are asynchronous, happening whenever something changes, rather than in a fixed rhythm. It also means the data is sparse, containing only the information about where movement or change occurred, leaving the rest of the scene silent. While this approach is incredibly efficient and fast, it has been difficult to feed this unique stream of data into the artificial intelligence models that robots use to understand their surroundings.
For years, researchers have tried to solve this by forcing these asynchronous signals into the old, familiar format of standard images. They would group the events into fixed time windows to create a frame, much like stitching together a series of snapshots. However, this process destroys the very qualities that make event cameras special. By waiting for a fixed time to pass before creating an image, the system loses the ability to react instantly to sudden changes, and by filling in the empty spaces, it loses the efficiency of having only the relevant data. A team of researchers at the Technical University of Denmark has now proposed a different way forward. They developed a new method called Spiking Patches, which treats groups of these changing signals as single units of information without forcing them into a rigid, time-based grid. This approach allows the data to remain asynchronous and sparse, preserving the speed and efficiency of the original sensor while making it compatible with powerful modern AI models.
The researchers designed their system by looking at how biological neurons work. In the brain, a neuron waits until it receives enough signals to reach a certain threshold before it fires a spike. The team applied this same logic to the event camera data. They divided the camera's view into a grid of small squares, or patches. As events arrive, they accumulate within each patch, raising a virtual potential. Once the number of events in a patch reaches a specific limit, the patch "fires," creating a token that represents that group of events. This token is then sent to the AI model for processing. Crucially, this firing happens independently for each patch and at the exact moment the threshold is reached, rather than waiting for a clock to tick. This means the system can react to a fast-moving object the instant enough events accumulate, without waiting for a full frame to be built.
To test if this idea worked in practice, the team compared their Spiking Patches against the two most common ways of handling event data: standard frames and 3D blocks of data called voxels. They tested the method on three different types of AI architectures, including networks designed for graphs, point clouds, and transformers, using tasks like recognizing hand gestures and detecting cars in driving footage. The results were striking. In terms of speed, the new method was significantly faster than the alternatives. When recognizing gestures, the Spiking Patches system was up to 3.4 times faster than the voxel method and up to 10.4 times faster than the frame-based method. This speedup came without sacrificing accuracy; in many cases, the new method was just as accurate as the older ones, and in some instances, it was even more accurate, improving gesture recognition by up to 3.8 percentage points and object detection by up to 1.4 percentage points.
The study also confirmed that the method successfully kept the data sparse and asynchronous. The researchers measured how quickly the system could gather enough information to react to a scene compared to the raw stream of events. They found that the Spiking Patches system could react almost as quickly as the raw events themselves, with only a tiny delay of a few milliseconds, whereas the frame-based methods were forced to wait for a fixed time interval, introducing a much longer lag. Furthermore, the new method reduced the amount of data the computer had to process by a factor of at least 1.5 compared to frames and voxels, and in some cases, by hundreds of times compared to the raw event stream. This reduction in data size is what allows the system to run so much faster, as the computer has fewer items to analyze.
One of the most practical aspects of this discovery is that the system is fast enough to handle real-time applications. The researchers implemented the tokenization process in a programming language known for its speed and found that the system could generate tokens faster than new events were arriving at the camera. This means the system can keep up with the flow of information in real-world scenarios, such as a car driving down a highway, without falling behind. The team also explored how different settings affected the performance, finding that they could adjust the sensitivity of the system to trade off between the number of tokens generated and the precision of the result. For example, by introducing a brief pause after a patch fires, they could reduce the number of tokens by four times while keeping the accuracy nearly the same.
While the results are promising, the researchers note that the method requires careful tuning of the threshold that triggers a token. If the threshold is set too low, the system might fire too often, creating too much data. If it is set too high, it might miss important details. The team suggests that future work could focus on making this threshold adapt automatically to the scene. They also plan to test the method on other types of tasks, such as tracking moving objects or calculating the flow of motion in a scene. For now, however, the work demonstrates that it is possible to bridge the gap between the unique, asynchronous nature of event cameras and the powerful AI models that drive modern robotics. By treating groups of events as single, meaningful units, the researchers have shown that we can keep the speed and efficiency of event cameras without losing the ability to use the most advanced tools in artificial intelligence.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.