DeLoop: Repeated Actions as Self-Supervision for Long-Horizon Agents
Summary
DeLoop is a self-supervised preference optimization method that reduces repetitive tool-call loops in long-horizon language-model agents by using the agent's own rollouts as training pairs, cutting looping tasks from 57.3% to 6.1% under context compression and improving success rates on larger models.
View Cached Full Text
Cached at: 10/22/26, 03:40 PM
Paper page - DeLoop: Repeated Actions as Self-Supervision for Long-Horizon Agents
Source: https://huggingface.co/papers/2610.19376 Authors:
,
,
,
,
,
,
,
,
,
Abstract
DeLoop is a self-supervised preference optimization method that reduces repetitive tool-use loops in language-model agents by learning from their own rollouts, improving efficiency and success under context compression.
Language-model agentsthat run long tasks often redo work they have already done: they re-issue atool callthey made earlier and get back exactly the sameobservation, a step that adds no new information. We identify this failure as aloop.Loops appear natively in Qwen, Llama, and Gemini agents and become far more common once the agent’s history is compressed to fit its context window. To reduce theseloops, we proposeDeLoop, aself-supervised trainingmethod.DeLoopbuilds on a simpleobservation: the agent’s ownrolloutcan provide the supervision needed to learn from itsloops. We use alooping action as a negative example and the first later non-looping action in the samerolloutas a positive example.DeLooplearns from these pairs throughdirect preference optimizationand does not require task rewards, gold answers, or LLM judges. OnCodeGymunder compression,DeLoopreduces the share of Qwen3-8B tasks containingloops from 57.3% to 6.1%. It also uses about one third as many steps per task, with similar task success. On Qwen3-32B,DeLoopreducesloops and steps while raising task success from 37.7% to 44.8%.
View arXiv pageView PDFProject pageGitHub0Add to collection
Get this paper in your agent:
hf papers read 2610\.19376
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2610.19376 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2610.19376 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2610.19376 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
@jasonzhou1993: https://x.com/jasonzhou1993/status/2067937943545897143
Loop engineering is the practice of designing systems where AI agents autonomously decide what to work on, execute, and iterate, going beyond manual prompting by building outer loops that compound across different domains. The article explains the two-layer agent harness and how sharing artifacts between loops creates compounding learning.
@dunik_7: https://x.com/dunik_7/status/2069079047510864322
LangChain's loop engineering playbook replaces prompt engineering with four nested loops - agent, verification, event-driven, and hill-climbing - enabling AI agents to automatically improve themselves over time. The post argues that building self-optimizing loops is now the key competitive advantage, not using better models.
Recurrent Self-Improvement: Dynamic Cross-Loop On-Policy Distillation for Looped Language Models
提出了 LoopOPD 和 D-LoopOPD,一种跨循环的在线蒸馏框架,利用循环语言模型自身的末端循环作为教师,为中间循环提供稠密监督,实现循环模型的自提升,并在 Ouro-Thinking 模型的数学推理任务上取得改进。
Good to Go: The LOOP Skill Engine That Hits 99% Success and Slashes Token Usage by 99% via One-Shot Recording and Deterministic Replay
The LOOP Skill Engine achieves 99% success and 99% token reduction for periodic AI agent tasks by recording a single LLM-driven execution and replaying it deterministically via a parameterized, branch-free skill, eliminating stochastic failures and high costs.
@shmidtqq: https://x.com/shmidtqq/status/2068704187492221405
An in-depth guide to loop engineering for AI coding agents, explaining how to build automated loops that repeatedly prompt agents, verify results, and avoid runaway costs, illustrated with a case study of one engineer shipping 259 PRs in a month.