InTAR: Inter-Task Auto-Reconfigurable Accelerator Design for High Data Volume Variation in DNNs

Zifan He, Anderson Truong, Yingqi Cao, Jason Cong

TL;DR

InTAR is a novel FPGA accelerator design that addresses the massive swings in data volume (High Data Volume Variation) found in modern AI models. By automatically switching between sequential and dataflow execution modes using a schedule "hardened" into the circuit at design time, it achieves up to a 39x speedup over existing accelerators and significantly outperforms high-end GPUs in power efficiency.

What Problem Does This Paper Address?

Modern Deep Neural Networks (DNNs) like GPT-4 or Llama 2 aren't just large; they are highly variable. The amount of data produced between different layers can vary by over 170x. This "High Data Volume Variation" (HDV) creates a dilemma for hardware designers:

  1. Dataflow Accelerators stream data between specialized processing elements. This is great for memory efficiency but often leaves hardware sitting idle (pipeline stalls) when tasks have different workloads.
  2. Sequential Accelerators use all hardware for one task at a time. This is computationally efficient but forces the system to move massive amounts of intermediate data to slow, power-hungry off-chip memory (DRAM) because it won't fit in the on-chip cache.

Existing "hybrid" or reconfigurable solutions (like CGRAs) often introduce too much complexity, area overhead, and slow reconfiguration times to be practical for these fast-moving models.

Methods

The authors introduce InTAR (Inter-Task Auto-Reconfigurable Accelerator). Its core innovation is the ability to switch execution patterns automatically based on the specific needs of a task:

  • Sequential Mode: Used when intermediate data is small enough to fit on-chip. All resources work on one task to maximize throughput.
  • Task-Pipeline Mode: Used when data is too large for on-chip memory. Tasks are pipelined so data can be "streamed" directly from one task to the next without hitting off-chip DRAM.
  • Task-Parallel Mode: Used to run independent tasks simultaneously to improve data locality.

Crucially, InTAR uses Static Scheduling. Instead of a complex controller deciding what to do at runtime, the reconfiguration schedule is determined at circuit design time. This allows the hardware to be "pruned"—only the necessary logic and wires for that specific model are included. This results in a 49% reduction in logic (LUTs) and reconfiguration times that are orders of magnitude faster than traditional methods like Dynamic Partial Reconfiguration (DPR).

Datasets

The researchers evaluated InTAR using two main sets of benchmarks:

  1. Multi-task Kernels: Five common DNN components including Self-Attention, FFN layers, Multi-layer CNNs, Variational Autoencoders (VAE), and Gating Networks.
  2. Full-scale Model: The input prefilling stage of GPT-2 Medium, tested on both Alveo U280 and Versal VPK180 FPGA platforms.

They compared InTAR against state-of-the-art (SoTA) FPGA frameworks like Allo (dataflow) and DFX (sequential), as well as high-end GPUs (NVIDIA T4, A100, and AMD MI210).

Key Insights and Ideas

  • Model-Specific Optimization: By baking the schedule into the hardware, InTAR avoids the "generality tax" of CGRAs. It only includes the interconnects it actually needs for the target model, allowing for higher clock frequencies.
  • HLS-Friendly Design: The authors demonstrated that these complex reconfigurable modules can be written in High-Level Synthesis (HLS) using simple if-else statements. This allows the HLS compiler to automatically merge logic across different execution modes.
  • The "Aha" Moment on Memory: The paper realizes that the "best" execution pattern isn't a property of the hardware, but a property of the data volume at a specific point in the model. Switching modes is the only way to stay within the "sweet spot" of both PE utilization and memory bandwidth.

Key Results

  • Speedup: On the GPT-2 medium model, InTAR was 3.65x to 39.14x faster than SoTA FPGA accelerators (Allo and DFX).
  • Efficiency: InTAR achieved 1.72x to 10.44x better DSP efficiency (operations per second per DSP unit) than competitors.
  • vs. GPUs: Despite running at much lower clock speeds, InTAR demonstrated 1.66x to 7.17x better power efficiency than high-end GPUs. This is largely because it avoids the massive energy cost of frequent off-chip memory accesses that GPUs must perform.
  • Overhead: Reconfiguration in InTAR takes only 10–20 nanoseconds, which is negligible compared to the milliseconds required by other reconfigurable FPGA methods.

Limitations and Future Work

  • Manual Effort: Currently, the reconfiguration designs and schedules must be manually written by the designer based on the model's dataflow graph.
  • Automation: The authors identify the need for an automated Design Space Exploration (DSE) engine that can automatically find the optimal schedule and hardware parameters for any given DNN.
  • Scope: While focused on DNNs, the authors suggest the InTAR paradigm could be applied to other non-DNN applications that suffer from high data volume variation.

Summary updated

BibTeX
@inproceedings{he2025intar,
  author = {Zifan He and Anderson Truong and Yingqi Cao and Jason Cong},
  title = {{InTAR: Inter-Task Auto-Reconfigurable Accelerator Design for High Data Volume Variation in DNNs}},
  booktitle = {FCCM},
  year = {2025},
  url = {https://openreview.net/forum?id=OsCf2EBROH},
}

Loading related content...

Figure