explainx.ai350K+ learn from us
TrendingAI News TodayExplainx for Business
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcpestacktoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • Why retrosynthesis is an agent problem, not a flashcard quiz
  • RetroEnv tools and frozen world rules
  • Benchmark board: frontier vs open weights
  • Shaped reward: fixing the 26% hack rate
  • Training LiteRetro-27B: thinking on, peak then decline
  • How to reproduce
  • Where this fits your stack
  • Comparing RetroEnv to other science agent benchmarks
  • Limits LiteFold discloses
  • Episode anatomy: what a good rollout looks like
  • Enterprise and therapeutics positioning
  • Replication week-one plan
  • Related reading
← Back to blog

explainx / blog

RetroEnv and LiteRetro-27B: Open GRPO Training for Retrosynthesis Planning

LiteFold, Benchmarks, Open Models, Reinforcement Learning, Chemistry

Part of AI Benchmarks and Evals

LiteFold released RetroBench Nov 25, 2026: RetroEnv grades molecule synthesis routes, Qwen3.8-27B GRPO training hits 33.8% pass@1, and tools plus datasets are on Hugging Face.

Nov 25, 2026·8 min read·Yash Thakker
add explainx.ai
go deep
RetroEnv and LiteRetro-27B: Open GRPO Training for Retrosynthesis Planning

LiteFold on November 25, 2026 released RetroBench, an open benchmark where language models plan how to synthesize molecules backward from purchasable building blocks. The harness is RetroEnv, an RL environment with nine chemistry tools and a verifier that accepts any valid route—not a single answer key. GRPO training on Qwen3.8-27B produced LiteRetro-27B at 33.8% pass@1 on 150 test tasks, up from 11.8% for the base model—roughly on par with Claude Haiku 5.5 in the same setup.

Why retrosynthesis is an agent problem, not a flashcard quiz

Retrosynthesis asks: given a target molecule, which sequence of reactions leads back to compounds you can buy? Medicinal chemistry teams care because shorter routes mean fewer steps, less waste, and faster iteration.

Classic benchmarks often match published routes. RetroEnv deliberately does not. A model wins if every step is supported by a frozen reaction library and every leaf sits in a 102,915-molecule inventory built from PaRoutes patent data (CC BY 4.0). Matching a known patent only adds a small bonus—so novel valid routes count.

That design fits tool-using agents more than one-shot SMILES completion:

  • Agents search stock, inspect scaffolds, and validate disconnections before emit_routes.
  • Failures are verifiable (unsupported reaction, false stock claim, broken JSON).

If you already run OpenAI intrinsic protein design or science agent demos, RetroEnv is the chemistry-shaped cousin: long horizons, structured tools, hard verifier.

RetroEnv tools and frozen world rules

Molecular planning metaphor for LiteRetro-27B retrosynthesis route agentsMolecular planning metaphor for LiteRetro-27B retrosynthesis route agents

LiteFold gives agents nine tools. Eight explore; emit_routes is the only terminal action.

table · 2 cols
ToolRole
inspect_moleculeRDKit formula, rings, stereochemistry
pubchem_lookupLocal canonicalization; names need frozen cache
stock_retrieveInventory access capped at 20 hits per query
reaction_precedent_searchAnalogues from training-split-visible reactions
validate_disconnectionProposed cut vs library, no answer leak
reaction_class_lookupTemplate class for a cut
reaction_conditions_searchFrozen reagents from similar reactions
search_literatureFrozen patent references
emit_routesSubmit reasoning-grounded route DAGs for grading

No live web search. LiteFold blocked open internet access so models cannot look up the answer instead of planning. Training reactions stay hidden from search tools so rollouts cannot peek at held-out tasks.

Tasks span 78,505 targets with easy / medium / hard splits by route length and complexity. The test set is leak-checked against patents, scaffolds, and near-duplicates.

Benchmark board: frontier vs open weights

LiteFold evaluated 12 models on 30 tasks (10 per difficulty, four attempts each) and 150 tasks (one attempt each).

Closed frontier (30 tasks, pass@4).

  • GPT-6 Astra and GPT-6.1 Sol: 90.0% pass@4, 76.7% pass@1 each.
  • Claude Sonnet 5.5: 76.7% pass@4.

Open and Chinese models (150 tasks, pass@1).

  • Kimi-K2.6: 29.1% (partial run at snapshot time).
  • Qwen3.8-2.4T-A95B: 23.3%.
  • Base Qwen3.8-27B: 11.8%.
  • Gemma-4-31B: 0% on both splits in the published table.

Harness effects matter. LiteFold notes Kimi-K2.6 burned all 20 turns without submitting when not told turn counts; GLM-5.3 hit token limits before first tool calls. Scores reflect agent discipline, not chemistry alone—similar to ShellBench real-world agents and WorldDistillation device control lessons.

Shaped reward: fixing the 26% hack rate

Shortcut reward hack blocked in shaped RetroEnv RL trainingShortcut reward hack blocked in shaped RetroEnv RL training

The first composite reward paid for valid JSON and supported partial steps even when no buyable leaf existed. LiteFold measured 26% of failed submissions beating the worst solved route on reward—a classic Goodhart pattern discussed in RLVR surveys.

Their shaped reward uses non-overlapping bands:

  • Solved: 0.70–1.00 scaling with route quality.
  • Failed: 0–0.20 based on how close precursors get to real stock.

A stop-after-one-cut submission fell from 0.603 to 0.055 reward. That alignment unlocked GRPO signal where 165 training groups previously had no within-group variance.

For RL engineers, the auto-research loop LiteFold describes—587 probes, four checks (hack margin, stop-early, rank gap, learning signal)—is reusable outside chemistry. Pair it with AWS Strands Decider when you tune agent rewards in production.

Training LiteRetro-27B: thinking on, peak then decline

Setup.

  • Base: Qwen3.8-27B, LoRA, GRPO (DeepSeekMath lineage).
  • Pools: 2,000 easy tasks, then 2,000 mixed (600 easy / 1,000 medium / 400 hard).
  • Thinking: --thinking --reasoning-effort low for training runs that mattered.

Results (150 test tasks, pass@1).

  • Base: 11.8% overall; 3.5% on hard third.
  • Best checkpoint (Run 4, step 525): 33.8% overall; 12.5% hard tier.
  • pass@4 on 30 tasks: 56.7% vs 23.3% pre-training (~2.4×).

LiteFold compares LiteRetro-27B to Haiku 5.5 at 35.3% vs 33.8% on 150 tasks—within noise of 150-task eval.

Honest limitation. Training peaked then declined (Run 3 fell from 0.323 to 0.180 by step 775). LiteFold suspects missing KL-to-base penalty in the trainer and lists early stopping at peak as a mitigation. Merged-adapter bug before November 9 invalidates some older checkpoints—read training_config.json in their public runs bucket before citing numbers.

How to reproduce

LiteFold ships commands in the research post and FineEnvs README:

bash
uv sync --extra dev --extra eval
python train/jobs/hf_job.py train \
  --mode async --bucket <owner>/<bucket> \
  --flavor h200x8 --vllm-gpus 3 \
  --task-pool train/sweeps/train-easy2k.txt \
  --round-tasks 4 --generations 32 --updates-per-round 4 \
  --inflight 128 --reward shaped --lr 1e-4 \
  --steps 200 --save-steps 25 --name <run> --submit

Eval on the 150-task core set with four attempts:

bash
python train/jobs/hf_job.py eval \
  --bucket <owner>/<bucket> --set core150 \
  --harness training --attempts 4 --temperature 0.8 \
  --thinking --reasoning-effort low \
  --checkpoint /outputs/<run>/checkpoint-<n> \
  --name <name> --submit

Artifacts.

  • Weights: FineEnvs/retroenv-qwen3.8-27b-grpo (Apache 2.0).
  • Data: LiteFold/RetroEnv and RetroEnv-Curated (CC BY 4.0).
  • Playground: Hugging Face Space linked from the post for hand-play trajectories.

Hardware. Runs used H200 and A100 via Hugging Face Jobs; Run 4 training job ~17 hours after resume.

Where this fits your stack

Drug-discovery agents. Use RetroEnv as a gated eval before you trust open science models on synthesis planning.

General agent teams. The inventory search + validate + emit pattern mirrors computer-use benchmarks—swap RDKit for DOM APIs.

Open-model roadmaps. 27B + GRPO + shaped verifier rewards is a repeatable recipe alongside Qwen harness adapters and InclusionAI medical MoE releases.

Comparing RetroEnv to other science agent benchmarks

table · 4 cols
BenchmarkDomainVerifier styleOpen weights
RetroEnvRetrosynthesisRDKit + reaction libraryLiteRetro-27B
ProofAtlasMathlib problemsProof checkerLeaderboard only
OpenHuman conjecturesResearch proposalsHuman + formal mixMixed
ShellBenchCLI tasksCommand outcomeHarness open

RetroEnv’s niche is long-horizon tool use with a domain-specific DAG. If your team already runs Nightwatch computer-use agents, port the harness discipline—frozen tools, terminal-only actions, no web peeking—before you port the chemistry.

Limits LiteFold discloses

  • Patent leakage risk: public routes may appear in pretraining corpora; LiteFold flags this openly.
  • No yield or safety: supported library steps ≠ green chemistry.
  • Inventory staleness: stock list reflects PaRoutes, not today’s catalog prices.
  • Claude Opus 5.5 refusals: 78/120 attempts on 30 tasks declined on safety—distorts naive pass rates.

Episode anatomy: what a good rollout looks like

LiteFold’s Space trajectories show inspect → stock search → validate → emit loops. Strong GPT-6 rollouts commit early to a disconnection after validate_disconnection returns support. Weaker open-base runs spin on reaction_precedent_search without narrowing SMARTS queries.

Debugging checklist.

  1. Log emit_routes JSON failures—94% of broken trees in training were bracket miscounts.
  2. Compare stock_retrieve hit rate; sub-90% leaf validity usually means inventory search not reaction skill.
  3. Turn on turn-count hints if you fork the harness; Kimi-style agents never submit otherwise.
  4. Score with shaped reward during training but pass/fail for leaderboard comparability.

Enterprise and therapeutics positioning

LiteFold closes the post by inviting biology and chemistry teams that need custom environments. That mirrors Harvey’s legal agent benchmark—vertical verifier, public leaderboard, services upsell.

For pharma ML.

  • Treat LiteRetro-27B as planning copilot, not ELN replacement.
  • Keep human chemist sign-off on route safety; library does not score toxicity.
  • Benchmark your internal model with eval/run_eval.py before wet-lab purchase orders.

For agent platform vendors.

  • RetroEnv is a template for any DAG-shaped tool env (PCB layout, CAD, supply chain).
  • The shaped-reward search story is portable to delegent SLM subagents cost tuning.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

Replication week-one plan

  1. Clone FineEnvs and run hand-play Space on one easy task.
  2. Eval base Qwen3.8-27B with four attempts on core150 before trusting LiteRetro weights.
  3. Archive training_config.json when citing 0.338—peaked checkpoints differ from final step.
  4. Post failure traces (redacted) to internal Slack using LiteFold’s error taxonomy.

If you ship chemistry agents to customers, add RetroBench numbers to security questionnaires beside NCSC agentic offense guidance—verifiable envs reduce “trust me” demos.

Cost note. LiteFold trained on H200x8 and A100 pools via Hugging Face Jobs; reproduction is not a laptop overnight unless you subset tasks. Budget several GPU-hours even for eval-only reruns with four attempts per task. Start with eval-only on core150 to baseline your endpoint before you book GPUs. Published ~27h + ~61h + ~17h job times are author-reported for the merged LiteRetro checkpoint, useful for budget slides even if your fleet differs.

Related reading

  • SynthDCB world distillation benchmark
  • OpenClaw ShellBench agents
  • Lazy agents and verifiable beliefs
  • OpenAI protein design with GPT-6
  • Qwen3.8-27B OpenCode harness LoRA
  • ProofAtlas open math ranking
Spotted something out of date? Let us know.
Daily briefFrom Yash · 350K+ students taught

Catch up on AI

One AI story explained in plain English, plus one thing to try. Every day, free. Unsubscribe anytime.

  • ✓ Free
  • ✓ One email a day, no spam
  • ✓ Unsubscribe anytime
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Nov 27, 2026

G2i: What Frontier Labs Buy in RL Training Data, Verifiers, and ORC

On November 27, 2026 Gabe Greenberg described how G2i sells reinforcement-learning training data to frontier labs, why verifier design is part of the dataset, and how the company's ORC platform builds production-faithful environments at scale.

Nov 17, 2026

NVIDIA Nemotron for Science: LitmusBench v0.2 and Open Science Agents

NVIDIA Nemotron for Science is not a new foundation model. It bundles the open Nemotron 3.5 Super VL weights, LitmusBench v0.2 chemistry questions, and post-training recipes so labs can build agents that call CUDA-X tools and run on DGX Spark or supercomputers.

Nov 17, 2026

Qwen3.8-27B SWE-Bench Pro 63% on Pi: Claimed vs Official 61.7%

A November 2026 wave of posts claimed Qwen3.8-27B hits 63% on SWE-bench Pro using a new Pi harness adapter. The official Hugging Face model card still reports 61.7% evaluated with the Claude Code harness at temp 1.0—harness choice moves the number.