Papers › Can Biases in ImageNet Models Explain Generalization?

Can Biases in ImageNet Models Explain Generalization?

1 Apr 2024CVPR 2024 1arXiv:2404.01509archive 2025-07-28

Paul Gavrikov, Janis Keuper

The robust generalization of models to rare, in-distribution (ID) samples drawn from the long tail of the training distribution and to out-of-training-distribution (OOD) samples is one of the major challenges of current deep learning methods. For image classification, this manifests in the existence of adversarial attacks, the performance drops on distorted images, and a lack of generalization to concepts such as sketches. The current understanding of generalization in neural networks is very limited, but some biases that differentiate models from human vision have been identified and might be causing these limitations. Consequently, several attempts with varying success have been made to reduce these biases during training to improve generalization. We take a step back and sanity-check these attempts. Fixing the architecture to the well-established ResNet-50, we perform a large-scale study on 48 ImageNet models obtained via different training methods to understand how and if these biases - including shape bias, spectral biases, and critical bands - interact with generalization. Our extensive study results reveal that contrary to previous findings, these biases are insufficient to accurately predict the generalization of a model holistically. We provide access to all checkpoints and evaluation code at https://github.com/paulgavrikov/biases_vs_generalization

PaperPDFConference PDFCodeCode 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="2404.01509")

Code

Syntology Ran 6 of 9 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 6 ran with no contract checked.

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

paulgavrikov/biases_vs_generalization officialmentioned in papermentioned on GitHubpytorchCC-BY-SA-4.0 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

9 samples harvested; 6 ran; 0 honoured the contract we drafted; 3 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.

6ran
3unverified

Licence: 9 of the 9 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 paulgavrikov/biases_vs_generalization. “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.

bandpass_filter paulgavrikov/biases_vs_generalization/code/eval_spectral.py official repository ran fingerprinted CC-BY-SA-4.0 (copyleft) · pointer only · 1468a1f57586ad4d · report
contrast_normalize_np paulgavrikov/biases_vs_generalization/code/eval_criticalband.py official repository ran fingerprinted CC-BY-SA-4.0 (copyleft) · pointer only · e8501bbc645028fa · report
deque_loader paulgavrikov/biases_vs_generalization/code/eval_imagenet_adv.py official repository ran CC-BY-SA-4.0 (copyleft) · pointer only · 71514d366caae3fe · report
parse_aa_log paulgavrikov/biases_vs_generalization/code/eval_imagenet_adv.py official repository ran CC-BY-SA-4.0 (copyleft) · pointer only · f96ad5482ab2b9ba · report
r50_tf_to_torch paulgavrikov/biases_vs_generalization/code/model_zoo.py official repository ran CC-BY-SA-4.0 (copyleft) · pointer only · b1945a1c081f47c5 · report
rmspower paulgavrikov/biases_vs_generalization/code/eval_criticalband.py official repository ran CC-BY-SA-4.0 (copyleft) · pointer only · 54537b5da9539618 · report
find_run_id_by_name paulgavrikov/biases_vs_generalization/code/eval_imagenet_c.py official repository unverified CC-BY-SA-4.0 (copyleft) · pointer only · 2c006f49031dde59 · report
get_normalized_model paulgavrikov/biases_vs_generalization/code/model_zoo.py official repository unverified CC-BY-SA-4.0 (copyleft) · pointer only · 461c3ff19b612b52 · report
load_state_dict_from_gdrive paulgavrikov/biases_vs_generalization/code/model_zoo.py official repository unverified CC-BY-SA-4.0 (copyleft) · pointer only · f4f66628816fbe4e · report

Tasks

Image Classificationimage-classification

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionConvolutionDense ConnectionsLayer NormalizationLinear LayerMulti-Head AttentionResidual ConnectionSoftmaxVision Transformer

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