← Latest papers
🤖 AI

Sparse by Command: Task-Conditional Compute Skipping for Multi-Task Inference Accelerators

This paper presents "Sparse by Command," a hardware-software co-designed approach that leverages task commands to dynamically skip unnecessary computation via lightweight gating networks and a specialized tiled accelerator, achieving up to 76% FLOP reduction and 2.4x latency speedup for multi-task inference without altering model architecture.

Original authors: Afzal Ahmad, Gaoyu Mao, Shoubo Hu, Hui-Ling Zhen, Mingxuan Yuan, Xinyu Chen, Wei Zhang

Published 2026-07-27
📖 4 min read☕ Coffee break read

Original authors: Afzal Ahmad, Gaoyu Mao, Shoubo Hu, Hui-Ling Zhen, Mingxuan Yuan, Xinyu Chen, Wei Zhang

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 the conductor of a massive, high-tech orchestra. In the world of artificial intelligence, this orchestra is a "neural network," a brain-like computer program designed to make decisions. Usually, when this orchestra plays a piece of music, every single musician picks up their instrument and plays, no matter what kind of song is being performed. If the song is a gentle lullaby, the heavy drums and blaring trumpets still play at full volume, even though the song doesn't need them. This is incredibly wasteful. It uses up a lot of energy and takes a long time, just like driving a giant truck to the corner store to buy a single apple.

In the specific field of "multi-task inference," this problem is even bigger. Here, one single computer brain is asked to do many different jobs at once, like steering a car, braking, or turning left. The problem is that the computer doesn't know which job it's doing until it starts working, so it prepares for all jobs at once, wasting power on things it doesn't need. Scientists have tried to fix this by making the computer "sparse," which is a fancy word for "empty." They've tried to tell the computer to skip some notes, but usually, the computer still has to check every single note to see if it should skip it, which takes time and energy. This paper asks a simple question: What if the computer knew exactly which job it was going to do before it started playing, so it could tell the musicians to put down their instruments before they even picked them up?

The authors of this paper, a team from Hong Kong and Huawei, have built a clever new system called "Sparse by Command" that solves this problem. They realized that in tasks like autonomous driving, the "command" (like "turn left" or "brake") is known way before the computer starts looking at the road. They used this free piece of information to create a smart switchboard. Instead of the computer guessing which parts of its brain to use, a tiny, super-fast helper network looks at the command and instantly flips a switch to turn off the specific parts of the main brain that aren't needed for that moment.

Think of it like a smart home. If you tell your house "I'm going to bed," the system doesn't just dim the lights in the living room; it knows you aren't in the kitchen, so it cuts the power to the kitchen lights entirely before you even walk in. The authors built a special computer chip (on an FPGA, which is like a programmable Lego board for electronics) that understands these switches. When the command says "brake," the chip skips 76% of the work. When it says "turn left," it skips about 71%. Because the chip physically stops the work from happening instead of just pretending to do it, it saves a massive amount of time and battery power.

The results are quite impressive. When they tested this on a simulated driving game called CARLA, the system became much faster. The time it took to make a decision dropped from 9.12 milliseconds down to between 3.74 and 4.44 milliseconds. That is a speedup of about 2.1 to 2.4 times! It also used less than half the energy, dropping from 263 millijoules to around 108–128 millijoules per decision. Crucially, the car didn't crash or get lost; it still completed 100% of the driving routes perfectly.

The paper also shows why this approach is better than older methods. They tried to just "prune" (cut out) parts of the brain permanently, like removing the drums from the orchestra forever. But that didn't work well because sometimes you need the drums, and sometimes you don't. If you remove them permanently, the orchestra can't play the songs that need them. The "Sparse by Command" system is smarter because it keeps all the musicians ready but only calls them in when the specific song needs them. They even tested this on a different type of computer brain (a Transformer) and found it worked there too, suggesting this idea could be used for many different kinds of smart machines, not just cars.

In short, this paper proves that if you give a computer a clear instruction about what it's supposed to do, you can tell it to skip all the busywork it doesn't need. By building a custom chip that listens to these instructions and physically skips the unnecessary work, they made a smart system that is faster, cheaper to run, and just as good at its job. It's a reminder that sometimes, the best way to be efficient isn't to work harder, but to know exactly what not to do.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →