SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1902.07104 · 2019

Adaptive Cross-Modal Few-Shot Learning

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 19 functions out of this paper's own repositories and ran 17 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
ElementAI/am3 pwc_unofficial 17 of 19
FunctionStatusWhere it lives
find_variables Ran ElementAI/am3/common/gen_experiments.py
code served (permissive licence) · get_code("cbbf64827d3199c5")
get_class_label_dict Ran ElementAI/am3/datasets/create_dataset_miniImagenet.py
code served (permissive licence) · get_code("4f18cfb74fe288f6")
get_embeddings_for_labels Ran ElementAI/am3/datasets/create_dataset_miniImagenet.py
code served (permissive licence) · get_code("91b837dca63a7bf9")
get_embeddings_for_labels Ran ElementAI/am3/datasets/create_dataset_tieredimagenet.py
code served (permissive licence) · get_code("c48c428776f19715")
get_image_size Ran ElementAI/am3/AM3_protonet++.py
code served (permissive licence) · get_code("0168d492531ad3ee")
get_image_size Ran ElementAI/am3/protonet++.py
code served (permissive licence) · get_code("b6df602c207be4b9")
get_logdir_name Ran ElementAI/am3/AM3_protonet++.py
code served (permissive licence) · get_code("e541ab0993b64823")
get_logdir_name Ran ElementAI/am3/AM3_TADAM.py
code served (permissive licence) · get_code("c780ffa29ac8f9a1")
get_logdir_name Ran ElementAI/am3/protonet++.py
code served (permissive licence) · get_code("80d3fc4aec7efb49")
get_logdir_name Ran ElementAI/am3/tadam.py
code served (permissive licence) · get_code("0db0b17091e1b14b")
leaky_relu Ran ElementAI/am3/AM3_TADAM.py
code served (permissive licence) · get_code("39cea52f987c48c0")
load_and_save_params Ran ElementAI/am3/common/gen_experiments.py
code served (permissive licence) · get_code("e6d118defb0d5895")
load_embedding_dict Ran ElementAI/am3/datasets/create_dataset_miniImagenet.py
code served (permissive licence) · get_code("8bda67d739f8e97d")
load_embedding_dict Ran ElementAI/am3/datasets/create_dataset_tieredimagenet.py
code served (permissive licence) · get_code("08ce09d3ac0a1d2f")
make_experiment_name Ran ElementAI/am3/common/gen_experiments.py
code served (permissive licence) · get_code("fbc88036d44ff13c")
make_task Ran ElementAI/am3/datasets/data.py
code served (permissive licence) · get_code("d98246181e886b12")
variables_by_name Ran ElementAI/am3/common/util.py
code served (permissive licence) · get_code("48280b7cf494bec4")
unique_variable_by_name Not yet run ElementAI/am3/common/util.py
code served (permissive licence) · get_code("1618d44f2e0a214e")
variable_report Not yet run ElementAI/am3/common/util.py
code served (permissive licence) · get_code("7d1301d4ad8cb6c4")

Repositories linked to this paper

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

Abstract

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.

For agents

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

get_harvested_code_for_paper("1902.07104")
get_code_for_paper("1902.07104")
have("1902.07104")

Connect an agent — have() is free.