Sparse by Command: Task-Conditional Compute Skipping for Multi-Task Inference Accelerators
Afzal Ahmad, Gaoyu Mao, Shoubo Hu, Hui-Ling Zhen, Mingxuan Yuan, Xinyu Chen, Wei Zhang
Abstract
Multi-task inference models share a single backbone across diverse tasks, yet execute identical computation regardless of which task is active - wasting energy and cycles on task-irrelevant operations. We observe that the task command, typically available before inference begins, provides a free signal that can be exploited to skip unnecessary computation at the hardware level. We present a HW/SW co-designed approach in which a lightweight gating network, trained jointly with the backbone, predicts per-tile binary execution masks conditioned on the task input. Each tile corresponds to a fixed group of output channels (the native scheduling granularity of the accelerator), enabling masked tiles to be skipped with zero overhead. This yields a task-dependent reduction in compute, where each command activates only the subset of the network it requires, without changes to the model architecture or inference pipeline. We co-design the full system stack: a command-conditioned training procedure that learns hardware-aligned tile masks under a sparsity objective; an instruction set architecture whose instructions carry per-tile bitmask fields, allowing the hardware to skip masked tiles without software intervention; and a tiled inference accelerator with configurable parallelism, double-buffered memory, and INT8 datapath that natively supports sparse tile execution. We prototype on an AMD/Xilinx Alveo U50 FPGA and evaluate on a closed-loop visuomotor driving task in CARLA autonomous driving simulator. Task-conditional sparsity reduces FLOPs by 66-76% while maintaining driving quality. On-device latency decreases by 51-59%, from 9.12 ms to 3.74-4.44 ms (2.1-2.4x speedup), with energy per inference dropping from 263 to 108-128mJ.
Create a lesson
Metadata
- Categories
- cs.AR, cs.AI
- Comments
- Accepted at IEEE/ACM International Symposium on Microarchitecture (MICRO 2026)
Related papers
Chimera: A Configurable LLM Decode Accelerator Architecture with Compute-Memory-Floorplan Co-Design for HBM-Equipped Multi-Die FPGAs
Shared title terminologycs.ARZhiheng Chen, Yifan Zhang, Yu-An Chou et al.
Cloud to Edge: Benchmarking LLM Inference On Hardware-Accelerated Single-Board Computers
Shared title terminologycs.ARHarri Renney, Fouad Trad, Michael Mattarock et al.
A Low-Power Sparse Convolution Accelerator with Idle-First-Task-Assignment for Edge Vision
Shared title terminologycs.ARJingyue Zhuge, Johannes Partzsch, Christian Mayr
BRIM: Workload-Balanced Dual-Sided Bit-Serial Sparse Inference Accelerator
Shared title terminologycs.ARVarun Manjunath, Ruokai Yin, Donghyun Lee et al.
Exploring the Potential of Ultra-Low-Bit Inference on LLM Accelerators
Shared title terminologycs.ARHao Wang, Yang Shi, Jiageng Shi et al.
Acceleration of Sparse and Irregular Workloads through Energy-Efficient Stream Extensions
Shared title terminologycs.ARPaul Scheffler