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

将示例提炼为任务指令:面向真实B2B对话的增强上下文学习

Distilling Examples into Task Instructions: Enhanced In-Context Learning for Real-World B2B Conversations

Guy Rotman, Adi Kopilov, Danit Berger Zalmanson, Omri Allouche

AI总结:

针对B2B对话分类中传统上下文学习因示例拼接导致上下文过长而性能受限的问题,提出知识蒸馏方法将冗长示例压缩为结构化分类标准和精确任务描述,实现令牌使用减少99%,宏平均AUC提升7%,且随上下文增长保持鲁棒。

摘要:

上下文学习(ICL)是低资源分类的标准方法,但其在专业领域的有效性尚未充分探索。我们解决了语义复杂、多方B2B对话分类的挑战,传统ICL在此面临显著限制,尤其是当多个少样本示例拼接导致上下文长度增加时。我们引入了\ exttt{Call Playbook}数据集,包含源自真实B2B对话的五项分类任务,针对核心销售概念。为了弥合性能与实际应用之间的差距,我们提出了新颖的知识提取方法,将冗长示例蒸馏为紧凑、可解释的结构化分类标准和精确任务描述。我们的方法实现了令牌使用减少99%,宏平均AUC比传统ICL提升高达7%。值得注意的是,与先进的令牌压缩基线(其F1分数下降超过9点)不同,我们的方法在上下文增长时保持鲁棒。重要的是,我们的框架能够直接优化分类逻辑,满足了真实NLP应用中对透明度、效率和用户交互的关键需求。

英文摘要:

In-context learning (ICL) is the standard method for low-resource classification, yet its efficacy in specialized domains remains largely unexplored. We address the challenge of classifying semantically complex, multi-party B2B conversations, where traditional ICL encounters significant limitations, especially as context length increases due to the concatenation of multiple few-shot examples. We introduce the \texttt{Call Playbook} dataset, featuring five classification tasks derived from real-world B2B conversations targeting core sales concepts. To bridge the gap between performance and practical utility, we propose novel knowledge extraction methods that distill verbose examples into compact, interpretable representations of structured classification criteria and precise task descriptions. Our approach achieves a 99\% reduction in token usage and improves macro-averaged AUC by up to 7\% over traditional ICL. Notably, it remains robust as context grows, unlike advanced token compression baselines which degrade by over 9 F1 points. Importantly, our framework enables direct refinement of classification logic, addressing critical needs for transparency, efficiency, and user interaction in real-world NLP applications.

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

↑