TL;DR
While the Explainable AI (XAI) community has produced a vast toolbox of algorithms, deploying them into production as interactive, reliable systems remains a massive engineering challenge. This paper introduces X-SYS, a reference architecture that treats explainability as an information systems problem, organizing system capabilities around four core quality attributes: scalability, traceability, adaptability, and responsiveness (STAR). The authors validate this blueprint with SemanticLens, a fully realized interactive system for exploring and steering vision-language models.
What Problem Does This Paper Address?
Most XAI research focuses on isolated, post-hoc algorithms that generate static artifacts (like a single saliency map or feature importance plot). However, when practitioners try to build actual software around these methods, they hit a wall.
Interactive explanation user interfaces (XUIs) require users to iteratively probe, compare, and manipulate models (e.g., asking "what-if" counterfactual questions). Doing this in production introduces severe systemic challenges:
- Interaction Latency: XAI computations are heavy, yet human-computer interaction requires sub-second responses to maintain analytical flow.
- Workflow Integration & State Management: Most toolkits lack persistent state management across user sessions.
- Multi-Stakeholder Scalability: Developers, auditors, and end-users all require different types of explanations simultaneously.
- Governance & Auditability: Regulated environments (like those impacted by the EU AI Act) mandate reproducible explanations, requiring strict tracking of which model version and data state produced a specific insight.
X-SYS addresses this "deployment gap" by providing a generalized, reusable architectural blueprint.
Methods
The authors propose a formal decoupling of Interaction Demand (what the user wants to do) from Interaction Supply (what the backend system can compute and retrieve).
X-SYS organizes these capabilities into a five-component decomposition:
- XUI Services: Manages user interaction states and renders visual explanation artifacts.
- Orchestration & Governance: The central nervous system. It routes requests, manages synchronous/asynchronous control flows, enforces authentication, and maintains audit logs.
- Explanation Services: Computes and composes explanation methods (e.g., feature importance, concept probing).
- Model Services: Provides stable, versioned access to predictive models and exposes internal representations (activations, attention weights).
- Data Services: The foundational persistence layer that stores reference datasets, cached results, and historical interaction logs.
To make this system highly responsive and adaptable, X-SYS relies on contract-based Data Transfer Objects (DTOs) to isolate components, alongside a strict offline/online separation. Computationally expensive explanation steps are precomputed offline (provisioned), allowing the online system to serve interactive queries instantly.
Datasets
As an architectural paper, X-SYS does not introduce a new machine learning benchmark dataset. Instead, its concrete implementation, SemanticLens, is evaluated using:
- ResNet50: Used to demonstrate global concept mapping and semantic search capabilities.
- WhyLesionCLIP: A specialized vision-language model context trained on a medical melanoma dataset, used to demonstrate how the architecture handles local analysis and causal interventions in high-stakes scenarios.
Key Insights and Ideas
- XAI is an Information Systems Problem: True explainability cannot be solved at the algorithmic layer alone; it requires treating user interactions as system requirements.
- The Latency-Thoroughness Tension: To maintain the 1-second response threshold necessary for human cognitive flow, architectures must aggressively separate offline provisioning from online serving.
- Traceability is Non-Negotiable: For AI systems to be truly accountable, an architecture must bind user actions directly to specific model versions and data snapshots, making every explanation fully reproducible for auditors.
Key Results
The authors successfully operationalized X-SYS via SemanticLens, demonstrating two primary interactive perspectives:
- Concept Map (Global Exploration): Projects model component embeddings into a 2D UMAP space. Users can input natural language queries (e.g., searching for "pasta" in ResNet50), and the system instantly returns semantically aligned internal neurons using foundation model embeddings.
- Model Interaction (Local Analysis & Steering): Uses Concept Relevance Propagation (CRP) to let users inspect individual predictions.
Qualitative Debugging Triumph
In a medical model example, a model misclassified a skin lesion because text ("regular") was superimposed on the image—a classic "Clever Hans" bug where the model relies on a spurious correlation. Using SemanticLens's model interaction capabilities, a user identified the specific neuron (#30496) responsible for tracking textual markings and applied an activation steering intervention ($m = -1$) to suppress it. The system instantly re-computed the prediction, successfully reverting the classification back to "melanoma" and correcting the model's behavior in real-time.
Limitations and Future Work
- Single Implementation Validation: X-SYS has so far only been fully instantiated via SemanticLens for vision-language models. Its generality across other modalities (like tabular data or pure LLMs) remains unvalidated.
- High-Level Abstraction: The reference architecture intentionally leaves specific engineering choices (like exact database technologies or security protocols) open, meaning developers must still tailor it significantly for production.
- Lack of Empirical User Benchmarks: While the system satisfies technical requirements, the authors note that future work must include rigorous human-subject studies to measure how much this architectural complexity actually improves a user's mental model of the AI.
Summary updated