Organizations: Department of Statistics and Data Science, Jinan University, Guangzhou, China. · School of Mathematics and Institute for Artificial Intelligence, Harbin Institute of Technology, Harbin, China. · School of Earth and Space Sciences, Institute for Artificial Intelligence, Peking University, Beijing, China. · International Center for Interdisciplinary Statistics, School of Mathematics, Harbin Institute of Technology, Harbin, China.
The growing adoption of Direct Preference Optimization (DPO), which leverages pairwise preference data, reflects its great success in fine-tuning large language models to align with human expectations. It directly optimizes the policy from human preferences without explicit reward modeling or the complexities of reinforcement learning-based approaches. However, the classic DPO relies on the Bradley--Terry sampling model and cannot effectively capture intransitivity or cyclic structures in aggregated human preference data. In this article, we propose Sparse Hodge Preference Optimization (SHPO), a preference optimization algorithm that augments DPO with a sparse antisymmetric curl residual motivated by the combinatorial Hodge decomposition. We prove that SHPO strictly enlarges DPO's hypothesis class on comparison graphs containing at least one triangle, under some mild regularity conditions on the response representations. We further establish a theoretical guarantee for ℓ1-regularized estimation of the curl coefficients under fixed policy and representations. Qualitative studies on three preference datasets under the same QLoRA budget, SHPO-aligned LLM achieves satisfactory performances in preference accuracy, cyclic structure recovery, and GPT-4o-judged generation quality.
Figures & tables
Fig. 1: Outline of SHPO alignment: (a) diagnose cyclic preferences; (b) decomposing the preference flow via Hodge into gradient, curl, and harmonic components, and augmenting DPO with a sparse antisymmetric curl head.
Fig. 2: Ablation studies across the three datasets. Bars report 3 -seed means with sample-std error bars. (a) Component ablation DPO vs. HPO vs. SHPO. (b) Gradient-coupling ablation SHPO vs. Detach variant. (c) Inductive-bias control curl head vs. antisymmetrized MLP head.
Fig. 3: Hyperparameter sensitivity of SHPO on HH-RLHF. (a) Curl dimension 2K : best at 16 . (b) ℓ1 coefficient λreg : best at 0.001 . (c) Curl scale α : best at 0.5 . All results are under single random seed.
Fig. 4: Sparse, low-rank structure exhibited by the ℓ1 -regularized curl head on the pilot checkpoint.
TABLE 2: Generation evaluation using GPT-4o as the judge. Panel (a): pointwise quality scores on N=885 prompts from AlpacaEval and Vicuna-Bench, with marginal 95% bootstrap confidence intervals (1000 resamples) for each method. Panels (b) and (c): pairwise head-to-head comparisons.
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Figure S.1 : Per-seed pairwise policy accuracy ( accπ ) for the four curl/bilinear-head methods on the three datasets. Each marker is a single seed ( ∘ seed 42 , △ seed 123 , □ seed 456 ); the horizontal bar is the per-method 3-seed mean. Tight clusters indicate cross-seed stability (SHPO, MLP); wide spreads indicate brittleness (Detach on every dataset, HPO on UltraFeedback). Numerical values are listed in Table S.1 .
Table S.2 : Ablation studies across three datasets. Panel (a): component ablation on accπ , progressively adding the curl head and ℓ1 regularization. Panel (b): gradient coupling ablation on accdpo+c , comparing SHPO with a stop-gradient (Detach) variant. Panel (c): inductive bias control on accπ , comparing SHPO against an antisymmetrized MLP of matched parameter count. DPO, HPO, SHPO, and Detach report 3-seed mean ± std (matching Table ); MLP values are 3-seed means. Bold : best per dataset within each panel.
2K
accπ
accdpo
accdpo+c
4
0.492
0.550
0.562
8
0.490
0.574
0.579
16
0.515
0.615
0.648
32
0.434
0.447
0.453
64
0.447
0.440
0.444
Appendix
Table S.3 : Curl dimension ( 2K ) sweep on HH-RLHF (seed 42, 1,000 training pairs). Bold : best per metric column.
λreg
accπ
accdpo
accdpo+c
0.0
0.448
0.462
0.462
0.001
0.493
0.594
0.604
0.01
0.450
0.474
0.475
0.05
0.487
0.555
0.560
0.1
0.448
0.440
0.442
Appendix
Table S.4 : ℓ1 regularization ( λreg ) sweep on HH-RLHF (seed 42, 1,000 training pairs). Bold : best per metric column.
α
accπ
accdpo
accdpo+c
0.1
0.443
0.469
0.470
0.5
0.493
0.588
0.595
1.0
0.489
0.579
0.587
2.0
0.446
0.476
0.484
5.0
0.450
0.435
0.440
Appendix
Table S.5 : Curl scale ( α ) sweep on HH-RLHF (seed 42, 1,000 training pairs). Bold : best per metric column.
(a) Sparsity statistics of learned γ
Number of curl planes ( K )
8
Active planes ( ∣γl∣>0.001 )
2
Active ratio
25.0%
∥γ∥1 (all planes)
0.0705
∥γ∥1 (active planes)
0.069
(b) Curl contribution ratio (HH-RLHF test, n=1000 )
Appendix
Table S.6 : Curl head diagnostics. Panels (a)–(b) are from the HH-RLHF checkpoint (1,000 training pairs, curl dimension 2K=16 , epoch 3 ): (a) sparsity statistics of the learned γ ; (b) curl contribution ratios on the HH-RLHF test set ( n=1000 ). Panel (c) characterizes the cyclic structure of the Synthetic split ( 794 triangles): the prevalence of cyclic vs. transitive triangles (a data-level property) together with the curl head’s direction agreement on the cyclic triangles.
(a) Training (shared across all methods)
Base model
Qwen2.5-7B-Instruct
LoRA rank r / α
16 / 32
LoRA dropout
0.05
Quantization
QLoRA 4-bit (NF4)
Precision
bfloat16
Epochs
3
Appendix
Table S.7 : Key experiment configuration (shared across all methods unless noted). SHPO-specific hyperparameters were selected via grid search over HH-RLHF (see hyperparameter sensitivity analysis in this appendix).