SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2402.04054 · ICML · 2024

More Flexible PAC-Bayesian Meta-Learning by Learning Learning Algorithms

Christoph Lampert, Hossein Zakerinia, Amin Behjati

arXiv · PDF · Open in the Atlas

Code that ran

12 of 14 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; 7 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2402.04054.json · badge: /api/ran/2402.04054.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
hzakerinia/flexible-pac-bayes-meta-learning canonical (classifier label)
classifier basis: classifier_2025
12 ran · 2 no recorded run
FunctionStatusWhere it lives
add_noise Ran
ran; our contract draft was wrong, not the code
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("67139037acec0547")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

count_correct Ran
ran; our contract draft was wrong, not the code
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("baddf41be0a1c541")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_batch_vars Ran
ran; our contract draft was wrong, not the code
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("ff302ec78a781296")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_dvrg_element Ran
ran, honoured the contract we drafted
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("7d64730b4a32749f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_hyper_divergnce Ran
ran, honoured the contract we drafted
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("6620e401f9b3edd7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_meta_complexity_term Ran
ran, honoured the contract we drafted
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("388111410b49a443")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_net_densities_divergence Ran
ran, honoured the contract we drafted
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("b37d98f9d2bacf62")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_next_batch_cyclic Ran
ran; our contract draft was wrong, not the code
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("1f497d49975e83bd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_param Ran
ran, honoured the contract we drafted
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("6e1e341585a9b2c5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_prediction Ran
ran; our contract draft was wrong, not the code
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("8ec0f5bffddbde1a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

get_task_complexity Ran
ran, honoured the contract we drafted
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("d6e65a1259413d4f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

net_weights_magnitude Ran
ran, honoured the contract we drafted
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("da977c7d1e5172f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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.

StochasticLayer Not yet run
unverified (harvested, no recorded run)
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("1e4e8921e9f777a1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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. No invocation recorded.

get_objective Not yet run
unverified (harvested, no recorded run)
hzakerinia/flexible-pac-bayes-meta-learning/PriorMetaLearning/Get_Objective_MPB.py
pointer only (licence: NONE) · get_code("31c0faf747d1473d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hzakerinia/flexible-pac-bayes-meta-learning 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. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 13 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
get_param
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2210.10837 (2022-10)
On Learning Fairness and Accuracy on Multiple Subgroups

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-22.

Repositories linked to this paper

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

Abstract

We introduce a new framework for studying metalearning methods using PAC-Bayesian theory. Its main advantage over previous work is that it allows for more flexibility in how the transfer of knowledge between tasks is realized. For previous approaches, this could only happen indirectly, by means of learning prior distributions over models. In contrast, the new generalization bounds that we prove express the process of meta-learning much more directly as learning the learning algorithm that should be used for future tasks. The flexibility of our framework makes it suitable to analyze a wide range of meta-learning mechanisms and even design new mechanisms. Other than our theoretical contributions we also show empirically that our framework improves the prediction quality in practical meta-learning mechanisms.

For agents

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

get_harvested_code_for_paper("2402.04054")
get_code_for_paper("2402.04054")
have("2402.04054")

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

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

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

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

Connect an agent — have() is free.