Papers › The Principle of Diversity: Training Stronger Vision Transformers Calls for Reducing...

The Principle of Diversity: Training Stronger Vision Transformers Calls for Reducing All Levels of Redundancy

12 Mar 2022CVPR 2022 1arXiv:2203.06345archive 2025-07-28

Tianlong Chen, Zhenyu Zhang, Yu Cheng, Ahmed Awadallah, Zhangyang Wang

Vision transformers (ViTs) have gained increasing popularity as they are commonly believed to own higher modeling capacity and representation flexibility, than traditional convolutional networks. However, it is questionable whether such potential has been fully unleashed in practice, as the learned ViTs often suffer from over-smoothening, yielding likely redundant models. Recent works made preliminary attempts to identify and alleviate such redundancy, e.g., via regularizing embedding similarity or re-injecting convolution-like structures. However, a "head-to-toe assessment" regarding the extent of redundancy in ViTs, and how much we could gain by thoroughly mitigating such, has been absent for this field. This paper, for the first time, systematically studies the ubiquitous existence of redundancy at all three levels: patch embedding, attention map, and weight space. In view of them, we advocate a principle of diversity for training ViTs, by presenting corresponding regularizers that encourage the representation diversity and coverage at each of those levels, that enabling capturing more discriminative information. Extensive experiments on ImageNet with a number of ViT backbones validate the effectiveness of our proposals, largely eliminating the observed ViT redundancy and significantly boosting the model generalization. For example, our diversified DeiT obtains 0.70%~1.76% accuracy boosts on ImageNet with highly reduced similarity. Our codes are fully available in https://github.com/VITA-Group/Diverse-ViT.

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="2203.06345")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 9 ran with no contract checked.

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

vita-group/diverse-vit officialmentioned in paperpytorchMIT 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

13 samples harvested; 10 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.

1ran · fixture could not drive it
9ran
3unverified

Licence: 0 of the 13 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 VITA-Group/Diverse-ViT. “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.

Loss_contrastive VITA-Group/Diverse-ViT/reg.py official repository ran fingerprinted MIT (permissive) · 917f7c598d2d4810 · report
Loss_cosine VITA-Group/Diverse-ViT/reg.py official repository ran MIT (permissive) · 9d7670f2c022eca9 · report
Loss_mixing VITA-Group/Diverse-ViT/reg.py official repository ran fingerprinted MIT (permissive) · 146e4615af0a0d1f · report
get_batch VITA-Group/Diverse-ViT/gradient_utils.py official repository ran · fixture could not drive it MIT (permissive) · c1e69f1ba76b4145 · report
get_ordered_params VITA-Group/Diverse-ViT/gradient_utils.py official repository ran MIT (permissive) · a04f6c217a55c7c9 · report
get_scale_stats VITA-Group/Diverse-ViT/gradient_utils.py official repository ran MIT (permissive) · 61109833276c1a1a · report
mixup_target VITA-Group/Diverse-ViT/mix.py official repository ran MIT (permissive) · b593bfa372a89274 · report
one_hot VITA-Group/Diverse-ViT/mix.py official repository ran MIT (permissive) · a1e046d46f0b9ca0 · report
rand_bbox VITA-Group/Diverse-ViT/mix.py official repository ran MIT (permissive) · d0b649ce5448ea07 · report
resize_pos_embed VITA-Group/Diverse-ViT/vision_transformer_diverse.py official repository ran MIT (permissive) · 743923947c250e6c · report
build_dataset VITA-Group/Diverse-ViT/datasets.py official repository unverified MIT (permissive) · 49c67c60672b93ae · report
build_transform VITA-Group/Diverse-ViT/datasets.py official repository unverified MIT (permissive) · 3bc74137ab36aa79 · report
checkpoint_filter_fn VITA-Group/Diverse-ViT/vision_transformer_diverse.py official repository unverified MIT (permissive) · df40006af8733223 · report

Tasks

AllDiversity

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

AttentionAttention DropoutDeiTDense ConnectionsDropoutFeedforward NetworkLinear LayerMulti-Head AttentionSoftmax

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