Log2Motion: Biomechanical Motion Synthesis from Touch Logs
Michał Patryk Miazga, Hannah Bussmann, Antti Oulasvirta, Patrick Ebel
TL;DR
Log2Motion addresses the challenge of inferring realistic human motion from touch logs by tightly integrating a software emulator with a musculoskeletal forward simulator to produce biomechanically plausible finger–arm trajectories. The approach casts motion synthesis as learning muscle activations via reinforcement learning with a structured reward and decomposed motor operators (tapping and swiping), anchored by a Screen Mirror that links real applications to the physics environment. Empirical evaluations show the synthesized motions exhibit human-like kinematics, adhere to established speed–accuracy trade-offs (e.g., Fitts’ Law), align with motion-capture data, and yield meaningful estimates of motion, speed, accuracy, and effort. The work enables large-scale ergonomic and usability assessments from log data, supports adaptive postures, and offers a platform for downstream applications in accessibility and design, all while maintaining open science practices with code available at the project repository. $R_T$ values and other reward components guide task completion, balancing intermediate objectives with a dominant terminal goal to ensure robust learning.
Abstract
Touch data from mobile devices are collected at scale but reveal little about the interactions that produce them. While biomechanical simulations can illuminate motor control processes, they have not yet been developed for touch interactions. To close this gap, we propose a novel computational problem: synthesizing plausible motion directly from logs. Our key insight is a reinforcement learning-driven musculoskeletal forward simulation that generates biomechanically plausible motion sequences consistent with events recorded in touch logs. We achieve this by integrating a software emulator into a physics simulator, allowing biomechanical models to manipulate real applications in real-time. Log2Motion produces rich syntheses of user movements from touch logs, including estimates of motion, speed, accuracy, and effort. We assess the plausibility of generated movements by comparing against human data from a motion capture study and prior findings, and demonstrate Log2Motion in a large-scale dataset. Biomechanical motion synthesis provides a new way to understand log data, illuminating the ergonomics and motor control underlying touch interactions.
