ICML papers
Search ICML papers by title, author, or track. Open a paper’s abstract to read more.
Explore the ICML analysisSearch results
321–340 of 490
- ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
LibEvoBench: Probing Temporal Knowledge Stratification in Code Generation Models
Daniele Cipollone, Sergey Titov, Maliheh Izadi, Egor Bogomolov, Arie v Deursen
Abstract
Large software projects often depend on older versions of libraries, even as APIs continue to evolve across releases. This creates a challenge for LLMs: they must maintain knowledge of multiple API versions, not merely the latest or most common one. However, current LLMs, trained on temporally mixed corpora and lack explicit mechanisms for such version-specific reasoning, leading to anachronistic errors -- calling APIs as they exist in a different library version. To systematically evaluate this phenomenon, we introduce LibEvoBench, a multi-task benchmark spanning multiple versions of widely used Python libraries, along with a new metric, the Software Evolution Understanding Score (SEUS), to measure models' consistency when working with evolving APIs. Our results show that state-of-the-art models are largely version-oblivious: performance degrades for evolving APIs, while for stable APIs it remains the same across versions. Moreover, simply specifying the target version provides no benefit, while relevant documentation significantly boosts models' accuracy. These findings highlight a systematic limitation of current training paradigms and motivate new approaches for temporally grounded knowledge in code generation.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Frozen Inner Looping Is Brittle for Code Generation with BitNet b1.58
Suhyeong Shin, Jisujeong, Yeongwook Yang
Abstract
We show that frozen inner looping, repeating a selected decoder-block range T times inside a frozen model, is not a reliable accuracy knob for native 1.58-bit code generation. We test BitNet b1.58 2B4T with a source-preserving schedule patch, using ordinary one-pass inference (T=1) as a paired baseline on 742 tasks from HumanEval+, MBPP+, BigCodeBench-Instruct, and DS-1000. We compare two simple reinjection rules: a running average of repeated block outputs and a damped residual blend. Running-average reinjection is flat or worse on the main EvalPlus suites. Damped residual reinjection at T=2 changes 30 failures to passes and 19 passes to failures, increasing raw pass count from 207/742 to 218/742, but the aggregate effect is not statistically confirmed (paired exact p=0.152, 95% bootstrap CI [-0.27,+3.37] percentage points). At T=8, performance collapses to 66/742. Output comparisons show large divergence from T=1 and asymmetric pass-to-fail transitions at deeper repetition, suggesting perturbation rather than productive refinement.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
NKI-Agent: Domain-Specific Fine-Tuning and Agentic Tool Use for Neuron Kernel Generation
Junjie Tang, Jun Huan, Hao Zhou, Yuhao Zhang, Lin Wang
Abstract
Recent agentic approaches to LLM-based kernel generation have achieved strong results on CUDA, yet emerging AI accelerators such as AWS Trainium and Inferentia remain unaddressed. Writing kernels for these chips via the Neuron Kernel Interface (NKI) is particularly challenging due to a multi-engine architecture, tile-based programming with a fixed 128-element partition dimension, and explicit memory management. Moreover, no training data, benchmarks, or tool-augmented agents exist for this domain. We introduce NKI-Agent, the first system combining domain-specific supervised fine-tuning (SFT) with a compile-verify-fix agent loop for NKI kernel generation. We adapt the existing CUDA-Agent framework to Neuron hardware, curate 6,000 NKI kernel generation tasks for training, and construct NKIBench, a 250-task benchmark across three difficulty levels. On a 60-task NKIBench subset evaluated on real Trn1 hardware, NKI-Agent with Claude Opus 4.7 achieves 48.3% pass rate, while our SFT-trained Qwen3-Coder-30B-A3B achieves 25.0% pass rate at 1/100th the cost, outperforming Claude Sonnet 4 (15.0%) with identical tools. Tool use proves essential: even Opus 4.7 scores 0% in single-shot mode versus 48.3% with agent tools. We also report that GRPO with binary compilation reward fails to improve over SFT, providing guidance on reward design for RL-based kernel generation.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
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 · Deep Learning for Code: Towards Human-Centered Coding Agents
LLM-Based Rust Code Generation with On-the-Fly Compiler Feedback
Hristo Venev, Niels Mündler, Jingxuan He, Dawn Song, Martin Vechev
Abstract
Despite recent progress in LLM-based code generation, LLMs still struggle with strongly typed languages such as Rust. The key challenge arises from the complex nature of their type system: it enforces strong formal safety guarantees on the generated code, including powerful semantic properties such as ownership and lifetime. Prior work in enforcing type system constraints explored two general research lines: compiler feedback after code is generated and constrained decoding during generation. Both of these come with practical limitations: the former can incur high latency and delayed feedback, while the latter requires complex compiler reimplementation and white-box access to the LLM. In this work we address this challenge and propose a method for leveraging compiler feedback during code generation: the key idea is to introduce a lightweight transformation that converts partially generated programs into completed ones, enabling immediate on-the-fly compiler feedback during code generation. In turn, this enables low-latency feedback without requiring compiler reimplementation or white box access to the LLM. We implement and extensively evaluate our method on Rust code synthesis and code translation tasks across both frontier and open-weight models. Our experimental results show significantly reduced runtime overhead compared to post-hoc compilation, while preserving and improving compilation rates and functional correctness.
Abstract source - ICML · Workshop · Deep Learning for Code: Towards Human-Centered Coding Agents
Domain-Adaptable Reinforcement Learning for Code Generation with Dense Rewards
Erfan A Jolfaei, Daniel Maninger, Abhinav Anand, Mert Tiftikci, Mira Mezini
Abstract
Large language models show strong potential for automated code generation, but lack guarantees for correctness, quality, safety, and domain-specific constraints. For instance in robotics, where code generation is increasingly being used for planning and executing actions, awareness of the environment and physical constraints is critical. To facilitate the adaption of code-generating LLMs to diverse requirements, including domain-specific ones, we present a reinforcement learning framework that fine-tunes pre-trained LLMs using proximal policy optimization. Our customizable execution-aware reward formula captures and optimizes syntax, functional correctness, code style, security, and simulator executability. A token-level reward mapping mechanism enables effective credit assignment from execution outcomes to generated tokens. The framework is evaluated on general-purpose code generation (MBPP/MBPP+) and robotic program synthesis (RoboEval). The results show substantial improvements in functional correctness and simulator executability, including an absolute pass@1 increase of 19\% on MBPP and a reduction in execution failures by 51\% on RoboEval. These findings demonstrate that structured reinforcement learning can effectively align language models to correct program generation and domain-specific requirements.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Edge-aware FlexAttention Network for Efficient Graph Generation
Vincent Jung, Alba Carballo-Castro, Yiming Qin, Lonneke van der Plas, Pascal Frossard
Abstract
Graph generative models commonly use graph-specific Transformer architectures to jointly update node and edge features. However, these architectures do not directly benefit from recent hardware-aware attention implementations such as FlexAttention, limiting their scalability. This adaptation is non-trivial: edge and graph-level features must be injected into pairwise attention scores, graph masks must be respected, and dynamic edge updates remain a major source of quadratic memory usage. We propose a FlexAttention-compatible edge-aware Transformer for graph generation that incorporates structural information through head-wise score modulation inside the fused kernel, while updating edge representations with a lightweight residual mechanism that retains key attention-score dependent edge updates. This architecture achieves similar generation quality as our baseline while reducing peak GPU memory by around 65\% and substantially improving training and sampling throughput. These results suggest the proposed architecture is a practical step toward scalable graph foundation models.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Plan, Don’t Pose: Long Composite Motion Generation with Text-Aligned BFM
Nikolay Shvetsov, Maksim Bobrin, Nazar Buzun, Dmitry V. Dylov
Abstract
Text-to-motion (T2M) generation has broad applications in character animation, virtual avatars, and human-robot interaction. Existing methods typically generate pose trajectories or motion tokens directly from language, forcing a single model to handle semantic interpretation, long-horizon structure, and low-level physical realization. This coupling makes them costly and often unreliable for long, compositional, or semantically dense prompts. We propose Text2BFM, the first framework that aligns natural language with pretrained Behavioral Foundation Models (BFMs) for T2M generation without relying on heavy end-to-end motion generators. Text2BFM operates in the latent policy space of a frozen BFM, using it as an executable motion prior. A text-aligned variational behavioral bottleneck compresses BFM policy-latent sequences into compact motion representations that are compatible with language and preserve long-horizon behavioral structure. Generation is performed in this compact behavioral manifold with a lightweight conditional generator, and the resulting latent encoded behaviors are decoded into policy latents that drive the pretrained frozen BFM. By decoupling semantic planning from motion execution, Text2BFM achieves efficient, robust T2M generation and strong performance on long, compositional textual descriptions.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Probabilistic Sequence Generation Guided by Intensity-Duration Extreme Profiles
Kanxuan He, Hongshan Guo
Abstract
Extreme events play a critical role in many time-series domains, including weather and finance, where tail behavior is central to risk assessment and decision-making. In practice, informative summaries of tail behavior, such as return-level curves derived from the Generalized Extreme Value (GEV) distribution, can be obtained via statistical extrapolation. We consider how such partial extreme-value information can be used to guide the generation of full future trajectories and improve tail realism. To this end, we instantiate the idea for multi-year weather generation used for heatwave risk evaluation, where Heatwave Intensity-Duration-Frequency (HIDF) surfaces are leveraged as year-level likelihood constraints via a particle-filter-style rollout procedure. Using HIDF surfaces extracted from historical observations as oracle targets, experiments on Phoenix, Miami, and Munich (2011-2024) isolate the controllability of the guidance mechanism. Sequential conditioning reduces warm-day exceedance bias (TX90p-Bias) by 4-14\% relative to unguided generation, with comparable bulk-distribution preservation, although direct post-hoc HIDF calibration remains stronger on the explicit HIDF alignment metric. We further apply the framework to future weather generation conditioned by extrapolated HIDF targets derived from a nonstationary GEV driven by CMIP6 warming signals.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
TILT: Test-Time Reward Alignment via Distribution Tilting for Compositional Generation
Debottam Dutta, Jaehoon Hahm, Jianchong Chen, Romit Roy Choudhury
Abstract
Recent advances in powerful text-to-image generation models have made it increasingly important to develop test-time methods that modify the sampling trajectory to produce images more faithful to complex compositional prompts. We present TILT, a training-free framework for compositional text-to-image generation via test-time reward alignment. We interpret compositional failures as overlap modes between joint and single-concept distributions, and define a pure-mode reward that favors samples where all concepts are jointly present while remaining close to the pretrained model. This yields a KL-constrained objective with a closed-form tilted target distribution and principled guiding steps for diffusion sampling. Our framework also recovers CO3 as a special case, giving theoretical grounding to prior methods for compostional generation using heuristic correctors. Experiments on prompts from T2ICompBench show that our method improves compositional alignment while preserving image quality compared to previous baselines.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Compositional Energy-Based Inference-Time Scaling for Multi-Scale Microstructure Generation
Chengxi Zhang, Yu Yao, Zhenting Qi, Yilun Du, Ju Li
Abstract
Generating scale-consistent scientific images requires satisfying physical constraints over combinatorial conditions, while standard point-wise selection can collapse the joint distribution. We introduce Compositional Energy-Based Scaling (CEBS), an inference-time scaling framework based on compositional energy minimization. CEBS decomposes a jointly trained conditional diffusion model into condition-specific energy gradients and recombines them for controllable out-of-distribution generation without retraining. It further defines a set-level energy that penalizes mean shift and covariance mismatch, selecting candidate subsets that preserve distributional statistics rather than optimizing samples independently. CEBS is general to conditional generators, requires no auxiliary discriminator, and improves scientific image generation under interpretable statistical and physical constraints.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
GAP3D: Generative Alignment of VLM Latents to Patch-Level Embeddings for 3D Generation
Polytimi Anna Gkotsi, Andrii Zadaianchuk, Mohammad Mahdi Derakhshani
Abstract
Recent approaches integrating vision-language models (VLMs) as prompt encoders for generative model conditioning typically rely on expensive end-to-end training or map features to compressed representations, discarding the dense spatial structure required for geometry-aware tasks like 3D asset generation. To address this, we propose GAP3D, a modular, diffusion-based approach that aligns VLM-generated latents directly to the complete, patch-level feature space of a pre-trained image encoder, enabling a frozen downstream generative model to utilize a VLM as prompt encoder while maintaining a spatially structured conditioning signal. Evaluated on 3D asset generation, our method bypasses the need for large-scale 3D data by training mainly on general-domain image-text pairs. It also exhibits emergent zero-shot capabilities for multimodal prompts, despite being trained exclusively on text input. Finally, while currently prioritizing high-level semantics over fine-grained detail, GAP3D demonstrates that the representation gap between VLM and image-encoder feature spaces can be partially bridged through diffusion-based alignment, taking the first steps towards a modular integration of foundation models through generative alignment to dense embedding spaces.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
STARFlow2: Bridging Language Models and Normalizing Flows for Unified Multimodal Generation
Ying Shen, Tianrong Chen, Yuan Gao, Yizhe Zhang, Yuyang Wang, Miguel Angel Bautista Martin, Shuangfei Zhai, Joshua M Susskind, Jiatao Gu
Abstract
Unified multimodal models that understand, reason over, and generate interleaved text–image sequences remain structurally fragmented: existing approaches either sacrifice visual fidelity through discrete tokenization, impose structural asymmetry by combining causal text generation with iterative diffusion-based denoising, or degrade pretrained understanding when adapting vision-language models for generation. We observe that autoregressive normalizing flows are autoregressive Transformers—sharing the same causal mask, KV-cache mechanism, and left-to-right structure as LLMs—making them the most natural paradigm for truly unified multimodal generation that is continuous, single-pass, and purely causal. We present STARFlow2, built on the Pretzel architecture that vertically interleaves a frozen pretrained VLM stream with a TARFlow stream via residual skip connections, both operating under the same causal mask. This design simultaneously preserves pretrained multimodal understanding, enables high-fidelity continuous image generation, and achieves structural unification under a single causal mechanism. Combined with a deep-shallow flow design and a unified FAE latent space, STARFlow2 supports cache-friendly interleaved generation where both text and visual outputs directly enter the KV-cache without re-encoding. Experiments demonstrate strong performance across image generation and multimodal understanding benchmarks, validating autoregressive flows as a viable foundation for unified multimodal modeling.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Synthesizability-Aware Materials Generation with Target Properties via Reinforcement Learning
Duc D Dang, Junwu Chen, Philippe Schwaller
Abstract
Generative models have shown remarkable promise in accelerating materials discovery, yet most generated candidates remain synthetically inaccessible, limiting their practical impact. We address this critical gap by fine-tuning pretrained diffusion models through multi-objective reinforcement learning (RL) that explicitly incorporates multiple synthesis-related constraints for the generation of novel crystal structures with targeted properties and experimental synthesizability. A precursor set of commercially available, non-toxic, and low-cost compounds is constructed, and synthesis-planning models are employed to predict precursor availability, with the resulting score incorporated into the RL reward. Synthesis-related filters, encompassing material class, elemental complexity, and synthesizability score, are further integrated to ensure compatibility with solid-state synthesis routes. The results demonstrate that the proposed framework simultaneously optimizes different material properties, including bulk modulus and magnetic density, while satisfying synthesis constraints, effectively steering the generative model toward functionally promising and experimentally accessible crystal structures.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Pi-E-Flow: Uncertainty-Guided Flow Distillation for Autoregressive Video Generation
Yong-Hyun Park, Hansheng Chen, Chaoqi Luo, Kaifan Yu, Jiatao Gu
Abstract
Few-step diffusion and flow distillation have made image generation much faster, but the same recipe is brittle for autoregressive (AR) video. We argue that the missing ingredient is not simply more computation, but better allocation of computation: in AR video, the student faces highly non-uniform uncertainty when imitating the teacher trajectory. Some denoising steps, especially near the $t=0$ endpoint, are fragile, and some spatial regions, such as motion, require substantially more refinement than static backgrounds. We introduce _Pi-E-Flow_, an uncertainty-guided flow distillation method for few-step AR video generation. Pi-E-Flow allocates generation computation along two axes. Along denoising time, it measures step uncertainty with a teacher-imitation error and chooses sampling schedules that balance the uncertainty of few-step sampling. Along space, it trains the model on heterogeneous patch timesteps, learns patch uncertainty, and assigns larger NFE budgets only to uncertain patches while promoting completed patches into the AR cache. This turns uniform few-step distillation into elastic compute allocation over the parts of the video trajectory where the student is most uncertain.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
A Born Machine Approach to Controllable Text Generation with Language Models
Sihan Wang, Di Luo
Abstract
Controllable text generation requires estimating lookahead probabilities, i.e., the likelihood that future tokens will satisfy a given constraint. We propose using Born machines, probabilistic models from quantum mechanics that define probabilities as squared magnitudes of complex amplitudes. Born machines admit efficient marginalization, making lookahead tractable. We parameterize Born machines using Matrix Product States (MPS) and derive a backward algorithm that propagates density matrices through the tensor network. This density matrix formulation naturally captures the quadratic structure of the Born rule and summarizes constraint information. Experiments on text infilling, lexical constraints, and detoxification demonstrate that Born machine lookahead efficiently guides language models toward constraint satisfaction.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
Time-Annealed Perturbation Sampling: Diverse Generation for Diffusion Language Models
Jingxuan Wu, Zhenglin Wan, Yuzhe YANG, Yiqiao Huang, Chubin Zhang, Xingrui Yu, Ivor Tsang, Yang You
Abstract
Diffusion language models (Diffusion-LMs) generate text through iterative denoising, exposing a temporal structure that is largely absent from autoregressive decoding. In this paper, we show that this temporal structure provides a useful control axis for generation diversity: early denoising steps mainly determine high-level semantic trajectories, while later steps refine lexical realization. Motivated by this observation, we propose Time-Annealed Perturbation Sampling (TAPS), a training-free inference strategy that samples nearby conditioning trajectories through time-aware, manifold-constrained perturbations. TAPS encourages semantic branching during early denoising and anneals the perturbation away before refinement, improving exploration while preserving prompt alignment, generation quality, and reasoning ability. Experiments on multiple Diffusion-LM backbones, including non-autoregressive and semi-autoregressive models, show that TAPS consistently improves semantic and lexical diversity across open-ended and instruction-following generation tasks, while preserving reasoning ability on verifiable reasoning benchmarks with negligible overhead.
Abstract source - ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling
DVD: Discrete Voxel Diffusion for 3D Generation and Editing
Zhengrui Xiang, Jiaqi Wu, Fupeng Sun, Heliang Zheng, Yingzhen Li
Abstract
We introduce \emph{Discrete Voxel Diffusion} (DVD), a discrete diffusion framework to generate, assess, and edit sparse voxels for \textsc{SLat} (Structured LATent) based 3D generative pipelines. Although discrete diffusion has not generally displaced continuous diffusion in image-like generation, we show that it can be an effective first-stage prior for sparse voxel scaffolds. By treating voxel occupancy as a native discrete variable, DVD avoids continuous-to-discrete thresholding and provides a simple framework for voxel generation, uncertainty estimation, and editing. Beyond quality gains, DVD provides more interpretable generation dynamics through explicit categorical modeling. Furthermore, we leverage the predictive entropy as a robust uncertainty metric to identify ambiguous voxel regions and complicated samples, facilitating tasks such as data filtering and quality assessment. Finally, we propose a lightweight fine-tuning strategy using block-structured perturbation patterns. This approach empowers the model to inpaint and edit voxels within a single sampling round, requiring negligible auxiliary computation and no additional model evaluations.
Abstract source - ICML · Workshop · Culture x AI: Evaluating AI as a Cultural Technology
KG-FairDiff: Knowledge Graph-Guided Prompt Refinement for Demographically Fair Text-to-Image Generation
Farbod Davoodi, seyedreza tavakoli, Pooriya Safaei, Sana Harighi, Parsa Gholami, Amirali Amini, Kimia Vanaei, Emad Firoozi, Parham Abed Azad, Babak Khalaj, Siavash Ahmadi, Amir Payberah, Mohammad H Rohban, Mehdi Noroozi, Soheil Kolouri, Ali Diba
Abstract
Abstract Text-to-Image (TTI) systems are now everyday infrastructure for journalism, education, advertising, and public communication, and the demographic and cultural stereotypes they inherit from training data—rendering women, people of colour, older adults, and non-Western cultures as underrepresented or caricatured—become a population-level harm at deployment scale. Existing mitigations either require costly retraining, infeasible for the closed-source backbones that dominate consumer products, or rely on fixed demographic templates that ignore cultural context. We present KG-FairDiff, a model-agnostic, inference-time framework that formalises fairness-aware prompt refinement as a constrained optimisation problem and operationalises it as a closed-loop pipeline: a knowledge graph of ~1,200 culture- and bias-related triples retrieves structured context, an LLM rewriter proposes refinements, and a validator accepts only prompts that reduce a divergence-based fairness loss while preserving semantic fidelity to the user's original intent. We prove a finite-termination bound for the refinement loop, contribute a mathematically consistent evaluation suite linking Bias-P/Bias-W to divergence from target distributions and ENS to KL divergence, and audit eight widely-deployed backbone generators. KG-FairDiff substantially reduces gender, race, age, and intersectional disparities while preserving prompt semantics, offering a practical, deployment-ready route to more equitable generative AI.
Abstract source - ICML · Workshop · Culture x AI: Evaluating AI as a Cultural Technology
When Perspective Becomes Control: Verifying Role-Conditioned Image Generation
HYUNSUK CHUNG, Caren Han, Kyungreem Han, Sang-Wook Yi
Abstract
Role prompts are increasingly used in image generation as a soft form of control, allowing users to render scenes from perspectives such as a newcomer, visitor, local resident, or urban planner. Unlike explicit controls such as masks, poses, layouts, or object instructions, role prompts do not define a fixed visual target, making their effects difficult to verify. We frame role-conditioned image generation as a verification problem for open-ended semantic controllability and pluralistic visual exploration. Using preliminary urban-scene examples across multiple roles and models, we show that role prompts may materialise through foreground embodiment, local salience, spatial emphasis, demographic cues, occupational proxies, or broader scene reconstruction, while caption-level descriptions often collapse these differences into generic summaries. We propose an evaluation lens based on emergence, consistency, recoverability, and semantic appropriateness, arguing that such generation requires both computational analysis and interpretive engagement with humanities and social sciences.
Abstract source