Gradient Free Interpretability for Proprietary Models

This direction is split into other directions: white-box model dependency. Its last version stays readable and citable here.

Version 1 of 157 papers57 conceptsfrozen 2026-10-04

For years, the gold standard for understanding deep learning models has been the gradient. By calculating how a model’s output changes with respect to its internal weights or input features, researchers developed powerful tools like Integrated Gradients and Influence Functions. These "white-box" methods allow us to peek inside the engine while it's running.

However, the rise of massive, proprietary models like GPT-4 and Claude has hit a "gradient wall." When a model is served behind a restricted API, users only have access to inputs and outputs. The internal weights, gradients, and Jacobians are hidden. This shift has sparked a new research direction: Gradient-Free Interpretability, which seeks to audit, explain, and attribute model behavior using only query access.

Probing the Black Box via Perturbation

If you cannot read a model’s mind through its gradients, the next best thing is to "interview" it. The core intuition behind gradient-free methods is systematic perturbation: by slightly altering the input and observing how the output shifts, we can reconstruct the model's internal logic.

Amit Dhurandhar and colleagues pioneered this with MACEM, which identifies "Pertinent Positives" (features that must be present) and "Pertinent Negatives" (features that must be absent) to maintain a prediction. Instead of following a gradient descent path, these methods search the input space for the minimal change that flips a decision.

In the visual domain, Ruoyu Chen and Jingzhi Li introduced Visual Precision Search (VPS). Rather than relying on noisy saliency maps, VPS uses a "greedy search" over image sub-regions. By masking parts of an image and observing the model's confidence, it pinpoints the exact pixels driving a detection, treating the foundation model as a pure black box.

Data Attribution without Internal Access

A critical question in AI safety and copyright is data attribution: which specific training example caused this model to generate this output? Traditional methods like TRAK or Influence Functions require backpropagating through the entire architecture, which is impossible for closed-source models.

To solve this, Xingyuan Pan and team developed DAUNCE. Instead of gradients, DAUNCE measures the covariance of losses across slightly perturbed versions of a model. This allows researchers to perform data attribution on models as complex as GPT-4 for the first time. Similarly, in generative AI, Chao Du and Xiaosen Zheng created Nonparametric Diffusion Attribution (NDA), which uses patch-level similarity and score functions to identify influential training images without ever touching the diffusion model’s internal weights.

From Heatmaps to Causal Logic

Most early explainability tools produced heatmaps—static highlights of "important" pixels or words. Modern gradient-free research is moving toward causal and counterfactual explanations.

Daniel Kroening and Hana Chockler have pushed this frontier with tools like rex and MULTEX. These methods use the formal theory of "actual causality" to find the smallest subset of features that cause a classification. By generating multiple, distinct causal paths, they reveal hidden biases—such as a model identifying a "tennis racket" not by the racket itself, but by the player's clothing—that gradient-based heatmaps often obscure.

For language agents, Edoardo Pona introduced Abstract Counterfactuals (ACF). Because proprietary LLMs don't provide logit access, ACF performs causal inference on high-level semantic features (like "intent" or "profession") rather than raw tokens. This ensures that explanations remain consistent even when the model's specific phrasing changes.

Probing the Loss Landscape Externally

Perhaps the most surprising development is the ability to probe a model's "geometric" properties without gradients. Liew Yee Zhing and Andrew Huey Ping Tan developed Embedding-Perturbed Gradient Sensitivity (EPGS) to detect hallucinations.

They discovered that true facts reside in "flat minima" (stable regions of the loss landscape), while stubborn errors sit in "sharp minima" (brittle regions). By injecting tiny amounts of noise into the input embeddings and measuring the resulting output variance, they can distinguish between a model that "knows" a fact and one that is simply "guessing" confidently, all without needing to compute a single internal derivative.

Why it Works: The Information Bottleneck

The success of these methods suggests that a model’s output contains far more information than we previously realized. While gradients provide a direct path to the weights, the input-output manifold of a well-trained model is highly structured.

By treating the model as a black box and applying principles from information theory, causal inference, and uncertainty estimation, researchers like Deepak Mittal (with DAX) have shown that we can distill the "knowledge" of a proprietary model into smaller, interpretable student models. This shift ensures that even as AI becomes more closed and proprietary, our ability to audit and understand it remains open.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_gradient_free_interpretability_for_propr_e1b1d2c4,
  title = {Gradient Free Interpretability for Proprietary Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/gradient-free-interpretability-for-proprietary-models/rdr_e1b1d2c4906745ffb3d168f7a3641098},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_gradient_free_interpretability_for_propr_e1b1d2c4_v1,
  title = {Gradient Free Interpretability for Proprietary Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/gradient-free-interpretability-for-proprietary-models/rdr_e1b1d2c4906745ffb3d168f7a3641098/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}