用大模型生成标注,小模型快速推理,提升对话理解准确率
Learning LLM Preference over Intra-Dialogue Pairs: A Framework for Utterance-level Understandings
- 通过噪声减少的偏好学习损失,融合大模型标注与小模型推理
- 在情感检测等任务上准确率提升超2%,对话行为分类超1.5%
- 适合需要低延迟、高精度的实时对话系统开发场景
大型语言模型(LLMs)在无需特定场景微调的情况下展现出处理复杂对话任务的强大能力。然而,实时分析对话需低延迟系统,部署参数量达数十亿的模型不切实际。因此,从业者更倾向使用数百万参数的小模型,其训练依赖高质量人工标注数据。但此类数据收集耗时且成本高。亟需结合大模型生成标签的可扩展性与人工标注的精准性,使微调后的小模型兼具速度与性能,媲美大模型。本文提出一种简单而有效的框架,专为逐句分类任务设计,如意图识别、对话状态追踪等。针对大模型标注引入的噪声这一主要误差来源,我们提出噪声减少的偏好学习损失函数。实验表明,该方法显著提升各类句级对话任务的准确率,包括情感检测(提升超2%)、对话行为分类(提升超1.5%)。
原文摘要 · Abstract (English)
Large language models (LLMs) have demonstrated remarkable capabilities in handling complex dialogue tasks without requiring use case-specific fine-tuning. However, analyzing live dialogues in real-time necessitates low-latency processing systems, making it impractical to deploy models with billions of parameters due to latency constraints. As a result, practitioners often prefer smaller models with millions of parameters, trained on high-quality, human-annotated datasets. Yet, curating such datasets is both time-consuming and costly. Consequently, there is a growing need to combine the scalability of LLM-generated labels with the precision of human annotations, enabling fine-tuned smaller models to achieve both higher speed and accuracy comparable to larger models. In this paper, we introduce a simple yet effective framework to address this challenge. Our approach is specifically designed for per-utterance classification problems, which encompass tasks such as intent detection, dialogue state tracking, and more. To mitigate the impact of labeling errors from LLMs -- the primary source of inaccuracies in student models -- we propose a noise-reduced preference learning loss. Experimental results demonstrate that our method significantly improves accuracy across utterance-level dialogue tasks, including sentiment detection (over $2\%$), dialogue act classification (over $1.5\%$), etc.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。