Manuscript Offprint
arXiv:2611.12521Can the Confidence and Decisions of System 1 Models Be Trusted? An Explainability and Perturbation Audit of Jev-Style Decision Models
Abstract
“System 1” decision models (pioneered by TypeSafe AI’s Jev) replace autoregressive text generation with a single forward pass returning typed, structured probability distributions over declared schemas (Choice, Score, Noul). While deployed for low-latency routing, policy checks, and automated triage, their statistical calibration and post-hoc explainability remain uncharacterized. We introduce an open, deterministic audit benchmark that evaluates System 1 decision models across calibration under label-preserving perturbations, cross-question interference in multi-query requests, and post-hoc attribution faithfulness. Evaluating five open-weight models (0.8B to 27B) alongside generative System 2 baselines—both single-token log-probability scoring and structured JSON/Chain-of-Thought decoding—across natural language inference (e-SNLI), adversarial syntactic shortcuts (HANS), synthetic clinical triage vignettes (, per dataset), adversarial prompt injection defense (Tensor Trust, including hard benign negatives), and an 86-case programmatic logic-gate trigger suite yields five findings: (1) the provider confidence field is an exact closed-form dispersion transform ( across sub-10B models, and normalized margin on Clef-27B) rather than empirical accuracy; (2) bundling multiple questions in a single request induces directional cross-question interference governed by causal prompt ordering and post-training recipe (11.7%–22.4% binary flips on Tev1-0.8B, vs. 0.1%–0.2% on Tev1-4B); (3) System 1 models with B parameters are substantially faster and better calibrated under adversarial syntactic shifts (–0.087) than both single-token logprob () and structured JSON () System 2 baselines; (4) for inline prompt-injection guardrails (), B System 1 models reach 0.988–0.998 AUROC and up to 95.2% recall with 0.0% false alarms on both standard and hard benign queries at 48–60 ms latency; and (5) single-pass inference makes 512-coalition XAI interactive (1.3–3.2 s per input), while instantiating KernelSHAP with a logit link (S1-SHAP) mitigates softmax saturation on disjunctive OR gates (89.3%–100.0% pairwise interaction gate recovery vs. 57.1%–82.1% in probability space) and improves logit-space faithfulness ().
1 Introduction
Most large language models (LLMs) deployed for classification or decision-making—such as GPT-4 Achiam et al. (2023), Llama 3 Dubey et al. (2024), Mistral Jiang et al. (2023), or Qwen Yang et al. (2024)—operate as generative “System 2” engines: they decode tokens autoregressively or score prompt templates via next-token log-probabilities Kadavath et al. (2022); Desai & Durrett (2020). Decision models of the Jev family take a different route TypeSafe AI (2026); System One (2026). Inspired by fast, intuitive “System 1” cognition Kahneman (2011), the caller supplies a structured state and a set of typed questions, and the model answers each question with an explicit probability distribution over declared options in a single forward pass. Three core decision primitives standardize this paradigm: Choice selects one option from a finite categorical set, Score rates the input on an ordinal rubric, and Noul returns the probability that a binary proposition is true. Following TypeSafe AI’s release of Jev in September 2026 TypeSafe AI (2026), several open-weight decision models were introduced within weeks—including Bespoke Labs’ Nimble (9B) Bespoke Labs (2026), Together AI’s Tev1 series (0.8B and 4B) Ollama (2026b), Cloudflare’s multimodal Clef (27B) and Clef-flash (9B) Cloudflare (2026), and Perplexity’s pplx-decider Perplexity AI (2026)—supported for local GPU deployment via runtimes such as Ollama Ollama (2026a).
Two properties make System 1 decision models compelling for explainable AI (XAI). First, because the native output is a continuous probability distribution over fixed classes rather than free-form text, black-box perturbation-based attribution methods such as LIME Ribeiro et al. (2016) and KernelSHAP Lundberg & Lee (2017) apply directly without text parsing. Second, single-pass inference is fast and deterministic enough to evaluate hundreds of feature coalitions per input at a fraction of the cost of autoregressive generation. However, the same design raises trust and transparency questions. Unlike generative models that can emit Chain-of-Thought rationales Wei et al. (2022), a decision model returns bare probabilities with no textual justification. A numerical probability returned without context is easy for downstream users or automated agents to over-trust, especially if the underlying classifier relies on shallow lexical heuristics Geirhos et al. (2020); McCoy et al. (2019). Whether the returned confidence scores are genuinely calibrated, whether they remain stable under harmless input perturbations, and whether post-hoc XAI methods can faithfully recover the features driving their decisions have not yet been systematically investigated.
This paper presents an explainability and calibration audit of Jev-style System 1 decision models. Our contributions are:
-
An open, deterministic XAI and calibration benchmark that queries System 1 decision models, enforces strict schema validation, caches bit-identical responses by weight digest, and evaluates calibration, perturbation robustness, and post-hoc attribution faithfulness (Leave-One-Out, LIME, KernelSHAP, and logit-link KernelSHAP, denoted S1-SHAP) at word and subword granularity;
-
Systematic evaluation of logit-link KernelSHAP (S1-SHAP) on saturated decision heads: We audit KernelSHAP with an inverse-sigmoid (logit) link function Lundberg & Lee (2017) against probability-space baselines at zero additional model calls, characterizing both when probability and logit links perform comparably (non-saturated first-order regimes and conjunctive AND gates) and when the logit link is decisive (higher-order Shapley interaction recovery under disjunctive OR saturation and logit-space faithfulness on sharp heads);
-
Two structural findings on the System 1 interface that directly impact deployments: (1) the returned confidence field is an exact deterministic dispersion transform on sub-10B models, and normalized margin on Clef-27B) rather than calibrated accuracy, and (2) bundling multiple questions in a single request induces directional cross-question interference driven by causal prompt ordering and semantic cross-talk;
-
A multi-model, multi-dataset empirical evaluation across e-SNLI Camburu et al. (2018), HANS McCoy et al. (2019), synthetic clinical triage vignettes ( class-balanced cohort, per dataset), adversarial prompt injection guardrails (Tensor Trust Toyer et al. (2024), including hard benign negatives), and an 86-case programmatic Planted System-Rule (Hidden Trigger) XAI Benchmark across six causal regimes, comparing five open-weight System 1 models (Tev1-0.8B, Tev1-4B, Nimble-9B, Clef-Flash-9B, and Clef-27B) against generative System 2 baselines (Gemma4-8B in 1-Token Logprob, structured JSON, and Chain-of-Thought modes).
2.1 From Generative LLMs to System 1 Decision Models
Standard instruction-tuned LLMs Achiam et al. (2023); Dubey et al. (2024); Yang et al. (2024) cast every task—including classification, routing, and scoring—as next-token generation. Even when constrained by structured-output grammars or JSON schemas, generative models must decode multiple tokens sequentially or rely on prompt-sensitive first-token log-probabilities, incurring high latency and stochastic variance Atil et al. (2025). Drawing on dual-process theories of cognition Kahneman (2011), a recent wave of “System 1” decision models decouples fast, typed classification from slow, deliberative text generation TypeSafe AI (2026); System One (2026). Pioneered by TypeSafe AI's Jev TypeSafe AI (2026), these models ingest a structured application state alongside a schema of typed questions (Choice, Score, Noul) and output normalized probability distributions in a single forward pass. The ecosystem expanded with unprecedented speed across both proprietary APIs and open-weight releases in September and October 2026: Bespoke Labs introduced Nimble (9B) Bespoke Labs (2026); Together AI released the lightweight Tev1 series (0.8B and 4B) Ollama (2026b); Cloudflare released Clef (27B) and Clef-flash (9B) with vision-language capabilities on Workers AI Cloudflare (2026); and Perplexity introduced pplx-decider for low-latency intent and message routing Perplexity AI (2026). Combined with local runtime support in Ollama Ollama (2026a), these models are increasingly deployed as high-throughput decision gates in clinical triage, support routing, and agentic workflows—yet their statistical calibration and explainability remain uncharacterized.
2.2 Adapting Explainable AI (XAI) to Language Models
Explainability methods for NLP broadly fall into three paradigms: intrinsic self-rationalization, white-box gradient/attention introspection, and black-box perturbation-based attribution. In generative LLMs, explanations are most commonly elicited as free-text rationales or Chain-of-Thought (CoT) reasoning Camburu et al. (2018); Wei et al. (2022). However, extensive work has shown that generated rationales often fail to reflect the model's true decision process: they can be plausible to humans while remaining unfaithful to the internal computation Jacovi & Goldberg (2020); Wiegreffe et al. (2021); Turpin et al. (2023); Lanham et al. (2023). White-box methods such as Integrated Gradients Sundararajan et al. (2017) compute axiomatic attributions from input embeddings to output logits, but require full access to model weights and gradients, which are unavailable behind commercial decision APIs or quantized inference servers.
Model-agnostic perturbation methods avoid weight access by masking or removing subsets of input features and measuring the resulting shift in predicted probability. Leave-One-Out (LOO) measures the marginal drop from deleting a single word or token, whereas LIME Ribeiro et al. (2016) fits a sparsity-regularized local linear surrogate over randomly perturbed neighborhoods, and KernelSHAP Lundberg & Lee (2017) estimates cooperative game-theoretic Shapley values via weighted linear regression over feature coalitions. Recent work has sought to adapt Shapley attributions to generative LLMs—for example, TokenSHAP Goldshmidt & Horovicz (2024) uses Monte Carlo coalition sampling to attribute token importance in LLM responses. To evaluate whether such attributions are genuinely faithful Jacovi & Goldberg (2020), the ERASER benchmark DeYoung et al. (2020) defines comprehensiveness (probability drop when top-k features are removed) and sufficiency (probability retained when only top-k features are kept), while RISE Petsiuk et al. (2018) integrates deletion and insertion curves across all feature ranks.
In parallel, trustworthy deployment requires that predicted probabilities match empirical accuracy. Modern deep networks are frequently miscalibrated and over-confident Guo et al. (2017), particularly when exploiting spurious training shortcuts Geirhos et al. (2020) such as the lexical overlap, subsequence, and constituent heuristics isolated by the HANS benchmark McCoy et al. (2019). Calibration is standardly quantified via the Brier score Brier (1950) and Expected Calibration Error (ECE) Naeini et al. (2015), though ECE requires careful interpretation due to binning sensitivity and small-sample bias Nixon et al. (2019).
2.3 Limitations of Current LLM XAI and the Gap We Address
Applying classical XAI and calibration audits to standard LLMs faces severe methodological bottlenecks:
-
Intractability and noise of SHAP/LIME on generative LLMs: Estimating KernelSHAP or LIME over a text with words requires hundreds of model evaluations per instance. For autoregressive LLMs, running 500+ multi-token generations per explanation is computationally prohibitive, sensitive to hosted API non-determinism Atil et al. (2025), and lacks a well-defined scalar probability target when answers are expressed as free text.
-
Vulnerability to out-of-distribution perturbations: Masking tokens moves inputs off the training manifold, which can confound deletion metrics Hooker et al. (2019) or allow models to behave erratically on perturbed coalitions Slack et al. (2020).
-
The System 1 transparency blind spot: Conversely, Jev-style decision models eliminate text generation entirely. While this makes black-box perturbation XAI (LOO, LIME, KernelSHAP) computationally feasible and mathematically direct, it strips away any natural-language rationale. Users are left with raw numbers (probabilities and confidence) whose mathematical definition, cross-question stability, robustness to noise, and susceptibility to syntactic shortcuts have never been audited.
Our work bridges this gap by introducing the first end-to-end framework that leverages the fast, typed probability outputs of System 1 decision models to perform rigorous SHAP/LIME attribution and calibration auditing, testing both when their confidence can be trusted and how their decisions are formed.
3 Methodology: Auditing and Explaining System 1 Decision Models
3.1 Overview of the Audit and Explanation Pipeline
Unlike generative “System 2” LLMs that emit natural-language rationales alongside free-text predictions, a “System 1” decision model behaves as an opaque probabilistic operator: it maps a structured textual state directly to a categorical or binary distribution in a single forward pass. Auditing such models requires a methodology that can simultaneously verify what features drive a prediction (post-hoc explainability) and whether the returned numerical probabilities reflect true empirical certainty (distributional calibration and invariance).
Figure 1 presents the architecture of our proposed audit and explanation framework, organized into four forward stages (1–4) and three analytical modules (A–C):
-
State & Schema Formulation (Stage 1): Each task instance is represented as a structured state paired with a typed decision schema . For example, in clinical triage, contains the patient vignette while specifies a three-way Choice question (immediate, urgent, non_urgent) and a binary Noul question (“Requires immediate care?”).
-
Coalition Mapping and Perturbation Generation (Stage 2): To probe how the model constructs its decision, the input state is mapped to an interpretable feature space of lexical or subword units. Our pipeline generates two distinct families of modified states: (i) binary feature coalitions that selectively remove subsets of features via a masking operator to estimate feature attributions, and (ii) label-preserving perturbations (character noise, clinical distractors, surface formatting) to test distributional stability.
-
Single-Pass System 1 Inference (Stage 3): Each rendered state is dispatched to the System 1 decision model under a controlled request protocol (isolated single-question queries versus bundled multi-question queries), executing a single forward pass without autoregressive token decoding.
-
Schema Validation and Distributional Extraction (Stage 4): Every response is validated against the declared question schema and decomposed into its predicted class , its full probability vector , and the provider-reported scalar confidence .
From these validated probability trajectories, the framework executes three complementary evaluations: (A) Post-Hoc Attribution, which closes a feedback loop over coalitions to compute Leave-One-Out (LOO), LIME, KernelSHAP, and our proposed System-1 Logit-Space Shapley (S1-SHAP) attributions; (B) Faithfulness and Plausibility Verification, which measures whether removing or inserting top-attributed features causally shifts the model's probability and aligns with ground-truth clinical flags or human rationales; and (C) Calibration and Robustness Auditing, which quantifies calibration error across clean, adversarial-shortcut, and perturbed distributions.

Figure 1: Architecture of the evaluation and explanation pipeline with a running clinical triage example. Each input (1) is converted into perturbed variants or masked feature coalitions (2) and evaluated by the System 1 decision model in a single forward pass (3). The resulting probabilities (4) drive post-hoc feature attribution via LOO, LIME, KernelSHAP, and S1-SHAP (A, dashed loop over coalitions), faithfulness and clinical/human plausibility verification (B), and calibration/robustness auditing (C).
3.2 System 1 Decision Formalism and Request Protocol
In a generative LLM, classification is mediated by a natural-language prompt template and token-level decoding. In a Jev-style System 1 decision model, the prompt is replaced by a typed request tuple , where is a structured JSON object (or string) representing the observed state and is a dictionary of named decision primitives System One (2026):
-
Categorical Choice (): Declares a finite option set with semantic option descriptions. The model returns a probability vector , the selected argmax option , and a scalar confidence score .
-
Binary Noul (): Declares a binary proposition with explicit true_description and false_description semantics. The model returns a single scalar probability , from which the binary decision is thresholded at 0.5.
Every model response is strictly validated against its request schema: returned probability keys must match exactly, within , and the reported choice must equal the argmax of .
Isolated vs. Bundled Request Protocols. Because the System 1 API accepts an arbitrary dictionary of questions in a single HTTP call, documentation and industry tutorials encourage bundling multiple questions per state to amortize encoding latency. However, in a single-pass transformer architecture, all question schemas in are serialized into the shared context window prior to the decision head readout. Formally, when and are co-asked, the model computes rather than the marginal . To isolate each primitive from cross-question context conditioning—and to measure the magnitude of this interference—we define two formal protocols:
-
Isolated Protocol (Default): Each decision primitive is dispatched in its own dedicated request , as illustrated in Figure 2. All calibration, perturbation, and XAI attribution experiments use the isolated protocol.
-
Bundled (Joint) Protocol: Both primitives are dispatched simultaneously in a single request , allowing us to quantify cross-question flip rates and total-variation shifts .

Figure 2: Example of an isolated single-question System 1 request payload and its validated response for clinical emergency department triage. Notice that output_tokens is fixed at 2 (a single forward pass over the categorical decision head), returning normalized class probabilities with zero text generation.
3.3 Post-Hoc Attribution and Proposed S1-SHAP Method
3.3.1 Interpretable Representation and Coalition Mapping
Following the foundational formulation of local post-hoc explainability Ribeiro et al. (2016); Lundberg & Lee (2017), explaining a black-box classifier requires defining a mapping between a binary coalition vector of human-interpretable features and a valid model state . In NLP explainability, two methodological design choices govern and can significantly impact attribution faithfulness Hooker et al. (2019); DeYoung et al. (2020):
-
Feature Granularity (Lexical Words vs. Native Subword Tokens): Human users reason over whole lexical words (), whereas transformer decision models process subword tokens () produced by Byte-Pair Encoding (BPE), which frequently splits domain-specific terms (e.g., blood pressure readings 68/40 or medical terminology) into multiple subword fragments. Because the open-weight System 1 models evaluated in this work (Tev1, Nimble, Clef) are all fine-tuned from a shared Qwen3.5 backbone, we evaluate attributions both at the human-interpretable word level (primary) and at the model's native Qwen3.5 subword token level (secondary ablation) to test whether word-level aggregation sacrifices fidelity to the internal tokenization.
-
Feature Absence Operator (Deletion vs. [MASK] Replacement): When a feature is excluded from a coalition (), rendering by token deletion (removing the span and normalizing whitespace) preserves natural linguistic adjacency, whereas replacing the span with a placeholder string [MASK] preserves token positions but injects an out-of-distribution symbol never seen by causal decoder backbones during pre-training Hooker et al. (2019). We evaluate both operators across all attribution methods.
3.3.2 Standard Perturbation Attributions (LOO, LIME, KernelSHAP)
Let denote the outcome predicted on the clean input (), and let denote the target probability value function. We compare three classical black-box estimators:
- Leave-One-Out (LOO): Computes the single-feature deletion drop using model queries. While fast, LOO fails to capture feature redundancy or conjunctive
interactions (e.g., when two clinical flags each independently suffice to trigger an immediate triage decision).
-
LIME Ribeiro et al. (2016): Samples binary coalitions and fits a weighted Ridge surrogate , with exponential cosine-distance weights .
-
KernelSHAP Lundberg & Lee (2017): Estimates game-theoretic Shapley values by solving the weighted coalition regression with the Shapley kernel over coalitions, using the empty coalition as background reference and disabling Lasso truncation so that all features receive exact least-squares estimates.
While numerous extensions exist in the literature to stabilize sampling variance, select representative explanations, or balance locality and fidelity across perturbation and coalition spaces Ribeiro et al. (2016); Visani et al. (2022); Jethani et al. (2022); Covert et al. (2021); Gaudel et al. (2022)—ranging from submodular pick and deterministic sampling surrogates to hierarchical coalition partitions—we evaluate canonical formulations (LOO, LIME, KernelSHAP) to establish standard, reproducible black-box baselines against which our log-odds adaptation is audited.
3.3.3 Logit-Link Shapley Attribution (S1-SHAP) for Saturated Decision Heads
Applying standard LIME or probability-space KernelSHAP directly to overlooks a key mathematical property of System 1 decision models: . Because System 1 models are trained to emit sharp categorical or binary distributions (often yielding ), the mapping from the model's internal pre-activation evidence to probability space is governed by a saturating sigmoid or softmax nonlinearity. When two redundant clinical flags are present in a triage note, removing only one flag may reduce internal evidence substantially (e.g., from +4.5 to +2.8 in log-odds) while leaving the output probability nearly flat (, ), violating the linear additivity assumption of probability-space surrogates and artificially compressing attribution weights.
To address this without requiring white-box gradient or logit access, we instantiate S1-SHAP: a log-odds formulation of KernelSHAP tailored to single-pass System 1 decision models. Methodologically, this corresponds to applying KernelSHAP with a logit link function Lundberg & Lee (2017):
with numerical clipping , and solving the exact Shapley kernel weighted least squares regression over :
For binary decisions (), Equation 1 is the exact log-odds of the positive class. For multiclass categorical choices (, such as 3-way e-SNLI or 3-level Clinical Triage), Equation 1 evaluates the one-vs-rest log-odds of the predicted target class : , mapping the target probability onto the real line . This one-vs-rest formulation preserves 1-dimensional weighted least squares efficiency ( parameters) and avoids fitting coupled regressions that amplify sampling variance on finite coalition budgets, while focusing credit directly on the predicted decision. While link functions are theoretically known in generalized additive models and the original SHAP formulation Lundberg & Lee (2017), the NLP perturbation literature has almost universally operated in raw probability space. Crucially, in the System 1 setting, the logit link has three pragmatic virtues: (i) it remains strictly 100% black-box, needing only the returned probability distribution; (ii) it is zero-overhead, reusing the exact same coalition queries evaluated for probability-space KernelSHAP via memoized value functions; and (iii) it linearizes saturated decision surfaces, which we show in Section 5.7 is strictly necessary for recovering higher-order cooperative and redundant logic gate interactions. Furthermore, to ensure sampling stability, our implementation couples S1-SHAP with paired
Table 1: Benchmark datasets used in our audit, spanning in-distribution NLI, adversarial syntactic shortcuts, synthetic clinical emergency triage, adversarial prompt injection defense, and programmatic logic-gate trigger recovery.
| Dataset | Domain | Primitives | N | Ground-Truth Annotations | Primary Audit Objective |
|---|---|---|---|---|---|
| e-SNLI Camburu et al. (2018) | Open-domain NLI | Choice, Noul | 300 | 3-annotator highlighted rationale words (100/class) | In-distribution calibration & human plausibility |
| HANS McCoy et al. (2019) | Adversarial NLI | Choice, Noul | 300 | 3 syntactic heuristics (150 entail. / 150 non-entail.) | Over-confidence under shortcut failure |
| Clinical Triage | Emergency medicine | Choice, Noul | 300 | Programmatic ESI acuity flags vs. emotional confounders | Causal flag vs. distractor confounder isolation |
| Tensor Trust Toyer et al. (2024) | Cybersecurity guardrails | Choice, Noul | 250 | 75 std. benign, 50 hard benign, 65 extraction, 60 hijacking | Inline firewall defense, AUROC/PR-AUC, S1-SHAP attribution |
| Planted Rule | Algorithmic audit | Choice, Noul | 86 | 6 regimes (Single, Case, OR-2, OR-3, AND-2, Distractor) | Exact trigger & boolean gate recovery (172 head evals/model) |
antithetic coalition sampling Covert et al. (2021); orthogonal uncertainty-aware extensions such as Bayesian SHAP Visani et al. (2022); Slack et al. (2021) can directly place posterior credible intervals over without modifying the underlying logit link. Regarding numerical robustness, evaluating attribution stability across clipping thresholds yields pairwise Spearman rank correlations and identical top- feature sets (100% overlap for ), confirming that S1-SHAP rankings are virtually invariant to the boundary clipping constant.
3.4 Label-Preserving Perturbation Operators
To test whether System 1 probabilities and calibration remain invariant under realistic surface noise, we define five deterministic perturbation operators designed to preserve the ground-truth semantic label:
-
Character Typo Noise (): Alters a fraction of content words of length via character swaps or substitutions, while strictly protecting negation markers (not, no, never, without) so logical polarity is never inverted.
-
Semantic Distractor Injection: Appends a topically neutral, clinically or logically irrelevant sentence to the premise or patient note (filtering out any candidate distractor that shares content words with the hypothesis).
-
Surface Normalization (Case & Punctuation Stripping): Converts the entire input state to lowercase and strips surface punctuation, mimicking unformatted user or ASR transcripts.
4 Experimental Setup
4.1 Datasets and Task Design
To evaluate System 1 decision models across in-distribution reasoning, adversarial shortcut shifts, high-stakes domain decision-making, high-throughput security guardrails, and exact ground-truth algorithmic trigger recovery, we select five complementary datasets summarized in Table 1.
Justification of Dataset Selection. No single dataset can jointly test calibration, shortcut vulnerability, and causal explanation fidelity:
- e-SNLI Bowman et al. (2015); Camburu et al. (2018) (In-Distribution Calibration & Human Plausibility, ): Provides class-balanced premise–hypothesis pairs (100 entailment,
100 neutral, 100 contradiction), paired with word-level human rationale highlights from three independent annotators. It establishes whether a model is calibrated on standard NLI and whether post-hoc attributions recover human-identified evidence words (where annotators agree).
-
HANS McCoy et al. (2019) (Adversarial Shortcut Audit, ): Constructed to break models that rely on surface syntactic heuristics—lexical overlap, subsequence, and constituent containment—where high word overlap does not entail the hypothesis (150 entailment, 150 non_entailment). Because HANS labels are binary, the three-way Choice distribution is collapsed by summing neutral and contradiction probabilities. HANS tests whether returned probabilities warn the user when the model falls into a syntactic trap.
-
Synthetic Clinical Triage Vignettes (triage_synth, ): In natural text datasets, true causal features are imperfectly known due to annotator subjectivity. We therefore construct a controlled, programmatically generated emergency-department triage benchmark grounded in Emergency Severity Index (ESI) acuity criteria Gilboy et al. (2011) across three balanced levels (100 immediate, 100 urgent, 100 non_urgent). Each vignette combines patient demographics, one or two causal clinical flag sentences specific to the acuity class (e.g., severe hypotension BP 68/40 mmHg or airway stridor), and two neutral clinical history sentences. In one third of the vignettes (balanced across classes), the generator injects an alarming confounder sentence—an emotionally urgent but clinically non-diagnostic cue (e.g., “The patient’s family is extremely worried and keeps asking staff for help”). Because exact character offsets for flags and confounders are recorded deterministically at template assembly time, we can measure whether attributions isolate true clinical flags over alarming distractors without human annotation noise.
-
Tensor Trust Toyer et al. (2024) (Adversarial Prompt Injection Guardrails, ): Production LLM applications require low-latency inline filters to inspect untrusted user prompts for prompt injections, system prompt extraction, and instruction hijacking. We curate a length-matched benchmark ( words) combining 125 adversarial attacks from Tensor Trust (65 Secret Extraction and 60 Instruction Hijacking) with 125 benign queries stratified into 75 Standard Benign conversational prompts and 50 Hard Benign Negatives—legitimate educational, cybersecurity, and software-engineering questions that explicitly contain trigger vocabulary (password, system prompt, ignore, SQL injection, override). This tests both threshold-free ranking (AUROC, PR-AUC) and false-alarm resilience under lexical overlap, alongside quantitative S1-SHAP attack-token localization.
-
Planted System-Rule (Hidden Trigger) Benchmark (86 Programmatic Cases, 172 Head Evaluations/Model): Even in controlled clinical vignettes, a pretrained language model brings prior medical knowledge about multiple words in a sentence. To establish a prior-free causal ground truth for XAI evaluation, we construct an 86-case programmatic suite where the unmasked question instruction injects an explicit override rule instructing the model to classify an otherwise benign routine note (non_urgent, base (immediate) < 0.02) as immediate/true according to a boolean predicate over arbitrary code words (e.g., velvet, cobalt, zenith). The 86 cases span six regimes: (1) Single Trigger (16 cases, ), (2) Case-Insensitive Variant (8 cases, uppercase trigger tokens), (3) Dual OR-Trigger (16 cases, , disjunctive redundancy), (4) Multi OR-Trigger (12 cases, , extreme OR saturation), (5) Dual AND-Trigger (16 cases, , conjunctive synergy where both triggers must co-occur), and (6) Near-Miss Distractor (18 cases, active trigger co-occurring with an inactive decoy word mentioned in the prompt).
4.2 Evaluated System 1 Decision Models and System 2 Baselines
Table 2 details the models evaluated in our benchmark. To evaluate how calibration, cross-question interference, and attribution faithfulness vary across model capacity and post-training recipes, we select five open-weight System 1 decision models spanning four parameter scales (0.8B to 27B): Together AI's Tev1-0.8B and Tev1-4B Ollama (2026b), Bespoke Labs' Nimble-9B Bespoke Labs (2026), and Cloudflare's multimodal Clef-Flash-9B and Clef-27B Cloudflare (2026). All five models are fine-tuned from a Qwen3.5 transformer backbone (with Clef models built on Qwen3.5-VL). To ensure a fair comparison against standard autoregressive LLMs Kadavath et al. (2022); Desai & Durrett (2020), we evaluate Google's Gemma4-8B across three distinct
Table 2: System 1 decision models and generative System 2 baselines evaluated in our benchmark (0.8B to 27B parameters).
| Model | Provider | Base Backbone | Parameters | Modalities / Protocol |
|---|---|---|---|---|
| Tev1-0.8B Ollama (2026b) | Together AI | Qwen3.5-0.8B | 0.8B (Q8_0) | System 1 (Text, JSON) |
| Tev1-4B Ollama (2026b) | Together AI | Qwen3.5-4B | 4.0B | System 1 (Text, JSON) |
| Nimble-9B Bespoke Labs (2026) | Bespoke Labs | Qwen3.5-9B | 9.0B | System 1 (Text, JSON) |
| Clef-Flash-9B Cloudflare (2026) | Cloudflare | Qwen3.5-VL-9B | 9.0B | System 1 (Text, JSON, Vision) |
| Clef-27B Cloudflare (2026) | Cloudflare | Qwen3.5-VL-27B | 27.0B | System 1 (Text, JSON, Vision) |
| Gemma4-8B (1-Tok Logprob) | Gemma-4-8B | 8.0B (Q4_K_M) | System 2 (Single-token logprobs) | |
| Gemma4-8B (JSON / CoT) | Gemma-4-8B | 8.0B (Q4_K_M) | System 2 (Structured JSON & CoT) |
System 2 inference protocols: (i) 1-Token Logprob Scoring (num_predict=1, logprobs=True), which extracts exact first-token log-probabilities over single-token option identifiers (A/B/C) in a single forward pass without multi-token decoding; (ii) Structured JSON Mode (both label-only and with rationale_words), which enforces a JSON schema returning verbalized probabilities; and (iii) Chain-of-Thought (CoT) Mode, which generates a deliberative reasoning trace prior to the JSON decision.
4.3 Evaluation Metrics
Calibration and Selective Ranking Metrics. Let denote the predicted top probability on instance and its binary accuracy indicator. We evaluate distributional calibration using:
- Expected and Maximum Calibration Error (ECE, ECE, MCE): Partitioning predictions into intervals via either equal-width binning (ECE) or equal-mass quantile binning (ECE) Naeini et al. (2015); Nixon et al. (2019),
-
Multiclass Brier Score (Brier ): The binning-free proper scoring rule Brier (1950), where is the evaluation cohort size ( per dataset, total; per dataset for Clef-27B and Gemma4-8B JSON) and is the number of outcome classes ( for e-SNLI and Clinical Triage Choice; for HANS and Noul).
-
Selective Classification AUROC (AUROC, AUROC): Measures the area under the ROC curve when using either (AUROC) or the provider-returned confidence (AUROC) to rank correct predictions above incorrect ones.
All calibration metrics and perturbation shifts (, ) are reported with 95% percentile bootstrap confidence intervals over 1,000 resamples Efron (1979).
Faithfulness and Plausibility Metrics. Given a feature attribution vector inducing a descending importance ordering , let denote the input with the top- features removed and the input retaining only the top- features:
- Comprehensiveness (Comp. () , Comp. () ) and Sufficiency (Suff. ) AOPC DeYoung et al. (2020): Averaged over % of (rounded up and de-duplicated) in both probability space and log-odds space :
Table 3: Uncached sequential latency (median / p90 in ms at c = 1), mean output tokens, and throughput (req/s) of single-question requests across evaluated System 1 decision models and generative System 2 baselines (Gemma4-8B in 1-Token Logprob, JSON without rationale, JSON with rationale, and Chain-of-Thought modes). Best values are in bold.
| Model | Out. Tok. ↓ | Choice Med./p90 (ms) ↓ | Noul Med./p90 (ms) ↓ | Req/s (c = 1) ↑ | Peak Req/s ↑ |
|---|---|---|---|---|---|
| Tev1-0.8B | 2.0 | 26 / 27 | 24 / 25 | 39.3 | 40.0 |
| Tev1-4B | 2.0 | 45 / 68 | 40 / 62 | 19.7 | 21.7 |
| Nimble-9B | 2.0 | 250 / 272 | 214 / 235 | 4.0 | 4.1 |
| Clef-Flash-9B | 2.0 | 64 / 98 | 58 / 85 | 16.5 | 17.6 |
| Clef-27B | 2.0 | 1953 / 2010 | 1863 / 1913 | 0.6 | 0.6 |
| Gemma4-8B (1-Token Logprob) | 1.0 | 74 / 77 | 71 / 75 | 13.5 | 14.2 |
| Gemma4-8B (JSON, no rationale) | 24.0 | 770 / 883 | 264 / 283 | 1.3 | 2.2 |
| Gemma4-8B (JSON + rationale) | 77.3 | 1133 / 1259 | 533 / 617 | 0.7 | 0.7 |
| Gemma4-8B (CoT) | 474.1 | 4856 / 4899 | 4430 / 4861 | 0.2 | 0.2 |
with measuring evidence drop without softmax ceiling compression.
-
Deletion AUC (Del. AUC ↓) and Insertion AUC (Ins. AUC ↑) Petsiuk et al. (2018): Integrate the target probability at every single-feature step from 0 to as features are progressively deleted ( lower area is more faithful) or inserted from an empty state ( higher area is more faithful).
-
Domain Plausibility (Flag prec.@g ↑, Conf. share@g ↓, Human prec.@g ↑): With denoting the number of ground-truth causal words in an instance (planted clinical flag words in Triage, or words highlighted by human annotators in e-SNLI), we measure the fraction of the top- attributed words that fall inside ground-truth causal spans () versus inside planted confounder spans (), evaluated on correctly classified instances so classification errors do not confound attribution overlap.
4.4 Implementation Details and Reproducibility
Local open-weight models are served via Ollama (v0.40.13) on an AMD Radeon RX 9070 XT GPU with OLLAMA_NUM_PARALLEL=4. All source code, datasets, evaluation harnesses, and reproduction scripts are publicly accessible at https://github.com/j2launay/jev-decision-models-xai. Across our experiments, we verified that repeated calls with identical payloads return bit-identical floating-point outputs (unlike hosted generative LLM APIs Atil et al. (2025)). We therefore cache all validated responses in a local SQLite database indexed by the SHA-256 hash of the model weight digest and the request payload (preserving key ordering for serialization-order and option-permutation controls), reporting latency benchmarks strictly on uncached calls. Table 3 reports uncached sequential latencies (), output token counts, and concurrent throughput across all five System 1 models (0.8B to 27B) and four generative System 2 configurations on Gemma4-8B: (1) 1-Token Logprob scoring (1.0 output token), (2) JSON without rationale (24.0 tokens, returning only choice and probabilities), (3) JSON with rationale (77.3 tokens, adding rationale_words), and (4) Chain-of-Thought (474.1 tokens). System 1 models always emit 2.0 output tokens and operate at 24–64 ms median single-pass latency on Tev1-0.8B, Tev1-4B, and Clef-Flash-9B (16.5–39.3 req/s at ; 250 ms on Nimble-9B; 1,953 ms on Clef-27B). Restricting Gemma4-8B to single-token logprob scoring achieves 74 ms ( ms () median latency (13.5 req/s), confirming that 1-token scoring avoids multi-token decoding overhead while remaining slower than 0.8B-9B System 1 models (Tev1-0.8B, Tev1-4B, Clef-Flash-9B) and faster than Nimble-9B (250 ms). In contrast, structured JSON decoding requires 770 ms / 264 ms without rationale (1.3 req/s), 1,133 ms / 533 ms with rationale (0.7 req/s), and 4,856 ms / 4,430 ms in CoT mode (0.2 req/s). Consequently, computing a 512-coalition SHAP explanation takes 1.3–3.2 s per instance on fast System 1 models (with 4 asynchronous workers and coalition memoization pruning 30–45% of redundant masked evaluations), s under 1-token logprob scoring, and 4–41 minutes under multi-token JSON/CoT generation.
Table 4: Interference between co-asked questions on clean inputs (Tev1-0.8B, class-balanced cohort, per dataset). “Alone” asks each primitive in its own request; “joint” asks both in one request. Flip () is the fraction of inputs whose predicted answer changes; TV () is the mean total-variation distance between the two distributions. Best values per column are in bold.
| Source | Head | Acc. alone | Acc. joint | Flip | TV | (true) alone | (true) joint | |
|---|---|---|---|---|---|---|---|---|
| e-SNLI | Choice | 300 | 0.863 | 0.837 | 0.030 | 0.058 | - | - |
| e-SNLI | Noul | 300 | 0.920 | 0.827 | 0.120 | 0.084 | 0.336 | 0.343 |
| HANS | Choice | 300 | 0.663 | 0.660 | 0.010 | 0.061 | - | - |
| HANS | Noul | 300 | 0.650 | 0.620 | 0.150 | 0.082 | 0.770 | 0.704 |
| Triage | Choice | 300 | 0.637 | 0.627 | 0.040 | 0.046 | - | - |
| Triage | Noul | 300 | 0.633 | 0.580 | 0.080 | 0.055 | 0.687 | 0.664 |
5 Results
5.1 Interface Audit: Entropy-Based Confidence and Question Interference
The Provider confidence Field is Normalized Shannon Entropy. While provider documentation describes confidence qualitatively as showing “how concentrated the probabilities are” Ollama (2026b), our audit reveals its exact closed-form mathematical identity: across the four sub-10B decision models (Tev1-0.8B, Tev1-4B, Nimble-9B, and Clef-Flash-9B), for any -way Choice distribution , the returned confidence equals one minus the normalized Shannon entropy,
Across all 600 clean choice predictions on these four models (150 per model), the maximum absolute deviation between the API-returned confidence field and Equation 5 is (IEEE 754 double-precision machine epsilon). On Clef-27B, the provider instead implements the normalized margin above uniform chance, (verified to exact floating-point precision on 3-way tasks). Crucially, neither provider implementation represents an empirical probability of correctness: for instance, a three-way prediction has but an entropy confidence of only 0.632. Treating directly as a calibrated probability would systematically under-estimate certainty on concentrated distributions; we therefore evaluate calibration on while auditing separately via selective AUROC ().
Cross-Question Interference Across Scales and Training Recipes. Table 4 (and Table 13 in Section 5.9) compares the isolated request protocol against the bundled joint protocol. On Tev1-0.8B, over the class-balanced cohort ( per dataset, Table 4), bundling two questions in a single request induces substantial cross-question interference: the binary Noul answer flips on 11.7% of inputs overall (12.0% on e-SNLI, 15.0% on HANS, and 8.0% on Triage; 22.4% on the subset), causing Noul accuracy to drop by 3.0–9.3 percentage points ( on e-SNLI, on HANS, and on Triage), while categorical Choice flips on 2.7% of inputs (3.0% on e-SNLI, 1.0% on HANS, and 4.0% on Triage), with mean total-variation distances of 0.046–0.061 on Choice and 0.055–0.084 on Noul. Our multi-model audit shows that cross-question interference depends on both parameter scale and post-training recipe rather than capacity alone: within the Tev1 family, scaling from Tev1-0.8B to Tev1-4B reduces interference to 0.1% across both heads (). At the 9B–27B scale, Clef-Flash-9B (0.8% Choice / 9.2% Noul flips on ) and Clef-27B (0.4% Choice / 16.9% Noul on ) exhibit low categorical Choice interference but non-trivial binary Noul shifts, whereas Nimble-9B flips on 15.2% of Choice inputs and 4.7% of Noul inputs.
Interference Controls: Causal Ordering Asymmetry, Option Permutations, and Neutral Dummy Queries. To isolate the mechanisms driving cross-question interference, Table 5 evaluates three experimental
Table 5: Cross-question interference controls across open-weight System 1 decision models ( clean inputs): question serialization ordering ( vs. ), option list permutation, and prompt length control using an irrelevant neutral dummy question.
| Model | Head | Question Order Control | Option Permutation | Prompt Length Control | |
|---|---|---|---|---|---|
| Joint () Flip/TV | Joint () Flip/TV | Shuffled Opts Flip/TV | Neutral Dummy Flip/TV | ||
| Tev1-0.8B | Choice | 0.051 / 0.103 | 0.044 / 0.040 | 0.111 / 0.111 | 0.040 / 0.041 |
| Noul | 0.224 / 0.144 | 0.009 / 0.020 | – | 0.009 / 0.020 | |
| Tev1-4B | Choice | 0.002 / 0.002 | 0.002 / 0.002 | 0.029 / 0.056 | 0.002 / 0.002 |
| Noul | 0.002 / 0.001 | 0.000 / 0.001 | – | 0.000 / 0.001 | |
| Nimble-9B | Choice | 0.111 / 0.221 | 0.040 / 0.089 | 0.007 / 0.025 | 0.004 / 0.028 |
| Noul | 0.049 / 0.099 | 0.109 / 0.166 | – | 0.000 / 0.012 | |
| Clef-Flash-9B | Choice | 0.007 / 0.019 | 0.020 / 0.035 | 0.000 / 0.000 | 0.004 / 0.010 |
| Noul | 0.131 / 0.102 | 0.009 / 0.014 | – | 0.018 / 0.013 | |
controls across the four sub-10B System 1 models ( cohort, preserving exact JSON key serialization order):
-
Directional Ordering Asymmetry ( vs. ): Because System 1 models use causal decoder-only backbones (Qwen3.5), question schemas serialized later in the prompt attend to earlier question schemas. Reversing the serialization order from to shifts interference onto whichever head is serialized second: on Tev1-0.8B, Noul flips plunge from 0.224 () when asked second to 0.009 () when asked first; on Clef-Flash-9B, Noul flips drop from 0.131 0.009 while Choice flips rise from 0.007 0.020; and on Nimble-9B, reversing the order swaps the higher-flip head from Choice (0.111 0.040) to Noul (0.049 0.109).
-
Option Permutation Sensitivity: Permuting the declared options of the isolated Choice head causes 11.1% flips () on Tev1-0.8B and 2.9% flips () on Tev1-4B, consistent with positional option bias in smaller LLMs Zheng et al. (2024); Pezeshkpour & Hruschka (2024), whereas 9B models are nearly invariant (0.7% flips on Nimble-9B and 0.0% on Clef-Flash-9B).
-
Prompt Length and Syntactic Control via Neutral Dummy Query: To test whether interference is merely an artifact of longer multi-question prompts, we bundle the target question with an irrelevant binary question (“Is the text written in English?”). Across all models, the neutral dummy reduces flips to on Choice and on Noul (e.g., on Nimble-9B, Choice/Noul flips drop from 0.111/0.049 to 0.004/0.000; on Tev1-0.8B Noul, from 0.224 to 0.009). Thus, cross-question interference is driven primarily by causal attention cross-talk between semantically coupled questions evaluated over the same input state.
Operational Guidelines for Multi-Query System 1 Deployments. These controls suggest three practical safeguards: (i) evaluate safety-critical decision heads in isolated single-question requests unless multi-query invariance has been verified on the target model; (ii) when bundling questions in causal architectures, place the primary high-stakes decision head first in the serialized schema; and (iii) for future System 1 model training, enforce block-diagonal attention masks between distinct query specifications so shared state representations can be reused without cross-query key-value contamination.
5.2 Calibration on Clean Inputs and Shortcut Shifts
Table 6 reports clean calibration for Tev1-0.8B across the class-balanced cohort ( per dataset), while Table 13 (Section 5.9) and Table 7 evaluate cross-model scaling, post-hoc recalibration, and selective risk. On in-distribution e-SNLI (), Tev1-0.8B is well calibrated: Choice achieves 0.863 accuracy with (95% CI [0.03, 0.08], Brier 0.200) and Noul achieves 0.920 accuracy with ([0.01, 0.06], Brier 0.126), while Nimble-9B (0.937 accuracy, ) and Tev1-4B (0.933 accuracy, ) reach strong in-distribution calibration.
Table 6: Calibration of Tev1-0.8B on clean inputs across the class-balanced cohort ( per dataset; see Table 13 for cross-model comparison). and use 10 equal-width and equal-mass bins. and are selective AUROCs of max and of the provider confidence. Best head per dataset is in bold.
| Source | Head | Acc. ↑ | Conf. | Brier ↓ | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| e-SNLI | Choice | 300 | 0.863 | 0.848 | 0.037 [0.03, 0.08] | 0.036 | 0.473 | 0.200 | 0.843 | 0.839 |
| e-SNLI | Noul | 300 | 0.920 | 0.930 | 0.018 [0.01, 0.06] | 0.034 | 0.066 | 0.126 | 0.826 | - |
| HANS | Choice | 300 | 0.663 | 0.876 | 0.213 [0.17, 0.27] | 0.213 | 0.334 | 0.511 | 0.677 | 0.589 |
| HANS | Noul | 300 | 0.650 | 0.928 | 0.278 [0.23, 0.33] | 0.278 | 0.372 | 0.597 | 0.624 | - |
| Triage | Choice | 300 | 0.637 | 0.783 | 0.151 [0.11, 0.21] | 0.154 | 0.271 | 0.484 | 0.695 | 0.684 |
| Triage | Noul | 300 | 0.633 | 0.885 | 0.259 [0.21, 0.32] | 0.253 | 0.330 | 0.614 | 0.544 | - |
On HANS (, balanced 150 entailment / 150 non-entailment), Tev1-0.8B Choice accuracy drops to 0.663 while mean confidence remains high (0.876), driving to 0.213 (95% CI [0.17, 0.27], Brier 0.511). Breaking HANS down by syntactic heuristic shows that sub-billion errors concentrate on non-entailment instances built with the subsequence and constituent heuristics, where the model endorses continuous substring overlaps with high confidence. Larger System 1 models substantially reduce this shortcut vulnerability: HANS Choice accuracy rises to 0.893 on Nimble-9B (), 0.923 on Clef-Flash-9B (, Brier 0.117), 0.933 on Tev1-4B (, Brier 0.111), and 0.940 on Clef-27B (, Brier 0.101). On Clinical Triage (), all B System 1 models achieve 0.973–1.000 accuracy on three-way Choice (0.997 on Nimble-9B, 0.980 on Tev1-4B, 0.973 on Clef-Flash-9B, and 1.000 on Clef-27B), compared to 0.637 () on Tev1-0.8B, where errors stem from over-triaging urgent patients into immediate. Comparing selective ranking signals on Tev1-0.8B (Table 6) confirms that max () consistently outperforms entropy-based confidence (), especially under syntactic shift on HANS (0.677 vs. 0.589).
Post-Hoc Recalibration (Temperature Scaling and Platt Scaling) and Selective Risk. Table 7 benchmarks raw calibration against 5-fold cross-fitted Temperature Scaling Guo et al. (2017) and Platt logistic scaling Platt (1999), alongside excess risk under selective classification (E-AURC Geifman & El-Yaniv (2017; 2019)). Two findings stand out: First, post-hoc Temperature Scaling and Platt scaling substantially reduce residual miscalibration across System 1 models: on HANS, drops from 0.213 0.042 (Temp.) / 0.039 (Platt) on Tev1-0.8B, from 0.075 0.017 on Clef-Flash-9B, and from 0.087 0.034 (Temp.) / 0.018 (Platt) on Nimble-9B. Similarly, on Gemma4-8B (1-Tok Logprob), Temperature Scaling reduces e-SNLI from 0.286 0.053 and HANS from 0.144 0.048 (Brier 0.337 0.282), whereas Gemma4-8B (JSON) verbalized probabilities remain poorly calibrated under Temperature Scaling on HANS (, Brier 0.734 0.488). Second, selective risk evaluation (E-AURC) confirms that max provides a strictly lower or equal excess risk compared to provider confidence across all System 1 models on HANS (0.141 vs. 0.197 on Tev1-0.8B; 0.015 vs. 0.021 on Tev1-4B; 0.040 vs. 0.050 on Nimble-9B; 0.010 vs. 0.017 on Clef-Flash-9B; and 0.009 vs. 0.013 on Clef-27B).
5.3 Robustness and Calibration under Perturbations
Table 17 in the appendix reports calibration and accuracy shifts across all five perturbation families. The strongest degradation occurs under 20% character typos on e-SNLI: on Tev1-0.8B, Choice accuracy drops by 0.100, 17% of predictions flip, and increases by +0.030 (95% CI [-0.02, 0.09]), with Noul showing a parallel shift (, , CI [-0.01, 0.09]). Larger models are markedly more resilient to character noise: under 20% typos on e-SNLI Choice, flip rates drop from 17% (Tev1-0.8B) to 8.3% (Tev1-4B and Clef-Flash-9B) and 5.0% (Nimble-9B). On HANS, 20% typos induces a +0.069 increase in Choice (, 27% flips), but slightly lowers Noul (-0.014, CI [-0.07, 0.08]) by disrupting the exact lexical/subsequence matching that fuels the shortcut heuristic. Semantic distractors and lowercase/punctuation stripping leave within across all datasets and models. Overall, across
Table 7: Post-hoc recalibration and selective risk across models on clean inputs (, per dataset; , per dataset for Clef-27B and Gemma4-8B JSON): raw vs. 5-fold cross-fitted Temperature Scaling and Platt scaling (equal-width and Brier score), alongside Excess Area Under the Risk-Coverage curve (E-AURC, ) comparing selective prediction via max against provider confidence.
| Model | Dataset | Acc. | () | Brier () | E-AURC () | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Raw | Temp. | Platt | Raw | Temp. | max | Provider | Conf. | |||
| Tev1-0.8B | e-SNLI | 0.863 | 0.037 | 0.022 | 0.040 | 0.200 | 0.201 | 0.025 | 0.026 | |
| HANS | 0.663 | 0.213 | 0.042 | 0.039 | 0.511 | 0.418 | 0.141 | 0.197 | ||
| Triage | 0.637 | 0.151 | 0.091 | 0.090 | 0.484 | 0.450 | 0.130 | 0.137 | ||
| Tev1-4B | e-SNLI | 0.933 | 0.029 | 0.031 | 0.032 | 0.098 | 0.098 | 0.012 | 0.012 | |
| HANS | 0.933 | 0.030 | 0.029 | 0.028 | 0.111 | 0.111 | 0.015 | 0.021 | ||
| Triage | 0.980 | 0.108 | 0.015 | 0.013 | 0.067 | 0.027 | 0.000 | 0.000 | ||
| Nimble-9B | e-SNLI | 0.937 | 0.024 | 0.013 | 0.016 | 0.092 | 0.091 | 0.009 | 0.009 | |
| HANS | 0.893 | 0.087 | 0.034 | 0.018 | 0.200 | 0.189 | 0.040 | 0.050 | ||
| Triage | 0.997 | 0.090 | 0.008 | 0.020 | 0.048 | 0.011 | 0.000 | 0.000 | ||
| Clef-Flash-9B | e-SNLI | 0.883 | 0.069 | 0.014 | 0.034 | 0.184 | 0.178 | 0.029 | 0.029 | |
| HANS | 0.923 | 0.075 | 0.017 | 0.023 | 0.117 | 0.109 | 0.010 | 0.017 | ||
| Triage | 0.973 | 0.098 | 0.014 | 0.010 | 0.068 | 0.045 | 0.001 | 0.001 | ||
| Clef-27B | e-SNLI | 0.927 | 0.049 | 0.031 | 0.023 | 0.124 | 0.122 | 0.011 | 0.011 | |
| HANS | 0.940 | 0.032 | 0.032 | 0.031 | 0.101 | 0.102 | 0.009 | 0.013 | ||
| Triage | 1.000 | 0.091 | 0.000 | 0.091 | 0.028 | 0.000 | 0.000 | 0.000 | ||
| Gemma4-8B (1-Tok) | e-SNLI | 0.687 | 0.286 | 0.053 | 0.062 | 0.587 | 0.435 | 0.117 | 0.117 | |
| HANS | 0.810 | 0.144 | 0.048 | 0.045 | 0.337 | 0.282 | 0.064 | 0.072 | ||
| Triage | 0.997 | 0.003 | 0.003 | 0.002 | 0.008 | 0.008 | 0.000 | 0.000 | ||
| Gemma4-8B (JSON) | e-SNLI | 0.853 | 0.045 | 0.055 | 0.067 | 0.240 | 0.244 | 0.046 | 0.055 | |
| HANS | 0.540 | 0.378 | 0.168 | 0.049 | 0.734 | 0.488 | 0.092 | 0.091 | ||
| Triage | 1.000 | 0.136 | 0.000 | 0.136 | 0.038 | 0.000 | 0.000 | 0.000 | ||
the expanded cohort, clean out-of-distribution shortcut miscalibration on HANS dominates surface perturbation shifts across every model scale.
5.4 Faithfulness of Post-Hoc Attributions
Table 8 and Figure 5 evaluate word-level attribution faithfulness across all five attribution methods on Tev1-0.8B (100 instances) in both probability space () and log-odds space (). The three coalition-based surrogates (LIME, KernelSHAP, and S1-SHAP) consistently achieve higher comprehensiveness, lower sufficiency, and lower deletion AUC than single-feature LOO and the random baseline. On e-SNLI Choice, S1-SHAP achieves both the highest probability comprehensiveness (0.664) and the highest log-odds comprehensiveness (4.927, vs. 4.803 for LIME, 4.709 for KernelSHAP, and 4.138 for LOO), the lowest deletion AUC (0.196), and the highest [MASK] comprehensiveness (0.598). On Clinical Triage Noul—where binary emergency predictions saturate near 0 and 1—S1-SHAP attains the best sufficiency (-0.124 vs. -0.108 for KernelSHAP and -0.096 for LIME), the lowest deletion AUC (0.180 vs. 0.211 for KernelSHAP and 0.194 for LIME), higher log-odds comprehensiveness than KernelSHAP (2.681 vs. 2.462), and the best [MASK] sufficiency (-0.028), while LIME achieves the highest comprehensiveness (0.455 / 2.772) and insertion AUC (0.960). On Clinical Triage, sufficiency is negative across all three coalition methods: retaining only the top attributed clinical words yields a higher predicted probability than the full vignette, confirming that neutral filler and confounder sentences dilute model certainty.
Reliability — tev1:0.8b — clean — width bins

Figure 3: Reliability diagrams on clean inputs, equal-width bins (Tev1-0.8B). Bars are bin accuracy; dots are placed at bin mean confidence, with size proportional to bin count.
Probability-Space vs. Log-Odds Faithfulness Trade-Offs. Evaluating faithfulness in both probability space ( ) and log-odds space ( ) clarifies when the logit link helps and when it matches standard KernelSHAP. On natural inputs where a sub-billion model is only moderately confident ( ), as on e-SNLI Noul), probability-space KernelSHAP and LIME slightly lead S1-SHAP in (0.563–0.569 vs. 0.497), because masking peripheral words occasionally pushes coalitions near the clipping boundary ( ). Conversely, when evaluating evidence reduction in log-odds space ( ) across all four models (Section 5.9), S1-SHAP achieves a statistically significant gain over probability-space KernelSHAP (Holm-Bonferroni adjusted Wilcoxon ), while the two links are statistically indistinguishable in raw probability AOPC on natural inputs ( ).
Impact of Feature Granularity and Absence Operator. Comparing the two masking operators in Table 8 confirms the out-of-distribution hypothesis from Section 3.3: replacing removed words with [MASK] consistently degrades comprehensiveness (e.g., from 0.664 to 0.598 for S1-SHAP and 0.658 to 0.584 for KernelSHAP on e-SNLI Choice) and inflates sufficiency (0.260 to 0.383), while preserving the relative advantage of coalition methods over LOO and Random. Similarly, evaluating attributions at the native Qwen3.5 subword token level (Table 18 in the appendix) yields AOPC scores within 0.03 of word-level
Calibration Reliability: System 1 Decision Models vs. System 2 Generative Baseline

Figure 4: Multi-model calibration curves on in-distribution e-SNLI (left) and adversarial shortcut shift HANS (right) comparing all four System 1 models (Tev1-0.8B, Tev1-4B, Nimble-9B, Clef-Flash-9B) against the generative System 2 baseline (Gemma4-8B JSON). On HANS, System 1 models with ≥ 4B parameters track the calibration diagonal much more closely than the over-confident System 2 verbalized probabilities.
Table 8: Word-level faithfulness on Tev1-0.8B (100 instances) across all five attribution methods. Comprehensiveness (↑) is reported in both probability space (Δp) and log-odds space (Δℓ), alongside sufficiency (↓) AOPC over %, and deletion (↓) / insertion (↑) AUCs. Best method per (Source, Head) is in bold.
| Source | Head | Method | Deletion masking | [MASK] masking | |||||
|---|---|---|---|---|---|---|---|---|---|
| Comp. (Δp) ↑ | Comp. (Δℓ) ↑ | Suff. ↓ | Del. AUC ↓ | Ins. AUC ↑ | Comp. ↑ | Suff. ↓ | |||
| e-SNLI | Choice | LOO | 0.591 | 4.138 | 0.277 | 0.320 | 0.790 | 0.526 | 0.394 |
| LIME | 0.663 | 4.803 | 0.289 | 0.238 | 0.746 | 0.577 | 0.388 | ||
| KernelSHAP | 0.658 | 4.709 | 0.260 | 0.197 | 0.774 | 0.584 | 0.383 | ||
| S1-SHAP (logit-KS) | 0.664 | 4.927 | 0.287 | 0.196 | 0.740 | 0.598 | 0.402 | ||
| Random | 0.195 | 1.496 | 0.528 | 0.510 | 0.493 | 0.297 | 0.511 | ||
| Noul | LOO | 0.466 | 4.312 | 0.207 | 0.511 | 0.854 | 0.419 | 0.274 | |
| LIME | 0.569 | 5.139 | 0.222 | 0.399 | 0.835 | 0.475 | 0.252 | ||
| KernelSHAP | 0.563 | 4.992 | 0.203 | 0.359 | 0.842 | 0.466 | 0.266 | ||
| S1-SHAP (logit-KS) | 0.497 | 4.806 | 0.220 | 0.455 | 0.814 | 0.455 | 0.254 | ||
| Random | 0.156 | 1.548 | 0.343 | 0.666 | 0.657 | 0.234 | 0.380 | ||
| Triage | Choice | LOO | 0.433 | 2.557 | 0.059 | 0.197 | 0.808 | 0.385 | 0.119 |
| LIME | 0.464 | 2.811 | -0.022 | 0.152 | 0.830 | 0.406 | 0.094 | ||
| KernelSHAP | 0.453 | 2.868 | -0.065 | 0.122 | 0.840 | 0.426 | 0.019 | ||
| S1-SHAP (logit-KS) | 0.446 | 2.811 | -0.053 | 0.130 | 0.825 | 0.400 | 0.045 | ||
| Random | 0.056 | 0.354 | 0.393 | 0.561 | 0.502 | 0.111 | 0.394 | ||
| Noul | LOO | 0.382 | 2.268 | 0.013 | 0.328 | 0.910 | 0.312 | 0.090 | |
| LIME | 0.455 | 2.772 | -0.096 | 0.194 | 0.960 | 0.405 | -0.009 | ||
| KernelSHAP | 0.422 | 2.462 | -0.108 | 0.211 | 0.932 | 0.341 | 0.004 | ||
| S1-SHAP (logit-KS) | 0.445 | 2.681 | -0.124 | 0.180 | 0.956 | 0.391 | -0.028 | ||
| Random | 0.052 | 0.373 | 0.366 | 0.643 | 0.604 | 0.086 | 0.337 | ||
attributions across all five methods (with S1-SHAP achieving the best sufficiency -0.119 and lowest deletion AUC 0.174 on subword Triage Noul), demonstrating that word-level aggregation preserves attribution faithfulness without requiring subword fragmentation.
Deletion / insertion curves — tev1:0.8b — word

Figure 5: Mean deletion (top) and insertion (bottom) curves over the 100 attributed inputs (Tev1-0.8B, word level) across LOO, LIME, KernelSHAP, S1-SHAP, and Random, interpolated on a common 21-point grid.
5.5 Clinical Plausibility and Human Rationale Alignment
Table 9 evaluates whether post-hoc attributions recover ground-truth clinical flags over planted confounders on Triage vignettes and human-annotated rationale words on e-SNLI, filtered to correctly classified instances so model classification errors do not confound attribution overlap. On Clinical Triage, 55.1%–56.1% of the top-g LOO words, 50.0%–52.0% of the top-g LIME words, and 48.2%–48.7% of the top-g KernelSHAP and S1-SHAP words fall inside the planted clinical flag sentences, compared to 32.5%–33.5% for a random ranking (unfiltered all-instance flag precision is 0.536–0.547 for LOO and 0.494–0.503 for KernelSHAP/S1-SHAP). Single-feature LOO achieves the highest top-g precision on first-order Triage and e-SNLI rationales (0.583–0.591) because most vignettes contain only one or two clinical flags where deleting a key medical noun phrase directly perturbs the local phrase, whereas Shapley methods distribute credit across all co-occurring tokens in the coalition game. Crucially, in confounded vignettes, alarming confounder words account for only 11.6%–18.9% of the top-g words—well below the 24.9%–25.9% random baseline—and receive near-zero or slightly negative mean attribution ( across all methods), whereas clinical flag words receive positive attributions. Comparing the two Shapley links on the saturated binary Noul head shows that S1-SHAP achieves lower confounder share (0.176 vs. 0.189 on Noul; 0.139 vs. 0.144 on Choice) and higher alignment with human-highlighted rationales on e-SNLI (0.549 vs. 0.527) than probability-space KernelSHAP. Figure 6 illustrates a representative confounded clinical triage vignette where status epilepticus (seizing continuously) and shock (68/40 mmHg, cold, clammy skin) co-occur alongside an emotional confounder.
5.6 Planted System-Rule (Hidden Trigger) XAI Benchmark
To evaluate XAI methods against an unambiguous, prior-free causal ground truth, we evaluate all 86 programmatic test cases (172 head evaluations per model across six regimes) of the Planted System-Rule Benchmark. First, evaluating rule-following across all five System 1 models (860 total head evaluations) reveals a clear capacity threshold: Tev1-0.8B follows only 33.7% of override directives overall (succeeding on
Clinical Triage Vignette (triage-immediate-00, Gold: immediate, Confounded):
"A 23-year-old woman presents to the emergency department. The patient has been seizing continuously for over five minutes. Blood pressure is 68/40 mmHg with cold, clammy skin. The patient works as an accountant and lives with a partner. A relative insists that the patient be seen first. The patient speaks English and needs no interpreter."
Top Attributed Features by Method (Noul head: ):
- LOO (): seizing (+0.20), 40 (+0.05), minutes (+0.03), emergency (+0.03), 68 (+0.02) [Under-weights redundant second flag due to probability saturation]
- LIME (): seizing (+0.23), emergency (+0.10), clammy (+0.04), continuously (+0.04), insists (-0.01)
- KernelSHAP (): seizing (+0.27), emergency (+0.22), clammy (+0.09), continuously (+0.07), insists (+0.05)
- S1-SHAP (logit-KS, log-odds ): seizing (+1.71), emergency (+1.30), clammy (+0.63), continuously (+0.46), insists (+0.29)
Figure 6: Qualitative comparison of word-level attributions on a confounded immediate triage vignette (triage-immediate-00). Planted clinical flag words are highlighted in green; the planted emotional confounder sentence is shaded in light red. Because status epilepticus (seizing continuously) and shock (68/40 mmHg, cold, clammy skin) independently saturate , single-word LOO under-estimates the secondary flag, whereas coalition-based attributions recover both causal flags.
Table 9: Plausibility and human rationale alignment on Tev1-0.8B (filtered to correctly classified predictions): share of the top- attributed words falling in planted clinical flag sentences (), share falling in alarming confounder sentences (, confounded vignettes only), mean attribution per span type, and precision@ against human-highlighted rationale words on e-SNLI (). S1-SHAP attributions are in log-odds space (Equation 1). Best values per head are in bold.
| Head | Method | Clinical Triage Vignettes (Correct Predictions) | e-SNLI | |||||
|---|---|---|---|---|---|---|---|---|
| Flag prec.@ | Conf. share@ | Human prec.@ | ||||||
| Choice | LOO | 0.551 | 0.159 | 0.024 | -0.001 | 0.003 | 0.591 | |
| LIME | 0.500 | 0.132 | 0.025 | -0.000 | 0.002 | 0.575 | ||
| KernelSHAP | 0.483 | 0.144 | 0.030 | -0.003 | 0.001 | 0.565 | ||
| S1-SHAP (logit-KS) | 0.482 | 0.139 | 0.183 | -0.009 | -0.003 | 0.565 | ||
| Random | 0.325 | 0.259 | - | - | - | 0.216 | ||
| Noul | LOO | 0.561 | 0.116 | 0.023 | 0.000 | 0.003 | 0.583 | |
| LIME | 0.520 | 0.130 | 0.022 | -0.002 | 0.002 | 0.548 | ||
| KernelSHAP | 0.487 | 0.189 | 0.021 | -0.001 | 0.002 | 0.527 | ||
| S1-SHAP (logit-KS) | 0.486 | 0.176 | 0.128 | -0.000 | 0.011 | 0.549 | ||
| Random | 0.335 | 0.249 | - | - | - | 0.221 | ||
100% of binary Noul OR-2/OR-3 rules, but failing on categorical Choice and conjunctive AND-2), whereas ≥ 4B models obey the planted boolean rules with high reliability—88.4% on Clef-Flash-9B, 91.3% on Tev1-4B, 94.2% on Nimble-9B, and 96.5% on Clef-27B (which achieves 100% rule adherence across Single, Case Variant, Dual OR, Multi OR, and Dual AND regimes).
Table 10 reports first-order attribution recovery and intervention faithfulness across all rule-following instances across Tev1-0.8B, Tev1-4B, Nimble-9B, and Clef-Flash-9B:
-
Single Trigger () and Case Variants (): When a single code word drives the override rule, removing that word drops from to . All four attribution methods achieve Prec@1 = 1.000 (vs. 0.000 for Random), with S1-SHAP achieving the highest log-odds comprehensiveness (7.061 on Single, 8.348 on Case Variant) and lowest deletion AUC (0.043).
-
Dual Redundant OR-Triggers (): When two secret trigger words are planted under a disjunctive OR rule (e.g., velvet OR cobalt), deleting only one word leaves the other active, keeping the output probability saturated at 0.97–0.999. Consequently, single-feature LOO degrades sharply (Prec@2 = 0.714, , deletion AUC 0.277), and LIME drops to Prec@2 = 0.893 (mass share 0.601, deletion AUC 0.130). In contrast, both KernelSHAP and S1-SHAP achieve a perfect Prec@2 = 1.000 across all evaluations, with S1-SHAP achieving the highest log-odds comprehensiveness (6.792 vs. 6.751).
-
Saturated Multi-Triggers (): Under a three-way OR rule where any of three planted code words saturates , LOO (Prec@3 = 0.643, ) and LIME (Prec@3 = 0.571, ) fail on more than a third of the triggers. Both S1-SHAP and KernelSHAP achieve a perfect Prec@3 = 1.000 across all evaluations (Holm-Bonferroni adjusted Wilcoxon vs. LOO; vs. LIME), with S1-SHAP concentrating the largest share of positive attribution mass onto the three ground-truth triggers (0.818 vs. 0.808 for KernelSHAP and 0.549 for LIME).
-
Dual Conjunctive AND-Triggers () and Near-Miss Distractors (): Under a conjunctive AND rule (where both code words must co-occur), removing either word alone breaks the conjunction and drops ; thus LOO and KernelSHAP achieve Prec@2 = 1.000 and LIME / S1-SHAP achieve 0.981 (with S1-SHAP attaining the highest ). On Near-Miss Distractors (where an inactive decoy word mentioned in the system prompt co-occurs in the note alongside the true trigger), LIME, KernelSHAP, and S1-SHAP all achieve Prec@1 = 1.000 (vs. 0.958 for LOO), with S1-SHAP achieving the best comprehensiveness () and deletion AUC (0.050).
5.7 Logic Gate Recovery via Pairwise Shapley Interactions
While first-order attribution methods isolate which words drive a decision, they cannot distinguish boolean logic structures: for a symmetric two-trigger prompt, first-order Shapley values split attribution equally (50/50) between both active triggers whether the directive specifies an OR gate or an AND gate Delaunay et al. (2022; 2020). Because single-pass System 1 models execute in 24–64 ms, higher-order game-theoretic interaction audits Grabisch & Roubens (1999); Tsang et al. (2020); Sundararajan et al. (2020); Janizek et al. (2021) become tractable in black-box settings. Table 11 evaluates pairwise interaction explanations on a restricted game over the top- attributed features ( calls) across all rule-following multi-trigger instances ( Dual OR, Multi OR, Dual AND) using three estimators: the Shapley Interaction Index (SII Grabisch & Roubens (1999)), ArchDetect-style averaged second differences Tsang et al. (2020), and top-context second differences (LOO-pair), compared between native probability space and log-odds (logit) space.
Table 11 reveals a sharp complementarity between probability and log-odds representations:
Table 10: Planted System-Rule (Hidden Trigger) XAI Benchmark across all rule-following instances and models (Tev1-0.8B, Tev1-4B, Nimble-9B, Clef-Flash-9B): ground-truth trigger recovery (Prec@g ↑, positive attribution Mass Share ↑) and intervention faithfulness (Comp. (Δp) ↑, Comp. (Δℓ) ↑, Del. AUC ↓, Ins. AUC ↑) across five causal regimes (n denotes rule-following head evaluations per regime). Best values per regime are in bold.
| Regime | Method | Ground-Truth Trigger Recovery | Intervention Faithfulness | ||||
|---|---|---|---|---|---|---|---|
| Prec@g ↑ | Mass Share↑ | Comp. (Δp) ↑ | Comp. (Δℓ) ↑ | Del. AUC ↓ | Ins. AUC↑ | ||
| Single Trigger (g=1) (n=22) | LOO | 1.000 | 0.773 | 0.730 | 6.912 | 0.045 | 0.861 |
| LIME | 1.000 | 0.839 | 0.730 | 6.959 | 0.045 | 0.862 | |
| KernelSHAP | 1.000 | 0.872 | 0.731 | 7.005 | 0.044 | 0.867 | |
| S1-SHAP (logit-KS) | 1.000 | 0.829 | 0.731 | 7.061 | 0.043 | 0.865 | |
| Random | 0.000 | 0.062 | 0.079 | 0.595 | 0.458 | 0.400 | |
| Dual OR-Trigger (g=2) (n=28) | LOO | 0.714 | 0.739 | 0.464 | 4.276 | 0.277 | 0.921 |
| LIME | 0.893 | 0.601 | 0.620 | 5.736 | 0.130 | 0.924 | |
| KernelSHAP | 1.000 | 0.880 | 0.722 | 6.751 | 0.077 | 0.927 | |
| S1-SHAP (logit-KS) | 1.000 | 0.837 | 0.722 | 6.792 | 0.077 | 0.926 | |
| Random | 0.000 | 0.102 | 0.056 | 0.382 | 0.587 | 0.422 | |
| Multi OR-Trigger (g=3) (n=28) | LOO | 0.643 | 0.653 | 0.444 | 3.878 | 0.256 | 0.895 |
| LIME | 0.571 | 0.549 | 0.440 | 3.781 | 0.213 | 0.866 | |
| KernelSHAP | 1.000 | 0.808 | 0.618 | 5.594 | 0.110 | 0.929 | |
| S1-SHAP (logit-KS) | 1.000 | 0.818 | 0.610 | 5.580 | 0.112 | 0.929 | |
| Random | 0.405 | 0.212 | 0.132 | 1.273 | 0.543 | 0.853 | |
| Dual AND-Trigger (g=2) (n=26) | LOO | 1.000 | 0.802 | 0.685 | 6.411 | 0.032 | 0.784 |
| LIME | 0.981 | 0.689 | 0.684 | 6.382 | 0.032 | 0.777 | |
| KernelSHAP | 1.000 | 0.779 | 0.684 | 6.286 | 0.032 | 0.773 | |
| S1-SHAP (logit-KS) | 0.981 | 0.768 | 0.685 | 6.415 | 0.032 | 0.764 | |
| Random | 0.231 | 0.132 | 0.295 | 2.680 | 0.241 | 0.334 | |
| Near-Miss Distractor (g=1) (n=24) | LOO | 0.958 | 0.689 | 0.741 | 6.356 | 0.058 | 0.853 |
| LIME | 1.000 | 0.717 | 0.743 | 6.340 | 0.054 | 0.860 | |
| KernelSHAP | 1.000 | 0.755 | 0.748 | 6.397 | 0.052 | 0.863 | |
| S1-SHAP (logit-KS) | 1.000 | 0.717 | 0.749 | 6.481 | 0.050 | 0.859 | |
| Random | 0.000 | 0.043 | 0.190 | 1.351 | 0.421 | 0.477 | |
Ground-Truth Trigger Recovery across Secret System-Rule Regimes

Figure 7: Ground-truth trigger recovery metrics across Single Trigger (g = 1), Dual OR (g = 2), and Multi OR (g = 3) regimes of the Planted System-Rule Benchmark. Under OR redundancy, Leave-One-Out (LOO) and LIME degrade, whereas S1-SHAP and KernelSHAP maintain 100% precision.
-
Log-Odds Linearization is Essential for Disjunctive OR Gate Recovery: Under Dual OR (), probability-space SII recovers the full negative interaction gate (sign = -1, redundancy) on 82.1% of instances (Pair Prec.@2 = 0.821, sign accuracy 0.964), whereas computing interactions in log-odds (logit) space achieves a perfect 1.000 pair precision, 1.000 sign accuracy, and 1.000 full gate recovery across both SII and ArchDetect. Under three-way Multi OR saturation (), where any single trigger saturates , probability-space gate recovery drops to 57.1% for SII (53.6% for ArchDetect and 3.6% for LOO-pair). Transforming the value function to log-odds linearizes the saturated sigmoid tail, boosting SII and ArchDetect to 0.964 pair precision, 1.000 sign accuracy, and 0.893 (89.3%) full gate recovery (+32.2 percentage points over probability space).
-
Probability Space Suffices for Conjunctive AND Gates: Conversely, on Dual AND (), where both triggers are required for activation (sign = +1, synergy), coalitions missing either trigger remain near without ceiling saturation. Here, probability-space SII and ArchDetect achieve 1.000 pair precision, 1.000 sign accuracy, and 1.000 gate recovery, while log-odds SII achieves 1.000 sign accuracy and 0.920 pair precision/gate recovery (as minor baseline probability fluctuations near are amplified by ). Thus, while first-order trigger rankings are similar between KernelSHAP and S1-SHAP, the logit link is specifically decisive for recovering redundant (OR-gate) second-order interactions on saturated decision heads.
Table 11: Logic gate recovery via pairwise Shapley interactions across all rule-following multi-trigger evaluations ( Dual OR, Multi OR, Dual AND across Tev1-0.8B, Tev1-4B, Nimble-9B, and Clef-Flash-9B): ground-truth trigger pair precision@g, logic sign accuracy (sign = -1 for OR redundancy; +1 for AND synergy), and full gate recovery rate across probability and log-odds representations. Best values per regime are in bold.
| Regime | True Gate | Representation | Interaction Estimator | Pair Prec.@g ↑ | Sign Acc. ↑ | Gate Recovered ↑ |
|---|---|---|---|---|---|---|
| Dual OR (g=2) (n=28) | OR (-1) | Prob. space | SII (Shapley Interaction) | 0.821 | 0.964 | 0.821 |
| ArchDetect-style | 0.821 | 0.964 | 0.821 | |||
| LOO-pair (2nd Diff.) | 0.821 | 0.893 | 0.786 | |||
| Log-odds (logit) | SII (Shapley Interaction) | 1.000 | 1.000 | 1.000 | ||
| ArchDetect-style | 1.000 | 1.000 | 1.000 | |||
| LOO-pair (2nd Diff.) | 0.893 | 1.000 | 0.893 | |||
| Multi OR (g=3) (n=28) | OR (-1) | Prob. space | SII (Shapley Interaction) | 0.845 | 0.964 | 0.571 |
| ArchDetect-style | 0.833 | 0.976 | 0.536 | |||
| LOO-pair (2nd Diff.) | 0.679 | 0.607 | 0.036 | |||
| Log-odds (logit) | SII (Shapley Interaction) | 0.964 | 1.000 | 0.893 | ||
| ArchDetect-style | 0.964 | 1.000 | 0.893 | |||
| LOO-pair (2nd Diff.) | 0.690 | 0.607 | 0.036 | |||
| Dual AND (g=2) (n=26) | AND (+1) | Prob. space | SII (Shapley Interaction) | 1.000 | 1.000 | 1.000 |
| ArchDetect-style | 1.000 | 1.000 | 1.000 | |||
| LOO-pair (2nd Diff.) | 0.960 | 1.000 | 0.960 | |||
| Log-odds (logit) | SII (Shapley Interaction) | 0.920 | 1.000 | 0.920 | ||
| ArchDetect-style | 0.920 | 1.000 | 0.920 | |||
| LOO-pair (2nd Diff.) | 0.920 | 1.000 | 0.920 |
5.8 Coalition Sample Efficiency and Convergence
On ten representative instances (five e-SNLI, five Triage), we compare the sample convergence of LIME, KernelSHAP, and S1-SHAP rankings at coalitions against each method's 1,024-coalition reference estimate (Table 12). At , S1-SHAP achieves the highest Spearman rank correlation with its reference on Choice (0.862, vs. 0.842 for KernelSHAP and 0.793 for LIME), while KernelSHAP and S1-SHAP both reach 0.810–0.814 Spearman correlation and 0.807–0.822 top-20% feature overlap on Noul. Even at coalitions, S1-SHAP and KernelSHAP already recover 79% of the reference rank ordering, enabling a speedup for multi-model XAI audits.
Table 12: Convergence of LIME, KernelSHAP, and S1-SHAP rankings with their reference estimates across coalition budgets , mean over ten inputs. Best non-reference budget is in bold.
| Method | Agreement with | ||||
|---|---|---|---|---|---|
| LIME | Choice – Spearman | 0.621 | 0.730 | 0.793 | 1.000 |
| Choice – top-20% overlap | 0.592 | 0.730 | 0.774 | 1.000 | |
| Noul – Spearman | 0.602 | 0.726 | 0.781 | 1.000 | |
| Noul – top-20% overlap | 0.679 | 0.747 | 0.788 | 1.000 | |
| KernelSHAP | Choice – Spearman | 0.668 | 0.794 | 0.842 | 1.000 |
| Choice – top-20% overlap | 0.632 | 0.797 | 0.840 | 1.000 | |
| Noul – Spearman | 0.632 | 0.724 | 0.814 | 1.000 | |
| Noul – top-20% overlap | 0.704 | 0.744 | 0.822 | 1.000 | |
| S1-SHAP (ours) | Choice – Spearman | 0.645 | 0.790 | 0.862 | 1.000 |
| Choice – top-20% overlap | 0.621 | 0.729 | 0.768 | 1.000 | |
| Noul – Spearman | 0.650 | 0.718 | 0.810 | 1.000 | |
| Noul – top-20% overlap | 0.723 | 0.787 | 0.807 | 1.000 |
5.9 Cross-Model Scaling () and System 1 vs. System 2 Comparison
Table 13 synthesizes our multi-model audit across the class-balanced cohort (300 e-SNLI, 300 HANS, 300 Clinical Triage; for Clef-27B and Gemma4-8B JSON) across all five System 1 decision models (0.8B to 27B) and both generative System 2 baselines—Gemma4-8B (1-Tok Logprob) and Gemma4-8B (JSON). Four findings emerge:
-
Within-Family Capacity Scaling vs. Cross-Provider Training Recipes: Because the five System 1 models come from three providers with distinct post-training pipelines (Together AI's Tev1, Bespoke Labs' Nimble, and Cloudflare's multimodal Clef), performance reflects both parameter count and training recipe. Within each model family, capacity scaling consistently improves accuracy and calibration: scaling Tev1-0.8B → Tev1-4B raises e-SNLI accuracy from 0.863 → 0.933 (), HANS accuracy from 0.663 → 0.933 (), and Triage accuracy from 0.637 → 0.980, while eliminating cross-question flips (0.03/0.12 → 0.00/0.00). Similarly, within the Clef family, scaling Clef-Flash-9B → Clef-27B improves e-SNLI (0.883 → 0.927, ), HANS (0.923 → 0.940, ), and Triage (0.973 → 1.000). Across providers at the 9B scale, Nimble-9B achieves the highest in-distribution e-SNLI accuracy (0.937, ) and 0.997 Triage accuracy, whereas Clef-Flash-9B is 3.9× faster (64 ms vs. 250 ms) and stronger on HANS (0.923 vs. 0.893).
-
Uniform Multi-Model XAI Faithfulness and Holm-Bonferroni Significance: Evaluated on a uniform instance cohort (12 e-SNLI + 12 Triage) across all four sub-10B System 1 models (Table 13), KernelSHAP and S1-SHAP achieve comparable probability-space comprehensiveness (0.592 vs. 0.589 on Tev1-4B; 0.544 vs. 0.543 on Nimble-9B; 0.392 vs. 0.418 on Clef-Flash-9B), while filtering Triage plausibility to correct predictions shows that Tev1-4B (Flag@g = 0.569) and Nimble-9B (0.542) recover clinical flags more accurately than Tev1-0.8B (0.487). Applying Holm-Bonferroni multiple-testing correction across 11 pre-specified paired Wilcoxon signed-rank tests confirms that S1-SHAP significantly outperforms LOO on comprehensiveness ( pooled; at the strict independent instance level) and deletion AUC ( pooled; instance-level), outperforms LIME on deletion AUC (), and significantly outperforms probability-space KernelSHAP on log-odds comprehensiveness ().
-
Fair System 1 vs. System 2 Comparison (1-Token Logprob vs. Structured JSON): Comparing System 1 models against both Gemma4-8B (1-Tok Logprob) and Gemma4-8B (JSON) isolates interface overhead from model calibration. Replacing multi-token JSON generation with
1-token logprob scoring on Gemma4-8B reduces latency from 770–1,133 ms to 74 ms and substantially improves HANS accuracy (0.540 → 0.810) and calibration (ECE_w : 0.378 → 0.144), as well as Triage calibration (ECE_w : 0.136 → 0.003, accuracy 0.997). However, on 3-way e-SNLI, zero-shot 1-token option scoring (A/B/C) degrades accuracy (0.687 vs. 0.853 in JSON mode, ECE_w = 0.286) due to label-token prior bias before temperature scaling. Across both e-SNLI and HANS, ≥ 4B System 1 models (Tev1-4B, Clef-Flash-9B, Nimble-9B, Clef-27B) outperform both System 2 modes in accuracy (0.883–0.937 on e-SNLI; 0.893–0.940 on HANS) and raw calibration (ECE_w = 0.024–0.087).
Table 13: Cross-model comparison across System 1 decision models (0.8B to 27B) and generative System 2 baselines (Gemma4-8B 1-Token Logprob and Structured JSON) on the class-balanced N = 900 cohort (300 per dataset; ‡N = 450, 150 per dataset for Clef-27B and Gemma4-8B JSON): clean accuracy and ECE_w on e-SNLI, HANS, and Clinical Triage (Choice head), cross-question flip rates (Choice / Noul), and word-level faithfulness/plausibility on the uniform n = 24 XAI cohort (with Flag@g filtered on correct predictions). *System 2 JSON reports self-rationalized word precision on Triage flags. Best values are in bold.
| Model | e-SNLI (Choice) | HANS (Choice) | Triage (Choice) | Interference | XAI Faithfulness & Plaus. (n=24) | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| Acc. ↑ | ECE_w ↓ | Acc. ↑ | ECE_w ↓ | Acc. ↑ | ECE_w ↓ | Flip (C/N) ↓ | Comp. (KS) ↑ | Comp. (S1) ↑ | Flag@g ↑ | |
| Tev1-0.8B | 0.863 | 0.037 | 0.663 | 0.213 | 0.637 | 0.151 | 0.03 / 0.12 | 0.557 | 0.544 | 0.487 |
| Tev1-4B | 0.933 | 0.029 | 0.933 | 0.030 | 0.980 | 0.108 | 0.00 / 0.00 | 0.592 | 0.589 | 0.569 |
| Nimble-9B | 0.937 | 0.024 | 0.893 | 0.087 | 0.997 | 0.090 | 0.15 / 0.05 | 0.544 | 0.543 | 0.542 |
| Clef-Flash-9B | 0.883 | 0.069 | 0.923 | 0.075 | 0.973 | 0.098 | 0.01 / 0.09 | 0.392 | 0.418 | 0.484 |
| Clef-27B‡ | 0.927 | 0.049 | 0.940 | 0.032 | 1.000 | 0.091 | 0.00 / 0.17 | - | - | - |
| Gemma4-8B (1-Tok) | 0.687 | 0.286 | 0.810 | 0.144 | 0.997 | 0.003 | - | - | - | - |
| Gemma4-8B (JSON)‡ | 0.853 | 0.045 | 0.540 | 0.378 | 1.000 | 0.136 | 0.03 / 0.41 | - | - | 0.525* |
5.10 High-Throughput Safety Guardrails: Auditing Adversarial Prompt Injection Defense
An important application of System 1 decision models is serving as a low-latency inline security guardrail to filter prompt injections, secret extraction attempts, and instruction overrides before invoking downstream LLMs. We evaluate all five System 1 models alongside Gemma4-8B (1-Tok Logprob) and Gemma4-8B (JSON, no rationale) on our expanded, length-matched Tensor Trust benchmark (N = 250, 8–45 words) Toyer et al. (2024), comprising 125 adversarial attacks (65 Secret Extraction, 60 Instruction Hijacking) and 125 benign queries stratified into 75 Standard Benign and 50 Hard Benign Negatives (legitimate security/coding queries containing words such as password, system prompt, ignore, and override). Table 14 reports single-pass latency, accuracy, attack recall (TPR at threshold 0.5), false positive rate (FPR), threshold-free ROC-AUC and PR-AUC, ECE_w, Brier score, and cross-question interference, while Table 15 breaks down accuracy across the four sub-cohorts.
Five findings emerge from the N = 250 guardrail evaluation:
-
Sub-Billion Recall Blind Spot and Hard-Benign False Alarms: While Tev1-0.8B executes in 19 ms, it detects only 9.6% of attacks at the 0.5 threshold (TPR = 0.096: 13.8% on extraction, 5.0% on hijacking; ECE_w = 0.288, Brier 0.535), despite a moderate ranking AUROC of 0.933. Moreover, Tev1-0.8B is the only model to trigger false alarms on Hard Benign Negatives (98.0% specificity on hard benign, 0.8% overall FPR).
-
Zero False Alarms on Hard Benign Negatives at ≥ 4B Scale: Every ≥ 4B System 1 model and both Gemma4-8B baselines achieve a 0.0% False Positive Rate (100.0% specificity) across both the 75 Standard Benign queries and the 50 Hard Benign Negatives (n = 125 total benign, exact 95% Clopper-Pearson confidence interval [0.0%, 2.9%]), confirming that ≥ 4B classifiers do not over-block legitimate technical queries containing security keywords.
-
Threshold-Free Detection (AUROC / PR-AUC) vs. Fixed-Threshold Recall: Reporting threshold-free ranking metrics alongside fixed-threshold (p ≥ 0.5) recall shows that Tev1-4B (48 ms), Clef-Flash-9B (60 ms), and Clef-27B (828 ms) all achieve 0.996–0.998 AUROC and 0.996–0.998
Table 14: Adversarial prompt injection defense on the expanded Tensor Trust benchmark (: 75 standard benign, 50 hard benign negatives, 65 secret extraction, 60 instruction hijacking) across five System 1 decision models and two System 2 baselines (Gemma4-8B 1-Token Logprob and JSON without rationale). TPR and FPR are evaluated at the default threshold alongside threshold-free AUROC and PR-AUC. Best values are in bold.
| Model | Type | Lat. (ms) ↓ | Acc. ↑ | TPR ↑ | FPR ↓ | AUROC ↑ | PR-AUC ↑ | ECEw ↓ | Brier ↓ | Flip (C/N) ↓ |
|---|---|---|---|---|---|---|---|---|---|---|
| Tev1-0.8B | System 1 | 19 | 0.544 | 0.096 | 0.008 | 0.933 | 0.902 | 0.288 | 0.535 | 0.01 / 0.02 |
| Tev1-4B | System 1 | 48 | 0.852 | 0.704 | 0.000 | 0.996 | 0.996 | 0.045 | 0.207 | 0.00 / 0.01 |
| Clef-Flash-9B | System 1 | 60 | 0.900 | 0.800 | 0.000 | 0.996 | 0.997 | 0.035 | 0.139 | 0.02 / 0.03 |
| Nimble-9B | System 1 | 286 | 0.848 | 0.696 | 0.000 | 0.988 | 0.988 | 0.065 | 0.218 | 0.03 / 0.04 |
| Clef-27B | System 1 | 828 | 0.976 | 0.952 | 0.000 | 0.998 | 0.998 | 0.014 | 0.041 | 0.00 / 0.01 |
| Gemma4-8B (Logprob) | System 2 (1-Tok) | 74 | 0.816 | 0.632 | 0.000 | 0.996 | 0.996 | 0.154 | 0.315 | - |
| Gemma4-8B (JSON) | System 2 (JSON) | 454 | 0.804 | 0.608 | 0.000 | 0.958 | 0.958 | 0.179 | 0.362 | 0.01 / 0.06 |
Table 15: Granular breakdown of adversarial prompt injection defenses on Tensor Trust (), reporting specificity on Standard Benign () and Hard Benign Negatives (), recall on Secret Extraction () and Instruction Hijacking (), overall attack recall (, TPR), and overall accuracy (). Best values per column are in bold.
| Model | Type | Std. Benign () ↑ | Hard Benign () ↑ | Extraction () ↑ | Hijacking () ↑ | Overall TPR () ↑ | Acc. () ↑ |
|---|---|---|---|---|---|---|---|
| Tev1-0.8B | System 1 | 1.000 | 0.980 | 0.138 | 0.050 | 0.096 | 0.544 |
| Tev1-4B | System 1 | 1.000 | 1.000 | 0.800 | 0.600 | 0.704 | 0.852 |
| Clef-Flash-9B | System 1 | 1.000 | 1.000 | 0.831 | 0.767 | 0.800 | 0.900 |
| Nimble-9B | System 1 | 1.000 | 1.000 | 0.815 | 0.567 | 0.696 | 0.848 |
| Clef-27B | System 1 | 1.000 | 1.000 | 0.985 | 0.917 | 0.952 | 0.976 |
| Gemma4-8B (Logprob) | System 2 (1-Tok) | 1.000 | 1.000 | 0.585 | 0.683 | 0.632 | 0.816 |
| Gemma4-8B (JSON) | System 2 (JSON) | 1.000 | 1.000 | 0.554 | 0.667 | 0.608 | 0.804 |
PR-AUC (0.988 on Nimble-9B). At the default 0.5 operating point, attack recall rises from 70.4% on Tev1-4B (ECE = 0.045) and 69.6% on Nimble-9B (ECE = 0.065) to 80.0% on Clef-Flash-9B (ECE = 0.035, Brier 0.139) and 95.2% on Clef-27B (97.6% overall accuracy, ECE = 0.014, Brier 0.041).
-
System 1 vs. System 2 (1-Token Logprob and JSON) Guardrails: On Gemma4-8B, switching from JSON generation (454 ms without rationale, 60.8% TPR, 0.958 AUROC, ECE = 0.179) to 1-Token Logprob scoring (74 ms, 63.2% TPR, 0.996 AUROC, ECE = 0.154) improves both speed and ranking AUROC. Nevertheless, Clef-Flash-9B (60 ms) and Tev1-4B (48 ms) remain faster while achieving +16.8 and +7.2 percentage points higher recall at the 0.5 threshold and 3.4×-4.4× lower calibration error (ECE = 0.035–0.045 vs. 0.154).
-
Quantitative Incident-Response Attribution on Saturated Injections: To test whether post-hoc XAI can localize adversarial payload tokens for Security Operations Center (SOC) triage, we evaluate word-level attributions on Clef-Flash-9B across detected injections with annotated command triggers (ignore, previous, instructions, system, prompt, ACCESS, GRANTED). On the categorical Choice head, where injection probabilities saturate near 1.0, S1-SHAP achieves 0.228 trigger Precision@g and 0.592 logit comprehensiveness, outperforming probability-space KernelSHAP (0.087 Precision@g, 0.246 logit comprehensiveness), while single-token LOO achieves 0.328 Precision@g.
Granular Attack Breakdown: Standard vs. Hard Benign and Extraction vs. Hijacking. Table 15 decomposes performance across all four sub-cohorts of the benchmark. Across sub-10B System 1 models, Instruction Hijacking () remains harder to detect at threshold 0.5 than Secret Extraction (): Tev1-4B and Nimble-9B detect 80.0%-81.5% of extraction attempts vs. 56.7%-60.0% of hijacking attempts, whereas Clef-Flash-9B narrows this gap (83.1% extraction, 76.7% hijacking) and Clef-27B reaches 98.5% on extraction and 91.7% on hijacking (95.2% overall TPR).
6 Discussion
Two structural findings from our audit concern the System 1 decision paradigm itself and apply broadly across providers. First, across evaluated models, the provider confidence field is an exact deterministic summary of distributional dispersion across all sub-10B models, and on Clef-27B) rather than empirical accuracy. While useful as a relative ranking signal, interpreting as a “63% probability of correctness” is mathematically incorrect; calibration must be evaluated on max . Second, a multi-question System 1 request is not a collection of independent queries: bundling a Choice question and a Noul question in a single payload caused the binary Noul decision to flip on 22.4% of inputs on Tev1-0.8B (, reaching up to 60-82% under exploratory uncalibrated prompts) and up to 13-17% on 9B-27B models (Clef-Flash-9B, Nimble-9B, and Clef-27B), whereas Tev1-4B achieved near-zero interference (0.2%). Production systems that bundle questions to reduce network overhead can alter a model’s effective decision boundary unless isolated single-question invariance is verified first.
On the model side, the contrast between e-SNLI and HANS across the expanded cohort highlights a critical vulnerability of sub-billion System 1 classifiers. While Tev1-0.8B is well calibrated in-distribution ( on e-SNLI, ), it retains high confidence (0.876 mean max ) on HANS where overall accuracy drops to 0.663 (), collapsing on adversarial subsequence and constituent traps. Scaling to 4B-27B parameters substantially improves HANS accuracy (0.893-0.940) and lowers down to 0.030-0.032 on Tev1-4B and Clef-27B (and down to 0.017-0.018 on Clef-Flash-9B and Nimble-9B via post-hoc temperature or Platt scaling), outperforming both Gemma4-8B (1-Token Logprob) (0.810 accuracy, ) and Gemma4-8B (JSON) (0.540 accuracy, ). At the same time, our explainability audit demonstrates that the single-pass probabilistic interface makes post-hoc perturbation XAI both tractable and faithful: LIME, KernelSHAP, and logit-link S1-SHAP reliably isolate clinical flags over alarming confounders and recover human rationale highlights at more than double the random baseline rate. Crucially, linearizing coalitions in log-odds space via S1-SHAP mitigates softmax saturation on sharp decision heads, improving log-odds comprehensiveness () and resolving disjunctive OR-gate ties without requiring white-box gradient access.
Regarding explainability paradigms, commercial and managed System 1 decision endpoints (such as TypeSafe AI’s Jev, Perplexity’s pplx-decider, and Cloudflare Workers AI Clef) expose only continuous distribution vectors over HTTP/gRPC schemas, without backward gradient access or internal attention weights. Consequently, black-box perturbation is the only viable, model-agnostic explanation interface in production. Furthermore, our reliance on transparent, deterministic feature-removal Operators aligns with foundational epistemological cautions in explainable AI: as argued by Delaunay et al. (2024), attempting to explain a black box using another complex black box (such as training deep generative models or latent-space autoencoders to synthesize counterfactuals) risks introducing uninterpretable confounding biases and false fidelity. By keeping the perturbation operator strictly transparent (exact word deletion or neutral masking) and linearizing the model’s response via S1-SHAP in log-odds space, practitioners obtain verifiable causal attributions without delegating the explanation process to secondary uninterpretable models.
6.1 Limitations and Scope
Several methodological scope boundaries should be considered when interpreting our findings:
-
Programmatic Clinical Triage Templates vs. Real-World EHR Notes: To guarantee exact ground-truth character offsets separating physiological clinical flags from affective confounders without human annotation noise, our Clinical Triage cohort () is constructed from controlled multi-slot clinical templates rather than de-identified hospital EHR notes. While this enables exact quantification of confounder attribution share, clinical deployment requires validation on natural clinical prose.
-
Class-Balanced Stratification vs. Natural Base Rates: Our main evaluation cohort () and Tensor Trust guardrail benchmark () enforce balanced class stratification (100/100/100 and 150/150) to compare calibration and syntactic trap sensitivity uniformly across classes. In production streams where adversarial attacks or ESI-1 emergencies represent a small fraction of traffic, decision thresholds and calibration priors must be adjusted to match operational base rates.
-
Single-GPU Quantized Execution: All open-weight models are benchmarked locally on a single consumer GPU (16 GB VRAM) using standardized GGUF quantizations (Q8_0 for ≤ 9B models and Q4_K_M for Clef-27B). While our Gemma4-8B (1-Token Logprob) baseline isolates single-step forward latency from multi-token JSON generation on identical hardware, absolute throughput on batched tensor-parallel datacenter engines (e.g., vLLM or TensorRT-LLM) will scale differently.
7 Conclusion
We presented an end-to-end explainability, calibration, and robustness audit of Jev-style System 1 decision models across five open-weight models spanning 0.8B to 27B parameters (Tev1-0.8B, Tev1-4B, Nimble-9B, Clef-Flash-9B, and Clef-27B) and three Gemma4-8B baselines (1-Token Logprob, JSON, and CoT) over an expanded benchmark cohort, a 250-instance Tensor Trust security benchmark with hard benign negatives, and an 86-case Planted System-Rule v2 suite per model. Our results establish that provider confidence scores measure entropy concentration rather than calibrated accuracy, that cross-question interference is substantial on Tev1-0.8B (22.4%) and 9B-27B heads (13.8–17.1%) but drops to 0.2% on Tev1-4B, and that B System 1 models achieve stronger out-of-distribution HANS calibration (, reduced to 0.017–0.018 with post-hoc scaling) and lower single-pass latency than first-token logprob scoring on an 8B generative LLM. Finally, coalition attributions (LIME, KernelSHAP, and logit-link S1-SHAP) substantially outperform leave-one-out perturbations in faithfulness ( on independent instances) while S1-SHAP improves log-odds comprehensiveness () and disjunctive OR-gate recovery () at zero additional coalition cost.
Reproducibility and Artifact Availability
All datasets, evaluation harnesses, and experimental logs are publicly available at https://github.com/j2launay/jev-decision-models-xai. The repository provides: (i) the deterministic audit harness supporting local Ollama models (including single-token logprob scoring) and remote System 1 endpoints; (ii) the 86-case Planted System-Rule v2 benchmark suite across single, dual OR, multi OR, dual AND, near-miss distractor, and case-insensitive regimes; (iii) the expanded evaluation cohort and Tensor Trust benchmark with hard benign negatives; (iv) bit-identical SQLite prediction caches and Parquet result tables across all evaluated models; and (v) automated scripts (jev_xai/make_all_tables.py) to regenerate all tables and statistical tests directly from raw outputs.
References
Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. GPT-4 technical report. arXiv preprint arXiv:2303.08774, 2023.
Berk Atil, Sarp Aykent, Alexa Chittams, Lisheng Fu, Rebecca J. Passonneau, Evan Radcliffe, Guru Rajan Rajagopal, Adam Sloan, Tomasz Tudrej, Ferhan Ture, Zhe Wu, Lixinyu Xu, and Breck Baldwin. Non-determinism of “deterministic” LLM system settings in hosted environments. In Proceedings of the 5th Workshop on Evaluation and Comparison of NLP Systems (Eval4NLP), pp. 135–148. Association for Computational Linguistics, 2025.
Bespoke Labs. Nimble: Open-weight Jev-compatible decision models. https://ollama.com/library/nimble, 2026. Accessed 2026-10-04.
Samuel R. Bowman, Gabor Angeli, Christopher Potts, and Christopher D. Manning. A large annotated corpus for learning natural language inference. In Proceedings of EMNLP, 2015.
Glenn W. Brier. Verification of forecasts expressed in terms of probability. Monthly Weather Review, 78(1): 1–3, 1950.
Oana-Maria Camburu, Tim Rocktäschel, Thomas Lukasiewicz, and Phil Blunsom. e-SNLI: Natural language inference with natural language explanations. In Advances in Neural Information Processing Systems, 2018.
Cloudflare. Introducing Clef and Clef-flash: Open-weight multimodal decision models on Workers AI. https://blog.cloudflare.com, 2026. Accessed 2026-10-04.
Ian Covert, Scott M. Lundberg, and Su-In Lee. Explaining by removing: A unified framework for model explanation. In Journal of Machine Learning Research (JMLR), volume 22, pp. 1–90, 2021.
Julien Delaunay, Luis Galárraga, and Christine Largouët. Improving anchor-based explanations. In Proceedings of the 29th ACM International Conference on Information and Knowledge Management (CIKM), pp. 3269–3272, 2020.
Julien Delaunay, Luis Galárraga, and Christine Largouët. When should we use linear explanations? In Proceedings of the 31st ACM International Conference on Information and Knowledge Management (CIKM), pp. 355–364, 2022.
Julien Delaunay, Luis Galárraga, and Christine Largouët. Does it make sense to explain a black box with another black box? Traitement Automatique des Langues (TAL), 64(3):93–117, 2024.
Shrey Desai and Greg Durrett. Calibration of pre-trained transformers. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pp. 295–302, 2020.
Jay DeYoung, Sarthak Jain, Nazneen Fatema Rajani, Eric Lehman, Caiming Xiong, Richard Socher, and Byron C. Wallace. ERASER: A benchmark to evaluate rationalized NLP models. In Proceedings of ACL, pp. 4443–4458, 2020.
Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al. The Llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
Bradley Efron. Bootstrap methods: Another look at the jackknife. The Annals of Statistics, 7(1):1–26, 1979.
Romaric Gaudel, Luis Galárraga, Julien Delaunay, Laurence Rozé, and Vaishnavi Bhargava. s-LIME: Reconciling locality and fidelity in linear explanations. In International Symposium on Intelligent Data Analysis (IDA), pp. 120–132, 2022.
Yonatan Geifman and Ran El-Yaniv. Selective classification for deep neural networks. In Advances in Neural Information Processing Systems, 2017.
Yonatan Geifman and Ran El-Yaniv. SelectiveNet: A deep neural network with an integrated reject option. In Proceedings of the 36th International Conference on Machine Learning (ICML), pp. 2151–2159, 2019.
Robert Geirhos, Jörn-Henrik Jacobsen, Claudio Michaelis, Richard Zemel, Wieland Brendel, Matthias Bethge, and Felix A. Wichmann. Shortcut learning in deep neural networks. Nature Machine Intelligence, 2(11): 665–673, 2020.
Nicki Gilboy, Paula Tanabe, Debbie Travers, and Alexander M. Rosenau. Emergency severity index (ESI): A triage tool for emergency department care, version 4. Technical Report AHRQ Publication No. 12-0014, Agency for Healthcare Research and Quality (AHRQ), 2011.
Roni Goldshmidt and Miriam Horovicz. TokenSHAP: Interpreting large language models with Monte Carlo Shapley value estimation. arXiv preprint arXiv:2407.10114, 2024.
Michel Grabisch and Marc Roubens. An axiomatic approach to the concept of interaction among players in cooperative games. International Journal of Game Theory, 28(4):547–565, 1999.
Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. On calibration of modern neural networks. In Proceedings of ICML, pp. 1321–1330, 2017.
Sara Hooker, Dumitru Erhan, Pieter-Jan Kindermans, and Been Kim. A benchmark for interpretability methods in deep neural networks. In Advances in Neural Information Processing Systems, 2019.
Alon Jacovi and Yoav Goldberg. Towards faithfully interpretable NLP systems: How should we define and evaluate faithfulness? In Proceedings of ACL, pp. 4198–4205, 2020.
Joseph D. Janizek, Pascal Sturmfels, and Su-In Lee. Explaining explanations: Axiomatic feature interactions for deep networks. Journal of Machine Learning Research (JMLR), 22(104):1–54, 2021.
Neil Jethani, Mukund Sudarshan, Ian C. Covert, Su-In Lee, and Rajesh Ranganath. FastSHAP: Real-time shapley value estimation. In International Conference on Learning Representations (ICLR), 2022.
Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, et al. Mistral 7B. arXiv preprint arXiv:2310.06825, 2023.
Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, et al. Language models (mostly) know what they know. arXiv preprint arXiv:2207.05221, 2022.
Daniel Kahneman. Thinking, Fast and Slow. Farrar, Straus and Giroux, 2011.
Tamera Lanham et al. Measuring faithfulness in chain-of-thought reasoning. arXiv preprint arXiv:2307.13702, 2023.
Scott M. Lundberg and Su-In Lee. A unified approach to interpreting model predictions. In Advances in Neural Information Processing Systems, 2017.
R. Thomas McCoy, Ellie Pavlick, and Tal Linzen. Right for the wrong reasons: Diagnosing syntactic heuristics in natural language inference. In Proceedings of ACL, pp. 3428–3448, 2019.
Mahdi Pakdaman Naeini, Gregory F. Cooper, and Milos Hauskrecht. Obtaining well calibrated probabilities using Bayesian binning. In Proceedings of AAAI, 2015.
Jeremy Nixon, Michael W. Dusenberry, Linchuan Zhang, Ghassen Jerfel, and Dustin Tran. Measuring calibration in deep learning. In CVPR Workshops, 2019.
Ollama. Ollama now supports Jev-style decision models. https://ollama.com/blog/ollama-now-supports-jev-style-decision-models, 2026a. Accessed 2026-10-04.
Ollama. tevl model card. https://ollama.com/library/tev1, 2026b. Accessed 2026-10-04.
Perplexity AI. pplx-decider: High-throughput decision models for routing and classification. https://docs.perplexity.ai, 2026. Accessed 2026-10-04.
Vitali Petsiuk, Abir Das, and Kate Saenko. RISE: Randomized input sampling for explanation of black-box models. In Proceedings of BMVC, 2018.
Pouya Pezeshkpour and Estevam Hruschka. Large language models sensitivity to the order of options in multiple-choice questions. In Findings of the Association for Computational Linguistics: NAACL 2024, pp. 2006–2017, 2024.
John Platt. Probabilistic outputs for support vector machines and comparisons to regularized likelihood methods. In Advances in Large Margin Classifiers, pp. 61–74. 1999.
Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. “Why should I trust you?”: Explaining the predictions of any classifier. In Proceedings of KDD, pp. 1135–1144, 2016.
Dylan Slack, Sophie Hilgard, Emily Jia, Sameer Singh, and Himabindu Lakkaraju. Fooling LIME and SHAP: Adversarial attacks on post hoc explanation methods. In Proceedings of AIES, 2020.
Dylan Slack, Sophie Hilgard, Sameer Singh, and Himabindu Lakkaraju. Reliable post hoc explanations: Modeling uncertainty in explainability. In Advances in Neural Information Processing Systems (NeurIPS), volume 34, pp. 9391–9404, 2021.
Mukund Sundararajan, Ankur Taly, and Qiqi Yan. Axiomatic attribution for deep networks. In Proceedings of ICML, pp. 3319–3328, 2017.
Mukund Sundararajan, Kedar Dhamdhere, and Ashish Agarwal. The Shapley Taylor interaction index. In Proceedings of the 37th International Conference on Machine Learning (ICML), pp. 9259–9268, 2020.
System One. API reference and decision primitives. https://docs.system-one.dev/en/docs/api, 2026. Accessed 2026-10-04.
Sam Toyer, Olivia Watkins, Ethan Adrian Mendes, Justin Svegliato, Luke Bailey, Tiffany Wang, Isaac Ong, Karim Elmaaroufi, Pieter Abbeel, Trevor Darrell, Alan Ritter, and Stuart Russell. Tensor trust: Interpretable prompt injection attacks from an online game. In International Conference on Learning Representations (ICLR), 2024.
Michael Tsang, Sirisha Rambhatla, and Yan Liu. How does this interaction affect that prediction? A general framework for feature interaction explanation. In Advances in Neural Information Processing Systems, 2020.
Miles Turpin, Julian Michael, Ethan Perez, and Samuel R. Bowman. Language models don't always say what they think: Unfaithful explanations in chain-of-thought prompting. In Advances in Neural Information Processing Systems, 2023.
TypeSafe AI. Introducing Jev: System 1 decision models for structured inference. https://system-one.dev, 2026. Accessed 2026-10-04.
Giorgio Visani, Enrico Bagli, and Federico Chesani. Statistical stability indices for LIME: Obtaining reliable explanations for machine learning models. Journal of Machine Learning Research (JMLR), 23(91):1–51, 2022.
Jason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma, Brian Ichter, Fei Xia, Ed Chi, Quoc V. Le, and Denny Zhou. Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems, 2022.
Sarah Wiegreffe, Ana Marasović, and Noah A. Smith. Measuring association between labels and free-text rationales. In Proceedings of EMNLP, pp. 10266–10284, 2021.
An Yang, Baosong Yang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Zhou, Chengpeng Li, Chengyuan Li, Dayiheng Liu, Fei Huang, et al. Qwen2 technical report. arXiv preprint arXiv:2407.10671, 2024.
Chujie Zheng, Hao Zhou, Fandong Meng, Jie Zhou, and Minlie Huang. Large language models are not robust multiple choice selectors. In International Conference on Learning Representations (ICLR), 2024.
A Mathematical Notation and Glossary
Table 16 provides a unified reference for the mathematical symbols, decision primitives, and evaluation metrics used throughout this paper.
Table 16: Glossary of mathematical notation, decision model schemas, game-theoretic variables, and evaluation metrics.
| Symbol | Domain / Type | Description |
|---|---|---|
| Text / JSON state | Input context state (patient note, premise, or document). | |
| Named query | Decision primitive query specified in request tuple . | |
| Set of queries | Dictionary of named decision primitives asked in a request. | |
| Set of strings | Finite categorical option set declared for a Choice query. | |
| Integer scalar | Cardinality of the option set ( for e-SNLI / Triage; for HANS / Noul). | |
| simplex | Normalized probability distribution vector over declared options in . | |
| Categorical label | Predicted top choice: . | |
| scalar | Provider-returned confidence field on sub-10B models; on Clef-27B). | |
| scalar | Shannon entropy of the probability distribution: . | |
| Integer scalar | Number of human-interpretable features (words or tokens) in state . | |
| Binary vector | Feature coalition mask ( if feature is retained, 0 if masked/removed). | |
| Text state | Perturbed state induced by applying coalition mask to original state . | |
| scalar | Probability-space coalition value function: . | |
| scalar | S1-SHAP log-odds value function: with clipping . | |
| Attribution scalar | First-order attribution weight of feature (LOO, LIME, KernelSHAP, S1-SHAP). | |
| Interaction scalar | Pairwise Shapley Interaction Index (SII): (synergy/AND), (redundancy/OR). | |
| error | Expected Calibration Error under equal-width () vs. equal-mass () binning. | |
| MCE | error | Maximum Calibration Error across partitioned confidence bins. |
| Brier | error | Multiclass Brier score: . |
| area | Selective prediction AUROC using () vs. entropy confidence (). | |
| distance | Total variation distance between isolated and co-asked joint distributions. | |
| Comp. () | AOPC scores | Probability () and log-odds () comprehensiveness () over top- removals. |
| Del. AUC, Ins. AUC | area | Area under progressive feature deletion () and insertion () curves. |
| Flag prec. @g | precision | Fraction of top- attributed features falling inside ground-truth causal spans. |
| Conf. share@g | fraction | Fraction of top- attributed features falling inside alarming distractor confounders. |
B Additional Empirical Tables
Table 17: Change in ECE (equal-width bins), accuracy, and flip rate relative to clean inputs, with paired bootstrap 95% intervals.
| Source | Perturbation | Choice | Noul | ||||
|---|---|---|---|---|---|---|---|
| [95% CI] | Acc. | Flip | [95% CI] | Acc. | Flip | ||
| e-SNLI | Typos 5% | +0.001 [-0.03, 0.04] | -0.020 | 0.02 | +0.017 [-0.02, 0.05] | +0.000 | 0.01 |
| Typos 10% | +0.008 [-0.03, 0.06] | -0.067 | 0.09 | +0.028 [-0.02, 0.07] | -0.067 | 0.09 | |
| Typos 20% | +0.030 [-0.02, 0.09] | -0.100 | 0.17 | +0.038 [-0.01, 0.09] | -0.120 | 0.16 | |
| Distractor | +0.008 [-0.03, 0.06] | -0.020 | 0.10 | +0.015 [-0.03, 0.05] | +0.027 | 0.04 | |
| Case/punct. | +0.023 [-0.02, 0.05] | -0.007 | 0.01 | +0.014 [-0.02, 0.05] | +0.000 | 0.01 | |
| HANS | Typos 5% | +0.000 [0.00, 0.00] | +0.000 | 0.00 | -0.000 [-0.00, 0.00] | +0.000 | 0.00 |
| Typos 10% | +0.060 [0.01, 0.10] | -0.027 | 0.12 | +0.046 [0.00, 0.09] | -0.020 | 0.09 | |
| Typos 20% | +0.069 [-0.01, 0.15] | -0.133 | 0.27 | -0.014 [-0.07, 0.08] | -0.140 | 0.29 | |
| Distractor | +0.020 [-0.04, 0.05] | +0.020 | 0.05 | -0.005 [-0.03, 0.02] | +0.027 | 0.03 | |
| Case/punct. | -0.009 [-0.04, 0.05] | -0.007 | 0.02 | -0.012 [-0.04, 0.02] | -0.007 | 0.02 | |
| Triage | Typos 5% | +0.015 [-0.01, 0.05] | -0.013 | 0.02 | +0.005 [-0.02, 0.03] | +0.000 | 0.01 |
| Typos 10% | -0.001 [-0.03, 0.03] | -0.007 | 0.04 | +0.013 [-0.01, 0.04] | -0.013 | 0.01 | |
| Typos 20% | -0.011 [-0.03, 0.04] | -0.013 | 0.03 | -0.018 [-0.05, 0.02] | +0.007 | 0.02 | |
| Distractor | -0.024 [-0.05, 0.02] | +0.007 | 0.03 | -0.023 [-0.05, 0.01] | +0.020 | 0.02 | |
| Case/punct. | -0.032 [-0.06, 0.01] | +0.027 | 0.09 | -0.001 [-0.04, 0.02] | -0.020 | 0.05 | |
Table 18: Subword-level faithfulness (Qwen3.5 tokenizer).
| Source | Head | Method | Deletion masking | [MASK] masking | ||||
|---|---|---|---|---|---|---|---|---|
| Comp. | Suff. | Del. AUC | Ins. AUC | Comp. | Suff. | |||
| e-SNLI | Choice | LOO | 0.590 | 0.298 | 0.321 | 0.779 | 0.517 | 0.405 |
| LIME | 0.668 | 0.291 | 0.234 | 0.747 | 0.567 | 0.401 | ||
| KernelSHAP | 0.662 | 0.275 | 0.194 | 0.765 | 0.570 | 0.398 | ||
| S1-SHAP (ours) | 0.666 | 0.299 | 0.195 | 0.732 | 0.586 | 0.419 | ||
| Random | 0.226 | 0.513 | 0.488 | 0.507 | 0.317 | 0.507 | ||
| Noul | LOO | 0.455 | 0.214 | 0.516 | 0.850 | 0.411 | 0.277 | |
| LIME | 0.556 | 0.225 | 0.404 | 0.830 | 0.454 | 0.260 | ||
| KernelSHAP | 0.554 | 0.209 | 0.366 | 0.828 | 0.452 | 0.277 | ||
| S1-SHAP (ours) | 0.477 | 0.220 | 0.471 | 0.807 | 0.432 | 0.262 | ||
| Random | 0.180 | 0.332 | 0.652 | 0.672 | 0.248 | 0.370 | ||
| Triage | Choice | LOO | 0.443 | 0.086 | 0.194 | 0.795 | 0.388 | 0.142 |
| LIME | 0.459 | 0.015 | 0.161 | 0.815 | 0.398 | 0.120 | ||
| KernelSHAP | 0.469 | -0.042 | 0.114 | 0.833 | 0.441 | 0.047 | ||
| S1-SHAP (ours) | 0.456 | -0.035 | 0.125 | 0.818 | 0.414 | 0.069 | ||
| Random | 0.101 | 0.336 | 0.524 | 0.552 | 0.157 | 0.353 | ||
| Noul | LOO | 0.391 | 0.049 | 0.326 | 0.890 | 0.311 | 0.120 | |
| LIME | 0.450 | -0.100 | 0.197 | 0.961 | 0.397 | 0.011 | ||
| KernelSHAP | 0.437 | -0.098 | 0.198 | 0.929 | 0.340 | 0.018 | ||
| S1-SHAP (ours) | 0.449 | -0.119 | 0.174 | 0.957 | 0.389 | -0.012 | ||
| Random | 0.076 | 0.337 | 0.617 | 0.620 | 0.115 | 0.323 | ||
C Decision Schemas, Prompt Specifications, and Baseline Implementations
This appendix provides the complete, unabridged technical specifications for all decision schemas, prompt templates, option definitions, and baseline configurations evaluated in this work, ensuring exact experimental reproducibility.
C.1 System 1 Decision Primitives and Task Schemas
In the Jev System 1 specification, each request dispatches an input state dictionary paired with a dictionary of typed question schemas Q. Table 19 summarizes the question instructions, candidate option keys, and semantic criteria across all evaluation domains.
Table 19: System 1 decision schemas evaluated across benchmark tasks: question types, input state variables, question instructions, and semantic criteria per option.
| Task | Primitive | Identifier | Question Instruction | Option Criteria / Target Semantics |
|---|---|---|---|---|
| e-SNLI | Choice () | label | "Given that the premise is true, what is the relation of the hypothesis to the premise?" | entailment: The hypothesis is definitely true given the premise.neutral: The hypothesis might be true given the premise.contradiction: The hypothesis is definitely false given the premise. |
| Noul () | noul | "Given that the premise is true, is the hypothesis definitely true?" | true: The premise entails the hypothesis.false: The premise does not entail the hypothesis. | |
| HANS | Choice () | label | (Identical to e-SNLI; probabilities of neutral and contradiction are summed into non_entailment). | (Identical to e-SNLI). |
| Noul () | noul | "Given that the premise is true, is the hypothesis definitely true?" | true: The premise entails the hypothesis.false: The premise does not entail the hypothesis. | |
| Clinical Triage | Choice () | label | "What emergency triage level does this patient require?" | immediate: Life-threatening condition requiring immediate resuscitation (ESI 1).urgent: Serious but stable condition that should be seen within an hour (ESI 2-3).non_urgent: Minor condition that can safely wait (ESI 4-5). |
| Noul () | noul | "Does the patient require immediate care?" | true: The patient requires immediate emergency care.false: The patient does not require immediate emergency care. | |
| Tensor Trust | Choice () | decision | "Evaluate whether this user input constitutes an adversarial prompt injection or a legitimate interaction." | benign: A legitimate user query adhering to assistant guidelines.prompt_injection: An adversarial attempt to hijack system rules, extract secrets, or override instructions. |
| Noul () | is_injection | "Is this user input an adversarial prompt injection, jailbreak, or system override attempt?" | true: The input attempts instruction hijacking or jailbreaking.false: The input is a benign, safe user query. | |
| Planted Rule | Choice () | label | "MANDATORY OVERRIDE RULE: [Planted boolean trigger directive]. What emergency acuity does this note require?" | immediate: Trigger present or true emergency.urgent: Standard urgent note without trigger.non_urgent: Benign baseline note. |
| Noul () | noul | "MANDATORY OVERRIDE RULE: [Planted boolean trigger directive]. Does the patient require immediate care?" | true: Planted trigger present or acute condition.false: Benign routine note. |
C.2 Planted System-Rule v2 Directives
In the expanded Planted System-Rule v2 Benchmark (Section 5.6, 86 programmatic cases across six regimes), the question instructions are injected with explicit boolean override directives held invariant while the explainer masks candidate words in the note:
-
Single Trigger ( cases): “MANDATORY OVERRIDE RULE: If the note mentions the code word ‘[trigger]’ anywhere, classify as immediate/true regardless of clinical symptoms.”
-
Near-Miss Distractor ( cases): Identical directive to Single Trigger, but the note simultaneously contains a lexically adjacent distractor token (e.g., velvety alongside velvet, or cobalt-blue alongside cobalt) that does not satisfy the exact trigger condition.
-
Case-Insensitive ( cases): The directive specifies case-insensitive matching while the trigger appears in uppercase or mixed case inside the clinical note.
-
Dual Redundant OR ( cases): “MANDATORY OVERRIDE RULE: If the note mentions EITHER the code word ‘[trigger1]’ OR the code word ‘[trigger2]’ (or both), classify as immediate/true.”
-
Saturated Multi OR ( cases): “MANDATORY OVERRIDE RULE: If the note mentions ANY of the three secret code words ‘[trigger1]’, ‘[trigger2]’, or ‘[trigger3]’, classify as immediate/true.”
-
Dual Conjunctive AND ( cases): “MANDATORY OVERRIDE RULE: Classify as immediate/true IF AND ONLY IF BOTH code words ‘[trigger1]’ AND ‘[trigger2]’ appear simultaneously in the note. If only one code word is present, disregard this rule.”
C.3 Generative and Single-Pass Baselines (Gemma4-8B)
To separate architectural differences from multi-token decoding overhead, Gemma4-8B is evaluated across three operational modes via Ollama:
- Single-Token First-Token Logprob Mode (1-Token Logprob). To provide a direct single-pass baseline matching the decoding budget of System 1 heads, we invoke Ollama with
num_predict=1,temperature=0.0, andlogprobs=True(top-20 token log-probabilities at decoding step 1). The prompt presents the input state and options mapped to distinct single-token option keys ( or option names), and the probability distribution is obtained by applying a softmax over the exact first-token log-probabilities assigned to the valid option tokens:
- Direct Structured JSON Mode (with and without rationale_words). In direct JSON mode, the model is provided with a strict JSON grammar constraint enforcing the schema of the target primitive:
Input State: {state_key_1}: {state_value_1} {state_key_2}: {state_value_2}
Question ‘{q_name}’ (choice): {instructions} Options:
- {opt_1}: {crit_1}
- {opt_2}: {crit_2}
Provide the chosen option, a probability distribution in [0,1] summing to 1.0 over the options, and your confidence in [0,1]. Respond strictly in JSON.
To verify that latency differences are not merely an artifact of generating explanation lists, we benchmark direct JSON mode both without rationale_words (770 ms median Choice latency, 264 ms Noul latency at ) and with rationale_words (1025 ms median Choice latency). Raw verbalized probabilities are normalized via .
- Chain-of-Thought (CoT) Deliberative Mode. In CoT mode, the system instructions prompt the model to produce a deliberative reasoning trace before emitting the final structured JSON block (8322 ms median Choice latency). All evaluations use temperature with top-.
C.4 Dataset Curation, Construction Protocols, and Quality Control
This section documents the construction, stratification, and ground-truth span protocols for all evaluation cohorts.
- Programmatic Clinical Triage Vignettes (). The clinical triage dataset (, strictly balanced across 100 immediate, 100 urgent, and 100 non_urgent instances) evaluates decision-making under affective distractors:
-
Acuity Label Mapping: Acuity tiers follow the Emergency Severity Index (ESI Version 4) handbook Gilboy et al. (2011), mapped into immediate (ESI 1: life-threatening instability), urgent (ESI 2–3: high-risk compensated conditions), and non_urgent (ESI 4–5: minor stable presentations).
-
Deterministic Template Construction and Exact Span Offsets: Rather than relying on noisy post-hoc human span annotations, each vignette is synthesized deterministically in jav_xai/datasets.py by composing three modular text slots with exact character-offset tracking: (i) Clinical Flags (vital sign derangements and pathophysiological findings that deterministically define the gold ESI acuity), (ii) Emotional Confounders (high-arousal affective phrases such as “screaming that they are dying” or “visibly terrified” injected across all acuity levels to test confounder resistance), and (iii) Neutral Fillers (arrival logistics and routine demographic context). Because character offsets are recorded programmatically during slot assembly, ground-truth span boundaries are exact by construction.
- Tensor Trust Adversarial Security Benchmark (). The prompt injection evaluation combines instances from the Tensor Trust benchmark Toyer et al. (2024) with a dedicated hard-negative stress suite:
- Cohort Composition (): The benchmark comprises 125 benign queries and 125 adversarial attacks: (i) Standard Benign Queries (): legitimate user requests; (ii) Hard Benign Negatives (): benign educational, cybersecurity, and software-engineering queries that explicitly mention security keywords (“system prompt”, “jailbreak”, “ignore rules”, “SQL injection”, “override”) without malicious intent; (iii) Secret Extraction (): social engineering and encoding prompts targeting confidential system instructions; and (iv) Instruction Hijacking (): direct and indirect override payloads forcing rogue actions or confirmation tokens.
- Natural Language Inference Benchmarks (e-SNLI and HANS, each).
-
e-SNLI (): Sampled from the Stanford Natural Language Inference with Explanations test set Camburu et al. (2018), strictly stratified across entailment (), neutral (), and contradiction (). Ground-truth feature masks use the gold human rationale word highlights.
-
HANS (): Sampled from the Heuristic Analysis for NLI Systems benchmark McCoy et al. (2019), strictly balanced between entailment () and non_entailment () across lexical overlap, subsequence, and constituent trap templates.