Papers › Supervised Kernel Thinning

Supervised Kernel Thinning

17 Oct 2024arXiv:2410.13749archive 2025-07-28

Albert Gong, Kyuseong Choi, Raaz Dwivedi

The kernel thinning algorithm of Dwivedi & Mackey (2024) provides a better-than-i.i.d. compression of a generic set of points. By generating high-fidelity coresets of size significantly smaller than the input points, KT is known to speed up unsupervised tasks like Monte Carlo integration, uncertainty quantification, and non-parametric hypothesis testing, with minimal loss in statistical accuracy. In this work, we generalize the KT algorithm to speed up supervised learning problems involving kernel methods. Specifically, we combine two classical algorithms--Nadaraya-Watson (NW) regression or kernel smoothing, and kernel ridge regression (KRR)--with KT to provide a quadratic speed-up in both training and inference times. We show how distribution compression with KT in each setting reduces to constructing an appropriate kernel, and introduce the Kernel-Thinned NW and Kernel-Thinned KRR estimators. We prove that KT-based regression estimators enjoy significantly superior computational efficiency over the full-data estimators and improved statistical efficiency over i.i.d. subsampling of the training data. En route, we also provide a novel multiplicative error guarantee for compressing with KT. We validate our design choices with both simulations and real data experiments.

PaperPDFCodeCode Syntology ran

In Syntology 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="2410.13749")

Code

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

By repository: official repository: 14 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ag2435/npr officialmentioned in paperpytorchBSD-3-Clause 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

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

10ran
4unverified

Licence: 0 of the 14 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 ag2435/npr. “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.

euclidean_distances ag2435/npr/npr/util_k.py official repository ran fingerprinted BSD-3-Clause (permissive) · c288f1ca96210258 · report
get_coreset_size ag2435/npr/npr/util_thin_dnc.py official repository ran fingerprinted BSD-3-Clause (permissive) · 28405ebd4b1a43ad · report
get_g ag2435/npr/npr/util_thin.py official repository ran fingerprinted BSD-3-Clause (permissive) · 48d9057a107a8bd5 · report
grid ag2435/npr/npr/util_sample.py official repository ran BSD-3-Clause (permissive) · aeda13fd13f0720b · report
log4 ag2435/npr/npr/util_thin.py official repository ran fingerprinted BSD-3-Clause (permissive) · 5863f775093fc87c · report
numpy_to_torch ag2435/npr/npr/falkon/util_falkon_estimators.py official repository ran BSD-3-Clause (permissive) · 7ff5a16c39b40f14 · report
pdf ag2435/npr/npr/util_sample.py official repository ran BSD-3-Clause (permissive) · 07a20869feecd04b · report
sample ag2435/npr/npr/util_sample.py official repository ran BSD-3-Clause (permissive) · 78aec322fa1d2623 · report
to_product_kernel ag2435/npr/npr/util_k.py official repository ran BSD-3-Clause (permissive) · 5181cca6881c5fc5 · report
to_regression_kernel ag2435/npr/npr/util_k.py official repository ran BSD-3-Clause (permissive) · 80da1f69b8b758cd · report
add_noise ag2435/npr/npr/util_load_data.py official repository unverified BSD-3-Clause (permissive) · dc1bd93d107d4ab8 · report
get_feature_matrix ag2435/npr/npr/krr/utils.py official repository unverified BSD-3-Clause (permissive) · 1ddab9f1ba46889a · report
get_svhn_dataset ag2435/npr/npr/util_load_data.py official repository unverified BSD-3-Clause (permissive) · 2ed6ff7802b14b5c · report
normalize ag2435/npr/npr/util_load_data.py official repository unverified BSD-3-Clause (permissive) · c8859ad2976dc5ea · report

Tasks

Computational EfficiencyUncertainty Quantificationregression

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

CoresetsSETSPEED

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