LLM Powered Text Entry Decoding and Flexible Typing on Smartphones
Large language models (LLMs) have shown exceptional performance in various language-related tasks. However, their application in keyboard decoding, which involves converting input signals (e.g. taps and gestures) into text, remains underexplored. This paper presents a fine-tuned FLAN-T5 model for decoding. It achieves 93.1% top-1 accuracy on user-drawn gestures, outperforming the widely adopted <i>SHARK</i> <sup>2</sup> decoder, and 95.4% on real-word tap typing data. In particular, our decoder supports Flexible Typing, allowing users to enter a word with taps, gestures, multi-stroke gestures, and tap-gesture combinations. User study results show that Flexible Typing is beneficial and well-received by participants, where 35.9% of words were entered using word gestures, 29.0% with taps, 6.1% with multi-stroke gestures, and the remaining 29.0% using tap-gestures. Our investigation suggests that the LLM-based decoder improves decoding accuracy over existing word gesture decoders while enabling the Flexible Typing method, which enhances the overall typing experience and accommodates diverse user preferences.
Authors
- I. V. Ramakrishnan (ORCID: https://orcid.org/0000-0002-1768-7043)
- Xiaojun Bi (ORCID: https://orcid.org/0000-0002-9716-7709)
- Dan Zhang (ORCID: https://orcid.org/0000-0002-2198-3160)
- Yan Ma (ORCID: https://orcid.org/0000-0001-8264-3103)
Institutions
- Stony Brook University (US)
Publication Details
- Published
- 2025-04-24
- DOI
- https://doi.org/10.1145/3706598.3714314
- Primary Topic
- Interactive and Immersive Displays
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Science Foundation
- National Institutes of Health