Papers › NeuronTune: Towards Self-Guided Spurious Bias Mitigation

NeuronTune: Towards Self-Guided Spurious Bias Mitigation

29 May 2025arXiv:2505.24048archive 2025-07-28

Guangtao Zheng, Wenqian Ye, Aidong Zhang

Deep neural networks often develop spurious bias, reliance on correlations between non-essential features and classes for predictions. For example, a model may identify objects based on frequently co-occurring backgrounds rather than intrinsic features, resulting in degraded performance on data lacking these correlations. Existing mitigation approaches typically depend on external annotations of spurious correlations, which may be difficult to obtain and are not relevant to the spurious bias in a model. In this paper, we take a step towards self-guided mitigation of spurious bias by proposing NeuronTune, a post hoc method that directly intervenes in a model's internal decision process. Our method probes in a model's latent embedding space to identify and regulate neurons that lead to spurious prediction behaviors. We theoretically justify our approach and show that it brings the model closer to an unbiased one. Unlike previous methods, NeuronTune operates without requiring spurious correlation annotations, making it a practical and effective tool for improving model robustness. Experiments across different architectures and data modalities demonstrate that our method significantly mitigates spurious bias in a self-guided way.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2505.24048")

Code

Syntology Ran 8 of 12 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gtzheng/neurontune officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 8 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
7ran
4unverified

Licence: 12 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from gtzheng/neurontune. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

ClassBalancedSampler gtzheng/neurontune/algorithms/neuron_tune.py official repository ran no licence file found · pointer only · f0e41e9e56aec872 · report
EmbedDataset gtzheng/neurontune/algorithms/neuron_tune.py official repository ran no licence file found · pointer only · a0e653064ea9bb28 · report
GroupBalancedSampler gtzheng/neurontune/algorithms/neuron_tune.py official repository ran no licence file found · pointer only · 21f32fcbac2781e6 · report
JointRandomSampler gtzheng/neurontune/algorithms/neuron_tune.py official repository ran no licence file found · pointer only · 7b44ba5417ec1392 · report
MaskLayer gtzheng/neurontune/algorithms/neuron_tune.py official repository ran no licence file found · pointer only · b972838e4feca157 · report
RandomSampler gtzheng/neurontune/algorithms/neuron_tune.py official repository ran no licence file found · pointer only · 01aaa3628e4c6a24 · report
ShortcutSampler gtzheng/neurontune/algorithms/neuron_tune.py official repository ran no licence file found · pointer only · a57a74a821996c30 · report
extract_feature_info gtzheng/neurontune/algorithms/neuron_tune.py official repository ran · our draft was wrong no licence file found · pointer only · 92b6651ceba09ac2 · report
Algorithm gtzheng/neurontune/algorithms/neuron_tune.py official repository unverified no licence file found · pointer only · 7a4ce898b756fc69 · report
MaskedClassifier gtzheng/neurontune/algorithms/neuron_tune.py official repository unverified no licence file found · pointer only · 3834a31863be3927 · report
NeuronTune gtzheng/neurontune/algorithms/neuron_tune.py official repository unverified no licence file found · pointer only · 27146a31d6d6752d · report
prepare_data gtzheng/neurontune/algorithms/neuron_tune.py official repository unverified no licence file found · pointer only · ef12d101ba623542 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

HOC

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections