Sim-to-Real Causal Transfer: A Metric Learning Approach to Causally-Aware Interaction Representations

Yuejiang Liu, Ahmad Rahimi, Po-Chien Luan, Frano Rajič, Alexandre Alahi
2/14/2026

No official code found. Best implementation: vita-epfl/CausalSim2Real (3 stars, MIT, last commit 2025-06-14).

Abstract

Modeling spatial-temporal interactions among neighboring agents is at the heart of multi-agent problems such as motion forecasting and crowd navigation. Despite notable progress, it remains unclear to which extent modern representations can capture the causal relationships behind agent interactions. In this work, we take an in-depth look at the causal awareness of these representations, from computational formalism to real-world practice. First, we revisit the notion of non-causal robustness studied in the recent CausalAgents benchmark [56]. We show that existing representations are already partially resilient to perturbations of non-causal agents, and yet modeling indirect causal effects involving mediator agents remains challenging. To address this challenge, we introduce a metric learning approach that regularizes latent representations with causal annotations. Our controlled experiments show that this approach not only leads to higher degrees of causal awareness but also yields stronger out-of-distribution robustness. To further operationalize it in practice, we propose a sim-to-real causal transfer method via cross-domain multi-task learning. Experiments on trajectory prediction datasets show that our method can significantly boost generalization, even in the absence of real-world causal annotations, where we acquire higher prediction accuracy by only using 25% of real-world data. We hope our work provides a new perspective on the challenges and potential pathways toward causally-aware representations of multi-agent interactions. Our code is available at https://github.com/vita-epfl/CausalSim2Real.

View on arXivView PDF

Code Implementations(1)

MIT
30PythonMar 24, 20251 years agoMIT

Similar Papers

Cite this paper

@article{liu2026simtoreal,
  title  = {Sim-to-Real Causal Transfer: A Metric Learning Approach to Causally-Aware Interaction Representations},
  author = {Yuejiang Liu and Ahmad Rahimi and Po-Chien Luan and Frano Rajič and Alexandre Alahi},
  year   = {2026},
  eprint = {2312.04540},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.04540},
  journal = {CVPR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.04540.svg)](https://codeofpaper.com/paper/2312.04540)

Discussion