NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Causal Explanations for Sequential Decision-Making in Multi-Agent Systems

Balint Gyevnar, Cheng Wang, Christopher G. Lucas, Shay B. Cohen, Stefano V. Albrecht

TL;DR

CEMA (Causal Explanations in Multi-Agent systems) is a new framework that generates human-intelligible, causal natural language explanations for autonomous agents in complex, dynamic environments. By simulating "what-if" counterfactual scenarios using a probabilistic forward model, CEMA identifies the most salient reasons for an agent's actions, significantly boosting human trust in systems like autonomous vehicles.

What Problem Does This Paper Address?

As AI systems—particularly those used in autonomous driving (AD)—become more complex, they often turn into "black boxes." This lack of transparency is a major barrier to public trust. While existing Explainable AI (XAI) methods provide numeric data or high-level tactical summaries (e.g., "I changed lanes"), they often fail to explain the causal reasoning behind a decision in a way that non-experts can understand.

Explaining decisions in multi-agent systems is uniquely challenging because agents' actions are tightly coupled. A decision to swerve might be caused by a combination of one vehicle's deceleration and another's aggressive lane change. Traditional causal models (Structural Causal Models) often become intractable in these fast-moving, multi-agent environments. CEMA aims to bridge this "transparency gap" by providing conversational, causal explanations that feel natural to humans.

Methods

The core of CEMA is a novel causal selection algorithm based on the Counterfactual Effect Size Model. Unlike previous approaches that require a rigid, pre-defined causal graph, CEMA only needs a probabilistic model capable of forward-simulating the environment.

The process follows three main steps, as illustrated in Figure 2:

  1. Rollback: When a user asks a question (e.g., "Why did you change lanes?"), CEMA rolls the system state back to just before the action occurred.
  2. Simulate: It uses a probabilistic forward model to simulate a set of "counterfactual worlds"—alternative realities where different things might have happened.
  3. Calculate & Rank: It calculates the "causal effect size" by correlating the agent's actions with changes in its rewards (teleological causes) and the actions of other agents (mechanistic causes).
Figure 2: First, irrelevant observations are filtered out based on the query. Second, CEMA rolls back the filtered obser- vations to a previous timestep so that the queried action is erased. From then, CEMA simulates counterfactual worlds to calculate the counterfactual causal effect size for the queried actions, which are used to rank the features of the system.

CEMA provides two modes of explanation:

  • Teleological: Explains the goal (e.g., "To reach the destination faster").
  • Mechanistic: Explains the physical trigger (e.g., "Because the vehicle in front slowed down").

To ensure the final output is grammatically correct and free of the "hallucinations" common in large language models, CEMA uses a deterministic realization engine (SimpleNLG) to turn identified causal features into natural language.

Datasets

The authors introduced a new benchmark called HEADD (Human Explanations for Autonomous Driving Decisions).

  • Content: 1,308 human-written explanations across 14 diverse driving scenarios involving occlusions, pedestrians, and multiple agents.
  • Purpose: It serves as a high-quality baseline for evaluating how "human-like" and useful machine-generated explanations are.
  • Evaluation: The paper also uses four standard simulated driving scenarios (S1–S4) to test CEMA's technical robustness.
Figure 3: The four primary evaluation scenarios (S1-S4) showing agent trajectories and goals.

Key Insights and Ideas

  • Causality via Correlation: The "aha moment" here is that you don't need a perfect causal map of the world if you have a good simulator. By seeing which variables (like a neighbor's speed) consistently correlate with the agent's decision across many "what-if" simulations, CEMA can reliably pick out the true cause.
  • Temporal Slicing: CEMA improves mechanistic explanations by "slicing" trajectories into past and present-future segments. This allows it to distinguish between the event that triggered an action and the conditions that maintained it.
  • Handling Contrastive Queries: Humans often ask "Why X instead of Y?" CEMA handles this by contrasting simulations where the agent did the "fact" (X) against those where it did the "foil" (Y), identifying exactly what made X more desirable.
  • Robustness to "Noise": The system remains effective even when the environment is crowded with irrelevant agents (up to 20 in tests) or when the predictive model has moderate uncertainty.

Key Results

  • Expert Alignment: In technical evaluations, CEMA correctly identified and ranked causes that were congruent with expert-level explanations for all test scenarios.
  • Human-Level Quality: In a user study with 200 participants, CEMA’s explanations were rated at least as high as high-quality human-written explanations from the HEADD dataset.
  • Trust Building: Participants who interacted with CEMA’s explanations showed a statistically significant increase in trust in autonomous vehicles compared to those who did not see explanations.
  • Scalability: CEMA successfully identified relevant causes even when the number of environmental features grew to 180, demonstrating its utility in complex traffic.
Figure 1: An example of CEMA providing both teleological and mechanistic explanations for a lane change.

Limitations and Future Work

  • Feature Dependency: CEMA relies on a pre-defined set of semantic features (e.g., "is vehicle X decelerating?"). While the framework is feature-agnostic, the quality of the explanation depends on these features being well-designed for the specific domain.
  • Natural Language Understanding: Currently, user queries are hand-coded into a structured format. The authors plan to integrate modern NLP parsing to allow users to ask questions in free-form text.
  • The "Wariness" Factor: While trust increased, absolute trust levels remained relatively low. The authors noted that users are often wary of "efficient" AI maneuvers that seem risky, suggesting that explanations might need to focus more on safety justifications in the future.

Summary updated

BibTeX
@inproceedings{gyevnar2024causal,
  author = {Balint Gyevnar and Cheng Wang and Christopher G. Lucas and Shay B. Cohen and Stefano V. Albrecht},
  title = {{Causal Explanations for Sequential Decision-Making in Multi-Agent Systems}},
  booktitle = {AAMAS},
  year = {2024},
  url = {https://openreview.net/forum?id=easUomPjgB},
}
Figure