paper-with-me

홈 › Papers

Write Once, Run Everywhere: The Axon DSL for Shape-Safe and Framework-Agnostic LLM Architectures

2026-08-20 · Jacob Nielsen, Danial Namazifard, Lukas Galke Poech, Peter Schneider-Kamp 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.

📄 PDF Abstract BibTeX arXiv:2608.19889

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Taxonomy and Consistency Analysis of Safety Benchmarks for AI Agents

2026-04-11 · Miles Q. Li, Benjamin C. M. Fung, Boyang Li, Heba Ismail 외 arxiv

The rapid deployment of LLM-based autonomous agents has introduced safety risks that extend far beyond traditional LLM concerns, prompting a proliferation of safety benchmarks since late 2023. However, these benchmarks h…

Where Do I 'Add the Egg'?: Exploring Agency and Ownership in AI Creative Co-Writing Systems

2025-09-18 · Dashiel Carrera, Jeb Thomas-Mitchell, Daniel Wigdor arxiv

AI co-writing systems challenge long held ideals about agency and ownership in the creative process, thereby hindering widespread adoption. In order to address this, we investigate conceptions of agency and ownership in …

Is happiness u-shaped in age everywhere? A methodological reconsideration for Europe

2021-08-31 · David Bartram

A recent contribution to research on age and well-being (Blanchflower 2021) found that the impact of age on happiness is "u-shaped" virtually everywhere: happiness declines towards middle age and subsequently rises, in a…

A Game-Theoretic Taxonomy of Visual Concepts in DNNs

2021-06-21 · Xu Cheng, Chuntung Chu, Yi Zheng, Jie Ren 외

In this paper, we rethink how a DNN encodes visual concepts of different complexities from a new perspective, i.e. the game-theoretic multi-order interactions between pixels in an image. Beyond the categorical taxonomy o…

Magic, Madness, Heaven, Sin: LLM Output Diversity is Everything, Everywhere, All at Once

2026-04-02 · Harnoor Dhingra arxiv

Research on Large Language Models (LLMs) studies output variation across generation, reasoning, alignment, and representational analysis, often under the umbrella of "diversity." Yet the terminology remains fragmented, l…