Papers › A Swiss Army Infinitesimal Jackknife

A Swiss Army Infinitesimal Jackknife

1 Jun 2018arXiv:1806.00550links table onlyarchive 2025-07-28

Ryan Giordano, Will Stephenson, Runjing Liu, Michael I. Jordan, Tamara Broderick

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

The error or variability of machine learning algorithms is often assessed by repeatedly re-fitting a model with different weighted versions of the observed data. The ubiquitous tools of cross-validation (CV) and the bootstrap are examples of this technique. These methods are powerful in large part due to their model agnosticism but can be slow to run on modern, large data sets due to the need to repeatedly re-fit the model. In this work, we use a linear approximation to the dependence of the fitting procedure on the weights, producing results that can be faster than repeated re-fitting by an order of magnitude. This linear approximation is sometimes known as the "infinitesimal jackknife" in the statistics literature, where it is mostly used as a theoretical tool to prove asymptotic results. We provide explicit finite-sample error bounds for the infinitesimal jackknife in terms of a small number of simple, verifiable assumptions. Our results apply whether the weights and data are stochastic or deterministic, and so can be used as a tool for proving the accuracy of the infinitesimal jackknife on a wide variety of problems. As a corollary, we state mild regularity conditions under which our approximation consistently estimates true leave-k-out cross-validation for any fixed k. These theoretical results, together with modern automatic differentiation software, support the application of the infinitesimal jackknife to a wide variety of practical problems in machine learning, providing a "Swiss Army infinitesimal jackknife". We demonstrate the accuracy of our methods on a range of simulated and real datasets.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

Syntology Ran 3 of 13 code samples harvested from 1 repository linked to this paper; 10 have no recorded run. Of those that ran: 3 ran with no contract checked.

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

rgiordan/paragami mentioned on GitHubApache-2.0 report
rgiordan/vittles mentioned on GitHubApache-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

13 samples harvested; 3 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

3ran
10unverified

Licence: 0 of the 13 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 rgiordan/paragami. “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.

register_vcs_handler rgiordan/paragami/paragami/_version.py community (archive-listed) ran Apache-2.0 (permissive) · f12f4dabbeb242eb · report
run_command rgiordan/paragami/paragami/_version.py community (archive-listed) ran Apache-2.0 (permissive) · 86d4ff45d6295e29 · report
versions_from_parentdir rgiordan/paragami/paragami/_version.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · b9a1535d27f2a9fb · report
T rgiordan/paragami/paragami/autograd_supplement_lib.py community (archive-listed) unverified Apache-2.0 (permissive) · c58078439679996f · report
get_config_from_root rgiordan/paragami/versioneer.py community (archive-listed) unverified Apache-2.0 (permissive) · 2d084e1d0452b36f · report
get_pattern_from_json rgiordan/paragami/paragami/pattern_containers.py community (archive-listed) unverified Apache-2.0 (permissive) · ae47e6b0064263a5 · report
get_sym_matrix_inv_sqrt_funcs rgiordan/paragami/paragami/sparse_preconditioners_lib.py community (archive-listed) unverified Apache-2.0 (permissive) · 758f00f5f7bc6874 · report
inv_jvp rgiordan/paragami/paragami/autograd_supplement_lib.py community (archive-listed) unverified Apache-2.0 (permissive) · 2df8ad17b32e10de · report
jvp_solve rgiordan/paragami/paragami/autograd_supplement_lib.py community (archive-listed) unverified Apache-2.0 (permissive) · b0f4d1ec0ad52f5a · report
load_folded rgiordan/paragami/paragami/pattern_containers.py community (archive-listed) unverified Apache-2.0 (permissive) · 55ce578a264c57f1 · report
logsumexp rgiordan/paragami/paragami/simplex_patterns.py community (archive-listed) unverified Apache-2.0 (permissive) · 39be29e5b164b2e7 · report
transform_eigenspace rgiordan/paragami/paragami/optimization_lib.py community (archive-listed) unverified Apache-2.0 (permissive) · 2bfef97b72b48af3 · report
truncate_eigenvalues rgiordan/paragami/paragami/optimization_lib.py community (archive-listed) unverified Apache-2.0 (permissive) · a468a55007359300 · report

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