Flexibility or Foresight? Separating the Value of a Correct Design-Time Choice from the Value of Run-Time Reconfigurability, with Break-Even Area Overheads, for AI Agents that Choose Accelerator Dataflows
When the future workload of an AI accelerator is uncertain, a design agent can hedge in two ways: choose the fixed architecture that is best in expectation (foresight), or build in the ability to switch at run time (flexibility), which costs area. Design discussions often merge the two, and flexibility is credited with gains that a correct fixed choice would have delivered for free. This paper proposes a valuation that separates them. Over a forecast distribution of workloads, it computes the throughput loss of each fixed choice against a per-phase run-time optimum. The value of foresight is the gap between the wrong and the right fixed choice. The value of flexibility is the gap between the right fixed choice and the run-time optimum, and that gap is also the break-even area overhead above which flexibility does not pay. The method is applied to switching a systolic array between weight-stationary and output-stationary dataflows for transformer prefill and decode, in a simplified analytical model. Across forecasts with mean decode shares from 0.1 to 0.9, choosing the wrong fixed dataflow costs 4.5 to 12 percent of throughput. The right fixed choice, output-stationary in all cases here, leaves only 0.06 to 1.5 percent for run-time switching. Switching therefore pays only if its area overhead stays below 1.5 percent, and at a high decode share below 0.1 percent. Output-stationary is the right fixed choice because decode, which dominates the cycles, favours it at every batch, by up to 57 percent at batch 256; switching helps only the minor prefill phase. All numbers come from CPU runs of the simplified model. Concept and methods paper. Numerical illustrations were produced by the author on a CPU with numpy, using a simplified model with illustrative parameters; they illustrate the method and are not hardware measurements; no GPU was used. Any other numerical values quoted come from the cited sources. Self-drawn figures (scripts/make_figs.py). AI-assisted drafting; the author is responsible for the content.
Authors
- I-Wei Tseng
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-02
- DOI
- https://doi.org/10.5281/zenodo.24762635
- Primary Topic
- Embedded Systems Design Techniques
- Type
- preprint