arXiv AI

Formal Explanations for Linear Temporal Logic over Finite Traces

The paper introduces a native characterization of abductive (AXps) and contrastive (CXps) explanations for Linear Temporal Logic over Finite Traces (LTLf), using locking and unlocking time-indexed events. It proves equivalence to a classifier-based formulation and shows that CXps align with a recent temporal causality semantics for LTLf. The authors implement the approach efficiently via enumeration of minimal unsatisfiable cores and minimal correction sets of ASP programs, and validate its effectiveness on real-world event logs.

arXiv AI
Aug 25

An Information-Flow Perspective on Explainability Requirements: Specification and Verification

The paper proposes an information‑flow perspective on explainability, arguing that exposing reasons for observed effects is a positive flow of information that must be specified and verified. It introduces an epistemic temporal logic with counterfactual causes to formalize the requirement that agents gain knowledge about why an effect occurred, and presents an algorithm for checking finite‑state models against these specifications. A prototype implementation is evaluated on benchmarks, demonstrating the ability to distinguish explainable from unexplainable systems and to incorporate privacy constraints.

By Bernd Finkbeiner, Hadar Frenkel, Julian Siber
arXiv AI
Sep 17

Symbolic Temporal Supervision of LLM Agents Using Contracts

ContrAgent is a contract‑based framework that provides symbolic temporal supervision for large language model agents. It records an agent’s tool‑call sequence as a trace of checkable predicates and formalizes desired behaviors with assume‑guarantee contracts expressed in linear temporal logic over finite traces (LTLf). Each contract is compiled into a deterministic finite automaton that both gates actions online and evaluates recorded traces offline, enabling deterministic, reproducible verdicts and significantly lower per‑call latency compared to existing LLM‑judge and rule‑based guardrail baselines.

By Yifeng Xiao, Pierluigi Nuzzo
arXiv AI
Sep 10

Explaining AI Agents Through Execution Traces

arXiv:2609.06063v1 Announce Type: new Abstract: AI Agents are increasingly deployed in real-world settings, where they interact with external tools and make sequential decisions with limited human ov...

By Vittoria Vineis, Fabiano Veglianti, Lorenzo Antonelli, Claudia Di Carlo, Matteo Silvestri, Gabriele Tolomei
arXiv AI
6d ago

On Formal Counterfactual Explanations

The paper "On Formal Counterfactual Explanations" presents a theoretical framework that connects closest‑world counterfactual explanations with feature‑based abductive explanations (AXps) and contrastive explanations (CXps). It introduces conjunctive counterfactual explanations (CFXps), a subclass that uses conjunctions of feature literals to guarantee a prediction change, and shows how CXps can induce AXps and CFXps. Experiments on tree ensembles and neural networks demonstrate that extracting CFXps is computationally efficient and typically requires no more feature changes than popular point‑based counterfactual explainers, while providing guarantees beyond a single instance.

By Alexey Ignatiev, Peter J. Stuckey, Joao Marques-Silva
arXiv AI
Nov 16

Active Learning of Temporal Specifications through Distinguishing Queries

The paper introduces an active-learning framework for Linear Temporal Logic over finite traces (LTLf) that relies on a teacher who only labels traces and answers natural‑language questions, rather than providing equivalence queries or counterexamples. The learner maintains an enumerated version space of candidate formulas, generates distinguishing traces, and uses teacher hints to rank or prune candidates, guaranteeing consistency, bounded query complexity, and a PAC guarantee. Experiments with a simulated teacher on 36 targets show that the learner identifies every target with fewer than seven additional queries on average, and that correct hints further reduce queries and candidate generation.

By Rajarshi Roy, Xiaowei Huang
arXiv AI
Jun 16

VeriGraph: Towards Verifiable Data-Analytic Agents

arXiv:2606. 16603v1 Announce Type: cross Abstract: LLM-based agents have demonstrated strong capabilities in data-intensive analytical tasks, yet their outputs are rarely verifiable: a reliance on linear text trajectories makes their reasoning difficult to audit.

By Jiajie Jin, Zhao Yang, Wenle Liao, Yuyang Hu, Guanting Dong, Xiaoxi Li, Yutao Zhu, Zhicheng Dou
arXiv AI
Sep 12

Breaking Predictions Is Not Enough: Specified-Foil Counterfactuals for Temporal Graphs

The paper introduces Specified-Foil Counterfactuals for temporal graphs, a method that seeks low‑cost past‑event interventions to make a user‑specified alternative outcome the top prediction. It uses trace‑guided search to compare completed executions of the original prediction with reconstructed incomplete executions of the foil, mapping differences to operations such as DELETE, INSERT, REWIRE, RELABEL, and SHIFT, and then verifies the foil through exact replay. Experiments on continuous‑time dynamic graphs and temporal knowledge graphs show that the approach retains most greedy successes while dramatically reducing predictor evaluations and achieving the specified foil in a majority of cases.

By Minwoo Yu, Young-guk Ha