Papers › Ternary Decision Trees with Locally-Adaptive Uncertainty Zones
Ternary Decision Trees with Locally-Adaptive Uncertainty Zones
William Smits
Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).
Decision trees assign identical confidence to instances near and far from each split threshold. We introduce ternary decision trees, which augment each split node with an uncertainty zone of half-width delta. A decision-theoretic framework characterises the optimal zone width delta* as the solution to a node-local cost-minimisation problem; four formal properties are established: accuracy decomposition, a sufficiency condition for decided accuracy improvement, an exact efficiency characterisation (eta = Dec-Acc minus Acc_u, the accuracy gap between decided and boundary-uncertain predictions), and asymptotic consistency of the margin method. Instances within the zone receive predictions by weighted blending of both child subtrees and are flagged as boundary-uncertain. We propose and evaluate five delta-estimation methods: quality-plateau (plateau width of the split criterion curve), class-overlap (empirical class-distribution overlap), gain-ratio (split quality relative to split entropy), node-bootstrap (threshold variance under node-level resampling), and margin (SVM-inspired distance to the nearest cross-class training example). All methods reuse statistics already computed during standard CART split finding, requiring no external noise specification. Evaluated across 71 of the 72 OpenML-CC18 datasets with 5-fold cross-validation, all five methods with probabilistic routing significantly outperform standard CART on decided accuracy (Wilcoxon signed-rank, p < 0.001). The margin method achieves the best efficiency (0.104 accuracy gain per unit flagging rate), wins on 42 of 72 datasets, and requires zero hyperparameters. Analysis on Breiman synthetic benchmarks confirms margin is self-calibrating on clean data. On mammography, node-bootstrap achieves +0.71% decided accuracy by flagging 10.8% of cases as boundary-uncertain.
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.
For agents, on Syntology's MCP service (how to connect):
get_harvested_code_for_paper(arxiv_id="2605.22740")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="2605.22740", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="2605.22740")
Code
Syntology 22 code samples harvested from 1 repository linked to this paper: 16 ran (of which 2 constructed an object rather than computing a result; 9 with no instrument failure: 5 honoured, 2 violated, 2 with no contract checked; 7 where Syntology's instrument failed) · 6 unverified. Where Syntology's instrument failed: 2 where our contract draft was wrong; 5 where the contract check could not run; failures of Syntology's instrument, not of the code.
By repository: found in paper text by Syntology: 22 samples from 1 repository, 16 ran (9 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 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
22 samples harvested: 16 ran (of which 2 constructed an object rather than computing a result; 9 with no instrument failure: 5 honoured, 2 violated, 2 with no contract checked; 7 where Syntology's instrument failed) · 6 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: 0 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 smitswil/ternary_tree. “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.
d9b4d46de383d453 · report
fixture: returned LeafNode · level recorded 2026-09-22 5c414ae59e47f2bf · report
fixture: returned SplitNode · level recorded 2026-09-22 94900c8e21a28995 · report
fixture: signature delta:float/0/float, col:ndarray/1/float · returned float · level recorded 2026-09-22 00d98be6246b9c93 · report
fixture: signature probs:ndarray/1/float · returned float · level recorded 2026-09-22 8e3965d6334072f6 · report
fixture: signature probs:ndarray/1/float · returned float · level recorded 2026-09-22 1ae014b8576fc2da · report
fixture: signature left_w:float/0/float, right_w:float/0/float, total_w:float/0/float · returned float64 · level recorded 2026-09-22 28facaf62bfcafb0 · report
fixture: signature y:ndarray/1/int, sample_weight:ndarray/1/float, classes:ndarray/1/int · returned ndarray · level recorded 2026-09-22 4699fc60a8f27940 · report
fixture: signature y:ndarray/1/int, class_weight:NoneType/0/?, classes:ndarray/1/int · returned ndarray · level recorded 2026-09-22 aea0400d00ca24f9 · report
fixture: signature col:ndarray/1/float, y:ndarray/1/int, classes:ndarray/1/int, percentile:float/0/float · returned float · level recorded 2026-09-22 03f68c8aa56c9418 · report
fixture: signature col:ndarray/1/float, best_score:float/0/float, best_split_info:float/0/float, alpha:float/0/float · returned float · level recorded 2026-09-22 cfad436faae5d3c7 · report
fixture: signature col:ndarray/1/float, y:ndarray/1/int, theta:float/0/float, classes:ndarray/1/int · returned float · level recorded 2026-09-22 8c2355482782d237 · report
fixture: signature col:ndarray/1/float, y:ndarray/1/int, sample_weight:ndarray/1/float, classes:ndarray/1/int, candidates:ndarray/1/float, criterion:str/0/str, n_bootstraps:int/0/int, rng:Generator/0/? · returned float · level recorded 2026-09-22 cb4158509bf166ae · report
fixture: signature candidates:ndarray/1/float, scores:ndarray/1/float, best_score:float/0/float, col:ndarray/1/float, epsilon:float/0/float · returned float · level recorded 2026-09-22 2035c0c6f205f2a4 · report
fixture: signature col:ndarray/1/float, y:ndarray/1/int, sample_weight:ndarray/1/float, classes:ndarray/1/int, criterion:str/0/str · returned tuple · level recorded 2026-09-22 efda451b6639d43b · report
fixture: signature X:ndarray/2/float, y:ndarray/1/int, sample_weight:ndarray/1/float, classes:ndarray/1/int, criterion:str/0/str, feature_indices:ndarray/1/int · returned tuple · level recorded 2026-09-22 582145c98723d35a · report
fixture: signature y:ndarray/1/int · returned bool · level recorded 2026-09-22 aacb6d6651dccc13 · report
30f7e53291937ba7 · 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 Ternary Decision Trees (graph method: Ternary Decision Trees). 22 bricks; individually on a fixture: 16 ran (of which 2 constructed an object rather than computing a result; 9 with no instrument failure: 5 honoured, 2 violated, 2 with no contract checked; 7 where Syntology's instrument failed) · 6 unverified. The assembly has not been run end-to-end.
- TrinaryTree entry · level 0 · unverified ·
d63c080a421e4b93 - LeafNode model · level 1 · ran ·
d9b4d46de383d453 - SplitNode model · level 1 · ran ·
5c414ae59e47f2bf - _accumulate_importances helper · level 0 · unverified ·
aacb6d6651dccc13 - _count_leaves helper · level 0 · unverified ·
91647e60960530a6 - _count_middle_leaves helper · level 0 · unverified ·
30f7e53291937ba7 - _tree_depth helper · level 0 · unverified ·
dc1828717973b12a - compute_class_probabilities helper · level 1 · ran · honoured contract ·
28facaf62bfcafb0 - compute_delta helper · level 0 · unverified ·
5b85dcc53fc482fb - compute_sample_weight helper · level 1 · ran; the contract check could not run (RAISES) ·
4699fc60a8f27940 - evaluate_all_thresholds helper · level 1 · ran · our draft was wrong ·
2035c0c6f205f2a4 - find_best_split helper · level 1 · ran; the contract check could not run (RAISES) ·
efda451b6639d43b - is_pure helper · level 1 · ran · violated contract ·
582145c98723d35a - delta_class_overlap helper · level 1 · ran · honoured contract ·
aea0400d00ca24f9 - delta_gain_ratio helper · level 1 · ran; the contract check could not run (RAISES) ·
03f68c8aa56c9418 - delta_margin helper · level 1 · ran; the contract check could not run (RAISES) ·
cfad436faae5d3c7 - delta_node_bootstrap helper · level 1 · ran · honoured contract ·
8c2355482782d237 - delta_quality_plateau helper · level 1 · ran; the contract check could not run (RAISES) ·
cb4158509bf166ae - _entropy helper · level 1 · ran · honoured contract ·
00d98be6246b9c93 - _gini helper · level 1 · ran · violated contract ·
8e3965d6334072f6 - _split_entropy helper · level 1 · ran · honoured contract ·
1ae014b8576fc2da - _clamp_delta helper · level 1 · ran · our draft was wrong ·
94900c8e21a28995
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="2605.22740") 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, 2605.22740, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.
Placed on leaderboards by Syntology Syntology
Syntology's extractor, the model Claude Sonnet 4.5, judged this paper's tables to report on 1 leaderboard (a model's judgement, not a result) and has not placed the paper on it: Image Classification · Fashion-MNIST (rejected by the independent check). What is not shown.
Syntology has checked 8,886 of the 18,637 papers on this site that are newer than the archive (for 3,717 of them no archive leaderboard matched the paper's tables, so there was nothing further to check); 733 were read and have nothing to place (arXiv has no HTML version of the paper, or that version has no tables), 41 could not be read (the extractor's reply could not be parsed), and results from the other 8,977 appear after they are checked.
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