Papers › Meta Learning on a Sequence of Imbalanced Domains with Difficulty Awareness

Meta Learning on a Sequence of Imbalanced Domains with Difficulty Awareness

29 Sep 2021ICCV 2021 10arXiv:2109.14120archive 2025-07-28

Zhenyi Wang, Tiehang Duan, Le Fang, Qiuling Suo, Mingchen Gao

Recognizing new objects by learning from a few labeled examples in an evolving environment is crucial to obtain excellent generalization ability for real-world machine learning systems. A typical setting across current meta learning algorithms assumes a stationary task distribution during meta training. In this paper, we explore a more practical and challenging setting where task distribution changes over time with domain shift. Particularly, we consider realistic scenarios where task distribution is highly imbalanced with domain labels unavailable in nature. We propose a kernel-based method for domain change detection and a difficulty-aware memory management mechanism that jointly considers the imbalanced domain size and domain importance to learn across domains continuously. Furthermore, we introduce an efficient adaptive task sampling method during meta training, which significantly reduces task gradient variance with theoretical guarantees. Finally, we propose a challenging benchmark with imbalanced domain sequences and varied domain difficulty. We have performed extensive evaluations on the proposed benchmark, demonstrating the effectiveness of our method. We made our code publicly available.

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

Code

Syntology Ran 3 of 11 code samples harvested from 1 repository linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong.

By repository: official repository: 11 samples from 1 repository, 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.

joey-wang123/imbalancemeta officialmentioned in paperpytorchMIT 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

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

Licence: 0 of the 11 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 joey-wang123/imbalancemeta. “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.

conv3x3 joey-wang123/imbalancemeta/net/resnet.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
convert_parameters joey-wang123/imbalancemeta/domain_shift.py official repository ran · honoured contract fingerprinted MIT (permissive) · 67438f96ae93d420 · report
select_optimal_parameters joey-wang123/imbalancemeta/domain_shift.py official repository ran · honoured contract MIT (permissive) · 94b2f3697cce4519 · report
apply_grad joey-wang123/imbalancemeta/utils.py official repository unverified MIT (permissive) · 91c4c83d285d1bfb · report
conv3x3 joey-wang123/imbalancemeta/model.py official repository unverified MIT (permissive) · a96935ee89a7588f · report
conv3x3 joey-wang123/imbalancemeta/net/convnet.py official repository unverified MIT (permissive) · 0277eda759fbe6db · report
conv3x3act joey-wang123/imbalancemeta/model.py official repository unverified MIT (permissive) · 67cc67d3bf1a65dd · report
conv3x3nopool joey-wang123/imbalancemeta/model.py official repository unverified MIT (permissive) · a6388be503db2f17 · report
dense joey-wang123/imbalancemeta/net/convnet.py official repository unverified MIT (permissive) · 79289153d293347d · report
gauss_kernel joey-wang123/imbalancemeta/utils.py official repository unverified MIT (permissive) · 635fb4926879256e · report
get_accuracy joey-wang123/imbalancemeta/utils.py official repository unverified MIT (permissive) · 3368a0b09ca316c2 · report

Tasks

Change DetectionManagementMeta-Learning

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