Prompting and Fine-Tuning of Small LLMs for Length-Controllable Telephone Call Summarization

David Thulke, Yingbo Gao, Rricha Jalota, Christian Dugast, Hermann NeyarXiv 2024

TL;DR

Researchers have successfully "distilled" the summarization capabilities of frontier models like GPT-4 into a much smaller, more efficient Llama-2-7B model. By fine-tuning on a diverse synthetic dataset, the 7B model achieved performance on par with GPT-4 in telephone call summarization while maintaining the crucial ability to follow specific length constraints.

What Problem Does This Paper Address?

In industries like healthcare and customer service, summarizing telephone calls is a massive operational burden, often consuming up to 10% of an agent's total handling time. While Large Language Models (LLMs) offer a solution, there is a significant trade-off: massive "frontier" models like GPT-4 are highly capable but expensive and slow for high-volume production, while smaller, efficient models (like Llama-2-7B) often struggle with factual accuracy and following complex instructions.

A specific challenge in call summarization is length control. Different use cases require different summary formats—a quick one-sentence blurb for a dashboard versus a detailed two-paragraph report for documentation. Small models often lose their ability to follow these specific length constraints when they are fine-tuned on narrow, task-specific datasets.

Methods

The authors employed a multi-stage pipeline to bridge the performance gap between small and large models:

  1. Synthetic Data Generation: They used GPT-4 to generate high-quality summaries for a corpus of simulated call transcripts.
  2. Prompt Engineering: To ensure the model remained flexible, they didn't just ask for "a summary." They used GPT-4 to generate 20 different summarization prompts across three categories: Default, General (focusing on sentiment or next steps), and Length-oriented (specifying word, sentence, or paragraph counts).
  3. Transcript-First Prompting: Preliminary tests showed that placing the transcript before the instruction (transcript-first-and-prompt-last) yielded better results for long contexts.
  4. Hybrid Fine-Tuning: They fine-tuned Llama-2-7B on a mixture of general-domain instruction data (to preserve general reasoning) and their new task-specific synthetic data.
  5. LLM-as-a-Judge Evaluation: Since human annotation is costly, they used state-of-the-art evaluation frameworks like Prometheus-Eval and FineSurE, which use larger LLMs to score summaries on faithfulness, completeness, and conciseness.

Datasets

The study utilized a corpus of 2,331 simulated telephone recordings.

  • Simulated Content: To avoid privacy concerns, the calls were performed by a data workforce discussing specific topics like travel and insurance.
  • Diversity: The dataset specifically included a range of US English accents, including African American, Hispanic, Chinese, and Southern speakers, to ensure robustness.

Detailed statistics on the dataset splits and accent distribution can be seen in the tables below:

Dataset Statistics Accent Distribution

Key Insights and Ideas

  • The "Uniformity Trap": The authors found that training a model on uniform, task-specific data (e.g., always asking for a general summary) actually weakens its ability to follow instructions. The model essentially "overfits" to a standard summary length and starts ignoring specific constraints like "summarize in 50 words."
  • Restoring Instruction Following: By intentionally including length-specific instructions in the synthetic training set, the researchers were able to "restore" the model's ability to adhere to constraints.
  • Prompt Diversity is King: Using a wide variety of prompts during training (as shown in Figure 3) was crucial for achieving GPT-4 level quality. Even if a user only uses one type of prompt at test time, the model benefits from having seen diverse ways of asking for a summary during training.
List of Summarization Prompts

Key Results

The fine-tuned Llama-2-7B model performed remarkably well, matching or exceeding GPT-4 in several metrics:

  • Overall Quality: On the FineSurE and Prometheus-Eval benchmarks, the best-performing 7B variant achieved an average score of 33.24, very close to GPT-4’s 33.78.
  • Completeness and Honesty: Interestingly, the fine-tuned 7B model actually surpassed GPT-4 in terms of "Honesty" and "Completeness" when evaluated by a GPT-4 judge.
  • Length Adherence: While general fine-tuning destroyed the model's ability to follow length constraints (dropping to 0% adherence for 50-word prompts), the length-aware training restored this to 56%, as shown in Figure 4.

Main Evaluation Results Length Adherence Results

Limitations and Future Work

While the results are a strong proof-of-concept for bootstrapping efficient systems, the authors noted several areas for improvement:

  • Adherence Ceiling: Even the best models only hit ~60% adherence for length constraints, suggesting that synthetic data filtering or more diverse length-specific data is needed.
  • Real-World Noise: The study used clean, simulated transcripts. Future work needs to address the impact of Automatic Speech Recognition (ASR) errors and the presence of Personally Identifiable Information (PII) that often requires redaction in real call center environments.
  • Human Validation: While LLM-as-a-judge is a powerful tool, the authors emphasize that final deployment decisions still require human evaluation to assess real-world utility.

Summary updated

BibTeX
@misc{thulke2024prompting,
  author = {David Thulke and Yingbo Gao and Rricha Jalota and Christian Dugast and Hermann Ney},
  title = {{Prompting and Fine-Tuning of Small LLMs for Length-Controllable Telephone Call Summarization}},
  year = {2024},
  eprint = {2410.18624},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.18624},
}
Figure