LinBridge: A Learnable Framework for Interpreting Nonlinear Neural Encoding Models

Xiaohui Gao, Yue Cheng, Peiyang Li, Yijie Niu, Yifan Ren, Yiheng Liu, Haiyang Sun, Zhuoyi Li, Weiwei Xing, Xintao Hu · DOI

Abstract

Nonlinear models have significantly advanced the predictive accuracy of neural encoding, yet they remain difficult to interpret compared to traditional linear models. We present LinBridge, a framework that decomposes nonlinear "black-box" models into a stable linear inherent component and a sample-specific nonlinear bias. Validated on the Natural Scenes Dataset (NSD), LinBridge reveals that neural nonlinearity follows a biological hierarchy, increasing from the primary visual cortex to higher-order regions. Crucially, the framework provides the interpretability of linear models without sacrificing the predictive performance of nonlinear architectures.

Introduction

The goal of neural encoding is to build models that accurately predict brain responses to external stimuli. While linear models offer clear interpretability by identifying specific features that drive neural activity, they often fail to capture the complex, nonlinear dynamics of the human brain, particularly in higher-order regions. Conversely, nonlinear models like deep neural networks achieve high predictive accuracy but suffer from an "interpretability gap" due to their unstable, sample-selective nature. LinBridge aims to resolve this trade-off by bridging the gap between these two approaches.

Conceptual framework of LinBridge comparing linear and nonlinear mappings from stimuli to brain activity.

Methods

LinBridge leverages Jacobian analysis to decompose nonlinear mappings. The Jacobian matrix represents the local sensitivity of brain activity to changes in visual features. The framework factorizes this matrix into a Linear Inherent Component ($JM_{inherent}$), representing the stable relationship across all samples, and a Nonlinear Mapping Bias ($\Delta JM$), capturing sample-specific deviations. This factorization is achieved through a self-supervised contrastive learning strategy using InfoNCE loss, which isolates the shared linear "skeleton" of the model.

Results

The framework was evaluated using the Natural Scenes Dataset (NSD), involving high-resolution fMRI scans of subjects viewing MS-COCO images. Features were extracted using CLIP-ViT.

  • Biological Hierarchy of Nonlinearity: Analysis of the Absolute Value of the First Derivative (AFD) showed that nonlinearity is minimal in the primary visual cortex (V1) and increases significantly in tertiary visual and prefrontal areas. This provides mathematical evidence that brain processing becomes progressively more complex as information moves beyond simple edge detection.
  • Predictive Power: The nonlinear model demonstrated superior coverage, activating 24,490 voxels compared to 16,084 for the linear model. Furthermore, 9.30% of voxels in the nonlinear model achieved an $R^2 > 0.05$, vs. 6.65% in the linear model.
  • Stability and Fidelity: The linear component extracted by LinBridge maintained a Pearson correlation of approximately 0.99 with the full nonlinear model, proving that the "linear skeleton" captures the bulk of the model's predictive capacity while remaining stable across different data batches.

Discussion

LinBridge demonstrates that nonlinear models contain a highly stable linear core that can be extracted for interpretability. This finding suggests that the added complexity of nonlinear models is not just "noise" but follows a structured biological hierarchy. While computationally intensive, future optimizations like low-rank matrix decomposition could make LinBridge a standard tool for interpreting complex neural encoders across various domains, including language and music processing, where nonlinearity is even more prevalent.

Summary updated

BibTeX
@misc{gao2024linbridge,
  author = {Xiaohui Gao and Yue Cheng and Peiyang Li and Yijie Niu and Yifan Ren and Yiheng Liu and Haiyang Sun and Zhuoyi Li and Weiwei Xing and Xintao Hu},
  title = {{LinBridge: A Learnable Framework for Interpreting Nonlinear Neural Encoding Models}},
  year = {2024},
  eprint = {2410.20053},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.20053},
}
Figure