From Features to Actions: Explainability Across Static and Agentic AI Systems
February 9, 2026 Β· View on GitHub
A Unified Experimental Framework for Static Attribution and Trajectory-Level Explainability
From Features to Actions: Explainability in Traditional and Agentic AI Systems (arXiv:2602.06841) Β |Β π» Code: GitHub Β |Β π Benchmarks: TAU-bench Airline, AssistantBench, Job Postings
π§ About
This repository contains the reproducible experimental code accompanying the paper:
From Features to Actions: Explainability in Traditional and Agentic AI Systems
The project studies how explainability requirements fundamentally change when moving from:
- Static prediction systems (single input β single output), to
- Agentic AI systems (multi-step trajectories involving planning, tool use, and state updates)
We empirically compare:
- Attribution-based explainability (SHAP, LIME, saliency)
- Trace-based, trajectory-level diagnostics grounded in execution logs
across both paradigms, demonstrating that methods effective for static models do not reliably diagnose agent failures, motivating a shift toward trajectory-level explainability.
β¨ Key Contributions
-
π Empirical comparison of static vs. agentic explainability under a unified framework
-
π Formal distinction between feature-level attribution and trajectory-level diagnostics
-
π§ͺ Reproducible experiments spanning:
- Traditional ML text classification
- Tool-using LLM agents on real benchmarks
-
π§ Introduction of behavioral rubricβbased failure analysis for agentic systems
-
π¦ End-to-end pipelines for ingestion, evaluation, and explainability analysis
π§ Conceptual Overview
| Paradigm | Unit of Explanation | Primary Artifact | Typical Question Answered |
|---|---|---|---|
| Static ML | Single prediction | Feature attributions | Why this label? |
| Agentic AI | Multi-step trajectory | Execution traces + rubrics | What failed, where, and why? |
This repository operationalizes this distinction through two complementary experimental tracks, described below.
π¦ Repository Structure
src/
β
βββ uxai_docent/ # Agentic explainability experiments
β
βββ traditional_xai/ # Static ML explainability experiments
β βββ xai-experiment.ipynb
βββ README.md # (this file)
π§ͺ Experiment 1: Traditional XAI for Static Text Classification (traditional_xai/)
This folder contains a fully self-contained notebook experiment for explainability in static prediction settings.
Task
- Binary text classification: IT vs. Non-IT job postings
- Dataset: Kaggle Job Postings
Models
- Logistic Regression + TF-IDF
- Text CNN baseline
Explainability Methods
- SHAP (global & local)
- LIME (local, HTML export)
- Token-level SHAP dependence plots
- Gradient-based saliency (CNN)
- Feature masking sensitivity tests
- Bootstrap-based explanation stability (Spearman Ο)
π§ͺ Experiment 2: Agentic Explainability with Execution Traces (uxai_docent/)
This folder implements trajectory-level explainability for tool-using LLM agents evaluated on:
- TAU-bench Airline
- AssistantBench
Core Capabilities
-
Ingest full HAL-Harness execution traces
-
Apply Docent-based behavioral rubric evaluation
-
Quantify:
- Failure-mode prevalence
- Reliability correlates
-
Bridge trace diagnostics with SHAP over rubric features
Behavioral Rubrics
Each agent run is labeled using binary rubric flags:
- Intent Alignment
- Plan Adherence
- Tool Correctness
- Tool Choice Accuracy
- State Tracking Consistency
- Error Awareness & Recovery
These enable per-run failure localization, rather than post-hoc outcome explanation. This pipeline demonstrates that trace-grounded diagnostics outperform attribution methods for explaining agent failures.
Key Finding
Attribution-based explanations are stable and meaningful in static settings, but do not generalize to explaining multi-step agent behavior.
π¬ Bridging the Paradigms
To directly compare explainability methods, we perform a bridging experiment:
- Encode agent trajectories into low-dimensional rubric features
- Train a logistic regression outcome predictor
- Apply SHAP to rubric-level features
Result: SHAP recovers sensible global correlations, but still fails to provide trace-grounded, per-run diagnoses, reinforcing the need for trajectory-level explanations.
π Data & Artifacts
-
Agent traces (HAL-Harness JSON)
-
Rubric evaluation tables (CSV / XLSX)
-
SHAP outputs:
- Per-run values
- Global rankings
- Beeswarm plots
All example paths are documented inside the respective subfolder READMEs.
π Citation
If you use this repository, please cite:
@article{featurestoactions2026,
title = {From Features to Actions: Explainability in Traditional and Agentic AI Systems},
author = {Sindhuja Chaduvula, Jessee Ho, Kina Kim, Aravind Narayanan, Mahshid Alinoori, Muskan Garg, Dhanesh Ramachandram, Shaina Raza},
journal = {arXiv preprint arXiv:2602.06841},
year = {2026}
}
π¬ Contact
- Open a GitHub Issue for bugs or questions
- For research inquiries, contact the corresponding author listed in the paper (shaina.raza@vectorinstitute.ai)
π Acknowledgments
This research was supported by the Vector Institute for Artificial Intelligence and funded in part by public and institutional partners.
This repository is intended for researchers studying explainability, agent evaluation, and reliable AI systems.