Skip to content

ICLR papers

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

Explore the ICLR analysis

Search results

541–560 of 575

  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    INFERENCE-TIME SAFETY FOR CODE LLMS VIA RETRIEVAL-AUGMENTED REVISION

    Manisha Mukherjee, Vincent Hellendoorn

    Abstract

    Large Language Models (LLMs) are increasingly deployed for code generation in high-stakes software development, yet their limited transparency in security reasoning and brittleness to evolving vulnerability patterns raise critical trustworthiness concerns. Models trained on static datasets cannot readily adapt to newly discovered vulnerabilities or changing security standards without retraining, leading to the repeated generation of unsafe code. We present a principled approach to trustworthy code generation by design that operates as an inference-time safety mechanism. Our approach employs retrieval-augmented generation to surface relevant security risks in generated code and retrieve related security discussions from a curated Stack Overflow knowledge base, which are then used to guide an LLM during code revision. This design emphasizes three aspects relevant to trustworthiness: (1) interpretability, through transparent safety interventions grounded in expert community explanations; (2) robustness, by allowing adaptation to evolving security practices without model retraining; and (3) safety alignment, through real-time intervention before unsafe code reaches deployment. Across real-world and benchmark datasets, our approach improves the security of LLM-generated code compared to prompting alone, while introducing no new vulnerabilities as measured by static analysis. These results suggest that principled, retrieval-augmented inference-time interventions can serve as a complementary mechanism for improving the safety of LLM-based code generation, and highlight the ongoing value of community knowledge in supporting trustworthy AI deployment.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    The Realignment Problem: When Right becomes Wrong in LLMs

    Aakash Sharma, Debdeep Sanyal, Manodeep Ray, Vivek Srivastava, Shirish Karande, Murari Mandal

    Abstract

    Post-training alignment of large language models (LLMs) relies on large-scale human annotations guided by policy specifications that change over time. Cultural shifts, value reinterpretations, and regulatory or industrial updates make static alignment increasingly brittle. As policies evolve, deployed models can diverge from current alignment objectives, creating an Alignment–Reality Gap that is difficult to audit or correct. Existing remediation typically requires re-annotation under revised guidelines, which introduces systematic challenges, including guideline ambiguity, annotator interpretation drift, and reduced consistency at scale. We introduce TRACE (Triage and Re-align by Alignment Conflict Evaluation), a framework that transforms re-alignment into a structured optimization problem over existing data without requiring fresh human annotation. Leveraging a stronger model as a proxy judge, TRACE operates via a three-stage pipeline: (1) triaging preference pairs into inversion, suppression, or retention categories based on alignment conflicts; (2) computing an alignment impact score via bi-level optimization to prioritize high-leverage samples; and (3) executing updates using a hybrid objective that combines relational losses (e.g., IPO) for preference inversion and punitive losses (e.g., NPO) for response suppression. Experiments on Qwen2.5-7B, Gemma-2-9B, and Llama-3.1-8B demonstrate robust re-alignment on synthetic benchmarks and the PKU-SafeRLHF dataset without degrading general utility. This work provides a scalable approach for LLM realignment under evolving data annotation policies and alignment guidelines.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Fairness Failure Modes of Multimodal LLMs

    Canyu Chen, Anglin Cai, Joan Nwatu, Jianshu Zhang, Yale Li, Han Liu, Jessica Hullman, Rada Mihalcea, Kathleen McKeown, Manling Li

    Abstract

    Although Multimodal Large Language Models (MLLMs) are increasingly deployed in high-stakes domains, the fairness of their outputs is under-explored. Building on the BBQ language bias benchmark, we construct a new dataset MultiBBQ using attested social biases and AI-generated photorealistic images for controllable fairness evaluation of MLLMs in both visual-only and visual-language contexts. We propose two metrics Fairness Score and Bias Score and design an evaluation paradigm to address shortcut reasoning and data contamination challenges. Using comprehensive benchmarking, we diagnose four new Fairness Failure Modes of MLLMs. In particular, we discover that proprietary models may fail to conduct effective counter-bias reasoning in disambiguated contexts due to over-refusal, while open-source models are deficient in abstaining in ambiguous contexts. We also analyze how different input and model factors degrade fairness, demonstrate that MLLMs amplify bias over their backbone LLMs, and show the potential limited effectiveness of mitigation methods such as reasoning and fairness instruction. We release our code and dataset to facilitate further evaluations and the development of mitigation methods here.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Fairness Failure Modes of Multimodal LLMs

    Canyu Chen, Anglin Cai, Joan Nwatu, Jianshu Zhang, Yale Li, Han Liu, Jessica Hullman, Rada Mihalcea, Kathleen McKeown, Manling Li

    Abstract

    Although Multimodal Large Language Models (MLLMs) are increasingly deployed in high-stakes domains, the fairness of their outputs is under-explored. Building on the BBQ language bias benchmark, we construct a new dataset MultiBBQ using attested social biases and AI-generated photorealistic images for controllable fairness evaluation of MLLMs in both visual-only and visual-language contexts. We propose two metrics Fairness Score and Bias Score and design an evaluation paradigm to address shortcut reasoning and data contamination challenges. Using comprehensive benchmarking, we diagnose four new Fairness Failure Modes of MLLMs. In particular, we discover that proprietary models may fail to conduct effective counter-bias reasoning in disambiguated contexts due to over-refusal, while open-source models are deficient in abstaining in ambiguous contexts. We also analyze how different input and model factors degrade fairness, demonstrate that MLLMs amplify bias over their backbone LLMs, and show the potential limited effectiveness of mitigation methods such as reasoning and fairness instruction. We release our code and dataset to facilitate further evaluations and the development of mitigation methods here.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Do LLMs Act Like Rational Agents? Measuring Belief Coherence in Probabilistic Decision Making

    Khurram Yamin, Jingjing Tang, Santiago Cortes-Gomez, Amit Sharma, Eric Horvitz, Bryan Wilder

    Abstract

    Large language models (LLMs) are increasingly deployed as agents in high-stakes domains where optimal actions depend on both uncertainty about the world and consideration of utilities of different outcomes, yet their decision logic remains difficult to interpret. We study whether LLMs are rational utility maximizers with coherent beliefs and stable preferences. We consider behaviors of models for diagnosis challenge problems. The results provide insights about the relationship of LLM inferences to ideal Bayesian utility maximization for elicited probabilities and observed actions. Our approach provides falsifiable conditions under which the reported probabilities cannot correspond to the true beliefs of any rational agent. We apply this methodology to multiple medical diagnostic domains with evaluations across frontier LLMs. We discuss implications of the results and directions forward for uses of LLMs in guiding high-stakes decisions.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Moral Preferences of LLMs Under Directed Contextual Influence

    Phil Blandfort, Tushar Karayil, Urja Pawar, Robert Graham, Alex McKenzie, Dmitrii Krasheninnikov

    Abstract

    Moral benchmarks for LLMs typically use context-free prompts, implicitly assuming stable preferences. In deployment, however, prompts routinely include contextual signals such as user requests, cues on social norms, etc. that may steer decisions. We study how directed contextual influences reshape decisions in trolley-problem-style moral triage settings. We introduce a pilot evaluation harness for directed contextual influence in trolley-problem-style moral triage: for each demographic factor, we apply matched, direction-flipped contextual influences that differ only in which group they favor, enabling systematic measurement of directional response. We find that: (i) contextual influences often significantly shift decisions, even when only superficially relevant; (ii) baseline preferences are a poor predictor of directional steerability, as models can appear baseline-neutral yet exhibit systematic steerability asymmetry under influence; (iii) influences sometimes backfire, showing non-monotonic behavior; and (iv) reasoning reduces average sensitivity, but amplifies the effect of biased few-shot examples. Our findings motivate extending moral evaluations with controlled, direction-flipped context manipulations to better characterize model behavior.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Closing the Distribution Gap in Adversarial Training for LLMs

    Chengzhi (Martin) Hu, Jonas Dornbusch, David Lüdke, Stephan Günnemann, Leo Schwinn

    Abstract

    Adversarial training for LLMs is one of the most promising methods to reliably improve robustness against adversaries. However, despite significant progress, models remain vulnerable to simple in-distribution exploits, such as rewriting prompts in the past tense or translating them into other languages. We argue that this persistent fragility stems from a fundamental limitation in current adversarial training algorithms: they minimize adversarial loss on their training set but inadequately cover the data distribution, resulting in vulnerability to seemingly simple attacks. To bridge this gap, we propose Distributional Adversarial Training, $\textit{DAT}$. We leverage Diffusion LLMs to approximate the true joint distribution of prompts and responses, enabling generation of diverse, high-likelihood samples that address generalization failures. By combining optimization over the data distribution provided by the diffusion model with continuous adversarial training, DAT achieves substantially higher adversarial robustness than previous methods.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Control Reinforcement Learning: Interpretable Token-Level Steering of LLMs via Sparse Autoencoder Features

    Seonglae Cho, Zekun Wu, Adriano Koshiyama

    Abstract

    Sparse autoencoders (SAEs) decompose language model activations into interpretable features, but existing methods reveal only which features activate, not which change model outputs when amplified. We introduce Control Reinforcement Learning (CRL), which trains a policy to select SAE features for steering at each token, producing interpretable intervention logs: the learned policy identifies features that change model outputs when amplified. Adaptive Feature Masking encourages diverse feature discovery while preserving single-feature interpretability. The framework yields new analysis capabilities: branch point tracking locates tokens where feature choice determines output correctness; critic trajectory analysis separates policy limitations from value estimation errors; layer-wise comparison reveals syntactic features in early layers and semantic features in later layers. On Gemma 2 2B across MMLU, BBQ, GSM8K, HarmBench, and XSTest, CRL achieves improvements while providing per-token intervention logs. These results establish learned feature steering as a mechanistic interpretability tool that complements static feature analysis with dynamic intervention probes.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Patching LLMs Like Software: A Lightweight Method for Improving Safety Policies in Large Language Models

    Huzaifa Arif, Pin-Yu Chen, Keerthiram Murugesan, Alex Gittens, Payel Das, Ching-Yun Ko

    Abstract

    We propose \textit{safety policy patching}, a lightweight and modular approach for addressing safety vulnerabilities in large language models (LLMs) between major releases. Major version updates are costly, infrequent, and difficult to tailor to customer needs, leaving deployed models with known safety gaps. Our method enables rapid remediation by prepending a compact, learnable prefix to an existing model's inputs.This patch introduces very few additional parameters---e.g., $0.003\%$ for LLaMA-2---yet reliably steers model behavior toward that of a safer reference model. Across three critical domains---toxicity mitigation, bias reduction, and harmfulness refusal---policy patches achieve safety improvements comparable to stronger safety-aligned models (e.g., future major releases) while preserving fluency. Overall, we show that LLMs can be ``patched'' much like software, providing vendors and practitioners a practical mechanism for distributing scalable, efficient, and composable safety updates between major model releases.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Patching LLMs Like Software: A Lightweight Method for Improving Safety Policies in Large Language Models

    Huzaifa Arif, Pin-Yu Chen, Keerthiram Murugesan, Alex Gittens, Payel Das, Ching-Yun Ko

    Abstract

    We propose \textit{safety policy patching}, a lightweight and modular approach for addressing safety vulnerabilities in large language models (LLMs) between major releases. Major version updates are costly, infrequent, and difficult to tailor to customer needs, leaving deployed models with known safety gaps. Our method enables rapid remediation by prepending a compact, learnable prefix to an existing model's inputs.This patch introduces very few additional parameters---e.g., $0.003\%$ for LLaMA-2---yet reliably steers model behavior toward that of a safer reference model. Across three critical domains---toxicity mitigation, bias reduction, and harmfulness refusal---policy patches achieve safety improvements comparable to stronger safety-aligned models (e.g., future major releases) while preserving fluency. Overall, we show that LLMs can be ``patched'' much like software, providing vendors and practitioners a practical mechanism for distributing scalable, efficient, and composable safety updates between major model releases.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Beyond Idealized Patients: Evaluating LLMs under Challenging Patient Behaviors in Medical Consultations

    Yahan Li, Xinyi Jie, Wanjia Ruan, Xubei Zhang, Huaijie ZHU, Yicheng Gao, Ruishan Liu

    Abstract

    Large language models (LLMs) are increasingly used for medical consultation and health information support. In this high-stakes setting, safety depends not only on medical knowledge, but also on how models respond when patient inputs are unclear, inconsistent, or misleading. However, most existing medical LLM evaluations assume idealized and well-posed patient questions, which limits their realism. In this paper, we study challenging patient behaviors that commonly arise in real medical consultations and complicate safe clinical reasoning. We define four clinically grounded categories of such behaviors: information contradiction, factual inaccuracy, self-diagnosis, and care resistance. For each behavior, we specify concrete failure criteria that capture unsafe responses. Building on four existing medical dialogue datasets, we introduce CPB-Bench (Challenging Patient Behaviors Benchmark), a bilingual (English and Chinese) benchmark of 855 multi-turn dialogues annotated with these behaviors. We evaluate a range of open- and closed-source LLMs on their responses to challenging patient utterances. While models perform well overall, we identify consistent, behavior-specific failure patterns, with particular difficulty in handling contradictory or medically implausible patient information. We further examine two identified high-risk failure modes, abnormal values and information contradiction, and construct targeted stress tests by generating 50 additional challenging examples for each.

    Abstract source
  • ICLR · Workshop · Principled Design for Trustworthy AI: Interpretability, Robustness, and Safety Across Modalities

    Leveraging RAG for Training-Free Alignment of LLMs

    John Halloran

    Abstract

    Large language model (LLM) alignment algorithms typically consist of post-training over preference pairs. While such algorithms are widely used to enable safety guardrails (i.e., learning to refuse malicious requests containing harmful language) as well as align LLMs with general human preferences, we show that state-of-the-art alignment algorithms are far less capable of enabling refusal guardrails for recent agentic attacks. To improve refusal guardrails against such attacks, we thus introduce Retrieval Augmented Generation for Preference alignment (RAG-Pref), a simple (yet effective) RAG-based alignment algorithm which conditions on preferred and dispreferred samples to leverage contrastive information during inference. RAG-Pref is online (i.e., training-free), compatible with off-the-shelf packages, and, when combined with offline (i.e., training-based) alignment algorithms, enables more than an average 3.7 factor improvement in agentic attack refusals across five widely used LLMs, compared to 2.9 for other online alignment algorithms and 1.5 for offline alignment alone. We conclude by showing that, in stark contrast to other online alignment methods, RAG-Pref similarly increases performance on general human-preference alignment tasks and does not drastically increase overall computational requirements.

    Abstract source
  • ICLR · Workshop · Learning Meaningful Representations of Life (LMRL) Workshop @ ICLR 2026

    How Far Can LLMs Go On Cognitive Health Prediction? A Study On EMA Data

    Sambit Mukherjee, Anthony Fu, Kai Zhao, Yang Ren, Dezhi Wu, Chih-Hsiang Yang

    Abstract

    Cognitive health is a growing public-health burden in an increasingly aging world, and scalable methods for monitoring cognitive state are urgently needed. Smartphone-based intensive measurement studies can capture short-term cognitive variability in daily life via repeated ecological momentary assessment (EMA) surveys and brief cognitive micro-tests, but the resulting datasets are small, heterogeneous, and predominantly tabular, raising a basic question: can large language models (LLMs) serve as effective predictors in this structured regime, or do specialized tabular learners remain necessary? We study a proprietary healthy aging EMA dataset of 115 older adults (ages 65–91) collected over a two-week measurement burst, and predict an ordinal cognitive severity septile derived from a composite cognition score using participant-level splits to evaluate generalization to unseen individuals. We benchmark state-of-the-art LLMs under a unified, machine-parseable structured-output interface against strong tabular machine-learning and statistical ordinal baselines using exact accuracy, tolerance accuracy, and macro-F1. Across models and settings, tree-based tabular methods achieve the best boundary-accurate performance, while LLMs capture coarse ordinal ordering but are less reliable at exact septile decisions; moreover, structured-output failures emerge as a practical deployment constraint that must be included in end-to-end evaluation. Our results delineate the current limits of prompting-based LLM inference for structured ambulatory cognition prediction and provide a reproducible framework for comparing LLMs to tabular baselines in small-sample clinical monitoring tasks.

    Abstract source
  • ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy

    Post-Training LLMs as Better Decision-Making Agents: A Regret-Minimization Approach

    Chanwoo Park, Ziyang Chen, Asuman Ozdaglar, Kaiqing Zhang

    Abstract

    Large language models (LLMs) are increasingly deployed as agents for decision-making (DM) in interactive and dynamic environments. Yet, because they are not originally designed for sequential decision-making, recent work shows that LLMs often fail even in basic online DM settings. We propose Iterative Regret-Minimization Fine-Tuning (Iterative RMFT), a post-training framework that repeatedly distills low-regret decision trajectories into a base model. In contrast to prior approaches that distill known algorithms or impose manually crafted reasoning structures, our method uses regret directly as a learning signal to induce improved decision-making behavior, while allowing the model to generate natural-language reasoning organically. Empirically, Iterative RMFT yields consistent improvements in DM performance across a range of models, including numerical Transformers, lightweight open-weight LLMs, and the closed-weight model GPT-4o mini, and demonstrates robust generalization across horizons, action spaces, reward dynamics, and natural-language-specified DM tasks. Overall, we view this work as an initial step toward more principled and fundamentally new post-training paradigms for enabling effective decision-making in LLMs.

    Abstract source
  • ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy

    Behavioral Continuity in Agentic LLMs: An Engineering Mental Structure Approach

    Ning Coeva

    Abstract

    As agentic LLM systems are deployed in multi-turn, multi-domain settings, a critical failure mode emerges: behavioral discontinuity—the agent's identity, operating mode, and interaction contract drift unpredictably across turns, collapsing into generic templates or unintentionally shifting persona. We argue that this problem cannot be solved by longer context or better memory alone; continuity requires explicit state control, not merely information availability. We introduce EMSA (Engineering Mental Structure API), a runtime architecture that externalizes behavior-critical variables (identity anchor, constraints, abstraction level, goals) into auditable state, governed by a deterministic state machine. To measure continuity, we propose DTS (Drift Test Suite), a reproducible benchmark with five stress-test cases and six metrics covering identity stability, template regression, abstraction control, and goal recovery. Experiments across five instruction-tuned LLMs from four providers show that EMSA achieves the highest identity stability across all models, with the strongest effect under direct identity attack—where all five baseline agents abandon their operating contract while all five EMSA agents resist (+0.096 ISS). Extended context, by contrast, consistently degrades continuity across all models tested, empirically confirming that behavioral stability is a state control problem, not a memory problem. All specifications, test cases, and experimental code are released to support reproducibility.

    Abstract source
  • ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy

    Do LLMs Act Like Rational Agents? Measuring Belief Coherence in Probabilistic Decision Making

    Khurram Yamin, Jingjing Tang, Santiago Cortes-Gomez, Amit Sharma, Eric Horvitz, Bryan Wilder

    Abstract

    Large language models (LLMs) are increasingly deployed as agents in high-stakes domains where optimal actions depend on both uncertainty about the world and consideration of utilities of different outcomes, yet their decision logic remains difficult to interpret. We study whether LLMs are rational utility maximizers with coherent beliefs and stable preferences. We consider behaviors of models for diagnosis challenge problems. The results provide insights about the relationship of LLM inferences to ideal Bayesian utility maximization for elicited probabilities and observed actions. Our approach provides falsifiable conditions under which the reported probabilities cannot correspond to the true beliefs of any rational agent. We apply this methodology to multiple medical diagnostic domains with evaluations across frontier LLMs. We discuss implications of the results and directions forward for uses of LLMs in guiding high-stakes decisions.

    Abstract source
  • ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy

    Efficient Hallucination Detection for LLMs Using Uncertainty-Aware Attention Heads

    Artem Vazhentsev, Lyudmila Rvanova, Gleb Kuzmin, Ekaterina Fadeeva, Ivan Lazichny, Alexander Panchenko, Maxim Panov, Mrinmaya Sachan, Preslav Nakov, Timothy Baldwin, Artem Shelmanov

    Abstract

    While large language models (LLMs) have become highly capable, they remain prone to factual inaccuracies, commonly referred to as ``hallucinations.'' Uncertainty quantification (UQ) offers a promising way to mitigate this issue, but most existing methods are computationally intensive and/or require supervision. In this work, we propose Recurrent Attention-based Uncertainty Quantification (RAUQ), an unsupervised and efficient framework for identifying hallucinations. The method leverages an observation about transformer attention behavior: when incorrect information is generated, certain ``uncertainty-aware'' attention heads tend to reduce their focus on preceding tokens. RAUQ automatically detects these attention heads and combines their activation patterns with token-level confidence measures in a recurrent scheme, producing a sequence-level uncertainty estimate in just a single forward pass. Through experiments on twelve tasks spanning question answering, summarization, and translation across four different LLMs, we show that RAUQ consistently outperforms state-of-the-art UQ baselines. Importantly, it incurs minimal overhead, requiring less than 1\% additional computation. Since it requires neither labeled data nor extensive parameter tuning, RAUQ serves as a lightweight, plug-and-play solution for real-time hallucination detection in white-box LLMs.

    Abstract source
  • ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy

    Distilling Reasoning Without Knowledge: A Framework for Reliable LLMs

    Auksarapak Kietkajornrit, Nima Asgharbeygi, Jad Tarifi

    Abstract

    Fact-seeking question answering with large language models (LLMs) remains unreliable when answers depend on up-to-date or conflicting information. Although retrieval-augmented and tool-using LLMs reduce hallucinations, they often rely on implicit planning, leading to inefficient tool usage. We propose a modular framework that explicitly separates planning from factual retrieval and answer synthesis. A lightweight student planner is trained via a teacher-student framework to generate structured decompositions consisting of abstract reasoning steps and searchable fact requests. The supervision signals contain only planning traces and fact requests, without providing factual answers or retrieved evidence. At inference, the planner produces plans, while prompt-engineered modules perform retrieval and response synthesis. We evaluate the proposed framework on SEAL-0, an extremely challenging benchmark for search-augmented LLMs. Results show that supervised planning improves both accuracy and latency compared to monolithic reasoning models and prompt-based tool-augmented frameworks, demonstrating that explicitly learned planning structures are essential for reliable fact-seeking LLMs.

    Abstract source
  • ICLR · Workshop · Agentic AI in the Wild: From Hallucinations to Reliable Autonomy

    CodeTaste: Can LLMs Generate Human-Level Code Refactorings?

    Alex Thillen, Niels Mündler, Veselin Raychev, Martin Vechev

    Abstract

    Large language model (LLM) coding agents can generate working code, but their solutions often accumulate complexity, duplication, and architectural debt. Human developers address such issues through refactoring: behavior-preserving program transformations that improve structure and maintainability. In this paper, we investigate if LLM agents (i) can execute refactorings reliably and (ii) identify the refactorings that human developers actually chose in real codebases. We present CodeTaste, a benchmark of refactoring tasks mined from large-scale multi-file changes in open-source repositories. To score solutions, we combine repository test suites with custom static checks that verify removal of undesired patterns and introduction of desired patterns using dataflow reasoning. Our experimental results indicate a clear gap across frontier models: agents perform well when refactorings are specified in detail, but often fail to discover the human refactoring choices when only presented with a focus area for improvement. A propose-then-implement decomposition improves alignment, and selecting the best-aligned proposal before implementation can yield further gains. CodeTaste provides an evaluation target and a potential preference signal for aligning coding agents with human refactoring decisions in realistic codebases.

    Abstract source
  • ICLR · Workshop · ICLR 2026 Workshop on Memory for LLM-Based Agentic Systems (MemAgents)

    MemoGraph: Augmenting LLMs with Explicit Episodic Memory for Multi-step Mathematical Reasoning

    Yutong Li, Yitian Zhou, Guo Chen, Xudong Wang, Chenghao Li, Chaoning Zhang

    Abstract

    Large Language Models (LLMs) fundamentally struggle with complex mathematical reasoning due to the volatility of their implicit parametric memory, which leads to context drift and hallucination. Existing paradigms, relying on linear generation or static retrieval, fail to maintain a precise, persistent record of the evolving proof state. To address this, we propose \textbf{MemoGraph}, a neuro-symbolic framework that augments LLMs with an explicit episodic memory layer. We formulate reasoning as the dynamic maintenance of a heterogeneous graph, enabling state-aware reading that utilizes graph-structural encoding to retrieve relevant principles from a verified semantic memory. Furthermore, we introduce a write-gating verification module to intercept invalid deductions before they are consolidated into the reasoning context. Empirical evaluations across multiple benchmarks demonstrate that MemoGraph significantly outperforms strong baselines in both accuracy and robustness by ensuring memory integrity, establishing a scalable paradigm for trustworthy reasoning agents.

    Abstract source