paper-with-me

Papers

HierRouter: Coordinated Routing of Specialized Large Language Models via Reinforcement Learning

2025-11-13 · Nikunj Gupta, Bill Guo, Rajgopal Kannan, Viktor K. Prasanna arxiv

Large Language Models (LLMs) deliver state-of-the-art performance across many tasks but impose high computational and memory costs, limiting their deployment in resource-constrained or real-time settings. To address this, we propose HierRouter, a hierarchical routing approach that dynamically assembles inference pipelines from a pool of specialized, lightweight language models. Formulated as a finite-horizon Markov Decision Process (MDP), our approach trains a Proximal Policy Optimization (PPO)-based reinforcement learning agent to iteratively select which models to invoke at each stage of multi-hop inference. The agent conditions on the evolving context and accumulated cost to make context-aware routing decisions. Experiments with three open-source candidate LLMs across six benchmarks, including QA, code generation, and mathematical reasoning, show that HierRouter improves response quality by up to 2.4x compared to using individual models independently, while incurring only a minimal additional inference cost on average. These results highlight the promise of hierarchical routing for cost-efficient, high-performance LLM inference. All codes can be found here https://github.com/ Nikunj-Gupta/hierouter.

📄 PDF Abstract BibTeX arXiv:2511.09873

Code (0)

등록된 구현이 없습니다.

Tasks

Reinforcement LearningMathematical ReasoningCode Generation

Similar Papers 제목 키워드 기반

Distributed Specialization: Rare-Token Neurons in Large Language Models

2025-09-25 · Jing Liu, Haozheng Wang, Yueheng Li arxiv

Large language models (LLMs) struggle with representing and generating rare tokens despite their importance in specialized domains. We investigate whether LLMs develop internal specialization mechanisms through discrete …

Computational Efficiency

An Agentic Framework with LLMs for Solving Complex Vehicle Routing Problems

2025-10-19 · Ni Zhang, Zhiguang Cao, Jianan Zhou, Cong Zhang 외 arxiv

Complex vehicle routing problems (VRPs) remain a fundamental challenge, demanding substantial expert effort for intent interpretation and algorithm design. While large language models (LLMs) offer a promising path toward…

Code Generation

INFERENCEDYNAMICS: Efficient Routing Across LLMs through Structured Capability and Knowledge Profiling

2025-05-22 · Haochen Shi, Tianshi Zheng, Weiqi Wang, Baixuan Xu 외

Large Language Model (LLM) routing is a pivotal technique for navigating a diverse landscape of LLMs, aiming to select the best-performing LLMs tailored to the domains of user queries, while managing computational resour…

Language ModelingLanguage ModellingLarge Language ModelMMLU

An Attention-LSTM Hybrid Model for the Coordinated Routing of Multiple Vehicles

2021-09-29 · Aigerim Bogyrbayeva, Taehyun Yoon, Hanbum Ko, Sungbin Lim 외

Reinforcement learning has recently shown promise in learning quality solutions in a number of combinatorial optimization problems. In particular, the attention-based encoder-decoder models show high effectiveness on var…

Combinatorial OptimizationComputational EfficiencyDecoderTraveling Salesman Problem

Network-Constrained Policy Optimization for Adaptive Multi-agent Vehicle Routing

2025-10-30 · Fazel Arasteh, Arian Haghparast, Manos Papagelis arxiv

Traffic congestion in urban road networks leads to longer trip times and higher emissions, especially during peak periods. While the Shortest Path First (SPF) algorithm is optimal for a single vehicle in a static network…

Multi-agent Reinforcement Learning