MM-DAG: Multi-task DAG Learning for Multi-modal Data - with Application for Traffic Congestion Analysis

Tian Lan, Ziyue Li, Zhishuai Li, Lei Bai, Man Li, Fugee Tsung, Wolfgang Ketter, Rui Zhao, Chen Zhang · DOI · OpenReview

TL;DR

This paper introduces MM-DAG, a novel framework for learning causal relationships (represented as Directed Acyclic Graphs or DAGs) from multi-modal data (scalars, vectors, functions) across multiple related tasks. By jointly learning these DAGs and introducing a new "Causality Difference" metric, MM-DAG effectively captures shared and distinct causal structures, outperforming existing methods, particularly in complex scenarios like traffic congestion analysis.

What Problem Does This Paper Address?

Many real-world systems, from traffic networks to biological processes, involve complex causal relationships. Traditional methods for learning these relationships often rely on Directed Acyclic Graphs (DAGs), but they face significant limitations when dealing with:

  1. Multi-modal Data: Variables in real-world systems are rarely just simple numbers (scalars). They can be vectors (e.g., hourly traffic speed over 24 hours) or even functions (e.g., real-time lane speed over a day). Existing DAG learning methods typically assume scalar data, failing to capture the richness of multi-modal information.
  2. Multi-task Learning with Overlapping and Distinct Variables: In systems like a road network, each intersection can be considered a "task" with its own DAG. However, these intersections share some common variables (e.g., general traffic demand) but also have unique ones (e.g., traffic light control variables at a signalized intersection). Learning these tasks independently or without accounting for this overlap and distinction leads to suboptimal results.
  3. Consistent Causal Relationships: Despite variations in observed variables, the underlying causal mechanisms across related tasks should ideally be consistent. Existing multi-task DAG methods struggle to enforce this consistency, especially when tasks have different sets of variables.

The paper aims to bridge these gaps by proposing a framework that can learn DAGs from multi-modal data in a multi-task setting, ensuring consistency across tasks.

Methods

The core of the proposed MM-DAG framework involves several key innovations:

  • Multi-modal Regression (mulmo2): To handle variables of different types (scalar, vector, function), the authors introduce a "mulmo2" (multi-mode to multi-mode) regression model. This model defines linear causal relationships between parent and child nodes, accommodating four cases: scalar-to-scalar, scalar-to-vector, vector-to-function, and function-to-function. Functional variables are first decomposed using Functional Principal Component Analysis (FPCA) for tractability.
  • Causality Difference (CD) Measure: A novel metric, the "Causality Difference" (CD), is proposed to quantify the structural differences between DAGs from different tasks. Unlike simpler metrics that just count edge differences, CD considers the transitive causality and accounts for uncertainty in causal orders. It uses a "transitive causal matrix" to represent these relationships.
  • Differentiable Causality Difference (DCD): To enable gradient-based optimization, the CD measure is approximated by a differentiable version, DCD. This allows the framework to be integrated into score-based DAG learning algorithms.
  • Multi-task Score-Based Learning: The authors formulate a multi-task learning objective that jointly learns DAGs for all tasks. This objective penalizes both the individual task's structural error (using a standard score-based approach) and the differences between task DAGs (using the DCD measure). This encourages consensus and consistency across tasks.
  • Structural Learning Algorithm: An optimization algorithm based on a Lagrangian dual problem and Adam optimizer is used to efficiently learn the DAG structures.

Datasets

The paper uses two main types of data for evaluation:

  • Synthetic Data: Generated to simulate scenarios with varying numbers of nodes and tasks, allowing for controlled experiments to evaluate the MM-DAG's performance against baselines.
  • Traffic Congestion Data: Real-world traffic data from five intersections in Shaoxing, China, simulated using the SUMO (Simulation of Urban Mobility) platform. This dataset includes multi-modal variables representing traffic settings (scalars), traffic conditions (functions), and congestion root causes (vectors). The paper also introduces a "new SUMO scenario" where intersections are cascaded and dependent, creating a more complex and realistic benchmark.

Key Insights and Ideas

  • Multi-modality is Crucial for Real-World Causality: The paper strongly demonstrates that ignoring the multi-modal nature of variables (scalar, vector, function) leads to significant performance degradation in causal discovery.
  • Joint Learning is Key for Related Tasks: Learning DAGs for related tasks (like traffic intersections) jointly, rather than independently, allows the model to leverage shared information and enforce consistency, leading to more robust and accurate causal structures.
  • Causality Difference (CD) Captures Deeper Structural Similarities: The novel CD metric is more effective than simple edge-count differences because it accounts for transitive relationships and uncertainty in causal order, which is vital for comparing DAGs with overlapping but distinct nodes.
  • Traffic Congestion is a Rich Domain for DAGs: The application to traffic congestion analysis reveals actionable insights, such as the dominant role of OD demand and the indirect influence of traffic light cycle times on congestion.

Key Results

  • Superior Performance on Synthetic Data: MM-DAG consistently outperforms baseline methods (Separate, Matrix-Difference, Order-Consistency, MV-DAG) across various sample sizes and numbers of tasks, achieving higher F1 scores and lower False Positive Rates (FPR). For instance, it shows a +2.95% gain in F1 score over the best peers at N=50 and a +16.1% gain when L=32.
  • Effective Multi-modal Handling: The proposed mulmo2 regression significantly improves performance compared to methods that vectorize functional data (like MV-DAG), demonstrating the benefit of specialized multi-modal handling.
  • Traffic Congestion Insights: The learned DAGs for traffic intersections reveal that OD demand is the primary driver of congestion, while turning probability has a minor impact. Traffic light cycle times indirectly influence congestion by affecting phase sequences.
  • Ablation Study: The results confirm the importance of both the Causal Difference penalty (improving TPR and reducing FDR) and the L1-norm penalty (reducing overfitting and FDR).

Limitations and Future Work

  • Linear Assumption: The current MM-DAG framework is based on linear causal relationships. The authors acknowledge that this is a simplification and suggest extending the framework to nonlinear models using techniques like graph neural networks or kernel methods.
  • Computational Complexity: While the algorithm is efficient, the complexity can still be high for very large numbers of tasks or nodes, especially in the DCD computation.
  • Future Work: The authors propose exploring deep learning methods for functional data and incorporating graph neural networks for feature extraction. They also suggest investigating more complex scenarios where intersections are not independent but cascaded and interdependent, which they briefly explore in an additional SUMO scenario.

Summary updated

BibTeX
@inproceedings{lan2023mm,
  author = {Tian Lan and Ziyue Li and Zhishuai Li and Lei Bai and Man Li and Fugee Tsung and Wolfgang Ketter and Rui Zhao and Chen Zhang},
  title = {{MM-DAG: Multi-task DAG Learning for Multi-modal Data - with Application for Traffic Congestion Analysis}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2023},
  doi = {10.1145/3580305.3599436},
}
Figure