jubba-io's picture
docs: align sampling artifact with audited selective replacement paper
57ff50e verified
|
Raw History Blame Contribute Delete
13 kB
# Current paper: results and reproduction
This guide describes **Selective Answer Replacement in Frozen Language Models**,
by Jubba Smail and Massa Baali, November 2026. The
[audited manuscript revision](https://github.com/OVRLab/Granite-Jev---Improving-Small-Language-Models-with-Selective-Verification/tree/6b6915eebaf7316907dcebd8935b682fb03111ec)
is the source of the summaries below. Historical adapters, attention hooks and
continuation controllers remain separate studies in the source repository.
## Which artifact do I need?
| Purpose | Artifact |
| --- | --- |
| Run the two-candidate policy on your own prompt | [Standalone 1B runner](README.md) and [pinned download](https://huggingface.co/OVRLab/granite-jev-1b-sampling/blob/main/INSTALL.md) |
| Reproduce reported numbers and figures without inference | [Manuscript repository](https://github.com/OVRLab/Granite-Jev---Improving-Small-Language-Models-with-Selective-Verification), `make paper-reproduce` |
| Study the primary ARC/CSQA implementation | [Confirmation protocol](https://github.com/OVRLab/jev-guided-decoding/blob/5eeaacd09033362823d014773067dc900a696906/research/sampling-confirmation-v1.md) and [implementation](https://github.com/OVRLab/jev-guided-decoding/tree/5eeaacd09033362823d014773067dc900a696906/research/iterations/sampling_confirmation/) |
| Inspect generator-family replication and readout controls | [Family protocol](https://github.com/OVRLab/jev-guided-decoding/blob/4db8b59/research/family-transfer-20261103.md), [completed report](https://github.com/OVRLab/jev-guided-decoding/blob/4db8b59/reports/2026-11-03-family-transfer/README.md) and [receipt audit](https://github.com/OVRLab/jev-guided-decoding/blob/78cd35e/reports/2026-11-06-family-receipt-audit/README.md) |
| Reproduce the common mathematical comparison | [GSM8K protocol](https://github.com/OVRLab/jev-guided-decoding/blob/f5815391110c9a04e86b667eb581c84f4dfbc7d4/research/reliability-math-20261105.md) and [numerical reproduction](https://github.com/OVRLab/jev-guided-decoding/blob/f5815391110c9a04e86b667eb581c84f4dfbc7d4/research/reliability_math/NUMERICAL_REPRODUCTION.md) |
| Compare greedy/sample with sample/sample candidates | [Construction protocol](https://github.com/OVRLab/jev-guided-decoding/blob/aefa44dffdd2d4ff8b29b8c899bcf71049d18314/research/preservation-pairs-20261106.md) and [worker](https://github.com/OVRLab/jev-guided-decoding/blob/aefa44dffdd2d4ff8b29b8c899bcf71049d18314/research/preservation_pairs/run.py) |
| Compare an open verifier on saved candidates | [Open-verifier protocol](https://github.com/OVRLab/jev-guided-decoding/blob/5eeaacd09033362823d014773067dc900a696906/research/open-verifier-v1.md) and [implementation](https://github.com/OVRLab/jev-guided-decoding/tree/5eeaacd09033362823d014773067dc900a696906/research/iterations/open_verifier/) |
| Compare constructions with a local open verifier | [Final protocol](https://github.com/OVRLab/jev-guided-decoding/blob/11a1ac9cf1260d978be16a15d9751c58115c347a/research/preservation_open_20261106.md) and [frozen worker](https://github.com/OVRLab/jev-guided-decoding/tree/11a1ac9cf1260d978be16a15d9751c58115c347a/research/preservation_open_verifier/) |
| Measure complete requests | [Deployment protocol](https://github.com/OVRLab/jev-guided-decoding/blob/5eeaacd09033362823d014773067dc900a696906/research/sampling-deployment-v1.md) and [implementation](https://github.com/OVRLab/jev-guided-decoding/tree/5eeaacd09033362823d014773067dc900a696906/research/iterations/sampling_deployment/) |
| Reproduce additional task collection/scoring | [Card completion protocol](https://github.com/OVRLab/jev-guided-decoding/blob/5eeaacd09033362823d014773067dc900a696906/research/sampling-card-completion-v1.md) and [implementation](https://github.com/OVRLab/jev-guided-decoding/tree/5eeaacd09033362823d014773067dc900a696906/research/iterations/card_completion/) |
| Inspect source-grounded grading | [FACTS protocol](https://github.com/OVRLab/jev-guided-decoding/blob/5eeaacd09033362823d014773067dc900a696906/research/facts-sampling-comparison.md) and [completed comparison](https://github.com/OVRLab/jev-guided-decoding/blob/5eeaacd09033362823d014773067dc900a696906/reports/2026-11-01-facts-sampling/README.md) |
The 1B runner implements the paper's inference procedure with unchanged IBM
weights; the primary study also evaluates Granite 4.2–3B standard mode. The
download is not a 3B model package, a new trained checkpoint, a hosted chat
endpoint or a vLLM extension. Running Jev requires your own TypeSafe credential.
This documentation revision updates the evidence summary and retains the prior
patched HTTPS trust-store/filesystem-lock dependency minimums. Its executable sources
and historical live-validation receipts remain unchanged; see the separate
[maintenance validation](VALIDATION.md).
## Primary evidence
The [primary table](https://github.com/OVRLab/Granite-Jev---Improving-Small-Language-Models-with-Selective-Verification/blob/6b6915eebaf7316907dcebd8935b682fb03111ec/generated/table_sampling_confirmation.tex)
reports gains over greedy on ARC-Challenge of +5.02 pp for 1B and +2.90 pp for
3B; CommonsenseQA gains are +4.10 and +2.05 pp. All four comparisons were
specified before inference and have Holm-adjusted p < .001. The three paired
draws share questions and greedy answers, so they are not independent corpora.
The raw sample scores below greedy on these four strict-choice comparisons,
while Jev-selected scores improve. Candidate-state controls show that useful
alternatives exist despite lower standalone sample accuracy. Jev scores are
fallible, uncalibrated judgments; they do not repair a pair with no correct answer.
## Independent families and candidate construction
Qwen3.5–4B improves by +1.43/+2.35 pp on ARC/CSQA after token-verified removal
of a terminal chat-control suffix. Phi-4-mini improves by +2.93/+4.18 pp under
the separate post-hoc exact-option readout; its strict and inline-label results
remain available and trail Vote-3. These are the same question cohorts, not new
tasks, and the family tests do not inherit the original Granite test family.
The prospective common GSM8K protocol evaluates 1,319 test questions per model
in BF16, with zero-shot prompts and 1,024 new tokens. Numeric accuracy rises
70.89→77.79% for Granite, 89.92→92.22% for Phi and 91.81→93.56% for Qwen.
All three gains pass the separate nine-test adjustment. None of the six
development-selected-margin loss contrasts does. The original 0.05 default
therefore remains unchanged; selecting 0.075 on development data is not evidence
of a better deployment setting. Phi's numeric gain is larger than its gain in
joint correctness and requested formatting.
The subsequent construction control retains every saved answer and obtains
fresh interleaved Jev scores for greedy/sample (GS) and sample/sample (SS) pairs.
Across 23,742 logical pairs, 23,297 successful requests and 445 exact-text skips,
SS exceeds GS numeric accuracy by +1.26 pp on Granite and +0.91 pp on Qwen,
both passing its three-test adjustment. Phi's +0.43 pp difference is inconclusive;
its joint score falls from 83.85% to 80.01%. Own-incumbent fixes/harms are not
the same as regressions between the selected GS and SS answers. This is a
fixed, exposed-candidate control, not a new-generator or unseen-task confirmation.
[Complete construction export and audit](https://github.com/OVRLab/Granite-Jev---Improving-Small-Language-Models-with-Selective-Verification/tree/6b6915eebaf7316907dcebd8935b682fb03111ec/research/results/preservation-fresh-pairs-20261106).
A separately registered **open-verifier construction control** scores those same
23,742 pairs with pinned Qwen3-4B-Instruct-2507 in FP32. Open GS→SS numeric
accuracy is 75.03→76.12% for Granite, 90.93→90.95% for Phi and
92.82→93.38% for Qwen. All three construction contrasts and all three
interactions with fresh Jev are inconclusive in their six-test Holm family; this
is not evidence of verifier equivalence. Open's absolute numeric scores are
lower than fresh Jev's on these pairs. Phi's secondary joint correctness/format
score falls from 84.10% to 77.26% under SS. These results do not replace the
earlier ARC/CSQA open-verifier control or change the released default.
[Full Open export, intervals and independent audit](https://github.com/OVRLab/Granite-Jev---Improving-Small-Language-Models-with-Selective-Verification/tree/6b6915eebaf7316907dcebd8935b682fb03111ec/research/results/preservation-open-pairs-20261106).
The Open replay performs two target forwards per called pair: 46,594 scientific
forwards and 39,085,526 input positions, with 16 final-session mechanical probes
accounted separately. No new generator answers or Jev calls were made for this
Open control. Target timings are components, not complete-request latency or
evidence of equal total computation between verifiers.
## Broader evidence and its limits
- The thirteen exploratory endpoints cover IFEval, GSM8K, BBH, MGSM, AGI Eval,
GSM-Symbolic, Minerva Math, a fixed DeepMind Math slice, HumanEval/+, MBPP/+
and CRUXEval-O. All reported paired gains are positive in their separate
post-hoc family; task variants and repeated prompts share source material.
- Additional evidence covers MMLU, MMLU-Pro, GPQA, INCLUDE, six MMMLU
translations, MultiPL-E, BigCodeBench, BFCL, SALAD-Bench and AttaQ. Six of
nine reported task-level contrasts have positive 99.5% bands in the original
ten-task allocation; GPQA and both safety bands include zero. No original
eleven-language MMMLU aggregate or exact IBM recipe parity is claimed.
- BigCodeBench evaluates all 1,140 tasks under the disclosed cached-dependency
setup: 126 greedy, 128 sampled and 155 selected programs pass. BFCL has a
small aggregate gain but no complete successes on its 800 multi-turn cases,
and irrelevance detection worsens.
- FACTS covers all 856 source-grounded requests: 30.37% greedy versus 36.80%
selected, +6.43 pp [4.67, 8.29]. This is an exploratory AI-graded adaptation,
not the official multi-judge score. Earlier reliability checks failed the
stated threshold; its intervals condition on those frozen judgments.
The [complete result exports](https://github.com/OVRLab/Granite-Jev---Improving-Small-Language-Models-with-Selective-Verification/tree/6b6915eebaf7316907dcebd8935b682fb03111ec/research/results)
retain counts, intervals, grouping, grading contracts and adverse controls.
Do not average these different metrics or treat every endpoint as an independent
replication. No historical adapter result is imported into the sampling paper.
## Controls and practical cost
The paper includes raw-sample, expected uniform selection, label-informed pair
oracle, Vote-3, direct structured-choice Jev and an open Qwen verifier. Direct
Jev is a supplied-option decision control; it does not generate response tokens.
Vote-3 beats SAR–Jev on 1B CommonsenseQA under strict grading, 62.90% versus
52.99%. A secondary format-tolerant parser gives 68.22% for the same fixed
Vote-3 outputs and 71.39% for SAR–Jev; consistently parsing all samples before
re-voting gives 68.47%. Both diagnostic readouts preserve the original strict
result. SAR-selected outputs and Jev scores remain unchanged; Vote-3 selection
is recomputed for the consistent re-vote diagnostic.
The fixed 0.05 margin improves five exploratory endpoint point scores versus
zero, lowers seven and ties one; it was not selected as an accuracy optimum.
Candidate display order also affects individual choices.
The primary records contain 97.55% called pairs and 13.85% replacements.
Both candidates are generated before agreement is checked. Separate measurements
on 100 previously evaluated questions show roughly threefold median latency
versus greedy. The comparison is serial, includes hosted round trips and evidence
writes, and does not establish equal-cost superiority. Server-side Jev compute
is unavailable. Full hardware, memory and measured-work definitions are in the
paper's compute appendix and [deployment evidence](https://github.com/OVRLab/Granite-Jev---Improving-Small-Language-Models-with-Selective-Verification/tree/6b6915eebaf7316907dcebd8935b682fb03111ec/research/results/completion).
## Reproduction boundaries
`make paper-reproduce` in the manuscript repository checks hashes and replays
released nontext outcomes, regenerates tables and figures, and compiles the
manuscript. It does not need a GPU, model weights, Jev credentials or restricted
benchmark text. Some additional-task intervals are checked against saved
aggregates rather than independently regenerated.
Fresh model/API evaluation requires the original cohort-specific protocols,
pinned source/dependencies, permitted datasets, hardware and a separately bounded
provider budget. The general prompt runner is not a substitute for those task
templates, parsers or output ceilings. Older execution notes preserve historical
status; the paper's frozen exports are the result authority.