Papers › Self-Challenging Improves Cross-Domain Generalization

Self-Challenging Improves Cross-Domain Generalization

5 Jul 2020ECCV 2020 8arXiv:2007.02454archive 2025-07-28

Zeyi Huang, Haohan Wang, Eric P. Xing, Dong Huang

Convolutional Neural Networks (CNN) conduct image classification by activating dominant features that correlated with labels. When the training and testing data are under similar distributions, their dominant features are similar, which usually facilitates decent performance on the testing data. The performance is nonetheless unmet when tested on samples from different distributions, leading to the challenges in cross-domain image classification. We introduce a simple training heuristic, Representation Self-Challenging (RSC), that significantly improves the generalization of CNN to the out-of-domain data. RSC iteratively challenges (discards) the dominant features activated on the training data, and forces the network to activate remaining features that correlates with labels. This process appears to activate feature representations applicable to out-of-domain data without prior knowledge of new domain and without learning extra network parameters. We present theoretical properties and conditions of RSC for improving cross-domain generalization. The experiments endorse the simple, effective and architecture-agnostic nature of our RSC method.

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

Code

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

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

CiaoHe/Nex_RSC mentioned on GitHubpytorchBSD-2-Clause report
DarioFontanel/OWR-VisualDomains mentioned on GitHubpytorch report
DeLightCMU/RSC mentioned on GitHubpytorchBSD-2-Clause report
EscVM/RSC-Wrapper mentioned on GitHubtfApache-2.0 report
HaohanWang/ImageNet-Sketch mentioned on GitHubpytorchMIT report
cherise215/maxstyle mentioned on GitHubpytorch report
dnap512/SelfReg mentioned on GitHubpytorchMIT report
facebookresearch/DomainBed 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

7 samples harvested; 3 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.

2ran · our draft was wrong
1ran
4unverified

Licence: 0 of the 7 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 3 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.

conv1x1 DeLightCMU/RSC/ImageNet/resnet.py community (archive-listed) ran · our draft was wrong BSD-2-Clause (permissive) · d9def42110729a85 · report
conv3x3 DeLightCMU/RSC/ImageNet/resnet.py community (archive-listed) ran · our draft was wrong BSD-2-Clause (permissive) · 160bb14bd76201b4 · report
get_optim_and_scheduler CiaoHe/Nex_RSC/Domain_Generalization/optimizer/optimizer_helper.py community (archive-listed) ran BSD-2-Clause (permissive) · 52231145e6cbb0b4 · report
grayscale EscVM/RSC-Wrapper/utils/data_augmentation_pacs.py community (archive-listed) unverified Apache-2.0 (permissive) · c72ea600b55ead51 · report
horizontal_flip EscVM/RSC-Wrapper/utils/data_augmentation_pacs.py community (archive-listed) unverified Apache-2.0 (permissive) · 49b9eb19eaab3cd4 · report
random_crop EscVM/RSC-Wrapper/utils/data_augmentation_pacs.py community (archive-listed) unverified Apache-2.0 (permissive) · ca3b7595e2160b63 · report
resnet18 DeLightCMU/RSC/ImageNet/resnet.py community (archive-listed) unverified BSD-2-Clause (permissive) · b7acfb34cb504027 · report

Tasks

Domain GeneralizationImage Classificationimage-classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Domain Generalization Office-Home RSC (ResNet18) Average Accuracy 63.12 #43 of 45 Archive leaderboard report
Domain Generalization PACS RSC (ResNet-50) Average Accuracy 87.83 #35 of 133 Archive leaderboard report
Domain Generalization PACS RSC (Resnet-50, DomainBed) Average Accuracy 85.2 #53 of 133 Archive leaderboard report
Domain Generalization PACS RSC (Resnet-18) Average Accuracy 85.15 #54 of 133 Archive leaderboard report
Domain Generalization PACS RSC (AlexNet) Average Accuracy 76.05 #102 of 133 Archive leaderboard report
Domain Generalization VLCS RSC (AlexNet) Average Accuracy 75.43 #36 of 37 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.

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