超越Top-k技能检索:面向LLM智能体的多样性感知技能路由

·

研究论文 · 2026/09/14

大型语言模型(LLM)智能体日益依赖外部技能,但在大型技能注册表中路由用户请求很困难,因为许多技能功能冗余,而复杂任务往往需要互补的技能组合。现有的技能路由器通常根据查询相关性独立对候选技能排序,这可能会将上下文预算浪费在冗余技能上。我们提出了多样性技能路由(DSR),一种多样性感知的重排序框架,使用行列式点过程来平衡相关性和非冗余性。DSR引入了一种查询残差多样性核,惩罚冗余技能重叠,同时减少仅由共享查询相关性引起的惩罚。在SkillRouter基准测试上,DSR在召回率和完全覆盖率上优于强逐点重排序基线,在多技能查询上提升更大。这些结果表明,技能路由不仅应被视为相关性排序,还应被视为互补集合选择。

该研究解决了LLM智能体技能路由中冗余技能浪费上下文预算的关键问题,提出了基于行列式点过程的多样性感知重排序方法,在基准测试中显著提升召回率和覆盖率,为技能路由提供了新视角。

Large language model (LLM) agents increasingly rely on external skills, but routing user requests over large skill registries is difficult because many skills are functionally redundant while complex tasks often require complementary skill sets. Existing skill routers typically rank candidates independently by query relevance, which can waste context budget on redundant skills. We propose Diverse Skill Routing (DSR), a diversity-aware reranking framework that uses a Determinantal Point Process to balance relevance and non-redundancy. DSR introduces a query-residual diversity kernel that penalizes redundant skill overlap while reducing penalties caused only by shared query relevance. On the SkillRouter benchmark, DSR improves recall and full coverage over a strong pointwise reranking baseline, with larger gains on multi-skill queries. These results suggest that skill routing should be treated not only as relevance ranking, but also as complementary set selection.

阅读原文

参与讨论