SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.17020 · NeurIPS · 2024

LFME: A Simple Framework for Learning from Multiple Experts in Domain Generalization

Yong Zhang, Yibing Song, Zhiqiang Shen, Mbzuai, Lingqiao Liu, Liang Chen, Alibaba Damo

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.17020.json · badge: /api/ran/2410.17020.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
liangchen527/LFME canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
FunctionStatusWhere it lives
channel_shuffle Ran
ran; our contract draft was wrong, not the code
liangchen527/LFME/semantic_segmentation/network/Shufflenet.py
pointer only (licence: NONE); the stored copy get_code serves, from ddghost/new_darts, is pointer only (licence: NONE) · get_code("b9da06d4f527dd6c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangchen527/LFME when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv3x3 Ran
ran; our contract draft was wrong, not the code
liangchen527/LFME/semantic_segmentation/network/Resnet.py
pointer only (licence: NONE); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangchen527/LFME when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_test_records Ran
ran; our contract draft was wrong, not the code
liangchen527/LFME/domain_generalization/domainbed/model_selection.py
pointer only (licence: NONE) · get_code("53fac8d8d949e72b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangchen527/LFME when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_cov_index_matrix Ran
ran, honoured the contract we drafted
liangchen527/LFME/semantic_segmentation/network/cov_settings.py
pointer only (licence: NONE) · get_code("db08359f3d18f85c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangchen527/LFME when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

remove_batch_norm_from_resnet Ran
ran; our contract draft was wrong, not the code
liangchen527/LFME/domain_generalization/domainbed/networks.py
pointer only (licence: NONE) · get_code("196cab71d7129d62")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangchen527/LFME when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Featurizer_OTHMix Not yet run
unverified (harvested, no recorded run)
liangchen527/LFME/domain_generalization/domainbed/networks.py
pointer only (licence: NONE) · get_code("d624e152f59e4b06")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangchen527/LFME when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_loss_aux Not yet run
unverified (harvested, no recorded run)
liangchen527/LFME/semantic_segmentation/loss.py
pointer only (licence: NONE) · get_code("e38e1b9665be8242")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, liangchen527/LFME when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 1 the same month, 2 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
conv3x3 686 other papers
629 dated earlier, 6 the same month, 34 later, 17 same year, order not determinable · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
remove_batch_norm_from_resnet 23 other papers
22 dated earlier, 1 later
1907.02893 (2019-07)
Invariant Risk Minimization
2106.02266 (2021-06)
SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization
2111.12853 (2021-11)
Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains
and 20 more not named here
get_test_records 22 other papers
22 dated earlier
1710.03077 (2017-10)
Deeper, Broader and Artier Domain Generalization
1907.02893 (2019-07)
Invariant Risk Minimization
2106.02266 (2021-06)
SAND-mask: An Enhanced Gradient Masking Strategy for the Discovery of Invariances in Domain Generalization
and 19 more not named here
channel_shuffle 19 other papers
19 dated earlier · 2 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
1606.02147 (2016-06)
ENet: A Deep Neural Network Architecture for Real-Time Semantic Segmentation
1805.12549 (2018-05)
Channel Gating Neural Networks
and 16 more not named here
Featurizer_OTHMix 2 other papers
2 dated earlier
2308.11158 (2023-08)
Domain Generalization via Rationale Invariance
2403.08649 (2024-03)
A Causal Inspired Early-Branching Structure for Domain Generalization

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Domain generalization (DG) methods aim to maintain good performance in an unseen target domain by using training data from multiple source domains. While success on certain occasions are observed, enhancing the baseline across most scenarios remains challenging. This work introduces a simple yet effective framework, dubbed learning from multiple experts (LFME), that aims to make the target model an expert in all source domains to improve DG. Specifically, besides learning the target model used in inference, LFME will also train multiple experts specialized in different domains, whose output probabilities provide professional guidance by simply regularizing the logit of the target model. Delving deep into the framework, we reveal that the introduced logit regularization term implicitly provides effects of enabling the target model to harness more information, and mining hard samples from the experts during training. Extensive experiments on benchmarks from different DG tasks demonstrate that LFME is consistently beneficial to the baseline and can achieve comparable performance to existing arts. Code is available at https://github.com/liangchen527/LFME.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.17020")
get_code_for_paper("2410.17020")
have("2410.17020")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.17020.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.17020.svg)](https://syntology.ai/paper/2410.17020)

Connect an agent — have() is free.