paper-with-me

홈 › Papers

Leveraging Importance Sampling to Detach Alignment Modules from Large Language Models

2025-05-26 · Yi Liu, Dianqing Liu, Mingye Zhu, Junbo Guo, Yongdong Zhang, Zhendong Mao

The widespread adoption of large language models (LLMs) across industries has increased the demand for high-quality and customizable outputs. However, traditional alignment methods often require retraining large pretrained models, making it difficult to quickly adapt and optimize LLMs for diverse applications. To address this limitation, we propose a novel \textit{Residual Alignment Model} (\textit{RAM}) that formalizes the alignment process as a type of importance sampling. In this framework, the unaligned upstream model serves as the proposal distribution, while the alignment process is framed as secondary sampling based on an autoregressive alignment module that acts as an estimator of the importance weights. This design enables a natural detachment of the alignment module from the target aligned model, improving flexibility and scalability. Based on this model, we derive an efficient sequence-level training strategy for the alignment module, which operates independently of the proposal module. Additionally, we develop a resampling algorithm with iterative token-level decoding to address the common first-token latency issue in comparable methods. Experimental evaluations on two leading open-source LLMs across diverse tasks, including instruction following, domain adaptation, and preference optimization, demonstrate that our approach consistently outperforms baseline models.

📄 PDF Abstract BibTeX arXiv:2505.19700

Code (0)

등록된 구현이 없습니다.

Tasks

Domain AdaptationInstruction Following

Similar Papers 제목 키워드 기반

MISA: Memory-Efficient LLMs Optimization with Module-wise Importance Sampling

2025-10-28 · Yuxi Liu, Renjia Deng, Yutong He, Xue Wang 외 arxiv

The substantial memory demands of pre-training and fine-tuning large language models (LLMs) require memory-efficient optimization algorithms. One promising approach is layer-wise optimization, which treats each transform…

Test-time reward-guided alignment of language models by importance sampling on pre-logit space

2025-10-30 · Sekitoshi Kanai, Tsukasa Yoshida, Hiroshi Takahashi, Haru Kuroki 외 arxiv

Test-time alignment of large language models (LLMs) attracts attention because fine-tuning of LLMs requires high computational costs. In this paper, we propose a new test-time reward-guided alignment method called adapti…

DETACH: Cross-domain Learning for Long-Horizon Tasks via Mixture of Disentangled Experts

2025-08-11 · Yutong Shen, Hangxu Liu, Lei Zhang, Penghui Liu 외 arxiv

Long-Horizon (LH) tasks in Human-Scene Interaction (HSI) are complex multi-step tasks that require continuous planning, sequential decision-making, and extended execution across domains to achieve the final goal. However…

Dynamic Gradient Alignment for Online Data Mixing

2024-10-03 · Simin Fan, David Grangier, Pierre Ablin

The composition of training data mixtures is critical for effectively training large language models (LLMs), as it directly impacts their performance on downstream tasks. Our goal is to identify an optimal data mixture t…

Detach-ROCKET: Sequential feature selection for time series classification with random convolutional kernels

2023-09-25 · Gonzalo Uribarri, Federico Barone, Alessio Ansuini, Erik Fransén

Time Series Classification (TSC) is essential in fields like medicine, environmental science, and finance, enabling tasks such as disease diagnosis, anomaly detection, and stock price analysis. While machine learning mod…

Anomaly DetectionComputational EfficiencyFeature Importancefeature selection+3