SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1905.10295 · 2019

Learning to learn via Self-Critique

arXiv · PDF · Open in the Atlas

Code that ran

13 of 13 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; 0 honoured the contract we drafted, 0 violated it and 11 have no contract verdict; 2 failures of our instrument; 0 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/1905.10295.json · badge: /api/ran/1905.10295.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
AntreasAntoniou/Learning_to_Learn_via_Self-Critique community (classifier label)
classifier basis not recorded on the link
13 ran · 0 no recorded run
FunctionStatusWhere it lives
augment_image Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/data.py
code served (permissive licence) · get_code("db6c1276b31a8182")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 3, dtype family float, shape (3, 32, 32) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
from torchvision import transforms

# Create a small test image as a numpy array
# Image should be in HxWxC format for PIL/numpy compatibility
# Using shape (32, 32, 3) for a small RGB image
test_image = np.random.randint(0, 256, size=(32, 32, 3), dtype=np.uint8)

ARGS = {
    "image": test_image
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (3, 32, 32) — shape (3, 32, 32) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_args_from_json Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/utils/parser_utils.py
code served (permissive licence) · get_code("632e39376f13aefe")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary JSON file with test data
temp_dir = tempfile.mkdtemp()
json_file_path = os.path.join(temp_dir, "summary.json")

# Create a sample JSON file
summary_data = {
    "learning_rate": 0.001,
    "batch_size": 32,
    "epochs": 10,
    "model_name": "test_model",
    "continue_from": "checkpoint.pt",
    "gpu_to_use": 0,
    "other_param": "value"
}

with open(json_file_path, 'w') as f:
    json.dump(summary_data, f)

# Create the args_dict to be populated
args_dict = {
    "initial_key": "initial_value"
}

ARGS = {
    "json_file_path": json_file_path,
    "args_dict": args_dict
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_params_and_check_for_missing_keys Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/meta_neural_network_architectures.py
code served (permissive licence) · get_code("58bd46124faedbc9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Construct current_dict with nested keys using 'layer_dict.' prefix
current_dict = {
    'layer_dict.conv.weight': torch.randn(4, 3),
    'layer_dict.conv.bias': torch.randn(2),
    'layer_dict.bn.running_mean': torch.randn(5),
    'layer_dict.fc.weight': torch.randn(3, 4),
    'some_param': 42,
}

# Construct layer_dict with some keys that may or may not exist in current_dict
layer_dict = {
    'conv': None,
    'bn': None,
    'fc': None,
    'missing_layer': None,
    'another_missing': None,
}

ARGS = {
    'current_dict': current_dict,
    'layer_dict': layer_dict,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
extract_top_level_dict Ran
ran; our contract draft was wrong, not the code
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/meta_neural_network_architectures.py
pointer only (licence: MIT); the stored copy get_code serves, from pandeydeep9/units-ml-cvpr-22, is pointer only (licence: NONE) · get_code("94cd47c72a983ad8")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from pandeydeep9/units-ml-cvpr-22, and GitHub detected no licence in that repository 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.

fill_template Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/script_generation_tools/generate_scripts.py
code served (permissive licence) · get_code("d25adfe464700ae6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
from copy import copy

# Construct valid arguments for fill_template function

# The function takes a template_list (list of strings), execution_script (string),
# and experiment_config (string). It performs string replacements on the last element
# of template_list and joins all elements together.

template_list = [
    "#!/usr/bin/env python\n",
    "import sys\n",
    "# Execution script: $execution_script$\n",
    "# Config: $experiment_config$\n",
    "print('Running with config')\n"
]

execution_script = "train_model.py"

experiment_config = "config_v1.yaml"

ARGS = {
    'template_list': template_list,
    'execution_script': execution_script,
    'experiment_config': experiment_config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fill_template Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/script_generation_tools/generate_configs.py
code served (permissive licence) · get_code("e842ea037f1a6ac1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from collections import namedtuple

torch.manual_seed(0)

config = namedtuple('config', 'dataset_name num_classes samples_per_class target_samples_per_class exclude_param_string weight_decay num_target_set_steps batch_size inner_loop_optimizer_type conditional_information train_update_steps val_update_steps total_epochs output_spatial_dimensionality inner_loop_learning_rate experiment_name num_filters conv_padding load_into_memory learnable_bn_gamma learnable_bn_beta num_stages num_blocks_per_stage learnable_learning_rates learnable_betas')

config_obj = config(
    dataset_name='omniglot',
    num_classes=5,
    samples_per_class=5,
    target_samples_per_class=15,
    exclude_param_string='',
    weight_decay=0.0001,
    num_target_set_steps=5,
    batch_size=4,
    inner_loop_optimizer_type='sgd',
    conditional_information=False,
    train_update_steps=5,
    val_update_steps=5,
    total_epochs=100,
    output_spatial_dimensionality=28,
    inner_loop_learning_rate=0.01,
    experiment_name='test_experiment',
    num_filters=64,
    conv_padding=0,
    load_into_memory=True,
    learnable_bn_gamma=True,
    learnable_bn_beta=True,
    num_stages=4,
    num_blocks_per_stage=1,
    learnable_learning_rates=False,
    learnable_betas=False
)

script_text = """
This is a template with $dataset_name$ and $num_classes$ classes.
The batch size is $batch_size$ and learning rate is $inner_loop_learning_rate$.
Configuration: $weight_decay$, $batch_size$, $learnable_bn_gamma$, $learnable_betas$.
"""

ARGS = {
    'script_text': script_text,
    'config': config_obj._asdict()
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_from_json Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/utils/storage.py
code served (permissive licence) · get_code("1ffc7f12a771c7d6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import json
import tempfile
import os

# Create a temporary JSON file with valid content
temp_dir = tempfile.mkdtemp()
temp_file = os.path.join(temp_dir, "test_data.json")

test_data = {
    "key1": "value1",
    "key2": [1, 2, 3],
    "key3": {"nested": "data"}
}

with open(temp_file, 'w') as f:
    json.dump(test_data, f)

ARGS = {
    "filename": temp_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_statistics Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/utils/storage.py
code served (permissive licence) · get_code("b85351bca4ccbe20")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary directory and a CSV file for testing
temp_dir = tempfile.mkdtemp()
experiment_name = temp_dir

# Create a summary_statistics.csv file
csv_content = """epoch,loss,accuracy,val_loss
1,0.5,0.85,0.6
2,0.4,0.90,0.5
3,0.3,0.92,0.45
"""

csv_path = os.path.join(experiment_name, 'summary_statistics.csv')
with open(csv_path, 'w') as f:
    f.write(csv_content)

ARGS = {
    'experiment_name': experiment_name,
    'filename': 'summary_statistics.csv'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_template Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/script_generation_tools/generate_configs.py
code served (permissive licence) · get_code("27fabd65989ead1f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary file with some template content
temp_dir = tempfile.mkdtemp()
temp_filepath = os.path.join(temp_dir, "template.txt")

template_content = """
This is a sample template file.
It contains some text that will be read by load_template.
Line 3: More content here.
"""

with open(temp_filepath, 'w') as f:
    f.write(template_content)

ARGS = {
    'filepath': temp_filepath
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_template Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/script_generation_tools/generate_scripts.py
code served (permissive licence) · get_code("4a41646d1d2da5a6")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import tempfile
import os

# Create a temporary file with sample template content
temp_dir = tempfile.mkdtemp()
temp_filepath = os.path.join(temp_dir, "template.txt")

with open(temp_filepath, mode='w') as f:
    f.write("Line 1 of template\n")
    f.write("Line 2 of template\n")
    f.write("Line 3 of template\n")

ARGS = {
    "filepath": temp_filepath
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
save_statistics Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/utils/storage.py
code served (permissive licence) · get_code("822e342d8175533c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import tempfile
import shutil

# Create a temporary directory for the experiment
temp_dir = tempfile.mkdtemp()
experiment_name = temp_dir

# Create the experiment directory if it doesn't exist
os.makedirs(experiment_name, exist_ok=True)

# Define the line to add to the CSV
line_to_add = ['epoch', 'loss', 'accuracy']

# For the create parameter, we'll test with create=True first
create = True

ARGS = {
    'experiment_name': experiment_name,
    'line_to_add': line_to_add,
    'filename': 'summary_statistics.csv',
    'create': create
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
set_torch_seed Ran
ran; our contract draft was wrong, not the code
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/few_shot_learning_system.py
code served (permissive licence) · get_code("5c44538154dad8a7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned RandomState. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch

ARGS = {
    "seed": 42
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type RandomState — a RandomState output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a RandomState output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
string_generator Ran
ran on a synthesized input
AntreasAntoniou/Learning_to_Learn_via_Self-Critique/script_generation_tools/generate_configs.py
code served (permissive licence) · get_code("347066bf5f12736b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

ARGS = {
    'string_list': ['hello', 'world', 'test']
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 9 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 9 later) and 4 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
set_torch_seed 6 other papers
2 dated earlier, 4 later · 1 only as an assembly brick
1703.03400 (2017-03)
Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
1810.09502 (2018-10)
How to train your MAML
1906.05895 (2019-06)
Learning to Forget for Meta-Learning
and 3 more not named here
extract_top_level_dict 4 other papers
1 dated earlier, 3 later · 2 only as an assembly brick
1703.03400 (2017-03)
Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networks
1906.05895 (2019-06)
Learning to Forget for Meta-Learning
2007.13040 (2020-07)
Improving Generalization in Meta-learning via Task Augmentation
and 1 more not named here
extract_args_from_json 1 other paper
1 later
1906.05895 (2019-06)
Learning to Forget for Meta-Learning
fill_template 1 other paper
1 later
2006.03806 (2020-06)
Leveraging the Feature Distribution in Transfer-based Few-Shot Learning
load_from_json 1 other paper
1 later
1906.05895 (2019-06)
Learning to Forget for Meta-Learning
load_statistics 1 other paper
1 later
1906.05895 (2019-06)
Learning to Forget for Meta-Learning
load_template 1 other paper
1 later
2006.03806 (2020-06)
Leveraging the Feature Distribution in Transfer-based Few-Shot Learning
load_template 1 other paper
1 later
2006.03806 (2020-06)
Leveraging the Feature Distribution in Transfer-based Few-Shot Learning
save_statistics 1 other paper
1 later
1906.05895 (2019-06)
Learning to Forget for Meta-Learning

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

In few-shot learning, a machine learning system learns from a small set of labelled examples relating to a specific task, such that it can generalize to new examples of the same task. Given the limited availability of labelled examples in such tasks, we wish to make use of all the information we can. Usually a model learns task-specific information from a small training-set (support-set) to predict on an unlabelled validation set (target-set). The target-set contains additional task-specific information which is not utilized by existing few-shot learning methods. Making use of the target-set examples via transductive learning requires approaches beyond the current methods; at inference time, the target-set contains only unlabelled input data-points, and so discriminative learning cannot be used. In this paper, we propose a framework called Self-Critique and Adapt or SCA, which learns to learn a label-free loss function, parameterized as a neural network. A base-model learns on a support-set using existing methods (e.g. stochastic gradient descent combined with the cross-entropy loss), and then is updated for the incoming target-task using the learnt loss function. This label-free loss function is itself optimized such that the learnt model achieves higher generalization performance. Experiments demonstrate that SCA offers substantially reduced error-rates compared to baselines which only adapt on the support-set, and results in state of the art benchmark performance on Mini-ImageNet and Caltech-UCSD Birds 200.

For agents

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

get_harvested_code_for_paper("1905.10295")
get_code_for_paper("1905.10295")
have("1905.10295")

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

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

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

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

Connect an agent — have() is free.