Context-Aware Abbreviation Expansion Using Large Language Models

Shanqing Cai, Subhashini Venugopalan, Katrin Tomanek, Ajit Narayanan, Meredith Ringel Morris, Michael P. Brenner

Introduction

For individuals with severe motor impairments, such as those living with Amyotrophic Lateral Sclerosis (ALS), communication through Augmentative and Alternative Communication (AAC) devices is often a slow and physically taxing process. Using eye-gaze keyboards, users typically achieve typing speeds of only 8–10 words per minute. While standard word completion and prediction algorithms offer some relief, they generally only reduce keystrokes by 40–50%.

Researchers at Google have proposed a more radical paradigm to address this bottleneck: "aggressive abbreviation." In this system, a user types only the first letter of each word in a phrase. For example, the phrase "it is playing in the backyard" is reduced to "iipitb." While this significantly reduces the physical effort required, it introduces extreme linguistic ambiguity. This paper explores how Large Language Models (LLMs) can leverage conversational context to decode these abbreviations with high accuracy.

Methodology

The researchers employed LaMDA, a 64-billion parameter decoder-only Transformer model, as the core engine for expansion. The system architecture consists of several critical components designed to handle the inherent ambiguity of first-letter abbreviations.

Abbreviation and Expansion Scheme

The system uses a rule-based approach where each word is reduced to its initial letter. Specific rules handle contractions (e.g., "can't" becomes "ct") and preserve numbers to maintain clarity. To decode these, the LLM utilizes a sample-and-filter approach: the model generates a large pool of candidate expansions (up to 128 or more), which are then filtered to ensure they strictly match the user's typed abbreviation.

The Importance of Context

A key innovation of this research is the integration of conversational context. The model is provided with previous turns of the dialogue alongside the abbreviation. This semantic grounding allows the model to distinguish between identical abbreviations that might have vastly different meanings depending on the topic of conversation.

Fine-Tuning and Noise Robustness

The team compared "zero-shot" and "few-shot" prompting against a fine-tuned version of the model (FT-LLM). Furthermore, recognizing that eye-gaze typing is prone to errors, they developed a noise-robust model (FTnoise-LLM). This version was trained on simulated typos—generated using a 2D Gaussian distribution over a QWERTY layout—allowing the system to suggest correct phrases even when a user accidentally selects a neighboring key.

Evaluation and Key Results

The system was evaluated using several public conversation datasets, including Turk Dialogues Corrected (TDC), DailyDialog Corrected (DDC), and Cornell Movie Dialogues (CMD).

Performance Metrics

  • Accuracy: For replies to a conversation starter, the 64B model successfully expanded over 70% of phrases up to 10 words in length.
  • Keystroke Savings: The system achieved an effective Keystroke Saving Rate (KSR) of approximately 77% on successful expansions, nearly doubling the efficiency of traditional word completion.
  • Latency: Real-time usability is a primary concern for AAC. The median latency for generating 128 samples was roughly 0.56 seconds. Given that eye-gaze "dwell times" per key are often between 0.3 and 0.5 seconds, this latency is within the threshold for fluid interaction.

Insights on Model Scaling

The study found that model size is a critical factor in performance. The 64B parameter model significantly outperformed smaller variants (such as 4B LaMDA or T5-small), particularly when resolving the high levels of ambiguity found in longer abbreviations.

Discussion and Limitations

While the results demonstrate a significant leap in potential communication speed, several challenges remain for real-world implementation:

  1. Proper Nouns: The model occasionally struggles with specific names, such as expanding "l" to "Linda" when the intended target was "Logan."
  2. Cognitive Load: Although physical keystrokes are reduced, the user must still perform the cognitive task of scanning a list of suggested expansions (typically up to five) to select the correct one.
  3. Semantic Near Misses: Many "failed" expansions were semantically equivalent to the target (e.g., "yes" vs. "yeah"). While technically an error in a controlled study, these may be perfectly acceptable to users in a real-world setting.
  4. Failure Recovery: An essential area for future work is developing efficient "fallback" mechanisms so that if the model fails to provide the correct expansion, the user can revert to traditional typing without a significant time penalty.

Conclusion

By combining aggressive abbreviation with the contextual reasoning capabilities of Large Language Models, this research offers a promising path toward significantly faster communication for individuals with motor impairments. The transition from 40% to 77% keystroke savings represents a potential transformation in the quality of life for AAC users, provided that future iterations can further reduce cognitive load and improve the handling of specific entities like proper nouns.

Summary updated

BibTeX
@inproceedings{cai2022context,
  author = {Shanqing Cai and Subhashini Venugopalan and Katrin Tomanek and Ajit Narayanan and Meredith Ringel Morris and Michael P. Brenner},
  title = {{Context-Aware Abbreviation Expansion Using Large Language Models}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.91},
}
Figure