Abstract
TapNet is a multi-task deep learning framework designed to transform standard smartphone inertial measurement unit (IMU) sensors into a sophisticated off-screen input system. By utilizing a single "one-model-for-all" Convolutional Neural Network (CNN), TapNet simultaneously detects tap location, direction, and finger part (nail vs. pad) without requiring additional hardware. Our evaluation demonstrates high precision in location regression (MAE of 0.14) and direction classification (F1 score of 0.85), with an inference time of only 0.56ms on mobile CPUs.
Introduction
While touchscreens are the primary interface for mobile interaction, they possess inherent limitations, including visual occlusion and ergonomic challenges on large-format devices. Reaching the upper regions of a screen during one-handed use often compromises device stability. Previous research into "off-screen" input—such as tapping the back or sides of a device—has typically relied on specialized hardware or shallow machine learning models capable only of simple binary tap detection.
TapNet addresses these challenges by leveraging the noisy, low-resolution data from standard accelerometers and gyroscopes to predict complex tap properties across diverse phone models. By treating the entire device body as an interactive surface, TapNet expands the input vocabulary of mobile devices without increasing their physical complexity.
Methods
The core of the system is the TapNet architecture, a Multi-Input Multi-Output (MIMO) Convolutional Neural Network. Several engineering choices optimize the model for mobile performance and cross-device generalization:
- MIMO Architecture: Rather than deploying separate models for each task, TapNet utilizes shared convolutional layers to extract common vibrational features. Task-specific branches then handle individual predictions. This approach exploits the synergy between related tasks, such as how tap direction informs tap location.
- One-Channel CNN: To improve parameter efficiency, TapNet concatenates 6-channel IMU data into a single 1D vector. This allows the network to reuse filters across different axes, reducing the model's memory footprint.
- Device Vectors: To ensure the model generalizes across different physical form factors, auxiliary information (phone dimensions and orientation) is fed directly into the network as a "device vector."
- Heuristic Gating: To preserve battery life, a low-power "gate" monitors the z-axis accelerometer. The full CNN is only activated when a specific vibration spike is detected.
Datasets and Training
The researchers employed a unique data collection strategy. A primary training dataset of 135,260 samples was collected from a single individual to ensure maximum diversity in grip styles, forces, and tap locations. A secondary testing dataset of 38,545 samples from 31 participants was used for validation. This "One-Person" hypothesis suggests that for HCI tasks involving physical vibrations, data diversity (capturing various physical interactions) is more critical for generalization than user diversity.
Key Results
TapNet significantly outperforms traditional benchmarks, such as Support Vector Machines (SVMs) and smaller CNN architectures.
- Direction Classification: The model achieved an F1 score of 0.85 for 6-class direction classification (front, back, left, right, top, bottom).
- Location Precision: In a regression task, TapNet achieved a Mean Absolute Error (MAE) of 0.14, approximately 10% of the screen's diagonal. This precision is sufficient to distinguish between targets the size of standard home screen icons.
- Efficiency: The model is highly optimized for real-time use, with a single inference taking only 0.56ms on a standard mobile CPU.
Limitations and Future Work
Despite its performance, TapNet faces several hurdles. The current resolution (10% of screen diagonal) is suitable for button-sized targets but not for fine-grained interactions like drawing. Furthermore, the system requires a 120ms vibration window to process a tap, introducing a slight latency. Future research will explore "lightweight adaptation" techniques, allowing the model to learn a specific user's biomechanics in seconds to further improve location accuracy.
Summary updated