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

781–800 of 822

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

    Uncertainty Drives Social Bias Changes in Quantized Large Language Models

    Stanley Bryan Hua, Sanae Lotfi, Irene Chen

    Abstract

    Aggregate bias metrics are fundamentally misleading for quantized large language models: quantization causes up to 21% of individual responses to flip between biased and unbiased states while aggregate scores remain unchanged, creating invisible harms that standard evaluations fail to detect. To reveal this hidden phenomenon, we introduce PostTrainingBiasBench, a unified framework for rigorous bias evaluation, and conduct the first large-scale study of 50 quantized models across 13 closed- and open-ended benchmarks. We find these flips are strongly linked to model uncertainty: uncertain responses are 3-11x more likely to change than the confident ones. Through controlled intervention via preference optimization, we establish causal evidence that uncertainty drives response flipping. Quantization strength amplifies the effect (4-bit quantized models show 4-6x more behavioral changes than 8-bit). Critically, these shifts asymmetrically impact demographic groups, with bias can worsen by up to 18.6% for some groups while improving by 14.1% for others, yielding misleadingly neutral aggregate outcomes. Larger models show no consistent robustness advantage, and group-specific shifts vary unpredictably across model families. Together, our findings demonstrate that compression fundamentally reshapes bias patterns, underscoring the need for rigorous post-quantization evaluation and interventions to ensure reliability in practice.

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

    Uncertainty Drives Social Bias Changes in Quantized Large Language Models

    Stanley Bryan Hua, Sanae Lotfi, Irene Chen

    Abstract

    Aggregate bias metrics are fundamentally misleading for quantized large language models: quantization causes up to 21% of individual responses to flip between biased and unbiased states while aggregate scores remain unchanged, creating invisible harms that standard evaluations fail to detect. To reveal this hidden phenomenon, we introduce PostTrainingBiasBench, a unified framework for rigorous bias evaluation, and conduct the first large-scale study of 50 quantized models across 13 closed- and open-ended benchmarks. We find these flips are strongly linked to model uncertainty: uncertain responses are 3-11x more likely to change than the confident ones. Through controlled intervention via preference optimization, we establish causal evidence that uncertainty drives response flipping. Quantization strength amplifies the effect (4-bit quantized models show 4-6x more behavioral changes than 8-bit). Critically, these shifts asymmetrically impact demographic groups, with bias can worsen by up to 18.6% for some groups while improving by 14.1% for others, yielding misleadingly neutral aggregate outcomes. Larger models show no consistent robustness advantage, and group-specific shifts vary unpredictably across model families. Together, our findings demonstrate that compression fundamentally reshapes bias patterns, underscoring the need for rigorous post-quantization evaluation and interventions to ensure reliability in practice.

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

    Tracing Pharmacological Knowledge in Large Language Models

    Basil Khwaja, Dylan Chen, Guntas Toor, Anastasiya Kuznetsova

    Abstract

    Large language models (LLMs) have shown strong empirical performance across pharmacology and drug discovery tasks, yet the internal mechanisms by which they encode pharmacological knowledge remain poorly understood. In this work, we investigate how drug-group semantics are represented and retrieved within Llama-based biomedical language models using causal and probing-based interpretability methods. We apply activation patching to localize where drug-group information is stored across model layers and token positions, and complement this analysis with linear probes trained on token-level and sum-pooled activations. Our results demonstrate that early layers play a key role in encoding drug-group knowledge, with the strongest causal effects arising from intermediate tokens within the drug-group span rather than the final drug-group token. Linear probing further reveals that pharmacological semantics are distributed across tokens and are already present in the embedding space, with token-level probes performing near chance while sum-pooled representations achieve maximal accuracy. Together, these findings suggest that drug-group semantics in LLMs are not localized to single tokens but instead arise from distributed representations. This study provides the first systematic mechanistic analysis of pharmacological knowledge in LLMs, offering insights into how biomedical semantics are encoded in large language models.

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

    PepRePs: Peptide-Retargeted Phosphatases via Generative Language Models

    Lauren Hong, Tai-Chen Ho, Yi-Shiuan Tseng, Sophia Vincoff, Tong Chen, Po-Han Chen, Pranam Chatterjee

    Abstract

    Phosphorylation encodes a fast, reversible layer of regulation that directly governs protein activity, signaling flow, and cell state transitions. While kinases and phosphatases collectively shape these landscapes, existing tools lack the ability to selectively rewrite phosphorylation states of individual, often disordered, proteins inside cells. Here, we introduce Peptide-Retargeted Phosphatases (PepRePs), a genetically encodable proteome-editing platform that uses protein language model-derived peptide binders to localize phosphatase activity to user-specified targets. PepRePs enable targeted dephosphorylation of endogenous and exogenous proteins, including Rab8a and tau, reducing site-specific phosphorylation and producing downstream functional effects linked to altered cellular behavior. By coupling programmable peptide binders with modular phosphatase domains, PepRePs provide a mechanism-aware way to perturb signaling networks at the level of post-translational control rather than gene expression. This work positions targeted dephosphorylation as a scalable strategy for probing and reprogramming phosphorylation-driven cell states, with implications for both systems biology and therapeutic intervention in diseases dominated by signaling dysregulation.

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

    Rewriting protein alphabets with language models

    Lorenzo Pantolini, Gabriel Studer, Laura Engist, Ieva Pudžiuvelytė, Florian Pommerening, Andrew Waterhouse, Stefan Bienert, Gerardo Tauriello, Martin Steinegger, Torsten Schwede, Janani Durairaj

    Abstract

    Detecting remote homology with speed and sensitivity is crucial for tasks like function annotation and structure prediction. We introduce a novel approach using contrastive learning to convert protein language model embeddings into a new 20-letter alphabet, TEA, enabling highly efficient large-scale protein homology searches. Searching with our alphabet performs on par with and complements structure-based methods without requiring any structural information, and with the speed of sequence search. Ultimately, we bring the exciting advances in protein language model representation learning to the plethora of sequence bioinformatics algorithms developed over the past century, offering a powerful new tool for biological discovery.

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

    JUST ADD STRUCTURE: PROTEIN LANGUAGE MODELS COMBINED WITH STRUCTURAL EQUIVARIANCE EXCEL AT PROTEIN TASKS

    Qurat ul ain Qurat ul ain, Charlotte Deane, Yee Whye Teh, Carlos Outeiral, Matteo Cagiada

    Abstract

    Accurate in silico prediction of protein properties, functional fitness, and mutational effects remains a central challenge in protein engineering and therapeutic design. While Protein Language Models (PLMs) successfully capture rich evolutionary and functional constraints from sequence data, they only indirectly encode the spatial and geometric information that fundamentally governs protein function. Consequently, state-of-the-art approaches typically rely on extensive fine-tuning, ensembling, or the incorporation of handcrafted structural features to achieve competitive accuracy, making them computationally expensive and difficult to scale. In this work, we demonstrate that explicit geometric modeling can substitute for, and in most cases outperform, large-scale PLM fine-tuning, with much higher parameter efficiency. Our approach, ProtEGNN, pairs PLM residue representations with a lightweight E(3)-Equivariant Graph Neural Network, competing with or achieving state-of-the-art performance across seven different benchmarks in protein property, mutational effect and function prediction, while needing 100–1000× fewer parameters than competing approaches. Notably, even when paired with the smallest readily available PLM, ESM2-T6 (8M parameters), ProtEGNN matches fine-tuned, sequence-only methods on mutational effect prediction, despite training orders of magnitude fewer parameters. Together, these results highlight geometric inductive bias as a powerful and scalable alternative to task-specific fine-tuning of large PLMs for protein modeling.

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

    Mechanistic Interpretability of Antibody Language Models Using SAEs

    Rebonto Haque, Oliver Turnbull, Anisha Parsan, Nithin Parsan, John J. Yang, Charlotte Deane

    Abstract

    Sparse autoencoders (SAEs) are a mechanistic interpretability technique that have been used to provide insight into learned concepts within large protein language models. Here, we employ TopK and Ordered SAEs to investigate autoregressive antibody language models, and steer their generation. We show that TopK SAEs can reveal biologically meaningful latent features, but high feature–concept correlation does not guarantee causal control over generation. In contrast, Ordered SAEs impose a hierarchical structure that reliably identifies steerable features, but at the expense of more complex and less interpretable activation patterns. These findings advance the mechanistic interpretability of domain-specific protein language models and suggest that, while TopK SAEs suffice for mapping latent features to concepts, Ordered SAEs are preferable when precise generative steering is required.

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

    Methylation-Aware Embedding Geometry Emerges from Bisulfite Pretraining in DNA Language Models

    Jiajie Xiao, Salwan Butrus, Nathan Hunkapiller

    Abstract

    DNA methylation encodes regulatory information beyond the DNA sequence, but most genomic language models (gLMs) miss this important modality because they are pretrained on native DNA only. We test whether a widely used DNA checkpoint can be retrofitted into a methylation-aware model by continual pretraining on bisulfite sequencing (BS-seq) reads, where methylation is implicitly encoded into token identities via C$\rightarrow$T conversion. Rather than proposing a new architecture, we ask for compact, interpretable evidence that methylation is encoded in representation space. Using DNABERT2 continually pretrained on a multi-tissue BS-seq atlas, we show two simple geometric diagnostics: (i) per-read embedding norms become bimodal and align with hypo/hypermethylated contexts, and (ii) cosine distances between genomically matched tumor--normal read pairs increase substantially after BS-seq adaptation, relative to the native checkpoint. These results suggest that simple BS-seq retrofitting can endow a standard DNA gLM with biologically meaningful, increased, label-light epigenetic sensitivity.

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

    Adversarial Iterative Unit Test Generation with Large Language Models

    Dongjun Lee, Juyong Lee, Changho Hwang, Kimin Lee

    Abstract

    Unit testing is a critical practice in software development, aimed at detecting bugs and ensuring the robustness of individual program components. However, writing comprehensive unit tests is challenging, as it requires a deep understanding of the source code and thorough coverage of edge cases. In this work, we propose ADIT (ADversarial Iterative unit Test generation), a novel framework that generates high-quality unit tests through an adversarial process between two large language models (LLMs). Specifically, ADIT operates in two iterative steps: (1) an attacker LLM injects subtle bugs that evade existing tests, and (2) a defender LLM refines the test suite in a feedback loop until these bugs are detected. To evaluate ADIT in a realistic setting, we introduce two benchmarks: ClassTestEval, based on class-level Python source code, and CuPyTestEval, derived from the CuPyrepository. Our results demonstrate that unit tests generated by ADIT outperform existing baselines in bug detection, highlighting the potential of adversarial LLM-based approaches for robust test generation.

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

    Steering Large Language Models Toward Clarification through Sparse Autoencoders

    Alisa Petrova, Alexey Kovalev

    Abstract

    Instruction-tuned LLMs often respond to ambiguous instructions by guessing missing details rather than asking clarifying questions. Clarification-seeking improves reliability by aligning responses with user intent and avoiding under-specified assumptions. This is especially important for embodied AI, where misinterpretations can translate into task failure or safety risks. We propose \textbf{ClarifySAE}, an inference-time method that steers clarification-seeking by intervening on Sparse Autoencoder (SAE) features. ClarifySAE ranks SAE features using ClarifyScore, which measures association with clarification contexts, and filters them with OutputScore to retain features that measurably affect the model’s output distribution. During decoding, we apply additive biases to the selected features, increasing the likelihood of generating a clarifying question without updating model weights. We evaluate our method on two datasets with ambiguous instructions (AmbiK and ClarQ-LLM) and two Gemma instruction-tuned models (2B and 9B) using pretrained 16k-feature SAEs. On AmbiK with Gemma-2-9B-IT, ClarifySAE increases clarification rate from 0.61 to 0.95 and improves task success from 0.06 to 0.21.

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

    The Confidence Manifold: Geometric Structure of Correctness Representations in Language Models

    Seonglae Cho, Zekun Wu, Kleyton da Costa, Adriano Koshiyama

    Abstract

    When a language model asserts that ``the capital of Australia is Sydney,'' does it know this is wrong? We characterize the geometry of correctness representations across 9 models from 5 architecture families. The structure is simple: the discriminative signal occupies 3-8 dimensions, performance degrades with additional dimensions, and no nonlinear classifier improves over linear separation. Centroid distance in the low-dimensional subspace matches trained probe performance (0.90 AUC), enabling few-shot detection: on GPT-2, 25 labeled examples achieve 89% of full-data accuracy. We validate causally through activation steering: the learned direction produces 10.9 percentage point changes in error rates while random directions show no effect. Internal probes achieve 0.80-0.97 AUC; output-based methods (P(True), semantic entropy) achieve only 0.44-0.64 AUC. The correctness signal exists internally but is not expressed in outputs. That centroid distance matches probe performance indicates class separation is a mean shift, making detection geometric rather than learned.

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

    LaCy: What Small Language Models Can and Should Learn into Limited Parametric Memory

    Szilvia Ujváry, Louis Béthune, Pierre Ablin, Joao Monteiro, marco cuturi, Michael Kirchhof

    Abstract

    Language models have consistently grown to compress more world knowledge into their parametric memory, but the knowledge that can be pretrained into them is upper-bounded by their parameter size. Especially the capacity of Small Language Models (SLMs) is limited, leading to factually incorrect generations. This problem is often mitigated by giving the SLM access to an outside source: the ability to query a larger model, documents, or a database. Under this setting, we study the fundamental question of \emph{which tokens an SLM can and should learn} during pretraining, versus \emph{which ones it should delegate} via a \texttt{} token. We find that this is not simply a question of loss: although the loss is predictive of whether a predicted token mismatches the ground-truth, some tokens are \emph{acceptable} in that they are truthful alternative continuations of a pretraining document, and should not trigger a \texttt{} even if their loss is high. We find that a spaCy grammar parser can help augment the loss signal to decide which tokens the SLM should learn to delegate to prevent factual errors and which are safe to learn and predict even under high losses. We propose LaCy, a novel pretraining method based on this token selection philosophy. Our experiments demonstrate that LaCy models successfully learn which tokens to predict and where to delegate for help. This results in higher FactScores when generating in a cascade with a bigger model and outperforms Rho or LLM-judge trained SLMs, while being simpler and cheaper.

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

    Agentic Context Engineering: Evolving Contexts for Self-Improving Language Models

    Qizheng Zhang, Changran Hu, Shubhangi Upasani, Boyuan Ma, Fenglu Hong, Vamsidhar Kamanuru, Jay Rainton, Chen Wu, Mengmeng Ji, Hanchen Li, Urmish Thakker, James Y Zou, Kunle Olukotun

    Abstract

    Large language model (LLM) applications such as agents and domain-specific reasoning increasingly rely on context adaptation—modifying inputs with instructions, strategies, or evidence, rather than weight updates. Prior approaches improve usability but often suffer from brevity bias, which drops domain insights for concise summaries, and from context collapse, where iterative rewriting erodes details over time. Building on the adaptive memory introduced by Dynamic Cheatsheet, we introduce ACE (Agentic Context Engineering), a framework that treats contexts as evolving playbooks that accumulate, refine, and organize strategies through a modular process of generation, reflection, and curation. ACE prevents collapse with structured, incremental updates that preserve detailed knowledge and scale with long-context models. Across agent and domain-specific benchmarks, ACE optimizes contexts both offline (e.g. system prompts) and online (e.g. agent memory), consistently outperforming strong baselines: +10.6\% on agents and +8.6\% on finance, while significantly reducing adaptation latency and rollout cost. Notably, ACE could adapt effectively without labeled supervision and instead by leveraging natural execution feedback. On the AppWorld leaderboard, ACE matches the top-ranked production-level agent on the overall average and surpasses it on the harder test-challenge split, despite using a smaller open-source model. These results show that comprehensive, evolving contexts enable scalable, efficient, and self-improving LLM systems with low overhead.

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

    Tool use is provably more scalable than in-weight memory for Large Language Models

    Sam Houliston, Ambroise Odonnat, Charles Arnal, Vivien Cabannes

    Abstract

    Tool-augmented language models, equipped with retrieval, memory, or external APIs, are reshaping AI. Yet, their theoretical advantages remain underexplored. In this paper, we address this question by demonstrating the benefits of in-tool learning (external retrieval) overin-weight learning (memorization) for factual recall. We show that the number of facts a model can memorize solely in its weights is fundamentally limited by its parameter count. In contrast, we prove that tool-use enables unbounded factual recall via a simple and efficient circuit construction. These results are validated in controlled experiments, where tool-using models consistently outperform memorizing ones. We further show that for pretrained large language models, teaching tool-use and general rules is more effective than finetuning facts into memory. Our work provides both a theoretical and empirical foundation, establishing why tool-augmented workflows are not just practical, but provably more scalable. The code is available at https://github.com/ambroiseodt/itl.

    Abstract source
  • ICLR · Workshop · Representational Alignment

    Training Large Language Models for Self-Explanation Faithfulness

    Yeoktatt Cheah, Maria Perez-Ortiz, Noah Y Siegel, Oana-Maria Camburu

    Abstract

    We propose a Reinforcement Learning (RL) method to directly optimize the faithfulness of self-explanations - the extent to which a model's generated reasoning accurately reflects its internal decision-making process. While existing work focuses on evaluating faithfulness or using inference-time prompting frameworks to improve an LLM's self-explanation's tractability, these approaches do not provide a mechanism to directly optimize a model’s parameters to generate faithful self-explanations. We bridge this gap by modifying existing faithfulness metrics into an RL training objective. We investigate (1) if models can be trained to accurately detect factors that affect their decisions, and (2) whether RL can directly optimize for the disclosure of these factors thereby improving LLM self-explanations' faithfulness. We experiment with two intervention types: random-word insertions and user-bias insertions, using a per-sample reward derived from the Phi-CCT correlation metric. RL fine-tuned Llama3.1-8B and Qwen3-8B show substantial improvements on the Phi-CCT faithfulness metric, with in-distribution scores rising from near-zero to as high as 0.664, and out-of-distribution scores reaching up to 0.691 on held-out tasks such as StrategyQA. Cross-intervention generalization is weaker but more interesting: a priori we would not expect a model trained only on random adverb insertions to generalize to user-bias phrases, yet Llama3.1-8B shows non-zero transfer in this direction. The reverse direction and Qwen3-8B do not replicate this, indicating model-dependent and setup-dependent effects we cannot yet explain.Lastly we analyze model behavior to rule out reward gaming behaviors that often plague RL training. Ultimately, we show that models can be trained to implicitly identify influential factors and disclose them, offering a scalable path toward reducing unfaithful reasoning in LLMs.

    Abstract source
  • ICLR · Workshop · Representational Alignment

    On the Identifiability of Steering Vectors in Large Language Models

    Sohan Venkatesh, Ashish Kurapath

    Abstract

    Activation steering methods, such as persona vectors, are widely used to control large language model behavior and increasingly interpreted as revealing meaningful internal representations. This interpretation implicitly assumes steering directions are identifiable and uniquely recoverable from input–output behavior. We formalize steering as an intervention on internal representations and prove that, under realistic modeling and data conditions, steering vectors are fundamentally non-identifiable due to large equivalence classes of behaviorally indistinguishable interventions. Empirically, we validate this across multiple models and semantic traits, showing orthogonal perturbations achieve near-equivalent efficacy with negligible effect sizes. However, identifiability is recoverable under structural assumptions including statistical independence, sparsity constraints, multi-environment validation or cross-layer consistency. These findings reveal fundamental interpretability limits and clarify structural assumptions required for reliable safety-critical control.

    Abstract source
  • ICLR · Workshop · Representational Alignment

    Probing and Steering Chain-of-Thought Unfaithfulness in Language Models

    Giovanni Occhipinti, Alessandro Abate, Nandi Schoots

    Abstract

    Chain-of-Thought (CoT) explanations are essential for the monitoring and safety of Large Language Models (LLMs), yet they are susceptible to unfaithful rational- ization that could obfuscate dangerous behaviors. While prior work has focused on black-box methods, the internal mechanisms and white-box control of faithfulness remain under-explored. In this paper, we employ representation engineering to investigate the latent geometry of faithfulness in thinking language models. We demonstrate that instances of faithfulness are, to some extent, encoded as linear directions in middle-to-late layers, as shown by successful probing and steering of the models’ internals. We find that linear steering interventions achieve monitora- bility recovery rates up to 46% with collateral effects below 5%. We also find that off-policy steering methods have comparable utility to on-policy approaches.

    Abstract source
  • ICLR · Workshop · Representational Alignment

    Do Large Language Models Encode Instruction Overwrites?

    You-Chen Lin, Fu-Chieh Chang, Pei-Yuan Wu

    Abstract

    Large language models (LLMs) are vulnerable to prompt injection attacks that overwrite an original instruction, yet the internal mechanisms underlying this behavior remain unclear. Standard defenses rely on training-based safety alignment to enforce instruction hierarchies, providing little insight into the internal mechanisms of instruction overwriting. We present a representation-level analysis of instruction overwriting in LLMs. Using a payload-augmented benchmark and layer-wise linear probing, we show that LLMs encode a distinct internal representation that distinguishes the execution of the original task from the injected instruction. This signal generalizes across models, injection templates, payloads, and established benchmarks such as StruQ and representative subsets of IH-Bench. Building on this finding, we derive a one-dimensional activation steering vector that increases adherence to the original instruction, significantly reducing successful overwrites while preserving general instruction-following ability. Our approach increases adherence to original instructions under prompt injection without retraining. More generally, our results demonstrate that safety-relevant behaviors can be controlled through low-dimensional representation engineering.

    Abstract source
  • ICLR · Workshop · Representational Alignment

    Atlas-Alignment: Making Interpretability Transferable Across Language Models

    Bruno Puri, Jim Berend, Sebastian Lapuschkin, Wojciech Samek

    Abstract

    Interpretability is crucial for building safe, reliable, and controllable language models, yet existing interpretability pipelines remain costly and difficult to scale. Interpreting a new model typically requires training model-specific components (e.g., sparse autoencoders), followed by manual or semi-automated labeling and validation, imposing a growing “transparency tax” that does not scale with the pace of model development. We introduce Atlas-Alignment, a framework that avoids this cost by aligning the latent space of a new model to a pre-existing, labeled Concept Atlas using only shared inputs and lightweight representational alignment methods. Through quantitative and qualitative evaluations, we show that simple alignment methods enable robust semantic retrieval and steerable generation without the need for labeled concept datasets. Atlas-Alignment thus amortizes the cost of explainable AI and mechanistic interpretability: by investing in a single high-quality Concept Atlas, we can make many new models transparent and controllable at minimal marginal cost.

    Abstract source
  • ICLR · Workshop · Representational Alignment

    Optimizing Language Models for Crosslingual Knowledge Consistency

    Tianyu Liu, Jirui Qi, Mrinmaya Sachan, Ryan Cotterell, Raquel Fernández, Arianna Bisazza

    Abstract

    Large language models are known to often exhibit inconsistent knowledge. This is particularly problematic in multilingual scenarios, where models are likely to be asked similar questions in different languages, and inconsistent responses can undermine their reliability. In this work, we show that this issue can be mitigated using reinforcement learning with a structured reward function, which leads to an optimal policy with consistent crosslingual responses. We introduce Direct Consistency Optimization (DCO), a DPO-inspired method that requires no explicit reward model and is derived directly from the LLM itself. Comprehensive experiments show that DCO significantly improves crosslingual consistency across diverse LLMs and outperforms existing methods when training with samples of multiple languages, while complementing DPO when gold labels are available. Extra experiments demonstrate the effectiveness of DCO in bilingual settings, significant out-of-domain generalizability, and controllable alignment via direction hyperparameters. Taken together, these results establish DCO as a robust and efficient solution for improving knowledge consistency across languages in multilingual LLMs. All code, training scripts, and evaluation benchmarks will be released.

    Abstract source