N-GRPO: Embedding-Level Neighbor Mixing for Enhanced Policy Optimization

Xukun Zhu, Hang Yu, Peng Di, Linchao Zhu


Abstract
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 not only achieves consistent improvements over strong baselines on math reasoning benchmarks but also exhibits robust generalization capabilities on out-of-distribution tasks.
Anthology ID:
2026.findings-acl.1443
Volume:
Findings of the Association for Computational Linguistics: ACL 2026
Month:
July
Year:
2026
Address:
San Diego, California, United States
Editors:
Maria Liakata, Viviane P. Moreira, Jiajun Zhang, David Jurgens
Venue:
Findings
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
28893–28908
Language:
URL:
https://preview.aclanthology.org/ingest-acl/2026.findings-acl.1443/
DOI:
Bibkey:
Cite (ACL):
Xukun Zhu, Hang Yu, Peng Di, and Linchao Zhu. 2026. N-GRPO: Embedding-Level Neighbor Mixing for Enhanced Policy Optimization. In Findings of the Association for Computational Linguistics: ACL 2026, pages 28893–28908, San Diego, California, United States. Association for Computational Linguistics.
Cite (Informal):
N-GRPO: Embedding-Level Neighbor Mixing for Enhanced Policy Optimization (Zhu et al., Findings 2026)
Copy Citation:
PDF:
https://preview.aclanthology.org/ingest-acl/2026.findings-acl.1443.pdf
Checklist:
 2026.findings-acl.1443.checklist.pdf