Learning Contextual Causality from Time-consecutive Images

Hongming Zhang, Yintong Huo, Xinran Zhao, Yangqiu Song, Dan RotharXiv 2020

Abstract

Causality knowledge is crucial for many artificial intelligence systems. Conventional textual-based causality knowledge acquisition methods typically require laborious and expensive human annotations. As a result, their scale is often limited. Moreover, as no context is provided during the annotation, the resulting causality knowledge records (e.g., ConceptNet) typically do not take the context into consideration. To explore a more scalable way of acquiring causality knowledge, in this paper, we jump out of the textual domain and investigate the possibility of learning contextual causality from the visual signal. Compared with pure text-based approaches, learning causality from the visual signal has several advantages: (1) Causality knowledge belongs to commonsense knowledge, which is rarely expressed in text but rich in videos; (2) Most events in video are naturally time-ordered, providing a rich resource for mining causality; (3) Objects in the video can be used as context to study the contextual property of causal relations. We propose a high-quality dataset, Vis-Causal, and demonstrate that with language and visual representation models, it is possible to automatically discover meaningful causal knowledge from videos. Further analysis shows that the contextual property of causal relations is crucial for real-world applications.

Introduction: The Problem of Textual Causality

Causality is a cornerstone of human intelligence. We intuitively understand that if a dog sprints through a pile of leaves, those leaves will scatter. Traditionally, AI systems have attempted to learn these "if-then" relationships from text-based knowledge bases like ConceptNet. However, text-based causality suffers from two major flaws:

  1. Reporting Bias: Humans rarely document the obvious. While text is full of complex concepts like "quantum entanglement," it rarely describes mundane causal links like "dropping a glass causes it to break."
  2. Lack of Context: Causal relations are often highly contextual. "Being hungry" leads to "eating food" in a kitchen, but rarely during a high-stakes meeting.
Visual context significantly alters the perceived plausibility of a causal relationship.

This research argues that videos are a superior resource for learning causality because they are naturally time-ordered and provide the rich visual context—the objects and environment—that determines whether a causal link is plausible.

The Vis-Causal Dataset

To address these challenges, the authors introduced Vis-Causal, a new benchmark built from 1,000 videos in the ActivityNet dataset. It contains 4,000 image pairs and 23,558 event pair candidates.

Crucially, the dataset includes two types of human labels: one where annotators saw the images (with context) and one where they only read the text descriptions (without context). This dual-annotation approach allows researchers to quantify exactly how much visual signals change our perception of causality.

The Vision-Contextual Causal (VCC) Model

The proposed Vision-Contextual Causal (VCC) model treats causality as a multi-modal ranking problem using three pillars:

  • Textual Event Encoding: BERT transforms natural language descriptions of two events into vector representations.
  • Visual Context Encoding: Instead of raw image features, the model uses a Faster R-CNN object detector to identify key objects (e.g., "dog," "leaf"). These are converted into embeddings to match the semantic space of the event descriptions.
  • Cross-Attention Mechanism: The model "looks" at detected objects to decide which are relevant to the events. For example, when evaluating "blowing leaves," the model learns to prioritize the "leaves" and "ground" objects to validate the causal link.

Key Insights: The "Contextual Gap"

The study revealed a significant "Contextual Gap" in how humans perceive causality when visual evidence is present versus when it is absent.

Distribution of causality plausibility scores with and without visual context, highlighting the 'Contextual Gap'.

As shown in the analysis, 6% of event pairs were deemed less plausible when visual context was provided. This occurs because, without an image, humans imagine the most likely scenario; when shown a specific, conflicting image, the causal link breaks. Conversely, 1% of pairs only became plausible due to specific visual evidence.

Furthermore, the researchers found that using discrete object-based attention performed better than global image features (like ResNet vectors). This suggests that causality is rooted in the specific interactions between discrete objects rather than the general "vibe" of a scene.

Results and Performance

The VCC model was evaluated on its ability to rank the correct "effect" given a "cause" and its visual context. It achieved a Recall@1 of 8.87%, significantly outperforming the "No Visual Context" baseline (7.45%). The model was particularly successful in categories like "Personal Care" and "Eating," where visual cues (like a toothbrush or a plate) are strong indicators of subsequent actions.

Conclusion and Future Work

While the VCC model demonstrates the power of visual grounding, several challenges remain. Future work will look to address the Object Detection Bottleneck, as the model's reasoning is limited by what the detector can see. Additionally, incorporating actual motion features (like optical flow) rather than static snapshots, and integrating external commonsense knowledge bases, could further bridge the gap between machine and human causal reasoning.

Summary updated

BibTeX
@misc{zhang2020learning,
  author = {Hongming Zhang and Yintong Huo and Xinran Zhao and Yangqiu Song and Dan Roth},
  title = {{Learning Contextual Causality from Time-consecutive Images}},
  year = {2020},
  eprint = {2012.07138},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.07138},
}
Figure