Papers › Sequential Kernel-based Conditional Independence Testing via Adaptive Betting
Sequential Kernel-based Conditional Independence Testing via Adaptive Betting
Zheng He, Danica J. Sutherland
Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).
Testing conditional independence is fundamental yet intrinsically difficult: without additional assumptions, Type I error control is impossible in general. The "Model-X'' paradigm addresses this difficulty by assuming exact knowledge of a relevant conditional distribution. While small deviations from this assumption can sometimes be tolerated in classical one-shot testing, existing sequential conditional independence tests typically require the Model-X conditional to be known exactly, making them fragile when it must instead be estimated. We propose a new approach that is substantially more robust to such estimation error. Our method applies testing-by-betting to an adaptively optimized Kernel Conditional Independence statistic, together with a normalization scheme and a truncate-and-shift calibration strategy. These modifications greatly reduce Type I error inflation while preserving high power across high-dimensional synthetic benchmarks and real-world fairness tasks, outperforming existing sequential Model-X approaches. Code is available at https://github.com/he-zh/SKCI.
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="2606.18993")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2606.18993", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2606.18993")
Code
Syntology 21 code samples harvested from 2 repositories linked to this paper: 18 ran (of which 8 constructed an object rather than computing a result; 11 with no instrument failure: 0 honoured, 0 violated, 11 with no contract checked; 7 where Syntology's instrument failed) · 3 unverified. Where Syntology's instrument failed: 5 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: found in paper text by Syntology: 21 samples from 2 repositories, 18 ran (11 with no instrument failure; 7 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 between 2026-09-22 and 2026-09-24 (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
21 samples harvested: 18 ran (of which 8 constructed an object rather than computing a result; 11 with no instrument failure: 0 honoured, 0 violated, 11 with no contract checked; 7 where Syntology's instrument failed) · 3 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: 21 of the 21 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 2 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “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”. For 3 samples that ran, the graph records a signature this page does not show: for a class the fixture built without calling, the harness called the object with inputs it made up itself, so the recorded signature is the harness's probe, not the fixture's arguments. “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.
9119ce0071ef2f48 · report
fixture: signature K:Tensor/2/float, L:Tensor/2/float, biased:bool/0/bool · returned Tensor · level recorded 2026-09-22 41b683c4be4cd8ca · report
fixture: signature a_all:Tensor/2/float, b_all:Tensor/2/float, c_all:Tensor/2/float, test_size_ratio:float/0/float, shuffle:bool/0/bool, n_test_points:NoneType/0/? · returned tuple · level recorded 2026-09-22 26ff1fd03e551784 · report
30df91834d21b20c · report
ad969967f4c8d09c · report
fixture: returned AutoencoderModel · level recorded 2026-09-22 c6866c2f7187d2a7 · report
fixture: returned BaseModel · level recorded 2026-09-22 03e65a2f466d0896 · report
fixture: returned CombinedDataset · level recorded 2026-09-22 8c1e24c3f1af1b00 · report
fixture: returned EarlyStopper · level recorded 2026-09-22 bcfceab8bea65bbe · report
fixture: returned EncoderReducerWrapper · level recorded 2026-09-22 e98a136afbaa12d0 · report
fixture: returned ImageAutoencoder · level recorded 2026-09-22 49b08ce34c57a4ab · report
fixture: returned Kernel · level recorded 2026-09-22 a2e03db3f69368fb · report
fixture: signature X:Tensor/2/float, y:Tensor/1/int · returned Tensor · level recorded 2026-09-24 0c33c83e0243328c · report
fixture: signature K_XX:Tensor/2/float, K_YY:Tensor/2/float, reg:Tensor/0/float · returned Tensor · level recorded 2026-09-24 b312f71ee30021a2 · report
fixture: returned PCAReducer · level recorded 2026-09-22 b5771efb37d38b25 · report
fixture: signature K_xX:Tensor/2/float, K_XX:Tensor/2/float, K_yy:Tensor/2/float, K_yY:Tensor/2/float, K_YY:Tensor/2/float, reg:Tensor/0/float · returned Tensor · level recorded 2026-09-24 4f46781100e7e85e · report
fixture: signature x:Tensor/2/float, val:float/0/float · returned Tensor · level recorded 2026-09-22 2d307fb7a8b53546 · report
fixture: signature K_aa_centered:Tensor/2/float, K_bb_centered:Tensor/2/float, K_cc:Tensor/2/float · returned Tensor · level recorded 2026-09-22 2d89a2b7fa5030ff · report
fixture: signature x:Tensor/2/float, y:Tensor/2/float, model_x:callable/0/?, model_y:callable/0/? · returned Tensor · level recorded 2026-09-22 c4be48a1d0b8f76f · report
fixture: signature datasets:list/1/DatasetWithAttributes · returned dict · level recorded 2026-09-22 44c8b6a61eab3862 · report
fixture: signature K_XX:Tensor/2/float, K_YY:Tensor/2/float, ridge_lambda:float/0/float · returned tuple · level recorded 2026-09-22 2ced95cb1cda483a · 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. Siblings are assemblies lifted from this paper in the same batch for the same method: alternative readings kept side by side; none replaces or supersedes another.
2 assemblies on this paper: 2 harvested, 0 generated, listed in 1 groups (siblings lifted in one batch form one group).
2 sibling assemblies for Sequential Kernel-based Conditional Independence Testing via Adaptive Betting (harvested), lifted in the same batch on 2026-09-09: alternative readings kept side by side; none replaces or supersedes another.
harvested Assembly for Sequential Kernel-based Conditional Independence Testing via Adaptive Betting (graph method: Sequential Kernel-based Conditional Independence Testing via Adaptive Betting). 4 bricks; individually on a fixture: 2 ran (of which 0 constructed an object rather than computing a result; 0 with no instrument failure: 0 honoured, 0 violated, 0 with no contract checked; 2 where Syntology's instrument failed) · 2 unverified. The assembly has not been run end-to-end.
one of 2 siblings
- KCIMeasure entry · level 0 · unverified ·
30df91834d21b20c - DependenceMeasure helper · level 0 · unverified ·
26ff1fd03e551784 - compute_hsic metric · level 1 · ran; the contract check could not run (RAISES) ·
9119ce0071ef2f48 - split_data data_transform · level 1 · ran; the contract check could not run (RAISES) ·
41b683c4be4cd8ca
harvested Assembly for Sequential Kernel-based Conditional Independence Testing via Adaptive Betting (graph method: Sequential Kernel-based Conditional Independence Testing via Adaptive Betting). 17 bricks; individually on a fixture: 16 ran (of which 8 constructed an object rather than computing a result; 11 with no instrument failure: 0 honoured, 0 violated, 11 with no contract checked; 5 where Syntology's instrument failed) · 1 unverified. The assembly has not been run end-to-end.
one of 2 siblings
- Trainer entry · level 0 · unverified ·
2ced95cb1cda483a - AutoencoderModel helper · level 1 · ran ·
ad969967f4c8d09c - CombinedDataset helper · level 1 · ran ·
03e65a2f466d0896 - EarlyStopper helper · level 1 · ran ·
8c1e24c3f1af1b00 - LeaveOneOutKRR loss · level 1 · ran ·
0c33c83e0243328c - SquareLossKRR loss · level 1 · ran ·
b5771efb37d38b25 - compute_unbiased_kci metric · level 1 · ran · our draft was wrong ·
2d307fb7a8b53546 - get_centered_kernel_matrix helper · level 1 · ran · our draft was wrong ·
2d89a2b7fa5030ff - BaseModel model · level 1 · ran ·
c6866c2f7187d2a7 - EncoderReducerWrapper helper · level 1 · ran ·
bcfceab8bea65bbe - ImageAutoencoder helper · level 1 · ran ·
e98a136afbaa12d0 - LDAReducer helper · level 1 · ran ·
a2e03db3f69368fb - PCAReducer helper · level 1 · ran ·
b312f71ee30021a2 - merge_datasets helper · level 1 · ran · our draft was wrong ·
c4be48a1d0b8f76f - add_diag helper · level 1 · ran · our draft was wrong ·
4f46781100e7e85e - solve_regularized_kernel_matrix_system helper · level 1 · ran · our draft was wrong ·
44c8b6a61eab3862 - Kernel model · level 1 · ran ·
49b08ce34c57a4ab
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="2606.18993") 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, 2606.18993, was issued in June 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