paper-with-me

홈 › Papers

One Head, Many Models: Cross-Attention Routing for Cost-Aware LLM Selection

2025-09-11 · Roshini Pulishetty, Mani Kishan Ghantasala, Keerthy Kaushik Dasoju, Niti Mangwani, Vishal Garimella, Aditya Mate, Somya Chatterjee, Yue Kang, Ehi Nosakhare, Sadid Hasan, Soundar Srinivasan arxiv

The proliferation of large language models (LLMs) with varying computational costs and performance profiles presents a critical challenge for scalable, cost-effective deployment in real-world applications. We introduce a unified routing framework that leverages a single-head cross-attention mechanism to jointly model query and model embeddings, enabling dynamic selection of the optimal LLM for each input query. Our approach is evaluated on RouterBench, a large-scale, publicly available benchmark encompassing diverse LLM pools and domains. By explicitly capturing fine-grained query-model interactions, our router predicts both response quality and generation cost, achieving up to 6.6% improvement in Average Improvement in Quality (AIQ) and 2.9% in maximum performance over existing routers. To robustly balance performance and cost, we propose an exponential reward function that enhances stability across user preferences. The resulting architecture is lightweight, generalizes effectively across domains, and demonstrates improved efficiency compared to prior methods, establishing a new standard for cost-aware LLM routing.

📄 PDF Abstract BibTeX arXiv:2509.09782

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

The Routing and Filtering Structure of Attention

2026-05-12 · Shafayeth Jamil, Rehan Kapadia arxiv

The attention interaction matrix $QK^{\top}$ contains two entangled computations: a skew-symmetric component that redistributes information between positions (routing) and a symmetric component that scales mutual relevan…

Directional Routing in Transformers

2026-03-16 · Kevin Taylor arxiv

We introduce directional routing, a lightweight mechanism that gives each transformer attention head learned suppression directions controlled by a shared router, at 3.9% parameter cost. We train a 433M-parameter model a…

Multi-Head Attention as a Source of Catastrophic Forgetting in MoE Transformers

2026-02-13 · Anrui Chen, Ruijun Huang, Xin Zhang, Fang Dong 외 arxiv

Mixture-of-Experts (MoE) architectures are often considered a natural fit for continual learning because sparse routing should localize updates and reduce interference, yet MoE Transformers still forget substantially eve…

Continual Learning

Meta-Attention: Bayesian Per-Token Routing for Efficient Transformer Inference

2026-05-27 · Alan Ferrari arxiv

Standard transformer architectures apply a single attention mechanism uniformly across all tokens and sequence positions, irrespective of local context or computational budget. We propose Meta-Attention, a framework that…

DTRNet: Dynamic Token Routing Network to Reduce Quadratic Costs in Transformers

2025-08-31 · Aman Sharma, Saeed Najafi, Parsa Farinneya, Benyamin Jamialahmadi 외 arxiv

Transformers achieve state-of-the-art results across many tasks, but their uniform application of quadratic self-attention to every token at every layer makes them computationally expensive. We introduce DTRNet (Dynamic …