FUTO Swipe: Layout-Agnostic Neural Swipe Decoding
This paper introduces FUTO Swipe, a layout-agnostic neural decoder that predicts characters based on swipe gesture characteristics rather than fixed keyboard layouts, enabling high-accuracy performance across diverse mobile keyboards by leveraging geometric augmentations and a newly released large-scale swipe corpus.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a very talented translator who can read a specific language perfectly, but only if they are looking at a specific map. If you give them a different map (a different keyboard layout), they get completely lost. This has been the problem with "swipe typing" on phones for years. The AI models that guess what word you meant were trained on one specific keyboard (usually the standard QWERTY) and couldn't adapt if you switched to a different one, like a Russian layout or a custom design.
The authors of this paper, David Lee Miller and Aleksandras Kostarevas from FUTO, have built a new kind of translator that doesn't care about the map. They call it FUTO Swipe.
Here is how they did it, explained simply:
1. The "Shape-Shifting" Teacher
Usually, to teach an AI to read a new keyboard, you need to feed it thousands of examples of people typing on that specific keyboard. But for many languages or custom layouts, those examples don't exist.
The FUTO team solved this by teaching the AI to look at the shape of the finger movement rather than the specific buttons.
- The Analogy: Imagine you are teaching a child to recognize a "smile." Instead of showing them a picture of a smile drawn on a specific piece of paper, you show them a smile drawn on a piece of paper, then you stretch the paper, rotate it, squish it, and flip it upside down. You teach the child that a "smile" is defined by the curve, not the paper it's on.
- The Tech: At every step of training, the computer takes the finger swipe and the keyboard layout and applies the same "stretching and twisting" (geometric augmentation) to both. This forces the AI to learn the gesture itself, not the specific location of the keys.
2. The "Universal Remote" Decoder
Most AI decoders have the keyboard "baked into" their brain during training. If you change the keyboard, the brain breaks.
The FUTO model is different. It has a "universal remote" feature.
- The Analogy: Think of a standard TV remote that only works with one specific brand of TV. If you buy a new TV, you need a new remote. The FUTO model is like a "Smart Remote" that asks the TV, "What are your button positions?" right before you press a button. It doesn't memorize the buttons; it reads the map you hand it at that exact moment.
- The Tech: When you use the app, the keyboard layout is sent to the model as a list of coordinates (where the keys are). The model uses this list to figure out which letter you likely meant, without ever having seen that specific layout before.
3. The Massive Library of Swipes
To train this "universal" model, they needed a lot of data. Public data was scarce, especially for non-English layouts.
- The Solution: They built swipe.futo.org, a giant library where over 12,000 volunteers donated their typing swipes. They collected over 1 million swipes. This is the largest open collection of swipe data they know of, and they made it free for anyone to use.
4. The Results: Better Than the Original
The most surprising part of their findings is that this "universal" model is actually better at reading some layouts than it is at reading the one it was trained on.
- The Analogy: Imagine a chef who learned to cook on a standard stove. You give them a fancy, custom-designed stove they've never seen. Surprisingly, they cook a better meal on the new stove than they did on the old one.
- The Reality: The model was trained only on English (QWERTY) data. Yet, when tested on a layout called "ClearFlow" (which was designed to be easier to swipe), the model got 96.8% accuracy. On the English QWERTY it was trained on, it got 92.9%. It generalized so well that it outperformed its own training ground.
5. Designing Better Keyboards
Because the model is so flexible, the authors used it to design a new keyboard layout called KASROZ.
- The Process: They used the AI itself as a judge. They tried thousands of different letter arrangements on the keyboard. The AI would "simulate" typing words on each arrangement and score how easy it was to understand the gesture.
- The Result: They found a layout (KASROZ) that was even easier for the AI to read than the standard QWERTY or the popular ClearFlow. It solved a specific problem where three letters in a row (like "s-t-r-e-a-m") look like a straight line, making it hard for the AI to know if you meant "stream" or "steam." The new layout breaks that straight line, making the intention clear.
Summary
The paper claims they have built a swipe-typing AI that:
- Doesn't need retraining for new keyboard layouts.
- Learns from the shape of the swipe, not the specific keys.
- Is more accurate on new layouts than on the one it was trained on.
- Is backed by a massive, free dataset of over 1 million user swipes.
They have released both the AI models and the dataset to the public, allowing anyone to build swipe typing for any language or custom keyboard layout without needing to collect their own massive dataset first.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.