Papers › Robustness Auditing for Linear Regression: To Singularity and Beyond

Robustness Auditing for Linear Regression: To Singularity and Beyond

10 Oct 2024arXiv:2410.07916archive 2025-07-28

Ittai Rubinstein, Samuel B. Hopkins

It has recently been discovered that the conclusions of many highly influential econometrics studies can be overturned by removing a very small fraction of their samples (often less than 0.5%). These conclusions are typically based on the results of one or more Ordinary Least Squares (OLS) regressions, raising the question: given a dataset, can we certify the robustness of an OLS fit on this dataset to the removal of a given number of samples? Brute-force techniques quickly break down even on small datasets. Existing approaches which go beyond brute force either can only find candidate small subsets to remove (but cannot certify their non-existence) [BGM20, KZC21], are computationally intractable beyond low dimensional settings [MR22], or require very strong assumptions on the data distribution and too many samples to give reasonable bounds in practice [BP21, FH23]. We present an efficient algorithm for certifying the robustness of linear regressions to removals of samples. We implement our algorithm and run it on several landmark econometrics datasets with hundreds of dimensions and tens of thousands of samples, giving the first non-trivial certificates of robustness to sample removal for datasets of dimension 4 or greater. We prove that under distributional assumptions on a dataset, the bounds produced by our algorithm are tight up to a 1 + o(1) multiplicative factor.

PaperPDFCodeCode Syntology ran

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):

Code

Syntology 22 code samples harvested from 1 repository linked to this paper: 20 ran (of which 0 constructed an object rather than computing a result; 16 with no instrument failure: 3 honoured, 0 violated, 13 with no contract checked; 4 where Syntology's instrument failed) · 2 unverified. Where Syntology's instrument failed: 1 where our contract draft was wrong; 3 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: official repository: 22 samples from 1 repository, 20 ran (16 with no instrument failure; 4 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-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

ittai-rubinstein/ols_robustness officialSyntology: 22 samples, 20 ran (4 instrument-failed) · 2 unverified 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

22 samples harvested: 20 ran (of which 0 constructed an object rather than computing a result; 16 with no instrument failure: 3 honoured, 0 violated, 13 with no contract checked; 4 where Syntology's instrument failed) · 2 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.

3ran · honoured contract
1ran · our draft was wrong
3ran; the contract check could not run
13ran
2unverified

Licence: 22 of the 22 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 ittai-rubinstein/ols_robustness. “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.

ittai-rubinstein/ols_robustness official repository 22 samples, 20 ran (4 instrument-failed) · 2 unverified
approximate_most_influential_pertrubation src/lower_bounds/amip.py ran no licence file found · pointer only · f870b847a1110a75 · report fixture: signature X:ndarray/2/float, residuals:ndarray/1/float, e:ndarray/1/float · returned tuple · level recorded 2026-09-24
bound_42_hypercontractivity src/geometric_algorithms/hypercontractivity_reduction.py ran · honoured contract fingerprinted no licence file found · pointer only · 7500999d93e83723 · report fixture: signature X:ndarray/2/float · returned float64 · level recorded 2026-09-24
bound_42_hypercontractivity_gm src/geometric_algorithms/hypercontractivity_reduction.py ran; the contract check could not run (RAISES) no licence file found · pointer only · d083e44e07f5981e · report fixture: signature X:ndarray/2/float, alpha:float/0/float · returned ndarray · level recorded 2026-09-24
categorical_triangle_inequality src/categorical_data/categorical_triangle_inequality.py ran no licence file found · pointer only · 4933136938918ca3 · report fixture: signature split_X:list/1/ndarray, k:int/0/int, verbose:bool/0/bool · returned list · level recorded 2026-09-24
compute_beta_and_f src/lower_bounds/amip.py ran no licence file found · pointer only · 12ea2c67aabeebbe · report fixture: signature norm_X:ndarray/2/float, residuals:ndarray/1/float, w:ndarray/1/float, e:ndarray/1/float · returned tuple · level recorded 2026-09-24
compute_i_phi_coefficients src/geometric_algorithms/hypercontractivity_reduction.py ran · honoured contract no licence file found · pointer only · 4265834f3cf0c804 · report fixture: signature alpha:float/0/float, d:int/0/int · returned tuple · level recorded 2026-09-24
compute_linear_combination_ku_datas src/categorical_data/ku_triangle_inequality.py ran; the contract check could not run (RAISES) no licence file found · pointer only · ef019453fa6adc41 · report fixture: signature ku_datas:list/1/KUData, coeffs:list/1/float · returned tuple · level recorded 2026-09-24
diagonal_matrix_product src/lower_bounds/kzc.py ran · honoured contract no licence file found · pointer only · 65de6bb84b46038b · report fixture: signature A:ndarray/2/float, B:ndarray/2/float · returned ndarray · level recorded 2026-09-24
dynamic_programming_1d src/categorical_data/dynamic_programming.py ran no licence file found · pointer only · 398bb9cf6392d204 · report fixture: signature bounds_list:list/1/ndarray, k_max:int/0/int, verbose:bool/0/bool · returned ndarray · level recorded 2026-09-24
dynamic_programming_2d src/categorical_data/dynamic_programming.py ran no licence file found · pointer only · 490a5bfdad60b596 · report fixture: signature bucket_scores:list/1/ndarray, k_max:int/0/int, u_max:int/0/int, verbose:bool/0/bool · returned ndarray · level recorded 2026-09-24
efficient_greedy_removals src/lower_bounds/kzc.py ran no licence file found · pointer only · ff9b878454d7ea8d · report fixture: signature X:ndarray/2/float, residuals:ndarray/1/float, e:ndarray/1/float, progress_bar:bool/0/bool, k_max:int/0/int · returned tuple · level recorded 2026-09-24
f in 68 papers
census: 17 implementations from 15 papers, 17 distinct outputs across 7 buckets, one shared input per bucket
src/lower_bounds/amip.py ran no licence file found · pointer only · eff9e12561a99df1 · report fixture: signature w:ndarray/1/float, X:ndarray/2/float, residuals:ndarray/1/float, e:ndarray/1/float · returned float64 · level recorded 2026-09-24
leave_one_out_regression_vectorized src/lower_bounds/kzc.py ran no licence file found · pointer only · 616bb4f47a0c056b · report fixture: signature X:ndarray/2/float, Y:ndarray/1/float, Sigma_inv_X_T:NoneType/0/? · returned ndarray · level recorded 2026-09-24
normalize_and_split_dataframes src/categorical_data/categorical_data.py ran no licence file found · pointer only · 87a5378683067341 · report fixture: signature dataframes:list/1/DataFrame, feature_of_interest:str/0/str, sign:int/0/int · returned tuple · level recorded 2026-09-24
optimize_matrix_sdp src/geometric_algorithms/sdp_bounds.py ran · our draft was wrong no licence file found · pointer only · 2e38ede09da9d67b · report fixture: signature outer_prod:ndarray/2/float, k:int/0/int · returned tuple · level recorded 2026-09-24
perform_regression_and_append_residuals src/categorical_data/categorical_data.py ran no licence file found · pointer only · b57797272c866c51 · report fixture: signature split_dfs:list/1/DataFrame, label:str/0/str, verbose:bool/0/bool, weights:NoneType/0/? · returned dict · level recorded 2026-09-24
refined_triangle_inequality_indices src/geometric_algorithms/triangle_inequality.py ran; the contract check could not run (RAISES) no licence file found · pointer only · 300ec7a3948ba792 · report fixture: signature gram_matrix:ndarray/2/float, verbose:bool/0/bool · returned list · level recorded 2026-09-24
spectral_bound_sum_ips src/geometric_algorithms/spectral_algorithms.py ran no licence file found · pointer only · c9d454d394856eb6 · report fixture: signature gram_matrix:ndarray/2/float, d:int/0/int, k_vals:ndarray/1/int, eigvals:ndarray/1/float, eigvecs:ndarray/2/float, print_tqdm:bool/0/bool · returned ndarray · level recorded 2026-09-24
spectral_bound_sum_ips_squared src/geometric_algorithms/spectral_algorithms.py ran no licence file found · pointer only · 54c3a836679cdb70 · report fixture: signature gram_matrix:ndarray/2/float, d:int/0/int, k_vals:ndarray/1/int · returned ndarray · level recorded 2026-09-24
split_and_normalize src/categorical_data/categorical_data.py ran no licence file found · pointer only · 7bd97d5c6b40238d · report fixture: signature df:DataFrame/0/?, one_hot_columns:list/1/str, verbose:bool/0/bool, weights:NoneType/0/? · returned list · level recorded 2026-09-24
optimize_matrix src/geometric_algorithms/sdp_bounds.py unverified no licence file found · pointer only · a6a5dfe2d50f6c5b · report
spectral_bound_sum_ips_improved src/geometric_algorithms/spectral_algorithms.py unverified no licence file found · pointer only · 59adb64bb8c50d38 · report

Tasks

Econometricsregression

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