Papers › LFM: Leveraging Foundation Models for Source-Free Universal Domain Adaptation

LFM: Leveraging Foundation Models for Source-Free Universal Domain Adaptation

20 Jul 2026arXiv:2607.17653added by Syntology

Jing Li, Pan Liu, Meng Zhao, Wanli Xue, Yanhong Yang, Xu Cheng, Fan Shi, Jianhua Zhang, Qinghua Hu, Shengyong Chen

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Source-free universal domain adaptation (SF-UniDA) adapts a pre-trained source model to an unlabeled target domain under both covariate and label shifts, without access to source data. However, existing SF-UniDA methods rely on inefficient techniques such as threshold tuning and clustering. Foundation models (FMs), known for their generalization and zero-shot capabilities, remain underexplored in SF-UniDA. In this paper, we propose a framework that leverages foundation models (LFM) for SF-UniDA. We use a vision-language model (VLM) to compute similarities between target samples and text labels, including those for unknown classes generated by prompting a large language model. The label shift type is determined by analyzing the coefficient of variation of a similarity-based sample-level score. Unknown samples are identified using a binary Gaussian mixture model fitted to another similarity-based metric. Under a consensus strategy, the pseudo-labels generated by the VLM are refined by the target model initialized with the pre-trained source model, integrating knowledge from both the source domain and foundation models. Finally, these refined pseudo-labels are used to train the target model. Extensive experiments across all possible label shifts and multiple benchmarks demonstrate the effectiveness and superiority of our proposed LFM framework. Our code is available at https://github.com/iamjingli/LFM.

PaperPDFCode 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="2607.17653")

Code

Syntology Ran 19 of 30 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 12 ran · our draft was wrong; 4 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: found in paper text by Syntology: 26 samples from 1 repository, 15 ran; 4 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

iamjingli/LFM found in paper text by Syntology report

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

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

12ran · our draft was wrong
4ran · fixture could not drive it
3ran
11unverified

Licence: 4 of the 30 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 iamjingli/LFM. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

Classifier iamjingli/LFM/train_target.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 590aa0969d97b025 · report
Embedding iamjingli/LFM/train_target.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 85470d3ab6c52602 · report
SFUniDADataset iamjingli/LFM/train_target.py found in paper text by Syntology ran MIT (permissive) · db868eb88f5a2b9b · report
compute_h_score iamjingli/LFM/train_target.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 57ee79329c2933a6 · report
get_ood_scores_clip iamjingli/LFM/train_target.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · 51eb44363c6c9cea · report
get_pseudo_labels iamjingli/LFM/train_target.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · beb9eadd0bfb2292 · report
load_json iamjingli/LFM/train_target.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 1069918b276d2855 · report
log_args iamjingli/LFM/train_target.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · a7928c7cf111366a · report
obtain_gpt_class_and_save iamjingli/LFM/train_target.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · e21790f387e86204 · report
pre_filter iamjingli/LFM/train_target.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · d9512c44141b4aa8 · report
remove_overlap_class iamjingli/LFM/train_target.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · f32a4c158be3016c · report
set_logger iamjingli/LFM/train_target.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 4c7a1e20b84ac632 · report
test iamjingli/LFM/train_target.py found in paper text by Syntology ran · fixture could not drive it MIT (permissive) · fe73cf9445756920 · report
test_transform iamjingli/LFM/train_target.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 13b7b1c692c187e0 · report
train_transform iamjingli/LFM/train_target.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · ada9656c14c75934 · report
PromptGenerator iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 4db77fc0e9bf39b0 · report
ResBase iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 380df4780014a94c · report
SFUniDA iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 6153fbffb3985887 · report
VGGBase iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 112349e40ab69ddb · report
get_completion iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 4528e48fcffa0b3d · report
get_completion_from_messages iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · dd65b4eaa2bc257e · report
get_idx iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 780faf558bba6b54 · report
load_llm_classes iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 6bad6d16ba57825e · report
main iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 51b1a343a1c5c316 · report
set_model_clip iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 92aa3c44ba29df0c · report
tr iamjingli/LFM/train_target.py found in paper text by Syntology unverified MIT (permissive) · 721005b41f811e51 · report
Entropy identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 94b5622f0aa7add1 · report
lr_scheduler identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 0b7ffc9f8b77529c · report
op_copy identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 93a11f62e4a129f0 · report
stringtolist identical code first harvested elsewhere ran · our draft was wrong fingerprinted licence of this copy not recorded · 46062947cf3ab0e6 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2607.17653, was issued in July 2026, after that date, so the archive has no leaderboard rows for it.

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