Papers › Adaptive Cross-Modal Few-Shot Learning

Adaptive Cross-Modal Few-Shot Learning

19 Feb 2019NeurIPS 2019 12arXiv:1902.07104archive 2025-07-28

Chen Xing, Negar Rostamzadeh, Boris N. Oreshkin, Pedro O. Pinheiro

Metric-based meta-learning techniques have successfully been applied to few-shot classification problems. In this paper, we propose to leverage cross-modal information to enhance metric-based few-shot learning methods. Visual and semantic feature spaces have different structures by definition. For certain concepts, visual features might be richer and more discriminative than text ones. While for others, the inverse might be true. Moreover, when the support from visual information is limited in image classification, semantic representations (learned from unsupervised text corpora) can provide strong prior knowledge and context to help learning. Based on these two intuitions, we propose a mechanism that can adaptively combine information from both modalities according to new image categories to be learned. Through a series of experiments, we show that by this adaptive combination of the two modalities, our model outperforms current uni-modality few-shot learning methods and modality-alignment methods by a large margin on all benchmarks and few-shot scenarios tested. Experiments also show that our model can effectively adjust its focus on the two modalities. The improvement in performance is particularly large when the number of shots is very small.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

Syntology Ran 17 of 19 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 17 ran with no contract checked.

By repository: named in the paper: 19 samples from 1 repository, 17 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ElementAI/am3 mentioned in papertfApache-2.0 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

19 samples harvested; 17 ran; 0 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

17ran
2unverified

Licence: 0 of the 19 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 ElementAI/am3. “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.

find_variables ElementAI/am3/common/gen_experiments.py named in the paper ran Apache-2.0 (permissive) · cbbf64827d3199c5 · report
get_class_label_dict ElementAI/am3/datasets/create_dataset_miniImagenet.py named in the paper ran Apache-2.0 (permissive) · 4f18cfb74fe288f6 · report
get_embeddings_for_labels ElementAI/am3/datasets/create_dataset_miniImagenet.py named in the paper ran Apache-2.0 (permissive) · 91b837dca63a7bf9 · report
get_embeddings_for_labels ElementAI/am3/datasets/create_dataset_tieredimagenet.py named in the paper ran Apache-2.0 (permissive) · c48c428776f19715 · report
get_image_size ElementAI/am3/AM3_protonet++.py named in the paper ran fingerprinted Apache-2.0 (permissive) · 0168d492531ad3ee · report
get_image_size ElementAI/am3/protonet++.py named in the paper ran Apache-2.0 (permissive) · b6df602c207be4b9 · report
get_logdir_name ElementAI/am3/AM3_protonet++.py named in the paper ran Apache-2.0 (permissive) · e541ab0993b64823 · report
get_logdir_name ElementAI/am3/AM3_TADAM.py named in the paper ran Apache-2.0 (permissive) · c780ffa29ac8f9a1 · report
get_logdir_name ElementAI/am3/protonet++.py named in the paper ran Apache-2.0 (permissive) · 80d3fc4aec7efb49 · report
get_logdir_name ElementAI/am3/tadam.py named in the paper ran Apache-2.0 (permissive) · 0db0b17091e1b14b · report
leaky_relu ElementAI/am3/AM3_TADAM.py named in the paper ran Apache-2.0 (permissive) · 39cea52f987c48c0 · report
load_and_save_params ElementAI/am3/common/gen_experiments.py named in the paper ran Apache-2.0 (permissive) · e6d118defb0d5895 · report
load_embedding_dict ElementAI/am3/datasets/create_dataset_miniImagenet.py named in the paper ran Apache-2.0 (permissive) · 8bda67d739f8e97d · report
load_embedding_dict ElementAI/am3/datasets/create_dataset_tieredimagenet.py named in the paper ran Apache-2.0 (permissive) · 08ce09d3ac0a1d2f · report
make_experiment_name ElementAI/am3/common/gen_experiments.py named in the paper ran Apache-2.0 (permissive) · fbc88036d44ff13c · report
make_task ElementAI/am3/datasets/data.py named in the paper ran Apache-2.0 (permissive) · d98246181e886b12 · report
variables_by_name ElementAI/am3/common/util.py named in the paper ran Apache-2.0 (permissive) · 48280b7cf494bec4 · report
unique_variable_by_name ElementAI/am3/common/util.py named in the paper unverified Apache-2.0 (permissive) · 1618d44f2e0a214e · report
variable_report ElementAI/am3/common/util.py named in the paper unverified Apache-2.0 (permissive) · 7d1301d4ad8cb6c4 · report

Tasks

Few-Shot Image ClassificationFew-Shot LearningGeneral ClassificationImage ClassificationMeta-Learningimage-classification

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Few-Shot Image Classification Mini-Imagenet 5-way (1-shot) AM3-TADAM Accuracy 65.30 #58 of 105 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (10-shot) AM3-TADAM Accuracy 81.57 #2 of 5 Archive leaderboard report
Few-Shot Image Classification Mini-Imagenet 5-way (5-shot) AM3-TADAM Accuracy 78.10 #61 of 95 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (1-shot) AM3-TADAM Accuracy 69.08 #36 of 49 Archive leaderboard report
Few-Shot Image Classification Tiered ImageNet 5-way (5-shot) AM3-TADAM Accuracy 82.58 #39 of 51 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