Abstract: Text-based person retrieval (TPR) is often hindered by models relying on environmental "shortcuts" rather than intrinsic pedestrian attributes. This paper proposes IRLT (Invariant Representation Learning for TPR), a framework that utilizes causal inference to separate stable, text-relevant features from environmental noise. Through a Style Intervener and a Scene Simulator, IRLT achieves significant accuracy gains and superior generalization across major benchmarks.
Introduction: The Challenge of Spurious Correlations
Text-Based Person Retrieval (TPR) involves identifying a specific individual within a large image gallery based on a natural language description. While deep learning models have made significant strides, they often rely on Empirical Risk Minimization (ERM), which tends to exploit "shortcuts"—statistical correlations between environmental noise (like background or lighting) and the target person. For instance, if a training set frequently pairs "blue shirts" with "sunny parks," a model might fail to identify a blue shirt in a different setting.
The IRLT Framework
To address these spurious correlations, this paper introduces IRLT, a model-agnostic framework that can be integrated into existing TPR architectures. IRLT shifts the paradigm toward Structural Causal Models (SCM), treating the environment as a "confounder" that must be neutralized to uncover the true causal relationship between text and image. The framework consists of two core components:
1. Style Intervener
This module targets independence. It performs a causal intervention at the feature level by estimating the uncertainty of style statistics (mean and variance). By randomly sampling new "styles" and enforcing a consistency loss ($L_{con}$) between the original and style-intervened images, the model learns to ignore non-causal environmental factors.
2. Scene Simulator
This module targets sufficiency. Since explicit environment labels are rarely available, the Scene Simulator automatically groups images into simulated "scenes" based on textual similarity. It then applies an Invariant Risk Minimization (IRM) objective ($L_{inv}$), forcing the model to capture subtle, stable causal factors—such as specific clothing patterns or accessories—that persist across all simulated environments.
Experimental Evaluation
The authors evaluated IRLT on three benchmark datasets: CUHK-PEDES, ICFG-PEDES, and RSTPReid. IRLT consistently outperformed existing state-of-the-art methods. Notably, on the RSTPReid dataset, IRLT improved Rank-1 accuracy by over 4%.
Beyond raw accuracy, the framework demonstrated superior cross-dataset generalization. In zero-shot tests where the model was trained on one dataset and tested on another, IRLT maintained high performance, suggesting it learns intrinsic, invariant features rather than dataset-specific biases. It also showed increased robustness against image perturbations like rotation and cropping.
Conclusion
IRLT provides a robust solution for text-based person retrieval by grounding representation learning in causal inference. By explicitly addressing the "shortcut" problem through style intervention and scene simulation, the framework ensures that models focus on the attributes that truly define a person's identity across diverse environments. Future work will explore more explicit disentanglement of causal factors and extension to video-based retrieval tasks.
Summary updated