Semantically Guided Action Anticipation

Anxhelo Diko, Antonino Furnari, Luigi Cinque, Giovanni Maria Farinella

TL;DR

LAGUNA introduces a novel approach to Unsupervised Domain Adaptation (UDA) by shifting the focus from forcing different domains into a shared absolute coordinate space to aligning their relative geometric structures. Guided by a domain-agnostic language space, LAGUNA allows models to retain crucial domain-specific features while maintaining consistent semantic relationships, outperforming state-of-the-art methods and even massive multimodal LLMs across multiple benchmarks.

What Problem Does This Paper Address?

Unsupervised Domain Adaptation (UDA) aims to transfer knowledge from a labeled source domain (e.g., real images) to an unlabeled target domain (e.g., clipart or sketches). Traditional UDA methods try to achieve this by forcing the feature representations of both domains to overlap directly in a shared embedding space (absolute coordinate alignment).

However, this absolute alignment often forces a compromise: it strips away domain-specific nuances—such as the intricate textures of a real image or the flat, bright colors of clipart—to make the spaces match. As a result, the aligned space becomes overly generic, degrading overall model performance.

Comparison between traditional absolute alignment and LAGUNA's relative space alignment.

Methods

The authors propose LAGUNA (LAnguage Guided UNsupervised Adaptation), which aligns domains by matching the relative positioning of concepts rather than their absolute coordinates. The framework operates in three distinct stages:

  1. Reference Structure Definition: Class labels are mapped into a domain-agnostic language space using a pre-trained SentenceTransformer. The distances (cosine similarities) between these class vectors form a fixed geometric "blueprint" or reference structure ($A$).
  2. Training the Language Supervisor: A language model ($G$) is trained on text captions to predict class categories. Crucially, it is optimized using a structure-preserving loss to ensure its text embeddings mirror the geometric relationships defined in Stage 1. This model generates high-quality pseudo-labels for the unlabeled target domain.
  3. Cross-Domain Visual Classifier: A visual encoder ($V$) extracts features from both domains. Instead of aligning the raw features, LAGUNA projects them into relative spaces defined by learnable domain-specific anchors ($A_s$ and $A_t$). A structural loss forces these relative visual spaces to mimic the reference language structure. To prevent the anchors from collapsing into a single point, the authors introduce a novel volume regularization loss based on Gram matrix determinants.
The 3-stage architecture of the LAGUNA framework.

Datasets

LAGUNA was evaluated across 18 different adaptation scenarios using four diverse image and video benchmarks:

  • DomainNet: A massive UDA dataset containing ~400K images across 345 classes, spanning four domains: Real, Clipart, Sketch, and Painting.
  • GeoImnet & GeoPlaces: Subsets of the GeoNet dataset (>750K images) focusing on geographic distribution shifts between the USA and Asia for objects and scenes.
  • Ego2Exo: A video domain adaptation benchmark derived from EgoExo-4D, testing the challenging shift between egocentric (first-person) and exocentric (third-person) perspectives.
  • GeoUniDA: Used to validate performance in a universal domain adaptation setting (open-world scenario with non-overlapping classes).

Key Insights and Ideas

  • The Power of Relativity: Representation spaces don't need to overlap in absolute coordinates to be semantically equivalent. As long as the internal geometric relationships (angles and relative distances between classes) match, the model can generalize effectively across domains.
  • Language as a Universal Blueprint: Language spaces inherently capture domain-agnostic semantic distances (e.g., a "chair" is naturally closer to a "sofa" than to an "airplane"). This makes text an ideal reference geometry for structuring visual spaces.
  • Bigger Isn't Always Better: Tailored, structurally aligned models can significantly outperform massive, multi-billion-parameter Multimodal Large Language Models (MLLMs) on fine-grained spatial and temporal domain adaptation tasks, while being roughly 100× smaller.

Key Results

LAGUNA achieved state-of-the-art performance across all evaluated benchmarks:

  • DomainNet: Delivered an average accuracy improvement of +3.32% using a Swin-B backbone and +2.51% using a ViT-B backbone.
  • Geographic Adaptation: Achieved substantial boosts on GeoPlaces (+5.75%) and GeoImnet (+4.77%).
  • Ego2Exo Video Shift: Improved mean per-class accuracy by +1.94%, narrowing the gap toward the upper-bound oracle.
  • Vs. Zero-Shot MLLMs: Outperformed five state-of-the-art 7-8B parameter MLLMs (including LLaVA-OneVision and Qwen2.5-VL), beating them by +11.84% on GeoNet and +2.78% on Ego2Exo.

Limitations and Future Work

While LAGUNA demonstrates high robustness to varying caption qualities (performing well even with noisy web metadata), it still relies on the availability of text descriptions or captions for target domain samples.

For future work, the authors suggest extending the relative alignment paradigm of LAGUNA to broader multi-modal adaptation scenarios, potentially moving beyond text to guide structural alignment.

Summary updated

BibTeX
@misc{diko2024semantically,
  author = {Anxhelo Diko and Antonino Furnari and Luigi Cinque and Giovanni Maria Farinella},
  title = {{Semantically Guided Action Anticipation}},
  year = {2024},
  eprint = {2411.15557},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.15557},
}
Figure