Papers › FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization

FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization

24 Mar 2023ICCV 2023 1arXiv:2303.14189archive 2025-07-28

Pavan Kumar Anasosalu Vasu, James Gabriel, Jeff Zhu, Oncel Tuzel, Anurag Ranjan

The recent amalgamation of transformer and convolutional designs has led to steady improvements in accuracy and efficiency of the models. In this work, we introduce FastViT, a hybrid vision transformer architecture that obtains the state-of-the-art latency-accuracy trade-off. To this end, we introduce a novel token mixing operator, RepMixer, a building block of FastViT, that uses structural reparameterization to lower the memory access cost by removing skip-connections in the network. We further apply train-time overparametrization and large kernel convolutions to boost accuracy and empirically show that these choices have minimal effect on latency. We show that - our model is 3.5x faster than CMT, a recent state-of-the-art hybrid transformer architecture, 4.9x faster than EfficientNet, and 1.9x faster than ConvNeXt on a mobile device for the same accuracy on the ImageNet dataset. At similar latency, our model obtains 4.2% better Top-1 accuracy on ImageNet than MobileOne. Our model consistently outperforms competing architectures across several tasks -- image classification, detection, segmentation and 3D mesh regression with significant improvement in latency on both a mobile device and a desktop GPU. Furthermore, our model is highly robust to out-of-distribution samples and corruptions, improving over competing robust models. Code and models are available at https://github.com/apple/ml-fastvit.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology 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="2303.14189")

Code

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

By repository: community (archive-listed): 5 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

apple/ml-fastvit officialmentioned in papermentioned on GitHubpytorchNOASSERTION report
rwightman/pytorch-image-models officialmentioned in papermentioned on GitHubpytorch report
balala8/FastViT_pytorch mentioned on GitHubpytorch 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

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

1ran
4unverified

Licence: 5 of the 5 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 balala8/FastViT_pytorch. “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.

RepBlock balala8/FastViT_pytorch/model.py community (archive-listed) ran fingerprinted no licence file found · pointer only · 619ff60ae2e6b453 · report
AttnTokenMixer balala8/FastViT_pytorch/model.py community (archive-listed) unverified no licence file found · pointer only · 8a8b8dbae01c1b35 · report
FastStage balala8/FastViT_pytorch/model.py community (archive-listed) unverified no licence file found · pointer only · 5208ceab2ca87ffd · report
FastViTBlock balala8/FastViT_pytorch/model.py community (archive-listed) unverified no licence file found · pointer only · f22147add9162e32 · report
FastVit balala8/FastViT_pytorch/model.py community (archive-listed) unverified no licence file found · pointer only · 753ec9398525102f · report

Tasks

3D Hand Pose EstimationImage ClassificationSemantic Segmentationimage-classification

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
3D Hand Pose Estimation FreiHAND FastViT-MA36 PA-F@15mm 0.981 #17 of 33 Archive leaderboard report
3D Hand Pose Estimation FreiHAND FastViT-MA36 PA-F@5mm 0.722 #17 of 33 Archive leaderboard report
3D Hand Pose Estimation FreiHAND FastViT-MA36 PA-MPJPE 6.6 #17 of 33 Archive leaderboard report
3D Hand Pose Estimation FreiHAND FastViT-MA36 PA-MPVPE 6.7 #17 of 33 Archive leaderboard report
Image Classification ImageNet FastViT-MA36 Top 1 Accuracy 84.9% #276 of 1060 Archive leaderboard report
Image Classification ImageNet FastViT-SA36 Top 1 Accuracy 84.5% #307 of 1060 Archive leaderboard report
Image Classification ImageNet FastViT-SA24 Top 1 Accuracy 82.6% #521 of 1060 Archive leaderboard report
Image Classification ImageNet FastViT-SA12 Top 1 Accuracy 80.6% #693 of 1060 Archive leaderboard report
Image Classification ImageNet FastViT-S12 Top 1 Accuracy 79.8% #737 of 1060 Archive leaderboard report
Image Classification ImageNet FastViT-T12 Top 1 Accuracy 79.1% #780 of 1060 Archive leaderboard report
Image Classification ImageNet FastViT-T8 Top 1 Accuracy 75.6% #942 of 1060 Archive leaderboard report
Semantic Segmentation ADE20K FastViT-MA36 Mean IoU (class) 44.6 #232 of 235 Archive leaderboard report
Semantic Segmentation ADE20K FastViT-SA36 Mean IoU (class) 42.9 #233 of 235 Archive leaderboard report
Semantic Segmentation ADE20K FastViT-SA24 Mean IoU (class) 41 #234 of 235 Archive leaderboard report
Semantic Segmentation ADE20K FastViT-SA12 Mean IoU (class) 38 #235 of 235 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

1x1 ConvolutionAttentionAverage PoolingBatch NormalizationConvNeXtConvolutionDense ConnectionsDepthwise ConvolutionDepthwise Separable ConvolutionDropoutInverted Residual BlockLayer NormalizationLinear LayerMulti-Head AttentionPointwise ConvolutionRMSPropReLUResidual ConnectionSigmoid ActivationSoftmaxSqueeze-and-Excitation BlockVision 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