# GIST: Gibbs-Targeted Hierarchical Data Selection for Offline RLVR

GIST selects which responses and tokens to supervise in offline RLVR

Xuliang Huang, Tianxiang Zhao, Chengwei Qin, Yao Shu · arXiv · 2026-11-4

- **Problem** Offline RLVR trains on every token of every retained response, though responses and tokens differ in how informative they are. This treats every token as equally useful.
- **Method** GIST picks responses by sampling temperature and verifier outcome, then supervises only the tokens its mask selects.
- **Results** With BOLT, GIST raised Qwen3-0.6B's GSM8K Strict accuracy to 45.79, compared to 43.29 for BOLT alone.

## Why choosing data is hard for offline RLVR

Most offline pipelines apply supervision to all tokens in each response they keep, which treats every retained response as equally useful. The paper argues that responses and tokens aren't equally informative, so this default leaves room for improvement.

Rejection sampling keeps verified correct responses, and BOLT weights each response by its reward. Other methods subsample rollouts, or they pick tokens by entropy or probability.

A token's worth depends on both the verifier outcome and how its response was sampled. Failures sampled at low temperature, by contrast, point to errors near the policy's mode.

The authors therefore study selection through the Gibbs-optimal policy of KL-regularized RLVR, which is the target offline training fits. The forward term governs correct responses, whose informative tokens have low probability. The reverse term governs incorrect responses, whose informative tokens have high probability.

## The Gibbs target and how the mismatch is measured

Offline training fits the policy to the Gibbs-optimal target of KL-regularized RLVR, which reweights the reference policy by the exponentiated reward. For a prompt x, the target is pi star of y given x, equal to the reference probability times e to the r(x,y) over beta, divided by Z(x). The maximizer of the KL-regularized objective is unique for a fixed prompt, and beta controls the strength of regularization.

Proposition 2.1 also shows that the objective gap of any policy with finite KL to the reference equals beta times its reverse KL to this target. Offline training draws responses from a fixed rollout distribution mu, so the forward KL to the target becomes an expectation under mu. When mu equals the reference policy, the weights reduce to the reference-sampled weighted-likelihood objective of BOLT.

The mismatch is measured by a bidirectional divergence, D lambda, equal to the forward KL plus lambda times the reverse KL. The score U lambda y weights the squared probability gap by the curvature of both KL terms, so small probabilities count more. Under bounded density ratios between gamma and Gamma, the divergence lies between constant multiples of the score.

Near the target, the divergence equals one half of the score to second order. The coefficient lambda weights the two directions, and the authors use it only in the analysis.

At the reference policy, the mismatch factorizes exactly, which is why offline selection can be analysed there. At q equal to pi ref, the ratio of target to reference probability becomes a constant kappa r, with kappa 1 above one for correct responses. For incorrect responses, kappa 0 is below one, so correct responses are under-represented and incorrect ones are over-represented.

At the token level, low-probability tokens of correct responses and high-probability tokens of incorrect responses carry the mismatch.

## How GIST turns the analysis into selection rules

GIST starts from three signals that exist when the data are built: the sampling temperature, the verifier outcome, and the initial policy's token probabilities. The frozen initial policy generates 16 responses per prompt at temperature 1.0, which forms the on-policy pool. It then generates another 16 responses at temperature 0.3, which forms the near-mode pool, with neither top-p nor top-k truncation.

GIST keeps correct responses only from the on-policy pool and incorrect responses only from the near-mode pool, a rule the paper calls temperature pairing.

![Figure 2: Overview of GIST (schematic). (a) Rollouts on-policy (τh = 1) and near the mode (τl). (b) Correct responses are taken from τh and incorrect ones fro…](https://refivu.com/papers/bfb566ca-99e1-429a-bcd7-aa39a57f0bab/figures/figure-e0dfd378c7c621f0f10a9814189c77aa.png?thumb=512)

**Figure 2** : Overview of GIST (schematic). (a) Rollouts on-policy (τh = 1) and near the mode (τl). (b) Correct responses are taken from τh and incorrect ones from τl . (c) The frozen initial policy scores tokens to mask both classes. (d) Selected responses and masks are passed to an offline training objective.

[Original paper](https://arxiv.org/abs/2611.06395v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Xuliang Huang, Tianxiang Zhao, Chengwei Qin, Yao Shu · GIST: Gibbs-Targeted Hierarchical Data Selection for Offline RLVR · Original paper figure · Extracted the figure area from page 5 of the original PDF.

A prompt is eligible only when it has at least 4 correct responses from the on-policy pool and at least 4 incorrect ones from the near-mode pool. The paper calls these quotas a practical choice, because the analysis doesn't derive them. The cost of this rule is that the hardest prompts are excluded, since they rarely supply enough correct responses.

The frozen initial policy scores each retained response token by token, which gives a probability q\_t at every position. The threshold q̄ is the mean of these values over the response positions, excluding EOS. Incorrect responses keep the positions with q\_t above q̄, the high-probability tokens the paper links to confident errors. GIST computes these masks once with the frozen initial policy, and they stay fixed across all training epochs.

BOLT weights each response by e^{r/β}, with β set to 0.1 in the experiments, and rescales the weights so the 32 candidates of a prompt average one. SFT instead gives every retained response unit weight, and both objectives average each response's weight times its mean negative log-likelihood over the masked positions. Unmasked positions stay in the context but receive no loss, so GIST passes the selected responses, their rewards, and the token masks to the training objective.

## Does GIST improve both offline objectives?

The main test trains Qwen3-0.6B, Qwen3.5-2B and Gemma-4-E2B-it with BOLT and with SFT, each on all candidates or on GIST's selected subset. Averaged over GSM8K, MATH-500 and MBPP-full, GIST improves both objectives on every model, by 1.26 to 2.55 points over BOLT and 1.11 to 4.41 points over SFT. For Qwen3-0.6B, BOLT with GIST averaged 44.04, compared to 41.49 for BOLT alone.

Gains on MATH-500 are smaller, at 0.40 to 1.80 points. On Flexible accuracy, BOLT alone fell below the initial checkpoint for two models, while BOLT with GIST improved on it. For Gemma-4-E2B-it, SFT's MATH-500 Strict accuracy went from 12.40 to 41.80 with GIST, while Flexible rose by 11.00 points, so much of that jump reflects the prescribed answer format.

![Table 2: Test results with BOLT and SFT (%). Avg.: mean of GSM8K Flex., MATH-500 Flex., and MBPP-full pass@1. Bold marks the best score within each model and c…](https://refivu.com/papers/bfb566ca-99e1-429a-bcd7-aa39a57f0bab/figures/figure-67bd77904cb5377c1df67ee5c786b474.png?thumb=512)

**Table 2** : Test results with BOLT and SFT (%). Avg.: mean of GSM8K Flex., MATH-500 Flex., and MBPP-full pass@1. Bold marks the best score within each model and column. Parentheses: change vs. Initial.

[Original paper](https://arxiv.org/abs/2611.06395v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

The paper reports paired tests over the 1,319 GSM8K questions for Qwen3-0.6B, which support the GSM8K gains. On MBPP-full the picture is mixed, with GIST gaining 4.80 points on Qwen3-0.6B and trailing BOLT by 0.60 on Qwen3.5-2B.

## How GIST compares with other selectors

The selectors all draw from one pool of 1,593 eligible prompts and train with the BOLT objective. Random takes four correct and four incorrect responses at random and keeps every token of them. RFT-style keeps every correct response, while HES, PODS, ProFit, ETS and RSI-S are adapted to this pool. GIST ranks highest on both metrics, at 1.59 to 3.33 points above all seven baselines on Strict and 1.13 to 3.26 points on Flexible.

ProFit keeps high-probability tokens, which makes it the weakest selector in this comparison. Because the baselines are adaptations to this pool, their numbers reflect these versions rather than each method's original setup.

GIST exceeds Random by 2.65 points on Strict and 1.13 points on Flexible. It does so while supervising 31.5% fewer tokens than Random. The authors tie part of this gap to the token rule, since keeping high-probability tokens loses most of the mask's benefit.

## Which parts of GIST carry the gain

The component ablation holds the shared pool fixed and changes one GIST design choice at a time on Qwen3-0.6B/GSM8K.

The mask adds 2.04 Strict and 2.12 Flexible points when GIST pairs responses by temperature. Without pairing, the mask adds only 0.45 Strict and 0.15 Flexible points. The authors read this gap as an interaction of 1.59 and 1.97 points, so pairing and masking help mainly together. Figure 3 plots this 2×2 design, where unpaired responses come from the Random selector.

Table 5 keeps GIST's responses fixed and changes only which positions of correct responses are supervised. Supervising all tokens costs 2.04 points on Strict and 2.12 on Flexible. A random subset of the same size costs 0.98 points on Strict and 4.09 on Flexible. Keeping the highest-probability tokens costs 1.74 points on Strict and 2.50 on Flexible.

![Table 5: Token rule for correct responses, Qwen3-0.6B on GSM8K (%).Kept: approxi- mate share of positions supervised per correct response (%). †Same number of…](https://refivu.com/papers/bfb566ca-99e1-429a-bcd7-aa39a57f0bab/figures/figure-36e72489a60722a86eb76d82065f4b49.png?thumb=512)

**Table 5** : Token rule for correct responses, Qwen3-0.6B on GSM8K (%).Kept: approxi- mate share of positions supervised per correct response (%). †Same number of positions per response as GIST. Parentheses: change vs. GIST.

[Original paper](https://arxiv.org/abs/2611.06395v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

## What the token and step saving costs in training

GIST cuts the supervised tokens on Qwen3-0.6B/GSM8K by 66.6% against training on all candidates of the same prompts. Against random selection, GIST supervises 31.5% fewer tokens on the same pool.

![Table 6: Supervised tokens up to each method’s selected checkpoint (Qwen3-0.6B/GSM8K).Re- ductionis relative to all candidates](https://refivu.com/papers/bfb566ca-99e1-429a-bcd7-aa39a57f0bab/figures/figure-5c8d4114e50797b34b1410d03e6fc205.png?thumb=512)

**Table 6** : Supervised tokens up to each method’s selected checkpoint (Qwen3-0.6B/GSM8K).Re- ductionis relative to all candidates.

[Original paper](https://arxiv.org/abs/2611.06395v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)

Its selected checkpoint arrives at 2,394 optimizer steps, while training on all candidates needs 4,779. That checkpoint, however, comes after twice as many epochs.

Masked positions still pass through the forward and backward passes, so token counts alone don't measure the compute. Selection reuses the candidate pool of BOLT, so GIST starts from the same rollouts. GIST adds one forward pass of the frozen initial policy to compute the token probabilities q\_t.

Table 6 lists 13.60M supervised tokens for all candidates, 6.64M for Random, and 4.55M for GIST. Relative to all candidates, the reduction is 51.2% for Random and 66.6% for GIST.

## Limits of the selection rule and the evidence

The eligibility rule removes the hardest prompts, because a prompt needs enough correct and enough incorrect responses to qualify. The quotas for each class are a practical choice, and the analysis doesn't fix them. The analysis leaves the class balance open, so GIST sets it through the number of retained responses per class. At P(x) = 0.5 and β = 0.1, the ratio R\_λ is 2.6 for λ = 0 and 13.4 for λ = 1.

At β = 0.5, the same ratio drops to 1.8 and 2.5, so the balance moves with β and λ.

The controlled selection comparison uses only Qwen3-0.6B on GSM8K, with seven baselines drawn from the same candidate pool. The MBPP gains are mixed: GIST gains 4.80 points on Qwen3-0.6B, but it trails BOLT by 0.60 on Qwen3.5-2B. The MATH-500 gains are smaller, at 0.40 to 1.80 points over BOLT. So the broader claim rests mostly on the GSM8K results, where GIST improves Strict and Flexible accuracy for every model under BOLT.

The paper reports that GIST beats SFT on every model, benchmark, and metric, which strengthens the GSM8K evidence.

## Paper info

- **Authors**: Xuliang Huang, Tianxiang Zhao, Chengwei Qin, Yao Shu
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-4
- **Added**: 2026-11-6
- **Updated**: 2026-11-4
- **Version**: v1
- **arXiv**: 2611.06395
- **Category**: cs.AI · cs.LG
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.06395v1) · [PDF ↗](https://arxiv.org/pdf/2611.06395v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Offline reinforcement learning with verifiable rewards (RLVR) trains on a fixed pool of sampled responses and typically supervises every token of every response, although responses and tokens are not equally informative. We study which ones to supervise through the Gibbs-optimal policy of KL-regularized RLVR, which offline training targets, and measure the mismatch between a policy and this target with a bidirectional KL divergence. At the reference policy, this mismatch factorizes exactly and separates the two outcomes: correct responses contribute mainly through the forward term, concentrated on their low-probability tokens, and incorrect responses through the reverse term, concentrated on the responses the policy generates often and on their high-probability tokens. Based on this analysis, we propose GIST (Gibbs-Targeted Hierarchical Data Selection), a two-level selection method that approximates these principles with signals available before training. GIST uses the sampling temperature to select correct responses on-policy and incorrect responses near the policy's mode, and it uses the initial policy's token probabilities to supervise only the tokens where the mismatch lies. Applied to two offline training objectives, GIST raises the average accuracy over GSM8K, MATH-500, and MBPP for all three models under both objectives. In a controlled comparison on Qwen3-0.6B/GSM8K, it outperforms seven selection baselines that choose from the same candidates while supervising 66.6% fewer tokens than training on all candidates of the same prompts.

## Quote from the paper

Xuliang Huang, Tianxiang Zhao, Chengwei Qin, Yao Shu (2026). GIST: Gibbs-Targeted Hierarchical Data Selection for Offline RLVR. arXiv:2611.06395v1. https://arxiv.org/abs/2611.06395v1

**BibTeX**

```
@misc{huang2026gist,
  title = {{GIST: Gibbs-Targeted Hierarchical Data Selection for Offline RLVR}},
  author = {Xuliang Huang and Tianxiang Zhao and Chengwei Qin and Yao Shu},
  year = {2026},
  eprint = {2611.06395},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.06395v1}
}
```

## Other paper commentary

- [Opening the Black Box of Neural Auction Mechanisms](https://refivu.com/en/papers/8d083675-a2e7-4dae-8eab-589959d46289-opening-the-black-box-of-neural-auction-mechanisms.md)
- [Responsible GenAI Use During Active Armed Conflict: Evidence from Sudan's Emergency Response Rooms](https://refivu.com/en/papers/37fece41-24a2-424d-8d61-10f081109780-responsible-genai-use-during-active-armed-conflict-evidence.md)
- [How Deep is the Signal? Time-Context up to 30 Years for Colorectal Cancer Prediction in a Primary-Care EHR Model](https://refivu.com/en/papers/bc34e3a5-2f54-4f6d-b8ba-0d4900d7c629-how-deep-is-the-signal-time-context-up.md)
- [Optimistic Hedge in General-Sum Games: Fundamental Limits and Regret Bounds via Temporal Approximation](https://refivu.com/en/papers/742ccf4a-1dbe-4ba9-a64d-e887c151a107-optimistic-hedge-in-general-sum-games-fundamental-limits.md)
- [Consistent Submodular Maximization with Full Foresight](https://refivu.com/en/papers/581075e3-e4d0-4abc-a9f5-d93e53320471-consistent-submodular-maximization-with-full-foresight.md)
- [A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning](https://refivu.com/en/papers/08306129-4598-48b6-baf3-9d1af09e03a6-a-reduction-of-imitation-learning-and-structured-prediction.md)
- [When Bigger Becomes Brittle: Why Compression Hurts More as Language Models Scale](https://refivu.com/en/papers/77b52697-bb15-44e2-b310-7c5b411df181-when-bigger-becomes-brittle-why-compression-hurts-more.md)
- [Tight Asymptotic Bounds on the Maximum Number of Linear Regions of Piecewise-Linear Kolmogorov--Arnold networks](https://refivu.com/en/papers/17526235-331a-4cc3-8aba-33df9eb56bc6-tight-asymptotic-bounds-on-the-maximum-number-of.md)
- [Decodability Is Not Validity: Evaluating Nuisance Sensitivity in Language Model Concept Probes](https://refivu.com/en/papers/7196df2a-7429-4a40-bd2f-beda7abf9ece-decodability-is-not-validity-evaluating-nuisance-sensitivity.md)
- [EnergyBench: a live, gate-aligned benchmark of day-ahead forecasts for European power markets](https://refivu.com/en/papers/2263ceaf-ace0-496a-8cd1-65a393fc5355-energybench-a-live-gate-aligned-benchmark-of-day.md)
- [Scaling Laws for SAE Training Data](https://refivu.com/en/papers/249b7e3f-d71b-4d39-8746-62a5f00e639c-scaling-laws-for-sae-training-data.md)
- [Adversarial Multiplicity: Cherry-Picked Models and the Limits of Disclosure](https://refivu.com/en/papers/61ca5665-80c7-40ac-a221-35b4be567f8b-adversarial-multiplicity-cherry-picked-models-and-the-limits.md)

## Terms in this paper

- [pass@1](https://refivu.com/en/terms/0b5f8fd75383-pass-1)
- [SFT](https://refivu.com/en/terms/ba69d88561ea-sft)
- [ProFit](https://refivu.com/en/terms/d64c46d0508c-profit)
- [Qwen3-0.6B](https://refivu.com/en/terms/28ea9064c855-qwen3-0-6b)
- [GIST](https://refivu.com/en/terms/99b9a1674392-gist)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/bfb566ca-99e1-429a-bcd7-aa39a57f0bab-gist-gibbs-targeted-hierarchical-data-selection-for-offline)
