Abstract
How can we predict future interaction trajectories of human hands in a scene given high-level colloquial task specifications in the form of natural language? In this paper, we extend the classic hand trajectory prediction task to several tasks involving explicit and implicit language queries. Our proposed tasks require extensive understanding of human daily activities and reasoning abilities about what is happening next given cues from the current scene. We also develop new benchmarks to evaluate the proposed two tasks, Vanilla Hand Prediction (VHP) and Reasoning-Based Hand Prediction (RBHP). We enable solving these tasks by integrating high-level world knowledge and reasoning capabilities of Vision-Language Models (VLMs) with the auto-regressive nature of low-level ego-centric hand trajectories. Our model, HandsOnVLM is a novel VLM that can generate textual responses and produce future hand trajectories through natural-language conversations. Our experiments show that HandsOnVLM outperforms existing task-specific methods and other VLM baselines on proposed tasks, and demonstrates its ability to effectively utilize world knowledge for reasoning about low-level human hand trajectories based on the provided context.
Introduction
Predicting human hand movement within a scene is a fundamental challenge in egocentric vision and robotics. While traditional research has focused on high-level intention recognition (identifying what a person is doing) or low-level trajectory forecasting (predicting where a hand moves based on short video clips), these approaches often operate in isolation. Real-world interaction, however, requires a seamless integration of both: understanding the "why" behind a movement to accurately predict the "how."
Humans frequently use vague or implicit language to describe their needs—for instance, stating "I need something to open this slippery jar" rather than giving a direct command to "pick up the cloth." To address this, we introduce the Reasoning-Based Hand Prediction (RBHP) task. This task challenges models to move beyond simple action labels, requiring visual scene understanding, functional world knowledge, and precise trajectory generation.
Methodology
We propose HandsOnVLM, a video-based Vision-Language Model designed for iterative trajectory forecasting. The architecture bridges the gap between semantic reasoning and motor control through several key innovations:
- Slow-Fast Token Compression: To process video efficiently, the model employs a dual-path approach. "Fast" tokens capture temporal flow by averaging tokens across frames, while "Slow" tokens preserve spatial detail from specific sampled frames.
- The <HAND> Token: We extend the model’s vocabulary with a special
<HAND>token. During training, ground-truth hand positions are embedded directly into these tokens, allowing the LLM (Vicuna) to treat spatial coordinates as part of its natural language output. - Iterative Hand Decoding: The model predicts trajectories auto-regressively. For every
<HAND>token generated, a dedicated Trajectory Decoder (a Conditional Variational Autoencoder, or CVAE) converts the hidden state into 2D coordinates. These coordinates are then fed back into the next step to maintain temporal consistency. - Unified Training: HandsOnVLM is co-trained on a variety of tasks, including traditional video QA and captioning, ensuring it retains broad reasoning capabilities while mastering the specific "language" of hand movements.
Benchmarks and Evaluation
To evaluate our approach, we utilize both existing datasets and a newly introduced benchmark:
- Vanilla Hand Prediction (VHP): Evaluated using Epic-Kitchens, H2O, and FPHA, where models receive explicit action narrations (e.g., "open the microwave").
- Reasoning-Based Hand Prediction (RBHP): A new benchmark created using a GPT-4 pipeline to generate "action-aware" descriptions and implicit queries for Ego4D and Epic-Kitchens videos. Instead of direct commands, queries might ask, "What movement is needed to slice the bread?"
Results and Discussion
HandsOnVLM consistently outperforms task-specific baselines, such as Kalman Filters and Object-Centric Transformers, as well as other VLM-based approaches like LLaVA-Pixel2Seq.
- Quantitative Performance: On the Epic-Kitchens RBHP task, HandsOnVLM achieved an Average Displacement Error (ADE) of 0.187, a significant improvement over the LLaVA-Pixel2Seq baseline (0.27).
- Zero-Shot Generalization: The model maintained strong performance on unseen datasets (H2O and FPHA), indicating that it learns to reason about scene dynamics rather than simply memorizing trajectories.
- The Value of Reasoning: A key insight from our study is that fine-tuning on reasoning tasks (RBHP) actually improves performance on simpler trajectory tasks (VHP). This suggests that understanding the functional purpose of an object helps the model predict more physically plausible paths.
Conclusion and Future Work
HandsOnVLM demonstrates the power of integrating high-level world knowledge with low-level motor prediction. However, challenges remain in handling multi-hand interactions, severe occlusions, and long-horizon tasks (e.g., multi-step coffee making). Future research will focus on chaining sub-tasks sequentially to enable the model to navigate complex, multi-stage human activities.
Summary updated