SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2605.21341 · 2026

Semiparametric Efficient Bilevel Gradient Estimation

Michael Arbel, Nathan Kallus, Houssam Zenati, Aurélien Bibaut, El Fares, Khoury

arXiv · PDF · Open in the Atlas

Code that ran

28 of 30 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; 14 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 13 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2605.21341.json · badge: /api/ran/2605.21341.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
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation canonical (classifier label)
classifier basis: census
28 ran · 2 no recorded run
FunctionStatusWhere it lives
bellman_error Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_obigrad_optimization_experiment.py
pointer only (licence: NONE) · get_code("df7942c1c5ece3ca")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

finite_float Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/experiment_reporting.py
pointer only (licence: NONE) · get_code("d9a262d762e5bf11")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

format_number Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/experiment_reporting.py
pointer only (licence: NONE) · get_code("fcb916b51c803936")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

format_pm Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/experiment_reporting.py
pointer only (licence: NONE) · get_code("1919b95d25d3ed60")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

parse_float_grid Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure4_root_estimation_experiment.py
pointer only (licence: NONE) · get_code("14beb39731f0f2f5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

parse_float_grid Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure3_kbo_regularization_experiment.py
pointer only (licence: NONE) · get_code("3232821f69753d2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

parse_int_grid Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure4_root_estimation_experiment.py
pointer only (licence: NONE) · get_code("7b77eef4a205d71a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

parse_int_grid Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b1_obigrad_experiment.py
pointer only (licence: NONE) · get_code("a60e7a5615b37c19")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

parse_int_grid Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b3_root_experiment.py
pointer only (licence: NONE) · get_code("e69aa8b2c84ed5a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

parse_lambdas Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b4_kbo_regularization_experiment.py
pointer only (licence: NONE) · get_code("16bdacfa1d6590cd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

parse_n_grid Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure1_obigrad_gradient_experiment.py
pointer only (licence: NONE) · get_code("81efe5ce6ce2acf8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

parse_n_grid Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b2_inference_experiment.py
pointer only (licence: NONE) · get_code("0448c030341e6ee8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

phi Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b1_obigrad_experiment.py
pointer only (licence: NONE) · get_code("a0d20c08821184f8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

phi Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b4_kbo_regularization_experiment.py
pointer only (licence: NONE) · get_code("b8683e9da241bb40")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

phi_features Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure1_obigrad_gradient_experiment.py
pointer only (licence: NONE) · get_code("0d3cc2c114ad1703")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

phi_features Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b2_inference_experiment.py
pointer only (licence: NONE) · get_code("a16b690f3a926798")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

phi_features Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure2_obigrad_inference_experiment.py
pointer only (licence: NONE) · get_code("88b7eb6c5ec71769")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

phi_features Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure3_kbo_regularization_experiment.py
pointer only (licence: NONE) · get_code("7fcb52aaaa721aa7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

phi_next Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b3_root_experiment.py
pointer only (licence: NONE) · get_code("2d957e3df58237b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

sigmoid Ran
ran, violated the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b2_inference_experiment.py
pointer only (licence: NONE) · get_code("5c4ac7d13b48e5db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

simulate_data Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure1_obigrad_gradient_experiment.py
pointer only (licence: NONE) · get_code("b4954e46e8872317")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

simulate_data Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure4_root_estimation_experiment.py
pointer only (licence: NONE) · get_code("6828a8404620cf23")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

simulate_data Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b3_root_experiment.py
pointer only (licence: NONE) · get_code("251249f2b5673dd7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

simulate_data Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure2_obigrad_inference_experiment.py
pointer only (licence: NONE) · get_code("fe97ec362d439e82")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

true_conditional_phi Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure3_kbo_regularization_experiment.py
pointer only (licence: NONE) · get_code("99b574150c487dc7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

true_j Ran
ran, honoured the contract we drafted
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure5_obigrad_optimization_experiment.py
pointer only (licence: NONE) · get_code("7c94bf050656ee4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

true_m Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/IV_figure5_obigrad_optimization_experiment.py
pointer only (licence: NONE) · get_code("f2a18457003dfedc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

vector_text Ran
ran; our contract draft was wrong, not the code
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_obigrad_optimization_experiment.py
pointer only (licence: NONE) · get_code("dc8ff180999343a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

cond_phi_mean Not yet run
unverified (harvested, no recorded run)
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b4_kbo_regularization_experiment.py
pointer only (licence: NONE) · get_code("9a0c7762f5643754")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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.

dphi_mean Not yet run
unverified (harvested, no recorded run)
fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation/Bellman_b1_obigrad_experiment.py
pointer only (licence: NONE) · get_code("1aefa3205f344e84")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, fareselkhoury/Semiparametric-Efficient-Bilevel-Gradient-Estimation 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 30 samples lifted from this paper's linked repositories, 30 carry a function identity and 0 do not. Of the 27 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 27 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.

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

Repositories linked to this paper

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

Abstract

Functional bilevel methods estimate a lower-level function and plug it into a hypergradient, but this plug-in gradient can retain first-order bias when the lower-level problem is learned nonparametrically. To remove this bias, we develop a semiparametric debiasing theory for population bilevel gradients based on the efficient influence function. This perspective leads to a cross-fitted orthogonal hypergradient estimator for which we establish asymptotic normality together with uniform control over the outer parameter. Under quadratic losses, the estimator reduces to a simple doubly robust score based on conditional mean nuisances. On synthetic bilevel benchmarks with known ground truth, the method tracks the oracle efficient-gradient benchmark and improves over plug-in functional hypergradients and regularized kernel bilevel baselines.

For agents

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

get_harvested_code_for_paper("2605.21341")
get_code_for_paper("2605.21341")
have("2605.21341")

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

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

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

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

Connect an agent — have() is free.