{
  "id": 1064,
  "kind": "paper",
  "title": "MaD-RL: Matching Distributions for Calibrating LLMs with Reinforcement Learning",
  "summary": "Meta Superintelligence Labs (equal contrib. Kulkarni/Vepuri/Demir/Nagpal et al.) introduces MaD-RL, a GRPO-compatible framework that assigns L2, forward-KL, reverse-KL, or Jensen–Shannon rewards from within-group category frequencies so the policy matches a specified categorical target (languages, styles, demographics) alongside correctness. Shows correctness-only GRPO collapses modes; recovers GAPO as the L2 special case; on Qwen3-4B with GSM8K/MATH multilingual solutions and CodeContests multi-language programming, KL/JS fit non-uniform/peaked targets better than L2, with a 1.2–8.5 pp pass@1 tradeoff vs correctness-only RLVR. No public code; Meta CDN PDF dated 2026-09-23; arXiv abs not yet indexed despite Publisher=arXiv.",
  "body": "",
  "notes": "User-fed X https://x.com/nagpalchirag/status/2103050778885914812 (@nagpalchirag). t.co/LUTO4H51T1→Meta pub page; t.co/lrRt4v64cm→photo/1. Thread 1–5 via curator-bot conversation_id; author notes methods extend to P(Z|prompt) and were used in production Meta deploy. Meta Publisher=arXiv but no abs/id as of catalog (API title/author searches empty) — prefer Meta URL; PDF from Meta fbcdn saved in dump. No GitHub/code. Dump: /workspace/curator/research/mad-rl-nagpalchirag-2103050778885914812-20260926/. Local CSV only; no Sheets/Discord.",
  "url": "https://ai.meta.com/research/publications/mad-rl-matching-distributions-for-calibrating-llms-with-reinforcement-learning/",
  "links": [],
  "authors": [
    "Sourabh Kulkarni",
    "Ksheeraj Sai Vepuri",
    "Basar Demir",
    "Jason Bohrer",
    "Emily Shen",
    "Jianfa Chen",
    "Nan Jiang",
    "Ankit Jain",
    "Harihar Subramanyam",
    "Mannat Singh",
    "Chirag Nagpal"
  ],
  "tags": [
    "mad-rl",
    "calibration",
    "rl-post-training",
    "distribution-matching",
    "grpo",
    "gapo",
    "l2",
    "kl",
    "jensen-shannon",
    "multilingual",
    "codecontests",
    "gsm8k",
    "math",
    "qwen3-4b",
    "meta",
    "nagpalchirag"
  ],
  "topics": "LLM post-training; distribution matching; calibration; GRPO; categorical diversity",
  "venue": "Meta Superintelligence Labs (Meta AI Research; Publisher field lists arXiv)",
  "publisher": "Meta Superintelligence Labs (Meta AI Research; Publisher field lists arXiv)",
  "source": "web",
  "language": "en",
  "access": "free (Meta publication page + CDN PDF)",
  "license": "unknown (Meta Research PDF; no license statement in PDF)",
  "published_year": null,
  "added_at": "2026-09-26T12:31:27.000Z",
  "verified_at": "2026-09-26T12:31:27.000Z",
  "attrs": {
    "scale": "Qwen3-4B-Instruct-2507; 3 seeds; 1200 GRPO steps; synthetic 64×10 closed-set; GSM8K+MATH (5 NLs); CodeContests (5 PLs); uniform + peaked/truncated targets; holdout pass@1 200×4",
    "domain": "LLM post-training; distribution matching; calibration; GRPO; categorical diversity",
    "purpose": "Match latent categorical output distributions to user-specified targets during GRPO-style RL post-training while retaining task reward",
    "used_for": "Distributional control in RL post-training; multilingual/style/demographic mixture targets; GRPO diversity beyond entropy; GAPO/L2 vs KL/JS comparison",
    "author_type": "industry (Meta Superintelligence Labs; Chirag Nagpal prev Meta/Google/CMU)",
    "time_period": "PDF dated 2026-09-23; Meta page Sep 24 2026; X announce 2026-09-24T09:15:53Z; cataloged 2026-09-26; arXiv id not yet public"
  },
  "enrichment": {},
  "enriched_at": "2026-10-03T14:33:49.834Z",
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1483",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/1064",
  "markdown": "https://papers.projxon.ai/entries/1064.md",
  "api": "https://papers.projxon.ai/api/entries/1064",
  "relations": [
    {
      "relation": "about",
      "direction": "in",
      "note": "",
      "via": "manual",
      "entry": {
        "id": 1207,
        "kind": "note",
        "title": "RL for language models after GRPO: fixes, costs, rewards, agents (overview)",
        "summary": "An overview of the 36 entries on GRPO-style reinforcement learning: known weaknesses and their fixes, rollout cost, reward design, agent training, and the dissenting approaches. Written by Claude Opus 5.5.",
        "url": "",
        "authors": [
          "Claude Opus 5.5"
        ],
        "tags": [
          "synthesis",
          "ai-written",
          "grpo"
        ],
        "venue": "",
        "source": "",
        "license": "",
        "published_year": null,
        "added_at": "2026-10-03T15:08:43.002Z",
        "has_dataset_profile": false,
        "license_class": "unknown",
        "langs": [],
        "modalities": [],
        "size_class": null,
        "citation_count": null,
        "downloads": null,
        "stars": null,
        "page": "https://papers.projxon.ai/entries/1207",
        "markdown": "https://papers.projxon.ai/entries/1207.md",
        "api": "https://papers.projxon.ai/api/entries/1207"
      }
    }
  ],
  "duplicates": [],
  "similar": [
    {
      "id": 544,
      "kind": "paper",
      "title": "Compute as Teacher: Turning Inference Compute Into Reference-Free Supervision",
      "summary": "CaT aggregates G=8 policy rollouts into a pseudo-reference (synthesis via a frozen anchor) then derives rewards: answer-match in verifiable domains, self-proposed binary rubrics scored by an LLM judge in non-verifiable ones. On HealthBench, relative gains up to +30% vs the initial policy and self-proposed rubrics match physician rubrics; on MATH-500 up to +33%. Trained policy matches or exceeds inference-time synthesis at 9× less test-time compute. Gemma 3 4B / Qwen 3 4B / Llama 3.1 8B. No official code on abs.",
      "url": "https://arxiv.org/abs/2509.14234",
      "authors": [
        "Dulhan Jayalath",
        "Shashwat Goel",
        "Thomas Foster",
        "Parag Jain",
        "Suchin Gururangan",
        "Cheng Zhang",
        "Anirudh Goyal",
        "Alan Schelten"
      ],
      "tags": [
        "cat",
        "compute-as-teacher",
        "grpo",
        "rubrics",
        "healthbench",
        "math-500",
        "icml",
        "meta",
        "oxford"
      ],
      "venue": "arXiv / Meta Superintelligence Labs / University of Oxford",
      "source": "",
      "license": "",
      "published_year": 2025,
      "added_at": "2026-10-01T16:45:05.207Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": 19,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/544",
      "markdown": "https://papers.projxon.ai/entries/544.md",
      "api": "https://papers.projxon.ai/api/entries/544"
    },
    {
      "id": 1044,
      "kind": "post",
      "title": "vime × RL-Kernel × AMD: Bitwise Train–Rollout Consistency on ROCm (RL-Kernel v0.1.0)",
      "summary": "vLLM Blog (2026-09-14) on RL-Kernel v0.1.0 with vime and AMD: Megatron training and vLLM rollout often disagree on logprobs for the same weights/tokens because kernels, Split-K/KV, reduction order, and intermediate precision differ, which pollutes importance ratios and KL/clipping. RL-Kernel aligns the numerical execution contract (RMSNorm, Attention, GEMM/SwiGLU, linear logprob, collectives) while vime aligns the timeline and weight sync. On ROCm they added deterministic MFMA GEMM, vocabulary reduction, HIP IPC, AITER/CK Attention schedule fixes, math/fusion last-bit fixes, and paged-KV/HIP-Graph state fixes. End-to-end Qwen3-8B BF16 GRPO on 8× MI300X (Megatron TP4/CP2; 2× vLLM TP4 colocated; 200 steps; dapo-math-17k) reports mismatch_count=0 and max_abs_diff=0 throughout on the strict path vs native mismatches every step. Apache-2.0 at github.com/RL-Align/RL-Kernel (pyproject 0.1.0; torch>=2.4.1; transformers==5.13.1; optional cuda/rocm/vllm extras). Docs https://rl-align.github.io/RL-Kernel/. Scope today: Qwen3-8B Dense + vime + CUDA/ROCm; MoE/multimodal next.",
      "url": "https://vllm.ai/blog/2026-09-14-rl-kernel-v0-1-0-train-rollout-bitwise-consistency",
      "authors": [
        "RL-Kernel Team",
        "vime Team",
        "AMD Team (core: Chutian Wang",
        "Jiajie Li",
        "Siru He",
        "Xiaosong Ma",
        "Kaijie Lin",
        "Jian Zhang",
        "Huihong Lu",
        "Yunxiang Cai",
        "Bosong Yang",
        "Zhewei Liu",
        "Houhong Liang",
        "Ryan Huang",
        "Vensen Mu)"
      ],
      "tags": [
        "rl-kernel",
        "vime",
        "vllm",
        "megatron",
        "bitwise-consistency",
        "train-rollout",
        "rocm",
        "mi300x",
        "grpo",
        "amd",
        "rl-align",
        "apache-2.0",
        "vendor-blog"
      ],
      "venue": "vLLM Blog / RL-Align",
      "source": "web",
      "license": "Apache-2.0 (RL-Kernel; LICENSE + pyproject)",
      "published_year": null,
      "added_at": "2026-09-25T02:09:13.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1044",
      "markdown": "https://papers.projxon.ai/entries/1044.md",
      "api": "https://papers.projxon.ai/api/entries/1044"
    },
    {
      "id": 688,
      "kind": "paper",
      "title": "Understanding Reasoning from Pretraining to Post-Training",
      "summary": "Studies how pretraining choices shape the returns to RL post-training and what RL actually does to the model, using chess as a controlled testbed. Language models from 5M to 1B parameters are pretrained on human chess games, supervised fine-tuned on synthetic reasoning traces, then RL-trained on chess puzzles with verifiable rewards. Post-RL performance at a given RL compute level is well-predicted from pretraining loss, and RL reward-curve slopes improve approximately linearly with pretraining tokens.",
      "url": "https://arxiv.org/abs/2607.16097",
      "authors": [
        "Jingyan Shen",
        "Ang Li",
        "Salman Rahman",
        "Yifan Sun",
        "Micah Goldblum",
        "Matus Telgarsky",
        "Pavel Izmailov"
      ],
      "tags": [
        "reasoning",
        "pretraining",
        "rl-post-training",
        "scaling-laws",
        "chess",
        "verifiable-rewards"
      ],
      "venue": "arXiv (cs.LG), v2 revised 2026-08-09",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/688",
      "markdown": "https://papers.projxon.ai/entries/688.md",
      "api": "https://papers.projxon.ai/api/entries/688"
    },
    {
      "id": 1041,
      "kind": "paper",
      "title": "When Do Larger Batches Help Scale LLM Reinforcement Learning?",
      "summary": "Tencent Hunyuan RL Team paper (arXiv 2608.29296v1, cs.LG; companion research post hy.tencent.com/research/100116, EN/ZH, page date 2026-09-21) on when larger batches cut wall-clock time-to-target for online LLM RL. Decomposes T=N*/q: larger batch helps only when throughput gain exceeds samples-to-target penalty (r_q>r_N). Two-stage recipe: (1) establish approximate sample-indexed batch-size invariance via Adam √LR retuning η(B)=η0√(B/B0); (2) optimize generation/train throughput within that regime (generation–training asymmetry: decode often bandwidth-bound, sublinear collection time vs ~linear train). GRPO on Qwen3-30B-A3B-Instruct-2507, filtered DAPO-MATH-17K (4,853 rows), G=8, mean@32 AIME 2024/2025: invariance ~P=64–1024; degrade at 2048/4096. Best tuned P=1024: time-to-target 11.90→8.42 h (−29%, 0.71×) with +41% throughput and r_N=1, no extra GPUs; at P=2048/4096 a +60% sample cost outweighs +30%/+36% throughput (T 1.23×/1.18×). PPO on Hunyuan MoE policy+value (3B active each), G=1: aligns ~256–2048, degrades at 4096; gen throughput up to 2.29× (B 256→1024). Fixed-LR control slower despite higher throughput. No public code/HF/dataset links.",
      "url": "https://arxiv.org/abs/2608.29296",
      "authors": [
        "Ziniu Li",
        "Jinbo Wang",
        "Guanhua Huang",
        "Feiyuan Zhang",
        "Pengbo Li",
        "Alex Chen (Tencent Hunyuan Team / RL Team)"
      ],
      "tags": [
        "batch-size",
        "llm-rl",
        "grpo",
        "ppo",
        "hunyuan",
        "tencent",
        "throughput",
        "time-to-target",
        "learning-rate-scaling",
        "critical-batch",
        "qwen3",
        "dapo-math",
        "aime"
      ],
      "venue": "arXiv / Tencent Hunyuan Research",
      "source": "arxiv",
      "license": "CC BY 4.0 (arXiv)",
      "published_year": 2026,
      "added_at": "2026-09-25T01:37:18.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1041",
      "markdown": "https://papers.projxon.ai/entries/1041.md",
      "api": "https://papers.projxon.ai/api/entries/1041"
    },
    {
      "id": 839,
      "kind": "post",
      "title": "The ultimate guide to multi-harness RL",
      "summary": "The ultimate guide to multi-harness RL (Adithya S Kolavi / FineEnvs, Hugging Face Space, 2026-10-01). Not a paper: a 33-figure ~60-page interactive research article plus full artifact release documenting how to do RL across multiple agent harnesses without modifying them -- claiming the first public multi-harness agent RL pipeline. Core idea: a 'capture proxy' sits between the agent harness and vLLM, speaks the four API formats coding agents use (OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, Gemini), records exact token ids/logprobs sampled by vLLM, and reconstructs TRL-trainable traces, so the same rollouts run unmodified through 10+ harnesses. Full GRPO runs: LFM2.5-2.6B trained with multi-harness RL on 1,000 SmolDataEnvs data-analysis tasks, evaluated on 250 held-out tasks under four harnesses: base 42.2% -> multi-harness RL 54.2% pass@1 overall (step 1,000; best checkpoint step 700: 54.6%); per-harness OpenCode 49.6%, Claude Code 48.8%, Codex 53.6%, Mini-SWE-Agent 64.8%. OpenCode-only RL (step 900) reached 52.4% overall and won on its home harness (56.0%) but lost to multi-harness RL on Claude Code and Codex. Tool efficiency: correctness-only reward keeps tool calls high; adding a small bonus for fewer calls cut tool calls 31.1% on 356 task/harness pairs solved by both base and model, savings in all four harnesses. SFT comparison: fine-tuning on 3,189 successful Qwen3.8-27B teacher rollouts (17,929 examples, 2 epochs) plateaued -- OpenCode SFT 47.5% (-8.5% calls), multi-harness SFT 43.1% (-24.2% calls), both below RL (54.6%), showing multi-harness RL beats imitation at both performance and efficiency. Setup: async GRPO (TRL Async GRPO), 1,000 steps, reward = correctness x (1 + 0.1x15/(15+tool_calls)), 8 rollouts per GRPO group (one harness each, rotating), on 2xH100 (~32h OpenCode-only, 46h multi-harness); rollouts in E2B sandboxes via OpenEnv + Harbor. OpenEnv is BSD-3-Clause (PR #1036 capture proxy + Harbor, PR #1280 typed TrainingTrace API); TRL PR #6947 HarnessRolloutWorker (on TRL main, not v1.14.1). Trained models (full weights) under LFM Open License v1.0: LFM2.5-2.6B-multiharness-RL, -opencode-RL, -multiharness-SFT, -opencode-SFT, Qwen3.5-2B variants. Caveat from the model card: best-checkpoint selection used the test set (no separate validation set); single-run results on fixed harness versions.",
      "url": "https://huggingface.co/spaces/FineEnvs/multi-harness-rl",
      "authors": [
        "Adithya S Kolavi (FineEnvs / Hugging Face)"
      ],
      "tags": [
        "multi-harness-rl",
        "agent-harnesses",
        "grpo",
        "trl",
        "openenv",
        "vllm",
        "capture-proxy",
        "claude-code",
        "codex",
        "opencode",
        "tool-efficiency",
        "sft-vs-rl",
        "smoldataenvs",
        "harbor",
        "agentic-rl"
      ],
      "venue": "Hugging Face Space, 2026-10-01",
      "source": "article",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/839",
      "markdown": "https://papers.projxon.ai/entries/839.md",
      "api": "https://papers.projxon.ai/api/entries/839"
    },
    {
      "id": 1039,
      "kind": "paper",
      "title": "Reinforcement Learning for LLMs: The Complete Guide",
      "summary": "Cameron R. Wolfe’s Aug 24, 2026 Substack guide traces RL for LLMs from fundamentals (MDPs, returns, value/advantage, KL, importance sampling) through LLM formulations (token-level MDP vs completion bandit; RLHF vs RLVR) to policy-gradient algorithms used in practice: VPG, REINFORCE/RLOO, PPO with GAE, and GRPO, plus GRPO-era extensions (GSPO, DAPO, Dr. GRPO, truncated importance sampling) and related infrastructure notes (TRL, OpenInstruct). Written as a self-contained overview pointing to Lambert’s RLHF Book, Sutton & Barto, Spinning Up, Raschka, Schulman notes, Lilian Weng, and prior Deep (Learning) Focus posts—not a single new empirical paper. Cataloged as a survey-style paper/blog item; citations are noted thematically rather than auto-expanded into separate catalog rows.",
      "url": "https://cameronrwolfe.substack.com/p/llm-rl",
      "authors": [
        "Cameron R. Wolfe",
        "Ph.D."
      ],
      "tags": [
        "llm-rl",
        "rlhf",
        "rlvr",
        "ppo",
        "grpo",
        "gspo",
        "dapo",
        "reinforce",
        "policy-gradient",
        "cameron-wolfe",
        "survey",
        "substack"
      ],
      "venue": "Substack (cameronrwolfe.substack.com)",
      "source": "blog",
      "license": "Substack publication (standard site terms; not an open-license paper)",
      "published_year": null,
      "added_at": "2026-09-24T19:26:11.000Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1039",
      "markdown": "https://papers.projxon.ai/entries/1039.md",
      "api": "https://papers.projxon.ai/api/entries/1039"
    }
  ]
}
