Parameter Efficient Tuning Allows Scalable Personalization of LLMs for Text Entry: A Case Study on Abbreviation Expansion

Katrin Tomanek, Shanqing Cai, Subhashini VenugopalanarXiv 2023 · DOI

Abstract

For users with severe motor impairments, abbreviation expansion is a critical tool for efficient communication. However, personalizing large language models (LLMs) for individual users faces challenges of data scarcity, overfitting, and computational scalability. This paper investigates parameter-efficient fine-tuning (PEFT) techniques, specifically prompt-tuning, as a solution. Our results demonstrate that prompt-tuning significantly outperforms full fine-tuning and retrieval-augmented methods, achieving a 38.8% Accuracy @ 5 on real-world data from a user with ALS while maintaining a small, scalable parameter footprint.

Introduction

Individuals with motor impairments, such as those living with Amyotrophic Lateral Sclerosis (ALS), often rely on slow text-entry methods like eye-gaze typing. Abbreviation expansion (e.g., "h r u" to "how are you") is vital for increasing communication speed. While general-purpose LLMs are proficient at standard language, they often fail to capture the unique vocabulary and personal style of specific users. Personalizing massive models (e.g., 8B parameters) is hindered by limited user data (often <1,000 samples), the risk of overfitting, and the prohibitive cost of storing full model checkpoints for every user.

Methods

We evaluated three personalization strategies for an 8B parameter decoder-only LLM:

  1. Full Fine-tuning: Updating all 8 billion parameters on user-specific data.
  2. Retrieval-Augmented In-Context Learning (RA-ICL): Using a Sentence-T5 retriever to find similar past conversations and providing them as few-shot examples in the prompt.
  3. Prompt-tuning (PEFT): Keeping the base LLM frozen and learning a small set of "soft-prompt" tokens (numeric vectors) prepended to every input.

The models were trained on a base dataset of 237,000 abbreviation pairs. Personalization was tested on a real-world dataset from an ALS user (630 training samples) and a synthetic dataset simulating 10 movie characters from the Cornell Movie Dialogs dataset.

Results

Prompt-tuning emerged as the superior method for personalization. As shown in the performance summary below, it achieved the highest accuracy and BLEU scores, significantly surpassing the non-personalized base model and standard fine-tuning.

Table 1: Performance comparison of personalization strategies on the ALS user dataset.

Beyond overall accuracy, prompt-tuning demonstrated better generalization. While full fine-tuning often overfits to the short phrases common in small training sets, prompt-tuning maintains performance across varying sentence lengths. As illustrated in Figure 1, the fine-tuned model's performance degrades significantly as sentence length increases, whereas the prompt-tuned model remains robust.

Figure 1: Accuracy @ top-5 across different sentence lengths for the base model, fine-tuned, and prompt-tuned versions.

Discussion and Key Insights

A critical finding was the impact of soft-prompt initialization. Initializing tokens with user-relevant concepts (e.g., "ALS", "caregiver") outperformed random initialization, suggesting these tokens serve as contextual anchors that guide the model's generation toward the user's specific domain.

Furthermore, the scalability of prompt-tuning is a major advantage for production environments. Since only a few thousand parameters are learned per user, a single server can host one base LLM and simply swap out tiny user-specific "profile" vectors. This avoids the storage and memory overhead of maintaining full model checkpoints for every individual client.

Conclusion

Prompt-tuning provides a "Goldilocks" solution for LLM personalization in assistive technology: it is flexible enough to capture personal style, robust against overfitting on small datasets, and computationally efficient for large-scale deployment. Future work will explore multi-lingual support and privacy-preserving techniques to ensure that learned soft-prompts do not inadvertently leak sensitive user information.

Summary updated

BibTeX
@misc{tomanek2023parameter,
  author = {Katrin Tomanek and Shanqing Cai and Subhashini Venugopalan},
  title = {{Parameter Efficient Tuning Allows Scalable Personalization of LLMs for Text Entry: A Case Study on Abbreviation Expansion}},
  year = {2023},
  eprint = {2312.14327},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.14327},
}
Figure