Abstract
Causal discovery is essential for understanding complex systems, yet traditional statistical methods often fail to distinguish between true causation and spurious correlation. This paper introduces MATMCD, a multi-agent framework that integrates tool-augmented Large Language Models (LLMs) to enhance causal discovery. By leveraging external multi-modal data—such as web documents and system logs—MATMCD reduces graph errors by up to 66.7% and significantly improves root cause analysis in software systems.
Introduction
Identifying "what causes what" is a fundamental challenge across medicine, economics, and engineering. Traditional Statistical Causal Discovery (SCD) algorithms analyze observational data to construct Directed Acyclic Graphs (DAGs). However, these methods are frequently "context-blind," resulting in spurious correlations that defy domain logic. While LLMs possess vast commonsense knowledge, they are prone to hallucinations and often lack the specific technical context required for specialized domains.
The Challenge of Spurious Correlations
SCD methods rely on statistical patterns that can be misleading. For instance, a model might incorrectly suggest that a car's fuel efficiency causes its engine size simply because they are statistically linked.
To address this, researchers from the University of Houston and NEC Labs developed MATMCD (Multi-Agent with Tool-augmented LLMs for Multi-modality enhanced Causal Discovery). This framework uses agents to retrieve and reason over external data, providing the semantic "missing link" that statistical models lack.
Methods: The MATMCD Architecture
The MATMCD framework operates through four specialized stages:
- Causal Graph Estimator: An initial, potentially noisy causal graph is generated using standard SCD algorithms like PC or DirectLiNGAM.
- Data Augmentation Agent (DA-AGENT): This agent iteratively queries external tools, such as Google Search or local log databases, to gather multi-modal context. It reflects on its search history to ensure comprehensive coverage.
- Causal Constraint Agent (CC-AGENT): This agent employs a two-stage reasoning process. A Knowledge LLM first explains potential relationships based on retrieved context, followed by a Constraint LLM that makes a final "Yes/No" decision on the existence of a causal link.
- Causal Graph Refiner: The system reruns the SCD algorithm, treating the LLM’s decisions as "hard constraints" to align the statistical model with semantic reality.
For AIOps tasks, the framework utilizes specialized tools to handle system logs, which provide critical evidence for root cause analysis.
Experimental Evaluation
The authors evaluated MATMCD across seven datasets, including continuous benchmarks (AutoMPG, DWDClimate), discrete benchmarks (Asia, Child), and real-world AIOps datasets for microservice systems.
Key Results
- Error Reduction: MATMCD reduced the Normalized Hamming Distance (NHD)—a standard metric for graph error—by up to 66.7% compared to state-of-the-art baselines.
- Root Cause Analysis: In microservice environments, the framework improved the Mean Average Precision (MAP@10) for identifying root causes by up to 83.3%.
- Model Performance: While smaller models like Llama-3 showed promise, the system reached peak performance using GPT-4o, particularly in complex biological signaling data.
Discussion and Insights
The success of MATMCD highlights several critical factors in modern causal discovery. First, iterative search is superior to single-round queries, as it allows agents to refine their understanding of specific variables. Second, separating explanation from decision-making significantly reduces LLM hallucinations. Finally, the integration of multi-modal data (e.g., combining numerical statistics with descriptive logs) proves that "multi-modality" extends beyond images to include diverse text-based technical documentation.
Limitations and Future Work
Despite its performance, MATMCD faces scalability challenges; pair-by-pair examination of variables can be slow for massive graphs. Furthermore, the system is dependent on meaningful variable names. Future research will focus on expanding the toolset to include code compilers and image analyzers, as well as improving the efficiency of the multi-agent coordination.
Conclusion
MATMCD demonstrates that the synergy between statistical algorithms and tool-augmented LLMs can overcome the limitations of context-blind causal discovery. By grounding statistical patterns in multi-modal semantic evidence, the framework paves the way for more reliable automated reasoning in complex real-world systems.
Reference: Shen, C., Chen, Z., Luo, D., Xu, D., Chen, H., & Ni, J. (2025). Exploring Multi-Modal Data with Tool-Augmented LLM Agents for Precise Causal Discovery. Findings of the Association for Computational Linguistics: ACL 2025.
Summary updated