With the growing number of LLMs available, selecting which one to use for a prompt has become a key question. A large part of the routing literature relies on semantically embedding prompts into a vector space and then applying a lightweight classifier to the embedded representations. These methods perform robustly in-distribution but they struggle to generalize to unseen tasks. By studying the geometry of semantic embeddings, we trace a clear failure mode: features that determine the neighbors of unseen prompts are an unreliable proxy for LLM selection. We therefore replace the semantic embedding with the following map: we run a partial forward pass of Qwen2.5-7B-Instruct on the prompt and use the hidden state of its last token at a deep layer as the representation. When applying kNN and other simple classifiers to this new representation, we obtain a clear result in generalization: on average across cost penalties, their performance improves. Moreover, kNN and another simple classifier that we propose outperform every evaluated semantic-embedding baseline. Our two simple methods also beat a recent SoTA hidden-states based router on RouterBench.
From Agent Traces to Trust: A Survey of Evidence Tracing and Execution Provenance in LLM Agents
Griffith University(格里菲斯大学);Jiangsu University(江苏大学);University of Southern Queensland(南方昆士兰大学);Peking University(北京大学);Great Bay University(大湾大学);Nanjing University(南京大学);Macquarie University(麦觉瑞大学);Southern University of Science and Technology(南方科学与技术大学)
MERIT: Memory-Enhanced Retrieval for Interpretable Knowledge Tracing
School of Computer Science and Technology, East China Normal University(东华师范大学计算机科学与技术学院);Shanghai Innovation Institute(上海创新研究院);WeChat AI, Tencent(微信AI,腾讯)
Tracing the Heart: An Evidence-Linked Pipeline for Heart-Failure Feature Engineering
Nimblemind(宁敏德(音译));Singapore University of Technology and Design(新加坡科技设计大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Florida International University(佛罗里达国际大学);University of California Los Angeles(加利福尼亚大学洛杉矶分校);Rutgers University Newark(罗格斯大学纽瓦克分校);Rutgers Institute for Health Health Care Policy and Aging Research(罗格斯大学健康、医疗保健政策与老龄化研究所);Robert Wood Johnson Medical School(罗伯特·伍德·约翰逊医学院);Rutgers Health(罗格斯医疗)
Moving the Safety Barrier: Dynamic Routing Adaptive Alignment Against White-Box Attacks
Nanjing University of Science and Technology(南京理工大学);The University of Sydney(悉尼大学);National University of Singapore(新加坡国立大学);University of New South Wales(新南威尔士大学);Nanjing University(南京大学)
Data Science & Artificial Intelligence Research Institute, China Unicom(中国联通数据科学与人工智能研究院);Unicom Data Intelligence, China Unicom(中国联通数据智能);China Unicom Group Co.,Ltd(中国联通集团有限公司)