potentialpaper

Segment-Based Dynamic Programming for Optimal Two-Way Comparison Search Trees: Hierarchical Weight Partitioning with Provable Pruning

Import ICLR 2027 submission 06m27xeOot: 0 notes

@openreview[bot] · 2026-11-22 19:26 UTC · 52c1c943f202

Evidence

.gitattributes added

+++ b/.gitattributes
@@ -0,0 +1,10 @@
+# PDFs and pictures are kept with Git LFS (https://git-lfs.com). With it installed (`git lfs install`),
+# a clone has the files, and `git add` of one stores a pointer. This file is the same on every page.
+/.potentialpaper/*.pdf filter=lfs diff=lfs merge=lfs -text
+/versions/*.pdf filter=lfs diff=lfs merge=lfs -text
+/thumbnail.png filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.jpeg filter=lfs diff=lfs merge=lfs -text
+/thumbnail.gif filter=lfs diff=lfs merge=lfs -text
+/thumbnail.webp filter=lfs diff=lfs merge=lfs -text
+/thumbnail.avif filter=lfs diff=lfs merge=lfs -text

.potentialpaper/metadata.json added

+++ b/.potentialpaper/metadata.json
@@ -0,0 +1,19 @@
+{
+ "layout": 5,
+ "identifiers": [
+ {
+ "scheme": "openreview",
+ "value": "06m27xeOot"
+ }
+ ],
+ "title": "Segment-Based Dynamic Programming for Optimal Two-Way Comparison Search Trees: Hierarchical Weight Partitioning with Provable Pruning",
+ "authors": [],
+ "abstract": "A binary search tree built from the comparisons that programming languages actually provide, “q<k” and “q=k”, can be much cheaper than one built from Knuth’s three-way comparisons, but it is also much harder to optimize. After an equality test the remaining queries form a punctured interval. The best exact algorithm (Chrobak, Golin, Munro and Young, 2022) therefore runs in O\\left(n^{4}\\right) time and \\varTheta \\left(n^{3}\\right) space, and the Knuth–Yao speed-up does not apply. We present Hierarchical Weight Partitioning (HWP), a segment-based dynamic program with three provable ingredients. (i) A canonical state space stores each punctured interval exactly once, which cuts memory from n^{3}/2 to n^{3}/6+O\\left(n^{2}\\right) words and enables a cache-friendly, wavefront-parallel loop order. (ii) A multi-level segment tree (merge-sort tree) answers rank and weight queries on punctured intervals in O\\left(\\log^{2}n\\right). (iii) Weight-class thresholding admits an equality test only when the tested key carries at least a fraction τ of the subproblem weight. With dyadic weight classes, we show that at most ⌈\\left(2-\\tau \\right)/\\tau ⌉-1 keys per class can ever be tested for equality. For successful-query instances this makes HWP with τ=1/4 exact in O\\left(n^{3}\\log2R\\right) time, where R is the key-weight ratio; the previous bound was O\\left(n^{3}\\log\\left(nR\\right)\\right). For the general variant, every \\tau \\in \\left[0,1\\right] yields a tree within additive 3 (in normalized weight) of optimal, τ=0 is exact, and an equality test on a key heavier than half the subproblem is always optimal (tight). We also prove that no lower threshold can be exact in the general variant. Experiments on synthetic families and four real workloads (English vocabulary with out-of-vocabulary queries, CPython identifiers, opcodes and lexer characters) certify exactness against brute force and the O\\left(n^{4}\\right) baseline on over 4,000 instances. They also measure scaling up to n=3200, ablations, skew sensitivity and compiled-lookup deployment. We do not claim a sub-cubic exact algorithm for the general problem, and we explain why the recurrence rules one out.",
+ "year": 2027,
+ "venue": "ICLR 2027 (under review)",
+ "source": "openreview",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}

community/10-tl-dr.md added

+++ b/community/10-tl-dr.md

community/20-summary.md added

+++ b/community/20-summary.md

community/30-why-it-matters.md added

+++ b/community/30-why-it-matters.md

community/40-critique.md added

+++ b/community/40-critique.md

community/50-errata.md added

+++ b/community/50-errata.md

community/60-reproductions.md added

+++ b/community/60-reproductions.md

community/70-follow-ups.md added

+++ b/community/70-follow-ups.md

owners/10-tl-dr.md added

+++ b/owners/10-tl-dr.md

owners/20-overview.md added

+++ b/owners/20-overview.md

owners/30-results.md added

+++ b/owners/30-results.md

owners/40-demos.md added

+++ b/owners/40-demos.md

owners/50-code-and-data.md added

+++ b/owners/50-code-and-data.md

owners/60-talks.md added

+++ b/owners/60-talks.md

prek.toml added

+++ b/prek.toml
@@ -0,0 +1,36 @@
+# Checks run before each commit, with prek (https://prek.j178.dev): `prek install` once in this clone.
+# The site checks every push again; these catch mistakes before you commit. The same on every page.
+
+[[repos]]
+repo = "builtin"
+hooks = [
+ { id = "check-json" },
+ { id = "pretty-format-json", args = ["--autofix", "--no-sort-keys", "--no-ensure-ascii"], exclude = '^demos/' },
+ { id = "end-of-file-fixer", exclude = '^demos/' },
+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"], exclude = '^demos/' },
+ { id = "check-case-conflict" },
+ { id = "check-illegal-windows-names" },
+ { id = "check-added-large-files", args = ["--maxkb=256"], exclude = '^demos/' },
+]
+
+# Each JSON file against its schema (https://papers.potentialhedge.com/schemas/).
+[[repos]]
+repo = "https://github.com/python-jsonschema/check-jsonschema"
+rev = "0.39.0"
+hooks = [
+ { id = "check-jsonschema", name = "author section plugins files", files = '^owners/plugins\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/authorPlugins.json"] },
+ { id = "check-jsonschema", name = "venue files", files = '^venue\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/venue.json"] },
+ { id = "check-jsonschema", name = "topic files", files = '^topic\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/topic.json"] },
+ { id = "check-jsonschema", name = "organisation files", files = '^org\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/org.json"] },
+ { id = "check-jsonschema", name = "link files", files = '^links/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/link.json"] },
+ { id = "check-jsonschema", name = "version files", files = '^versions/[^/]+\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/version.json"] },
+ { id = "check-jsonschema", name = "picture files", files = '^thumbnail\.json$', args = ["--schemafile", "https://papers.potentialhedge.com/schemas/thumbnail.json"] },
+]
+
+# Sections formatted the way the web editor formats them.
+[[repos]]
+repo = "https://github.com/rbubley/mirrors-prettier"
+rev = "v3.9.9"
+hooks = [
+ { id = "prettier", files = '^(owners|community)/.*\.md$' },
+]

reviews/openreview/06m27xeoot/forms.json added

+++ b/reviews/openreview/06m27xeoot/forms.json
@@ -0,0 +1,183 @@
+{
+ "schema": "forms/1",
+ "forms": {
+ "Meta_Review": {
+ "label": "Meta-review",
+ "fields": [
+ {
+ "key": "metareview",
+ "label": "Meta-review",
+ "type": "text"
+ },
+ {
+ "key": "summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "additional_comments_on_reviewer_discussion",
+ "label": "Reviewer discussion",
+ "type": "text"
+ },
+ {
+ "key": "recommendation",
+ "label": "Recommendation",
+ "type": "choice"
+ }
+ ]
+ },
+ "Decision": {
+ "label": "Decision",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "hidden": true
+ },
+ {
+ "key": "decision",
+ "label": "Decision",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Comment": {
+ "label": "Comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Public_Comment": {
+ "label": "Public comment",
+ "fields": [
+ {
+ "key": "title",
+ "label": "Title",
+ "type": "choice"
+ },
+ {
+ "key": "comment",
+ "label": "Comment",
+ "type": "text"
+ }
+ ]
+ },
+ "Withdrawal": {
+ "label": "Withdrawal",
+ "fields": [
+ {
+ "key": "withdrawal_confirmation",
+ "label": "Confirmation",
+ "hidden": true
+ }
+ ]
+ },
+ "Desk_Rejection": {
+ "label": "Desk rejection",
+ "fields": [
+ {
+ "key": "desk_reject_comments",
+ "label": "Reason",
+ "type": "text"
+ }
+ ]
+ },
+ "Official_Review": {
+ "label": "Official review",
+ "summary": [
+ "rating",
+ "confidence",
+ "soundness",
+ "presentation",
+ "informativeness"
+ ],
+ "fields": [
+ {
+ "key": "rating",
+ "label": "Rating",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "confidence",
+ "label": "Confidence",
+ "type": "score",
+ "min": 1,
+ "max": 4
+ },
+ {
+ "key": "soundness",
+ "label": "Soundness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "presentation",
+ "label": "Presentation",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "informativeness",
+ "label": "Informativeness",
+ "type": "score",
+ "min": 1,
+ "max": 3
+ },
+ {
+ "key": "paper_summary",
+ "label": "Summary",
+ "type": "text"
+ },
+ {
+ "key": "critical_strengths",
+ "label": "Strengths",
+ "type": "text"
+ },
+ {
+ "key": "critical_weaknesses",
+ "label": "Weaknesses",
+ "type": "text"
+ },
+ {
+ "key": "questions_for_authors",
+ "label": "Questions for the authors",
+ "type": "text"
+ },
+ {
+ "key": "flag_for_ethics_review",
+ "label": "Flag for ethics review",
+ "type": "choice",
+ "omitWhen": [
+ "No",
+ "No ethics review needed."
+ ]
+ },
+ {
+ "key": "details_of_ethics_concerns",
+ "label": "Ethics concerns",
+ "type": "text"
+ }
+ ]
+ }
+ },
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/06m27xeoot/submission.json added

+++ b/reviews/openreview/06m27xeoot/submission.json
@@ -0,0 +1,19 @@
+{
+ "schema": "submission/1",
+ "id": "06m27xeOot",
+ "venue": {
+ "id": "ICLR.cc/2027/Conference",
+ "name": "ICLR 2027",
+ "url": "https://openreview.net/group?id=ICLR.cc%2F2027%2FConference"
+ },
+ "number": 33708,
+ "keywords": [
+ "Optimal Binary Search Tree",
+ "Dynamic Programming",
+ "Hierarchical Partitioning",
+ "Algorithmic Complexity",
+ "Efficient Search"
+ ],
+ "url": "https://openreview.net/forum?id=06m27xeOot",
+ "license": "CC-BY-4.0"
+}

versions/v_9qetq9u3.json added

+++ b/versions/v_9qetq9u3.json
@@ -0,0 +1,21 @@
+{
+ "date": "2026-09-17",
+ "kind": "submitted",
+ "label": "ICLR 2027",
+ "submissions": [
+ {
+ "venue": "ICLR 2027",
+ "status": "under_review",
+ "number": 33708,
+ "url": "https://openreview.net/forum?id=06m27xeOot",
+ "reviews": "openreview/06m27xeoot",
+ "evidence": [
+ "https://openreview.net/forum?id=06m27xeOot"
+ ]
+ }
+ ],
+ "url": "https://openreview.net/forum?id=06m27xeOot",
+ "evidence": [
+ "https://openreview.net/forum?id=06m27xeOot"
+ ]
+}