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

anonymity of AI
AI, Artificial Intelligence, Computer Science Department, Highlight, Research, University of Helsinki Published:

How to ensure anonymity of AI systems?

When training artificial intelligence systems, developers need to use privacy-enhancing technologies to ensure that the subjects of the training data are not exposed, new study suggests.
Director at OKKA Foundation, Tuulikki Similä, Arto Hellas, and chairwoman of the board of directors of Nokia, Sari Baldauf.
Aalto University, Awards, Computer Science Department, Highlight Published:

Arto Hellas receives the Nokia Foundation teaching recognition award

Arto Hellas was awarded the inaugural Nokia-OKKA Educational Recognition Award for his long-term efforts in advancing ICT education.
Katsiaryna and Arash at ECAI 2025
AI, Computer Science Department, News from HIIT, Research, University of Helsinki Published:

GRADSTOP: Early Stopping of Gradient Descent via Posterior Sampling presented at ECAI 2025

HIIT Postdoc Katsiaryna Haitsiukewich presented a full paper at ECAI-2025
Mikko Kivelä and Ali Salloum
Aalto University, Computer Science Department, Highlight, Research Published:

Elites wield huge influence over deepening polarisation –– now we can tell exactly how much

Just a handful of influential voices may be enough to drive dramatic societal rifts, according to new research from Aalto University. The study gives unprecedented insight into the social media mechanics of the partisan divide.