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

241–260 of 401

  • ICML · Workshop · 4th Structured Probabilistic Inference & Generative Modeling

    Parallel Tempering Initial Sampling in Inference-Time Reward Alignment

    Myeongjun Oh, Gwangho Kim, Sungyoon Lee

    Abstract

    Inference-time reward alignment steers pretrained diffusion and flow-based generative models to satisfy user-specified rewards without retraining. Recently, Sequential Monte Carlo (SMC) has emerged as a powerful framework for this task by iteratively filtering and propagating multiple particles. However, we show that standard SMC-based methods often suffer from poor performance because they initialize particles from a standard prior, whereas high-reward regions in complex reward landscapes are extremely rare. Further, we show that even recent reward-aware initial sampling approaches remain vulnerable to getting trapped in local modes, as complex reward landscapes are often multi-modal. To overcome these limitations, we propose PATHS (PArallel Tempering for High-complexity reward Sampling), a novel initialization method that couples multiple sampling chains through parallel tempering. PATHS maintains a ladder of reward-tempered chains and periodically performs Metropolis swaps, enabling efficient exploration across flattened reward landscapes, thereby mitigating the mode-trapping issues. Our analysis reveals that this mechanism substantially enhances the finite-budget exploration of rare, high-reward regions that are typically challenging to sample. Experiments on layout-to-image and quantity-aware generation show that PATHS achieves consistent gains in alignment quality, particularly on complex prompts.

    Abstract source
  • ICML · Workshop · Culture x AI: Evaluating AI as a Cultural Technology

    Korean Culture into LLM Alignment: From Refusal to Cultural Coherence

    MIN JAE JUNG, Minwoo Kim

    Abstract

    Cultural-aspect work on large language models is dominated by a negative target: which outputs to suppress. We argue that a constructive counterpart is also needed, a working definition of what a culturally coherent response is rather than only what it must avoid, and instantiate it for Korean. Building on the culturally adaptive red-teaming benchmark CAGE, we transplant its Korean harm taxonomy into an alignment-data pipeline whose centrepiece is a Korean-culturally-adapted safe-response policy: a per-category guideline grounded in Korean legal frameworks, social norms, and interpretive conventions, against which three frontier models each produce a candidate response. DPO fine-tuning on the resulting triplets improves CAGE safe rate across six open-weight LLMs without measurable degradation on Korean general-capability benchmarks, and qualitative outputs show fine-tuned models naming Korean statutes and institutional procedures rather than issuing flat refusals.

    Abstract source
  • ICML · Workshop · Culture x AI: Evaluating AI as a Cultural Technology

    Fine-Tuning as Repair? Care Ethics and Situated Knowledges in LLM Alignment Cultures

    Lara Dal Molin, Jacqueline Rowe

    Abstract

    We explore the current culture of alignment and evaluation in Large Language Models (LLMs) through a novel interdisciplinary fine-tuning pipeline that centers participant expertise, situated knowledges, and subjective experiences of LLM interactions. We demonstrate proof of concept through an experimental implementation focused on LLMs' gendered biases. Through fine-tuning LLaMA 3.1 8B on a participatory dataset curated with 65 participants, and evaluating the fine-tuned model for gender bias with another 19 participants in an interactive fashion, we posit that it is possible to conceptualise fine-tuning as an act of `repair' when grounded in principles of care, consent and agency.

    Abstract source
  • ICML · Workshop · Culture x AI: Evaluating AI as a Cultural Technology

    A Vision for Cultural Alignment: Opportunities and Safety Imperatives for AI in Mental Health Support

    Nirupama Sri Ranga Ratna Kandala, Akshata Moharir, Niva Manchanda, Samantha Adorno

    Abstract

    As Large Language Models (LLMs) are increasingly integrated into mental health applications, the prevailing paradigm of cultural neutrality risks creating a technical debt that undermines model generalization and safety. Current systems/frameworks, while focusing on multi-lingual capabilities, often fail to account for the diverse social and cognitive norms of global populations.This vision paper explores the transition from culturally invariant models toward a research trajectory that operationalizes cultural dimensions such as power distance and individualism as fundamental architectural parameters.Rather than viewing cultural adaptation as a post-hoc fine-tuning task, we advocate for systems that internally encode cultural variability as a primary driver of the model’s reasoning process. We outline a roadmap for architecturally encoding cultural variability as a first class parameter in AI/ML pipelines, moving beyond surface-level translation toward systems where cultural dimensions fundamentally shape model reasoning.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noise

    Bingbin Liu, Rachit Bansal, Depen Morwani, David Alvarez-Melis, Sham Kakade

    Abstract

    Approximate second-order optimizers are increasingly showing promise in accelerating training of deep learning models, yet their practical performance depends critically on how preconditioning is applied. Two predominant approaches to preconditioning are based on (1) Adam, which leverages statistics of the current gradient, and (2) Gauss-Newton (GN) methods, which use approximations to the Fisher information matrix (often raised to a power). This work compares these approaches through the lens of two key factors: the choice of basis in the preconditioner and the impact of gradient noise from mini-batching. To gain insights, we analyze these optimizers on quadratic objectives and logistic regression under all four quadrants. We show that regardless of the basis, there exist instances where Adam outperforms both $\text{GN}^{-1}$ and $\text{GN}^{-1/2}$ in full-batch settings. Conversely, in the stochastic regime, Adam behaves similarly to $\text{GN}^{-1/2}$ under a Gaussian data assumption. These theoretical results are supported by empirical studies on both convex and non-convex objectives.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Alignment Is Not Stability: Closed-Loop Gain Control in Heterosynaptic Plastic Circuits

    Marc G Bacvanski, Liu Ziyin, Tomaso A Poggio

    Abstract

    Heterosynaptic plasticity (HSP) rules combine local activity-dependent potentiation with compensatory decay, a biologically and physically plausible substrate for learning. However, in a learning network the local rule is embedded in a closed loop: perturbations of plastic weights alter neural signals, which in turn alter the plasticity drive, so stability is not guaranteed. We show that linearizing an HSP motif around a balanced operating point yields a return-gain condition: stability depends on the closed-loop sensitivity from a weight back to its own learning signal. We apply this analysis to continuous-time Kolen–Pollack (KP) learning, a well-known HSP-style mechanism for aligning feedback weights with forward weights. While KP's symmetric updates exponentially contract the forward–feedback mismatch, they leave a weight-scale mode governed by the generic HSP return-gain spectrum; feedback alignment is therefore not sufficient for stability, and this causes deep continuous-time KP networks to diverge. We show that bounded activation functions limit the effective return gain and stabilize continuous-time KP in deep multilayer perceptrons, matching or exceeding layer-local normalization. These results identify closed-loop gain control as a central requirement for stable heterosynaptic learning in biological and continuous-time substrates.

    Abstract source
  • ICML · Workshop · High Dimensional Learning Dynamics: the Science of Scaling

    Common Origins, Divergent Destinations: The Development of Cross-Layer Alignment Under GELU and SwiGLU

    Delbert Bray Jr.

    Abstract

    Transformer language models coordinate computation across independently parameterized layers through a shared residual stream, yet the developmental process of this coordination remains poorly understood. We track the emergence of inter-layer alignment in six models across four families, finding a common early formation followed by divergent architectural fates. Early in training, adjacent layers align their dominant MLP transformation directions. This alignment forms via a backward cascade originating at the output and propagating toward the input. The persistence of the resulting structure throughout the rest of training is architecturally determined: GELU models (Pythia, BLOOM) maintain weight-level alignment, while SwiGLU models (OLMo-2, TinyLlama) progressively dissolve it. We argue that early establishment of cross-layer alignment is a developmental priority for transformer training, and that the activation-function-dependent divergence is among the most consequential dynamical differences across modern transformer architectures.

    Abstract source
  • ICML · Workshop · Combining Theory and Benchmarks: Towards A Virtuous Cycle to Understand and Guarantee Foundation Model Performance

    SafetyRepro: Configuration-Conditional Rank Instability on Alignment Benchmarks

    Yanhang Li, Zhichao Fan, Zexin Zhuang

    Abstract

    Pairwise model comparisons drawn from foundation-model benchmarks are often read as quantitative verdicts, yet they can hinge on under-specified harness choices such as prompt templates, decoding settings, few-shot levels, scoring rules, and quantization. We close one theory–benchmark loop on this primitive by introducing a finite-envelope proposition that links a measurable pairwise-disagreement rate to the existence of configuration-pair strict reversals. We pair this test with a commit-stamped evaluation protocol over widely cited alignment-related benchmarks. Across TruthfulQA, BBQ, ToxiGen, CrowS-Pairs, and XSTest, configuration choice alone can flip pairwise model verdicts within the tested envelope. The resulting operator-controllable rank-flip metric isolates a concrete strict-reversal failure mode and shows that claims such as “model A is safer than model B” are properties of the model–harness pair, not of the model alone

    Abstract source
  • ICML · Workshop · Generative and Agentic AI for Biology

    Contextualizing Biological Language Models across Modalities via Logit-Space Contrastive Alignment

    Yanjun Shao, Yundi Chen, Yashvi Patel, Aurelien Pelissier, Maria Rodriguez Martinez

    Abstract

    Pretrained biological language models expose per-token probability distributions through masked-token prediction, providing the likelihood interface central to sequence design, variant scoring, and mechanistic interpretation. Yet these distributions are learned from broad unlabeled corpora and are not naturally conditioned on task-specific biological contexts such as interaction partners, cellular environments, or therapeutic interventions. Existing contextual matching methods distort this interface with pooled embeddings, contrastive latent spaces, or task-specific prediction heads. We introduce LogiCA (Logit-space Contrastive Alignment), a framework for context-conditioned prediction that adapts pretrained biological language models by performing contrastive learning directly in output-logit space. Using gated cross-modal adapters compatible with each model’s native token head, LogiCA preserves the pretrained per-token likelihood interface and converts contextualized token log-likelihoods into matching scores. Alignment is therefore defined through context-sensitive token probabilities rather than proximity in a shared embedding space. This enables learning from sparse paired data across models with distinct vocabularies, without requiring a shared tokenizer, decoder, or embedding space. LogiCA is particularly effective for mutation-local variant ranking, where variant comparisons reduce to context-conditioned likelihoods of mutant tokens at perturbed sites. Across protein–ligand binding, TCR–peptide activity, and drug-conditioned resistance prediction, LogiCA yields substantial gains over prior state-of-the-art methods, including matched latent-contrastive and conditional-MLM baselines, while retaining a token-level interface for interpretation and generation. On held-out-gene single-mutation drug-resistance prediction, LogiCA improves the AUC from the near-random latent-space baselines of ~0.55 to ~0.65.

    Abstract source
  • ICML · Workshop · Generative and Agentic AI for Biology

    AURORA: Alignment-Guided Mutation Proposal for Protein Engineering

    Katie Spivakovsky, Jeannie She, Nathan P Shapiro, Krithik Ramesh

    Abstract

    Protein engineering introduces mutations to enhance protein function and has immense therapeutic, agricultural, and industrial applications, but experimental validation is expensive, limiting available data. The prevailing computational approach uses a protein foundation model for two tasks: an oracle built on its representations scores mutation effects, and a search procedure proposes mutations through reinforcement learning (RL). These approaches predominantly rely on single-sequence models, namely ESM, that predict masked amino acids, requiring them to infer mutation interactions from single sequences rather than mutation co-evolution patterns across multiple homologous sequences. We introduce an alignment-guided mutation proposer and oracle (AURORA), a protein engineering framework with two key components. First, we investigate the natural transition to multiple sequence alignment (MSA)-based models, namely MSA Pairformer, which directly compares homologs; we quantify architectural expressivity on synthetic proteins and find Pairformer performs better on downstream benchmarks, notably ProteinGym. Second, because representation models capture evolutionary distributions while search optimizes experimental rewards, we decouple these tasks: Pairformer scores mutants while a separate lightweight policy trained with RL proposes mutations, enabling direct multi-site proposals rather than iterative single-site search. We then validate AURORA in vitro on green fluorescent protein, training on limited data to generate novel variants that demonstrate higher fluorescence than existing methods.

    Abstract source
  • ICML · Workshop · Workshop on Weight-Space Symmetries: from Foundations to Practical Applications

    Scale-Equivariant Alignment: Closing the Residual Barrier After Permutation Matching

    Kaustubh Bukkapatnam, Siddharth Karuturi

    Abstract

    Recent work shows that aligning permutation symmetries between two independently trained networks largely eliminates the loss barrier on linear interpolations (Ainsworth et al., 2023). A residual barrier persists, however, which Jordan et al. (2023) attribute to variance collapse — a phenomenon we show is a direct consequence of unresolved scale symmetries. ReLU networks possess a layerwise symmetry group that combines neuron permutations with positive rescalings, but existing alignment methods account only for permutations. We formally decompose the loss barrier into a permutation component and a scale component, prove a lower bound on the scale component in terms of mismatches in neuron scales between networks, and show that the optimal scale alignment is given by the geometric mean of per-neuron weight norms. Building on this, we propose Scale-Equivariant Alignment (SEA), an alternating algorithm that jointly solves for permutations and scales, and prove it converges monotonically to a critical point of a joint alignment objective. On CIFAR-10 ResNets, SEA reduces the residual loss barrier after permutation alignment by 74% and matches the accuracy of REPAIR without any test-time renormalization overhead.

    Abstract source
  • ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning

    Why Alignment Must Precede Distillation: A Minimal Working Explanation

    Sungmin Cha, Kyunghyun Cho

    Abstract

    For efficiency, preference alignment is often performed on compact, knowledge-distilled (KD) models. We argue this common practice introduces a significant limitation by overlooking a key property of the alignment's reference model: its ability to cover the full range of the underlying distribution. We show that the standard KD -> Align workflow diminishes the model's capacity to recover specific target capabilities that were pruned during distillation, even under strong preference signals. We instead demonstrate that reversing the pipeline (i.e., Align -> KD) is essential: alignment must first be performed on a reference model with broad distributional coverage before distillation. Our contributions are threefold. First, we provide a minimal working explanation of how the reference model constrains preference alignment objectives at a fundamental level. Second, we validate this theory in a controllable Mixture-of-Gaussians experiment, where anchoring to a limited-coverage reference consistently results in suboptimal model performance. Finally, we demonstrate that the same phenomenon holds in LLM alignment with the SmolLM2 family: models aligned after KD fail to effectively recover intended capabilities, resulting in substantially lower reward and target precision. In contrast, our proposed Align -> KD pipeline robustly captures these capabilities, yielding models with superior target-oriented metrics and lower variance. Together, these results establish the reference model's distributional coverage as a first-order design choice in alignment, offering a clear principle: alignment must precede distillation.

    Abstract source
  • ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning

    MCLR: Improving Conditional Modeling via Inter-Class Likelihood-Ratio Maximization and Unifying Classifier-Free Guidance with Alignment Objectives

    Xiang Li, Yixuan Jia, Xiao Li, Jeffrey Fessler, Rongrong Wang, Qing Qu

    Abstract

    Diffusion models achieve strong performance in generative modeling, but their success relies heavily on classifier-free guidance (CFG), an inference-time heuristic that modifies the sampling trajectory. In theory, diffusion models trained with standard denoising score matching (DSM) should recover the target data distribution, raising the question of why inference-time guidance is necessary in practice. In this work, we argue that a key limitation of standard DSM is insufficient inter-class separation. Motivated by this view, we propose MCLR, an alignment objective that explicitly maximizes inter-class likelihood-ratios during training. Fine-tuning diffusion models with MCLR leads to CFG-like improvements under standard sampling, substantially improving conditional generation quality without requiring inference-time guidance. Beyond empirical benefits, we show theoretically that the CFG-guided score is exactly the optimal solution to a weighted MCLR objective. This result connects CFG to alignment-based objectives, providing a mechanistic interpretation of CFG.

    Abstract source
  • ICML · Workshop · Foundations of Deep Generative Models: Understanding Memorization, Generalization, and Reasoning

    Emergent and Subliminal Misalignment Through the Lens of Data-Mediated Transfer

    Baris Askin, Muhammed Ustaomeroglu, Anupam Nayak, Gauri Joshi, Guannan Qu, Carlee Joe-Wong

    Abstract

    Fine-tuning LLMs on narrow harmful datasets can induce Emergent Misalignment (EM), where models exhibit misaligned behavior far beyond the fine-tuning distribution. We argue that emergent misalignment can be better understood as a data-mediated transfer phenomenon: harmful fine-tuning examples do not induce uniform behavioral spillover, but interact with the structural properties of the dataset and the difficulty of the tasks relative to the model. Across our experiments, we find that misalignment appears more readily when fine-tuning and evaluation prompts share similar underlying functional structure, when prompts leave more room for coherent harmful completions, and when the target behavior has been more reliably learned by the model. The training pipeline itself also matters: pretraining composition shapes later misalignment. We further study Subliminal Learning (SL), where misalignment is transmitted by fine-tuning on seemingly benign data generated by a harmful teacher. Moving beyond the standard SFT setting, we for the first time compare this transfer under off-policy and on-policy distillation as well, allowing us to separate the roles of the teacher guidance and the training data distribution in transmitting misalignment. Together, these results argue for a data-centric view: Emergent/subliminal misalignment should not be treated as a simple consequence of isolated harmful fine-tuning examples, but as the result of interactions between fine-tuning data structure, pretraining distributions, and training channels.

    Abstract source
  • ICML · Workshop · Trustworthy AI for Good Workshop

    What do Uncertainty Lens tell about Emergent Misalignment?

    Aleksei Beglov, Daniil Korbut, Elena Tutubalina, Mikhail Seleznyov

    Abstract

    Emergent misalignment (EM) is a phenomenon in which language models display broad generalization of undesirable behavior after training on a narrow dataset of harmful examples. In this paper, we study emergent misaligned models through the lens of uncertainty quantification. While EM models demonstrate significantly higher uncertainty compared to the original models, a control model finetuned on benign data samples is similarly uncertain – suggesting that magnitude of uncertainty is more related to domain shift rather than to alignment properties. However, we find that EM model have a characteristic dynamic pattern in uncertainty: increased lag-1 autocorrelation across token-wise entropies. We interpret this as a hallmark of high-level uncertainty about aligned/misaligned behavior, rather than e.g. choosing a particular wording among semantically identical paraphrases.

    Abstract source
  • ICML · Workshop · Trustworthy AI for Good Workshop

    Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection

    Jinhan Li, Kexian Tang, Yihan Xu, Zhuorui Ye, Kaifeng Lyu

    Abstract

    To achieve deeper safety alignment for large language models (LLMs), recent efforts have studied how to move safety interventions into pretraining, primarily by filtering unsafe data or rewriting it into safer forms. We argue that pretraining-stage alignment should go beyond just making the data itself safe: LLMs may compose seemingly benign knowledge and capabilities into unsafe behaviors. To this end, we propose $\textbf{Safety Reflection Pretraining}$, a pretraining-stage alignment method that regularly inserts short safety reflections into pretraining corpora and trains language models to self-monitor the safety of the preceding context as part of language modeling. Our experiments with 1.7B models pretrained on FineWeb-Edu show that Safety Reflection Pretraining improves safety classification accuracy and substantially reduces the success rates of inference-stage and finetuning attacks. Complementary to our real-world experiments, we also introduce a fully controlled synthetic environment, $\textbf{MedSafetyWorld}$, with a clear definition of safety and a reasoning structure under which models can easily generalize from safe data to unsafe behaviors. Ablations in MedSafetyWorld further demonstrate a clear advantage of Safety Reflection Pretraining in preventing models from acting on unsafe behaviors generalized from safe data, compared with data filtering and rewriting. Taken together, our findings suggest that pretraining alignment should not only make the training data safe, but also shape the behaviors that models are likely to acquire from safe data.

    Abstract source
  • ICML · Workshop · Trustworthy AI for Good Workshop

    Moloch's Bargain: Emergent Misalignment When LLMs Compete for Audiences

    Batu El, James Zou

    Abstract

    Large language models (LLMs) are increasingly shaping how information is created and disseminated, from companies using them to craft persuasive advertisements, to election campaigns optimizing messaging to gain votes, to social media influencers boosting engagement. These settings are inherently competitive, with sellers, candidates, and influencers vying for audience approval, yet it remains poorly understood how competitive feedback loops influence LLM behavior. We show that optimizing LLMs for competitive success can inadvertently drive misalignment. Using simulated environments across these scenarios, we find that, $6.3\%$ increase in sales is accompanied by a $14.0\%$ rise in deceptive marketing; in elections, a $4.9\%$ gain in vote share coincides with $22.3\%$ more disinformation and $12.5\%$ more populist rhetoric; and on social media, a $7.5\%$ engagement boost comes with $188.6\%$ more disinformation and a $16.3\%$ increase in promotion of harmful behaviors. We call this phenomenon \emph{\textbf{Moloch’s Bargain for AI}}—competitive success achieved at the cost of alignment. These misaligned behaviors emerge even when models are explicitly instructed to remain truthful and grounded, revealing the fragility of current alignment safeguards. Our findings highlight how market-driven optimization pressures can systematically erode alignment, creating a race to the bottom, and suggest that safe deployment of AI systems will require stronger governance and carefully designed incentives to prevent competitive dynamics from undermining societal trust.

    Abstract source
  • ICML · Workshop · Trustworthy AI for Good Workshop

    Operational Alignment: An Auditing Framework for Trustworthy AI in Consequential Decisions

    Anthony Cruz

    Abstract

    Frontier language models are increasingly being used to make consequential decisions in settings where prior algorithmic systems have already caused real harm that was characterized only after the fact. Current evaluation methods do not tell a deployer or oversight body whether the model will hold a stated rule when ordinary deployment conditions push against it. We propose Operational Alignment, a pre-deployment auditing framework that holds the rule-relevant content of a decision constant and varies a single realistic deployment variable across matched pairs, isolating which variable produced an observed rule violation. The output is not an aggregate score but an audit cell: a named configuration with a named trigger, the form of evidence regulators, deployers, and procurement officers can act on. Audit cells compose into multi-agent and longer-running deployments, supporting analysis where end-to-end evaluation is intractable. Across eight frontier models and 209,072 matched-pair decisions, single configuration variables move the same model from near-zero to near-total violation; an available demographic proxy produces systematic denials of equally qualified applicants without the prohibited factor ever appearing in the prompt; standard mitigations work in some configurations and backfire in others, including a regulatory reminder that drove violations up 62 percentage points on the rule it was meant to reinforce. The point is to make these failures visible before they scale—failures that, in deployment, mean inequality, wrongful denials, and hidden violations dressed in compliant-looking justification. We release the framework, corpus, manipulation library, and audit reporting template as the missing pre-deployment evaluation layer.

    Abstract source
  • ICML · Workshop · Trustworthy AI for Good Workshop

    Matching Ranks Over Probability Yields Truly Deep Safety Alignment

    Jason Vega, Gagandeep Singh

    Abstract

    Open-source Large Language Models (LLMs) play a critical role in the democratization of AI, yet their "open" nature introduces more avenues for malicious actors to misuse them for harmful purposes. A frustratingly easy but powerful technique known as the prefilling attack has been shown to effectively circumvent the safety alignment of frontier open-source LLMs by simply prefilling the assistant response with an affirmative prefix before decoding. A recent promising supervised fine-tuning defense proposes using a simple data augmentation scheme to achieve a "deep" safety alignment, allowing the model to generate natural language refusals immediately following harmful prefills. In this work, we show that a simple generalization of the prefilling attack, which we refer to as the Rank-Assisted Prefilling (RAP) attack, can effectively extract harmful content from models fine-tuned with the data augmentation defense by selecting low-probability "harmful" tokens from the top 20 predicted next tokens at each step (thus ignoring high-probability "refusal" tokens). We then propose a new perspective on achieving deep safety alignment by matching the token ranks in the underlying data augmentation target distribution (rather than just their probabilities), yielding a surprisingly simple approach to strengthening deep alignment we call PRefill attEntion STOpping (PRESTO) that regularizes the attention placed on harmful prefill tokens. PRESTO yields up to a 4.7x improvement in the mean StrongREJECT score under RAP attacks across three popular open-source LLMs. By achieving a stronger level of safety against practical and accessible attacks, our work paves a path towards safer open-source models.

    Abstract source
  • ICML · Workshop · Trustworthy AI for Good Workshop

    ALIGNBEAM: Inference-Time Alignment Transfer via Cross-Vocabulary Logit Mixing

    Chirag Chawla, Pratinav Seth, Vinay k Sankarapu

    Abstract

    Domain fine-tuning erodes the safety alignment of large language models, leaving specialists willing to comply with harmful prompts framed in appropriate language. Safety prompts are ignored by base models, post-generation classifiers do not steer generation, and retraining presupposes weights, data, and compute. Inference-time logit-mixing methods assume a shared vocabulary, ruling out cross-family pairings. We present ALIGNBEAM, an inference-time method that blends the token-level distribution of a specialist draft with that of a small aligned anchor at each decoding step. A cross-vocabulary text bridge decodes the anchor token and re-encodes it under the specialist tokeniser, enabling probability mixing without shared token IDs. Generation proceeds in three phases: priming to produce K beam roots, N steps of mixed decoding, and draft continuation after an LLM judge selects the safest beam. Across seven specialist and anchor pairs in both base and instruct regimes and across same and cross-vocabulary settings, ALIGNBEAM substantially raises refusal rates on adversarial benchmarks while preserving task utility. The depth ablation corroborates the early-token safety hypothesis: most of the safety gain is captured within the first few mixed steps. ALIGNBEAM is training-free, vocabulary-agnostic, and exposes safety, speed, and utility trade-offs as user-tunable parameters.

    Abstract source