Skip to content

ICML papers

Search ICML papers by title, author, or track. Open a paper’s abstract to read more.

Explore the ICML analysis

Search results

6,501–6,520 of 8,785

  • ICML · Workshop · AI as a Tool for Mathematics, Computer Science, and Machine Learning

    Read, Grep, and Synthesize: Diagnosing Cross-Domain Seed Exposure for LLM Research Ideation

    Yunju Choi, Min Song

    Abstract

    The discovery of novel methodologies for emerging problems is a continuing cycle in ML, often driven by the migration of techniques across domains. We ask whether current LLM ideation systems benefit from targeted cross-domain retrieval or simply from exposure to diverse mechanisms. We study this question through PaperGym, a three-stage pipeline: (1) tool-augmented seed extraction from papers using read, grep, and bash, (2) cross-domain seed retrieval via paraphrasing across seven ML domains, and (3) method synthesis from retrieved seeds, each scored by rubric-based judges. Tool-augmented extraction improves specificity, and paraphrase-based retrieval broadens domain coverage. In synthesis, cross-domain retrieval receives more pairwise novelty wins than no-retrieval and same-domain baselines, but shows no significant difference from a random diverse-seed control, suggesting that current LLM ideation systems benefit from diverse seed exposure but do not yet reliably exploit the semantic rationale for retrieving particular seeds. We release the seed library, rubric prompts, and run scripts at https://anonymous.4open.science/r/PaperGym-3D11/.

    Abstract source
  • ICML · Workshop · AI as a Tool for Mathematics, Computer Science, and Machine Learning

    The Agentic Researcher: A Practical Guide to AI-Assisted Research in Mathematics and Machine Learning

    Max Zimmer, Nico Pelleriti, Christophe Roux, Sebastian Pokutta

    Abstract

    AI tools and agents are reshaping how researchers work, from proving theorems to training neural networks. Yet for many, it remains unclear how these tools fit into everyday research practice. This paper is a practical guide to AI-assisted research in mathematics and machine learning: we discuss how researchers can use modern AI systems productively, where these systems help most, and what kinds of guardrails are needed to use them responsibly. We present an open-source framework that, through a set of methodological rules formulated as agent prompts, turns CLI coding agents (e.g., Claude Code, Codex CLI, OpenCode) into autonomous research assistants, and demonstrate it through six case studies from deep learning and mathematics. The framework runs inside a sandboxed container, works with any frontier LLM through existing CLI agents, is simple enough to install and use within minutes, and scales from personal-laptop prototyping to multi-node, multi-GPU experimentation across compute clusters. In practice, our longest autonomous session ran for over 20 hours, dispatching independent experiments across multiple nodes without human intervention. We stress that our framework is not intended to replace the researcher in the loop, but to augment them.

    Abstract source
  • ICML · Workshop · AI as a Tool for Mathematics, Computer Science, and Machine Learning

    GoodPoint: Learning Constructive Scientific Paper Feedback from Author Responses

    Jimin Mun, Chani Jung, Xuhui Zhou, Maarten Sap, Hyunwoo Kim

    Abstract

    Rather than replacing scientific judgment, we study how LLMs can support researchers through constructive feedback generation: producing targeted, actionable feedback that helps improve scientific papers. We operationalize feedback quality using two author-centric signals derived from author responses: validity, whether authors acknowledge feedback as correct, and actionability, whether they commit to follow-up actions. We introduce GoodPoint-ICLR, a dataset of 19K ICLR papers and review discussions annotated along these dimensions, and GoodPoint, a training recipe that fine-tunes on successful feedback and further aligns models using real and synthetic preference pairs. Across 1.2K ICLR papers, a GoodPoint-trained Qwen3-8B improves the predicted feedback success rate by 83.7% over its base model and achieves the strongest performance among size-comparable open models in matching human consensus feedback, surpassing Gemini-3-flash in precision. Human evaluation with paper authors further shows improvements in validity, actionability, specificity, and helpfulness.

    Abstract source
  • ICML · Workshop · AI as a Tool for Mathematics, Computer Science, and Machine Learning

    Human-AI Hybrid Mathematical Discovery Workflow: Unifying Ramanujan's 17 Series for $\boldsymbol{\frac{1}{\pi}}$

    Michael Shalyt, Elyasheev Leibtag, Shachar Weinbaum, Ido Kaminer

    Abstract

    We present a human-AI hybrid research workflow and apply it to a long-standing challenge: unifying Ramanujan's 17 remarkable series for $\frac{1}{\pi}$ (1914) under a single mathematical structure. The workflow combines human steering, a persistent LLM-based agent equipped with project-specific context, symbolic and numeric computational guardrails, and custom *skill.md* files. Special emphasis was placed on verification efficiency. Automated independent test patterns were employed, and generated artifacts were optimized for rapid human interpretation and evaluation. Both successful strategies and characteristic AI failure modes are discussed. This methodology yielded a new, elementary proof that all 17 formulas arise from a single algebraic template: a Conservative Matrix Field (CMF), where varying just a few parameters recovers each of Ramanujan's formulas. The agent and skill files have been open-sourced.

    Abstract source
  • ICML · Workshop · AI as a Tool for Mathematics, Computer Science, and Machine Learning

    Agent-Based Auditing of Mathematical Proofs in Research Papers

    Hieu N Nguyen, Rui Zhang

    Abstract

    We present an agent-based framework for auditing mathematical proofs in theoretical computer science and machine learning research papers. Our system operates directly on informal mathematical documents and constructs a structured proof dependency graph over definitions, lemmas, and theorems. The proposed auditing pipeline performs local proof verification, global consistency analysis, and adversarial counterexample search while maintaining persistent audit artifacts across the document. The system generates structured audit reports that identify logical gaps, hidden assumptions, invalid inference steps, notation inconsistencies, and cross-lemma dependency failures. We evaluate our approach on a curated set of mathematical and ML theory papers with injected and naturally occurring proof errors, demonstrating detection performance. Our results suggest that agentic structural auditing is a promising direction for improving the reliability of machine-generated and human-written mathematical research.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    ECHO: Terminal Agents Learn World Models for Free

    Vaishnavi Shrivastava, Ahmed Awadallah, Dimitris Papailiopoulos

    Abstract

    CLI agents are the closest thing language models have to an embodied setting: the model emits commands, the terminal executes them, and the returned stream---stdout, errors, file contents---records the consequences of its actions. We argue that this stream is a supervision signal, but standard agent RL largely discards it: GRPO-style training updates action tokens while ignoring environment responses, even though rollouts already contain them. We introduce ECHO (Environment Cross-entropy Hybrid Objective), an auxiliary loss that trains the policy to predict observation tokens alongside the policy gradient. ECHO reuses the same forward pass, requires no additional rollouts, and turns terminal feedback into a dense signal that remains informative even on failed trajectories. This objective shapes the policy toward a world model of terminal dynamics, plausibly improving its priors over which actions are likely to succeed. On TerminalBench 2, ECHO nearly doubles pass@1: Qwen3-8B improves from 2.70% to 5.17%, and Qwen3-14B from 5.17% to 10.79%. From base Qwen3-8B, ECHO+GRPO matches expert-SFT-then-GRPO on held-out terminal tasks without the expert demonstrations required for SFT, and closes roughly half this gap on TerminalBench 2. Without verifier rewards, ECHO can lead to self-improvement through exploration alone, suggesting environment observations are not merely context for actions but supervision for the policy itself.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    An Adoption-Aware Crop Recommender from Farmer World Feedback

    Vairaaj Bindal

    Abstract

    We build an adoption-aware crop recom- mender from offline farmer survey panel data, treating recorded adoption decisions and re- alized yields as world feedback. The rec- ommender targets Expected Realized Benefit (predicted yield gain weighted by predicted adoption probability) and is fit on 8,744 cul- tivated plots from the LSMS-ISA Ethiopia ESS Wave 4 panel. On 800 enumeration- area-disjoint test plots, it beats an accuracy- only baseline by 50 kg/ha (bootstrap 95% CI [24, 74]), with Rosenbaum sensitivity Γ⋆ ≥ 5 and sign-exchangeable permutation p < 10−3 .The Ethiopia-trained adoption head repro- duces the treatment-effect ordering of the Du- flo et al. (2011) Kenya SAFI fertilizer RCT across all four arms. Farmer feedback dif- fers from robot or LLM feedback in that the logging policy is the agent, so its propen- sities cannot be recovered from the data; we describe the architectural and evaluation choices that let direct-method offline policy learning work in this regime.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Neglected Free Lunch from Post-training: Progress Advantage for LLM Agents

    Changdae Oh, Wendi Li, Seongheon Park, Min-Hsuan Yeh, Tanwi Mallick, Sharon Li

    Abstract

    Process reward models enable fine-grained, step-level evaluation of LLMs, yet building them for agentic settings remains prohibitively difficult: long-horizon interactions, irreversible actions, and stochastic environment feedback make both human annotation and Monte Carlo estimation infeasible at scale. In this work, we show that reinforcement learning (RL) post-training already provides the ingredients for effective step-level scoring, eliminating the need for dedicated reward model training altogether. Concretely, we derive an implicit advantage under a general stochastic Markov decision process, which we term progress advantage---log-probability ratio between the RL-trained policy and its reference policy exactly recovers the optimal advantage function. This formulation makes the resulting signal annotation-free, domain-agnostic, and available as a byproduct of the standard RL post-training pipeline. We validate the effectiveness of the progress advantage across three different applications: test-time scaling, uncertainty quantification, and failure attribution on five benchmarks and four model families. Across all settings, it consistently outperforms confidence-based baselines and, despite requiring no task-specific training, surpasses dedicated trained reward models. We complement these results with deeper analyses on characteristics of progress advantage, offering practical guidance for adoption in real-world agentic systems.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Reinforcing VLAs in Task-Agnostic World Models

    Yucen Wang, Rui Yu, Fengming Zhang, Junjie Lu, Xinyao Qin, Tianxiang Zhang, Kaixin Wang, Li Zhao

    Abstract

    Post-training Vision-Language-Action (VLA) models via reinforcement learning (RL) in learned world models has emerged as an effective strategy to adapt to new tasks without costly real-world interactions. However, while using imagined trajectories reduces the sample complexity of policy training, existing methods still heavily rely on task-specific data to fine-tune both the world and reward models, fundamentally limiting their scalability to unseen tasks. To overcome this, we argue that world and reward models should capture transferable physical priors that enable zero-shot inference. We propose RAW-Dream (Reinforcing VLAs in task-Agnostic World Dreams), a new paradigm that completely disentangles world model learning from downstream task dependencies. RAW-Dream utilizes a world model pre-trained on diverse task-free behaviors for predicting future rollouts, and an off-the-shelf Vision-Language Model (VLM) for reward generation. Because both components are task-agnostic, VLAs can be readily finetuned for any new task entirely within this zero-shot imagination. Furthermore, to mitigate world model hallucinations, we introduce a dual-noise verification mechanism to filter out unreliable rollouts. Extensive experiments across simulation and real-world settings demonstrate consistent performance gains, proving that generalized physical priors can effectively substitute for costly task-dependent data, offering a highly scalable roadmap for VLA adaptation.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Reinforced Neural Processes: Memory-Efficient Time-Series Forecasting with a World-Feedback-Trained Memory Policy

    Nibraas Khan, Gordon Wichern, Christopher R Laughman

    Abstract

    Neural Processes (NPs) provide a lightweight framework for uncertainty-aware regression by conditioning predictions on a compact context set of observed input-output examples in settings such as meta-regression, Bayesian optimization, and spatiotemporal prediction. In continuous learning settings, however, context selection becomes an online memory problem: as new observations arrive, which examples should be retained? Since retaining every observation is intractable, bounded-memory implementations rely on fixed heuristics such as sliding windows, reservoir sampling, or surprise thresholds, each encoding a static memory prior. We introduce Reinforced Neural Processes (RNP), a backbone-agnostic memory framework that pairs a tiered context buffer with a gated two-branch encoder and learns an insertion/eviction policy from world feedback: the downstream predictive log-likelihood induced by each memory action relative to its counterfactual alternative. We instantiate RNP on attention (R-ANP) and convolutional (R-ConvCNP) backbones and evaluate on four streaming benchmarks (delay-differential systems, regime-switching streams, abrupt-MNIST, and a wearable energy-expenditure dataset) across varying memory budgets. The best RNP variant attains the highest likelihood on 27 of 32 streams.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Training Language Agents to Learn from Experience

    Yuval Shalev, Zifeng Ding, Mateja Jamnik

    Abstract

    Language agents can adapt from experience in interactive environments, but current reflection-based methods can only self-correct within a single task instance. Whether such experience can be distilled into reusable lessons that improve performance on future unseen tasks remains unclear. We address this problem by introducing the In-context Training (ICT) task, a framework for evaluating cross-task self-improvement in language agents. In ICT, a reflector model observes trajectories collected by an actor model and generates system prompts intended to improve the actor's performance on future unseen tasks. We then propose an RL-based training pipeline for learning such reflections directly from experience, without human-provided examples. Across ALFWorld and MiniHack, our trained reflectors outperform an untrained baseline on most held-out task families, showing that the ability to learn from experience can itself be learned. In some cases, we observe generalisation beyond the benchmark on which the reflector was trained, to substantially different environments. Finally, we introduce MetaGym, a generic Python library for constructing meta-environments, enabling future research on self-improving language agents.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    RL Excursions during Pre-training: How early is too early for on-policy learning?

    Rachit Bansal, Clara Mohri, Tian Qin, David Alvarez-Melis, Sham Kakade

    Abstract

    The standard LLM training pipeline applies reinforcement learning (RL) only after pre-training and supervised fine-tuning (SFT). We question this status quo by training a LLM from scratch and applying RL, SFT, and SFT followed by RL directly to intermediate pre-training checkpoints. We find that RL is effective very early, and often matches the full SFT$\rightarrow$RL pipeline early as well. Through experiments on harder problems, we find that targeted pre-training data composition is a strong lever for RL effectiveness, even more so than model scale. Beyond reasoning accuracy, applying RL directly to base checkpoints expands the model's distribution; the sharpening effect reported in recent work arises only when RL follows SFT. The general capabilities of the model remain essentially unchanged by RL, while they degrade following SFT. Finally, we merge RL and SFT objectives by \textit{parallel averaging}, which outperforms across all other training methods discussed, across metrics, while preserving general capabilities. Together, these results suggest that LLM training might benefit from an expanded use of RL.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    When Internal Feedback Goodharts: SAE Rewards Fail to Improve Robot Success

    Joy Z. Yang, Socrates Osorio

    Abstract

    World feedback for robot learning is sparse and delayed, motivating dense proxy signals for filtering, credit assignment, or fine-tuning. Sparse autoencoders (SAEs) expose dense internal features in diffusion robot policies, but it is unclear whether such features are useful feedback or merely interpretable correlates. We report a controlled negative result testing this boundary in Octo-Base on SimplerEnv. SAE features show task and phase structure, native-state local action selectivity, and outcome association in a small pilot. They are also optimizable: a no-training action-chunk reranker can select candidates with much higher SAE reward than random chunk controls. However, this internal reward does not improve closed-loop task success. On four episode seeds where native Octo succeeds in all cases and our manual sampler succeeds in three of four, SAE-feature reranking succeeds in only one of four, matching random-chunk and random-feature reranking. This proxy-success gap is the main contribution: sparse policy features can be valid diagnostics and optimizable proxies while still failing as grounded world feedback under naive optimization.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Workflow-R1: Group Sub-sequence Policy Optimization for Multi-turn Workflow Construction

    Mingze Kong, Zikun Qu, Zhongquan Zhou, Pengyu Liang, Xiang Li, Zhiwei Shang, Zhi Hong, Kaiyu Huang, Zhiyong Wang, Zhongxiang Dai

    Abstract

    The rapid evolution of agentic workflows has demonstrated strong performance of LLM-based agents in addressing complex reasoning tasks. However, existing workflow optimization methods typically formulate workflow synthesis as a static, one-shot code-centric generation problem. This paradigm imposes excessive constraints on the model's coding capabilities and restricts the flexibility required for dynamic problem-solving. In this paper, we present Workflow-R1, a framework that reformulates workflow construction as a multi-turn, natural language-based sequential decision-making process. To resolve the optimization granularity mismatch inherent in such multi-turn interactions, we introduce Group Sub-sequence Policy Optimization (GSsPO). While explicitly tailored to align with the interleaved Think-Action dynamics of agentic reasoning, GSsPO fundamentally functions as a structure-aware RL algorithm generalizable to a broad class of multi-turn agentic sequential decision-making tasks. By recalibrating the optimization unit to the composite sub-sequence, specifically the atomic Think-Action cycle, it aligns gradient updates with the semantic boundaries of these interactions, ensuring robust learning in complex multi-turn reasoning tasks. Through extensive experiments on multiple QA benchmarks, Workflow-R1 outperforms competitive baselines, validating GSsPO as a generalized solution for sequential reasoning and establishing Workflow-R1 as a promising new paradigm for automated workflow optimization.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Code2World: A GUI World Model via Renderable Code Generation

    Yuhao Zheng, Li'an Zhong, Yi Wang, Rui Dai, Kaikui Liu, Xiangxiang Chu, Linyuan Lü, Phil Torr, Kevin Qinghong Lin

    Abstract

    GUI agents interact with environments by perceiving interfaces and executing actions. As a virtual sandbox, the GUI World model empowers agents with human-like foresight by enabling action-conditioned prediction. However, existing text/pixel-based approaches struggle to achieve both high visual fidelity and fine-grained structural controllability. To this end, we propose \textbf{Code2World}, a vision-language coder that simulates the next visual state via \textbf{renderable code generation}. Specifically, to address the data scarcity problem, we construct \textbf{AndroidCode} by translating GUI trajectories into high-fidelity HTML and refining synthesized code through a visual-feedback revision mechanism, yielding a corpus of \textbf{over 80K} high-quality screen-action pairs. To adapt existing VLMs into code prediction, we first perform SFT as a cold start for format layout following, then further apply \textbf{Render-Aware Reinforcement Learning} which uses rendered outcome as the reward signal by enforcing visual semantic fidelity and action consistency. Extensive experiments demonstrate that Code2World-8B achieves the top-performing next UI prediction, rivaling the competitive GPT-5 and Gemini-3-Pro-Image. Notably, \textit{Code2World significantly enhances downstream navigation success rates in a flexible manner}, boosting Gemini-2.5-Flash by {+9.5\%} on AndroidWorld navigation.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Towards Budget-Aware Agents: Can LLM Agents Know What They Will Spend?

    Yuxiang Lin, Zihan (Zenus) Wang, Mengyang Liu, Yuxuan Shan, Longju Bai, Junyao Zhang, Xing Jin, Boshan Chen, Jinyan Su, Xingyao Wang, Jiaxin Pei, Manling Li

    Abstract

    Foundation-model agents are deployed with growing resource constraints like token, money, and time budgets, yet it remains unclear whether they know how much budget they will spend. We call this capability budget awareness and formalize it as progressive interval estimation: mid-execution, whether the agent can provide an interval on how much budget remains needed and whether the task is still finishable. We score this with a rollout-replay protocol that re-queries the same agent on every prefix of an unconstrained rollout, and decompose estimation into three sub-capabilities: feasibility prediction, early failure detection, and interval calibration. We evaluate five frontier models on four environments spanning internal budgets (token consumption on Sokoban, Search-R1, and SWE-bench) and external budgets (cost, time, and warehouse occupancy in a supply-chain environment curated from real enterprise data); we further train Qwen-7B budget estimators with SFT and RL on Sokoban, and deploy their predictions through a simple early-stop policy. Across these axes, we find budget awareness: (1) decouples from task performance, (2) fails in structured ways, and (3) is already actionable and trainable as a control signal that resource-limited agents currently lack.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    The Interplay of Harness Design and Post-Training in LLM Agents

    Kyungmin Kim, Youngbin Choi, Seoyeon Lee, Suhyeon Jun, Dongwoo Kim, Sangdon Park

    Abstract

    Tool-integrated LLM agents are typically studied with the *harness*, the scaffolding that determines which tools are exposed, how they are described, and what auxiliary information accompanies each per-step observation. This scaffolding is treated either as a fixed engineering detail or as a knob tuned only in the training-free regime. How harness design interacts with post-training is left largely unexamined, even though deployed agents are routinely post-trained and routinely face shifts in their tasks and tool environments. We study this interaction directly. Building a benchmark on top of $\texttt{ALFWorld}$, we expose three independently controllable design dimensions (tool schema, task type, and harness) and evaluate agents across four regimes: zero-shot, in-distribution post-training, task shift, and tool environment shift, each run under three harness levels. Our experiments show that harness and post-training are not separable design choices. Harness richness alone drives large zero-shot gaps, the harness used during post-training reshapes both in-distribution success and out-of-distribution robustness, and a harness applied only after training recovers little of the benefit of training with it in place. For the smaller model, a harness is in fact a prerequisite for post-training to take effect at all. These results indicate that the harness should be treated as a first-class design dimension, chosen jointly with post-training rather than after it.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Making Execution Time a Trainable Reward for Code Generation

    Pierre Chambon, Kunhao Zheng, Juliette Decugis, Benoît Sagot, Gabriel Synnaeve

    Abstract

    Reinforcement learning for code generation usually treats execution as a correctness verifier: a program receives reward when it passes hidden tests. Using execution time as reward is harder, because weak tests, noisy timings, and sparse rewards can make a fast-but-wrong program look attractive. We study a controlled setting where competitive-programming problems are augmented with generated large-input tests, so correct human reference solutions have enough runtime spread to support timing-based comparisons. We then turn execution time into a reward by first checking correctness and only then comparing runtimes to human references, either as a graded quality-percentile score or as a collapsed binary top-percentile event. On Qwen 2.5 7B, the best binary percentile reward improves strict speed-conditioned pass@1 from 18.1% to 27.7%, while preserving most of the pure correctness score.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Unified Noise Steering for Efficient Human-Guided VLA Adaptation

    Junjie Lu, Xinyao Qin, Yuhua Jiang, Tianxiang Zhang, Xiaoyu Chen, Kaixin Wang, Chuheng Zhang, Bin Liang, Jun Yang, Min Xu, Li Zhao

    Abstract

    Diffusion-based vision-language-action (VLA) models have emerged as strong priors for robotic manipulation, yet adapting them to real-world distributions remains challenging. In particular, on-robot reinforcement learning (RL) is expensive and time-consuming, so effective adaptation depends on efficient policy improvement within a limited budget of real-world interactions. Noise-space RL lowers the cost by keeping the pretrained VLA fixed as a denoising generator while updating only a lightweight actor that predicts the noise. However, its performance is still limited due to inefficient autonomous exploration. Human corrective interventions can reduce this exploration burden, but they are naturally provided in action space, whereas noise-space finetuning requires supervision over noise variables. To address these challenges, we propose UniSteer, a Unified Noise Steering framework that combines human corrective guidance with noise-space RL through approximate action-to-noise inversion. Given a human corrective action, UniSteer inverts the frozen flow-matching decoder to recover a noise target, which provides supervised guidance for the same noise actor that is simultaneously optimized via reinforcement learning. Real-world experiments on diverse manipulation tasks show that UniSteer adapts more efficiently than strong noise-space RL and action-space human-in-the-loop baselines, improving the success rate from 20% to 90% in 66 minutes on average across four real-world adaptation tasks.

    Abstract source
  • ICML · Workshop · RLxF: RL from World Feedback

    Mahalanobis-Guided Latent OOD Detection for Hybrid RL-ES Control in Time-Varying Systems

    Shaifalee Saxena, Alexander Scheinker

    Abstract

    In this paper, we study Mahalanobis-guided latent out-of-distribution (OOD) detection for test-time RL controller switching in nonlinear time-varying systems. RL controllers can quickly control high-dimensional systems within the training distribution, but their performance can degrade when time-varying dynamics produce unseen observations. We consider a combined ES--DRL controller, where RL provides fast in-distribution actions and bounded extremum seeking (ES) provides robust model-independent control under OOD operation. The key challenge is deciding when to switch. We train a variational autoencoder (VAE) on in-distribution beam-profile observations and use Mahalanobis distance in the VAE latent space to detect OOD beam profiles at test time. This OOD decision sets a binary switch that selects either the RL controller or the ES controller. We evaluate the approach in safety-critical particle accelerator control. In this setting, spatial magnet motion creates OOD beam profiles that were not seen during RL training. Visualization of the VAE latent space shows that the proposed method identifies this OOD scenario and provides an interpretable signal for switching between RL and ES in the combined controller.

    Abstract source