Saved in:
Bibliographic Details
Main Authors: Brown, Andrew, Zhu, Jiading, Abdelwahab, Mohamed, Dong, Alec, Wang, Cindy, Rose, Jonathan
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2402.01051
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917581126893568
author Brown, Andrew
Zhu, Jiading
Abdelwahab, Mohamed
Dong, Alec
Wang, Cindy
Rose, Jonathan
author_facet Brown, Andrew
Zhu, Jiading
Abdelwahab, Mohamed
Dong, Alec
Wang, Cindy
Rose, Jonathan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2402_01051
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Generation, Distillation and Evaluation of Motivational Interviewing-Style Reflections with a Foundational Language Model
Brown, Andrew
Zhu, Jiading
Abdelwahab, Mohamed
Dong, Alec
Wang, Cindy
Rose, Jonathan
Computation and Language
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.
title Generation, Distillation and Evaluation of Motivational Interviewing-Style Reflections with a Foundational Language Model
topic Computation and Language
url https://arxiv.org/abs/2402.01051