LLM Powered Text Entry Decoding and Flexible Typing on Smartphones

Yan Ma, Dan Zhang, IV Ramakrishnan and Xiaojun Bi

Abstract

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 SHARK 2 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.

Venue
CHI 2025
Volume
Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3706598.3714314
PDF
https://dl.acm.org/doi/pdf/10.1145/3706598.3714314
Anthology ID
2025.chi.1219

Cite

@inproceedings{ma-etal-2025-llm,
    title = {{LLM Powered Text Entry Decoding and Flexible Typing on Smartphones}},
    author = {Yan Ma and Dan Zhang and IV Ramakrishnan and Xiaojun Bi},
    booktitle = {Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems},
    isbn = {9798400713941},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3706598.3714314},
    url = {https://doi.org/10.1145/3706598.3714314},
    abstract = {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 SHARK 2 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.}
}