atlas

Research map / Large language models / Instruction and fine-tuning

L3Ms — Lagrange Large Language Models

ICLR 2025 · Large language models › Instruction and fine-tuning · approach: Efficient LLM fine-tuning systems · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Formulates SFT and alignment of LLMs as a constrained optimization problem and solves it with logarithmic barriers (L3Ms), fine-tuning LLaMA-7B on UltraChat with length and helpful/harmless constraints.

Problem

Current LLM pipelines combine SFT and alignment with heuristically chosen reward weights and KL penalties, making it hard to enforce application-specific minimum requirements on preferences while preserving task performance.

Approach

Merge SFT and alignment into one constrained problem (minimize task NLL subject to average preference-reward constraints) and enforce constraints with a relaxed logarithmic barrier whose parameter mu is annealed during fine-tuning, avoiding learned Lagrange multipliers and deviation penalties.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use log-barrier constrained fine-tuning instead of minimax optimizationLLaMA-7B on UltraChat with helpfulness and harmlessness constraints · UltraChat held-out testtask perplexity: MMs: mean task perplexities ≥ 0.822; L3Ms: 0.804-0.820Helped
Add response-length constraintsL3M · UltraChat held-out test, varying response-length constraintstask perplexity: within 0.02 standard deviationsNo clear effect
Make response-length constraints more stringentL3M · UltraChat held-out test, varying response-length constraintstask perplexityHurt
Fine-tune on UltraChat with supervised fine-tuningLLaMA-7B initialization · UltraChat held-out testtask perplexity: 1.316\textsubscript{$\pm$0.4} -> 0.805\textsubscript{$\pm$0.3}Helped

Surprising findings

Limitations

Experimental setup

Datasets: UltraChat Helpful and Harmless (HH)

Benchmarks: UltraChat held-out test set Helpful and Harmless preference test set

Metrics: task perplexity response length distribution mean helpfulness/harmlessness reward

Baselines: SFT model MMs (minimax Lagrangian approach) unconstrained reward-weighted alignment

Builds on: minimax Lagrangian constrained RLHF Bradley-Terry reward modeling interior-point log barrier methods

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy