Teaching a computer to type like a human

A new typing model simulates the typing process instead of just predicting words
A screenshot of the typing model developed by researchers. Photo: Aalto University
A screenshot of the typing model developed by researchers. Photo: Aalto University

An entirely new predictive typing model can simulate different kinds of users, helping figure out ways to optimize how we use our phones. Developed by researchers at Aalto University, the new model captures the difference between typing with one or two hands or between younger and older users.

‘Typing on a phone requires manual dexterity and visual perception: we press buttons, proofread text, and correct mistakes. We also use our working memory. Automatic text correction functions can help some people, while for others they can make typing harder,’ says Professor Antti Oulasvirta of Aalto University.

The researchers created a machine-learning model that uses its virtual ‘eyes and fingers’ and working memory to type out a sentence, just like humans do. That means it also makes similar mistakes and has to correct them.

‘We created a simulated user with a human-like visual and motor system. Then we trained it millions of times in a keyboard simulator. Eventually, it learned typing skills that can also be used to type in various situations outside the simulator,’ explains Oulasvirta.

The predictive typing model was developed in collaboration with Google. New designs for phone keyboards are normally tested with real users, which is costly and time-consuming. The project’s goal is to complement those tests so keyboards can be evaluated and optimized more quickly and easily.

For Oulasvirta, this is part of a larger effort to improve user interfaces overall and understand how humans behave in task-oriented situations. He leads a research group at Aalto that uses computational models of human behaviour to probe these questions.

‘We can train computer models so that we don’t need observation of lots of people to make predictions. User interfaces are everywhere today – fundamentally, this work aims to create a more functional society and smoother everyday life,’ he says.

The researchers will present their findings at the CHI Conference in May, the most prestigious scientific publication forum in the field of human-computer interaction. The peer-reviewed study is already available online.

This news item was originally published on the Aalto University website on 18.4.2024

  • Updated:
  • Published:
Share
URL copied!

Read more news

Junhao Li
AI, HCI, Highlight, Human-centric computing, News from HIIT, University of Helsinki Published:

Meet our Fellow: Junhao Li

We ask our fellows more about themselves and their research. For this article we ask our Fellow Junhao Li more about his research. Junhao is currently working under the supervision of Dorota Glowacka at the University of Helsinki Department of Computer Science
Verena Distler and Raphael Weidhaas
Aalto University, HCI, Highlight, Research Published:

Emotions help explain why people click phishing emails

People are currently taught to recognise phishing attempts in ways that may be counterproductive. Researchers call for information security training to take emotions into account more effectively.
Ja ihminen loi älyn
Aalto University, AI, Highlight Published:

New podcast explores Finnish contributions to artificial intelligence

In Aalto University's podcast “Ja ihminen loi älyn” (And humankind created intelligence), researchers Arno Solin ja Eric Malmi interview pioneers, entrepreneurs and experts about the AI field's history, disruptive consequences and the probability of humanity's destruction.
This AI model follows the logic humans use when choosing where to direct our aattention when reading. Image: Kalle Kataila / Aalto University
AI, Highlight, Research Published:

AI model captures how humans read, paving the way to personalised text and better augmented reality

Researchers now understand not just how our eyes move when we read, but also how we build meaning from text. The new model could hold the key to developing highly customisable applications that adapt to different types of reader.