{
  "id": 1318,
  "kind": "post",
  "title": "Improving Qwen3.8-27B-Medium on DeepSWE with GRPO: 500-task SWE agent dataset experiment (AfterQuery)",
  "summary": "AfterQuery's internal post-training team trained Qwen3.8-27B (medium reasoning) with GRPO on 500 tasks from their SWE agent training dataset and reports DeepSWE pass@1 (avg of 3 attempts) rising from 27.8% to 39.1% (+11.3 points) over 15 GRPO updates. The dataset spans 10,000+ tasks authored by experienced software engineers and open-source contributors with expert review, built from real workflows in private enterprise codebases to avoid evaluation contamination; the 500-task subset was chosen in a 'learnable distribution' across 422 repos (Python 39.4%, TypeScript 24.2%, Go 20.4%, Rust 13.8%, JavaScript 2.2%) with 80.4% feature requests, 11.6% bug fixes, 8.0% enhancements. Training: 8 attempts per task, GRPO updating all LM parameters on each attempt's reward relative to the group, medium reasoning to speed rollouts; mean shaped reward rose 0.570 to 0.856 over 15 updates (each update a new batch of tasks), entropy held 0.509-0.605 nats/token with no sustained decline. Same-harness evals (mini-swe-agent, medium reasoning): DeepSWE pass@3 51.3%->68.1%; Terminal-Bench 2.1 pass@1 57.30%->61.42%, pass@3 73.03%->75.28%; SWE-Bench-Pro (Hard) pass@1 61.44%->64.71%, pass@6 flat at 88.24%.",
  "body": "",
  "notes": "Discovery chain: @AfterQuery (org account, 'Applied research lab curating data solutions to accelerate foundation model development', ~3.5K followers, verified) X post 2026-10-08 ~5:50 PM ET (~13.9K views, 122 likes, 79 bookmarks): 'Not all coding data is created equal. Using only 500 tasks from @AfterQuery's SWE agent dataset, our internal post-training team was able to improve Qwen3.8-27B-Medium by 11.3 points in only 15 steps of GRPO. Read more about our training experiment in the blog post linked in the comments.' Blog: 'Improving Qwen3.8-27B-Medium on DeepSWE with GRPO' (Liheng L., Michael E., Parth P., Spencer M., 2026-10-08), https://www.afterquery.com/blog/improving-qwen38-27b-on-deepswe. VENDOR CAVEATS (recorded plainly): (1) This is vendor marketing for a paid data product — the numbers are self-reported by AfterQuery's own team on their own dataset; no independent verification. (2) All 500 tasks were used for training with none held out for validation. (3) The reward design is not disclosed in the blog ('reach out to us directly... to see the full post-training experiment and reward design') — the shaped reward drove the gain and its shaping is unknown. (4) The +11.3 headline is pass@1 (avg 3) on DeepSWE under mini-swe-agent at medium reasoning; the blog itself notes Qwen's reported 42.2% on DeepSWE 1.1 uses Claude Code at xhigh reasoning and is not directly comparable. (5) Gains are uneven across evals: Terminal-Bench 2.1 gains are smaller (+4.1 pass@1, +2.3 pass@3) and SWE-Bench-Pro (Hard) pass@6 is flat at 88.24% — the headline metric is the best of the reported ones. (6) Dataset access is gated commercial ('Get in touch here to access our off-the-shelf SWE agent training datasets'); no public dataset page or license found at catalog time. Relevance: directly relevant to the user's RL post-training — data quality for agentic RL; 'not all coding data is created equal' is his kind of claim. Connects to the verifiable-environment cluster (1606 SWR, 1614 Open Env Arena, 1619 TermGrade) and the agentic-RL infra trilogy (1610 NeMo-DCR, 1620 ThunderSyncRL, 1622 Proximal).",
  "url": "https://www.afterquery.com/blog/improving-qwen38-27b-on-deepswe",
  "links": [],
  "authors": [
    "Liheng L.",
    "Michael E.",
    "Parth P.",
    "Spencer M. (AfterQuery)"
  ],
  "tags": [
    "grpo",
    "swe-agent-training-data",
    "deepswe",
    "qwen3.8",
    "data-quality",
    "afterquery"
  ],
  "topics": "",
  "venue": "AfterQuery blog, published 2026-10-08",
  "publisher": "",
  "source": "x",
  "language": "en",
  "access": "free",
  "license": "",
  "published_year": 2026,
  "added_at": "2026-10-09T00:00:00.000Z",
  "verified_at": "2026-10-09T00:00:00.000Z",
  "attrs": {},
  "enrichment": {},
  "enriched_at": null,
  "license_class": "unknown",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1625"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-09T01:51:04.091Z",
  "updated_at": "2026-10-09T01:51:04.091Z",
  "page": "https://papers.projxon.ai/entries/1318",
  "markdown": "https://papers.projxon.ai/entries/1318.md",
  "api": "https://papers.projxon.ai/api/entries/1318",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 849,
      "kind": "paper",
      "title": "MiMo-V2.6: Scaling Reinforcement Learning Towards Self-Improvement",
      "summary": "Technical report for Xiaomi's MiMo-V2.6 series (Pro-RL flagship and Flash-RL), built to scale RL toward self-improvement by scaling RL compute, environment diversity, and grader compute together. The recipe: 'You Only RL Once' — one fully asynchronous GRPO run mixing coding, general agents, visual, and cybersecurity tasks and multiple harnesses in the same batch (1,568 prompts x 16 rollouts, ~25K trajectories and billions of tokens per step, 30 steps); groupwise agentic grading (GRS rubrics + GAR advantage redistribution) that ranks passing solutions instead of binary pass/fail; training on minimal open-source mini-harnesses whose gains transfer to unseen production harnesses; environment hardening against reward hacking; and MOPD2 multi-prefix multi-teacher on-policy distillation after RL. Pro is a 1.02T-total / 42B-active sparse MoE with 1M-token omnimodal context.",
      "url": "https://huggingface.co/XiaomiMiMo/MiMo-V2.6-Pro-RL",
      "authors": [
        "Xiaomi MiMo Team"
      ],
      "tags": [
        "mimo-v2.6",
        "you-only-rl-once",
        "grpo",
        "groupwise-agentic-grading",
        "grs",
        "gar",
        "mopd2",
        "mini-harnesses",
        "reward-hacking",
        "deepswe",
        "xiaomi"
      ],
      "venue": "Xiaomi MiMo technical report (Hugging Face), Sep 2026",
      "source": "huggingface",
      "license": "mit",
      "published_year": 2026,
      "added_at": "2026-10-01T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 84809,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/849",
      "markdown": "https://papers.projxon.ai/entries/849.md",
      "api": "https://papers.projxon.ai/api/entries/849"
    },
    {
      "id": 812,
      "kind": "paper",
      "title": "RLTL;DR: Self-improvement by Internalizing Self-generated Feedback",
      "summary": "In RLVR the agent makes multiple attempts and optimizes toward the successful ones -- which breaks down in self-improvement,where tasks are so hard the agent has low or no chance of success and no teacher or example solutions exist. RLTL;DR: after each failed attempt,the policy is shown the verifier outputs and writes its own feedback as a single TL;DR insight; the next rollout is conditioned on all previous insights,sequentially sampling rollouts until a solution is found. Crucially,the in-context insights are backpropagated to internalize a direct task-to-insight mapping. On challenging tool-calling and coding datasets filtered to Pass@128=0,standard GRPO on a Qwen 3.5 9B Thinking policy stays flat at Pass@1 0-1%; RLTL;DR breaks the learning barrier to Pass@1 14-31% with insights in context during training,and 12-13% with no insight in context at eval time. A reduced variant,SFTL;DR,trains only on 4k (task,insight) tuples with no rollouts shown or backpropagated and recovers almost the full performance of RLTL;DR and classical SFT on full rollouts -- a compacted training paradigm of the form \"on this sort of task,keep this sort of thing in mind\". Sequential rather than parallel attempts per task; backpropagating the insight tokens semantically smooths and generalizes knowledge to similar tasks.",
      "url": "https://arxiv.org/abs/2609.37633",
      "authors": [
        "Michael Kirchhof",
        "Eleonora Gualdoni",
        "Andrew Szot",
        "Khashayar Gatmiry",
        "Aryo Lotfi",
        "Abbas Kazerouni",
        "Omar Attia",
        "Sanjoy Chowdhury",
        "Alexander Toshev"
      ],
      "tags": [
        "self-improvement",
        "agents",
        "rlvr",
        "rl",
        "grpo",
        "tool-calling",
        "coding"
      ],
      "venue": "arXiv:2609.37633 (cs.LG), submitted 29 Sep 2026",
      "source": "arxiv",
      "license": "agents",
      "published_year": 2026,
      "added_at": "2026-10-01T16:45:12.762Z",
      "has_dataset_profile": false,
      "license_class": "other",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/812",
      "markdown": "https://papers.projxon.ai/entries/812.md",
      "api": "https://papers.projxon.ai/api/entries/812"
    },
    {
      "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": 1023,
      "kind": "dataset",
      "title": "deepswe-clm-train-embeddings-8k (DeepSWE CLM/PRM training embeddings)",
      "summary": "MIT dataset of frozen Qwen3-8B last-token-pooled embeddings (4096-d float16): 405,919 steps · 4,701 trajectories · 113 tasks from DeepSWE training-pool rollouts. State = chat-templated step context truncated to last 8191 tokens; action = raw action text (embed_shard.py, max_model_len 8192). Columns include trajectory_id, step_idx, task_id, reward, model, config, state_embedding, action_embedding. Card notes this is the data released DeepSWE PRM heads (tarsur385/deepswe-prm-heads-8k) were fine-tuned on; CLM README uses the same dataset path for train/finetune.py --task clm. Eval rollouts called out separately as tarsur385/deepswe-prm-embeddings-8k; CLM README also mentions Contrastive-LM/deepswe-clm-embeddings-8k for bon_eval (not found on Hub at catalog).",
      "url": "https://huggingface.co/datasets/Contrastive-LM/deepswe-clm-train-embeddings-8k",
      "authors": [
        "Contrastive-LM (embeddings from DeepSWE training-pool rollouts",
        "Qwen3-8B)"
      ],
      "tags": [
        "deepswe",
        "clm",
        "embeddings",
        "qwen3-8b",
        "prm",
        "swe-agent",
        "mit",
        "parquet"
      ],
      "venue": "Contrastive-LM / Hugging Face",
      "source": "huggingface",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-09-24T01:37:52.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [
        "tabular",
        "text"
      ],
      "size_class": "100K<n<1M",
      "citation_count": null,
      "downloads": 796,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1023",
      "markdown": "https://papers.projxon.ai/entries/1023.md",
      "api": "https://papers.projxon.ai/api/entries/1023"
    },
    {
      "id": 837,
      "kind": "paper",
      "title": "Marathoner: Ultra-Long-Horizon Autonomous Intelligence",
      "summary": "Marathoner: Ultra-Long-Horizon Autonomous Intelligence (arXiv 2609.34378; CC BY 4.0). Marathoner-9B, built on Qwen3.5-9B, trained for ultra-long-horizon autonomous coding with a three-stage post-training pipeline: (1) Ultra-Long-Horizon Task Synthesis -- mining major-release PRs (1000+ new lines of code each) from 10,000 GitHub repositories into task-level data in the Harbor framework format, plus 'Multi-Task Chaining' that chains multiple synthesized tasks into one harder task; (2) Rejection Sampling Finetuning -- using Kimi K3 as teacher with diverse harnesses (Claude Code, Codex, etc.), then SFT on rejection-sampled trajectories; (3) Reinforcement Learning -- GRPO in the AReaL framework with real execution in independent sandboxes, plus a novel 'Later Stage Bonus Reward' (+0.5) that explicitly rewards exceptionally valuable operations late in a run (e.g., finding a hidden bug, delivering a major optimization). Endurance: average on FrontierSWE 3.56h / 426.2 steps / 648.3 tool calls; on Terminal-Bench 2.0 0.58h / 104.8 steps / 239.4 tool calls; a case study shows an 11.8-hour trajectory (872 steps) implementing native Rust control-flow operations in Qiskit. Results with Claude Code harness: SWE-bench Verified 43.8% (Qwen3.5-9B) -> 58.4% (after RFT) -> 77.5% (final Marathoner-9B); Terminal-Bench 2.0 27.3% -> 49.7% -> 57.2%; FrontierSWE 10.2 -> 18.2 -> 26.4; NL2Repo 17.9 -> 23.8 -> 34.7; SWE-Marathon 0 -> 2.9 -> 8.2. Compares against proprietary models (Kimi K3, Claude Fable 5.1, GPT-6-Astra, GLM-5.2). Listed under cs.CV; 30 pages, 4 figures. No code, model, or dataset release visible in the paper or arXiv 'Code, Data, Media' section at research time.",
      "url": "https://arxiv.org/abs/2609.34378",
      "authors": [
        "Ruiyang Zhang",
        "Jinpeng Ou",
        "Yifan Xie",
        "Jingang Zhou",
        "Lirui Pan",
        "Qingpei Guo",
        "Zheng Zhedong (Ant Group",
        "Peking University",
        "University of Macau)"
      ],
      "tags": [
        "long-horizon-agents",
        "autonomous-coding",
        "post-training",
        "rejection-sampling",
        "rl",
        "grpo",
        "qwen3.5",
        "swe-bench-verified",
        "terminal-bench-2.0",
        "frontierswe",
        "nl2repo",
        "tool-use"
      ],
      "venue": "arXiv 2609.34378, 2026-09-28",
      "source": "paper",
      "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": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/837",
      "markdown": "https://papers.projxon.ai/entries/837.md",
      "api": "https://papers.projxon.ai/api/entries/837"
    },
    {
      "id": 1020,
      "kind": "model",
      "title": "deepswe-clm-heads-8k (DeepSWE CLM fixed-split verifier head)",
      "summary": "MIT-licensed single CLM projection-head checkpoint for DeepSWE panel. Split seed 42 stratified by candidate/pass count; 75/38 train/eval task-disjoint; 66 training tasks with successful trajectories (59 train / 7 val); Bo4 candidate budget; trajectory score = mean of final 12 step scores. Heldout: 31/38=81.579%, pass@1 28/38=73.684%, oracle 34/38=89.474%. Init from Contrastive-LM/CLM-v0.1-8B/CLM_v0.1-8B.pt; train/finetune.py batch 512 seed 1234 up to 20 epochs patience 5. Reproduce via evaluation/bon_eval.py (README also cites Contrastive-LM/deepswe-clm-embeddings-8k for eval embeddings — missing on Hub at catalog time). Files: best_head.pt, heldout_tasks.json, split_summary.json, task_split.json, train_tasks.json, verification.json. Hub storage ~302 MB.",
      "url": "https://huggingface.co/Contrastive-LM/deepswe-clm-heads-8k",
      "authors": [
        "Contrastive-LM (Jacky Kwok et al.)",
        "trained from CLM-v0.1-8B"
      ],
      "tags": [
        "deepswe",
        "clm",
        "verifier",
        "best-of-n",
        "swe-agent",
        "mit",
        "qwen3-8b"
      ],
      "venue": "Contrastive-LM / Hugging Face",
      "source": "huggingface",
      "license": "MIT",
      "published_year": 2026,
      "added_at": "2026-09-24T01:37:52.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": 341,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1020",
      "markdown": "https://papers.projxon.ai/entries/1020.md",
      "api": "https://papers.projxon.ai/api/entries/1020"
    }
  ]
}
