{
  "id": 1379,
  "kind": "post",
  "title": "RL Fine-Tuning from Scratch: Build the Environment, Train with GRPO",
  "summary": "Deep-ML's new hands-on Project (24 steps, tagged Hard / Reinforcement Learning / PyTorch) builds the entire RLVR pipeline from scratch in PyTorch: a Countdown-style arithmetic RL environment (three numbers, a target, postfix expression using each number exactly once), a reward verifier, tokenization, a causal transformer policy, SFT warm-start, then the three GRPO components — group-relative advantages, the clipped policy-gradient objective, and the k3 KL estimator. Includes a reward-hacking experiment (watching the policy exploit a lenient verifier) and training-loop diagnostics. No paper, no code repo — the platform's format is atomized coding problems solved in-browser on their compute, \"no library call standing in for the thing you are trying to learn.\"",
  "body": "",
  "notes": "Discovery: Hudson shared the @real_deep_ml X post (2026-10-15). Relevance: (1) this is a teaching resource, not a research paper — label it as such; it claims no novel results; (2) practical value for his RLVR work — a reference from-scratch GRPO implementation to cross-check his own training loops against (advantages, clipping, k3 KL estimator), plus the lenient-verifier exploit experiment as a compact reward-design debugging demonstration; (3) pairs with queued #25 (Gottlieb task factory) and #31 (AutoEnvScaling) — the Countdown-style verifiable env is exactly the kind of task those generators produce; the diagnostic loop here (verifier → reward hacking → diagnostics) is the debugging layer under their generated envs; (4) platform precedent: deep-ml.com/problems/101 (\"Implement the GRPO Objective Function\", hard, 2026-09-06) already exists. Caveats: project URL resolved and verified 2026-10-15 (https://www.deep-ml.com/projects/rlvr-from-scratch); no checkpoints/code released — everything is solved in the platform's editor. Cluster: RLVR post-training, GRPO tutorials, reward-hacking diagnostics. | License: n/a",
  "url": "https://www.deep-ml.com/projects/rlvr-from-scratch",
  "links": [],
  "authors": [
    "Deep-ML"
  ],
  "tags": [],
  "topics": "",
  "venue": "Deep-ML",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": null,
  "added_at": "2026-10-15T00:00:00.000Z",
  "verified_at": "2026-10-15T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "real_deep_ml",
    "legacy_paper_id": "1686"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-11-01T12:53:38.681Z",
  "updated_at": "2026-11-01T12:53:38.681Z",
  "page": "https://papers.projxon.ai/entries/1379",
  "markdown": "https://papers.projxon.ai/entries/1379.md",
  "api": "https://papers.projxon.ai/api/entries/1379",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 1290,
      "kind": "tool",
      "title": "RL Environment Explorer — Hugging Face Hub RL Environments filter",
      "summary": "Hugging Face launched a dedicated RL Environments filter on the Hub (announced Sept 28, filter live Oct 5, 2026): any dataset repository tagged `rl-environment` appears at huggingface.co/datasets?other=rl-environment, giving one shared index for agent tasksets across five frameworks — OpenEnv, Harbor, MiMo, Verifiers, and NVIDIA NeMo Gym. Framework tags (harbor, verifiers, openenv, nemo-gym) are registered as dataset libraries: each puts the framework's icon on the dataset page and generates a framework-specific loading snippet under 'Use this dataset'; a repo can carry multiple tags since compatibility is non-exclusive. Environments are framed as data + runtime: the Hub hosts, versions, gates, and previews tasksets (tasks, tests, containers, reward rules); execution happens locally or on supported cloud backends (HF Jobs, HF Sandboxes), and the Hub itself does not run environments. Already seeded environments include Harbor's BeyondSWE, Terminal-Lego, Harbor-Mix, and NatureBench; Verifiers' Reverse-Text-RL, Multi-SWE-RL-Verified (2,232/4,703 rows), R2E-Gym-Subset-Verified, and Scale-SWE-Verified (17,202/20,181); and NeMo Gym's Workplace Assistant (5 databases, 26 tools, 690 business tasks), Structured Outputs, CFBench, and SysBench. Announced with 12M+ RL task entries across RL environments on the Hub; OpenEnv auto-tags on upload.",
      "url": "https://huggingface.co/blog/rl-environments",
      "authors": [
        "Adithya S K / Hugging Face"
      ],
      "tags": [
        "rl-environment-explorer",
        "rl-environments-filter",
        "hugging-face-hub",
        "openenv",
        "harbor",
        "verifiers",
        "nemo-gym",
        "mimo",
        "tasksets",
        "agent-rl"
      ],
      "venue": "Hugging Face Hub",
      "source": "blog",
      "license": "",
      "published_year": null,
      "added_at": "2026-10-07T00:00:00.000Z",
      "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/1290",
      "markdown": "https://papers.projxon.ai/entries/1290.md",
      "api": "https://papers.projxon.ai/api/entries/1290"
    },
    {
      "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": 1307,
      "kind": "tool",
      "title": "Open Env Arena — agent arena for RL environments",
      "summary": "On 2026-10-08, Hugging Face's Ben Burtenshaw (community MLE) launched the Open Env Arena, an agent arena for RL environments: instead of agents competing on tasks, agents compete on defining the best RL environments. The loop: agents submit environment definitions (tasks + rewards), the platform trains a fixed base model (Qwen-3.8-27B) on them with a fixed training recipe, evaluates the resulting models, and posts scores to a leaderboard. The arena runs on PostTrainArena by @benchflow_ai (benchflow-ai/posttrainarena): the Hugging Face frontend reuses the Agent Collabs shared board/score chart/leaderboard with 'Add your agent' onboarding, while PostTrain runs headlessly through a CLI/API. It is fully agent-accessible: agents pull instructions from the Space's /AGENTS.md and /openapi.json and use arena_cli.py (discover, environments list, experiment list, board list) to share env datasets, track metrics, and send each other messages. Compute comes from Nebius GPUs. The underlying pipeline uses native task.md-format tasks, one-epoch LoRA SFT followed by LoRA GRPO over the training set, and held-out evaluation (the repo's data-agent canary shows 2,238 training / 366 held-out tasks). First round tackles a mix of 8 domains on held-out tasks, with the best environments evaluated on public benchmarks; future arenas will focus on specific domains and benchmarks.",
      "url": "https://openenvarena-arena.hf.space/",
      "authors": [
        "Ben Burtenshaw / Hugging Face",
        "benchflow_ai (PostTrainArena)"
      ],
      "tags": [
        "open-env-arena",
        "rl-environments",
        "posttrainarena",
        "benchflow-ai",
        "nebius",
        "qwen-3.8-27b",
        "agent-arena",
        "leaderboard",
        "environment-design",
        "grpo",
        "lora"
      ],
      "venue": "Hugging Face Space",
      "source": "x",
      "license": "",
      "published_year": null,
      "added_at": "2026-10-08T00:00:00.000Z",
      "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/1307",
      "markdown": "https://papers.projxon.ai/entries/1307.md",
      "api": "https://papers.projxon.ai/api/entries/1307"
    },
    {
      "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": 788,
      "kind": "paper",
      "title": "Fine Until Fine-Tuned: Repeated Solutions Make Reasoning Fragile",
      "summary": "Shows that reasoning distillation recipes like s1 and LIMO -- training a model on the same thousand or fewer worked solutions many times over -- leave reasoning fragile to later training stages, even stages with nothing to do with reasoning. Qwen3.5-9B-Base fine-tuned on its own correct competition-math solutions solved ~95% of held-out problems whether drilled on a few hundred solutions ~8 times each or shown many more once. But one pass of ordinary instruction tuning left the once-shown model intact while the drilled one fell to 86.0%, and harsher later stages took it to 59.3% or below. A third model that revisited the drilled problems equally often with a fresh solution each time was unharmed, so the damage comes from seeing the same texts again, not from few problems. The break recurs with a stronger model's traces, across further runs, models, and tasks. It is cheap to undo: reasoning is suppressed rather than erased -- five updates of reasoning training (or brief training on the reasoning format with almost no mathematics) bring almost all of it back. Fresh solutions and replaying 6.25% of original solutions in gentler later stages also prevent the damage; sharpening alone does not explain it.",
      "url": "https://arxiv.org/abs/2609.33559",
      "authors": [
        "Ely Sheikh"
      ],
      "tags": [
        "reasoning",
        "post-training",
        "instruction-tuning",
        "distillation",
        "s1",
        "limo",
        "qwen"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "CC-BY-4.0",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/788",
      "markdown": "https://papers.projxon.ai/entries/788.md",
      "api": "https://papers.projxon.ai/api/entries/788"
    },
    {
      "id": 1276,
      "kind": "code",
      "title": "AgentEnv (Scale AI) — open framework for building RL agent environments",
      "summary": "AgentEnv Framework is a Python SDK and CLI for building, deploying, and running agentic environments and the tasks that grade agents inside them. Environments are containerized servers speaking the open agentenv-framework-protocol; the framework builds them into versioned images, deploys them behind a gateway, points an agent at them, and scores what the agent did. Scale AI says every RL environment it builds runs on AgentEnv, so the release is effectively Scale's internal RL environment stack opened to the community ('so more people can build the worlds agents learn in'). It covers environments, artifacts, agents, tasks, and a registry, with an entry-point-based plugin system (envs, task steps, artifacts, sandbox/state/environment providers, CLI plugins, explorer routes) and a built-in explorer UI plus a 'hello' bundle for zero-config trials. Distributed as agentenv-framework on PyPI (import package agent_env, command agent-env), full docs at agentenvframework.com/docs, Apache 2.0 licensed. Caveat: the repo is young (created 24 Sep 2026) and the public announcement is hours old, so real-world adoption and maturity are unproven.",
      "url": "https://github.com/scaleapi/agentenv-framework",
      "authors": [
        "Scale AI"
      ],
      "tags": [
        "agentenv",
        "scale-ai",
        "rl-environments",
        "agentic-rl",
        "sandbox",
        "mcp"
      ],
      "venue": "Open-source release announcement, 6 Oct 2026 (github.com/scaleapi/agentenv-framework)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00: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/1276",
      "markdown": "https://papers.projxon.ai/entries/1276.md",
      "api": "https://papers.projxon.ai/api/entries/1276"
    }
  ]
}
