Search papers, labs, and topics across Lattice.
This paper investigates algorithmic mode collapse in code-level autonomous research loops (ARLs), where an LLM agent iteratively modifies training pipelines based on executable metrics. The authors identify that while edit diversity appears stable, semantic diversity deteriorates, leading to a disconnect between in-loop performance and external validation metrics. To address this issue, they introduce Diversity-Aware Proposal Sampling (DAPS), which significantly enhances the quality of edits while maintaining optimization speed, achieving a 69.1% reduction in semantic-cluster decay and substantial improvements in faithfulness metrics.
Algorithmic mode collapse in ARLs reveals a critical gap between in-loop metric gains and real-world performance, but DAPS can bridge this divide effectively.
Code-level autonomous research loops (ARLs) have recently emerged as a concrete object of study in automated machine learning research. In such loops, an LLM agent proposes modifications to an experimental training pipeline, executes the modified pipeline, and retains edits that improve a verifiable in-loop metric. Although executable metrics may appear to provide a reliable signal of progress, it remains unclear whether repeated metric-driven code editing leads to genuine improvements that generalize beyond the loop. We provide a systematic diagnosis of this question. Across various experiment settings, we identify a robust failure mode that we call \textbf{algorithmic mode collapse}. In this regime, surface-level edit diversity remains stable, but semantic and mechanism-level diversity collapse: the agent continues to edit different lines of code while repeatedly proposing the same kinds of algorithmic changes. This collapse is accompanied by a widening gap between in-loop metric gains and gains measured on independent held-out evaluations. We then propose Diversity-Aware Proposal Sampling (\textsc{DAPS}), a lightweight mitigation that combines category-coverage reweighting, persistent edit memory, and a validation gate. Under a three-tier protocol separating the in-loop metric, the audit metric read by the gate, and a blind metric no loop component ever accesses, \textsc{DAPS} reduces semantic-cluster decay of edits by $69.1\%$ and improves relative faithfulness by $83.7\%$ blind and $81.6\%$ audited, while preserving in-loop optimization speed. We provide the code in Github \href{https://github.com/BokwaiHo/arl-mode-collapse}{repository}.