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

1,921–1,940 of 2,664

  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    TamperBench: A Systematic Framework to Stress-Test LLM Safety Under Fine-Tuning and Tampering

    Saad Hossain, Tom Tseng, Punya Syon Pandey, Samanvay Vajpayee, Matthew Kowal, Nayeema Nonta, Samuel Simko, Stephen Casper, Zhijing Jin, Kellin Pelrine, Sirisha Rambhatla

    Abstract

    As open-weight LLMs are increasingly deployed—including in agentic systems—their safety depends on tamper resistance to downstream modifications that weaken safeguards, whether accidental or intentional. Yet tamper resistance lacks standardized evaluation: prior studies vary in datasets, metrics, and tampering configurations, making results difficult to compare across models and defenses. We introduce TamperBench, a unified framework that consolidates weight-space and representation-space tampering attacks, supports realistic adversarial evaluation via systematic hyperparameter sweeps, and jointly measures safety and utility with reproducible protocols. Using TamperBench, we benchmark 21 open-weight LLMs (including defense-augmented variants) across nine tampering threats and find that jailbreak-tuning is typically the most severe attack, that base vs. post-trained variants can differ in out-of-the-box tamper resistance (with opposite trends across Llama-3 and Qwen3), and that Triplet is often the most robust and capability-preserving defense. Code is available at: https://github.com/criticalml-uw/TamperBench.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    Not All Clients Are Equal: Collaborative Model Personalization on Heterogeneous Multi-Modal Clients

    Minhyuk Seo, Taeheon Kim, Hankook Lee, Jonghyun Choi, Tinne Tuytelaars

    Abstract

    As AI becomes more personal, e.g., Agentic AI, there is an increasing need for personalizing models for various use cases. Personalized federated learning (PFL) enables each client to collaboratively leverage other clients' knowledge for better adaptation to the task of interest, without privacy risks. Despite its potential, existing PFL methods remain confined to rather simplified scenarios where data and models are the same across clients. To move towards realistic scenarios, we propose FedMosaic, a method that jointly addresses data and model heterogeneity with a task-relevance-aware model aggregation strategy to reduce parameter interference, and a dimension-invariant module that enables knowledge sharing across heterogeneous architectures without huge computational cost. To mimic the real-world task diversity, we propose a multi-modal PFL benchmark spanning 40 distinct tasks with distribution shifts over time. The empirical study shows that FedMosaic outperforms the state-of-the-art PFL methods, excelling in both personalization and generalization capabilities under challenging, realistic scenarios.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    Localized Dynamics-Aware Domain Adaption for Off-Dynamics Offline Reinforcement Learning

    Zhangjie Xia, Yu Yang, Pan Xu

    Abstract

    Off-dynamics offline reinforcement learning (RL) aims to learn a policy for a target domain using limited target data and abundant source data collected under different transition dynamics. Existing methods typically address dynamics mismatch either globally over the state space or via pointwise data filtering; these approaches can miss localized cross-domain similarities or incur high computational cost. We propose Localized Dynamics-Aware Domain Adaptation (LoDADA), which exploits localized dynamics mismatch to better reuse source data. LoDADA clusters transitions from source and target datasets and estimates cluster-level dynamics discrepancy via domain discrimination. Source transitions from clusters with small discrepancy are retained, while those from clusters with large discrepancy are filtered out. This yields a fine-grained and scalable data selection strategy that avoids overly coarse global assumptions and expensive per-sample filtering. We provide theoretical insights and extensive experiments across environments with diverse global and local dynamics shifts. Results show that LoDADA consistently outperforms state-of-the-art off-dynamics offline RL methods.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    Understanding Reasoning Collapse in Multi-Turn Agent Reinforcement Learning

    Zihan Wang, Chi Gui, Xing Jin, Qineng Wang, Licheng Liu, Kangrui Wang, Shiqi Chen, Linjie Li, Zhengyuan Yang, Pingyue Zhang, Yiping Lu, Jiajun Wu, Li Fei-Fei, Lijuan Wang, Yejin Choi, Manling Li

    Abstract

    In closed-loop multi-turn agent reinforcement learning, LLM agents exhibit reasoning collapse, where reasoning shift toward generic templates, weakly coupled to the inputs. We firstly identify that such collapse is easy to miss with entropy or surface diversity metrics since reasoning text still varies but becomes input-agnostic. We then propose an information-theoretic decomposition of reasoning variable $Z$’s variation into conditional entropy $H(Z\mid X)$ (randomness under same input) and mutual information (MI) $I(X;Z)$ (input dependence). Template collapse occurs when $H(Z\mid X)$ stays high while $I(X;Z)$ drops, yielding diverse-looking but generic reasoning. To make $I(X;Z)$ a reproducible and sanity-checkable diagnostic, we further introduce an MI-style retrieval protocol treating each reasoning trace $Z$ as a query to retrieve its source $X$ from a minibatch; accuracy degrades toward chance under collapse. We thus provide a signal-to-noise ratio explanation for why $I(X;Z)$ drops: when within-input reward variance $\mathrm{Var}(R\mid X)$ is low, task gradients weaken and input-agnostic regularizers (KL, entropy) dominate, flattening cross-input differences. Finally, we propose reward-variance-aware filtering to prioritize high-signal updates. Across multi-turn environments, model scales, and modalities (including VLMs), this improves input dependence, stability, and performance while remaining competitive with state-of-the-art stabilization baselines.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    Can Linear Probes Effectively Measure LLM Uncertainty ?

    Ramzi Dakhmouche, Adrien Letellier, Hossein Gorji

    Abstract

    Effective Uncertainty Quantification (UQ) represents a key aspect for reliable deployment of Large Language Models (LLMs) in automated decision-making operating under evolving data distributions and beyond. Yet, for LLM generation with structured output, the state-of-the-art in UQ is still dominated by the naive baseline given by the maximum softmax score. To address this shortcoming, we demonstrate that taking a principled approach via Bayesian statistics leads to improved performance despite leveraging the simplest possible model, namely linear regression. More precisely, we propose to train multiple Bayesian linear models, each predicting the output of a layer given the output of the previous one. Based on the obtained layer-level posterior distributions, we infer the global uncertainty level of the LLM by identifying a sparse combination of distributional features, leading to an efficient UQ scheme. Numerical experiments on various LLMs show consistent improvement over state-of-the-art baselines.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    Hindsight-Anchored Policy Optimization: Turning Failure into Feedback in Sparse Reward Settings

    Yuning Wu, Ke Wang, Devin Chen, Kai Wei

    Abstract

    Reinforcement Learning with Verifiable Rewards (RLVR) has emerged as a promising paradigm for post-training reasoning models. However, group-based methods such as Group Relative Policy Optimization (GRPO) face a critical dilemma in sparse-reward settings: pure Reinforcement Learning (RL) suffers from advantage collapse and high-variance gradient estimation, while mixed-policy optimization introduces persistent distributional bias. To resolve this dilemma, we introduce Hindsight-Anchored Policy Optimization (HAPO). HAPO employs the Synthetic Success Injection (SSI) operator, a hindsight mechanism that selectively anchors optimization to teacher demonstrations during failure. This injection is governed by a Thompson sampling-inspired gating mechanism, creating an autonomous, self-paced curriculum. Theoretically, we demonstrate that HAPO achieves asymptotic consistency: by naturally annealing the teacher signal as the policy improves, HAPO recovers the unbiased on-policy gradient. This ensures off-policy guidance acts as a temporary scaffold rather than a persistent ceiling, enabling the model to surpass the limitations of static teacher forcing.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    In-Context Adaptation

    Yongqiang Chen, Chenxi Liu, Qingyi Guo, Bo Han, Kun Zhang

    Abstract

    A defining characteristic of intelligence is reasoning – a capability of adapting learned knowledge to unfamiliar contexts. Although large language models (LLMs) exhibit strong reasoning capabilities in-context, it remains unclear whether they can perform human-like in-context reasoning under out-of-distribution (OOD) contexts. In this work, we introduce In-Context Adaptation (ICA), a paradigm that formalizes reasoning as the adaptive use of learned knowledge through a few demonstrations from new environments. Using a benchmark adapted from invariant learning, we show that transformers trained via next-token prediction are prone to spurious correlations and fail to reason effectively in OOD settings. To address this limitation, we propose Adaptive Context Engineering (ACE), a simple context reconstruction strategy that promotes adaptive exploitation of learned knowledge. Empirical results demonstrate significant improvements in in-context reasoning under distribution shifts, highlighting a path toward more human-like adaptive generalization in transformers.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    Layer by layer, module by module: Choose both for optimal OOD probing of ViT

    Ambroise Odonnat, Vasilii Feofanov, Laetitia Chapel, Romain Tavenard, Ievgen Redko

    Abstract

    Recent studies have observed that intermediate layers of foundation models often yield more discriminative representations than the final layer. While initially attributed to autoregressive pretraining, this phenomenon has also been identified in models trained via supervised and discriminative self-supervised objectives. In this paper, we conduct a comprehensive study to analyze the behavior of intermediate layers in pretrained vision transformers. Through extensive linear probing experiments across a diverse set of image classification benchmarks, we find that distribution shift between pretraining and downstream data is the primary cause of performance degradation in deeper layers. Furthermore, we perform a fine-grained analysis at the module level. Our findings reveal that standard probing of transformer block outputs is suboptimal; instead, probing the activation within the feedforward network yields the best performance under significant distribution shift, whereas the normalized output of the multi-head self-attention module is optimal when the shift is weak. The code is available at https://github.com/ambroiseodt/vit-probing.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    OASIS: Online Sample Selection for Continual Instruction Tuning

    Minjae Lee, Minhyuk Seo, Tingyu Qu, Tinne Tuytelaars, Jonghyun Choi

    Abstract

    In continual instruction tuning (CIT) scenarios, where new instruction tuning data continuously arrive in an online streaming manner, training delays from large-scale data significantly hinder real-time adaptation. Data selection can mitigate this overhead, but existing strategies often rely on pretrained reference models, which are impractical in CIT setups since future data are unknown. Recent reference model-free online sample selection methods address this, but typically select a fixed number of samples per batch (e.g., top-k), making them vulnerable to distribution shifts where informativeness varies across batches. To address these limitations, we propose OASIS, an adaptive online sample selection approach for CIT that (1) selects informative samples by estimating each sample's informativeness relative to all previously seen data, beyond batch-level constraints, and (2) minimizes informative redundancy of selected samples through iterative selection score updates. Experiments on various large foundation models show that OASIS, using only 25 percent of the data, achieves comparable performance to full-data training and outperforms the state-of-the-art sampling methods.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    SymTorch: A Framework for Symbolic Distillation of Deep Neural Networks

    Liz Tan, Adil Soubki, Miles Cranmer

    Abstract

    Symbolic distillation replaces neural networks, or components thereof, with interpretable, closed-form mathematical expressions. This approach has shown promise in discovering physical laws and mathematical relationships directly from trained deep learning models, yet adoption remains limited due to the engineering barrier of integrating symbolic regression into deep learning workflows. We introduce SymTorch, a library that automates this distillation by wrapping neural network components, collecting their input-output behavior, and approximating them with human-readable equations via PySR. SymTorch handles the engineering challenges that have hindered adoption: GPU-CPU data transfer, input-output caching, model serialization, and seamless switching between neural and symbolic forward passes. We demonstrate SymTorch across diverse architectures including GNNs, PINNs and transformer models. Finally, we present a proof-of-concept for accelerating LLM inference by replacing MLP layers with symbolic surrogates, achieving an 8.3\% throughput improvement with moderate performance degradation.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    Prior Distribution and Model Confidence

    Maksim Kazanskii, Artem Kasianov

    Abstract

    We study how the training data distribution affects confidence and performance in image classification models. We introduce Embedding Density, a model-agnostic framework that estimates prediction confidence by measuring the distance of test samples from the training distribution in embedding space, without requiring retraining. By filtering low-density (low-confidence) predictions, our method significantly improves classification accuracy. We evaluate Embedding Density across multiple architectures and compare it with state-of-the-art out-of-distribution (OOD) detection methods. The proposed approach is potentially generalizable beyond computer vision.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    Evaluating Domain-Shift Generalization of Liquid Neural Networks in Autonomous Driving

    Mihaela-Larisa Clement, Mónika Farsang, Mihai-Teodor Stanusoiu, Ramin Hasani, Daniela Rus, Radu Grosu, Ezio Bartocci

    Abstract

    Specialized small models are gaining increasing interest for autonomous driving subtasks such as steering control, where efficient learning and strong generalization are essential. Liquid neural networks have demonstrated promising performance in continuous control, yet their task-learning behavior and cross-domain generalization remain underexplored. In this work, we compare bio-inspired liquid recurrent architectures with gated recurrent networks by training them on an indoor small-scale driving dataset and evaluating their transfer to an outdoor, full-scale driving environment. Liquid models exhibit substantially stronger zero-shot transfer, whereas gated recurrent networks often fail to complete driving episodes without large deviations or crashes. To better understand these differences, we analyze internal representations using saliency-based and manifold learning techniques. Our results show that liquid models learn more task-aligned representations that remain stable across domains, indicating stronger task abstraction capabilities.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    DISCO: Diversifying Sample Condensation for Efficient Model Evaluation

    Alexander Rubinstein, Benjamin Raible, Martin Gubri, Seong Joon Oh

    Abstract

    To catch or avoid drift in deployed and in-development models, we need to evaluate them as often as possible. For modern models, a single training run can produce hundreds of checkpoints, e.g., OLMo 2-32B has 753 on Hugging Face. Evaluating each of these checkpoints is currently impossible because even a single full evaluation becomes prohibitively expensive. Benchmarks such as LMMs-Eval and HELM demand thousands of GPU hours per model. To address the growing cost of standard evaluation, new methods focused on efficient evaluation have started to appear. The typical approach follows two steps. First, select an anchor subset of data. Second, train a mapping from the accuracy on this subset to the final test result. The drawback is that anchor selection depends on clustering, which can be complex and sensitive to design choices. We argue that promoting diversity among samples is not essential; what matters is to select samples that maximise diversity in model responses. Our method, Diversifying Sample Condensation (DISCO), selects the top-k samples with the greatest model disagreements. This uses greedy, sample-wise statistics rather than global clustering. The approach is conceptually simpler. From a theoretical view, inter-model disagreement provides an information-theoretically optimal rule for such greedy selection. DISCO shows empirical gains over prior methods, achieving state-of-the-art results in performance prediction across MMLU, Hellaswag, Winogrande, and ARC. By enabling cheap, repeatable performance estimation, DISCO supports operating at scale: reliable monitoring and comparison of many models with minimal compute, so that frequent checkpoint evaluation and drift detection become feasible during development and in deployed ML systems.

    Abstract source
  • ICLR · Workshop · Catch, Adapt, and Operate: Monitoring ML Models Under Drift

    CATS: Conformalized Adaptive Test-Time Scaling

    Mohammad Sadegh Akhondzadeh, Soroush H. Zargarbashi, Simone Antonelli, Aleksandar Bojchevski

    Abstract

    Reasoning language models (RLMs) have shown significant improvements through test-time scaling. However, these gains come at the cost of more resource-intensive and slower inference, leading to latencies that directly impacts user experience. This cost can be reduced by avoiding overthinking and responding quickly to simple queries. Ideally, models should adapt their thinking strategy to the difficulty of the task. Such adaptivity is increasingly feasible because recent foundation models already provide discrete options for reasoning effort (e.g., low, high). We provide a framework for adaptive test-time scaling with a guarantee of controlled risk. Our method estimates task difficulty based on the probability of success at each reasoning level (while keeping additional cost minimal) and adjusts its output via conformal risk control. Specifically, our method guarantees that the probability of producing an incorrect answer remains below a user-specified tolerance level, while adaptively allocating less compute to easier queries and more to harder ones. Our results demonstrate that an appropriate reasoning level can be selected automatically while ensuring rigorous statistical guarantees.

    Abstract source
  • ICLR · Workshop · VerifAI-2: The Second Workshop on AI Verification in the Wild

    NANOZK: Layerwise Zero-Knowledge Proofs for Verifiable Large Language Model Inference

    Zhaohui Wang

    Abstract

    When users query proprietary LLM APIs, they receive outputs with no cryptographic assurance that the claimed model was actually used. Service providers could substitute cheaper models, apply aggressive quantization, or return cached responses—all undetectable by users paying premium prices for frontier capabilities. We present NANOZK, a zero-knowledge proof system that makes LLM inference verifiable: users can cryptographically confirm that outputs correspond to a specific model's computation. Our key insight is that transformer inference naturally decomposes into independent layer computations, enabling a layerwise proof framework where each layer generates a constant-size proof regardless of model width. This decomposition sidesteps the scalability barrier facing monolithic approaches and enables parallel proving. We develop lookup table approximations for non-arithmetic operations (softmax, GELU, LayerNorm) that introduce zero measurable accuracy loss, and introduce Fisher information-guided verification for scenarios where proving all layers is impractical. On GPT-2 scale transformers, NANOZK generates proofs in 43 seconds with 6.9KB proof size and 23ms verification time—achieving 52× speedup over EZKL while maintaining formal soundness guarantees (epsilon < 10^-37). Lookup approximations preserve model perplexity exactly, enabling verification without quality compromise.

    Abstract source
  • ICLR · Workshop · VerifAI-2: The Second Workshop on AI Verification in the Wild

    The Dual Nature of Unlearning: Impact of Fact Salience and Model Fine-Tuning

    Anna Borisiuk, Andrey Savchenko, Alexander Panchenko, Elena Tutubalina

    Abstract

    Machine Unlearning (MU) enables Large Language Models (LLMs) to remove unsafe or outdated information. However, existing work assumes that all facts are equally forgettable and largely ignores whether the forgotten knowledge originates from pretraining or supervised fine-tuning (SFT). In this paper, we introduce DUAL (Dual Unlearning Evaluation across Training Stages), a benchmark of 28.6k Wikidata-derived triplets annotated with fact popularity using Wikipedia link counts and LLM-based salience scores. Our experiments show that pretrained and SFT models respond differently to unlearning. An SFT step on the forget data yields smoother forgetting, more stable tuning, and 10-50% higher retention, while direct unlearning on pretrained models remains unstable and prone to relearning or catastrophic forgetting.

    Abstract source
  • ICLR · Workshop · VerifAI-2: The Second Workshop on AI Verification in the Wild

    Conv-to-Bench: Evaluating Language Models Via User–Assistant Dialogues In Code Tasks

    Victor dos Santos, André Castro, Samuel de Souza Toledo, Bruno Calura, Lisandra de Moura Menezes, Raul Mata, Telma de Lima Soares, Bryan Lincoln Marques de Oliveira

    Abstract

    The rapid advancement of Large Language Models (LLMs) has outpaced the scalability of traditional evaluation benchmarks, which remain heavily dependent on labor-intensive expert curation. We address this bottleneck with Conv-to-Bench, a multi-stage framework that automatically transforms authentic multi-turn user-assistant dialogues into structured, verifiable requirement checklists. By leveraging the "instructional evolution" found in real-world conversational logs, our approach deconstructs fragmented user intent into consolidated instructions and binary evaluation criteria. Applied to the programming domain, Conv-to-Bench produces evaluation sets that demonstrate near-perfect alignment with human-authored standards like BigCodeBench, achieving Spearman correlations of up to ρ = 1.000 with significantly lower computational overhead. Validation of the LLM-as-a-judge framework further confirms its reliability, with the primary evaluator achieving substantial agreement with human-verified ground truth (κ = 0.705). Our comprehensive ablation studies reveal that while multi-turn interactions capture the iterative evolution of user intent, instruction-centric extraction provides a more robust foundation. Ultimately, Conv-to-Bench provides a scalable, cost-effective paradigm for maintaining high-fidelity evaluation standards as user-centric AI applications continue to diversify.

    Abstract source
  • ICLR · Workshop · VerifAI-2: The Second Workshop on AI Verification in the Wild

    ToolPRMBench: Evaluating and Advancing Process Reward Models for Tool-using Agents

    Dawei Li, Yuguang Yao, Zhen Tan, huan liu, Ruocheng Guo

    Abstract

    Reward-guided search methods have demonstrated strong potential in enhancing tool-using agents by effectively guiding sampling and exploration over complex action spaces. As a core design, those search methods utilize process reward models (PRMs) to provide step-level rewards, enabling more fine-grained monitoring. However, there is a lack of systematic and reliable evaluation benchmarks for PRMs in tool-use settings. In this paper, we introduce ToolPRMBench, a large-scale benchmark specifically designed to evaluate PRMs for tool-using agents. ToolPRMBench is built on top of several representative tool-use benchmarks and converts agent trajectories into step-level test cases. Each case contains the interaction history, a correct action, a plausible but incorrect alternative, and relevant tool metadata. We respectively utilize offline sampling to isolate local single-step errors and online sampling to capture realistic multi-step failures from full agent rollouts. A multi-LLM verification pipeline is proposed to reduce label noise and ensure data quality. We conduct extensive experiments across large language models, general PRMs, and tool-specialized PRMs on ToolPRMBench. The results reveal clear differences in PRM effectiveness and highlight the potential of specialized PRMs for tool-using.

    Abstract source
  • ICLR · Workshop · VerifAI-2: The Second Workshop on AI Verification in the Wild

    Escaping Model Collapse via Synthetic Data Verification: Near-term Improvements and Long-term Convergence

    Bingji Yi, Qiyuan Liu, Yuwei Cheng, Haifeng Xu

    Abstract

    Synthetic data has been increasingly used to train frontier generative models. However, recent study raises key concerns that iteratively retraining a generative model on its self-generated synthetic data may keep deteriorating model performance, a phenomenon often coined model collapse. In this paper, we investigate ways to modify the synthetic retraining process to avoid model collapse, and even possibly help reverse the trend from collapse to improvement. Our key finding is that by injecting information through an external synthetic data verifier, whether a human or a better model, synthetic retraining will not cause model collapse. Specifically, we situate our theoretical analysis in the fundamental linear regression setting, showing that verifier-guided retraining can yield near-term improvements but ultimately drives the parameter estimate to the verifier's “knowledge center” in the long run. Our theory further predicts that, unless the verifier is perfectly reliable, these early gains will plateau and may even reverse. Indeed, our experiments across linear regression, Variational Autoencoders (VAEs) trained on MNIST, and SmolLM2-135M on the XSUM task confirm these theoretical insights.

    Abstract source
  • ICLR · Workshop · VerifAI-2: The Second Workshop on AI Verification in the Wild

    DafnyLLM: Pre-training Dafny Representations with Large Language Models for Code Verification

    Shentong Mo

    Abstract

    Formal verification requires a deep integration of program semantics and logical specifications, posing challenges beyond those addressed by general-purpose code language models. In particular, the Dafny language introduces a tightly coupled syntax of implementation and specification, demanding models that can capture both procedural structure and verification intent. In this work, we propose DafnyLLM, the first pre-trained large language model tailored for the Dafny verification language. DafnyLLM leverages hybrid structural priors, including abstract syntax trees, control/data flow graphs, and assertion flow graphs, to encode rich program and specification semantics. To support Dafny’s long-range dependencies across intertwined definitions, specifications, and proofs, we design a sparse attention mechanism with memory and bridge tokens, enabling efficient and scalable modeling of verification contexts. We pre-train DafnyLLM on a curated corpus of real-world Dafny programs and evaluate it on verification-aware downstream tasks, such as specification-conditioned code retrieval and assertion classification. Experimental results show that DafnyLLM outperforms state-of-the-art code models by a significant margin, demonstrating the importance of incorporating verification-specific structure in code representation learning.

    Abstract source