Large Language Models (LLMs) have demonstrated remarkable capabilities through pretraining and alignment. However, superior short-context LLMs may underperform in long-context scenarios due to insufficient long-context alignment. This alignment process remains challenging due to the impracticality of human annotation for extended contexts and the difficulty in balancing short- and long-context performance. To address these challenges, we introduce LongPO, that enables short-context LLMs to self-evolve to excel on long-context tasks by internally transferring short-context capabilities. LongPO harnesses LLMs to learn from self-generated short-to-long preference data, comprising paired responses generated for identical instructions with long-context inputs and their compressed short-context counterparts, respectively. This preference reveals capabilities and potentials of LLMs cultivated during short-context alignment that may be diminished in under-aligned long-context scenarios. Additionally, LongPO incorporates a short-to-long KL constraint to mitigate short-context performance decline during long-context alignment. When applied to Mistral-7B-Instruct-v0.2 from 128K to 512K context lengths, LongPO fully retains short-context performance and largely outperforms naive SFT and DPO in both long- and short-context tasks. Specifically, LongPO-trained models can achieve results on long-context benchmarks comparable to, or even surpassing, those of superior LLMs (e.g., GPT-4-128K) that involve extensive long-context annotation and larger parameter scales. Our code is available at https://github.com/DAMO-NLP-SG/LongPO.
Structured Preference Optimization for Vision-Language Long-Horizon Task Planning
Shenzhen Campus of Sun Yat-sen University(中山大学深圳校区);The Chinese University of Hong Kong(香港中文大学);Spatialtemporal AI(时空人工智能);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);The University of Hong Kong(香港大学);Shanghai Jiaotong University(上海交通大学)
Beyond Bradley-Terry Models: A General Preference Model for Language Model Alignment
IIIS, Tsinghua University, Beijing, China(清华大学信息科学技术学院,北京,中国);Shanghai Qi Zhi Institute, Shanghai, China(上海启智研究院,上海,中国);Department of Computer Science, University of California, Los Angeles, California, USA(计算机科学系,加州大学洛杉矶分校,美国,加州)
C2PO: Diagnosing and Disentangling Bias Shortcuts in LLMs
Jinan University(济南大学);Nanyang Technological University(南洋理工大学);Engineering Research Center of Trustworthy AI (Ministry of Education)(可信人工智能工程研究中心);Guangxi Key Laboratory of Trusted Software(广西可信软件重点实验室)
Decisive: Guiding User Decisions with Optimal Preference Elicitation from Unstructured Documents
Adobe Research, India(Adobe印度研究实验室);IIT Madras(印度理工学院马德拉斯分校);IIT Roorkee(印度理工学院罗尔基分校);IIIT Hyderabad(Hyderabad印度理工学院);University of Maryland, College Park(马里兰大学学院公园分校)
Both Direct and Indirect Evidence Contribute to Dative Alternation Preferences in Language Models
Department of Linguistics, The University of Texas at Austin(德克萨斯大学奥斯汀分校语言学系);Department of Linguistics and Philology, Uppsala University(乌普萨拉大学语言学与哲学系)