Block-max pruning, with a stopping certificate

Know when
to stop.

Can an early search keep nine of the exact top ten? A bounded experiment on 100,000 real indexed passages puts that claim to the test.

Inspect a recorded search
Best possible unseen scoreAuthored mechanism sketch. Measured traces follow below.

Loading the saved study result…

Corpus
100,000 passages
Held out
800 queries
Target
9 of 10 exact members

The application

Watch a search stop.

Blocks arrive in order of their best possible score. The ninth result can certify nine memberships before the tenth is settled.

Saved native measurements.
No browser inference or live corpus search.

Loading verified numeric results…

Recorded query and stopping policy

Eight trace cases are selected by the frozen cohort order, rather than by their outcome.

What can the unseen blocks contain?

—
Next unseen upper boundNinth current scoreTenth current score
Block-bound and result-score trace Select a recorded query to load the independent-checked trace.
First evaluated blockFinal evaluated block
Playback skips intermediate steps; the slider and Previous/Next inspect individual blocks. The horizontal axis counts blocks, rather than elapsed time.

Membership certificate

The returned ten.

The saved result will explain which stopping condition was met.

Ninth score—
Next unseen bound—

    A score bound certifies set membership. It does not measure relevance or answer correctness.

    Arithmetic products
    —
    Observed exact overlap
    —
    Median request time
    —
    Inspect every recorded bound and threshold

    All six trace columns are independently reconstructed from CIFF postings. This table describes the selected policy’s evaluated prefix.

    Step Block ID Block bound Next bound Ninth score Tenth score Scoring products

    The comparison

    A guarantee has a cost.

    Fixed alpha can stop more aggressively. The useful comparison includes its errors, the exact control and the work of computing every bound.

    Read individual queries

    Work against exact overlap

    Mean product count versus exact-set overlap
    All eight prespecified arms use the same index, query preparation and audited driver.

    Where the arithmetic goes

    Bound productsScoring products
    Products count integer multiplications. Heap operations, sorting and certificate checks also cost time; they are included in request latency.

    Does the saving reach most queries?

    Per-query certificate product reduction relative to exact search

    The same 800 held-out queries, including zero-saving and zero-positive cases. No favorable case is removed.

    Every query

    The awkward cases stay in.

    Request time is the median of three repeats.
    These are repeated measurements, not extra queries.

    Query ID Exact overlap Total products Saving vs exact Blocks scored Median time

    Read the boundaries

    A bounded study, with its limits.

    Inspired by Mallia, Suel & Tonellotto,
    Faster Learned Sparse Retrieval with Block-Max Pruning.

    What the certificate guarantees

    Each block upper bound is the sum of query-weighted per-term maximum impacts. Every unseen document’s score is at most the largest unseen block bound. If the ninth current score is strictly above that bound, nine returned documents must belong to the exact top ten.

    Strict comparison handles tied scores conservatively. Integer BP-order document ID breaks ranking ties. The guarantee concerns set membership under the checked index and scoring assumptions; it gives no promise about relevance, rank order or generated answers.

    What ran, and what changed from the artifact

    The genuine corpus is the first 100,000 documents in the released BP-ordered uniCOIL-TILDE quantized CIFF index. It is a bounded prefix, not a representative sample of the complete collection. Native BMP builders produce 64-document blocks and uncompressed block maxima.

    All arms share one audited driver with u32 scores, complete block handling and deterministic score/ID ordering. Authored fixtures expose single/final-block and tie behavior in the pinned main-branch source. This is a source-level engineering study, not a reproduction of the paper’s full-corpus timings or a verdict on its published numerical results.

    The frozen comparison and uncertainty

    A deterministic hash selects 200 development and 800 held-out queries from the released development file. Six alpha controls, exact BMP and the 90% certificate are fixed before scoring. Development chooses a single alpha comparator using every-query overlap and mean arithmetic products.

    The primary target requires zero certificate violations and at least 20% fewer mean bound-plus-scoring products than exact. Three timing repeats stay grouped by query; paired intervals use 2,000 query resamples. Timing includes preparation, bound generation, sorting, scoring and heap work on a shared Mac. It is not an isolated serving benchmark.

    The saved result will supply the selected comparator and frozen-target outcome.

    Sources, numerical files and reproducibility

    Read the author-hosted paper · Pinned native BMP source · Released quantized index

    Raw CIFF, query vectors/text, passage text, PDFs and private QA remain outside this website. Original MS MARCO non-commercial research terms are separate from the code license. The independent checker parses retained postings and reconstructs every measured policy result, bound/scoring product count and displayed trace field.

    Source, frozen protocol and numeric results · Policy comparison figure · First held-out trace figure

    Edit Mode Click any text to edit directly

    Tab inserts indentation. Shift+Tab returns to the editor controls. Control or Command plus Enter applies changes. Escape closes without applying.

    100%