Margin Dynamics for Large Language Model Alignment
Xingzi Xu, Mehmet Saygin Seyfioglu, Karim Bouyarmane
Abstract
Practitioners choose among LLM alignment methods largely by trial and error. We provide a theoretical foundation: each pairwise method defines a vector field on the probability simplex that governs how the model redistributes mass between preferred and dispreferred completions. Projecting onto a single preferred/dispreferred pair reduces this to a one-dimensional margin ODE with a closed-form solution. These solutions reveal that DPO margins grow without bound (logarithmically as O( t) in the gradient-flow limit) while IPO margins converge to a finite 1/(2τ); that label noise induces a qualitative phase transition in DPO (unbounded bounded) but affects IPO only quantitatively; and that gradient concentration under asymmetric weighting governs trainability at scale. We confirm all three predictions across five model families spanning four benchmarks. The closed-form solutions also enable principled method design: we prove that adding any label smoothing > 0 to SimPO creates a finite margin attractor at Δ* = β-1((1-)/), while = 0 (standard SimPO) has no attractor. We test this across three models (8B-9B) and confirm the prediction: the theory-derived configuration (TPO-S, = 0.05) is competitive with the strongest baselines, attaining the highest mean IFEval score among the compared methods on all three, validating that the predicted finite attractor is a usable operating point rather than proposing a new state-of-the-art loss.
Create a lesson
Related papers
Sample-efficient Personalization of Large Language Model Alignment with Multidimensional User Preference Data
Shared title terminology · Zhen-Yu Zhang, Jerry Huang, Gang Niu et al.
Large Language Models as Nonlinear Dynamical Systems: The Three Clocks of Depth, Training, and Generation
Shared title terminology · Maor Farid
OceanCoder: A Verification-Guided Large Language Model for Automated Simulation Modelling in Ocean Engineering
Shared title terminology · Can Xue, Changhong He, Ziyi Sun et al.
Large-scale Neuron Community Discovery Reveals Neuron-Sparse Behaviors in Language Models
Shared title terminology · Igor Shilov, Thomas Fel, Tal Haklay et al.
Beyond Attribute-Centric Fairness: Modelling and Mitigating Unified Bias Representation in Omni-modal Large Language Models
Shared title terminology · Runqi Lin, Suqin Yuan, Zihao Fu et al.
Weight-space programming for tractor guidance controller: large language models natively write neural network weights that steer a real tractor
Shared title terminology · Timo Oksanen