English

L3Ms -- Lagrange Large Language Models

Machine Learning 2025-03-18 v3 Artificial Intelligence Computation and Language Machine Learning

Abstract

Supervised fine-tuning (SFT) and alignment of large language models (LLMs) are key steps in providing a good user experience. However, the concept of an appropriate alignment is inherently application-dependent, and current methods often rely on heuristic choices to drive optimization. In this work, we formulate SFT and alignment as a constrained optimization problem: the LLM is fine-tuned on a task while being required to meet application-specific requirements, without resorting to heuristics. To solve this, we propose Lagrange Large Language Models (L3Ms), which employ logarithmic barriers to enforce the constraints. This approach allows for the customization of L3Ms across diverse applications while avoiding heuristic-driven processes. We experimentally demonstrate the versatility and efficacy of L3Ms in achieving tailored alignments for various applications.

Keywords

Cite

@article{arxiv.2410.21533,
  title  = {L3Ms -- Lagrange Large Language Models},
  author = {Guneet S. Dhillon and Xingjian Shi and Yee Whye Teh and Alex Smola},
  journal= {arXiv preprint arXiv:2410.21533},
  year   = {2025}
}

Comments

International Conference on Learning Representations (ICLR), 2025

R2 v1 2026-06-28T19:38:51.727Z