mlsanityData to 14 Oct 2026

Infinite Sampling: Efficient and Stable Grouped RL Training for Large Language Models

arXiv 2506.22950 ↗First posted 28 Jun 2025cs.LGcited by 10

On the map: LLM reasoning → Reinforcement learning for reasoning

Abstract (arXiv)

Group-based reinforcement learning algorithms such as Group Reward Policy Optimization (GRPO) have proven effective for fine-tuning large language models (LLMs) with human feedback. However, generating and storing multiple responses per prompt incurs substantial memory overhead, especially as the sample group size increases, limiting scalability under constrained hardware. We propose Infinite Sampling, a framework that enables efficient and stable GRPO training by decoupling group size from GPU memory usage. It consists of: (1) micro sampling groups that decompose large groups into memory-feasible rounds; (2) continuous sampling that interleaves generation across groups to improve utilization; and (3) a length-aware scheduler combining token-conditioned sequence length prediction with a two-stage plan: global grouping via FPTAS and runtime refill via SJF. Experiments show that our Micro Sampling Groups reduce peak memory usage by over 50% compared to full-group decoding (e.g., from 21.55 GB to 10.64 GB on Qwen3-1.7B). Building on this, Infinite Sampling improves throughput by over 25% compared to the naive micro sampling group method, reducing decoding steps while maintaining full-length completions and memory usage. Our hybrid scheduling ensures efficient and stable GRPO training with larger groups under realistic GPU memory constraints.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 16 of its 30 references that are in the map. First posted on arXiv 28 Jun 2025.

Builds on

16 of 30 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023Let's Verify Step by Step31 May
  2. 2017Proximal Policy Optimization Algorithms20 Jul

Other references · 14

  1. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  4. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  5. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  6. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  7. 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,141
  8. 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 256
  9. 2024On Memorization of Large Language Models in Logical Reasoningcited by 117
  10. 2024Keep the Cost Down: A Review on Methods to Optimize LLM' s KV-Cache Consumptioncited by 97
  11. 2025StreamRL: Scalable, Heterogeneous, and Elastic RL for LLMs with Disaggregated Stream Generationcited by 61
  12. 2024BatchLLM: Optimizing Large Batched LLM Inference with Global Prefix Sharing and Throughput-oriented Token Batchingcited by 32
2 more
  1. 2024Multi-Bin Batching for Increasing LLM Inference Throughputcited by 9
  2. 2025ELIS: Efficient LLM Iterative Scheduling System with Response Length Predictorcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 7.

10 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Group-Aware Reinforcement Learning for Output Diversity in Large Language Models
  2. 2025Group Sequence Policy Optimization
  3. 2025GVPO: Group Variance Policy Optimization for Large Language Model Post-Training
  4. 2026Train Less, Learn More: Adaptive Efficient Rollout Optimization for Group-Based Reinforcement Learning
  5. 2026RLVR without Ineffective Samples: Group Prioritized Off-Policy Optimization for LLM Reasoning
  6. 2026GRPO Training Dynamics for Small Language Models
  7. 2026Spend Your Rollouts Where It Counts: Rollout Allocation for Group-Based RL Post-Training
  8. 2025Group-in-Group Policy Optimization for LLM Agent Training