ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
281–300 of 338
- ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
What You Predict Shapes How You Memorize: Target-Parameterization and Memorization Dynamics in Flow Matching
Mohammed Al-Jaff, Amir Mehrpanah, Gustav Eje Henter, Hossein Azizpour, Danica Kragic
Abstract
Flow matching models trained on finite data can eventually memorize parts or all of their training set: the finite-data optimum of the regression objective reproduces the empirical training distribution rather than the unknown data distribution. In practice, models often avoid this memorizing solution because of finite capacity, finite training time, architectural bias, and implicit regularization. Separately, work on target parameterization has shown that predicting clean data $x$, noise $\epsilon$, or velocity $v$ can change empirical behavior and sample quality; we ask whether it also changes when and how flow matching models memorize. We study this in controlled regimes where memorization is observable, sweeping training-set size and model capacity while holding architecture, optimizer, training budget, sampler, and evaluation protocol fixed, and measuring checkpoint-level FID, nearest-neighbor memorization, and memorization at best FID. Across dataset sizes and model capacities, we find a consistent ordering: the three parameterizations memorize at different rates and to different degrees, with the ordering persisting even at matched sample quality, and the prediction target that is best for sample quality is not necessarily the one that memorizes least. Beyond its known role as a lever on generation quality, target parameterization also shapes when and how memorization emerges during training, a connection that, to our knowledge, has not been previously established.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Setting-Matched and Semantics-Scaled Benchmarking of One-Step Generative Models Against Multistep Diffusion and Flow Models
Advaith Ravishankar, Serena Liu, Mingyang Wang, Todd Zhou, Jeffrey Zhou, Arnav Sharma, Ziling Hu, Léopold Das, Abdulaziz Sobirov, Faizaan Siddique, Freddy Yu, Julia S Baek, Yan Luo, Mengyu Wang
Abstract
State-of-the-art text-to-image models produce high-quality images, but inference remains expensive as generation requires several sequential ODE or denoising steps. Native one-step models aim to reduce this cost by mapping noise to an image in a single step, yet fair comparisons to multi-step systems are difficult because studies use mismatched sampling steps and different classifier-free guidance (CFG) settings, where CFG can shift FID, Inception Score, and CLIP-based alignment in opposing directions. It is also unclear how well one-step models scale to multi-step inference, and there is limited standardized out-of-distribution evaluation for label-ID-conditioned generators beyond ImageNet. To address this, we benchmark eight models spanning one-step flows (MeanFlow, Improved MeanFlow, SoFlow), multi-step baselines (RAE, Scale-RAE), and established systems (SiT, Stable Diffusion 3.5, FLUX.1) under a class-conditional protocol on ImageNet validation, ImageNetV2, and reLAIONet, our new proofread out-of-distribution dataset aligned to ImageNet label IDs. Using FID, Inception Score, CLIP Score, and Pick Score, we show that FID-focused model development and CFG selection can be misleading in few-step regimes, where guidance changes can improve FID while degrading text-image alignment and human preference signals, worsening visual quality. To make these tradeoffs explicit, we introduce CLIP-scaled and PickScore-scaled variants of FID (csFID, psFID) and Inception Score (csIS, psIS) to serve as a diagnostic for semantically aligned image generation.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Flow Matching on General Manifolds via Pulling Back Geodesic Convex Latent Manifolds
Neil He, Ge Liu
Abstract
Generative models that construct conditional paths transforming a source distribution into a target distribution have seen substantial success in modeling scientific data. However, traditional methods typically assume Euclidean geometry and fail to adhere to data manifolds, falling short on tasks such as trajectory inference. Recent flow matching methods on general manifolds often relies on approximating geodesics without closed forms, suffers from limited theoretical and implementation grounding, or trades generation quality to learn velocity fields. As a result, we propose GCL-FM, a novel simulation-free framework that enables interpolation on unknown data manifolds by explicitly enforcing a $\textbf{G}$eodesic $\textbf{C}$onvex $\textbf{L}$atent subamnifold for $\textbf{F}$low \textbf{M}atching. Our theoretical analysis shows that GCL-FM possesses desirable guarantees for modeling manifold transport dynamics, including robustness to data noise. We demonstrate that GCL-FM achieves superior performance on trajectory inference for multiple biological and computational fluid dynamics datasets, while requiring significantly less computational cost compared to prior methods, providing a principled and efficient route to high-fidelity manifold-aware conditional generation for real-world transport dynamics in high dimensions.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Learning Manifold Data with Flow Matching
Sophia Pi, Mingcheng Lu, Jerry Yao-Chieh Hu, Maojiang Su, Weimin Wu, Han Liu
Abstract
We study flow-matching transformers when data lie on a low-dimensional manifold. Our key insight is a flow decomposition that splits motion along the manifold from motion off the manifold. The scheme works for first- and higher-order flow matching and ties model complexity to the intrinsic manifold dimension. Building on these, we establish tighter sample-complexity bounds for velocity approximation, velocity estimation, and distribution estimation. Our results show how flow-matching transformers escape the curse of dimensionality by utilizing intrinsic data structure.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Understanding Generalization in Diffusion Distillation via Probability Flow Distance
Huijie Zhang, Zijian Huang, Siyi Chen, Jinfan Zhou, Zekai Zhang, Peng Wang, Qing Qu
Abstract
Diffusion distillation provides an effective approach for learning lightweight and few-steps diffusion models with efficient generation. However, evaluating their generalization remains challenging: theoretical metrics are often impractical for high-dimensional data, while no practical metrics rigorously measure generalization. In this work, we bridge this gap by introducing probability flow distance ($\mathtt{PFD}$), a theoretically grounded and computationally efficient metric to measure generalization. Specifically, $\mathtt{PFD}$ quantifies the distance between distributions by comparing their noise-to-data mappings induced by the probability flow ODE. Using $\mathtt{PFD}$ under the diffusion distillation setting, we empirically uncover several key generalization behaviors, including: (1) quantitative scaling behavior from memorization to generalization, (2) epoch-wise double descent training dynamics, and (3) bias-variance decomposition. Beyond these insights, our work lays a foundation for generalization studies in diffusion distillation and bridges them with diffusion training.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Bidirectional Trajectory Smoothing for Training-Free Image Generation with Rectified Flows
Yan Luo, Henry Huang, Mengyu Wang
Abstract
Recent advances have reformulated diffusion models as deterministic ordinary differential equations (ODEs) through the framework of flow matching, providing a unified formulation for the noise-to-data generative process. Various training-free flow matching approaches have been developed to improve image generation through flow velocity field adjustment, eliminating the need for costly retraining. However, Modifying the velocity field $v$ introduces errors that propagate through the full generation path, whereas adjustments to the latent trajectory $z$ are naturally corrected by the pretrained velocity network, reducing error accumulation. In this paper, we propose two complementary training-free latent-trajectory adjustment approaches based on future and past velocity $v$ and latent trajectory $z$ information that refine the generative path directly in latent space. We propose two training-free trajectory smoothing schemes: \emph{Look-Ahead}, which averages the current and next-step latents using a curvature-gated weight, and \emph{Look-Back}, which smoothes latents using an exponential moving average with decay. We demonstrate through extensive experiments and comprehensive evaluation metrics that the proposed training-free trajectory smoothing models substantially outperform various state-of-the-art models across multiple datasets including COCO17, CUB-200, and Flickr30K.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Active Flow Expansion for Out-of-Distribution Discovery: from Theory to Molecules
Riccardo De Santi, Bruce D Lee, Cristian P Jensen, Kimon Protopapas, Sophia Tang, Chenghao Liu, Pranam Chatterjee, PhD, Yisong Yue, Andreas Krause
Abstract
Standard flow and diffusion pre-training matches the distribution of available data (e.g., molecules), which often covers only a small fraction of the valid design space. In generative discovery, however, one aims to sample valid new-to-nature designs, assigned negligible probability under, and thus inaccessible to, standard models fitted to the observed data. To overcome this limitation, we depart from data distribution matching and view a generative model through its generable set: the region it covers with non-negligible probability. This allows to introduce a new learning principle for out-of-distribution flow modeling: enlarging a model’s generable set to increase coverage of the valid design space. We propose Active Flow Expansion (ActFlow), a continued pre-training method that employs verifier feedback to expand a pre-trained model over new valid regions by iteratively adapting to synthetic data generated through active exploration in the learned flow representation. Theoretically, we establish to our knowledge first-of-their-kind statistical learning guarantees for out-of-distribution flow modeling, analyzing generable set expansion as a local-to-global reachability process over a learned representation. Empirically, we assess ActFlow with suitable out-of-distribution generative modeling metrics across small organic molecules, mid-sized drug-like molecules, therapeutic peptides, and protein sequence design tasks. Results show that ActFlow expands valid coverage far beyond the region modeled by the initial pre-trained model, significantly outperforming widely adopted synthetic flow pre-training methods.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
LangFlow: Continuous Diffusion Rivals Discrete in Language Modeling
Yuxin Chen, Chumeng Liang, Hangke Sui, Ruihan Guo, Chaoran Cheng, Jiaxuan You, Ge Liu
Abstract
Continuous diffusion has served as a foundation for high-fidelity, controllable, and few-step generation across continuous data modalities such as images, videos, and molecular structures. However, in language modeling, prior continuous diffusion language models (DLMs) lag behind discrete counterparts. Existing categorical and simplex-based approaches operate over extremely large and sparse language spaces, while prior embedding-space approaches avoid this sparsity but lack a well-selected design space. In this work, we close this gap with LangFlow by connecting embedding-space DLMs to Flow Matching, alongside three key innovations: (1) we derive a novel ODE-based NLL bound for principled evaluation of continuous flow-based language models; (2) we propose an information-uniform principle for setting the noise schedule, which motivates a learnable noise scheduler based on a Gumbel distribution; and (3) we revise prior training protocols by incorporating self-conditioning, which improves both likelihood and sample quality for embedding-space DLMs and behaves differently from its use in discrete diffusion. Putting everything together, LangFlow is competitive with top discrete DLMs on both perplexity (PPL) and generative perplexity (Gen. PPL), reaching a PPL of 30.0 on LM1B and 24.6 on OpenWebText. It also exceeds autoregressive baselines in zero-shot transfer on 4 out of 7 benchmarks. As the first continuous DLM shown to rival discrete diffusion in both generative quality and perplexity, LangFlow provides clear evidence that continuous diffusion is a promising paradigm for language modeling. Code will be released upon acceptance.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
Compositional Flow Matching with Factored Velocity Fields
Avery H Ryoo, Dane Malenfant, Matthew Perich, Guillaume Lajoie
Abstract
Conditional generative models can have difficulty generating attribute combinations absent from training, even when each individual factor is densely covered, otherwise known as a failure to compositionally generalize. We propose a factored conditional flow matching architecture that uses a shared base velocity augmented by per-factor heads, summed at the bottleneck. We show that on the Shapes3D and MPI3D-real datasets, the factored architecture matches or beats a parameter-matched monolithic baseline under three structured zero-shot holdout strengths over a two-attribute lattice, notably lowering heldout FID by $\sim 2.4\times$ on the $50\%$ and $75\%$ patterns on Shapes3D. Next, we conduct a slice-attack ablation using per-factor classifier-free composition but show that the factored architecture remains strictly better on both metrics, confirming the gain is structural rather than a consequence of a weak baseline model. Finally we show that the per-head construction also enables a $K \to K{+}1$ modular extension where a new factor head can be added to a frozen $K$-factor stack and trained alone, producing a working $(K{+}1)$-factor model without retraining the base model or any existing head.
Abstract source - ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning
One Coupling to Rule Them All: Optimal Transport as the Unifying Geometry of Diffusion Models, Flow Matching, and Reasoning in Deep Generative Models
Mohammad Sajjad Ghaemi
Abstract
This paper presents a unified theoretical framework based on Wasserstein geometry and Optimal Transport (OT) that explains when generative models memorize, generalize, or reason, alongside theoretical metrics and implications for Flow Matching (FM), diffusion models, and autoregressive (AR) variants that are widely used across benchmarks. We establish three formal identifications: (1) memorization corresponds to a transport coupling concentrated on training-data pairs, with a coupling gap lower-bounded by the empirical Wasserstein convergence rate $\Omega(n^{-2/d})$; (2) generalization corresponds to learning a coupling that approximates the Wasserstein-geodesic (Brenier) map, which is independent of any specific training example by definition; and (3) compositional reasoning in AR models is equivalent to correctly propagating a multi-marginal OT plan through the sequential factorization, with the compositional gap. The exposure bias inherent in AR generation is characterized by the Wasserstein covariate shift occurring between the teacher-forced and free-running conditional marginal distributions. Subsequently, five geometrical evaluation metrics are derived from these identifications to demonstrate that holistic FM guidance of AR models creates a mathematical correction to the compositional gap, rather than a mere heuristic trick. Moreover, this framework has extensive applications across diverse domains, including scientific discovery, proteomic sequence design, and structured prediction.
Abstract source - ICML · Workshop · Failure Modes in Agentic AI: Reproducible Triggers, Trace Diagnostics, and Verified Fixes
$\textsf{SKILL.nb}$: Selective Formalization and Gated Execution for Durable Agent Workflows
Amine El Hattami, Nicolas Chapados, Christopher Pal
Abstract
AI agents increasingly convert past experience into reusable artifacts such as code, workflows, and procedural memories. Reuse improves efficiency, but these artifacts can also carry obsolete assumptions across interface drift, repeated repairs, or changing task distributions, especially in web automation. We introduce SKILL.nb, a framework for governing reusable agent workflows through evidence-calibrated lifecycle policies. Its key mechanism is selective formalization: execution evidence decides which workflow steps should become executable code, which should remain natural-language-guided, and when those choices should be revised. SKILL.nb stores workflows as auditable, versioned notebooks that interleave natural-language guidance, multi-language executable cells, validation gates, fallback paths, and multimodal evidence such as outputs, screenshots, and error traces. At runtime, SKILL.nb performs gate-conditioned execution: unlike all-or-nothing scripts, each step can execute code when its gates validate, or fall back locally to an NL procedure or step intent when drift invalidates the executable realization. Cell-level records of attempted realizations, gate outcomes, outputs, screenshots, and fallbacks make both workflow updates and executions auditable. On WebArena-Verified, SKILL.nb achieves 53.7% single-round success, improving over the strongest baseline by 3.9 percentage points. Across three re-executions, it retains 91.7% of initially successful tasks, 15.5 points above the next best method. Under bounded repair, it recovers 72.9% of subsequent failures while limiting post-repair regressions to 4.2%, compared with 15.0-17.0% regression rates for persistent baselines. It also leads the compared methods on Mind2Web cross-website and cross-domain splits. In a realistic GitLab migration test, SKILL.nb preserves performance when reusing frozen state learned on GitLab 15.7, with frozen-versus-fresh target-version gaps of only -1.7 points on GitLab 16.11 and +0.6 points on GitLab 18.9; the least-degraded persistent baseline drops by 10.6-11.1 points. These results identify lifecycle governance and gate-conditioned execution as reliability axes beyond one-shot task success. Code, data, and evaluation scripts will be released after review.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Beyond Steering Vector: Flow-based Activation Steering for Inference-Time Intervention
Zehao Jin, Ruixuan Deng, Junran Wang, Xinjie Shen, Chao Zhang
Abstract
Activation steering has emerged as a promising alternative for controlling language-model behavior at inference time by modifying intermediate representations while keeping model parameters frozen. However, large-scale evaluations such as AxBench show that existing steering methods are often outperformed by simple in-context prompting and generalize poorly to unseen concepts. We hypothesize that these limitations arise from unvalidated simplifying assumptions shared across prior methods, which typically restrict steering interventions to fixed, single-step, position-invariant transforms. We propose FLAS (Flow-based Activation Steering), which learns a general, concept-conditioned velocity field $v_t(h,t,c)$ that transports unsteered activations to steered ones without relying on these assumptions. On AxBench, FLAS is the first learned method to consistently outperform prompting, reaching held-out harmonic means of $1.015$ on Gemma-2-2B-IT and $1.113$ on Gemma-2-9B-IT without per-concept tuning. Analysis of the learned flow shows curved, multi-step, token-varying trajectories, which suggests that previous hypotheses on activation space geometry might be incomplete. Our code is available at https://anonymous.4open.science/r/FLAS.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
TA-SAE: Untangling Temporal Polysemanticity in Dictionary Learning for Rectified Flow Transformers
Daniel George, Saatvik Billa, Utkarsh Tyagi
Abstract
As text-to-image rectified flow models become increasingly capable, understanding their internal representations is essential for interpretability, control, and model safety. While sparse autoencoders (SAEs) have emerged as a promising tool for extracting interpretable features, existing works do not shed light on how individual concepts evolve over time internally, due to a reliance on timestep-specific SAEs. We argue that the reliance on timestep-dependent SAEs is in large part due to a lack of any inductive bias in SAEs towards the generation trajectory, crippling their ability to be used across long trajectories. We show that this creates failure modes missed by standard SAE diagnostics - a feature can reconstruct well while changing semantic identity across denoising time, and a concept can be handed off across different features at different denoising stages. We explore each of these phenomena, which we refer to as temporal feature absorption and temporal feature splitting respectively. In addition, to combat them, we introduce trajectory-aware SAEs (TA-SAEs), which learn a single dictionary over denoising time while assigning each feature a learned persistence coefficient, regularizing persistent features to remain stable across adjacent timesteps while allowing transient features to capture time-local denoising computations. On FLUX.1-dev block-18 activations, we show that TA-SAE preserves standard SAE quality, reduces absorption and splitting, and improves temporal semantic stability. To our knowledge, we are the first to formalize temporal feature absorption and temporal feature splitting as feature--concept identity failures in diffusion SAEs, and propose an alternative to traditional SAEs to combat them.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Transformers as Communication Systems: Controlling Information Flow with Bottlenecks
Kieran A Murphy
Abstract
We make the information communicated by attention between residual streams in vision transformers a measurable and controllable quantity. By inserting variational information bottlenecks on all attention-mediated writes to the residual stream---without other architectural changes---we train models with an explicit information cost and obtain a spectrum that interpolates between independent patch processing and fully expressive global attention. On ImageNet-100, we characterize how classification and self-supervised representation learning change across this spectrum, revealing how information flow is allocated across depth, heads, and patches as global visual representations emerge from local processing. We further inspect the first attention heads that transmit information, identifying simple visual computations that appear under tight communication constraints. By biasing learning toward solutions with constrained internal communication, our approach yields models that are more tractable for mechanistic analysis and more amenable to control.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
SHIFT: Steering Hidden Intermediates in Flow Transformers
Nina Konovalova, Ibragim Idrisov, Aibek Alanov
Abstract
Diffusion models have become leading approaches for high-fidelity image generation. Recent DiT-based diffusion models, in particular, achieve strong prompt adherence while producing high-quality samples. We propose SHIFT, a simple but effective and lightweight framework for concept removal in DiT diffusion models via targeted manipulation of intermediate activations at inference time, inspired by activation steering in large language models. SHIFT learns steering vectors that are dynamically applied to selected layers and timesteps to suppress unwanted visual concepts while preserving the prompt's remaining content and overall image quality. Beyond suppression, the same mechanism can shift generations by adding or changing target objects. We demonstrate that SHIFT provides effective and flexible control over DiT generation across diverse prompts and targets without time-consuming retraining.
Abstract source - ICML · Workshop · Workshop on Mechanistic Interpretability
Mechanistic Interpretability of Loop Control-Flow Generation
Aryan Kashyap
Abstract
Large language models are increasingly used for code generation, but the mechanisms by which they represent and produce program control flow remain poorly understood. We investigate how Gemma-2 2B predicts Python loop control-flow keywords, focusing on the syntactically related tokens break and continue. We combine Direct Logit Attribution (DLA) with activation patching to nominate and causally test attention heads involved in these predictions. For break, we find a localized, distributed circuit: jointly patching the top five DLA-ranked heads recovers 25.4% (95% CI [15.3, 34.1]) of the clean–corrupted logit-difference gap across 100 random-paired prompts. For continue, the analogous intervention produces only a small metric movement, driven by changes in the competing break logit rather than suppression of continue itself, with gap recovery statistically indistinguishable from zero. The DLA-ranked heads are thus causally involved but do not function as direct keyword-selecting components. Two syntactically similar control-flow predictions therefore rely on qualitatively different internal mechanisms, illustrating both the utility and the limitations of DLA-guided activation patching for circuit discovery in code-trained models.
Abstract source - ICML · Workshop · AI for Law Workshop
TriBench-Ko: Evaluating LLM Risks in Judicial Workflows
Haesung Lee, Gyubin Choi, Eun-Ju Lee, Somin Lee, ⋅ Dogyoon Lim, Sung Kyoung Jang, Yohan Jo
Abstract
Large language models (LLMs) are increasingly integrated into legal workflows. However, existing benchmarks focus on proxy tasks such as bar examinations or judgment prediction, offering limited visibility into deployment risks in judicial workflows. To address this, we release TriBench-Ko, a Korean benchmark designed to evaluate potential deployment risks of LLMs within the context of verified judicial task requirements. It covers four core tasks: jurisprudence summarization, precedent retrieval, legal issue extraction, and evidence analysis. It evaluates model behavior across multiple deployment risks including inaccuracy (hallucination, omission, statutory misapplication), biases (demographic, overcompliance), inconsistencies (prompt sensitivity, non-determinism), and adjudicative overreach. Our evaluation of a range of contemporary LLMs reveals that many models exhibit substantial risks particularly in precedent retrieval and omission of legally constitutive information.
Abstract source - ICML · Workshop · Planning in The Era of Language Models (LM4Plan)
The Orchestrator Bottleneck: Formal Coordination Strategies for Cost-Optimal Multi-Agent Enterprise Workflows
Rudrendu Kumar Paul, Sourav Nandy
Abstract
Multi-agent LLM systems increasingly depend on orchestrator agents to coordinate specialist agents, yet orchestration strategies remain informal, chosen by convention rather than analysis. We formalize the orchestrator as a constrained optimization problem over a typed agent registry with capability declarations, cost profiles, and trust boundaries. We define three coordination strategies, sequential delegation, parallel fan-out, and hierarchical decomposition, and derive threshold conditions under which each minimizes a combined cost-latency objective for a given task dependency structure. We implement OrchestRAte, a strategy-switching orchestrator that selects coordination mode dynamically via dependency graph analysis, and evaluate it on three enterprise workflow benchmarks: document processing, compliance review, and incident triage. On these benchmarks, OrchestRAte reduces end-to-end cost by 28–42% relative to static sequential baselines while trading at most 0.7 percentage points of task-completion quality. The cost gains come with a caveat: on highly parallelizable tasks, a static parallel baseline still achieves the lowest raw latency because it avoids the overhead of strategy selection entirely. We identify an empirical orchestrator overhead threshold around 15% of total token budget, beyond which the coordination cost of hierarchical strategies erodes their planning advantage.
Abstract source - ICML · Workshop · Planning in The Era of Language Models (LM4Plan)
AgentRouter: Heterogeneous Model Routing for Cost-Optimal Multi-Step Agentic Workflows
Rudrendu Kumar Paul, Sourav Nandy
Abstract
Enterprise agent systems that route every LLM call to a frontier model waste 60–80% of their inference budget on subtasks that smaller models handle equally well. Existing routing solutions optimize single-turn query assignment but ignore a property unique to agentic workflows: subtask complexity varies dramatically within a single trajectory. A planning step may require frontier-class reasoning while a subsequent formatting step needs only a 7B model. We formalize step-level model routing as a sequential assignment problem over agent trajectories and propose AgentRouter, a lightweight classifier (12M parameters, under 5ms overhead per step) that maps each trajectory step to one of four model tiers using five features extractable at routing time. Trained on 50,000 annotated agent trajectory steps spanning planning, coding, research, and data analysis tasks, AgentRouter achieves 72% cost reduction relative to frontier-only baselines with less than 3% degradation in end-to-end task completion. Per-step routing accuracy reaches 91% on minimal-complexity steps and 85% on efficient-tier steps, with 76–82% on the harder mid-range and frontier tiers. On the same benchmarks, RouteLLM and FrugalGPT (applied per-step) achieve only 31% and 44% cost reduction respectively, because their single-turn training signal misses trajectory-level quality dependencies.
Abstract source - ICML · Workshop · The Second Workshop on Agents in the Wild: Safety, Security, and Beyond
Smarter Saboteurs, Better Fixers: Scaling & Security in Linear Multi-Agent Workflows
Timothy McAllister, Sina Abdidizaji, Ivan Garibay, Ozlem Garibay
Abstract
As LLM-based multi-agent systems (MAS) are deployed in the wild, from autonomous coding assistants to enterprise automation, the resilience of their collaboration structures against adversarial compromise becomes a critical safety concern. Attackers may leverage prompt-injection or jailbreaking to sabotage individual agents within MAS workflows, but the interaction between model scaling and system-level resilience remains poorly understood. This paper investigates how model scale affects the security of linear multi-agent workflows. Our experiments across scales of two open-source model families on the HumanEval benchmark reveal a compliance-correction symmetry: larger models are much more likely to faithfully execute malicious instructions, drastically increasing failure rates in pipelines without downstream correction. However, appending a lightweight terminal correction stage restores statistical parity with control-level performance, demonstrating that strictly linear collaboration structures can be viable and resilient to adversaries at this scale.
Abstract source