TL;DR
AMMA is a novel memory-centric hardware architecture that completely replaces traditional GPU compute dies with Processing-Near-Memory (PNM) HBM cubes to accelerate long-context LLM inference. By combining a custom logic-die microarchitecture, a localized two-level hybrid parallelism scheme, and optimized communication flows, AMMA achieves up to 15.5× lower attention latency and 6.9× lower energy consumption compared to an NVIDIA H100.
What Problem Does This Paper Address?
As Large Language Models (LLMs) shift toward reasoning, agentic workflows, and massive context windows (up to 1 million tokens), the decode phase of inference has become the primary user-facing bottleneck. During decode, the model generates tokens auto-regressively one by one, requiring the system to fetch a massive, ever-growing Key-Value (KV) cache from memory for every single token.
This process is fundamentally memory-bandwidth bound, demanding very little actual computation relative to the amount of data moved. Modern GPUs, however, are compute-centric monsters. When running long-context decode attention, a GPU's massive compute engines sit idle (often under 5% utilization), yet they still draw near-maximum Thermal Design Power (TDP) due to the overhead of keeping the large clock networks, caches, and interconnects active.
Prior academic proposals have tried putting simple Processing-in-Memory (PIM) units inside DRAM banks, but these architectures still rely on the GPU as a central communication hub and lack the compute power required to handle modern Grouped-Query Attention (GQA) variants.
Methods
AMMA (Multi-Chiplet Memory-Centric Architecture) completely discards the GPU-centric paradigm. Instead of pairing a GPU compute die with HBM cubes, AMMA builds a standalone accelerator out of 16 HBM-PNM cubes arranged in a 4×4 2D mesh network.
The architecture is built on three main pillars:
- Logic-Die Microarchitecture: Leveraging advanced base logic dies (≤5nm) coming in HBM4, AMMA integrates 96 small (16×16) systolic arrays per cube rather than a few massive ones. This perfectly matches the narrow batch sizes of decode attention. The design is entirely Last-Level Cache (LLC) free, replacing power-hungry caches with a lean, two-level hierarchical crossbar to share data locally.
- Two-Level Hybrid Parallelism: To avoid long-range data movement across the 16-cube mesh, AMMA implements a hybrid strategy. It uses Tensor Parallelism (TP) to map independent KV heads to specific cube groups, and Context Parallelism (CP) to split the KV cache along the sequence dimension within each group.
- Reordered Collective Communication: The authors mathematically restructure the attention output projection stage. By replacing a standard, heavy
AllReduceoperation with a localizedReduceScatterand reslicing the projection weight matrices, they eliminate multiple communication rounds entirely from the critical path.
Datasets
The architecture was evaluated via cycle-accurate simulation (using ScaleSim and AstraSim) paired with real-GPU profiling baselines. The workloads were derived from state-of-the-art LLM configurations:
- Qwen3-235B (representing large-scale GQA workloads)
- Llama4-Maverick (GQA workload)
- DeepSeek-V3 (representing Multi-Head Latent Attention, or MLA, workloads)
Key Insights and Ideas
- The GPU Power Paradox: Profiling revealed that an NVIDIA H100 draws ~693W (nearly 100% TDP) during decode attention despite its compute units being idle. The power is entirely wasted on the Network-on-Chip (NoC), Last-Level Cache (LLC), and control logic. AMMA eliminates the LLC and scales down compute to save massive amounts of static and dynamic power.
- GQA Breaks Traditional PIM: Grouped-Query Attention shares KV heads across multiple query heads, which increases the arithmetic intensity of the workload by 16–32× compared to classic Multi-Head Attention (MHA). This shift renders simple in-DRAM GEMV units completely compute-bound, proving that acceleration must move to the more capable base logic die (PNM).
- Output Stationary (OS) Dataflow is King for Decode: While Weight Stationary dataflows are common in deep learning, AMMA utilizes an Output Stationary dataflow. Because the sequence length ($N$) is massive but the batch size ($M$) is tiny during decode, an OS dataflow ensures that cross-array communication overhead remains independent of the context length.
Key Results
AMMA was evaluated against an NVIDIA H100 baseline, a projected NVIDIA Rubin platform, and NeuPIMs (a state-of-the-art academic PIM baseline):
- Latency Reduction: At a batch size of 1, AMMA achieves 12.0× to 16.3× speedup in attention latency over the H100. At batch size 32, the speedup reaches up to 20×.
- Comparison to Next-Gen GPUs: AMMA maintains a 1.8× to 2.5× performance lead over the projected next-generation NVIDIA Rubin GPU, despite Rubin utilizing faster HBM4 memory.
- Energy Efficiency: AMMA delivers 5.6× to 6.6× higher energy efficiency (Tokens/Joule) than the H100 and a stable 2.6× to 3.1× advantage over Rubin.
Limitations and Future Work
While AMMA excels at standard GQA models, it hits a bottleneck when encountering architectures with exceptionally high arithmetic intensity, such as DeepSeek's Multi-Head Latent Attention (MLA). At very long sequence lengths under MLA, attention becomes compute-bound rather than memory-bound, causing standard AMMA performance to drop behind a full GPU.
To counter this, the authors note that hardware designers deploying AMMA for MLA models must reallocate area budget away from D2D link bandwidth and toward denser per-cube compute units (upgrading from 96 TFLOPS to 512 TFLOPS per cube). Future work will likely focus on making the logic-die compute units more flexible to dynamically adapt to these varying attention mechanisms.
Summary updated