---
title: 'Delta-Attribution: Explaining Model Updates'
url: https://www.emergentmind.com/topics/delta-attribution
type: topic
---

# Delta-Attribution: Explaining Model Updates

Delta-Attribution denotes a model-agnostic framework for explaining what changed between model versions \(A\) and \(B\) by differencing per-feature local attributions, \(\Delta\phi(x)=\phi_B(x)-\phi_A(x)\). Introduced in “Delta-Audit: Explaining What Changes When Models Change,” it is aimed at update auditing rather than single-model explanation: the objective is to expose redistribution of feature reliance under changes in hyperparameters, kernels, tree depth, solvers, search procedures, or training data, and to relate those reliance shifts to observed behavioural change [2508.19589]. In broader attribution theory, completeness is often expressed as a decomposition of a prediction difference \(f(x)-f(x')\), which the literature already treats as a baseline-delta object; Delta-Attribution extends that difference-based perspective from input baselines to model-version comparisons [2505.24729].

## 1. Definition and conceptual scope

The central definition is
\[
\Delta\phi(x)=\phi_B(x)-\phi_A(x),
\]
where \(A\) and \(B\) are two versions of the same predictive pipeline, \(\phi_A(x)\in\mathbb{R}^d\) and \(\phi_B(x)\in\mathbb{R}^d\) are per-feature attribution vectors returned by some explainer \(E\), and \(\Delta\phi(x)\) is interpreted as the redistribution of reliance over features induced by the update from \(A\) to \(B\) [2508.19589].

This definition fixes the topic’s main distinction from ordinary feature attribution. A single-model explanation describes what one model currently uses. Delta-Attribution asks what changed between versions and whether that change aligns with the observed output difference. The paper’s formulation is explicitly operational: models are frequently updated by changing hyperparameters, kernels, tree depth, solvers, search procedures, or data, and accuracy alone does not reveal why behaviour changed, whether the change is benign, or whether reliance has shifted toward or away from task-relevant signals [2508.19589].

A common misconception is that Delta-Attribution is a new standalone explainer. The framework is instead described as a way to “turn any local explainer into an update explainer” by differencing explanations across versions. Another misconception is that it replaces performance evaluation. The intended role is complementary: it supplements accuracy, calibration, or error analyses by exposing version-to-version changes in feature reliance [2508.19589].

## 2. Computational formulation

In the paper’s instantiation, Delta-Attribution is implemented with fast occlusion/clamping in standardized feature space. Two classifiers \(f_A\) and \(f_B\) are compared over inputs \(x\in\mathbb{R}^d\). For each input, the reference class \(c(x)\) is fixed as the class predicted by the updated model \(f_B\). The class score is then defined as a class-anchored margin or log-odds:
\[
f(x)=
\begin{cases}
[\mathrm{dec}(x)]_{c(x)}, & \text{if decision\_function is available},\\
\log \dfrac{p_{c(x)}(x)}{1-p_{c(x)}(x)}, & \text{if probabilities are available},\\
\log \dfrac{p_{c(x)}(x)+\varepsilon}{1-p_{c(x)}(x)+\varepsilon}, & \text{otherwise},
\end{cases}
\qquad \varepsilon=10^{-9}.
\]
Anchoring to \(c(x)\), the class predicted by \(B\), is reported to stabilize the behaviour-linked metrics, particularly BAC and DCE [2508.19589].

Per-feature attribution is computed by clamping one standardized feature at a time to a shared baseline vector \(b\):
\[
\phi_{f,j}(x)=f(x)-f(x_{-j}), \qquad x_{-j}: x_j \leftarrow b_j.
\]
The same baseline \(b\) and the same reference class \(c(x)\) are used for both \(A\) and \(B\), so that
\[
\Delta\phi(x)=\phi_B(x)-\phi_A(x)
\]
isolates model-version differences rather than explanation-setup differences. The baseline is derived from the training set, mean by default and optionally averaged with the median to reduce baseline artifacts. Because all features are standardized first via a `StandardScaler`, clamping is performed in standardized space [2508.19589].

The behavioural quantity paired with \(\Delta\phi\) is
\[
\Delta f(x)=f_B(x)-f_A(x),
\]
the change in class-anchored score between versions. The underlying intuition is direct: if the update changes model behaviour strongly on a sample, a useful update explainer should reveal a correspondingly large or otherwise meaningful redistribution of feature reliance on that sample [2508.19589].

## 3. The Delta-Attribution Quality Suite

The paper evaluates \(\Delta\phi\) with a “Delta-Attribution Quality Suite” organized into four categories: magnitude/sparsity, agreement/shift, behavioural alignment, and robustness. Let
\[
u(x)=|\Delta\phi(x)|, \qquad s(x)=\frac{u(x)}{\|u(x)\|_1},
\]
skipping samples with \(\|u(x)\|_1=0\). Averages are taken over the test set or a stratified subset of up to 256 samples [2508.19589].

Magnitude is measured by
\[
\mathbb{E}\,\|\Delta\phi(x)\|_1,
\]
reported as \(\Delta\)Mag\(_{\mathrm{L1}}\) or Mag\(_{\ell_1}\). It quantifies the overall size of the reliance change. Concentration is measured with Top-\(k\) mass and entropy. Top-\(10\) concentration is
\[
\Delta\mathrm{TopK}@10
=
\mathbb{E}\!\left[\sum_{j\in\mathrm{Top10}(u)} s_j(x)\right],
\]
and entropy is
\[
\mathbb{E}\!\left[-\sum_j s_j(x)\log s_j(x)\right].
\]
High Top-\(10\) mass and low entropy indicate that the update reallocated reliance across a small number of features [2508.19589].

Agreement and redistribution between \(A\) and \(B\) are measured with RankOverlap@10 and Jensen–Shannon divergence. RankOverlap@10 is the Jaccard overlap of \(\mathrm{Top10}(|\phi_A|)\) and \(\mathrm{Top10}(|\phi_B|)\). JSD is computed after normalizing absolute attributions:
\[
p=\frac{|\phi_A|}{\||\phi_A|\|_1}, \qquad q=\frac{|\phi_B|}{\||\phi_B|\|_1},
\]
and reporting
\[
\mathbb{E}\big[\mathrm{JSD}(p\Vert q)\big].
\]
Low JSD indicates similar distribution of attribution mass; high JSD indicates genuine redistribution of reliance [2508.19589].

Behavioural alignment is captured by Delta Conservation Error and Behaviour–Attribution Coupling:
\[
\mathrm{DCE}=\mathbb{E}\bigg|\sum_j \Delta\phi_j(x)-\Delta f(x)\bigg|,
\]
\[
\mathrm{BAC}=\mathrm{corr}_x\!\big(\|\Delta\phi(x)\|_1,\;|\Delta f(x)|\big).
\]
DCE is an additive-consistency diagnostic, with smaller values better. BAC is the Pearson correlation across samples between attribution-delta magnitude and absolute behaviour change. High BAC means samples with larger output changes also exhibit larger reliance shifts [2508.19589].

The suite also includes CO\(\Delta\)F, class-outcome focus, described as the fraction of \(\Delta\)-mass on the top-\(m\) globally relevant features for \(f_B\) from permutation importance, with \(m=10\), reported separately for fixes and regressions. Robustness includes Gaussian-noise sensitivity,
\[
\mathbb{E}\,\frac{\|\Delta\phi(x+\varepsilon)-\Delta\phi(x)\|_1}{\|\varepsilon\|_2+\epsilon},
\qquad \varepsilon\sim\mathcal{N}(0,\sigma^2 I),\ \sigma\in\{0.01,0.05\},
\]
baseline sensitivity, and grouped occlusion. For grouped occlusion, the paper jointly clamps the top-\(k\) features by \(|\phi_B|\), recomputes \(\Delta\phi\), and reports
\[
\rho=\mathbb{E}\Bigg[\frac{\|\Delta\phi(x)\|_1}{\|\Delta\phi^{(\text{group-}k)}(x)\|_1+\epsilon}\Bigg],
\]
using \(k=2\) in the experiments [2508.19589].

## 4. Experimental program

The empirical study covers 45 audited settings: five classical model families, three datasets, and three A/B pairs per family [2508.19589]. The datasets are Breast Cancer (\(n=569\), \(d=30\), binary classification), Wine (\(n=178\), \(d=13\), 3-class), and Digits (\(n=1797\), flattened \(8\times 8\) images, \(d=64\), 10-class), each with a stratified 80/20 train-test split and shared preprocessing through `StandardScaler` and a common `Pipeline` [2508.19589].

The audited learner families are Logistic Regression, SVC, Random Forests, Gradient Boosting, and \(k\)NN. The A/B settings were chosen to span both substantive inductive-bias changes and small implementation tweaks. For example, Logistic Regression compares changes in \(C\), L1 versus L2 regularization, and solver changes; SVC compares linear, poly, and rbf kernels as well as \(\gamma=\texttt{scale}\) versus \(\texttt{auto}\); Random Forests vary estimator count, depth, and \(\texttt{max\_features}\); Gradient Boosting varies learning rate, estimator count, and depth; \(k\)NN varies \(k\), weighting, and search algorithm [2508.19589].

This design is significant because Delta-Attribution is meant to detect when an update is merely cosmetic and when it changes model behaviour through a genuine redistribution of reliance. The A/B grid therefore functions as an update taxonomy: some pairs are expected to change inductive bias, while others are expected to leave the effective attribution structure almost unchanged [2508.19589].

## 5. Empirical patterns

The paper’s central empirical claim is that inductive-bias changes yield large, behaviour-aligned deltas, while cosmetic tweaks yield near-zero or rank-preserving deltas. The abstract’s representative examples are support vector machines on Breast Cancer and random forests on Digits. For SVC poly\(\rightarrow\)rbf on Breast Cancer, the reported values are \(\mathrm{BAC}\approx 0.998\) and \(\mathrm{DCE}\approx 6.6\). For a Random Forest feature-rule swap on Digits, the reported values are \(\mathrm{BAC}\approx 0.997\) and \(\mathrm{DCE}\approx 7.5\). These are presented as cases of large and behaviour-aligned reliance reallocation [2508.19589].

By contrast, “cosmetic” tweaks are characterized by perfect or near-perfect agreement metrics. The abstract highlights SVC \(\texttt{gamma=scale}\) versus \(\texttt{auto}\) and \(k\)NN search changes as cases with RankOverlap@10 \(=1.0\) and \(\mathrm{DCE}\approx 0\). The fuller results list five A/B pairs with \(\mathrm{DCE}=0.0\) and five with RankOverlap@10 \(=1.0\), including digits–knn–pair3, breast\_cancer–svc–pair2, wine–knn–pair3, wine–rf–pair3, and breast\_cancer–knn–pair3. These cases serve as sanity checks: the framework does not treat every parameter change as behaviourally meaningful [2508.19589].

The strongest redistribution in attribution mass is reported for deeper Gradient Boosting on Breast Cancer, with \(\mathrm{JSD}\approx 0.357\). Other high-JSD cases include Breast Cancer Logistic Regression pair2 at approximately \(0.179\), Wine \(k\)NN pair1 at approximately \(0.167\), Digits Random Forest pair2 at approximately \(0.139\), and Breast Cancer \(k\)NN pair1 at approximately \(0.130\). This indicates that redistribution and behavioural coupling are distinct dimensions: an update can strongly redistribute reliance without being the strongest in BAC [2508.19589].

Algorithm-level summaries reinforce this distinction. Random Forests exhibit the largest average shifts with strong average coupling:
\[
\Delta\mathrm{Mag}_{\mathrm{L1}}=36.23\pm 25.94,\quad
\mathrm{DCE}=29.61\pm 21.20,\quad
\mathrm{BAC}=0.81\pm 0.32.
\]
\(k\)NN also shows substantial average shift,
\[
\Delta\mathrm{Mag}_{\mathrm{L1}}=19.36\pm 29.26,\quad
\mathrm{DCE}=17.97\pm 27.20,\quad
\mathrm{BAC}=0.42\pm 0.37,
\]
but with markedly weaker behavioural coupling. Logistic Regression is comparatively stable,
\[
\Delta\mathrm{Mag}_{\mathrm{L1}}=4.24\pm 3.67,\quad
\mathrm{DCE}=0.53\pm 0.77,\quad
\mathrm{BAC}=0.39\pm 0.40.
\]
SVC has small average deltas but moderate behaviour relevance, and Gradient Boosting falls between the linear and tree-based extremes [2508.19589].

These findings support a three-way interpretive scheme. Some updates are benign because effective reliance remains unchanged. Some are behaviour-aligned because changed outputs are matched by changed reliance. Others, especially several \(k\)NN changes, show large but diffuse deltas with weaker BAC, indicating that a model can move substantial attribution mass without cleanly explaining its own behavioural shift [2508.19589].

## 6. Practical interpretation, limitations, and relation to broader attribution theory

The framework is presented as an audit tool for CI, regression testing, and model governance. The paper proposes practical heuristics for tabular settings with \(d\in[13,64]\). A “benign update” is characterized by \(\mathrm{BAC}<0.2\), \(\Delta\mathrm{Mag}_{\ell_1}\) in the bottom quartile, RankOverlap@10 \(>0.9\), and \(\mathrm{DCE}\approx 0\). A “behaviour-aligned shift” has \(\mathrm{BAC}>0.6\) with medium or large \(\Delta\mathrm{Mag}_{\ell_1}\). A “risky shift” has \(\mathrm{BAC}<0.2\) with medium or large \(\Delta\mathrm{Mag}_{\ell_1}\) or \(\mathrm{JSD}>0.15\). The authors explicitly present these as heuristics rather than universal thresholds [2508.19589].

Several limitations are central to the concept. First, Delta-Attribution is explainer-dependent. In the paper’s implementation, the explainer is occlusion/clamping, which is not additive. For that reason, DCE is described as diagnostic rather than something expected to be zero. High DCE may indicate feature interactions or limitations of the explainer rather than a useless update explanation. The paper specifically notes that path methods such as Integrated Gradients do satisfy additivity and may be preferable when additive faithfulness is essential [2508.19589].

Second, baseline choice matters. The authors reduce baseline sensitivity by averaging mean and median training-set baselines when possible, but they note that extreme distributions may require domain-specific baselines. Third, correlated or interacting features remain a concern, which is why grouped occlusion is included as a robustness stress test. Fourth, the empirical scope is limited to classical tabular and low-dimensional image-like features; the study does not establish the same behaviour for very high-dimensional settings such as text, vision, or language models [2508.19589].

In broader attribution research, Delta-Attribution occupies a specific niche. Standard feature attribution explains a prediction within one model. Theoretical work such as “Feature Attribution from First Principles” emphasizes that many attribution frameworks already revolve around difference objects such as \(f(x)-f(x')\) or more general increment-based decompositions [2505.24729]. Delta-Attribution takes that logic from input-side differences to model-version differences: the explained object is not a single prediction, but the change in reliance profile induced by replacing model \(A\) with model \(B\).

The resulting concept is therefore neither a replacement for accuracy nor a replacement for attribution. It is an update-centric layer above both. Its value lies in distinguishing updates that are merely cosmetic from updates that meaningfully alter how a model uses features, and in doing so with a metric suite that jointly measures magnitude, redistribution, behavioural coupling, and robustness [2508.19589].

Source: https://www.emergentmind.com/topics/delta-attribution