Identifying Auxiliary or Adversarial Tasks Using Necessary Condition Analysis for Adversarial Multi-task Video Understanding

Stephen Su, Samuel Kwong, Qingyu Zhao, De-An Huang, Juan Carlos Niebles, Ehsan Adeli

Abstract

Video action recognition models often suffer from "scene bias," where the model relies on background context rather than human movement to make predictions. While Multi-Task Learning (MTL) is often used to improve performance by providing auxiliary labels, this paper demonstrates that some tasks can actually introduce harmful biases. We present Adversarial Multi-Task Neural Networks (AMT), a framework that uses Necessary Condition Analysis (NCA) to categorize tasks as either auxiliary or adversarial. By minimizing loss for auxiliary tasks and maximizing it for adversarial ones, the proposed model achieves a ~3% accuracy boost on scene-invariant benchmarks and demonstrates superior generalization by "unlearning" environmental shortcuts.

Introduction

A fundamental assumption in computer vision is that multi-task learning (MTL) is inherently beneficial—that providing a model with more labels (objects, scenes, attributes) will necessarily improve its primary task performance. However, in the context of video action recognition, this assumption often fails. Models are notorious for finding the path of least resistance; if a dataset consistently pairs "playing soccer" with a green grass field, the model may learn to recognize the grass rather than the complex temporal dynamics of the sport.

This paper, authored by researchers from Stanford and NVIDIA, challenges the standard MTL paradigm. They argue that while some tasks provide necessary context, others serve as "adversarial" distractors that encourage the model to "cheat" using background correlations. To solve this, they introduce a data-driven method to identify and mitigate these biases using Necessary Condition Analysis (NCA).

The Problem: Correlation vs. Necessity

The core issue in video understanding is scene bias. If an action is highly correlated with a specific environment but not strictly dependent on it, the model develops a brittle representation. For instance, while "high kicks" often occur in a gym, the gym is not a requirement for the action. If a model relies on the gym features, it will likely fail to recognize a high kick performed in a park or on a street.

Conversely, some elements are essential. To "play the violin," the presence of a violin is a necessary condition. Recognizing the object (the violin) is a helpful auxiliary task, whereas recognizing the location (a concert hall) may be an adversarial one if it allows the model to ignore the actual motion.

Methodology: Adversarial Multi-Task Neural Networks (AMT)

The authors propose a two-stage framework to decouple actions from their environmental biases:

1. Necessary Condition Analysis (NCA)

Instead of relying on human intuition to decide which tasks are helpful, the authors employ NCA, a statistical tool used to determine if one variable is a necessary condition for another.

  • Auxiliary Tasks: If an object or attribute is statistically necessary for an action (e.g., a ball for "dribbling"), it is labeled auxiliary.
  • Adversarial Tasks: If a label is correlated with an action but not necessary (e.g., a "court" for "basketball"), it is labeled adversarial.

To validate this, a human study was conducted where participants were asked if certain objects or scenes were necessary for specific actions. The study confirmed the NCA's findings: objects were deemed necessary 98.9% of the time, while scenes were necessary only 8.02% of the time.

2. Adversarial Training Regime

The AMT architecture utilizes a shared 3D-ResNet backbone with multiple task-specific heads. The training logic is bifurcated based on the NCA results:

  • Positive Loss: For auxiliary tasks, the model minimizes standard cross-entropy loss to learn helpful features.
  • Negative Loss: For adversarial tasks, the model uses a negative loss weight. This forces the backbone to "unlearn" or become invariant to these features, preventing the model from using the scene as a shortcut for action recognition.

Experimental Results

The researchers evaluated their framework using the Holistic Video Understanding (HVU) dataset, which contains over 572,000 clips. To rigorously test for bias, they created new Scene-Invariant Splits, where the action-scene combinations in the test set were explicitly different from those in the training set.

Quantitative Performance

  • Accuracy: On the Scene-Invariant splits, the AMT model outperformed standard MTL and single-task baselines by approximately 3%. This suggests that by ignoring the scene, the model was forced to learn more robust motion-based features.
  • Bias Reduction: The authors used distance correlation ($dcorr^2$) to measure how much scene information remained in the learned features. The AMT model showed a significant decrease in correlation compared to standard models, confirming successful feature decoupling.

Qualitative Analysis

Using Grad-CAM visualizations, the authors observed a distinct shift in model attention. While baseline models often focused on the background (e.g., the floor of a bowling alley), the AMT model focused specifically on the human subject and the relevant objects (the bowling ball), demonstrating a more sophisticated understanding of the action itself.

Conclusion

This research highlights a critical pitfall in multi-task learning: not all data is good data. By distinguishing between necessary auxiliary tasks and biased adversarial tasks, the AMT framework provides a path toward more robust and generalizable video recognition models. Future work may extend this logic to other domains, such as medical imaging or natural language processing, where hidden correlations often mask a model's true diagnostic or analytical capabilities.

Summary updated

Abstract

There has been an increasing interest in multi-task learning for video understanding in recent years. In this work, we propose a generalized notion of multi-task learning by incorporating both auxiliary tasks that the model should perform well on and adversarial tasks that the model should not perform well on. We employ Necessary Condition Analysis (NCA) as a data-driven approach for deciding what category these tasks should fall in. Our novel proposed framework, Adversarial Multi-Task Neural Networks (AMT), penalizes adversarial tasks, determined by NCA to be scene recognition in the Holistic Video Understanding (HVU) dataset, to improve action recognition. This upends the common assumption that the model should always be encouraged to do well on all tasks in multi-task learning. Simultaneously, AMT still retains all the benefits of multi-task learning as a generalization of existing methods and uses object recognition as an auxiliary task to aid action recognition. We introduce two challenging Scene-Invariant test splits of HVU, where the model is evaluated on action-scene co-occurrences not encountered in training. We show that our approach improves accuracy by $$\sim $$ 3% and encourages the model to attend to action features instead of correlation-biasing scene features.
BibTeX
@inproceedings{su2022identifying,
  author = {Stephen Su and Samuel Kwong and Qingyu Zhao and De-An Huang and Juan Carlos Niebles and Ehsan Adeli},
  title = {{Identifying Auxiliary or Adversarial Tasks Using Necessary Condition Analysis for Adversarial Multi-task Video Understanding}},
  booktitle = {Workshops @ ECCV},
  year = {2022},
  url = {https://openreview.net/forum?id=nOEUjnt3Qz1},
}
Figure