potentialpaper

Hide to Guide: Learning via Semantic Masking

Ruitao Liu, Qinghao Hu, Alex Hu, Yecheng Wu, Shang Yang, Luke J. Huang, Zhuoyang Zhang, Han Cai, Song Han

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. Full expert traces can hurt RLVR by exposing reward-relevant content; SMEPO masks these spans while preserving the trace's procedural guidance, improving math, code, and agentic search.

Abstract. Reinforcement learning with verifiable rewards (RLVR) has become a powerful paradigm for improving language models on reasoning-intensive tasks, but its effectiveness is often limited by exploration. For example, models often fail on hard problems, leaving little useful reward signal. External expert traces offer a natural source of guidance, yet they may also expose reward-relevant content along the critical path to the verifier target, such as final answers, intermediate values, executable implementations, or answer-related entities. This content can create an unintended reward hacking channel, allowing the policy to obtain reward by copying the trace rather than learning the underlying reasoning or agentic behavior. Existing guided-RL methods reduce this risk by using partial trajectories, but they mainly control how much expert information is shown heuristically rather than which parts should be hidden. To this end, we propose Semantic Masked Expert Policy Optimization (SMEPO), a fine-grained semantic masking strategy for expert-guided RLVR. Instead of truncating traces coarsely or revealing them unchanged, SMEPO masks reward-relevant semantic spans along the critical path while preserving the expert’s decomposition, plan, and procedural structure. This turns hard problems from reasoning from scratch into a fill-in-the-blank process: the policy can follow the expert’s problem-solving route, but must still reconstruct the missing values, code, or entities by itself. SMEPO is simple to apply and requires no changes to the reward function or RL objective. Across diverse domains, including math, code, and agentic search, SMEPO improves accuracy by up to 3.2 points over GRPO and reduces training time by up to 4.2$\times$.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
29 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review
  • Summary

    • This paper proposes Semantic Masked Expert Policy Optimization (SMEPO) that can improve the performance of reasoning tasks (e.g., math, coding, etc.), when post-training a large language model (LLM) with reinforcement learning with verifiable rewards (RLVR). To mitigate a potential reward hacking problem in expert-guided RLVR, SEMPO masks reward-relevant spans in the external expert traces.
  • Strengths

    • The proposed method is simple and practical [e2mQ, 3Zca, xCyC] .
    • The evaluation is comprehensive, and the ablation study is useful [e2mQ, 3Zca, xCyC] .
  • Weaknesses

    • The semantic masking rules are domain specific and seems heuristic [e2mQ, 3Zca, xCyC] .
    • The performance improvement over vanilla GRPO is modest [e2mQ, 3Zca].
    • Although the evaluation is comprehensive, the critical comparison with other methods seems rather limited [3Zca, xCyC].
Final justification
  • After author responses

    • The reviewer e2mQ was satisfied with the authors' response and retained the initial positive rating 5.
    • The reviewer 3Zca found that the authors' response addressed the reviewer's concerns and retained the initial positive rating 4.
    • The reviewer xCyC was satisfied with the authors' response and raised the rating from 4 to 5.
  • Citation check

    • The citation checker found 0 hallucination reference out of 51 references.
  • Recommendation

    • The authors successfully addressed the reviewers' concerns during the rebuttal period. In addition, the authors provided a response that summarizes and address the three weaknesses identified in the initial meta-review. I am satisfied with the response. Finally, all reviewers provided positive ratings (5, 4, 5) for the paper. Therefore, I recommend accepting the paper.
Area Chair JWk9 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review
  • Summary

    • This paper proposes Semantic Masked Expert Policy Optimization (SMEPO) that can improve the performance of reasoning tasks (e.g., math, coding, etc.), when post-training a large language model (LLM) with reinforcement learning with verifiable rewards (RLVR). To mitigate a potential reward hacking problem in expert-guided RLVR, SEMPO masks reward-relevant spans in the external expert traces.
  • Strengths

    • The proposed method is simple and practical [e2mQ, 3Zca, xCyC] .
    • The evaluation is comprehensive, and the ablation study is useful [e2mQ, 3Zca, xCyC] .
  • Weaknesses

    • The semantic masking rules are domain specific and seems heuristic [e2mQ, 3Zca, xCyC] .
    • The performance improvement over vanilla GRPO is modest [e2mQ, 3Zca].
    • Although the evaluation is comprehensive, the critical comparison with other methods seems rather limited [3Zca, xCyC].
Final justification
  • After author responses

    • The reviewer e2mQ was satisfied with the authors' response and retained the initial positive rating 5.
    • The reviewer 3Zca found that the authors' response addressed the reviewer's concerns and retained the initial positive rating 4.
    • The reviewer xCyC was satisfied with the authors' response and raised the rating from 4 to 5.
  • Citation check

    • The citation checker found 0 hallucination reference out of 51 references.
  • Recommendation

    • The authors successfully addressed the reviewers' concerns during the rebuttal period. In addition, the authors provided a response that summarizes and address the three weaknesses identified in the initial meta-review. I am satisfied with the response. Finally, all reviewers provided positive ratings (5, 4, 5) for the paper. Therefore, I recommend accepting the paper.
1 comment
Authors · CommentOpenReview ↗

Summary of Additional Evidence

We thank the Area Chair for the clear synthesis. The reviewers consistently recognized SMEPO as simple and practical, with comprehensive evaluation and useful ablations. Unless otherwise noted, all newly added training comparisons use the same data, rollout budget, optimization settings, and evaluation protocol as the corresponding main-paper experiment. We address the remaining concerns with the following additions:

Meta-review concern Additional evidence
Domain-specific masking Full-dataset span-level precision/recall audit across all three domains, manual validation, masking-density robustness, and explicit characterization of the shared cross-domain masking principle
Modest gains and variance Three-seed mean ± standard deviation for five settings: Math on Qwen3-8B-Base, Math on Qwen2.5-7B, Math on DeepSeek-R1-Distill-Qwen-7B, Code on Qwen3-8B-Base, and Bamboogle on Qwen3-8B-Base, with SMEPO achieving the best average in all five repeated-run settings
Critical comparisons and diagnostics Length-matched controls, neutral-placeholder controls, unrelated-trace controls, tool-call analysis, concrete masking failure cases, GHPO compatibility in Code and Agentic Search, and finer-grained Code masking

The main experiments already compare SMEPO with GRPO, full expert traces, SFT, SFT+RL, LUFFY, and GHPO. The new analyses substantially broaden the empirical evidence: SMEPO achieves the best average across five independent repeated-run settings spanning three Math backbones, Code, and Bamboogle; the lightweight maskers achieve high measured precision and recall with manual validation; and performance remains robust under both reduced and additional masking. The added controls further rule out prompt length, placeholder semantics, generic appended-trace distribution shift, and malformed tool calls as primary explanations. Additional GHPO experiments in both Code and Agentic Search further show that SMEPO's complementarity extends beyond Math. Together, these results directly address the concerns summarized in the meta-review and support our interpretation that the degradation under full-trace conditioning is specifically associated with exposed problem-aligned, reward-relevant content.

Reviewer xCyCOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper focus on reward hacking in expert-trace guided reinforcement learning with verifiable rewards. When full expert traces are provided during RL, the policy may obtain reward by copying the trace rather than learning the underlying reasoning. To address this, the authors propose Semantic Masked Expert Policy Optimization (SMEPO), a fine-grained semantic masking strategy.

SMEPO converts expert traces into a "fill-in-the-blank" format by masking reward-relevant semantic spans along the critical path to the verifier target while preserving the surrounding procedural scaffold.

This approach preserves the expert’s procedural scaffolding, such as problem decomposition and planning, while forcing the policy to reconstruct the missing elements autonomously.

The experiments show that SMEPO improves accuracy over vanilla GRPO by up to 3.2 points and reduces training time by up to 4.2× across models like Qwen3-8B-Base and DeepSeek-R1-Distill-Qwen-7B.

Strengths and weaknesses

---Strengths---

The paper addresses an important and practical reinforcement learning. Reward hacking is practically crutial because policy may exploit instead of learning the underlying reasoning or tool-use process

The method is simple and well-justified, SMEPO modifies only the guidance trace and keeps the verifier, reward function, rollout backend, and RL objective unchanged. In addition, the domain-specific masking rules are clearly described for math, code, and agentic search.

The evaluation and ablation studies are comprehensive. The paper evaluates SMEPO on six math benchmarks, three code benchmarks, and Bamboogle, with additional results for Qwen2.5-7B and DeepSeek-R1-Distill-Qwen-7B on math.

SMEPO reduces training time by up to 4.2× and reaches hard-math targets earlier than vanilla GRPO. This represents a significant practical benefit, as exploration efficiency is a primary bottleneck in current RLVR pipelines.

---Weaknesses---

The masking mechanisms are largely heuristic or tool-based. While the downstream results are strong, the paper does not provide a direct quantitative evaluation of masking quality, such as precision, recall, overmasking, or undermasking on annotated traces.

The paper does not include much analysis of masking failure cases. For example, it would be helpful to see cases where SMEPO underperforms GRPO, where the heuristic misses reward-relevant content, or where masking removes information that is actually necessary for useful guidance.

The compatibility experiment with GHPO is limited to math. Table 2 and Figure 5 show that SMEPO can add gains on top of GHPO for math benchmarks, but it is unclear whether the same complementarity holds for code or agentic search. Since the masking targets differ substantially across domains, this extension would be useful.

The sensitivity to masking density is not fully explored. Table 3 controls for masking budget in the random masking baselines, but the paper does not show how SMEPO performance changes with the total fraction of tokens masked. Since the optimal amount of masking is determined indirectly by domain-specific rules, a sensitivity curve would make the method easier to understand and tune.

Questions

How sensitive is SMEPO to the masking density?

Can the authors provide a quantitative analysis of masking quality on a small annotated subset?

Does the complementarity between SMEPO and GHPO also hold for code generation and agentic search, or is this mainly a math-domain effect?

For code generation, is masking the entire code block always necessary? It would be interesting to compare full code-block masking with fine-grained masking, such as masking function bodies.

Limitations

N/A

Final justification

Thanks for authors' detailed response. I have increased my score.

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for recognizing the practical importance of the problem, the simplicity of SMEPO, the comprehensive evaluation and ablations, and the substantial convergence benefits. We address the reviewer’s concrete suggestions below.

  1. [W1; Q2] Quantitative masking quality

We use GPT-5.4 to audit semantic-span masking quality over the full datasets in all three domains, and manually validate 50 randomly sampled traces per domain. Metrics are computed at the semantic-span level, with each maximal masked or missed span counted as one unit. Precision measures whether masked spans are reward-relevant, and recall measures whether all reward-relevant spans are masked.

Domain Masked tokens Precision ↑ Recall ↑ Over-masking ↓ Under-masking ↓
Math 19.5% 89.0% 97.9% 11.0% 2.1%
Search 30.2% 80.6% 91.8% 19.4% 8.2%
Code 41.4% 100.0% 100.0% 0.0% 0.0%

Manual validation shows close agreement with the automatic audit:

Domain Manual validation
Code 50/50 traces correctly masked
Math 269/276 audit claims confirmed; 97.5% agreement; no additional missed errors
Search 165/167 audit claims confirmed; 98.8% agreement; only 3 additional missed spans

Overall, the lightweight masking rules already identify reward-relevant spans with high reliability. Recall reaches 97.9% for Math, 91.8% for Search, and 100.0% for Code, while precision remains 89.0%, 80.6%, and 100.0%, respectively. Moreover, the automatic audit closely matches human inspection, with 97.5% agreement in Math and 98.8% in Search. This supports the reliability of the span detector under our audit criterion and the large-scale masking-quality measurements reported above.

  1. [W2] Failure cases

These cases expose the precision–recall tradeoff in semantic masking. Under-masking can retain exploitable intermediate shortcuts, while over-masking can occasionally remove information required for constructive search. We provide one example of each.

2.1 Masking can remove indispensable construction guidance

Problem: Find a natural number AA such that appending AA to itself produces a perfect square.

The expert trace first derives concat(A,A)=A(10k+1)\mathrm{concat}(A,A)=A(10^k+1), reducing the problem to finding a suitable factorization. This structural reduction is preserved after masking. However, the trace then identifies the rare successful branch k=11k=11, where 1011+1=112⋅82644628110^{11}+1=11^2\cdot 826446281, and uses it to construct a valid AA.

After the numerical values are masked, the model still understands that it should inspect 10k+110^k+1, but it no longer knows which branch is promising or which factorization enables the construction. It therefore searches only simple candidate values and fails to recover the witness. GRPO and SMEPO both achieve 0% accuracy on this example, while the full-trace condition achieves 100%.

Here, the intermediate numerical values act as a search certificate, rather than merely answer leakage. Masking preserves the general method but removes the information needed to locate the successful construction.

2.2 Incomplete masking can expose a bridge entity

Problem: “Ricardo Delgado has worked on the 2004 superhero film directed by whom?”

The intended solution requires two retrieval hops:

  1. identify the film involving Ricardo Delgado;
  2. identify the director of that film.

In an incompletely masked trace, the final answer is hidden, but the intermediate film title The Incredibles remains visible. This bridge entity resolves the difficult first hop, reducing the original multi-hop task to a direct lookup of the film’s director.

The resulting model response directly maps the leaked film title to the answer instead of performing the intended search process. Accuracy rises from 10.0% under GRPO to 82.5% with incomplete masking, close to the 95.0% obtained with the full trace.

This is a concrete under-masking failure. Although the final answer is removed, the exposed bridge entity collapses the multi-hop task into a direct lookup, allowing high reward without executing the first retrieval hop.

  1. [W3; Q3] Compatibility with GHPO beyond Math

GHPO does not natively support our Code or Agentic-search settings. We therefore adapted its Math-oriented pipeline to Code and evaluated SMEPO under the same adaptation:

Method HumanEval HumanEval+ LiveCodeBench Avg.
GHPO 65.8 58.5 40.3 54.9
GHPO + SMEPO 67.1 57.9 41.8 55.6

Adding SMEPO improves the average from 54.9 to 55.6, showing that the complementarity extends to Code. Since GHPO provides neither a Code pipeline nor validated Code datasets and hyperparameters, we directly transferred its Math configuration without Code-specific tuning. Both variants remain below our main Code results, plausibly because this adaptation was not tuned for Code. The controlled comparison is between GHPO and GHPO + SMEPO under the same adaptation.

Extending GHPO to Agentic search requires a more substantial redesign because the original implementation does not support multi-round tool interaction, environment state, or search-call execution. We would be happy to implement and report this extension if the reviewer considers it important.

  1. [W4; Q1] Sensitivity to masking density

We add a masking study in the Math setting that perturbs the original SMEPO mask set in both directions. The standard SMEPO configuration masks 19.5% of Math corpus tokens.

  • drop10 / drop20: randomly restore 10% / 20% of the tokens originally masked by SMEPO.
  • add10 / add20: randomly mask an additional 10% / 20% of the tokens that remain unmasked under SMEPO, i.e., from the remaining 80.5% of corpus tokens.
Variant Perturbation relative to SMEPO Mask ratio GSM8K MATH500 AIME25 AIME26 AMC Olympiad Avg.
Drop20 Restore 20% of SMEPO-masked tokens 15.6% 90.4 75.0 15.2 10.4 62.5 30.7 47.4
Drop10 Restore 10% of SMEPO-masked tokens 17.6% 91.7 76.2 16.7 12.5 65.0 30.4 48.8
SMEPO Original semantic mask set 19.5% 92.2 76.6 17.6 13.4 70.0 32.0 50.3
Add10 Mask 10% of originally unmasked tokens 27.6% 91.6 76.8 17.2 13.2 70.0 31.8 50.1
Add20 Mask 20% of originally unmasked tokens 35.6% 89.6 76.8 15.6 12.5 65.0 30.3 48.3

Performance remains robust across a broad masking range. Increasing the masking ratio from 19.5% to 27.6% changes the average only from 50.3 to 50.1, while restoring masked content lowers it to 48.8. These results show that moderate over-masking is well tolerated, whereas restoring SMEPO-selected spans causes a clearer degradation. Aggressive over-masking eventually also reduces performance, consistent with removing too much of the remaining procedural scaffold.

  1. [Q4] Full-block versus function-body code masking

We compare full code-block masking with two finer-grained alternatives:

Code masking strategy HumanEval HumanEval+ LiveCodeBench Avg.
Full Expert Trace 66.5 58.5 42.0 55.7
Full Code-Block SMEPO 69.5 62.2 45.3 59.0
Function-Body Masking 69.5 61.6 44.3 58.5
Fine-Grained Structural Masking 68.3 59.1 42.3 56.6

Function-body masking performs close to full-block SMEPO, reaching 58.5 versus 59.0 average, because it removes most executable solution logic while retaining only the task-facing interface.

The fine-grained structural variant preserves indentation, comments, control-flow structure, assignment targets, and statement types, while replacing concrete content with placeholders such as [SIGNATURE], [HEADER], and [EXPR]. It reaches 56.6, suggesting that the retained local structure still reveals too much implementation detail.

Before selecting full-block masking, we explored several granular alternatives, including the fine-grained structural masking reported above, latter-half masking, alternating-line stripe masking, and pairwise mixtures of these three strategies. These variants showed similar failure patterns, but were not evaluated under the final paper setting. Within the rebuttal window, we reran the fine-grained structural variant as a representative alternative. We would be happy to rerun the remaining variants under the same configuration if the reviewer considers them important.

Authors · CommentOpenReview ↗

Additional GHPO Result for Agentic Search

Thank you again for asking whether SMEPO remains complementary to GHPO beyond Math. We have now completed the Agentic Search experiment:

Method Search
GHPO 42.4
GHPO + SMEPO 44.0

Adding semantic masking improves GHPO by 1.6 points in Agentic Search. Together with the Code result reported in our rebuttal, this shows that the complementarity extends across Math, Code, and Agentic Search despite their substantially different masking targets and task structures. We hope this directly addresses your remaining concern.

Authors · CommentOpenReview ↗

Additional Fine-Grained Code Masking Results

We also completed two additional granular variants mentioned in our rebuttal under the same final configuration:

Code masking strategy HumanEval HumanEval+ LiveCodeBench Avg.
Latter-Half Masking 67.1 58.5 41.8 55.8
Alternating-Line Stripe Masking 67.1 59.1 42.5 56.2

Both underperform Full Code-Block SMEPO (59.0) and Function-Body Masking (58.5), providing further evidence that masking only selected portions of the code may leave too much executable solution information exposed. We hope these additional results help further address Q4.

Reviewer 3ZcaOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes SMEPO, which conditions RLVR on expert traces after masking reward-relevant spans such as numeric values, code bodies, and answer entities. It aims to preserve procedural guidance while reducing trace-copy reward hacking.

Strengths and weaknesses

Strengths

  • The central failure mode is plausible and practically relevant: expert traces can leak the same answer-bearing content that verifiers check, especially final numeric answers, executable code, or answer entities.

  • The method is simple and realistic. It is a preprocessing intervention on the guidance trace, not a new optimizer or reward model.

  • The main comparisons include vanilla GRPO, full expert traces, SFT, and related guided-RL methods such as LUFFY and GHPO, which helps position the method against plausible alternatives.

  • The math ablations are useful: prefix exposure is non-monotonic, random word/sentence masking performs poorly, answer-only masking helps less than broader numeric masking, and SMEPO performs best. This supports the claim that the removed content type matters.

Weakness

  • The reported gains are modest and lack uncertainty estimates. RLVR training can have high variance.

  • The masking rules are domain-specific and partly heuristic, so the generality claim is not fully established.

  • Evaluation is broad but not deep enough for the strongest scientific claims about reward hacking and learned reasoning. Lower full-trace performance and higher trace-copy similarity are consistent with reward hacking, but alternative explanations remain: prompt-length effects, distribution shift from appended traces, degraded tool-use formatting, or overconditioning on teacher style.

Questions
  1. Can you provide repeated-seed results or confidence intervals for the main GRPO vs SMEPO comparisons? Or specify the number of runs to get pass@1.

  2. During evaluation, are expert or masked traces ever included in the prompt, or is the trained policy evaluated only on the original task prompt?

  3. How sensitive is SMEPO to imperfect masking, such as missed entities, non-fenced code, or numeric constants that are useful but not answer leakage?

  4. Can you add length- and formatting-matched controls where answer-bearing spans are replaced by neutral text? This would help distinguish reward-leakage reduction from prompt-distribution effects.

  5. Will you release exact hard-example IDs, preprocessing scripts, prompt templates, and verifier wrappers,?

Limitations

The authors acknowledge some limitations, but the limitations section should more directly discuss masking-rule brittleness, residual leakage, domain transfer beyond numbers/code/entities, RL run variance, and risks from improving code-generation or tool-use training.

Final justification

Thank you for the detailed response and additional experiments. The new results address several of my concerns, particularly regarding run-to-run variance and alternative explanations. I will keep my current score unchanged.

Formatting concerns

Nothing.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for recognizing the practical relevance of the failure mode, the simplicity of SMEPO, the breadth of the comparisons, and the strength of the masking ablations. We address the reviewer’s insightful concerns below.

  1. [W1; Q1] Modest gains and lack of uncertainty estimates

We agree and repeated the main experiments with three independent training seeds. The repeated-run results are:

Method Math Avg. Bamboogle
GRPO 46.9 ± 0.7 45.3 ± 0.5
Full Expert Trace 40.5 ± 0.4 24.3 ± 1.2
SMEPO 49.7 ± 0.4 49.1 ± 0.5

The full per-benchmark math table is:

Method GSM8K MATH500 AIME25 AIME26 AMC Olympiad
GRPO 91.5 ± 0.5 74.8 ± 0.5 12.7 ± 0.4 11.8 ± 0.5 61.7 ± 2.9 28.9 ± 0.6
Full Expert Trace 75.1 ± 1.4 69.7 ± 0.4 11.5 ± 0.2 9.0 ± 0.4 50.0 ± 2.5 27.5 ± 0.3
SMEPO 92.3 ± 0.3 76.5 ± 0.4 16.8 ± 0.4 13.0 ± 0.3 68.3 ± 2.5 31.4 ± 0.4

The ordering is consistent across the three runs, and the mean SMEPO–GRPO gap is substantially larger than the observed across-run standard deviations. We will add these uncertainty estimates and the three-seed protocol in the revision.

  1. [W2; Q3] Domain-specific masking and robustness to imperfect masking

SMEPO is a domain-adaptive semantic masking framework in which the masked semantic type follows the verifier and task structure. The underlying intervention remains unchanged: remove verifier-aligned information along the critical path while preserving procedural guidance. We validate this principle across three distinct RLVR regimes:

Domain Verifier-aligned content removed Procedural guidance preserved
Math Final and intermediate numerical values Decomposition, equation structure, and reasoning flow
Code Executable implementations Algorithms, data structures, edge cases, and debugging guidance
Agentic search Final and intermediate answer-relevant entities Query decomposition, retrieval strategy, and multi-hop structure

These settings span closed-form reasoning, execution-based generation, and multi-round tool interaction. SMEPO improves performance in all three, showing that the same design principle transfers across substantially different verifier semantics and task formats. The domain-specific component is only the lightweight detector used to identify verifier-aligned content.

Robustness to imperfect masking

In the Math setting, we perturb the original SMEPO mask set in both directions. SMEPO masks 19.5% of corpus tokens:

  • drop10/drop20: restore 10%/20% of originally masked tokens;
  • add10/add20: additionally mask 10%/20% of originally unmasked tokens.
Variant Perturbation Mask ratio Avg. math accuracy
Drop20 Restore 20% of masked tokens 15.6% 47.4
Drop10 Restore 10% of masked tokens 17.6% 48.8
SMEPO Original mask set 19.5% 50.3
Add10 Mask 10% of unmasked tokens 27.6% 50.1
Add20 Mask 20% of unmasked tokens 35.6% 48.3

Performance remains stable over a broad range. Increasing masking from 19.5% to 27.6% changes the average only from 50.3 to 50.1, while restoring masked content lowers it to 48.8 or 47.4. Thus, moderate over-masking is well tolerated, whereas restoring SMEPO-selected tokens causes a clearer degradation.

Quantifying masking quality

We use GPT-5.4 to audit all expert traces across all three domain. Metrics are computed at the semantic-span level, with each maximal masked or missed span counted as one unit.

Domain Precision ↑ Recall ↑ Over-masking ↓ Under-masking ↓
Math 89.0% 97.9% 11.0% 2.1%
Search 80.6% 91.8% 19.4% 8.2%
Code 100.0% 100.0% 0.0% 0.0%

We further manually inspect 50 traces per domain. The automatic audit achieves 97.5% agreement in Math and 98.8% in Search; all 50 Code traces are correctly masked. Human inspection finds no additional missed errors in Math and only three additional missed spans in Search.

Overall, the current lightweight rules achieve high recall across all three domains, the automatic audit closely matches human judgments, and SMEPO remains robust across a wide range of masking densities. These results show that SMEPO does not require a narrowly tuned or near-perfect masker.

  1. [W3; Q4] Alternative explanations for full-trace degradation

We evaluate:

(i) prefix and same-budget random-masking controls,
(ii) length-matched masking controls,
(iii) neutral-placeholder controls,
(iv) same-format unrelated-trace controls, and
(v) tool-call execution quality in agentic search.

Together, these controls distinguish reward-bearing semantic content from prompt-length effects (ii, iv), generic distribution shift from appended traces (iv), formatting effects (i, iv, v), degraded tool-use execution (v), and overconditioning on teacher style (iv), while (iii) rules out gains from the semantic cue carried by the mask placeholder.

3.1 Existing amount- and corruption-matched controls

As the reviewer noted, the existing ablations already show that fixed-prefix exposure and same-budget random masking remain below SMEPO, while performance improves as masking expands from the final answer to repeated answer values and intermediate numerical content. This indicates that which content is removed matters more than generic shortening or corruption.

3.2 Prompt-length control

Domain Full-trace prompt length SMEPO prompt length Reduction
Math 598.5 586.9 1.94%
Search 348.2 332.9 4.39%
Code 1343.4 982.2 26.89%

Prompt-length changes are small for Math and Search. Since Code is shortened more substantially, we replace each masked code block with repeated content-free [CODE] placeholders to match the corresponding full-trace prompt length. The average mismatch is only 0.07%.

Code condition HumanEval HumanEval+ LiveCodeBench Avg.
GRPO 67.7 59.8 42.0 56.5
Full Expert Trace 66.5 58.5 42.0 55.7
SMEPO 69.5 62.2 45.3 59.0
Length-Matched Repeated [CODE] 70.1 61.6 44.8 58.8

The length-matched control nearly matches SMEPO and remains above GRPO and full-trace conditioning, showing that the Code gain is not explained by prompt shortening.

3.3 Neutral-placeholder control

To test whether [NUMBER] itself provides a useful type cue, we replace every masked numerical span with the neutral placeholder blank, while keeping the mask locations and surrounding trace unchanged.

Math condition GSM8K MATH500 AIME25 AIME26 AMC Olympiad Avg.
Full Expert Trace 76.4 69.2 11.4 8.6 52.5 27.7 41.0
SMEPO with [NUMBER] 92.2 76.6 17.6 13.4 70.0 32.0 50.3
Neutral blank Masking 92.5 76.2 16.1 12.8 70.0 31.9 49.9

The neutral control nearly matches SMEPO, showing that the gain comes primarily from removing reward-relevant numerical values rather than from the semantic cue carried by [NUMBER].

3.4 Same-format unrelated-trace control

We replace each training example’s expert trace with an unmasked trace from another example using a one-to-one length-matched permutation. The average length mismatch is 0.27%, with 95.7% of pairs matched within 1%; the global trace distribution and total token count are preserved.

Condition GSM8K MATH500 AIME25 AIME26 AMC Olympiad Avg.
GRPO 91.3 75.2 12.5 12.3 65.0 29.5 47.6
Full Expert Trace 76.4 69.2 11.4 8.6 52.5 27.7 41.0
SMEPO 92.2 76.6 17.6 13.4 70.0 32.0 50.3
Unrelated Unmasked Trace 90.4 74.2 14.3 11.8 62.5 29.2 47.1

The unrelated-trace condition reaches 47.1, close to GRPO (47.6) and well above the matched full trace (41.0), but below SMEPO (50.3). By itself, this control shows that the degradation is not caused merely by appending trace-like text with similar style, format, and length. Combined with the neutral-placeholder and targeted-masking results, it points specifically to exposed problem-aligned, reward-relevant content.

3.5 Tool-use formatting

On Bamboogle, search-call execution remains high in both conditions:

Method Search-call success Task accuracy
Full Expert Trace 94.6% 23.2
SMEPO 97.5% 48.8

The 2.9-point difference in tool-call success is much smaller than the 25.6-point accuracy gap, making malformed tool use unlikely to be the primary explanation.

  1. [Q2] Evaluation-time access to traces

No. During evaluation, every trained policy—including GRPO, Full Expert Trace, and SMEPO—receives only the original task prompt. Neither the full nor masked trace is included at evaluation time; expert traces are used exclusively as training-time guidance. We will make this explicit in the main text and evaluation protocol.

  1. [Q5] Release of experimental artifacts

Yes. We will release the exact hard-example IDs, preprocessing and masking scripts, full prompt templates, verifier wrappers, evaluation configurations, and the newly added masking-quality audit and robustness scripts. We will include the public GitHub repository link in the camera-ready version if accepted.

  1. [Limitations]

We will expand the limitations to discuss masking brittleness, residual leakage, cross-domain transfer, RL variance, and dual-use risks.

Authors · CommentOpenReview ↗

Additional Repeated-Seed Evidence

Thank you again for highlighting RLVR variance. We have extended the 3-seed evaluation to Code and two additional Math backbones.

Code, Qwen3-8B-Base

Method HumanEval HumanEval+ LCB Avg.
GRPO 66.7 ± 0.9 59.8 ± 1.3 41.3 ± 1.6 55.9 ± 1.1
Full Expert Trace 66.7 ± 0.3 58.1 ± 0.7 41.2 ± 1.0 55.3 ± 0.3
SMEPO 69.3 ± 0.9 62.2 ± 0.6 44.8 ± 0.7 58.8 ± 0.7

Math, Qwen2.5-7B

Method GSM8K MATH500 AIME25 AIME26 AMC Olympiad Avg.
GRPO 88.7 ± 1.0 69.0 ± 1.1 8.7 ± 0.9 7.5 ± 0.2 54.2 ± 1.4 25.0 ± 0.6 42.2 ± 0.3
Full Expert Trace 83.6 ± 1.5 63.5 ± 0.8 5.6 ± 0.5 6.2 ± 0.2 46.7 ± 1.4 22.6 ± 0.8 38.0 ± 0.5
SMEPO 88.5 ± 0.7 72.3 ± 0.6 10.6 ± 0.6 9.5 ± 0.2 62.5 ± 2.5 26.0 ± 0.8 44.9 ± 0.3

Math, DeepSeek-R1-Distill-Qwen-7B

Method GSM8K MATH500 AIME25 AIME26 AMC Olympiad Avg.
GRPO 87.6 ± 1.3 84.4 ± 0.5 34.2 ± 0.8 38.8 ± 0.3 88.3 ± 2.9 37.4 ± 0.6 61.8 ± 0.7
Full Expert Trace 87.3 ± 0.8 81.9 ± 1.4 34.6 ± 0.5 38.2 ± 1.0 83.3 ± 2.9 37.4 ± 0.7 60.5 ± 0.5
SMEPO 90.1 ± 2.4 86.3 ± 0.8 35.4 ± 0.8 41.6 ± 2.2 90.8 ± 1.4 39.2 ± 1.3 63.9 ± 1.5

The overall ordering is preserved in every additional setting: full expert traces fail to improve the average over GRPO, while SMEPO consistently achieves the highest average. Across all five repeated-run settings, the SMEPO–GRPO mean improvement is larger than the corresponding standard deviations.

Reviewer e2mQOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces SMEPO, where the main idea is to keep the useful parts of an expert trace for RLVR, like the plan, structure, and reasoning flow, while hiding content that would directly give away the answer, such as numbers in math solutions, code in programming tasks, or key entities in search problems. Across math, coding, and agentic search experiments, SMEPO performs better than vanilla GRPO and full expert-trace conditioning. The ablations also support the core claim: carefully masking reward-relevant information works better than randomly masking text or just showing a shorter prefix of the trace. Additionally SMEPO leads to significantly less code-copy behavior and faster convergence over GRPO and full expert trace RLVR.

Strengths and weaknesses

Strengths

  1. The paper is well written and is easy to follow, with a clear and useful problem framing. Thank you to the author for the care put into the writing!
  2. The method is simple and practical. SMEPO only changes the trace conditioning context, although how the masking can be applied to more open-ended and long-horizon tasks is not explored.
  3. The empirical evaluation is reasonably broad for a methods paper: math, code, and agentic search; multiple math models; multiple expert sources for the main math setting; and comparisons to GRPO, SFT, SFT+RL, full expert conditioning, and convincing ablations and case studies.
  4. The method shows consistent gain over other similar variants (albeit, a small one, as discussed next in weaknesses 1 and 2)

Weaknesses

  1. The absolute gains over vanilla GRPO are useful but not huge in the main setting. The strongest contrast is against full expert-trace conditioning, which is an important failure mode but also a fairly naive baseline.
  2. Unless i am missing something, the experiment results seem to be based on a single seed, so there's no standard deviation. Which is concerning given the small difference in gain over GRPO. However, I'm willing to give this a pass given the consistency of the improvement among the large breadth of experiments, but it would be nice if the authors could give error bars for at least one of the experiments so we can see statistical significance.
  3. The masking rules are domain-specific and heuristic. This is fine for a first paper, but the generality claim depends on whether the “critical path” spans can be reliably identified in new domains
  4. It is slightly strange that the training time efficiency gain is only reported for coding and no other task. I would've expected to see a table of this across all the tasks.
Questions
  1. Can the authors quantify masking quality? For example: what fraction of expert-trace tokens are masked per domain?
  2. Can the authors report uncertainty across seeds or bootstrap intervals for some of the main results and ablations? This matters especially for the harder math benchmarks and Bamboogle.
Limitations

yes

Formatting concerns

none

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We sincerely thank the reviewer for the positive assessment, particularly for recognizing the clear problem framing, the simplicity and practicality of SMEPO, the breadth of the evaluation, and the consistency of the gains across domains, models, and expert sources. We also thank the reviewer for the insightful suggestions and address each below.

  1. [W1–2; Q2] Modest gains over GRPO and uncertainty across runs

We agree that uncertainty estimates are important because RLVR training can be variable, particularly on hard math benchmarks. We therefore repeated the main Qwen3-8B-Base experiments with 3 independent training seeds and report mean ± standard deviation across the three runs.

Method GSM8K MATH500 AIME25 AIME26 AMC Olympiad Avg.
GRPO 91.5 ± 0.5 74.8 ± 0.5 12.7 ± 0.4 11.8 ± 0.5 61.7 ± 2.9 28.9 ± 0.6 46.9 ± 0.7
Full Expert Trace 75.1 ± 1.4 69.7 ± 0.4 11.5 ± 0.2 9.0 ± 0.4 50.0 ± 2.5 27.5 ± 0.3 40.5 ± 0.4
SMEPO 92.3 ± 0.3 76.5 ± 0.4 16.8 ± 0.4 13.0 ± 0.3 68.3 ± 2.5 31.4 ± 0.4 49.7 ± 0.4

We additionally repeated the Bamboogle comparison:

Method Bamboogle accuracy
GRPO 45.3 ± 0.5
Full Expert Trace 24.3 ± 1.2
SMEPO 49.1 ± 0.5

These repeated-run results preserve the original ordering, and the mean SMEPO–GRPO gap is substantially larger than the observed across-run standard deviations. We will add these uncertainty estimates and the three-seed protocol in the revision.

Although the absolute gain over GRPO is moderate, we believe it is meaningful for three reasons: it is consistent across math, code, and search; it holds across multiple model families and expert sources; and it is achieved through a lightweight preprocessing intervention without modifying the verifier, reward, optimizer, or RL objective.

  1. [W3] Domain-specific and heuristic masking rules

The masking rules are domain-specific by design because the relevant semantic type follows the verifier and task structure. The SMEPO principle remains unchanged across domains: remove verifier-aligned content while preserving procedural guidance. We instantiate this principle in three substantially different RLVR regimes:

Domain Verifier-aligned content masked Procedural content retained
Math Numeric expressions and answer-bearing values Decomposition, equation templates, reasoning flow
Code Executable code spans Algorithm choice, data structures, edge cases, debugging guidance
Agentic Search Final and bridge entities Query decomposition, retrieval plan, hop structure

To test whether SMEPO requires nearly perfect rules, we also perturb the masking extent over a wide range in the Math setting:

  • Reduced masking (drop10/drop20): we randomly restore 10% or 20% of the tokens originally masked by SMEPO.
  • Additional masking (add10/add20): we randomly mask an additional 10% or 20% of the tokens that remain unmasked under SMEPO, i.e., from the remaining 80.5% of the corpus.
Variant Mask ratio Avg. math accuracy
Reduced masking (drop20) 15.6% 47.4
Reduced masking (drop10) 17.6% 48.8
SMEPO 19.5% 50.3
Additional masking (add10) 27.6% 50.1
Additional masking (add20) 35.6% 48.3

Performance remains strong across a broad masking range. Moderate additional masking has almost no effect, while restoring masked content causes a larger drop, showing that SMEPO is robust to realistic masking imperfections and benefits from prioritizing high recall of leakage-bearing spans.

  1. [W4] Efficiency results across domains

We apologize for the ambiguity. The wall-clock results in Fig. 3(b) are for mathematical reasoning, not coding. On AIME25/26, SMEPO reduces time-to-target across all three backbones:

Backbone GRPO steps SMEPO steps GRPO time SMEPO time Time speedup
Qwen3-8B-Base 255 55 9.90 h 2.37 h 4.2×
Qwen2.5-7B 300 175 8.00 h 4.57 h 1.8×
DeepSeek-R1-Distill-Qwen-7B 350 270 14.56 h 10.99 h 1.3×

Fig. 3(a), in contrast, shows the LiveCodeBench training trajectory. We additionally measured step-based convergence in the other domains:

Domain GRPO steps SMEPO steps
Code Avg 400 310
Bamboogle 150 130

We avoid reporting wall-clock numbers for code and search because the original runs used varying evaluation overhead and were not timed under sufficiently controlled conditions. We will clarify the figure caption and add the step-based comparison.

  1. [Q1] Fraction of tokens masked and masking quality

The average fraction of expert-trace tokens replaced by semantic placeholders is:

Domain Tokens masked Tokens retained
Math 19.5% 80.5%
Search 30.2% 69.8%
Code 41.4% 58.6%

The differences reflect the masking unit: numerical expressions are generally short, named entities are intermediate in length, and code blocks are often long.

We further use GPT-5.4 to audit semantic-span masking quality over the full expert-trace datasets in all three domains. Metrics are computed at the semantic-span level, with each maximal masked or missed span counted as one unit. Precision is the fraction of masked spans judged reward-relevant, while recall is the fraction of all reward-relevant spans that are masked:

Domain Precision ↑ Recall ↑ Over-masking ↓ Under-masking ↓
Math 89.0% 97.9% 11.0% 2.1%
Search 80.6% 91.8% 19.4% 8.2%
Code 100.0% 100.0% 0.0% 0.0%

We manually inspected 50 randomly sampled traces per domain to validate the automatic audit. Agreement with human judgments reaches 97.5% for Math and 98.8% for Search, while all 50 Code examples are correctly masked. We find no additional missed errors in Math and only three additional under-masked spans in Search. These results show that the automatic audit closely reflects human judgments and that the masking rules identify reward-relevant spans with high accuracy.

Authors · CommentOpenReview ↗

Additional Multi-Seed Results

Thank you again for emphasizing uncertainty across RL runs. We have completed three additional independent 3-seed comparisons.

Code, Qwen3-8B-Base

Method HumanEval HumanEval+ LCB Avg.
GRPO 66.7 ± 0.9 59.8 ± 1.3 41.3 ± 1.6 55.9 ± 1.1
Full Expert Trace 66.7 ± 0.3 58.1 ± 0.7 41.2 ± 1.0 55.3 ± 0.3
SMEPO 69.3 ± 0.9 62.2 ± 0.6 44.8 ± 0.7 58.8 ± 0.7

Math, Qwen2.5-7B

Method GSM8K MATH500 AIME25 AIME26 AMC Olympiad Avg.
GRPO 88.7 ± 1.0 69.0 ± 1.1 8.7 ± 0.9 7.5 ± 0.2 54.2 ± 1.4 25.0 ± 0.6 42.2 ± 0.3
Full Expert Trace 83.6 ± 1.5 63.5 ± 0.8 5.6 ± 0.5 6.2 ± 0.2 46.7 ± 1.4 22.6 ± 0.8 38.0 ± 0.5
SMEPO 88.5 ± 0.7 72.3 ± 0.6 10.6 ± 0.6 9.5 ± 0.2 62.5 ± 2.5 26.0 ± 0.8 44.9 ± 0.3

Math, DeepSeek-R1-Distill-Qwen-7B

Method GSM8K MATH500 AIME25 AIME26 AMC Olympiad Avg.
GRPO 87.6 ± 1.3 84.4 ± 0.5 34.2 ± 0.8 38.8 ± 0.3 88.3 ± 2.9 37.4 ± 0.6 61.8 ± 0.7
Full Expert Trace 87.3 ± 0.8 81.9 ± 1.4 34.6 ± 0.5 38.2 ± 1.0 83.3 ± 2.9 37.4 ± 0.7 60.5 ± 0.5
SMEPO 90.1 ± 2.4 86.3 ± 0.8 35.4 ± 0.8 41.6 ± 2.2 90.8 ± 1.4 39.2 ± 1.3 63.9 ± 1.5

Together with our previously reported Qwen3-8B-Base Math and Bamboogle results, SMEPO achieves the best average in all five repeated-run settings, with the SMEPO–GRPO mean gap exceeding the corresponding standard deviations. We hope this addresses the concern about run-to-run variance.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…