Resource-Efficient Gesture Recognition through Convexified Attention

Daniel Schwartz, Dario Salvucci, Yusuf Osmanlioglu, Richard Vallett, Genevieve Dion and Ali Shokoufandeh

Abstract

Wearable e-textile interfaces require gesture recognition capabilities but face severe constraints in power consumption, computational capacity, and form factor that make traditional deep learning impractical. While lightweight architectures like MobileNet improve efficiency, they still demand thousands of parameters, limiting deployment on textile-integrated platforms. We introduce a convexified attention mechanism for wearable applications that dynamically weights features while preserving convexity through nonexpansive simplex projection and convex loss functions. Unlike conventional attention mechanisms using non-convex softmax operations, our approach employs Euclidean projection onto the probability simplex combined with multi-class hinge loss, ensuring global convergence guarantees. Implemented on a textile-based capacitive sensor with four connection points, our approach achieves 100.00% accuracy on tap gestures and 100.00% on swipe gestures—consistent across 10-fold cross-validation and held-out test evaluation—while requiring only 120–360 parameters, a 97% reduction compared to conventional approaches. With sub-millisecond inference times (290–296 μ s) and minimal storage requirements (< 7KB), our method enables gesture interfaces directly within e-textiles without external processing. Our evaluation, conducted in controlled laboratory conditions with a single-user dataset, demonstrates feasibility for basic gesture interactions. Real-world deployment would require validation across multiple users, environmental conditions, and more complex gesture vocabularies. These results demonstrate how convex optimization can enable efficient on-device machine learning for textile interfaces.

Venue
EICS 2026
Volume
Proceedings of the ACM on Human-Computer Interaction, Volume 10, Issue 4
DOI
10.1145/3815369
PDF
https://dl.acm.org/doi/pdf/10.1145/3815369
Anthology ID
2026.pacm-eics.6

Cite

@article{schwartz-etal-2026-resourceefficient,
    title = {{Resource-Efficient Gesture Recognition through Convexified Attention}},
    author = {Daniel Schwartz and Dario Salvucci and Yusuf Osmanlioglu and Richard Vallett and Genevieve Dion and Ali Shokoufandeh},
    journal = {Proceedings of the ACM on Human-Computer Interaction},
    volume = {10},
    number = {4},
    issn = {2573-0142},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3815369},
    url = {https://doi.org/10.1145/3815369},
    abstract = {Wearable e-textile interfaces require gesture recognition capabilities but face severe constraints in power consumption, computational capacity, and form factor that make traditional deep learning impractical. While lightweight architectures like MobileNet improve efficiency, they still demand thousands of parameters, limiting deployment on textile-integrated platforms. We introduce a convexified attention mechanism for wearable applications that dynamically weights features while preserving convexity through nonexpansive simplex projection and convex loss functions. Unlike conventional attention mechanisms using non-convex softmax operations, our approach employs Euclidean projection onto the probability simplex combined with multi-class hinge loss, ensuring global convergence guarantees. Implemented on a textile-based capacitive sensor with four connection points, our approach achieves 100.00\% accuracy on tap gestures and 100.00\% on swipe gestures—consistent across 10-fold cross-validation and held-out test evaluation—while requiring only 120–360 parameters, a 97\% reduction compared to conventional approaches. With sub-millisecond inference times (290–296 μ s) and minimal storage requirements (< 7KB), our method enables gesture interfaces directly within e-textiles without external processing. Our evaluation, conducted in controlled laboratory conditions with a single-user dataset, demonstrates feasibility for basic gesture interactions. Real-world deployment would require validation across multiple users, environmental conditions, and more complex gesture vocabularies. These results demonstrate how convex optimization can enable efficient on-device machine learning for textile interfaces.}
}