A-IO: Adaptive Inference Orchestration for Memory-Bound NPUs
Organizations: Hunan University Changsha, China
Abstract
During the deployment of Large Language Models (LLMs), the autoregressive decoding phase on heterogeneous NPU platforms (e.g., Ascend 910B) faces severe memory-bound challenges. This study reveals the ``Model Scaling Paradox'' caused by the static deployment of single-sized models. It also points out the kernel synchronization overhead of fine-grained speculative decoding \cite{leviathan2023fast, chen2023speculative} under NPU computational graph compilation, and the severe limitations of purely relying on micro-level acceleration algorithms like Prompt LookUp Decoding (PLD)
Figures & tables
| Model | 2K Context Acc (%) | 32K Context Acc (%) |
|---|---|---|
| 1B Baseline | 67.68 | 66.66 |
| 7B Baseline | 62.80 | 95.73 |
| True \ Pred | Code | QA | Math | Recall |
|---|---|---|---|---|
| Code | 94 | 4 | 2 | 94.0% |
| QA | 8 | 89 | 3 | 89.0% |
| Math | 1 | 6 | 93 | 93.0% |
| Configuration | C-eval | MMLU | GSM8K | Human-eval | QGPA | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Acc (%) | TPS | Acc (%) | TPS | Acc (%) | TPS | Acc (%) | TPS | Acc (%) | TPS | |
| Static Baselines: | ||||||||||
| 1B Baseline | 63.20 | 21.58 | 71.17 | 21.87 | 73.92 | 21.44 | 67.68 | 21.18 | 39.90 | 20.09 |
| 1B PLD | 64.40 | 26.54 | 65.29 | 27.08 | 62.09 | 26.64 | 51.22 | 27.63 | 33.33 | 27.35 |
| 1B Quant | 57.20 | 21.20 | 62.74 | 21.50 | 71.80 | 21.10 | 57.32 | 20.90 | 40.40 | 19.80 |
| 7B Baseline | 78.89 | 17.18 | 90.21 | 17.17 | 83.02 | 16.65 | 62.80 | 16.65 | 44.44 | 15.72 |
| Method | Scenario A | Scenario B | Scenario C | |||
|---|---|---|---|---|---|---|
| Acc (%) | TPS | Acc (%) | TPS | Acc (%) | TPS | |
| Static 1B Baseline | 67.41% | 21.28 | 67.76% | 21.41 | 64.93% | 14.50 |
| Static 7B Baseline | 68.04% | 16.75 | 75.30% | 16.86 | 87.31% | 11.20 |
| Random Routing | 67.72% | 19.01 | 71.53% | 19.13 | 76.12% | 12.85 |
| A-IO (Actual) | 70.85% | 19.80 | 76.50% | 18.15 | 87.32% | 13.40 |
| Ablation Configuration | Acc (%) | TPS |
|---|---|---|
| w/o Dynamic Model Routing (7B Only) | 68.48 | 17.20 |
| w/o Dynamic PLD Switch (PLD Off) | 68.20 | 18.20 |
| w/o Entropy Fallback (No validation) | 65.10 | 20.10 |
| Full A-IO (Actual) | 70.85 | 19.80 |
LLM Inference Acceleration
LLM inference acceleration develops algorithms and systems that reduce language-model latency, memory use, and serving cost while preserving output quality.
See all 1,055 papers