Skip to content

ICML papers

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

Explore the ICML analysis

Search results

701–720 of 823

  • ICML · Workshop · AdaptFM: Resource-Adaptive Foundation Model Inference

    MoSE: Mixture of Slimmable Experts for Efficient and Adaptive Language Models

    Nurbek Tastan, Stefanos Laskaridis, Karthik Nandakumar, Samuel Horváth

    Abstract

    Mixture-of-Experts (MoE) models scale large language models efficiently by sparsely activating experts, but once an expert is selected, it is executed fully. Hence, the trade-off between accuracy and computation in an MoE model typically exhibits large discontinuities. We propose Mixture of Slimmable Experts (MoSE), an MoE architecture in which each expert has a nested, slimmable structure that can be executed at variable widths. This enables conditional computation not only over which experts are activated, but also over how much of each expert is utilized. Consequently, a single pretrained MoSE model can support a more continuous spectrum of accuracy-compute trade-offs at inference time. We present a simple and stable training recipe for slimmable experts under sparse routing, combining multi-width training with standard MoE objectives. During inference, we explore strategies for runtime width determination, including a lightweight test-time training mechanism that learns how to map router confidence/probabilities to expert widths under a fixed budget. Experiments on GPT models trained on OpenWebText demonstrate that MoSE matches or improves upon standard MoE at full width and consistently shifts the Pareto frontier for accuracy vs. cost, achieving comparable performance with significantly fewer FLOPs.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Struct-to-Reason: Enhancing Video Understanding of Vision-Language Models by Decoupling Perception and Reasoning via Structured Summary

    Hengyu Liu, Chenxin LI, Wenbo Hu, Zhiqin Yang, Yuxin Chen, Ying Shan, Brandon Y Feng

    Abstract

    Humans perceive and comprehend visual scenes by forming internal mental structures that organize objects, events, and their relationships, which support complex reasoning. Inspired by this cognitive process, we introduce Struct-to-Reason, a training-free, two-phase framework that enhances video understanding of Vision-Language Models (VLMs) by explicitly decoupling perception and reasoning with a human-readable intermediate reasoning process. In the Perception Phase, the model is prompted to generate a Structured Summary, an object- and event-centric abstraction that externalizes its visual perception into a compositional and interpretable format. In the subsequent Reasoning Phase, this structured summary is reused to assist downstream tasks about the video, enabling more consistent and temporally grounded reasoning. The structured representation is both task- and model-agnostic, and reusable across multiple downstream tasks and VLMs. Experiments on multiple video understanding benchmarks show that Struct-to-Reason consistently outperforms video-to-answer prompting, chain-of-thought reasoning, and free-form summarization, demonstrating its effectiveness in enabling precise and interpretable video understanding.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Large Language Models Can Follow Instructions, But Not Many at Once: Phase Transitions in Compositional Constraint Satisfaction

    Mariya I. Vasileva

    Abstract

    Large language models are increasingly deployed in settings that require simultaneous adherence to multiple explicit constraints. While individual constraints are often handled proficiently, the compositional regime -- where many must hold jointly -- remains poorly characterized: how rapidly does performance degrade, what governs the degradation, and is there a predictable ceiling? We introduce Constraint Saturation Evaluation (CSE), a procedurally generated stress-testing benchmark that systematically varies the number of simultaneous constraints ($k$), each scored by fully deterministic, rule-based verifiers with zero LLM-judge involvement. We apply CSE to two structurally different tasks: constrained text generation (30 constraints, 14 models, $k$=1-12, 82,000+ samples) and constrained visual selection from procedurally generated scenes (18 constraints, 10 VLMs, $k$=1-8, 70,410 samples verified against hidden scene graphs). In text, three principal findings emerge. First, every model obeys \emph{a two-regime decay pattern}: performance drops exponentially with constraint count before plateauing at an asymptotic floor ($\sim$16\%). A three-parameter model captures this trajectory and predicts held-out performance within 1.4 percentage points. Second, constraint failures are \emph{approximately independent} (mean $\varphi$=0.017, 87\% of pairs within $|\varphi|{\leq}$0.05), implying that performance collapse arises from multiplicative accumulation of individual failures rather than pairwise interference. Third, a \emph{depth-of-processing hierarchy} governs which constraints fail first: relational constraints degrade $2.4{\times}$ faster than lexical ones under compositional load---yet this ordering is uncorrelated with intrinsic single-constraint difficulty ($\rho$=-0.03), pointing to a general capacity limit rather than constraint-specific bottlenecks. Across all models, reliable compositional instruction following breaks down beyond 5--6 simultaneous constraints. In vision, the pattern is qualitatively different: the decay is \emph{model-dependent}. Four of 10 VLMs show compositional decay comparable to text ($-17$ to $-28$pp), while 6 plateau or invert, and constraint failures are massively correlated ($\varphi$=0.89) rather than independent---a single perception factor explains 87.9\% of co-failure variance. Whether a VLM degrades under compositional load depends on its perceptual accuracy: models that perceive the scene accurately (>60\%) experience near-zero compositional cost, while weaker perceivers (<50\%) show decay comparable to text. All verifiers, probes, scenes, and evaluation code will be released upon publication.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Code-enabled language models can outperform reasoning models on diverse tasks

    Cedegao Zhang, Cédric Colas, Gabriel Poesia, Josh Tenenbaum, Jacob Andreas

    Abstract

    Reasoning models (RMs), language models (LMs) trained with reinforcement learning to produce long-form natural language reasoning, have been remarkably successful, but they still require large amounts of computation and data to train, and can be slow and expensive to run. In this paper, we show that standard instruct LMs can already be elicited to be strong reasoners at a level comparable to or even surpassing their corresponding RMs (e.g., DeepSeek V3 vs R1) without finetuning, across diverse domains from instruction following and creative generation to mathematical reasoning. This is achieved by CodeAdapt, our simple recipe that combines the CodeAct framework, where LMs interleave natural language reasoning with code execution in a multi-step fashion, with few-shot bootstrap in-context learning from as few as five training problems. Analyzing four matched pairs of LMs and RMs, we find that CodeAdapt enables three LMs to outperform the corresponding RMs on average over eight tasks (up to 22.9%) while being 10-81% more token efficient, and delivers superior performance on six tasks when averaged over the four models (up to 35.7%). Furthermore, the code-augmented reasoning traces display rich and varied problem-solving strategies. Our findings support that (1) CodeAdapt-style learning and reasoning may be robust and domain general and (2) code-enabled LMs are cognitively grounded and powerful systems, potentially providing a strong foundation for in-weight reinforcement learning.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Where’s the Plan? Locating Latent Planning in Language Models with Lightweight Mechanistic Interventions

    Nicole H. Ma, Nick Rui

    Abstract

    We study $\textit{planning site formation}$ in language models---$\textit{where}$ internal representations of structurally-constrained future tokens form during the forward pass, and whether they causally drive generation. Using rhyming-couplet completion as a clean test of forward-looking constraint, we apply two lightweight methods (linear probing and activation patching) across Qwen3, Gemma-3, and Llama-3 at more than ten scales. Probing shows that future-rhyme information is linearly decodable at the line boundary, with signal that strengthens with scale in all three families. Activation patching reveals that only Gemma-3-27B causally relies on this encoding, exhibiting a $\textit{handoff}$ in which the causal driver migrates from the rhyme word to the line boundary around layer 30. Every other model we test conditions on the rhyme word throughout generation, with near-zero causal effect at the line boundary despite strong probe signal. We localize the Gemma-3-27B handoff to five attention heads through two-stage path patching that recover ${\sim90}$% of the rhyme-routing capacity at the newline.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Reasoning as State Transition: A Representational Analysis of Reasoning Evolution in Large Language Models

    Siyuan Zhang, Jialian Li, Yichi Zhang, Xiao Yang, Yinpeng Dong, Hang Su

    Abstract

    Large Language Models have achieved remarkable performance on reasoning tasks, motivating research into how this ability evolves during training. Prior work has primarily analyzed this evolution via explicit generation outcomes, treating the reasoning process as a black box and obscuring internal changes. To address this opacity, we introduce a representational perspective to investigate the dynamics of the model's internal states. Through comprehensive experiments across models at various training stages, we discover that post-training yields only limited improvement in static initial representation quality. Furthermore, we reveal that, distinct from non-reasoning tasks, reasoning involves a significant continuous distributional shift in representations during generation. Comparative analysis indicates that post-training empowers models to drive this transition toward a better distribution for task solving. To clarify the relationship between internal states and external outputs, statistical analysis confirms a high correlation between generation correctness and the final representations; while counterfactual experiments identify the semantics of the generated tokens, rather than additional computation during inference or intrinsic parameter differences, as the key driver of the transition. Collectively, we offer a novel understanding of the reasoning process and the effect of training on reasoning enhancement, providing valuable insights for future model analysis and optimization.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Separable Representations of Task Complexity and Deliberation in Reasoning Language Models.

    Xuan-Quang Nguyen, Hieu Vu, Dung Viet Nguyen, Hai T Luu, Linh D Tran, Tan Nguyen

    Abstract

    Reasoning-capable large language models (LLMs) produce explicit chain-of-thought (CoT) traces that scale with problem difficulty. While essential for complex reasoning, this behavior introduces unnecessary latency on simpler tasks. Traditional methods for shortening CoT, such as "think fast" prompting, often degrade accuracy on difficult problems. This paper investigates whether a targeted intervention is possible by examining how models internally represent task complexity and allocate reasoning length before generation begins. We demonstrate that task complexity is encoded with non-linear ordinal structure in pre-reasoning residual-stream activations. PCA visualizations reveal a U-shaped ordinal structure consistent with a continuous complexity gradient, which a non-linear probe can classify above chance. We then extract a "deliberation-associated" direction via contrastive prompting and apply a nullspace projection against confound directions to remove components like instruction compliance and style framing. Using a geometric alignment test, we find no evidence of geometric entanglement between the purified direction and the non-linear structure of complexity assessment. Finally, we test this separation through activation steering: negative steering along the purified direction reduces reasoning tokens by up to 22% on MATH-500 and GPQA-Diamond, with smaller effects on code generation and accuracy preserved within ~1% on most settings. Our results indicate that deliberation extent and task complexity occupy separable representational subspaces, enabling targeted modulation of LLM deliberation.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Mitigating Over-Personalization in Language Models via Structured Memory

    Abdal Hakeem Hannoon, Andrew Zhao, Mihir Narayan, Sharvin Goyal, Ivaxi Sheth

    Abstract

    Conversational language models now ship with persistent user memory, prepended to the system prompt as a flat textual list. Recent work has shown this format induces cross-domain leakage and memory-induced sycophancy. We investigate representation-level mitigations: reorganizing the same memory set at inference time into modular, domain-structured representations -- fixed-domain partitions, dynamic partitions, or a two-level memory tree -- without changing the underlying model or memory content. On PersistBench across seven frontier models, fixed partitioning reduces cross-domain leakage in six of seven models, while dynamic partitioning improves all seven and lowers leakage by $~8.8\%$ on average relative to the flat baseline, while preserving desired personalization. These transformations also stack on top of some prompt-based defenses. Our results indicate that imposing compositional structure on the memory block is a useful inductive bias for how models integrate persistent context, and motivate further work on structured memory representations.

    Abstract source
  • ICML · Workshop · 2nd Workshop on Compositional Learning: Safety, Interpretability, and Agents

    Language Elicits Emergent Symbol Processing in Vision Foundation Models

    Jung-Chun Liu, Naihao Deng, Joyce Chai

    Abstract

    Compositional reasoning requires a model to combine linguistic constituents and visual entities into task-relevant intermediate structures. A common assumption holds that reasoning resides in language models, while vision foundation models (VFMs) are treated as feature extractors. We ask whether symbolic mechanisms can emerge inside the visual stream. We train a language-conditioned vision transformer and introduce predicates as labels to measure whether layer-wise visual geometry tracks question-derived semantic conditions. We find that the visual stream develops a three-stage mechanism: 1) feature binding segregates scenes containing the referenced entity at the middle layer, 2) object grounding resolves the binding cluster into object-level substructure at the later layer, and 3) answer matching repartitions representations into answer-aligned groups at the final layer. Representational similarity analysis (RSA) and activation patching support this hierarchy, suggesting that language-conditioned vision encoders can instantiate symbol-like processing as query-dependent geometric organization.

    Abstract source
  • ICML · Workshop · Statistical Frameworks for Uncertainty in Agentic Systems

    Harmfulness Propagation Dynamics: Layer-wise Trajectories of Adversarial Intent in Large Language Models

    Noor I Mohammad

    Abstract

    We identify Harmfulness Propagation Dynamics (HPD). For harmful prompts, the projection of the last-token hidden state onto a learned harm direction rises monotonically with transformer depth, whereas benign prompts remain flat or oscillatory. This cross-layer signature reflects harmful intent as a progressively resolved semantic property: surface form appears early, while pragmatic intent consolidates later, making the trajectory shape more informative than any single-layer snapshot. Moreover, LDA-based harm directions, learned per layer, remain stable across random splits (pairwise cosine similarity $>0.97$), supporting the projection sequence as a reproducible structured signal. Building on HPD, we introduce HERALD (Harmful Encoding Recognition via Activation Layer Dynamics). This lightweight input moderator extracts a seven-dimensional feature record, slope, curvature, monotonicity, onset layer, and related statistics from the cross-layer projection sequence and classifies it with a 288-parameter MLP. \herald{} stores one $d$-dimensional direction per layer ($262$\,KB for a 32-layer, $d{=}4096$ model), requires no gradient computation during training, and adds only $2.6{\times}10^{-6}$ prefill FLOPs at inference. Across eight prompt-harmfulness benchmarks and four model families, HERALD achieves an average F1 score of $89.3$ on OLMo2-7B, surpassing all tested guard models on adversarial jailbreak detection ($98.4$ vs. $96.9$ F1) and outperforming prior latent-based methods by $2.3$-$4.1$ F1 points across all backbones. Per-instance trajectories provide machine-readable audit records that reveal when and how harmfulness emerges, offering an interpretability advantage over single-layer approaches. Code will be released at https://HERALD.github.io.

    Abstract source
  • ICML · Workshop · Statistical Frameworks for Uncertainty in Agentic Systems

    Confidence Calibration in Vision-Language-Action Models

    Tom Zollo, Richard Zemel

    Abstract

    Trustworthy robot behavior requires not only high levels of task success but also that the robot can reliably quantify how likely it is to succeed. To this end, we present a first-of-its-kind study of confidence calibration in vision-language-action (VLA) foundation models, which map visual observations and natural language instructions to low-level robot motor commands. We establish a confidence estimation baseline for VLAs, examine how task success relates to calibration error and how calibration evolves over time, and introduce two lightweight techniques to remedy the miscalibration we observe: prompt ensembles and action-wise Platt scaling. Our aim in this study is to begin to develop the tools and conceptual understanding necessary to render VLAs trustworthy via reliable uncertainty quantification.

    Abstract source
  • ICML · Workshop · Statistical Frameworks for Uncertainty in Agentic Systems

    Controlling the Risk of Corrupted Contexts for Language Models via Early-Exiting

    Andrea Wynn, Metod Jazbec, Charith Peris, Rinat Khaziev, Anqi Liu, Daniel Khashabi, Eric Nalisnick

    Abstract

    Large language models (LLMs) can be influenced by harmful or irrelevant context, which can significantly harm model performance on downstream tasks. This motivates principled designs in which LLM systems include built-in mechanisms to guard against such garbage in, garbage out'' scenarios. We propose a novel approach to limit the degree to which harmful context can degrade model performance. First, we define a baselinesafe'' behavior for the model -- the model's performance given no context at all (zero-shot). Next, we apply distribution-free risk control (DFRC) to control the extent to which the user-provided context can decay performance below this safe zero-shot baseline. We achieve this by leveraging dynamic early exit prediction, ignoring later attention heads that attend the most to the unsafe inputs. Finally, we propose modifications to DFRC that allow it to both control risk for harmful inputs \textit{and} leverage performance and efficiency gains on helpful inputs. We present both theoretical and empirical results across 9 tasks spanning in-context learning and open-ended question answering, showing that our approach can effectively control risk for harmful context and simultaneously achieve substantial computational efficiency gains with helpful context.

    Abstract source
  • ICML · Workshop · The Second Workshop on the Impact of Memorization on Trustworthy Foundation Models

    Alignment Whack-a-Mole : Finetuning Activates Verbatim Recall of Copyrighted Books in Large Language Models

    Xinyue Liu, Niloofar Mireshghallah, Jane C Ginsburg, Tuhin Chakrabarty

    Abstract

    Frontier LLM companies have assured courts that their models do not store training data and rely on alignment, system prompts, and output filters to block verbatim regurgitation of copyrighted works. We show that finetuning bypasses these protections: training GPT-4o, Gemini-2.5-Pro, and DeepSeek-V3.1 to expand plot summaries into full text causes them to reproduce up to 85-90\% of held-out copyrighted books, with single verbatim spans exceeding 460 words, using only semantic descriptions as prompts. This extraction generalizes across authors: finetuning exclusively on Haruki Murakami's novels unlocks verbatim recall from over 30 unrelated authors, while finetuning on synthetic text yields near-zero extraction, indicating that the task reactivates latent pretraining memorization rather than teaching new content. Three models from different providers memorize the same books in the same regions ($r \ge 0.90$), pointing to an industry-wide vulnerability. Our findings provide evidence that model weights store retrievable copies of copyrighted works and that finetuning-induced extraction undermines a key premise of recent fair use rulings, which have conditioned favorable outcomes on the adequacy of measures preventing reproduction of protected expression.

    Abstract source
  • ICML · Workshop · The Second Workshop on the Impact of Memorization on Trustworthy Foundation Models

    Estimating near-verbatim extraction risk in language models with decoding-constrained beam search

    A. Feder Cooper, Mark Lemley, Chris De Sa, Lea Duesterwald, Allison Casasola, Jamie Hayes, Katherine Lee, Daniel Ho, Percy Liang

    Abstract

    Probabilistic extraction is tractable only for verbatim memorization, and misses near-verbatim instances that pose similar privacy and copyright risks. Quantifying near-verbatim extraction risk is expensive: the set of near-verbatim suffixes is combinatorially large, and reliable Monte Carlo (MC) estimation can require ${\approx}\,100{,}000$ samples per sequence. To mitigate this cost, we introduce decoding-constrained beam search, which yields deterministic lower bounds on near-verbatim extraction risk at a cost comparable to ${\approx}\,20$ MC samples per sequence. Across experiments, our approach surfaces information invisible to verbatim methods: many more extractable sequences, substantially larger per-sequence extraction mass, and patterns in how near-verbatim extraction risk manifests across model sizes and types of text.

    Abstract source
  • ICML · Workshop · The Second Workshop on the Impact of Memorization on Trustworthy Foundation Models

    Internal Data Repetition Destroys Language Models

    Jessica Chudnovsky, Joshua Kazdan, Noam Levi, Rylan Schaeffer, Yegor Denisov-Blanch, Sanmi Koyejo, David Donoho

    Abstract

    Abstract: Language models are running out of high-quality training data, and even aggressively deduplicated corpora retain some amount of repetition. Earlier controlled studies predated Chinchilla-style scaling laws and could only measure the cost of repetition indirectly. We revisit repetition in the Chinchilla-style scaling regime, using a fitted no-repetition scaling law to report Compute-Equivalent Gain and Compute-Equivalent Loss. We show that repetition damage in this modernized regime is systematic in three ways. First, eval loss is worst at an intermediate repeat count $R$, so repeating a moderately sized subset many times hurts more than either repeating a large subset a few times or a small subset many times. Second, the location of this peak is well fit by a power law in model size. Finally, when repeated documents make up 10% of training tokens in a controlled exact-document repetition setting, the compute-equivalent loss can be large: on FineWeb-Edu-Dedup, the most damaging repeat count for a Qwen3-style 344M-parameter model at $OT=1$ matches the loss of a no-repetition run using about 67% of the FLOPs, under our fitted no-repetition scaling law. A misspecified linear regression with verbatim duplicates reproduces the same qualitative non-monotonicity in closed form, suggesting that such peaks can arise from a statistical tradeoff between memorization and generalization. Our findings give practitioners a way to predict which settings waste the most compute before they spend any of it.

    Abstract source
  • ICML · Workshop · The Second Workshop on the Impact of Memorization on Trustworthy Foundation Models

    The Source of Competence Shapes Metacognition in Language Models

    Roi Cohen, Gerard de Melo

    Abstract

    Large language models are increasingly expected not only to produce correct answers, but also to reliably estimate when they are likely to be wrong. Existing work largely assumes that metacognitive reliability degrades proportionally with capability: weaker models are expected to be correspondingly less confident or less calibrated. In this work, we challenge this assumption and show that metacognition depends strongly on the source and structure of competence rather than on raw performance alone. We systematically study confidence behavior across multiple capability regimes, including scale reduction, partial memory degradation, reasoning truncation, quantization, and evidence-grounded inference. Across these settings, we observe distinct metacognitive regimes and identify narrow overconfident failure bands in which models retain high confidence despite substantial capability loss. Surprisingly, models with comparable task accuracy often exhibit dramatically different calibration and overconfidence profiles depending on how their competence is obtained. In particular, partial or stale parametric memory induces substantially stronger overconfidence than either complete ignorance or evidence-grounded reasoning. These findings suggest that metacognitive reliability is partially separable from capability and is closely tied to the accessibility and stability of internal knowledge representations. Our results provide a new perspective on hallucination, calibration, and memory reliability in foundation models.

    Abstract source
  • ICML · Workshop · The Second Workshop on the Impact of Memorization on Trustworthy Foundation Models

    What to Forget in Unlearning? Forget Set Curation for Language Models

    Animesh Jha, Arpandeep Khatua, Youssef Allouah, Sanmi Koyejo

    Abstract

    Machine unlearning aims to remove targeted data or behaviors from a trained model without retraining from scratch. Yet most evaluations assume that the examples to forget are already known. In realistic language-model deployments, a requester may ask a model to stop reproducing a song or book without knowing which spans, documents, quotations, or near-duplicates in a trillion-token corpus support that behavior. We study this missing upstream problem, forget set curation: mapping a suppression request to the data passed to an unlearning algorithm. We introduce CleanSlate, a benchmark for verbatim output suppression over songs and books, with model-specific extraction profiles, content-grounded QA, and capability-retention evaluations. CleanSlate exposes two failure modes. Natural lexical and exact-substring curators often yield forget sets that lead to weak suppression. An evaluation-aware curator suppresses requested continuations almost completely, but causes collateral regression on non-requested content and model-dependent capability loss. These results show that practical unlearning is not only an optimization problem once a forget set is given: the data chosen for forgetting determines both what can be unlearnt and what else is damaged.

    Abstract source
  • ICML · Workshop · The Second Workshop on the Impact of Memorization on Trustworthy Foundation Models

    Alignment-aware Data Selection for Unlearning in Contrastive Vision-Language Models

    Dongjun Hwang, Yejin Kim, Beomyun Kwon, Junsuk Choe

    Abstract

    Recent advances in contrastive vision-language models have increased the need to selectively remove knowledge of specific data, drawing attention to machine unlearning. In this paper, we observe that unlearning performance in contrastive VLMs largely depends on the composition of the forget set. Based on this insight, we propose ALISE, a data selection framework that measures each forget sample’s alignment with both the retain set and the full forget set, and selects samples accordingly. Extensive experiments across diverse downstream applications demonstrate that ALISE facilitates removing target knowledge in contrastive VLMs while preserving model utility.

    Abstract source
  • ICML · Workshop · The Second Workshop on the Impact of Memorization on Trustworthy Foundation Models

    Break the Output Geometry for Large Language Model Unlearning

    Yejin Kim, Shen, Seokwon Jung, Seong Joon Oh

    Abstract

    Current machine unlearning methods for large language models (LLMs) struggle with a persistent trade-off between forgetting effectiveness and overall model utility. We attribute this trade-off to two empirical observations: (i) layer-wise logit accumulation toward a target token is driven more by the output token itself than by the input query, and (ii) hidden states that produce the same token vary only along directions orthogonal to the unembedding row $u_k$, creating what we term the same-output plane. Because a forget input shares its logit pathway with all retained contexts generating the same token, simply suppressing the forget logit inevitably compromises performance on those contexts. To overcome this, we propose **Break the Output Geometry (BOG)**. This approach preserves the same-output plane and specifically displaces the forget input away from it along the single direction $u_k$, using a margin derived from the model’s cross-target statistics. Empirically, BOG demonstrates a superior forget–retain trade-off on the TOFU benchmark.

    Abstract source
  • ICML · Workshop · The Second Workshop on the Impact of Memorization on Trustworthy Foundation Models

    Detecting Functional Memorization in Code Language Models

    Matthieu Meeus, Anil Ramakrishna, Matthew Grange, Zheng Xu, Luca Melis

    Abstract

    Large language models (LLMs) increasingly generate code at scale, trained on large corpora that may include restricted or proprietary sources. Meanwhile, models have been shown to memorize and reproduce training data, with audits focusing on textual overlap between training examples and model generations. Code, however, can be functionally equivalent while textually dissimilar. In this work, we study functional memorization: extraction of functional logic beyond what verbatim metrics detect. We construct a counterfactual setup for Olmo-3-32B, comparing a midtrained model (exposed to target code) against a pretrained reference (not exposed). We prompt both models with Python function signatures and measure both textual and functional similarity (i.e., LLM-as-a-judge, execution-based). Our results show clear evidence of functional memorization, highlighting the need for auditing metrics that go beyond textual overlap.

    Abstract source