Explore the research collection
4 entries · Follow this search
- Model
flow-1 (Laminar) — RL-trained model for agent trace error detection
Model trained with RL to find hard-to-spot errors in agent traces and explain why they happened, running inside Laminar's 'Signals agent' harness — works like a coding agent, treating the trace as a repo and each span as a file; starts from a full-trace preview + a user prompt ('identify any logical errors'), greps across spans, reads them in full, and returns structured JSON following the user's schema. Training: SFT on synthetic investigations of realistic workflows across software (48.2%), customer support/telecom (20.3%), web/assistant (9.2%), legal (7.7%), CRM/sales (6.5%), enterprise analytics (3.5%), finance (2.4%), knowledge work (1.3%), healthcare admin (1.0%), then RL inside the Signals agent with the same tools it has in production (tool use, schema adherence, complex-trace investigation). On Laminar's Signals benchmark of 523 difficult agent traces: flow-1 .835/.741 Detection/Description F1 vs GPT-6-sol (high) .816/.728 — matches sol-level analysis while flagging fewer false positives (higher precision .817 vs .703); below Claude Opus 5 (.890/.848). Cost: $0.05/1M input, $0.01 cached, $0.30 output — 888 traces per $1 ($0.0011/trace) vs 38 for sol ($0.026), 668 for luna ($0.0015), i.e. ~23x more traces per $1 than sol at same quality; 25% cheaper than luna with better detection. Honest caveats in the post itself: flow-1 missed a contract redline that omitted mandatory AI-governance protections while both GPT-6 models caught it. Another RL checkpoint is training to make flow-1 a more efficient thinker. Production use case: monitor every agent run without sampling; turn traces into regression tests, evals, and signals for what to build next. No weights/code released; model served via Laminar's platform.
- Paper
Context Language Models
Introduces Context Language Models (CLMs): language models that natively manage their own context by treating the context as a file and allowing unrestricted updates to it, letting the model learn what is most important to maintain in context and naturally extending to multi-agent systems where multiple agent contexts coexist as files. Building CLMs zero-shot with existing models outperforms SOTA context-management strategies: 11.4% higher accuracy with 21.5% fewer FLOPs on BrowseComp-Plus, 5% higher scores with 59% fewer FLOPs on 12-hour EdgeBench, and 65% greater improvement with the same compute on a 24-hour multi-repository agent-swarm task. Shifting context management from external harness control to intrinsic model behavior enables both in-context and parametric learning of context-management strategies: steering CLMs with natural-language instructions evolved through a skill-optimization loop improves held-out accuracy by up to 35.9 points while reducing compute. An online RL method for CLMs improves Qwen3.5-9B on BrowseComp-Plus by 47.6% while using 12% fewer FLOPs. Co-designed Suffix Cache Reuse for CLM serving further cuts server-side compute by 35% relative to standard SGLang at matched performance.
- Paper
Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL
Studies RL for competitive programming where hidden unit tests enforce both correctness and efficiency. Training checkpoints under nested unit-test coverage reveals a correctness-efficiency frontier: higher-coverage rewards reduce optimization failures but increase correctness failures. Interpolation between low- and high-coverage checkpoints recovers the frontier; extrapolation extends it beyond trained endpoints, across pure reasoning, tool-use, and agentic coding settings and 32B/7B scales. Ensembles with extrapolative weight averaging broaden coverage and improve pass@250 on LCB/hard by 3.3% over the best single checkpoint.
- Paper
Training Language Models to Self-Correct via Reinforcement Learning
arXiv 2409.12917 (v2): SCoRe multi-turn RL for self-correction using only self-generated data; addresses SFT distribution mismatch and behavior collapse. Reports +15.6% / +9.1% self-correction lifts on MATH / HumanEval for Gemini 1.0 Pro / 1.5 Flash baselines. Discord: Training LLMs to self-correct.