Papers › AdaMatch: A Unified Approach to Semi-Supervised Learning and Domain Adaptation

AdaMatch: A Unified Approach to Semi-Supervised Learning and Domain Adaptation

8 Jun 2021ICLR 2022 4arXiv:2106.04732archive 2025-07-28

David Berthelot, Rebecca Roelofs, Kihyuk Sohn, Nicholas Carlini, Alex Kurakin

We extend semi-supervised learning to the problem of domain adaptation to learn significantly higher-accuracy models that train on one data distribution and test on a different one. With the goal of generality, we introduce AdaMatch, a method that unifies the tasks of unsupervised domain adaptation (UDA), semi-supervised learning (SSL), and semi-supervised domain adaptation (SSDA). In an extensive experimental study, we compare its behavior with respective state-of-the-art techniques from SSL, SSDA, and UDA on vision classification tasks. We find AdaMatch either matches or significantly exceeds the state-of-the-art in each case using the same hyper-parameters regardless of the dataset or task. For example, AdaMatch nearly doubles the accuracy compared to that of the prior state-of-the-art on the UDA task for DomainNet and even exceeds the accuracy of the prior state-of-the-art obtained with pre-training by 6.4% when AdaMatch is trained completely from scratch. Furthermore, by providing AdaMatch with just one labeled example per class from the target domain (i.e., the SSDA setting), we increase the target accuracy by an additional 6.1%, and with 5 labeled examples, by 13.6%.

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

Code

Syntology Ran 8 of 20 code samples harvested from 4 repositories linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 5 ran with no contract checked.

By repository: community (archive-listed): 20 samples from 4 repositories, 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.

google-research/adamatch officialmentioned in papermentioned on GitHubjaxApache-2.0 report
smkim7-kr/AdaMatch-pytorch mentioned on GitHubpytorchMIT report
yizhe-ang/AdaMatch-PyTorch mentioned on GitHubpytorchMIT report
zwenyu/UniSSDA mentioned on GitHubpytorch report
zysymu/AdaMatch-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

20 samples harvested; 8 ran; 1 honoured the contract we drafted; 12 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 · honoured contract
2ran · our draft was wrong
5ran
12unverified

Licence: 9 of the 20 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 4 repositories linked to this paper, official or community; each sample names its own and says which. “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.

Adamatch zysymu/AdaMatch-pytorch/adamatch.py community (archive-listed) ran MIT (permissive) · 8acbdc077110ba9b · report
Algorithm zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 39253084070f2f95 · report
Classifier zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 9a932222d08965d6 · report
GradReverse zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) ran no licence file found · pointer only · 2b47a2ddfc97b026 · report
conv3x3 smkim7-kr/AdaMatch-pytorch/models.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 00e569acd6b45ef0 · report
grad_reverse zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) ran · honoured contract fingerprinted no licence file found · pointer only · 568eece08bf61ac5 · report
inv_lr_scheduler zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · f069b56fa07b8d15 · report
pretrain zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) ran · metamorphic tier: deterministic no licence file found · pointer only · 08c87afb301070b5 · report
AdaMatch zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) unverified no licence file found · pointer only · 4fcf58e0e0f0df7d · report
AdaMatch_loss zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) unverified no licence file found · pointer only · 3d16ce208399a304 · report
LookaheadAdam smkim7-kr/AdaMatch-pytorch/src/optimizer.py community (archive-listed) unverified MIT (permissive) · c9f6230a51d9b5e9 · report
Over9000 smkim7-kr/AdaMatch-pytorch/src/optimizer.py community (archive-listed) unverified MIT (permissive) · 0f150f7b3d28baf0 · report
accuracy smkim7-kr/AdaMatch-pytorch/src/utils.py community (archive-listed) unverified MIT (permissive) · 4c0ed8a3ffc26a8b · report
cosine_schedule yizhe-ang/AdaMatch-PyTorch/trainers/utils.py community (archive-listed) unverified MIT (permissive) · 90da0a5322508429 · report
get_logger smkim7-kr/AdaMatch-pytorch/src/logger.py community (archive-listed) unverified MIT (permissive) · 6066adc7a58afde6 · report
load_model smkim7-kr/AdaMatch-pytorch/models.py community (archive-listed) unverified MIT (permissive) · 33836088c3046a9e · report
make_optimizer smkim7-kr/AdaMatch-pytorch/src/optimizer.py community (archive-listed) unverified MIT (permissive) · 0c2325bd115425e9 · report
make_scheduler smkim7-kr/AdaMatch-pytorch/src/scheduler.py community (archive-listed) unverified MIT (permissive) · 69813457472b3348 · report
unnormalize_img yizhe-ang/AdaMatch-PyTorch/trainers/utils.py community (archive-listed) unverified MIT (permissive) · 33cf5d0c4a76211f · report
weights_init zwenyu/UniSSDA/algorithms/algorithms.py community (archive-listed) unverified no licence file found · pointer only · fad33bd48f70436d · report

Tasks

Domain AdaptationSemi-supervised Domain AdaptationUnsupervised Domain Adaptation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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