Should I Have Expressed a Different Intent? Counterfactual Generation for LLM-Based Autonomous Control

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Farzaneh, Amirmohammad, D'Oro, Salvatore, Simeone, Osvaldo
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912857335005184
author Farzaneh, Amirmohammad
D'Oro, Salvatore
Simeone, Osvaldo
author_facet Farzaneh, Amirmohammad
D'Oro, Salvatore
Simeone, Osvaldo
contents Large language model (LLM)-powered agents can translate high-level user intents into plans and actions in an environment. Yet after observing an outcome, users may wonder: What if I had phrased my intent differently? We introduce a framework that enables such counterfactual reasoning in agentic LLM-driven control scenarios, while providing formal reliability guarantees. Our approach models the closed-loop interaction between a user, an LLM-based agent, and an environment as a structural causal model (SCM), and leverages test-time scaling to generate multiple candidate counterfactual outcomes via probabilistic abduction. Through an offline calibration phase, the proposed conformal counterfactual generation (CCG) yields sets of counterfactual outcomes that are guaranteed to contain the true counterfactual outcome with high probability. We showcase the performance of CCG on a wireless network control use case, demonstrating significant advantages compared to naive re-execution baselines.
format Preprint
id arxiv_https___arxiv_org_abs_2601_20090
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Should I Have Expressed a Different Intent? Counterfactual Generation for LLM-Based Autonomous Control
Farzaneh, Amirmohammad
D'Oro, Salvatore
Simeone, Osvaldo
Artificial Intelligence
Large language model (LLM)-powered agents can translate high-level user intents into plans and actions in an environment. Yet after observing an outcome, users may wonder: What if I had phrased my intent differently? We introduce a framework that enables such counterfactual reasoning in agentic LLM-driven control scenarios, while providing formal reliability guarantees. Our approach models the closed-loop interaction between a user, an LLM-based agent, and an environment as a structural causal model (SCM), and leverages test-time scaling to generate multiple candidate counterfactual outcomes via probabilistic abduction. Through an offline calibration phase, the proposed conformal counterfactual generation (CCG) yields sets of counterfactual outcomes that are guaranteed to contain the true counterfactual outcome with high probability. We showcase the performance of CCG on a wireless network control use case, demonstrating significant advantages compared to naive re-execution baselines.
title Should I Have Expressed a Different Intent? Counterfactual Generation for LLM-Based Autonomous Control
topic Artificial Intelligence
url https://arxiv.org/abs/2601.20090