Papers › Calibeating Prediction-Powered Inference
Calibeating Prediction-Powered Inference
Lars van der Laan, Mark Van Der Laan
Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).
We study semisupervised mean estimation with a small labeled sample, a large unlabeled sample, and a black-box prediction model whose output may be miscalibrated. A standard approach in this setting is augmented inverse-probability weighting (AIPW) [Robins et al., 1994], which protects against prediction-model misspecification but can be inefficient when the prediction score is poorly aligned with the outcome scale. We introduce Calibrated Prediction-Powered Inference, which post-hoc calibrates the prediction score on the labeled sample before using it for semisupervised estimation. This simple step requires no retraining and can improve the original score both as a predictor of the outcome and as a regression adjustment for semisupervised inference. We study both linear and isotonic calibration. For isotonic calibration, we establish first-order optimality guarantees: isotonic post-processing can improve predictive accuracy and estimator efficiency relative to the original score and simpler post-processing rules, while no further post-processing of the fitted isotonic score yields additional first-order gains. For linear calibration, we show first-order equivalence to PPI++. We also clarify the relationship among existing estimators, showing that the original PPI estimator is a special case of AIPW and can be inefficient when the prediction model is accurate, while PPI++ is AIPW with empirical efficiency maximization [Rubin et al., 2008]. In simulations and real-data experiments, our calibrated estimators often outperform PPI and are competitive with, or outperform, AIPW and PPI++. We provide an accompanying Python package, ppi_aipw, at https://larsvanderlaan.github.io/ppi-aipw/.
In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.
Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="2604.21260")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2604.21260", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2604.21260")
Code
Syntology 34 code samples harvested from 1 repository linked to this paper: 30 ran (of which 4 constructed an object rather than computing a result; 14 with no instrument failure: 6 honoured, 4 violated, 4 with no contract checked; 16 where Syntology's instrument failed) · 4 unverified. Where Syntology's instrument failed: 12 where our contract draft was wrong; 4 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: found in paper text by Syntology: 34 samples from 1 repository, 30 ran (14 with no instrument failure; 16 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.
Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.
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
34 samples harvested: 30 ran (of which 4 constructed an object rather than computing a result; 14 with no instrument failure: 6 honoured, 4 violated, 4 with no contract checked; 16 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.
Licence: 34 of the 34 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 Larsvanderlaan/ppi-aipw. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.
Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.
559f38843221e70f · report
fixture: returned CalibrationModel · level recorded 2026-09-22 78eb8227487c826e · report
fixture: returned PrognosticLinearModel · level recorded 2026-09-22 d21bc045919bb560 · report
fixture: returned _CoordinateCalibrator · level recorded 2026-09-22 19b6415d5087fba7 · report
fixture: returned _XGBoostMonotoneRegressor · level recorded 2026-09-22 b6a2670f4a0705e8 · report
fixture: signature scores_scaled:ndarray/1/float, max_internal_knots:int/0/int, degree:int/0/int · returned ndarray · level recorded 2026-09-22 61caead019ad0848 · report
fixture: signature X:ndarray/2/float, n_obs:int/0/int, name:str/0/str · returned ndarray · level recorded 2026-09-22 4adb884bb9dcada3 · report
fixture: signature scores_scaled:ndarray/1/float, knots:ndarray/1/float, coef:ndarray/1/float, degree:int/0/int, intercept:float/0/float · returned ndarray · level recorded 2026-09-22 de4fbf2d13d8d4a8 · report
fixture: signature y:ndarray/1/float, scores:ndarray/1/float, sample_weight:ndarray/1/float, backend:str/0/str, max_depth:int/0/int, min_child_weight:float/0/float · returned _CoordinateCalibrator · level recorded 2026-09-22 ce7b1578f7b91408 · report
fixture: signature y:ndarray/1/float, scores:ndarray/1/float, sample_weight:ndarray/1/float · returned _CoordinateCalibrator · level recorded 2026-09-22 16cc5b66d007a4d5 · report
fixture: signature y:ndarray/1/float, scores:ndarray/1/float, sample_weight:ndarray/1/float · returned _CoordinateCalibrator · level recorded 2026-09-22 d02ffb7e917eaf36 · report
fixture: signature x:float/0/float · returned ndarray · level recorded 2026-09-22 9c623a0cddd4c05f · report
fixture: signature scores_scaled:ndarray/1/float, knots:ndarray/1/float, degree:int/0/int · returned ndarray · level recorded 2026-09-22 81a336bb8fed1a44 · report
fixture: signature coef:ndarray/1/float, score:ndarray/1/float, X:ndarray/2/float · returned ndarray · level recorded 2026-09-22 23de41dc6c8ec2e9 · report
fixture: signature x:ndarray/1/float, digits:int/0/int · returned str · level recorded 2026-09-22 cb988e68b940fb2b · report
fixture: signature n_basis:int/0/int · returned ndarray · level recorded 2026-09-22 d9a426ecd065d310 · report
fixture: signature y:ndarray/1/float, score:ndarray/1/float, X:ndarray/2/float, sample_weight:ndarray/1/float · returned float · level recorded 2026-09-22 47c0cd4429cb8f9e · report
fixture: signature score:ndarray/2/float, X:ndarray/2/float, y:ndarray/1/float, sample_weight:ndarray/1/float, alpha:float/0/float · returned ndarray · level recorded 2026-09-22 18834c7e5a76ea16 · report
fixture: signature X:ndarray/2/float, X_unlabeled:ndarray/2/float, n_labeled:int/0/int, n_unlabeled:int/0/int · returned tuple · level recorded 2026-09-22 2fa6640b11005c10 · report
fixture: signature y_true:ndarray/1/float, y_pred:ndarray/1/float, sample_weight:ndarray/1/float · returned float · level recorded 2026-09-22 e216e11052110dda · report
fixture: signature method:str/0/str · returned str · level recorded 2026-09-22 56c6014a93c86dd5 · report
fixture: signature x:ndarray/2/float, lower:float/0/float, upper:float/0/float · returned ndarray · level recorded 2026-09-22 c3b518e3a907c28d · report
fixture: signature x:ndarray/2/float, eps:float/0/float · returned ndarray · level recorded 2026-09-22 c218a3d385b23dd5 · report
fixture: signature n_obs:int/0/int, existing_weight:list/1/float, vectorized:bool/0/bool · returned ndarray · level recorded 2026-09-22 bec0d2069ee1cdf2 · report
fixture: signature x:ndarray/1/float, name:str/0/str · returned ndarray · level recorded 2026-09-22 b284a26cbc6a31bb · report
fixture: signature x:ndarray/2/float, reference:ndarray/1/int · returned ndarray · level recorded 2026-09-22 037397ab3971fe05 · report
fixture: signature p:ndarray/1/float · returned ndarray · level recorded 2026-09-22 census: 36 implementations from 56 papers, 7 distinct outputs across 3 buckets, one shared input per bucket this sample: bucket 2 of 3, arg 1: rank 2, kind float, dtype float64 src/ppi_aipw/_api.py ran · honoured contract fingerprinted no licence file found · pointer only ·
d3cb240d60e1166a · report
fixture: signature z:ndarray/2/float · returned ndarray · level recorded 2026-09-22 142d58259612bb68 · report
fixture: signature x:ndarray/2/float, name:str/0/str · returned ndarray · level recorded 2026-09-22 8f59e9a35570d6e6 · report
fixture: signature Y:ndarray/2/float, Yhat:ndarray/2/float, Yhat_unlabeled:ndarray/2/float · returned tuple · level recorded 2026-09-22 6090dcfc3ed6dffb · report
fixture: signature Y:ndarray/2/float, Yhat:ndarray/2/float · returned tuple · level recorded 2026-09-22 ce321e36b54111cb · report
951f584dd9ef37a6 · report
35e5a05b74a1cc0f · report
1d1f214ca1069498 · report
Method as code Syntology
What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.
1 assembly on this paper: 1 harvested, 0 generated.
harvested Assembly for Calibrated Prediction-Powered Inference (graph method: Calibrated Prediction-Powered Inference). 34 bricks; individually on a fixture: 30 ran (of which 4 constructed an object rather than computing a result; 14 with no instrument failure: 6 honoured, 4 violated, 4 with no contract checked; 16 where Syntology's instrument failed) · 4 unverified. The assembly has not been run end-to-end.
- _fit_and_calibrate entry · level 0 · unverified ·
ce321e36b54111cb - _fit_prognostic_linear helper · level 0 · unverified ·
35e5a05b74a1cc0f - fit_calibrator model · level 0 · unverified ·
1d1f214ca1069498 - validate_mean_inputs helper · level 1 · ran · honoured contract ·
8f59e9a35570d6e6 - PrognosticLinearModel helper · level 1 · ran ·
78eb8227487c826e - _predict_prognostic_linear_from_coef helper · level 1 · ran; the contract check could not run (RAISES) ·
81a336bb8fed1a44 - _select_prognostic_linear_alpha helper · level 1 · ran; the contract check could not run (RAISES) ·
d9a426ecd065d310 - _solve_prognostic_linear_system helper · level 1 · ran · our draft was wrong ·
47c0cd4429cb8f9e - _validate_prognostic_covariates helper · level 1 · ran · our draft was wrong ·
18834c7e5a76ea16 - construct_weight_vector helper · level 1 · ran; the contract check could not run (RAISES) ·
c218a3d385b23dd5 - CalibrationModel helper · level 1 · ran ·
559f38843221e70f - _CoordinateCalibrator helper · level 1 · ran ·
d21bc045919bb560 - _fit_isocal_coordinate model · level 1 · ran · our draft was wrong ·
de4fbf2d13d8d4a8 - _fit_linear_coordinate model · level 1 · ran; the contract check could not run (RAISES) ·
ce7b1578f7b91408 - _fit_monotone_spline_coordinate model · level 0 · unverified ·
951f584dd9ef37a6 - _fit_platt_coordinate model · level 1 · ran · our draft was wrong ·
16cc5b66d007a4d5 - canonical_method helper · level 1 · ran · our draft was wrong ·
e216e11052110dda - validate_pair_inputs helper · level 1 · ran · honoured contract ·
6090dcfc3ed6dffb - reshape_to_2d helper · level 1 · ran · honoured contract ·
bec0d2069ee1cdf2 - _coerce_covariates helper · level 1 · ran · our draft was wrong ·
61caead019ad0848 - _preview_value helper · level 1 · ran · our draft was wrong ·
23de41dc6c8ec2e9 - restore_shape helper · level 1 · ran · violated contract ·
b284a26cbc6a31bb - _weighted_prediction_error helper · level 1 · ran · violated contract ·
2fa6640b11005c10 - _evaluate_monotone_spline helper · level 1 · ran · our draft was wrong ·
4adb884bb9dcada3 - clip_range helper · level 1 · ran · our draft was wrong ·
56c6014a93c86dd5 - clip_unit helper · level 1 · ran · violated contract ·
c3b518e3a907c28d - safe_logit helper · level 1 · ran · violated contract ·
037397ab3971fe05 - sigmoid helper · level 1 · ran · honoured contract ·
d3cb240d60e1166a - _XGBoostMonotoneRegressor helper · level 1 · ran ·
19b6415d5087fba7 - _choose_monotone_spline_knots helper · level 1 · ran · our draft was wrong ·
b6a2670f4a0705e8 - _integrated_bspline_design helper · level 1 · ran · our draft was wrong ·
9c623a0cddd4c05f - _second_difference_penalty helper · level 1 · ran · honoured contract ·
cb988e68b940fb2b - validate_finite_array helper · level 1 · ran · our draft was wrong ·
142d58259612bb68 - _flatten_parameter helper · level 1 · ran · honoured contract ·
d02ffb7e917eaf36
Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2604.21260") returns these assemblies with each brick's role and wiring (how to connect).
Results from the paper
The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2604.21260, was issued in April 2026, after that date, so the archive has no leaderboard rows for it.
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