arXiv:2610.12737cs.LGOct 2026

Manuscript Offprint

arXiv:2610.12737

Kernelized Parameter Sensitivity Atlases for Amortized Conditional Interpretability

Davide Wiest, Ahanaf Hasan Ariq, Abdul Monaf Chowdhury

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Gradient-based attribution provides input-specific information about model parameters, but computing it via backpropagation for many samples is expensive, while static importance scores discard input dependence. We derive KPSA (Kernelized Parameter Sensitivity Atlas) from a block decomposition of the empirical neural tangent kernel. It measures normalized parameter-group sensitivity on a fixed source set and functional, embeds those sources in an explicit query space, and uses a lightweight kernel to estimate sensitivities for unseen inputs. We characterize query-space fit through target stability and derive bounds that separate finite-source from irreducible representation error and give margin-based top-k recovery. This paper studies two interpretability applications. Firstly, KPSA identifies parameter groups with high susceptibility to perturbations across vision, forecasting, and protein-modeling setups. Across a fivefold range of parameter budgets (0.02–0.1%), its selected groups attain 39–85% of the perturbation susceptibility of a first-order backpropagation oracle. In vision and forecasting, these parameter groups form sparse sensitivity circuits that extend across depth and vary systematically with the input. Secondly, we use KPSA on an activation-attribution problem for MLP features in transformers. It retains 81% of the gap between a backpropagation oracle and a constant-sensitivity baseline on vision while increasing batched query-time throughput from 551 to 2,041 images/s and reducing peak GPU memory from 4.55 to 0.44 GB. On the protein-modeling task, it recovers 68% of this gap. An ablation of KPSA's kernel aggregation shows that nearest–neighbor retrieval in KPSA space can remain competitive. The empirics show that compact kernel atlases can store useful input-dependent parameter sensitivity while amortizing repeated gradient attribution, a step toward scalable conditional interpretability.

Code: https://github.com/Axym-Labs/kpsa

Build once

Query many

Choose source samples

Embed each sample in a compact semantic query space

Kernelize the weighted sample distribution; store a compact kernel summary per group

Embed unseen samples; query each parameter group's sensitivity

Identify a sparse sensitivity circuit for a sample

Figure

Choose a parameter decomposition

Measure each sample's normalized sensitivity share

rGr_G

Φ(X)\Phi(X)

m^G=1N∑i=1NrGiϕ(zi)\widehat{\mathbf{m}}_G = \frac{1}{N} \sum_{i=1}^N r_{Gi} \phi(z_i)

q^G(s∗)=(m^G,ϕ(z∗)\widehat{q}_G(s_*) = (\widehat{\mathbf{m}}_G, \phi(z_*)

Localize neurons for amortized attribution

G={G1,…,GM}\mathcal{G} = \{G_1, \ldots, G_M\}

rGi=∥∇θGF(si)∥22∥∇θF(si)∥22r_{Gi} = \frac{\|\nabla_{\theta_G} F(s_i)\|_2^2}{\|\nabla_{\theta} F(s_i)\|_2^2}

Figure 1: KPSA builds a compact atlas once by pairing source representations with normalized parameter-group sensitivities, then estimates input-conditioned sensitivity profiles for circuit discovery and attribution without per-query backpropagation.

A PREPRINT

1 Introduction

Gradient-based attribution answers an intrinsically conditional question: which parameters or internal features matter for this input and this model functional? A fresh backward pass gives a high-resolution answer, but its memory and latency costs recur for every query. At the opposite extreme, a single global importance vector is cheap but erases input dependence. This paper asks whether the repeated-query problem can instead be posed as statistical estimation: from a finite source set with measured gradients, estimate the sensitivity profile of an unseen query using only a compact representation and a forward computation.

Let a frozen scalar functional Fθ(x)F_{\theta}(x) induce an empirical neural tangent kernel (NTK) over a partition of the parameters. The NTK decomposes exactly into parameter-block kernels, and their normalized diagonal contributions form a sensitivity profile s(x)s(x). Given a query representation Z=ψ(X)Z = \psi(X), the population object available without a query gradient is not generally the realized profile s(x)s(x), but the conditional mean

mψ(z)=E[s(X)∣Z=z].m_{\psi}(z)=\mathbb{E}[s(X)\mid Z=z].

This distinction is consequential. More source gradients can reduce estimation error for mψm_{\psi}, but cannot recover sensitivity variation that ψ\psi discards. It therefore rules out a source-count-only guarantee to the realized query gradient unless the representation is sufficient for the profile.

We introduce KPSA, a Kernelized Parameter Sensitivity Atlas. KPSA measures the block-NTK profiles of a fixed source set, embeds the sources in a categorical or learned query space, and transfers their profiles to unseen inputs using a nonnegative retrieval kernel. Vision uses a Nyström kernel approximation, while forecasting and protein modeling evaluate the kernel against all sources. Normalizing the retrieval weights does not change group rankings, so the rule is a vector-valued Nadaraya–Watson estimator [18, 30] of an NTK-derived target.

The theory starts from the exact block decomposition of the empirical NTK. Each diagonal block equals expected squared first-order susceptibility to a random perturbation of that parameter group, so its normalized share is the quantity KPSA estimates. The analysis then characterizes query-space fit through target stability: nearby representations should have similar sensitivity profiles. A finite-source bound separates local instability, effective source count, and irreducible representation error, and a margin condition translates profile error into top-k recovery. A separate smoothness result relates the first-order target to the finite perturbation assay used in the experiments.

Empirically, we test this estimator in two interpretability uses and three modalities. First, KPSA retrieves sparse parameter-influence sets whose exact antithetic perturbations remain input dependent in vision, forecasting, and protein models. At the 0.1% budget, semantic KPSA recovers 35%, 47%, 50%, and 33% of the static-to-direct-gradient causal gap on ImageNet, ETTh1, Weather, and Swiss-Prot, respectively. Second, it localizes MLP features for exact zero-deactivation: it recovers 81% of the vision causal gap at the efficiency operating point and 68% on protein modeling. The vision query path runs at 2,041 rather than 551 images/s and uses 0.44 rather than 4.55 GB peak GPU memory. These are consequences of replacing per-query reverse-mode differentiation with a forward representation and kernel retrieval; construction cost is paid once.

Our contributions are:

• We derive KPSA from the block decomposition of the empirical NTK: normalized block diagonals are shares of expected infinitesimal parameter susceptibility and define the atlas target.

• We characterize query-space suitability through sensitivity-target stability, separating finite-source, local-smoothing, and irreducible representation errors. These bounds yield top-k recovery conditions and a smoothness bridge to finite perturbations. Complete proofs are in Appendix B.

• Without changing the frozen empirical protocol, we evaluate the same estimator across vision, forecasting, and protein modeling, measuring profile fidelity, exact perturbation and deactivation effects, circuit structure, storage, memory, and throughput.

References (27)