SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2210.14319 · NeurIPS · 2022

Explicitly Increasing Input Information Density for Vision Transformers on Small Datasets

Xiangyu Chen, Ying Qin, Wenju Xu, Andrés Bur, Cuncong Zhong, Guanghui Wang

arXiv · PDF · Open in the Atlas

Code that ran

4 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 2 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2210.14319.json · badge: /api/ran/2210.14319.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
xiangyu8/densevt canonical (classifier label)
classifier basis: classifier_2025
4 ran · 3 no recorded run
FunctionStatusWhere it lives
PatchEmbed Ran
ran on a synthesized input · constructed an object; no result was computed
xiangyu8/densevt/models/focalvit.py
pointer only (licence: NONE) · get_code("2256995db71523d9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangyu8/densevt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

WindowAttention Ran
ran on a synthesized input · constructed an object; no result was computed
xiangyu8/densevt/models/focalvit.py
pointer only (licence: NONE) · get_code("3ca18b8b2792fa48")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangyu8/densevt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_topk_closest_indice Ran
ran; our contract draft was wrong, not the code
xiangyu8/densevt/models/focalvit.py
pointer only (licence: NONE) · get_code("03883eedf849bf6a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangyu8/densevt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_partition_noreshape Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xiangyu8/densevt/models/focalvit.py
pointer only (licence: NONE) · get_code("cf5b29b2daec6574")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangyu8/densevt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

BasicLayer Not yet run
unverified (harvested, no recorded run)
xiangyu8/densevt/models/focalvit.py
pointer only (licence: NONE) · get_code("bd1c47736a9b3030")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangyu8/densevt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

FocalTransformer Not yet run
unverified (harvested, no recorded run)
xiangyu8/densevt/models/focalvit.py
pointer only (licence: NONE) · get_code("0ea62000c8198fd3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangyu8/densevt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

FocalTransformerBlock Not yet run
unverified (harvested, no recorded run)
xiangyu8/densevt/models/focalvit.py
pointer only (licence: NONE) · get_code("7b04194d50a7ba24")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xiangyu8/densevt when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
window_partition_noreshape
brick of this paper's assembly: helper
2 other papers
2 later
2304.12043 (2023-04)
MixPro: Data Augmentation with MaskMix and Progressive Attention Labeling for Vision Transformer
2404.13667 (2024-04)
MathNet: A Data-Centric Approach for Printed Mathematical Expression Recognition

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Vision Transformers have attracted a lot of attention recently since the successful implementation of Vision Transformer (ViT) on vision tasks. With vision Transformers, specifically the multi-head self-attention modules, networks can capture long-term dependencies inherently. However, these attention modules normally need to be trained on large datasets, and vision Transformers show inferior performance on small datasets when training from scratch compared with widely dominant backbones like ResNets. Note that the Transformer model was first proposed for natural language processing, which carries denser information than natural images. To boost the performance of vision Transformers on small datasets, this paper proposes to explicitly increase the input information density in the frequency domain. Specifically, we introduce selecting channels by calculating the channel-wise heatmaps in the frequency domain using Discrete Cosine Transform (DCT), reducing the size of input while keeping most information and hence increasing the information density. As a result, 25% fewer channels are kept while better performance is achieved compared with previous work. Extensive experiments demonstrate the effectiveness of the proposed approach on five small-scale datasets, including CIFAR-10/100, SVHN, Flowers-102, and Tiny ImageNet. The accuracy has been boosted up to 17.05% with Swin and Focal Transformers. Codes are available at https://github.com/xiangyu8/DenseVT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2210.14319")
get_code_for_paper("2210.14319")
have("2210.14319")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2210.14319.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2210.14319.svg)](https://syntology.ai/paper/2210.14319)

Connect an agent — have() is free.