Self-Distillation Based Multi-task Learning Model For Stylus Input Latency Compensation

Kuangyu Liu, Fangjie Hou, Xinyi Zhang, Jianlin Li, Zuobin Ning, Xuecheng Wu and Shunli Mao

Abstract

Input latency significantly deteriorates the users experience during touchscreen interactions, especially when they engage in precision tasks such as writing or drawing with a stylus. We address this issue by first decomposing it into two constituent tasks: stylus nib future trajectory prediction and predicted trajectory length optimization, facilitating a more thorough investigation into balancing latency compensation and side-effects, and then proposing a novel multi-task learning architecture that integrates the consideration of both tasks, enhances overall performance through alternating-joint training. Additional usage of specific features generated with an active stylus and the adoption of a customized distance error metric are also aimed at accuracy improvement. Experiments reveal that the multi-task learning model gives 0.47, 1.30, and 2.24 pixels of average error in cases of prediction in 6, 14, and 20 ms, and offers better trade-offs between latency reduction and side-effects across a wide range of usage scenarios.

Venue
MobileHCI 2025
Volume
Proceedings of the ACM on Human-Computer Interaction, Volume 9, Issue 5
DOI
10.1145/3743742
PDF
https://dl.acm.org/doi/pdf/10.1145/3743742
Anthology ID
2025.pacm-mhci.39

Cite

@article{liu-etal-2025-selfdistillation,
    title = {{Self-Distillation Based Multi-task Learning Model For Stylus Input Latency Compensation}},
    author = {Kuangyu Liu and Fangjie Hou and Xinyi Zhang and Jianlin Li and Zuobin Ning and Xuecheng Wu and Shunli Mao},
    journal = {Proceedings of the ACM on Human-Computer Interaction},
    volume = {9},
    number = {5},
    issn = {2573-0142},
    year = {2025},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3743742},
    url = {https://doi.org/10.1145/3743742},
    abstract = {Input latency significantly deteriorates the users experience during touchscreen interactions, especially when they engage in precision tasks such as writing or drawing with a stylus. We address this issue by first decomposing it into two constituent tasks: stylus nib future trajectory prediction and predicted trajectory length optimization, facilitating a more thorough investigation into balancing latency compensation and side-effects, and then proposing a novel multi-task learning architecture that integrates the consideration of both tasks, enhances overall performance through alternating-joint training. Additional usage of specific features generated with an active stylus and the adoption of a customized distance error metric are also aimed at accuracy improvement. Experiments reveal that the multi-task learning model gives 0.47, 1.30, and 2.24 pixels of average error in cases of prediction in 6, 14, and 20 ms, and offers better trade-offs between latency reduction and side-effects across a wide range of usage scenarios.}
}