柠檬导航

News

AI learns to type on a phone like humans

Computational model precisely replicates eye and finger movements of touchscreen users -- could lead to better auto-correct and keyboard usability for unique needs

Touchscreens are notoriously difficult to type on. Since we can鈥檛 feel the keys, we rely on the sense of sight to move our fingers to the right places and check for errors, a combination of efforts we can鈥檛 pull off at the same time. To really understand how people type on touchscreens, researchers at Aalto University and the have created the first artificial intelligence model that predicts how people move their eyes and fingers while typing.

The AI model can simulate how a human user would type any sentence on any keyboard design. It makes errors, detects them 鈥 though not always immediately 鈥 and corrects them, very much like humans would. The simulation also predicts how people adapt to alternating circumstances, like how their writing style changes when they start using a new auto-correction system or keyboard design.

鈥楶reviously, touchscreen typing has been understood mainly from the perspective of how our fingers move. AI-based methods have helped shed new light on these movements: what we鈥檝e discovered is the importance of deciding when and where to look. Now, we can make much better predictions on how people type on their phones or tablets,鈥 says Dr. Jussi Jokinen, who led the work.

The study, to be presented at ACM CHI on 12 May, lays the groundwork for developing, for instance, better and even personalized text entry solutions.

鈥楴ow that we have a realistic simulation of how humans type on touchscreens, it should be a lot easier to optimize keyboard designs for better typing 鈥 meaning less errors, faster typing, and, most importantly for me, less frustration,鈥 Jokinen explains.

In addition to predicting how a generic person would type, the model is also able to account for different types of users, like those with motor impairments, and could be used to develop typing aids or interfaces designed with these groups in mind. For those facing no particular challenges, it can deduce from personal writing styles 鈥 by noting, for instance, the mistakes that repeatedly occur in texts and emails 鈥 what kind of a keyboard, or auto-correction system, would best serve a user.

Vertailu ihmisen ja teko盲lymallin n盲pp盲ilyst盲
Visualisation of where user is pointing and looking when typing. Green indicates location of eyes, blue of fingers. Dark shade stands for longer or more frequent glances or movements. Left: simulation by model; right: observation from user.

Based on a method that teaches robots problem-solving

The novel approach builds on the group鈥檚 earlier empirical research, which provided the basis for a cognitive model of how humans type. The researchers then produced the generative model capable of typing independently. The work was done as part of a larger project on Interactive AI at the Finnish Center for Artificial Intelligence.

The results are underpinned by a classic machine learning method, reinforcement learning, that the researchers extended to simulate people. Reinforcement learning is normally used to teach robots to solve tasks by trial and error; the team found a new way to use this method to generate behavior that closely matches that of humans 鈥 mistakes, corrections and all. 

鈥榃e gave the model the same abilities and bounds that we, as humans, have. When we asked it to type efficiently, it figured out how to best use these abilities. The end result is very similar to how humans type, without having to teach the model with human data,鈥 Jokinen says.

Comparison to data of human typing confirmed that the model's predictions were accurate. In the future, the team hopes to simulate slow and fast typing techniques to, for example, design useful learning modules for people who want to improve their typing.  

The paper, Touchscreen Typing As Optimal Supervisory Control, will be presented 12 May 2021 at the ACM CHI conference.

More media

  • Download videos of AI typing, including making and correcting errors, and visualisation from Aalto Material Bank:  
    • The researchers made me type this
    • I make typos so you don鈥檛 have to 
    • Look ma no hands
  • Find the paper and other materials:

Finnish Center for Artificial Intelligence

The Finnish Center for Artificial Intelligence FCAI is a research hub initiated by Aalto University, the University of Helsinki, and the Technical Research Centre of Finland VTT. The goal of FCAI is to develop new types of artificial intelligence that can work with humans in complex environments, and help modernize Finnish industry. FCAI is one of the national flagships of the Academy of Finland.

FCAI
  • Updated:
  • Published:
Share
URL copied!

Read more news

Close-up of a complex scientific instrument with golden components and various wires, in a laboratory setting.
Press releases Published:

Time crystals could power future quantum computers

A time crystal, a long-life quantum system approaching perpetual motion, has been hooked up to its environment for the first time, unlocking an intriguing way to increase quantum computational and sensing power.
Book cover of 'Nanoparticles Integrated Functional Textiles' edited by Md. Reazuddin Repon, Daiva Miku膷ioniene, and Aminoddin Haji.
Research & Art Published:

Nanoparticles in Functional Textiles

Dr. Md. Reazuddin Repon, Postdoctoral Researcher at the Textile Chemistry Group, Department of Bioproducts and Biosystems, Aalto University, has contributed as an editor to a newly published academic volume titled 鈥淣anoparticles Integrated Functional Textiles鈥.
Person standing outdoors in autumn, wearing a grey hoodie and green jacket. Trees in the background with orange leaves.
Appointments Published:

Introducing Qi Chen: Trustworthy AI requires algorithms that can handle unexpected situations

AI developers must focus on safer and fairer AI methods, as the trust and equality of societies are at stake, says new ELLIS Institute Finland principal investigator Qi Chen
A person wearing a light grey hoodie stands indoors with a brick wall and green plants in the background.
Appointments, University Published:

The research puzzle of when humans and AI don鈥檛 see eye to eye

Francesco Croce works on robustness in multi-modal foundation models