Papers › Task2Vec: Task Embedding for Meta-Learning

Task2Vec: Task Embedding for Meta-Learning

10 Feb 2019ICCV 2019 10arXiv:1902.03545archive 2025-07-28

Alessandro Achille, Michael Lam, Rahul Tewari, Avinash Ravichandran, Subhransu Maji, Charless Fowlkes, Stefano Soatto, Pietro Perona

We introduce a method to provide vectorial representations of visual classification tasks which can be used to reason about the nature of those tasks and their relations. Given a dataset with ground-truth labels and a loss function defined over those labels, we process images through a "probe network" and compute an embedding based on estimates of the Fisher information matrix associated with the probe network parameters. This provides a fixed-dimensional embedding of the task that is independent of details such as the number of classes and does not require any understanding of the class label semantics. We demonstrate that this embedding is capable of predicting task similarities that match our intuition about semantic and taxonomic relations between different visual tasks (e.g., tasks based on classifying different types of plants are similar) We also demonstrate the practical value of this framework for the meta-task of selecting a pre-trained feature extractor for a new task. We present a simple meta-learning framework for learning a metric on embeddings that is capable of predicting which feature extractors will perform well. Selecting a feature extractor with task embedding obtains a performance close to the best available feature extractor, while costing substantially less than exhaustively training and evaluating on all available feature extractors.

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

Code

Syntology Ran 0 of 16 code samples harvested from 1 repository linked to this paper; 16 have no recorded run.

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

awslabs/aws-cv-task2vec mentioned on GitHubpytorchApache-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

16 samples harvested; 0 ran; 0 honoured the contract we drafted; 16 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.

16unverified

Licence: 0 of the 16 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 awslabs/aws-cv-task2vec. “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.

average_top_k_tax_distance awslabs/aws-cv-task2vec/plot_distance_cub_inat.py community (archive-listed) unverified Apache-2.0 (permissive) · 9306127e388d80b3 · report
get_compression_loss awslabs/aws-cv-task2vec/variational.py community (archive-listed) unverified Apache-2.0 (permissive) · 944bd91f1edbc80d · report
get_device awslabs/aws-cv-task2vec/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 0c35c102a078d24d · report
get_error awslabs/aws-cv-task2vec/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 525c6605bb5ab89a · report
get_image awslabs/aws-cv-task2vec/plot_distance_cub_inat.py community (archive-listed) unverified Apache-2.0 (permissive) · 052a7c3d285c564d · report
get_model awslabs/aws-cv-task2vec/models.py community (archive-listed) unverified Apache-2.0 (permissive) · 8846b271d3785538 · report
get_trivial_embedding_from awslabs/aws-cv-task2vec/task_similarity.py community (archive-listed) unverified Apache-2.0 (permissive) · 92003a5021d20c3d · report
get_variational_vars awslabs/aws-cv-task2vec/variational.py community (archive-listed) unverified Apache-2.0 (permissive) · dbe657c4babc8ae6 · report
inat2018 awslabs/aws-cv-task2vec/datasets.py community (archive-listed) unverified Apache-2.0 (permissive) · 7cc3548449813ac3 · report
invert_icon awslabs/aws-cv-task2vec/plot_distance_cub_inat.py community (archive-listed) unverified Apache-2.0 (permissive) · ebe075162f279d94 · report
is_excluded awslabs/aws-cv-task2vec/task_similarity.py community (archive-listed) unverified Apache-2.0 (permissive) · c2823ae7a8245c3c · report
is_multi_label awslabs/aws-cv-task2vec/dataset/dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · dd3befed50865cc3 · report
load_embedding awslabs/aws-cv-task2vec/task_similarity.py community (archive-listed) unverified Apache-2.0 (permissive) · 7a95ae77a9468ef9 · report
load_tasks_map awslabs/aws-cv-task2vec/datasets.py community (archive-listed) unverified Apache-2.0 (permissive) · 97198064440d5f0f · report
set_metadata awslabs/aws-cv-task2vec/datasets.py community (archive-listed) unverified Apache-2.0 (permissive) · ca9c797073c0672e · report
variational_forward awslabs/aws-cv-task2vec/variational.py community (archive-listed) unverified Apache-2.0 (permissive) · 783f27dc9447605e · report

Tasks

Meta-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