N-GRPO: Embedding-Level Neighbor Mixing for Enhanced Policy Optimization
Abstract
N-GRPO, a novel exploration strategy within GRPO framework, enhances mathematical reasoning in large language models through semantic neighbor mixing that maintains semantic consistency while injecting diversity.
The success of Large Language Models in mathematical reasoning relies heavily on the generation of diverse and valid solution paths during the rollout phase. However, current rollout techniques face a fundamental trade-off: token-level sampling often yields redundant trajectories that differ only in rephrasing, while embedding-level methods utilizing random noise frequently disrupt semantic consistency. To resolve this, we introduce N-GRPO, a novel exploration strategy integrated into the Group Relative Policy Optimization (GRPO) framework. Rather than relying on token-level sampling or native embedding-level noise, our approach leverages Semantic Neighbor Mixing. This mechanism dynamically constructs input representations by mixing the embeddings of an anchor token and its nearest semantic neighbors, thereby injecting diversity while strictly adhering to the local semantic manifold. Experimental evaluations on the DeepSeek-R1-Distill-Qwen models across different sizes show that N-GRPO not only achieves consistent improvements over strong baselines on math reasoning benchmarks but also exhibits robust generalization capabilities on out-of-distribution tasks.
Community
N-GRPO: Embedding-Level Neighbor Mixing for Enhanced Policy Optimization
Github: https://github.com/ZJUSCL/N-GRPO
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- LEPO: Latent Reasoning Policy Optimization for Large Language Models (2026)
- Taming Extreme Tokens: Covariance-Aware GRPO with Gaussian-Kernel Advantage Reweighting (2026)
- Smaller Models are Natural Explorers for Policy-Level Diversity in GRPO (2026)
- Nonsense Helps: Prompt Space Perturbation Broadens Reasoning Exploration (2026)
- LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learning (2026)
- OISD: On-Policy Internal Self-Distillation of Language Models (2026)
- From Noise to Diversity: Random Embedding Injection in LLM Reasoning (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Get this paper in your agent:
hf papers read 2606.10768 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper