PromptonomyViT: Multi-Task Prompt Learning Improves Video Transformers using Synthetic Scene Data

Roei Herzig, Ofir Abramovich, Elad Ben-Avraham, Assaf Arbelle, Leonid Karlinsky, Ariel Shamir, Trevor Darrell, Amir Globerson

Introduction

Action recognition in video is a complex task that requires more than just identifying objects; it necessitates an understanding of 3D layouts, spatial distances, and the physics of movement. While synthetic data from game engines can provide rich "scene-level" annotations—such as depth, 3D pose, and surface normals—obtaining such labels for real-world video is prohibitively expensive. However, models trained solely on synthetic data often struggle with the domain gap, and standard multi-task learning can lead to "task interference," where learning auxiliary tasks degrades performance on the primary objective.

The PromptonomyViT Framework

PromptonomyViT (PViT) addresses these challenges by combining task-specific prompt learning with multi-task training on synthetic data. The framework enables video transformers to capture complex scene structures from synthetic environments and transfer that structural "common sense" to real-world action recognition tasks.

Overview of the PViT framework showing the integration of real video data for action recognition and synthetic data for auxiliary scene tasks via task-specific prompts.

The core of PViT lies in its use of task-specific prompts. Instead of relying on a single classification (CLS) token, PViT introduces a set of learnable tokens—extra prompts—appended to the input sequence of a Vision Transformer (ViT). Each prompt is dedicated to a specific auxiliary task, such as depth estimation, surface normal prediction, or 3D pose estimation. Because these prompts participate in the transformer's self-attention mechanism, they act as specialized observers that attend to relevant spatio-temporal patches. This cross-token interaction allows the model to propagate structural information from synthetic tasks into the general representations used for the main action recognition task. Crucially, PViT fine-tunes the entire backbone, ensuring that the knowledge extracted by the prompts fundamentally reshapes the model's core features.

Experimental Setup

The researchers evaluated PViT across a diverse array of real-world downstream benchmarks, including Something-Something v2 (SSv2), Ego4D (first-person video), and Diving48 (fine-grained sports). Auxiliary synthetic data was sourced from multiple domains, such as SURREACT for human motion and HyperSim for indoor photorealistic scenes. This multi-domain approach ensures the model encounters a wide variety of structural priors during training.

Key Insights and Results

PViT consistently outperformed the state-of-the-art MViTv2 baseline across all tested datasets. Notable gains include a massive +6.0% accuracy boost on Diving48, highlighting the importance of underlying body pose for fine-grained action recognition, and a +3.2% improvement on Ego4D.

A key finding of the paper is the importance of Task-Dataset Alignment. The authors observed that not all auxiliary tasks are equally beneficial for every dataset. The utility of an auxiliary task is highly dependent on the nature of the downstream video data.

Analysis of the effect of synthetic data size and the agreement between different real-world datasets and auxiliary synthetic tasks.

As shown in the radar chart (Figure 5d), Ego4D benefits most from depth and bounding box information (relevant for hand-object interactions), while Diving48 relies heavily on 3D pose information. Furthermore, the study reveals that low-level geometric tasks, such as surface normals, generalize better from synthetic to real domains than high-level semantic tasks, as geometry tends to be more universal across domains. Importantly, these performance gains come at zero inference cost, as the auxiliary task heads are discarded after training, leaving a standard transformer architecture.

Conclusion

PromptonomyViT demonstrates that "free" synthetic data can significantly enhance real-world video understanding through structured prompt learning. By treating auxiliary tasks as specialized prompts, the model successfully bridges the domain gap and avoids task interference. While the gap between synthetic and real data remains a challenge, PViT provides a scalable and efficient way to inject geometric and structural priors into video transformers. Future work may focus on automating the selection of task-dataset pairings and exploring the limits of scaling diverse synthetic tasks.

Summary updated

BibTeX
@inproceedings{herzig2024promptonomyvit,
  author = {Roei Herzig and Ofir Abramovich and Elad Ben-Avraham and Assaf Arbelle and Leonid Karlinsky and Ariel Shamir and Trevor Darrell and Amir Globerson},
  title = {{PromptonomyViT: Multi-Task Prompt Learning Improves Video Transformers using Synthetic Scene Data}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2024},
  doi = {10.1109/wacv57701.2024.00666},
}
Figure