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

基于基础语言模型的动机访谈式回应生成、蒸馏与评估

Generation, Distillation and Evaluation of Motivational Interviewing-Style Reflections with a Foundational Language Model

University of Toronto(多伦多大学)

Andrew Brown, Jiading Zhu, Mohamed Abdelwahab, Alec Dong, Cindy Wang, Jonathan Rose

AI总结:

本研究针对大型基础模型部署难题,提出将GPT-4的动机访谈式反映倾听能力蒸馏到小模型的方法,同时验证了GPT-4可作为零样本分类器高效评估蒸馏模型质量。

摘要:

大型基础语言模型能够高水平执行多种任务,但由于其规模庞大且所有权专有,难以在许多应用中部署。很多团队会有动力将基础模型的特定能力蒸馏到可自主拥有和控制的更小模型中。在治疗型聊天机器人的开发中,我们希望蒸馏一种名为“反映式倾听”的能力,即治疗师对来访者的话语生成回应。这类回应要么重述来访者所说的内容,要么将其表述与相关的观察、想法或推测联系起来,以鼓励并引导来访者继续深入思考。本文提出一种将基础语言模型(GPT-4)的回应生成能力蒸馏到更小模型的方法。我们首先证明,GPT-4采用零样本提示时,生成回应的成功率接近100%,优于所有已有方法。我们使用GPT-4生成的回应,对不同规模的GPT-2系列模型进行微调。其中GPT-2-small模型在留出测试集上的成功率达到83%,GPT-2 XL的成功率达到90%。我们还证明,GPT-4可作为零样本分类器,辅助完成评估蒸馏模型质量这一劳动密集型任务。以三人人工评审为参照,该分类器的Cohen-Kappa系数达到0.66,属于较高的评分者间信度水平。

英文摘要:

Large Foundational Language Models are capable of performing many tasks at a high level but are difficult to deploy in many applications because of their size and proprietary ownership. Many will be motivated to distill specific capabilities of foundational models into smaller models that can be owned and controlled. In the development of a therapeutic chatbot, we wish to distill a capability known as reflective listening, in which a therapist produces reflections of client speech. These reflections either restate what a client has said, or connect what was said to a relevant observation, idea or guess that encourages and guides the client to continue contemplation. In this paper, we present a method for distilling the generation of reflections from a Foundational Language Model (GPT-4) into smaller models. We first show that GPT-4, using zero-shot prompting, can generate reflections at near 100% success rate, superior to all previous methods. Using reflections generated by GPT-4, we fine-tune different sizes of the GPT-2 family. The GPT-2-small model achieves 83% success on a hold-out test set and the GPT-2 XL achieves 90% success. We also show that GPT-4 can help in the labor-intensive task of evaluating the quality of the distilled models, using it as a zero-shot classifier. Using triple-human review as a guide, the classifier achieves a Cohen-Kappa of 0.66, a substantial inter-rater reliability figure.

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

↑