Papers › Erasing the Bias: Fine-Tuning Foundation Models for Semi-Supervised Learning

Erasing the Bias: Fine-Tuning Foundation Models for Semi-Supervised Learning

20 May 2024arXiv:2405.11756archive 2025-07-28

Kai Gan, Tong Wei

Semi-supervised learning (SSL) has witnessed remarkable progress, resulting in the emergence of numerous method variations. However, practitioners often encounter challenges when attempting to deploy these methods due to their subpar performance. In this paper, we present a novel SSL approach named FineSSL that significantly addresses this limitation by adapting pre-trained foundation models. We identify the aggregated biases and cognitive deviation problems inherent in foundation models, and propose a simple yet effective solution by imposing balanced margin softmax and decoupled label smoothing. Through extensive experiments, we demonstrate that FineSSL sets a new state of the art for SSL on multiple benchmark datasets, reduces the training cost by over six times, and can seamlessly integrate various fine-tuning and modern SSL algorithms. The source code is available at https://github.com/Gank0078/FineSSL.

PaperPDFCodeCode 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="2405.11756")

Code

Syntology Ran 19 of 24 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 5 ran · our draft was wrong; 14 ran with no contract checked.

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

gank0078/finessl 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

24 samples harvested; 19 ran; 0 honoured the contract we drafted; 5 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.

5ran · our draft was wrong
14ran
5unverified

Licence: 24 of the 24 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 gank0078/finessl. “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.

AdaptFormer gank0078/finessl/model.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 8a507254368b1ac4 · report
Adapter gank0078/finessl/model.py official repository ran no licence file found · pointer only · 3df5cb5be41b7d33 · report
AutoContrast Gank0078/FineSSL/datasets/randaugment.py official repository ran no licence file found · pointer only · c6e7c3451c85404f · report
Brightness Gank0078/FineSSL/datasets/randaugment.py official repository ran no licence file found · pointer only · 0d1a8d6ce2015fc7 · report
Color Gank0078/FineSSL/datasets/randaugment.py official repository ran no licence file found · pointer only · 32cb3f5760fa593e · report
LoRA gank0078/finessl/model.py official repository ran · metamorphic tier: invariant no licence file found · pointer only · 43c4c5b948a24c2a · report
SSF gank0078/finessl/model.py official repository ran · metamorphic tier: invariant no licence file found · pointer only · c4e927462d3c6255 · report
VPT gank0078/finessl/model.py official repository ran · metamorphic tier: invariant no licence file found · pointer only · 8809b24309edd1b4 · report
ViT_Head gank0078/finessl/model.py official repository ran no licence file found · pointer only · dd2afb67421effa9 · report
balanced_softmax_loss Gank0078/FineSSL/utils/losses.py official repository ran no licence file found · pointer only · ec713fa2011796da · report
basic_clean Gank0078/FineSSL/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 98f385d847636a3e · report
compute_adjustment_by_py Gank0078/FineSSL/trainer.py official repository ran no licence file found · pointer only · d39d467199ab65dc · report
compute_adjustment_list Gank0078/FineSSL/datasets/data.py official repository ran no licence file found · pointer only · fb866335bba20e2b · report
focal_loss Gank0078/FineSSL/utils/losses.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 4dcf06ba28983266 · report
get_pairs Gank0078/FineSSL/clip/simple_tokenizer.py official repository ran · our draft was wrong no licence file found · pointer only · d919ae32e5e4e616 · report
interleave Gank0078/FineSSL/trainer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · f6043e7798bcabbd · report
logit_adjusted_loss Gank0078/FineSSL/utils/losses.py official repository ran no licence file found · pointer only · f3db85434e77ebab · report
read_txt_as_list Gank0078/FineSSL/datasets/data.py official repository ran no licence file found · pointer only · e4dd766bcd0d9671 · report
whitespace_clean Gank0078/FineSSL/clip/simple_tokenizer.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 9542161e9640b858 · report
ViT_Tuner gank0078/finessl/model.py official repository unverified no licence file found · pointer only · 83ed3ade497a3a83 · report
build_model Gank0078/FineSSL/clip/model.py official repository unverified no licence file found · pointer only · c47aa9e5b049a11d · report
compute_accuracy Gank0078/FineSSL/utils/evaluator.py official repository unverified no licence file found · pointer only · da48cf51668411a0 · report
load Gank0078/FineSSL/clip/clip.py official repository unverified no licence file found · pointer only · 86ff4fcbd01d5f8a · report
transpose Gank0078/FineSSL/datasets/data.py official repository unverified no licence file found · pointer only · 5479cd4eeee14d78 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Softmax

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