Abstract
Synthesizing diverse and physically plausible Human-Scene Interactions (HSI) is pivotal for both computer animation and embodied AI. Despite encouraging progress, current methods mainly focus on developing separate controllers, each specialized for a specific interaction task. This significantly hinders the ability to tackle a wide variety of challenging HSI tasks that require the integration of multiple skills, e.g., sitting down while carrying an object. To address this issue, we present TokenHSI, a single, unified transformer-based policy capable of multi-skill unification and flexible adaptation. The key insight is to model the humanoid proprioception as a separate shared token and combine it with distinct task tokens via a masking mechanism. Such a unified policy enables effective knowledge sharing across skills, thereby facilitating the multi-task training. Moreover, our policy architecture supports variable length inputs, enabling flexible adaptation of learned skills to new scenarios. By training additional task tokenizers, we can not only modify the geometries of interaction targets but also coordinate multiple skills to address complex tasks. The experiments demonstrate that our approach can significantly improve versatility, adaptability, and extensibility in various HSI tasks.
1. Introduction
In computer animation and embodied AI, synthesizing natural human-environment interactions remains a significant challenge. Traditional approaches typically rely on "specialist" controllers—separate models trained for specific tasks like walking, sitting, or climbing. This modularity, however, introduces several critical limitations:
- Lack of Synergy: Knowledge gained in one task (e.g., leg coordination for walking) is not easily transferred to others (e.g., sitting).
- Environmental Rigidity: Specialists often fail when faced with geometric variations, such as different chair heights or uneven terrain.
- Inefficiency: Combining skills, such as carrying a box while climbing stairs, often requires training a new model from scratch, as fine-tuning existing specialists frequently leads to catastrophic forgetting.
TokenHSI addresses these issues by proposing a unified framework that shares motor knowledge across tasks and enables efficient adaptation to novel, complex scenarios.
2. Methodology: Task Tokenization
The core innovation of TokenHSI is the conceptualization of interaction as a sequence of discrete "tokens" processed by a Transformer architecture.
- Proprioception Token: Encodes the humanoid’s internal state (joint positions and velocities). This token is shared across all tasks, fostering a universal understanding of body mechanics.
- Task Tokens: Encode specific objectives, such as target paths or object locations.
- Masking Mechanism: A training-time mask ensures the model attends only to relevant task tokens, preventing cross-task interference.
Efficient Policy Adaptation
To learn new tasks or skill compositions, the framework employs a frozen pre-trained Transformer and Proprioception tokenizer. Adaptation is achieved by training lightweight new Task Tokenizers and zero-initialized Adapter Layers in the action head. This strategy allows the model to acquire complex behaviors rapidly without degrading previously learned skills.
3. Experimental Setup
The model was trained using physics-based reinforcement learning on several high-quality datasets:
- AMASS: For foundational locomotion and climbing.
- OMOMO & SAMP: For carrying and sitting interactions.
- 3D-Front: For diverse furniture geometries.
- Procedural Generation: To create varied box dimensions and stair configurations for robustness testing.
4. Results and Discussion
TokenHSI demonstrates superior performance over both single-task specialists and multi-task baselines.
- Foundational Mastery: TokenHSI achieved a 99.6% success rate in sitting tasks, outperforming models trained solely for that purpose.
- Robust Composition: In the "Climb + Carry" task, TokenHSI maintained a 99.2% success rate, whereas the state-of-the-art CML baseline dropped to 51.3%.
- Long-Horizon Tasks: In a sequential "Walk → Carry → Climb → Sit" marathon, TokenHSI completed an average of 3.79 out of 4 sub-tasks, nearly four times the success rate of models trained from scratch (0.82).
- Generalization: The model successfully adapted to irregular furniture and uneven stairs, indicating an "understanding" of interaction mechanics rather than simple path memorization.
Key Insights
The success of TokenHSI stems from two main factors: the universality of proprioception and the extensibility of Transformers. By decoupling body control from goal-oriented tasks, the model leverages shared mechanics across the entire skill set. Furthermore, the Transformer's ability to handle variable input lengths allows for seamless "plug-and-play" skill composition.
5. Conclusion and Future Work
TokenHSI represents a significant step toward general-purpose HSI agents. However, limitations remain, particularly in reward engineering and high-level autonomy. Currently, reward functions are hand-crafted, and long-horizon tasks require a Finite State Machine for task switching. Future research will explore the integration of Large Language Models (LLMs) and large-scale video data to automate reward design and enable autonomous high-level planning in unstructured environments.
Summary updated