Skip to main content
QUICK REVIEW

[Paper Review] Context-Aware Abbreviation Expansion Using Large Language Models

Shanqing Cai, Subhashini Venugopalan|arXiv (Cornell University)|May 8, 2022
Assistive Technology in Communication and MobilityHealth Professions4 citations
TL;DR

This paper proposes a context-aware abbreviation expansion (AE) system using large language models (LLMs) to enable high-keystroke-saving text entry for individuals with severe motor impairments. By leveraging conversational context, a 64B-parameter LLM achieves over 70% accuracy in expanding abbreviations (up to 10 characters) into full phrases, with a keystroke saving rate of up to 77%, significantly outperforming zero-context baselines and showing robustness to typing noise after fine-tuning on noisy data.

ABSTRACT

Motivated by the need for accelerating text entry in augmentative and alternative communication (AAC) for people with severe motor impairments, we propose a paradigm in which phrases are abbreviated aggressively as primarily word-initial letters. Our approach is to expand the abbreviations into full-phrase options by leveraging conversation context with the power of pretrained large language models (LLMs). Through zero-shot, few-shot, and fine-tuning experiments on four public conversation datasets, we show that for replies to the initial turn of a dialog, an LLM with 64B parameters is able to exactly expand over 70% of phrases with abbreviation length up to 10, leading to an effective keystroke saving rate of up to about 77% on these exact expansions. Including a small amount of context in the form of a single conversation turn more than doubles abbreviation expansion accuracies compared to having no context, an effect that is more pronounced for longer phrases. Additionally, the robustness of models against typo noise can be enhanced through fine-tuning on noisy data.

Motivation & Objective

  • To address the high motor and cognitive cost of gaze-based text entry for people with severe motor impairments by enabling a high-keystroke-saving abbreviation scheme.
  • To investigate whether large language models (LLMs) can accurately expand highly abbreviated phrases using conversational context.
  • To evaluate the impact of context length, few-shot prompting, and fine-tuning on abbreviation expansion accuracy.
  • To assess the robustness of LLM-based AE to typing noise and explore mitigation strategies.
  • To develop a scalable, open-vocabulary abbreviation expansion framework suitable for real-time AAC applications.

Proposed method

  • The authors create a high-keystroke-saving abbreviation scheme by reducing phrases to their initial letters, enabling up to 77% keystroke savings.
  • They synthesize three new datasets for abbreviation expansion by applying this scheme to three public dialog datasets, preserving conversational context.
  • A 64B-parameter LLM is used as the backbone model, with input consisting of the abbreviation and a context window (0 to 1 turn) from the conversation.
  • The model generates candidate expansions, which are filtered to retain only those matching the abbreviation pattern using a string-matching heuristic.
  • Performance is evaluated using zero-shot prompting, few-shot prompting, and fine-tuning on the synthesized datasets.
  • Typo noise is simulated by introducing random character substitutions in abbreviations to test robustness, with fine-tuning on noisy data improving error tolerance.

Experimental results

Research questions

  • RQ1Can large language models accurately expand highly abbreviated phrases (e.g., 1–10 initial letters) into full phrases when provided with conversational context?
  • RQ2How does the inclusion of a single prior conversation turn affect the accuracy of abbreviation expansion compared to no context?
  • RQ3Does fine-tuning the LLM on synthetic noisy abbreviations improve its robustness to typing errors in real-world AAC use?
  • RQ4How do zero-shot, few-shot, and fine-tuned prompting strategies compare in terms of expansion accuracy across different dialog contexts?
  • RQ5To what extent does the model’s performance degrade for longer or less frequent phrases, and can context mitigate this?

Key findings

  • For replies to the initial turn of a dialog, a 64B-parameter LLM achieves an abbreviation expansion accuracy of 70% or higher when provided with a single prior conversation turn, more than doubling the accuracy compared to zero-context settings.
  • The model achieves a keystroke saving rate (KSR) of up to 77% on correctly expanded phrases, demonstrating the feasibility of high-KSR text entry using LLMs.
  • Including a single conversation turn increases expansion accuracy by over 200% compared to no context, with the effect being more pronounced for longer phrases.
  • Fine-tuning the model on synthetic typo data significantly improves its robustness to typing noise, reducing error rates in noisy abbreviation scenarios.
  • Fine-tuned LLMs achieve state-of-the-art performance on the AE task, outperforming zero-shot and few-shot baselines across all three dialog datasets evaluated.
  • The model's performance remains strong even for rare or long phrases when sufficient context is available, indicating that context effectively reduces ambiguity in open-vocabulary abbreviation expansion.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.