Paper 1 of 5
Direct Pass@$k$ Optimization for Thought Pruning: Balancing Quality and Diversity in Test-Time Reasoning
Problem
Prior pruning methods either score partial solutions for quality or select diverse trajectories, but they do not directly optimize the trade‑off between quality and diversity, and naive combination of the two does not yield consistent improvements.
Approach
The paper introduces PKTP, which first learns a probabilistic model of joint rollout outcomes using a linear probe that predicts quality and captures shared random effects. It then estimates the pass@k value for any subset of rollouts and solves a mixed‑integer program at selection time to choose the subset that maximizes the estimated pass@k. This objective simultaneously rewards high‑quality partial solutions and penalizes redundancy, balancing quality and diversity without separate heuristics. The learned model is trained by maximizing a second‑order surrogate likelihood via stochastic gradient ascent. At inference, the optimizer selects the pool of partial rollouts to continue generation.
Result
PKTP consistently outperforms both the Linear Probe and RepExp baselines, especially at moderate numbers of kept rollouts, and remains above Random for all models when k is moderate. At large k the gap narrows, indicating the quality signal in partial rollouts becomes weaker.
Why it matters
Researchers and engineers building test‑time pruning pipelines for large reasoning models should consider PKTP to achieve better trade‑offs between solution quality and computational cost.
Method details
- Evaluated on eight open‑weight reasoning models (four small: Qwen3‑0.6B, Qwen3‑1.7B, OpenMath‑Nemotron‑1.5B, DeepSeek‑R1‑Distill‑Qwen‑1.5B; four large: Qwen3‑8B, OpenMath‑Nemotron‑7B, DeepSeek‑R1‑Distill‑Qwen‑7B, Skywork‑OR1‑Math‑7B).
- Datasets include AIME 2024‑2026, HMMT 2024‑2026, RIMO‑N, plus tier‑specific benchmarks (BeyondAIME, OlymMATH Easy, Omni‑MATH 7‑8 for small; AMO‑Bench, OlymMATH Hard, Omni‑MATH 8‑9 for large).
- Training uses the joint correctness patterns of rollouts per question, optimizing the surrogate likelihood from Eq. 9 with a simple linear model as the quality predictor.
- Baselines compared are Random selection, Linear Probe ranking, and RepExp diversity selection.
- Ablations include varying the number of kept rollouts (k) and analyzing performance at moderate versus large k values.
Numbers
- 8 open‑weight reasoning models, outperforms existing quality‑based and diversity‑based pruning strategies
Limitations
The paper does not establish how to obtain a strong quality embedding from partial rollouts, noting that the correctness signal may be weak.
the Linear Probe performs strongly at , but as increases it gets closer and closer to RandomFound in the source text, word for word.
Picked because: Presents a concrete test‑time pruning method (Pass@$k$) that cuts inference cost for LLM reasoning agents and includes released code.