← Latest papers
🤖 AI

Integrating Counterfactual Simulations with Language Models for Explaining Multi-Agent Behaviour

This paper introduces AXIS, a framework that leverages large language models to interrogate environment simulators with counterfactual prompts, thereby generating human-centered explanations for multi-agent systems that significantly improve perceived correctness and goal prediction accuracy compared to existing baselines.

Original authors: Bálint Gyevnár, Christopher G. Lucas, Stefano V. Albrecht, Shay B. Cohen

Published 2026-06-30
📖 4 min read☕ Coffee break read

Original authors: Bálint Gyevnár, Christopher G. Lucas, Stefano V. Albrecht, Shay B. Cohen

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are watching a complex dance performance with five dancers (the agents) moving around a stage. Suddenly, one dancer makes a strange move. You ask, "Why did they do that?"

In the world of autonomous systems (like self-driving cars), getting a good answer to that question is hard. The "dance" happens in a chaotic environment, and the dancers are reacting to each other in ways that are difficult to untangle.

This paper introduces a new method called AXIS (Agentic eXplanations via Interrogative Simulation) to help explain these moves. Think of AXIS not as a static report, but as a detective with a time machine and a magic scriptwriter.

Here is how it works, broken down into simple steps:

1. The Detective (The Large Language Model)

The "detective" is a smart AI (a Large Language Model or LLM). Its job is to talk to you and figure out the story behind the action. But it doesn't just guess; it has a special tool.

2. The Time Machine (The Simulator)

The detective has access to a perfect simulation of the world. This is like a video game that can replay the exact moment the action happened.

3. The Interrogation (Asking "What If?")

Instead of just looking at the video and guessing, the detective starts asking the time machine specific questions using "interrogation prompts." It's like a scientist running experiments:

  • "Remove": "What if we erased that other car from the scene entirely? Would our driver still have changed lanes?"
  • "What If": "What if that other car had stayed straight instead of turning? Would our driver have waited?"

4. The Synthesis (Putting the Puzzle Together)

The time machine runs these scenarios and gives the detective new data. The detective then looks at the differences:

  • Scenario A (Real life): Car 1 turns, Car 0 swerves.
  • Scenario B (Time machine): Car 1 stays straight, Car 0 does not swerve.

The detective realizes: "Aha! Car 0 swerved because Car 1 turned. If Car 1 hadn't turned, nothing would have happened."

The detective then writes a human-friendly explanation based on these "what-if" experiments, rather than just describing the raw data.

Why is this better than the old way?

The paper compares AXIS to two other methods:

  1. The "Model Only" approach: This is like asking the detective to look at the video once and guess the reason without testing anything. The paper found this often leads to generic, wrong, or superficial answers (e.g., "They moved because there was space," missing the real reason).
  2. The "No Explanation" approach: Just giving the user raw data to figure out themselves.

The Results:
When the researchers tested this on self-driving car scenarios (like merging on a highway or navigating a roundabout), AXIS performed significantly better:

  • More Accurate: The explanations were judged to be more correct (by about 7.7% to 17% more than the baseline).
  • Better Predictions: When people read the AXIS explanation, they were much better at guessing what the car would do next or where it was trying to go (up to 23% more accurate for some models).
  • Focus on Causality: The "detective" learned to ask the right "what-if" questions to find the true cause, rather than just listing facts.

The Catch (Limitations)

The paper is honest about where the system struggles:

  • Irrational Actors: If a "dancer" in the simulation does something completely crazy or breaks the rules of the road, the detective sometimes gets confused because it assumes everyone is acting logically.
  • Hidden Actors: If a car is hidden behind a building (occluded), the detective sometimes misses that hidden car is the real reason for the action, because it can't "see" it in the simulation.
  • The Judge: To test how good the explanations were, the researchers used another AI to grade them (since human studies are expensive). While this worked, the paper notes that AI judges might have their own biases, like preferring shorter answers or getting confused by too much detail.

The Bottom Line

AXIS is a system that helps AI explain its decisions by simulating alternative realities. Instead of just saying "I did X," it asks, "What would have happened if I didn't do X?" and uses the answer to tell a clear, cause-and-effect story to the human user. It works best when the agents are acting logically and the environment is visible.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →