SSL Framework for Causal Inconsistency between Structures and Representations

Hang Chen, Hang Chen 0002, Xinyu Yang, Keqing Du · DOI

Abstract

Deep learning models increasingly aim to uncover causal structures within data. However, for complex, unstructured data types like text and video—termed "indefinite data"—models often exhibit "causal inconsistency," where the explicit causal graph contradicts the implicit relationships in high-dimensional embeddings. This paper introduces a self-supervised learning (SSL) framework that utilizes causal interventions as data augmentations to align structure and representation. Experimental results across dialogue reasoning and action segmentation tasks demonstrate significant performance gains, including a substantial improvement in LLM causal reasoning capabilities.

Introduction: The Challenge of Indefinite Data

In traditional causal discovery, numerical data typically follows a single, stable causal structure. In contrast, "indefinite data"—such as dialogue or video—is characterized by causal rules that may shift from one sample to another. For instance, in a conversation, the causal relationship between utterances depends heavily on context, making the underlying structure multi-faceted and dynamic.

Figure 1: Comparison between single-structure data (e.g., altitude and temperature) and multi-structure "indefinite" data (e.g., brain regions in different patients).

The authors identify a critical phenomenon called causal inconsistency. When a deep learning model processes such data, it typically produces two outputs: an explicit causal graph (the structure) and high-dimensional embeddings (the representation). Because these are often learned through independent backpropagation paths, they tend to "drift" apart. The explicit graph might indicate a causal link that the internal representation does not support, leading to unreliable reasoning.

The SSL Framework for Consistency Alignment

To resolve this drift, the researchers propose an intervention-based SSL framework. The core idea is to treat causal interventions—specifically the $do$-operator—as a mechanism for generating multiple "views" of the data for self-supervision.

Figure 2: High-level overview of a model generating both a causal structure and a causal representation from input variables.

Intervention-Based Views

The model performs "general interventions" by setting the parent set of a variable to null. By applying this across different variables, the model creates various intervened states. For each state, the model generates two adjacency matrices: $A^s$ derived from the predicted structure and $A^r$ derived from the internal representation. The SSL loss function forces these two matrices to match across all intervention views, ensuring that the model's internal logic is strictly aligned with its explicit claims.

Iterative LLM Instruction

The authors also extend this logic to Large Language Models (LLMs) via a three-step iterative prompting strategy. The LLM first predicts a relationship, then observes the effect of an "intervention" (such as deleting a text segment), and is finally prompted to self-correct if its new prediction contradicts its previous logic.

Key Results and Insights

The framework was evaluated on several datasets, including Causalogue (dialogue) and Causaction (video).

  • Consistency Metrics: On the Causalogue dataset, the framework improved causal consistency (1-MSE) from 0.80 (baseline) to 0.95.
  • Downstream Performance: In Emotion-Cause Pair Extraction (ECPE) on the RECCON dataset, the model achieved an F1 score of 76.89, surpassing the backbone biCD model's 74.14.
  • LLM Enhancement: Using iterative instruction, GPT-4’s F1 score for causal relationship recognition in dialogue improved from 0.61 to 0.78, demonstrating that forcing self-consistency under intervention significantly boosts reasoning.

Conclusion

Causal inconsistency is a byproduct of the mathematical complexity involved in mapping high-dimensional embeddings to low-dimensional graphs. While the proposed SSL framework provides a powerful constraint through intervention-based alignment, challenges remain regarding transitivity in long causal chains. Future research will focus on more efficient mathematical transformations to bridge the gap between graph structures and neural representations.

Summary updated

BibTeX
@misc{chen2023ssl,
  author = {Hang Chen and Hang Chen and Xinyu Yang and Keqing Du},
  title = {{SSL Framework for Causal Inconsistency between Structures and Representations}},
  year = {2023},
  eprint = {2310.18634},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.18634},
}
Figure