SAE-Audit: Clinical-Trial Prediction via Inference-Time Optimization of Black-Box LLMs Audited by Sparse Autoencoder Evidence

Junbo ShenarXiv 2026

It’s late. You’ve probably spent the day wrestling with code or wading through papers that promise the world but deliver a black box. You’re looking for something that actually makes sense—something that bridges the gap between the "magic" of Large Language Models (LLMs) and the cold, hard reality of clinical data.

Enter SAE-Audit. This paper tackles a high-stakes problem: predicting whether a clinical trial will succeed or fail before it even starts.

TL;DR

Clinical trials are billion-dollar gambles, and while LLMs are great at reading protocols, they are notoriously bad at explaining why they predict a certain outcome. SAE-Audit uses "Sparse Autoencoders" to extract verifiable clinical concepts from a small model to act as a factual "auditor" for giant black-box LLMs, boosting their accuracy by up to 12 points and making their reasoning actually checkable.

What Problem Does This Paper Address?

Clinical trials are the bottleneck of medicine. They take years and cost a fortune, yet many fail for "operational" reasons (like failing to recruit enough patients) rather than scientific ones.

We want to predict these outcomes early using the trial protocol—a dense, technical document. Frontier LLMs like GPT-4o or DeepSeek are "fluent but unreliable" here. They might give you a prediction, but their "rationale" is often a hallucination—a post-hoc story that doesn't reflect the actual evidence in the text.

The authors identify two main gaps:

  1. The Accuracy Gap: LLMs perform only modestly better than a coin flip on these tasks.
  2. The Faithfulness Gap: We can't trust the "why" behind an LLM's answer.

Methods

The researchers built a system called SAE-Audit. It’s a three-step process that feels a bit like giving a brilliant but flighty expert a no-nonsense fact-checker.

  1. Building a Concept Dictionary: They took a "small" open model (Llama-3.1-8B) and applied a Sparse Autoencoder (SAE). Think of an SAE as a high-resolution lens that decomposes the model's messy internal "thoughts" into thousands of distinct, interpretable features. They then used another LLM to name these features (e.g., "mentions specific drug classes" or "histological confirmation of cancer").
  2. Training Sparse Probes: They looked at thousands of past trials and trained a simple linear model (a "probe") to see which of these concepts actually correlate with success or failure. This gives them a statistical "weight" for every concept.
  3. The Audit Loop: When a new trial protocol comes in, the probe identifies which concepts are present. It then generates a piece of Natural Language Evidence (e.g., "This protocol requires a specific tumor stage; in the past, this led to trial termination 70% of the time"). This evidence is fed to a giant black-box LLM (the "Auditee"), which then revises its prediction based on these hard facts.
Figure 1: Overview of SAE-Audit, with SAE concept dictionary build-up, SAE probes module which can serve as both a direct reasoner and predictor, and SAE-Audit that takes evidence from SAE probes for inference-time optimization on LLMs. a, A frozen SAE on Llama-3.1-8B-Instruct is turned into a vocabulary of clinical concepts, and one sparse probe per task is fitted on which concepts past protocols contain. b, SAE-derived reasoning: the probe’s prediction is an exact product of factors, one per detected concept, each tied to the passage of the protocol on which the concept is most active. c, SAE-Audit in the draft-first setting with the auditor: the concepts detected by the probe are written as evidence E(x); the auditor checks the LLM’s draft against the evidence, and the LLM revises its answer, here from complete (wrong) to terminate (correct).

Datasets

The authors evaluated their system on five binary prediction tasks across two major benchmarks:

  • TrialPanorama: Focuses on trial completion and sample size.
  • TrialBench: Covers serious adverse events, trial duration, and patient dropout.
  • Chia Corpus: A dataset of expert-annotated eligibility criteria used to verify that the SAE features actually correspond to real-world clinical concepts.

Key Insights and Ideas

  • External Feedback is Essential: The authors found that LLMs don't get better by just "thinking harder" (self-correction). They need external grounding. By providing statistical evidence from a different model, SAE-Audit forces the LLM to reconcile its intuition with historical data.
  • The Power of the SAE Basis: You might wonder, "Why not just use regular neurons?" The paper shows that SAE features are far more interpretable and "verifiable" than raw model neurons. They map to real clinical concepts that humans (and other LLMs) can actually understand and check against the text.
  • Faithfulness by Design: Because the "probe" is a simple linear model, its reasoning is perfectly transparent. If it says a trial will fail, you can point to the exact sentence in the protocol and the exact historical statistic that triggered that thought.

Key Results

The results are impressive, especially considering no fine-tuning of the big LLMs was required:

  • Accuracy Boost: SAE-Audit raised the balanced accuracy of deepseek-v4-flash by 9.6 to 12.0 points across all five tasks.
  • Beating the Giants: On trial completion, the system reached an accuracy of 71.2, significantly outperforming unaided GPT-4o (59.3) and even specialized biomedical agents like Biomni.
  • Robustness: Even when trained on limited data (only 750 trials), the system still provided a significant boost to the LLM's performance.
Performance of SAE-Audit compared to baselines and across different data scales.

Limitations and Future Work

While a major step forward, the authors note a few hurdles:

  • Single Layer Focus: The current work relies on an SAE from just one layer of one 8B model. Future work could aggregate evidence from multiple layers or different model architectures.
  • Correlation vs. Causation: The probes capture associations in historical data, not necessarily the causes of trial failure.
  • Prospective Validation: All tests were done on historical "held-out" data. The real test will be using SAE-Audit on trials that are currently being registered to see if it can predict the future in real-time.

In short, SAE-Audit suggests that the path to better AI isn't just "bigger models," but rather "better tools to understand and audit the models we already have." It’s a win for interpretability, and a win for anyone who wants their AI to show its work.

Summary updated

Abstract

Clinical trials are costly and often take years to complete, making early outcome prediction valuable for trial planning. Large language models (LLMs) are increasingly used to forecast clinical-trial outcomes, yet their predictions remain unreliable and their rationales may not faithfully reflect the evidence underlying their answers. On tasks such as predicting whether a registered clinical trial will complete or terminate early, frontier LLMs perform only modestly above chance in our experiments. We introduce SAE-Audit, which optimizes a black-box LLM at inference time with evidence obtained from a deployable open model. A frozen sparse autoencoder (SAE) on Llama-3.1-8B-Instruct is converted into a vocabulary of clinical concepts. Sparse probes fitted on past trials determine which concepts are associated with the outcome. For a new protocol, the concepts detected by the probe are written as evidence, each with the direction and strength of its association with the outcome, and the LLM being audited optimizes its answer in the light of this evidence. Without additional training, SAE-Audit raises balanced accuracy of deepseek-v4-flash by 9.6--12.0 points on five clinical-trial prediction tasks and raises GPT-5.6-terra by 8.0 points on trial completion, exceeding other agentic inference-time optimization methods by a large margin. As an auxiliary, SAE probes module within SAE-Audit is itself accurate and auditable, providing natural-language explanations directly derived from verified concept contributions and protocol evidence, without requiring additional LLMs at inference time. SAE-Audit provides verifiable, concept-level evidence for more accurate and auditable clinical-trial prediction. It can also be embedded into biomedical AI agents such as Biomni to optimize their performance.
BibTeX
@misc{shen2026sae,
  author = {Junbo Shen},
  title = {{SAE-Audit: Clinical-Trial Prediction via Inference-Time Optimization of Black-Box LLMs Audited by Sparse Autoencoder Evidence}},
  year = {2026},
  eprint = {2611.29368},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.29368},
}
Figure