Gate-Based Feature Importance in Simulation-Based Inference for EEG: A Cautionary Tale
Shrivatsa Deshmukh, Sasha Brenner, Thomas R. Knösche, Nico Scherf
Abstract
Simulation-based inference (SBI) provides a powerful way to fit mechanistic models to data, but offers little insight into which information in the data shapes the inferred parameter values. It could therefore benefit from robust and inexpensive interpretability methods. Learned weighting mechanisms such as feature gates provide a potential route to low-cost interpretability, although their interpretation assumes that predictive training reveals which inputs drive performance. We examined this assumption in a computational neuroscience setting, where neural posterior estimation (NPE) is used to infer four physiological parameters of a dynamical model of interacting neuronal populations (Jansen-Rit). We tested whether the learned gate weights captured feature importance by comparing them with a retrain-based ablation benchmark, in which each feature was removed in turn and the NPE retrained. We considered two jointly trained gates: independent sigmoid weights and competing softmax weights. If these reliably reflect feature importance, they should align with the ablation-based estimates. Across nine independent training seeds, however, gate-based and ablation-based importance were negatively correlated (Spearman's rho approximately -0.61 for sigmoid gating and -0.56 for softmax gating). The feature that ablation identified as most important, total signal power, was among the features the gate down-weighted most, despite gating costing negligible predictive accuracy. These results extend a pattern previously documented for attention mechanisms in natural language processing and for explainability methods in electroencephalography (EEG) deep learning to the simulation-based inference setting, and suggest caution when interpreting learned gate weights as measures of causal feature importance in scientific machine-learning pipelines.
Create a lesson
Metadata
- Comments
- Accepted (non-archival) at NeurIPS 2026 workshops Sim2Science and Interp4Discovery. Code: https://github.com/Shrivatsa-Deshmukh/sbi-gate-vs-ablation
Related papers
Simulating Episodic Like Memory in Octopus: Breaking the Rules
Shared title terminologyq-bio.NCJeffrey L. Krichmar
Inferring Neural Activity Changes under Recording Uncertainty with Transformers and Variational Inference
Shared title terminologyq-bio.NCNilson Chapagain, Pooja Chapagain
A single inference process underlies the behavior and neural circuits of working memory
Shared title terminologyq-bio.NCDongyu Gong, Mario Belledonne, Ilker Yildirim
Geometric and algebraic inference in humans and neural networks
Shared title terminologyq-bio.NCJacob Russin, Joonhwa Kim, Ellie Pavlick et al.
Distributional signatures of computation: inferring mechanisms from computation time distributions
Shared title terminologyq-bio.NCCéline van Valkenhoef, Catherine Schuman, Nikolaus Kriegeskorte et al.
Simulating Alzheimer's amyloid-like pathology on a fly central nervous system connectome
Shared title terminologyq-bio.NCTaeho Jo