Write Once, Run Everywhere: The Axon DSL for Shape-Safe and Framework-Agnostic LLM Architectures
On the map: Efficient LLM inference and serving → Serving systems and request scheduling
Abstract (arXiv)
The entire ecosystem of open-source language models effectively relies on a single platform. What if this platform was forced to shut down tomorrow? Implementing and maintaining efficient model definitions and translating them between different training and inference regimes is a resource-heavy task that severely limits model efficiency and portability, hindering both scaling and deployment. Here, we present Axon, a strongly typed domain-specific language with Haskell-like syntax, that enables a write-once, run everywhere paradigm for LLM architectures. By basing collaboration on a language specification rather than a specific framework's vision, Axon fosters open cooperation and empowers researchers to implement highly specialized architectures without giving up optimization infrastructure or accepting deployment lock-in. Axon allows for concise, auditable specifications that can be automatically compiled to standalone implementations for leading frameworks: PyTorch, PyTorch with Triton, JAX, MLX and vLLM. In 467 inference benchmarking experiments on models ranging from 135M to 32B parameters, we demonstrate median speedups of 7% on PyTorch, 12% on PyTorch with Triton, 91% on JAX, and 107% on MLX, compared to the reference implementations from Transformers. When deployed as native vLLM architectures with PagedAttention and KV-cache, Axon models achieve a 58% median speedup over Transformers implementations.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Serving systems and request scheduling, one of 12 directions in Efficient LLM inference and serving. Builds on 1 of its 33 references that are in the map. First posted on arXiv 20 Aug 2026.
Builds on
1 of 33 references.
References · 1
- 2014cuDNN: Efficient Primitives for Deep Learningcited by 245
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026From Inference Engine to Inference Control Plane: Connecting vLLM, llm-d, and the Evolution of Efficient Distributed LLM Serving
- 2026LLM Serving in the Wild: An Empirical Study of Frameworks, Methods, and System Designs
- 2026RoofLang: Enabling AI-Driven Architecting of LLM Inference Systems
- 2026Blink: CPU-Free LLM Inference by Delegating the Serving Stack to GPU and SmartNIC
- 2026LLM4LLM: Bridging Kernel Benchmarks and Real Deployment via Closed-Loop Agentic Optimization
- 2026When NPUs Are Not Always Faster: A Stage-Level Analysis of Mobile LLM Inference
- 2026E2LLM: Towards Efficient LLM Serving in Heterogeneous Edge/Fog Environments
- 2025HELIOS: Adaptive Model And Early-Exit Selection for Efficient LLM Inference Serving