Enhancing IMU-Based Online Handwriting Recognition via Contrastive Learning with Zero Inference Overhead
Friedrich-Alexander-Universität Erlangen-Nürnberg(弗里德里希-艾萨克-亚历山大大学埃尔朗根-纽伦堡);STABILO International GmbH(STABILO国际有限公司);Ludwig-Maximilians-Universität München(路德维希-马克西米利安大学慕尼黑);Munich Center for Machine Learning(慕尼黑机器学习中心);Helmholtz Zentrum München - German Research Center for Environmental Health(海德堡中心慕尼黑 - 德国环境健康研究中心)
Jindong Li, Dario Zanca, Vincent Christlein, Tim Hamann, Jens Barth, Peter Kämpf, Björn Eskofier
Online handwriting recognition using inertial measurement units opens up handwriting on paper as input for digital devices. Doing it on edge hardware improves privacy and lowers latency, but entails memory constraints. To address this, we propose Error-enhanced Contrastive Handwriting Recognition (ECHWR), a training framework designed to improve feature representation and recognition accuracy without increasing inference costs. ECHWR utilizes a temporary auxiliary branch that aligns sensor signals with semantic text embeddings during the training phase. This alignment is maintained through a dual contrastive objective: an in-batch contrastive loss for general modality alignment and a novel error-based contrastive loss that distinguishes between correct signals and synthetic hard negatives. The auxiliary branch is discarded after training, which allows the deployed model to keep its original, efficient architecture. Evaluations on the OnHW-Words500 dataset show that ECHWR significantly outperforms state-of-the-art baselines, reducing character error rates by up to 7.4% on the writer-independent split and 10.4% on the writer-dependent split. Finally, although our ablation studies indicate that solving specific challenges require specific architectural and objective configurations, error-based contrastive loss shows its effectiveness for handling unseen writing styles.
Contrastive Masked Autoencoders for Character-Level Open-Set Writer Identification
University of Technology Sydney(悉尼科技大学);Australian AI Institute(澳大利亚人工智能研究所);School of Computer Science, Faculty of Engineering and Information Technology, University of Technology Sydney(悉尼科技大学工程与信息技术学院计算机科学学院)
Structured Contrastive Learning for Interpretable Latent Representations
Department of Electrical and Electronic Engineering, Imperial College London(帝国理工学院伦敦电子与电气工程系);Institute of Biomedical Engineering, Department of Engineering Science, University of Oxford(牛津大学生物医学工程研究所)
Tokenization vs. Augmentation: A Systematic Study of Writer Variance in IMU-Based Online Handwriting Recognition
Friedrich-Alexander-Universität Erlangen-Nürnberg(埃尔朗根-纽伦堡弗里德里希-亚历山大大学);STABILO International GmbH(STABILO国际有限公司);Ludwig-Maximilians-Universität München(慕尼黑路德维希-马克西米利安大学);Munich Center for Machine Learning(慕尼黑机器学习中心);Helmholtz Zentrum München - German Research Center for Environmental Health(慕尼黑海德堡中心 - 德国环境健康研究中心)
Disentangling Writer and Character Styles for Handwriting Generation
South China University of Technology(华南理工大学);The Hong Kong Polytechnic University(香港理工大学);Pazhou Laboratory(琶洲实验室);National University of Singapore(新加坡国立大学)