arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.29326cs.CL
收藏

信号与查询:面向智能体的令牌高效上下文发现

Signals and Queries: Token-Efficient Agentic Context Discovery

Parlant

Yam Marcovitz

AI总结:

该研究针对面向用户的LLM智能体策略评估成本高的问题,提出S&Q过滤器,通过离线训练的逻辑分类器筛选候选策略,在保持高召回率的同时降低评估成本,且性能优于Top-K等方法。

摘要:

面向用户的大语言模型(LLM)智能体必须确定每一轮适用的行为策略,但用LLM评估每个策略的成本很高。我们推出了为Parlant 4.0开发的轻量级第一阶段相关性过滤器——信号与查询(S&Q),它在保持高召回率的同时,可在下游评估前移除至少30%的候选策略。对于每个策略,LLM会离线生成激活示例和难负例,然后基于这些示例的嵌入训练一个独立的逻辑分类器,利用嵌入和向量点积预测相关性,无需每轮调用LLM。这将昂贵的相关性评估转移到更小的候选集,同时允许每个策略的分类器独立更新。针对覆盖254个τ²-bench对话前缀和36个航空公司策略的9144个LLM评判相关性标签进行评估,S&Q在所有评估的召回率水平上都比Top-K和余弦阈值检索具有更高的精度,且在两个嵌入提供商上结果一致。这些发现支持将低成本的每策略分类作为面向客户的智能体中减少下游评估工作量的实用第一阶段。

英文摘要:

User-facing LLM agents must identify which behavioral policies apply at each turn, but evaluating every policy with an LLM is costly. We introduce Signals and Queries (S&Q), a lightweight first-stage relevance filter developed for Parlant 4.0 that removes at least 30% of candidate policies before downstream evaluation while preserving high recall. For each policy, an LLM generates activating examples and hard negatives offline. An independent logistic classifier trained on their embeddings then predicts relevance using embeddings and vector dot products, with no per-turn LLM calls. This shifts expensive relevance evaluation to a smaller candidate set, while allowing each policy's classifier to be updated independently. Evaluated against 9,144 LLM-judge relevance labels covering 254 $τ^2$-bench conversation prefixes and 36 airline policies, S&Q achieves higher precision than top-K and cosine-threshold retrieval at every evaluated recall level, with consistent results across two embedding providers. These findings support inexpensive, per-policy classification as a practical first stage for reducing downstream evaluation workload in customer-facing agents.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑