The Shape That Breaks the Array: Exact Worst-Case Utilisation Certificates over Declared Matrix-Shape Classes, with Block-Scan Proofs, Witness Shapes and Min-Max Selection for AI-Designed Systolic Accelerators
Design agents that size AI accelerators score candidates on benchmark matrix shapes or on random samples of shapes, and then report average utilisation. Neither tells the buyer of the accelerator how badly it can do on a shape that its software will meet. This paper gives an exact, cheap answer for the compute utilisation of a weight-stationary systolic array over a declared class of matrix shapes (ranges and granularity for each dimension). The utilisation factorises into three one-dimensional factors, so the worst case over the class is the product of three one-dimensional minima. Each minimum is found by a block scan with a stopping rule that proves optimality. The result is a certificate: the worst utilisation, a witness shape that attains it, and a proof that needs a handful of evaluations instead of the whole class. The certificate then turns design selection into a min-max problem. For a class of almost 500 million shapes the certificate needs 5 evaluations per design, and it agreed exactly with brute force on six designs over a coarser sub-class. The worst utilisation seen in 1000 random shapes overstated the certified worst case by a median factor of 1.39 and up to 1.94 over 171 designs. The min-max design (56 by 72) has a certified worst-case utilisation of 0.235 against 0.227 for the mean-optimal 64 by 64 array, at a cost of 1.1 percent in mean effective throughput. All numbers come from CPU runs of a 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.24762451
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- preprint