Inference Data Structures: The Missing Infrastructure of Modern AI
Modern AI inference is usually optimized through model compression, kernel engineering, and hardware acceleration. This paper argues for a complementary algorithmic layer: inference data structures (IDSs), reusable indexes coupled with algorithms that organize persistent inference state to reduce future computational cost while preserving correctness or providing explicit approximation guarantees.
The paper distinguishes two classes of IDSs. Static IDSs organize immutable state, such as trained model weights, and can be built offline for repeated exact or approximate operations. Dynamic IDSs organize evolving runtime state, such as the append-only KV cache, and must support online updates as well as low-latency queries during autoregressive decoding.
RSR and RSR-core provide representative static IDSs by preprocessing low-bit weight matrices for exact matrix-vector multiplication. Louver provides a representative dynamic IDS by indexing the KV cache as a halfspace range-searching problem, enabling efficient retrieval of relevant tokens with full recall above a specified threshold.
The paper presents IDSs as an infrastructure layer between foundation models and runtime hardware. It identifies open questions around discovering reusable inference variables, defining construction, update, and query interfaces, co-designing indexes with target hardware, and measuring query latency, storage overhead, token throughput, memory use, energy, and model-quality preservation.
Citation: Abolfazl Asudeh and Mohsen Dehghankar. 2026. Inference Data Structures: The Missing Infrastructure of Modern AI. In ACM AI Summit '26, Atlanta, GA, USA. ACM. DOI: 10.1145/3806096.3844820.