Feature Disentanglement Learning with Switching and Aggregation for Video-based Person Re-Identification

Minjung Kim, MyeongAh Cho, Sangyoun Lee

Abstract

Video-based person re-identification (Re-ID) is often hindered by feature entanglement, where identity-specific information is conflated with camera-related noise such as background and lighting. We introduce DSANet (Disentanglement and Switching and Aggregation Network), a framework designed to explicitly separate identity features from camera characteristics. DSANet utilizes a Target Localization Module (TLM) for spatial alignment, a Frame Weight Generation (FWG) module for temporal attention, and a novel Switching and Aggregating Operation (SAO) for feature-level augmentation. Experimental results on MARS, DukeMTMC-VideoReID, and LS-VID benchmarks demonstrate that DSANet achieves state-of-the-art performance by effectively isolating identity-relevant cues.

Introduction

Person Re-Identification (Re-ID) involves matching individuals across non-overlapping camera views. While video sequences offer richer data than static images, they introduce the challenge of "feature entanglement." In video frames, static background elements (e.g., specific architecture or vehicles) can become falsely associated with a person's identity. Standard models often "cheat" by learning these environmental cues, leading to failure when the subject moves to a different camera view. Furthermore, bounding box misalignment in automated tracking adds noise to the feature extraction process.

Conceptual illustration of feature disentanglement. Intertwined features (a) confuse identity with camera-specific noise, while DSANet's disentangled features (b, c) isolate identity from the environment.

DSANet addresses these issues by explicitly modeling the background not as noise, but as a distinct "Camera feature." By segregating these components, the network's identity branch is freed to focus exclusively on the subject.

Proposed Method: DSANet

The DSANet architecture consists of four primary components designed to refine identity representation through disentanglement and attention.

The DSANet architecture, illustrating the Feature Disentangling branch, the ID Representation Learning path (TLM and FWG), and the Auxiliary Tasks including the Switching and Aggregating Operation (SAO).

1. Feature Disentangling

Using a Channel Expansion Layer (CEL), the network bifurcates features into two branches: ID-related features ($F_{ID}$) and Camera-characteristic features ($F_{cam}$). A disentangling loss ($L_{dis}$) enforces orthogonality between these vectors, ensuring they capture independent information.

2. Target Localization Module (TLM)

To mitigate bounding box misalignment, the TLM employs spatial attention. By dividing the feature map into vertical regions (Left, Middle, Right), it learns to localize the subject within the frame, making the extracted ID features robust to poor cropping.

3. Frame Weight Generation (FWG)

Recognizing that video frames vary in quality (e.g., blur or occlusion), the FWG module assigns importance weights to each frame. It utilizes a "pseudo-label" strategy, where temporal attention is supervised by the cross-entropy loss of the identity classification, prioritizing frames that most clearly represent the subject.

4. Switching and Aggregating Operation (SAO)

The SAO is a novel feature-level augmentation technique. During training, the model swaps the $F_{cam}$ (style/background) of one identity with the $F_{ID}$ (identity) of another. This forces the classifier to ignore environmental context and rely solely on identity features, providing a significant regularization boost without adding inference-time complexity.

Experimental Evaluation

DSANet was evaluated on three major benchmarks:

  • MARS: A large-scale dataset (~20,000 tracklets) characterized by significant misalignment.
  • DukeMTMC-VideoReID (Duke-V): Comprising 4,832 tracklets across 8 cameras.
  • LS-VID: A challenging real-world dataset with complex lighting and heavy occlusions.

Results

DSANet achieved state-of-the-art results across all datasets. On the difficult LS-VID dataset, it reached 85.1% Rank-1 accuracy and 75.5% mAP. On MARS, it achieved 91.1% Rank-1, surpassing more computationally intensive 3D CNN-based architectures. Ablation studies confirmed the efficacy of the SAO, which provided a 0.3% Rank-1 improvement on MARS purely through training-time regularization.

Qualitative analysis via heatmaps confirms that the $F_{ID}$ branch focuses on the person's body, while the $F_{cam}$ branch highlights environmental features like flooring and trees.

Conclusion

DSANet demonstrates that explicit feature disentanglement is a powerful strategy for video-based Re-ID. By modeling camera characteristics separately and employing feature-swapping augmentation, the network achieves superior robustness to background noise and misalignment. Future work may explore extending this disentanglement framework to unsupervised domain adaptation and long-term occlusion handling.

Summary updated

BibTeX
@inproceedings{kim2023feature,
  author = {Minjung Kim and MyeongAh Cho and Sangyoun Lee},
  title = {{Feature Disentanglement Learning with Switching and Aggregation for Video-based Person Re-Identification}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00165},
}
Figure