Learning Contextual Causality Between Daily Events From Time-Consecutive Images

Hongming Zhang, Yintong Huo, Xinran Zhao, Yangqiu Song, Dan Roth

Introduction

Understanding causality is a cornerstone of human intelligence. We don't just know that "being hungry" leads to "eating"; we understand that this relationship is modulated by the environment. For instance, a person might delay eating if they are in the middle of an important meeting. This nuance, termed "contextual causality," is often missing in current AI systems, which largely rely on text-based commonsense knowledge bases like ConceptNet. These text-only resources are not only expensive to scale but also lack the rich environmental grounding necessary to understand when a causal link is active or suspended.

The Challenge of Context in Causality

Traditional AI models struggle with causality because it is often "contributory" rather than strictly necessary. In the real world, the physical environment provides the "unspoken" context that determines the plausibility of an event sequence. To address this, researchers propose grounding causal knowledge in visual data—specifically, time-consecutive images from videos—where the presence of specific objects and scenes provides the necessary context for reasoning.

The Vision-Contextual Causal (VCC) Model

The authors introduce the Vision-Contextual Causal (VCC) model to bridge the gap between textual event descriptions and visual context. The model architecture is designed to selectively attend to relevant environmental cues.

The VCC model architecture integrates textual event embeddings with visual object features through a cross-attention mechanism.

The VCC model operates through four primary stages:

  1. Textual Event Encoding: Natural language descriptions of events (e.g., "A dog is running") are converted into vector representations using a pre-trained BERT model.
  2. Visual Context Encoding: A Faster R-CNN module detects key objects within the scene (e.g., "dog," "leaf," "foot"). These objects act as "context tokens."
  3. Cross-Attention Module: This core component uses an attention mechanism to filter out irrelevant visual noise. It calculates the relevance of each detected object to the specific event pair, weighting their influence on the final prediction.
  4. Causality Prediction: The model combines the event embeddings with the weighted visual context to output a causality plausibility score.

The Vis-Causal Dataset

To train and evaluate this approach, the researchers developed the Vis-Causal dataset. They sampled 4,000 time-consecutive image pairs from 1,000 ActivityNet videos. Human annotators identified 12,000 events and provided descriptions. Crucially, annotators rated the plausibility of causal relations twice: once with only the text and once with the accompanying images. This dual-annotation process revealed that visual context significantly alters human perception of causality. Interestingly, the study found that for about 6% of event pairs, humans felt the causal link was weaker when given context, while for 1% of pairs, the context made the causal link stronger.

Experimental Results

The VCC model was benchmarked against several baselines using Recall@K metrics, which measure how often the ground-truth causal effect appears within the model's top $K$ predictions.

Performance comparison of the VCC model against baselines across Recall@1, @5, and @10 metrics.

As shown in the results, the VCC model consistently outperforms models that lack visual context or use generic global image features (like ResNet). Specifically, the VCC model achieved a Recall@1 of 8.87, a notable improvement over the "No Visual Context" baseline (7.45). Ablation studies further demonstrated that the cross-attention mechanism is vital; removing it (the "No Attention" baseline) or replacing object detection with generic features resulted in lower performance, proving that specific objects in the scene provide the most useful context.

Conclusion and Future Directions

This research demonstrates that visual context is essential for sophisticated causal reasoning in AI. By leveraging video data, the VCC model captures "unspoken" commonsense knowledge that is rarely documented in text. While the current dataset is a significant step forward, future work could focus on scaling the data collection process and incorporating more abstract contextual elements, such as social norms or temporal dynamics over longer video sequences.

Summary updated

BibTeX
@inproceedings{zhang2021learning,
  author = {Hongming Zhang and Yintong Huo and Xinran Zhao and Yangqiu Song and Dan Roth},
  title = {{Learning Contextual Causality Between Daily Events From Time-Consecutive Images}},
  booktitle = {Workshops @ CVPR},
  year = {2021},
  doi = {10.1109/cvprw53098.2021.00193},
}
Figure