Papers › Tuning Pre-trained Model via Moment Probing

Tuning Pre-trained Model via Moment Probing

21 Jul 2023ICCV 2023 1arXiv:2307.11342archive 2025-07-28

Mingze Gao, Qilong Wang, Zhenyi Lin, Pengfei Zhu, QinGhua Hu, Jingbo Zhou

Recently, efficient fine-tuning of large-scale pre-trained models has attracted increasing research interests, where linear probing (LP) as a fundamental module is involved in exploiting the final representations for task-dependent classification. However, most of the existing methods focus on how to effectively introduce a few of learnable parameters, and little work pays attention to the commonly used LP module. In this paper, we propose a novel Moment Probing (MP) method to further explore the potential of LP. Distinguished from LP which builds a linear classification head based on the mean of final features (e.g., word tokens for ViT) or classification tokens, our MP performs a linear classifier on feature distribution, which provides the stronger representation ability by exploiting richer statistical information inherent in features. Specifically, we represent feature distribution by its characteristic function, which is efficiently approximated by using first- and second-order moments of features. Furthermore, we propose a multi-head convolutional cross-covariance (MHC³) to compute second-order moments in an efficient and effective manner. By considering that MP could affect feature learning, we introduce a partially shared module to learn two recalibrating parameters (PSRP) for backbones based on MP, namely MP₊. Extensive experiments on ten benchmarks using various models show that our MP significantly outperforms LP and is competitive with counterparts at less training cost, while our MP₊ achieves state-of-the-art performance.

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

Code

Syntology Ran 8 of 13 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: official repository: 13 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.

mingzeg/moment-probing officialmentioned in papermentioned 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

13 samples harvested; 8 ran; 1 honoured the contract we drafted; 5 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 · honoured contract
4ran · our draft was wrong
1ran · fixture could not drive it
2ran
5unverified

Licence: 13 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 mingzeg/moment-probing. “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.

MyNorm mingzeg/moment-probing/models/as_mlp.py official repository ran · our draft was wrong no licence file found · pointer only · c3f4c265067c1717 · report
get_init_weights_vit mingzeg/moment-probing/models/vision_transformer.py official repository ran no licence file found · pointer only · def23f7d7d042968 · report
get_mce_from_accuracy mingzeg/moment-probing/utils/mce_utils.py official repository ran fingerprinted no licence file found · pointer only · a9e48df75d2e823e · report
init_ssf_scale_shift mingzeg/moment-probing/models/vision_transformer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 896b5eec245f1bab · report
param_groups_weight_decay mingzeg/moment-probing/optim_factory.py official repository ran · our draft was wrong no licence file found · pointer only · 88f4962784e09b88 · report
ssf_ada mingzeg/moment-probing/models/vision_transformer.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 61e8364b7e9bcb70 · report
window_partition mingzeg/moment-probing/models/swin_transformer.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 993ae96666b00cb5 · report
window_reverse mingzeg/moment-probing/models/swin_transformer.py official repository ran · our draft was wrong no licence file found · pointer only · 609922bd93c75117 · report
Covariance mingzeG/Moment-Probing/models/representation/MP.py official repository unverified no licence file found · pointer only · 80a1d69c480f2031 · report
Moment_Probing_ViT mingzeG/Moment-Probing/models/representation/MP.py official repository unverified no licence file found · pointer only · 28fa2c5680a21935 · report
checkpoint_filter_fn mingzeg/moment-probing/models/convnext.py official repository unverified no licence file found · pointer only · 7619bf7f57c5d2b6 · report
group_parameters mingzeg/moment-probing/optim_factory.py official repository unverified no licence file found · pointer only · 61a14e104fefeb56 · report
group_with_matcher mingzeg/moment-probing/optim_factory.py official repository unverified no licence file found · pointer only · 1fd037cb67e5a59e · report

Tasks

Image Classificationmodel

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

CLIPConvNeXtDeiTFocusMAESwin 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