Speech-based Slot Filling using Large Language Models

Guangzhi Sun, Shutong Feng, Dongcheng Jiang, Chao Zhang, Milica Gasic, Philip C. Woodland · DOI

Introduction

Spoken Language Understanding (SLU) systems often struggle with "slot filling"—the task of extracting structured information like names, dates, or locations from spoken queries. The primary hurdle is the inherent noise in Automatic Speech Recognition (ASR) transcriptions. Domain-specific entities or rare words are frequently misheard, leading to errors in downstream processing. While Large Language Models (LLMs) show promise, they require careful optimization to handle such noise without hallucinating or requiring prohibitive amounts of labeled data.

This research explores enhancing LLMs for slot filling by integrating external knowledge and efficient fine-tuning techniques. The authors demonstrate that by combining Linearised Knowledge Injection (LKI) with Low-Rank Adaptation (LoRA), LLMs can achieve significant performance gains even with limited training data.

Methodology

The proposed framework integrates several components to improve robustness and precision.

System architecture for speech-based slot filling featuring Whisper ASR, Knowledge Base (KB) search, and LLM with LoRA.

Linearised Knowledge Injection (LKI)

The core innovation is LKI. Instead of relying solely on the top ASR hypothesis, the system considers the "N-best" list from the ASR model (e.g., Whisper). These hypotheses are matched against an external Knowledge Base (KB). Matches are then "linearised" into a text format and injected into the LLM's prompt. This provides the model with a set of candidate entities, effectively "rescuing" correct terms that might have been ranked lower by the ASR system.

Efficient Fine-tuning and Prompting

To adapt open-source models like LLaMA and Vicuna, the researchers employed LoRA, which allows for fine-tuning with a fraction of the parameters. The models were trained on multi-hypothesis inputs, teaching them to extract relevant information from a concatenated list of potential transcriptions. Additionally, a structured prompt design—including task definitions and few-shot examples—was used to guide the model's output format.

Experimental Setup

The models were evaluated using the SLURP (Spoken Language Understanding Resource Package) dataset, which contains 25,000 interactions with a home assistant. The experiments focused on "limited data" scenarios, testing performance with as few as 100 to 2,000 samples, and a zero-shot setup for unseen slot types.

Results and Discussion

The results highlight the effectiveness of the proposed methods in data-constrained environments.

SLU-F1 performance vs. number of training samples for LLaMA-13B, Vicuna-13B, and GPT-2.

Performance and Data Efficiency

As shown in the figure above, performance scales significantly with the number of samples. LLaMA-13B consistently outperformed other models. With the full fine-tuning and LKI scheme using the 10-best ASR hypotheses, LLaMA-13B achieved a 63.5% SLU-F1 score, an 8.3% absolute improvement over the Flan-T5-base baseline.

Key Insights

  • Robustness to Noise: ASR noise primarily impacts recall. LKI mitigates this by presenting the LLM with more candidates from the N-best list, nearly doubling performance for some models in noisy conditions.
  • Emergent Precision: GPT-4 demonstrated strong "emergent" abilities, achieving 57.4% SLU-F1 with 100-shot in-context learning, rivaling fine-tuned smaller models.
  • Zero-Shot Capability: Simply adding text descriptions of slot types to the prompt dramatically improved zero-shot performance for LLaMA-13B, jumping from 4.9% to 52.1% SLU-F1.

Conclusion and Future Work

This work proves that LLMs can be highly effective for speech-based slot filling when augmented with external knowledge and efficient fine-tuning. However, challenges remain regarding context length; as N-best lists and few-shot examples grow, the performance gains can diminish due to attention limits. Future research should focus on more efficient long-context processing and addressing potential demographic biases inherited from ASR systems.

Summary updated

BibTeX
@inproceedings{sun2024speech,
  author = {Guangzhi Sun and Shutong Feng and Dongcheng Jiang and Chao Zhang and Milica Gasic and Philip C. Woodland},
  title = {{Speech-based Slot Filling using Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.379},
}
Figure