LifeAlign: Lifelong Alignment for Large Language Models with Memory-Augmented Focalized Preference Optimization

Junsong Li, Jie Zhou, Bihao Zhan, Yutao Yang, Qianjun Pan +5 more
9/21/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: real-ljs/LifeAlign (12 stars, last commit 2026-04-07).

Abstract

Alignment plays a crucial role in Large Language Models (LLMs) in aligning with human preferences on a specific task/domain. Traditional alignment methods suffer from catastrophic forgetting, where models lose previously acquired knowledge when adapting to new preferences or domains. We introduce LifeAlign, a novel framework for lifelong alignment that enables LLMs to maintain consistent human preference alignment across sequential learning tasks without forgetting previously learned knowledge. Our approach consists of two key innovations. First, we propose a focalized preference optimization strategy that aligns LLMs with new preferences while preventing the erosion of knowledge acquired from previous tasks. Second, we develop a short-to-long memory consolidation mechanism that merges denoised short-term preference representations into stable long-term memory using intrinsic dimensionality reduction, enabling efficient storage and retrieval of alignment patterns across diverse domains. We evaluate LifeAlign across multiple sequential alignment tasks spanning different domains and preference types. Experimental results demonstrate that our method achieves superior performance in maintaining both preference alignment quality and knowledge retention compared to existing lifelong learning approaches. The codes and datasets will be released on GitHub.

View on arXivView PDF

Code Implementations(1)

real-ljs/LifeAlignCommunity70%

[AAAI 2026 Oral] LifeAlign: Lifelong Alignment for Large Language Models with Memory-Augmented Focalized Preference Optimization

120Shell, PythonJan 16, 20266 months ago

Similar Papers

Cite this paper

@article{li2025lifealign,
  title  = {LifeAlign: Lifelong Alignment for Large Language Models with Memory-Augmented Focalized Preference Optimization},
  author = {Junsong Li and Jie Zhou and Bihao Zhan and Yutao Yang and Qianjun Pan and Shilian Chen and Tianyu Huai and Xin Li and Qin Chen and Liang He},
  year   = {2025},
  eprint = {2509.17183},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.17183v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.17183.svg)](https://codeofpaper.com/paper/2509.17183)

Discussion