Skip to content
ImagineWorld

Gradient-Gated DPO: Stabilizing Preference Optimization in Language Models

node_idnode-paper_arxiv-2605.02626_gradient-gated-dpo-stabilizing-preference-optimization-in-language-models
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2605.02626
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the preference-optimization field, the work stabilizes preference optimization in language models by gating updates on gradient properties, damping the updates that would destabilize the policy — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleGradient-Gated DPO: Stabilizing Preference Optimization in Language Models
paper_authorsInoussa Mouiche, Abderaouf Bahi
arxiv_id2605.02626
arxiv_urlhttps://arxiv.org/abs/2605.02626
arxiv_categories{"primary":"cs.LG","secondary":[]}
arxiv_v2
arxiv_submitted_at2026-05-04
arxiv_updated_at2026-09-21
ocr_sourcearxiv_html
ocr_quality_classverbatim_latexml_html
extraction_toolarxiv-nodepaper-transpose
extraction_pipeline_versionworld-ingest-arxiv-html-v1.0
extracted_at2026-10-13T06:51:09Z
math_preserved_as_latextrue
figures_extractedtrue
references_structurally_parsedfalse
created_at2026-10-13T06:51:09Z
updated_at2026-10-14T05:10:36Z
local graph

Gradient-Gated DPO: Stabilizing Preference Optimization in Language Models

Section titled “Gradient-Gated DPO: Stabilizing Preference Optimization in Language Models”

Authors: Inoussa Mouiche, Abderaouf Bahi

arxiv: 2605.02626

Converted to markdown on 2026-10-13 from the arXiv HTML (LaTeXML) rendering; figures embedded from the same source.


Direct Preference Optimization (DPO) improves relative preference by increasing the margin between chosen and rejected responses, but this objective does not specify how probability mass should be redistributed to achieve that margin. Consequently, preference separation can improve even as probability mass collapses away from both preferred and unrelated responses, a phenomenon associated with the squeezing effect. We show that this pathology is localized: continued negative updates become destructive when rejected responses enter low-probability valleys, where further suppression induces harmful redistribution through the coupled softmax geometry. We introduce Gradient-Gated Preference Optimization (Gate-DPO), which uses the current probability geometry of each rejected response to selectively attenuate its contribution, limiting excessive rejected suppression while delaying preference-loss saturation. Gate-DPO is objective-agnostic and composes with existing preference methods. Across four architectures, two preference datasets, and multiple objectives, gating consistently reduces squeezing and improves chosen-response likelihood, while exhibiting robust reductions in rejected-response collapse across architectures and objectives. Mass-dynamics analysis further shows that large preference margins can conceal substantial suppression of unrelated responses, while gating achieves healthier redistribution. Together, our results show that preference margin alone is insufficient to characterize optimization health and that selectively controlling probability dynamics provides a simple, general mechanism for stabilizing preference optimization. Code for experiments is available at GitHub11 1 Hidden to preserve anonymity.

Preference optimization has become a standard approach for aligning language models with human preferences. Direct Preference Optimization (DPO) (Rafailov et al., 2023) simplifies reinforcement learning from human feedback by directly increasing the relative preference margin between chosen and rejected responses. However, optimizing this margin does not determine how probability mass is redistributed across the model’s output distribution. A larger preference margin can therefore coexist with decreasing likelihood of preferred responses and substantial suppression of unrelated outputs, as observed in recent analyses of squeezing and likelihood displacement (Ren & Sutherland, 2025; Razin et al., 2025). This distinction between the preference objective and its induced probability dynamics is central to our work. DPO optimizes

log⁡π_θ(y+∣x)−log⁡π_θ(y−∣x),\log\pi\_{\theta}(y^{+}\mid x)-\log\pi\_{\theta}(y^{-}\mid x),

through opposing gradient contributions from the chosen and rejected responses. Negative rejected-response updates are necessary for preference learning, but their effect depends on the current probability geometry. When rejected responses have already entered low-probability “valleys,” continued suppression provides diminishing preference-learning benefit while softmax coupling can redistribute probability mass toward high-probability outputs and away from other plausible responses. This produces the squeezing effect: the preference margin may continue to improve even as the broader distribution deteriorates. Existing approaches mitigate aspects of this behavior through data augmentation (Ren & Sutherland, 2025), alternative objectives such as IPO (Azar et al., 2023) and Cal-DPO (Xiao et al., 2024), or global control of the rejected term, as in DPO-Shift (Yang et al., 2025). These methods can improve chosen-response likelihood or alter the margin–likelihood trade-off, but they do not explicitly identify which rejected responses have entered the low-probability regime. Moreover, the preference margin alone cannot reveal whether a smaller margin reflects insufficient rejection or healthier preservation of probability elsewhere in the distribution. This motivates an intervention that is local to the probability state of each preference pair.

We introduce Gradient-Gated Preference Optimization (Gate-DPO), a probability-aware mechanism that selectively attenuates rejected-response updates according to their current probability geometry. The gate remains near standard preference optimization for informative rejected responses and progressively attenuates further suppression once they enter low-probability valleys. Because gating acts inside the preference objective, it has a second effect beyond direct attenuation: by limiting growth of the effective preference margin, it can delay loss saturation and sustain the chosen-response learning signal. The gate is detached from the computation graph and is independent of the underlying preference objective, allowing the same mechanism to compose naturally with DPO, IPO, Cal-DPO, DPO-Shift, and data-augmentation approaches. Our experiments support this mechanism across four architectures, two preference datasets, and multiple preference objectives. Gating consistently reduces squeezing and improves chosen-response likelihood, with the effect persisting across architectures, datasets, and preference objectives. Probability-mass analysis further shows that preference margin alone can conceal substantial suppression of unrelated responses: methods can achieve strong separation through markedly different redistribution dynamics. Finally, pairwise response evaluation provides complementary behavioral evidence, with gated variants exceeding consistently demonstrating their superiority across 32 judge–architecture–objective–gate comparisons. Together, these results suggest that stable preference optimization requires considering not only whether the preference margin increases, but how that margin is achieved.

Our main contributions are: i) We distinguish preference-margin optimization from the probability dynamics used to achieve it, and show that continued suppression of already low-probability rejected responses can induce squeezing and destructive redistribution through softmax coupling; ii) we propose Gate-DPO, a probability-aware mechanism that selectively attenuates rejected-response updates in this localized regime, and show that gating acts through two coupled mechanisms, direct rejected-response attenuation and delayed preference-loss saturation, which sustains the chosen-response learning signal; iii) we demonstrate that gradient gating is modular across architectures and preference objectives, remaining effective when composed with IPO, Cal-DPO, DPO-Shift, and extended SFT; and iv) we show empirically that preference margin alone can obscure optimization health: comparable or larger margins can arise from substantially different probability redistribution over preferred and unrelated responses, while pairwise evaluations provide evidence that healthier dynamics can translate into improved response preference.

Given a preference pair (y+,y−)(y^{+},y^{-}) for prompt xx, Direct Preference Optimization (DPO) (Rafailov et al., 2023) minimizes

L_DPO=−log⁡σ ⁣(β[log⁡π_θ(y+∣x)π_ref(y+∣x)−log⁡π_θ(y−∣x)π_ref(y−∣x)]),\mathcal{L}\_{\mathrm{DPO}}=-\log\sigma\!\left(\beta\left[\log\frac{\pi\_{\theta}(y^{+}\mid x)}{\pi\_{\mathrm{ref}}(y^{+}\mid x)}-\log\frac{\pi\_{\theta}(y^{-}\mid x)}{\pi\_{\mathrm{ref}}(y^{-}\mid x)}\right]\right),(1)

where π_θ\pi\_{\theta} is the policy, π_ref\pi\_{\mathrm{ref}} is the reference policy, and β\beta controls the strength of the preference update. Thus, DPO optimizes the relative margin between chosen and rejected responses; it does not directly constrain their absolute likelihoods or how probability mass is redistributed over other outputs.

Let the quantity inside β[⋅]\beta[\cdot] in Eq. 1 be Δ_θ\Delta\_{\theta}. Its gradient has the form

∇_θL_DPO=−c_θ[∇_θlog⁡π_θ(y+∣x)−∇_θlog⁡π_θ(y−∣x)],c_θ=βσ(−βΔ_θ)>0.\nabla\_{\theta}\mathcal{L}\_{\mathrm{DPO}}=-c\_{\theta}\left[\nabla\_{\theta}\log\pi\_{\theta}(y^{+}\mid x)-\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)\right],\qquad c\_{\theta}=\beta\sigma(-\beta\Delta\_{\theta})>0.(2)

Hence, margin optimization induces opposing chosen- and rejected-response updates. These updates operate through a softmax distribution, where changing one output necessarily affects probability assigned elsewhere. Consequently, two policies can improve the same preference objective through substantially different probability-redistribution dynamics.

Negative updates to rejected responses are fundamental to preference learning and are not inherently pathological. The problem arises when rejected responses enter extremely low-probability regions: continued suppression provides diminishing preference-learning benefit while softmax coupling can redistribute probability mass destructively. We refer to this behavior as the squeezing effect, following Ren & Sutherland (2025). Figure 1 illustrates three interrelated manifestations during DPO training.

Figure 1: Three interrelated pathologies under DPO on Pythia-410M with Anthropic-HH. (a) Absolute drift: after the SFT →

Figure 1: Three interrelated pathologies under DPO on Pythia-410M with Anthropic-HH. (a) Absolute drift: after the SFT → \rightarrow DPO transition, chosen and rejected log-probabilities can both decrease despite improving preference separation. (b) Squeezing: probability mass concentrates on high-confidence outputs while chosen and rejected responses decline. (c) Valley collapse: already low-probability regions undergo disproportionately severe suppression.

i) Unbounded absolute drift. Because DPO constrains relative preference rather than absolute likelihood, the preference margin can improve while both chosen and rejected log-probabilities decrease (Fig. 1a).

ii) Squeezing via mass concentration. Softmax coupling redistributes probability removed from one region elsewhere in the distribution. Because the preference objective does not control where this mass goes, it can concentrate on already high-probability outputs while chosen, rejected, and unrelated alternatives are jointly suppressed (Fig. 1b).

iii) Valley collapse. The rejected-response contribution does not explicitly account for whether the rejected response already occupies an extremely low-probability region. Continued negative updates can therefore disproportionately suppress such “valley” responses and nearby regions of the distribution (Fig. 1c).

On Pythia-410M with Anthropic-HH, standard DPO decreases chosen and rejected log-likelihoods by 11.9011.90 and 26.3526.35 log units, respectively, while increasing the argmax by 5.855.85 and suppressing the remainder of the distribution by 24.7624.76. Appendix A shows that the underlying failure mode is not specific to DPO or language models, reproducing analogous redistribution under negative updates to low-probability classes in multiclass logistic regression. These dynamics also show why preference margin alone can be misleading. A large margin may arise from strong rejected-response suppression while chosen and unrelated responses simultaneously lose likelihood. Conversely, a method that better preserves chosen and unrelated responses may obtain a smaller margin without assigning substantially more likelihood to rejected responses. Thus, margin improvement characterizes preference separation, but not the health of the underlying probability redistribution. This observation suggests that rejected gradients should not be weakened uniformly. Many rejected responses remain informative; attenuation is needed specifically when a rejected response enters the low-probability regime. This motivates a localized, model-state-dependent principle: localized probability pathology requires localized gradient attenuation. We develop this mechanism next.

The analysis above suggests that rejected-response suppression should be attenuated based on the response’s current probability state rather than uniformly across training examples. Gate-DPO implements this principle using a detached, probability-aware gate.

For a rejected response y−=(y−_1,…,y−_T)y^{-}=(y^{-}\_{1},\ldots,y^{-}\_{T}), let p_t=π_θ(y−_t∣x,y−_<t)p\_{t}=\pi\_{\theta}(y^{-}\_{t}\mid x,y^{-}\_{<t}) denote its teacher-forced token probabilities. We consider two statistics that summarize whether the rejected response has entered a low-probability region. The sequence-level statistic is the geometric mean

s_seq(x,y−)=exp⁡(1T∑_t=1Tlog⁡p_t),s\_{\mathrm{seq}}(x,y^{-})=\exp\left(\frac{1}{T}\sum\_{t=1}^{T}\log p\_{t}\right),(3)

while the token-level statistic uses a lower-tail quantile,

s_tok(x,y−)=Q_q({p_t}_t=1T),s\_{\mathrm{tok}}(x,y^{-})=Q\_{q}\left(\{p\_{t}\}\_{t=1}^{T}\right),(4)

where Q_qQ\_{q} is the qq-quantile. The former summarizes the response globally, whereas the latter detects localized low-probability tokens that may be hidden by sequence averaging. Both statistics produce one scalar gate per rejected response; q10 is therefore sequence-level attenuation conditioned on a token-level lower-tail statistic, not per-token gradient gating.

Given either valley statistic s(x,y−)s(x,y^{-}), we define

g(x,y−)=σ ⁣(α [s(x,y−)−τ]),0<g(x,y−)<1,g(x,y^{-})=\sigma\!\left(\alpha\,[s(x,y^{-})-\tau]\right),\qquad 0<g(x,y^{-})<1,(5)

where τ\tau determines when attenuation begins and α\alpha controls the transition sharpness. The gate approaches one outside low-probability regions and decreases as the rejected response moves deeper into a probability valley. Because s(x,y−)≥0s(x,y^{-})\geq 0, gg has an exact floor g_min⁡=σ(−ατ)g\_{\min}=\sigma(-\alpha\tau), attained as s→0s\to 0: the intervention is a bounded soft damper, not a mechanism that can drive the rejected contribution to zero. This floor is negligible when ατ≫1\alpha\tau\gg 1 (our sequence-level default, τ=0.10,α=50\tau=0.10,\alpha=50, gives g_min⁡≈0.7%g\_{\min}\approx 0.7\%) but not when ατ=O(1)\alpha\tau=O(1) (our token-level default, τ=0.005,α=50\tau=0.005,\alpha=50, gives g_min⁡≈43.8%g\_{\min}\approx 43.8\%); Appendix B makes this precise and Appendix D.2 reports the corresponding logged gate statistics.

Crucially, gg is detached from the computation graph. It therefore acts as a model-state-dependent coefficient rather than an additional optimization target. The gate is bounded and monotone, smoothly interpolating between strong attenuation in low-probability valleys and the ungated rejected update elsewhere; Appendix B analyzes its properties and resulting gradient dynamics. For DPO, we replace the rejected log-ratio with its gated counterpart:

L_Gate-DPO=−log⁡σ ⁣(β[r_θ+−g(x,y−) r_θ−]),\mathcal{L}\_{\mathrm{Gate\text{-}DPO}}=-\log\sigma\!\left(\beta\left[r\_{\theta}^{+}-g(x,y^{-})\,r\_{\theta}^{-}\right]\right),(6)

where

r_θ±=log⁡π_θ(y±∣x)π_ref(y±∣x).r\_{\theta}^{\pm}=\log\frac{\pi\_{\theta}(y^{\pm}\mid x)}{\pi\_{\mathrm{ref}}(y^{\pm}\mid x)}.

Gating also changes the common gradient coefficient

c_θgate=β[1−σ ⁣(β[r_θ+−gr_θ−])].c\_{\theta}^{\mathrm{gate}}=\beta\left[1-\sigma\!\left(\beta[r\_{\theta}^{+}-gr\_{\theta}^{-}]\right)\right].(7)

For r_θ−<0r\_{\theta}^{-}<0 and g<1g<1, the effective margin is smaller than in DPO at the same policy state, so c_θgate>c_θDPOc\_{\theta}^{\mathrm{gate}}>c\_{\theta}^{\mathrm{DPO}}. Gate-DPO therefore acts through two coupled mechanisms: direct attenuation of the rejected term and delayed loss saturation, which sustains the chosen-response learning signal. Appendix B.4 provides the derivation and empirical analysis.

Gate-DPO differs from globally applied interventions in that attenuation is determined independently for each preference pair from the model’s current probability geometry. Rejected responses in the same minibatch can therefore receive different attenuation, and their gates evolve as the policy changes. This directly matches the localized nature of the pathology identified in Section 2.1. The mechanism is also independent of the particular preference objective: whenever an objective contains a rejected-response contribution, the same detached gate can modulate that contribution without changing how the valley state is detected. We therefore apply gating not only to DPO, but also to IPO, Cal-DPO, DPO-Shift, and extended-SFT variants. Section 4 evaluates this modularity empirically. Appendix C.2 further shows analytically that the same construction recovers RPO and Bounded-DPO extensions.

We evaluate whether Gate-DPO mitigates squeezing, improves probability redistribution, generalizes across architectures and datasets, and composes with other preference objectives. Pairwise response evaluation further tests whether healthier optimization dynamics yield more preferred outputs.

we evaluate four architectures, Pythia-410M (Biderman et al., 2023), Qwen-0.5B (Bai et al., 2023), LLaMA-7B (Touvron et al., 2023), and Qwen1.5-7B (Bai et al., 2023) on Anthropic-HH (Bai et al., 2022) and UltraFeedback (Cui et al., 2023). This provides two model families at the 7B scale in addition to the smaller architectures. Training: models are initialized from SFT checkpoints and preference-optimized for 5–6 epochs with batch size 4 and learning rate 5×10−75\times 10^{-7}. For Gate-DPO, we use τ=0.10\tau=0.10 for sequence-level gating and τ=0.005\tau=0.005 for token-level gating, with q=0.10q=0.10 and α=50\alpha=50. Full implementation details, computational cost, and hyperparameter sensitivity analyses are provided in Appendix D. Evaluation: we measure changes in chosen and rejected log-likelihood, preference separation, and gate activation on held-out data. To directly characterize probability redistribution, we additionally measure changes over preferred, rejected, and unrelated response variants relative to the SFT reference. The full mass-dynamics protocol, metric definitions, and representative training and evaluation examples are provided in Appendix E. Finally, we use pairwise response evaluation as complementary task-level evidence.

Figure 2 compares gradient gating with four representative approaches on Pythia-410M with Anthropic-HH: extended SFT (Ren & Sutherland, 2025), Cal-DPO (Xiao et al., 2024), IPO (Azar et al., 2023), and DPO-Shift (Yang et al., 2025). Ungated baselines: standard DPO exhibits severe squeezing, with Δ_chosen=−11.9\Delta\_{\mathrm{chosen}}=-11.9. Extended SFT does not resolve the pathology (−12.2-12.2), indicating that improving the initialization alone is insufficient to prevent destructive preference updates. DPO-Shift similarly remains strongly negative (−10.6-10.6), showing that a global schedule on the rejected term does not resolve squeezing in this setting. IPO (−1.0-1.0) substantially reduces the collapse but still leaves chosen-response likelihood decreasing. Cal-DPO’s calibration term alone is enough to reverse it (+1.0+1.0), since calibrating the implicit reward toward a fixed target opposes unbounded margin growth even without gating. Effect of gating: Gate-DPO reverses this behavior, yielding Δ_chosen=+1.2\Delta\_{\mathrm{chosen}}=+1.2 with sequence-level gating and +1.3+1.3 with token-level gating. The same mechanism also improves other objectives: Gate-Cal-DPO further increases Cal-DPO’s already-positive recovery to +1.5+1.5 to +1.6+1.6, while Gate-DPO-Shift reaches +1.2+1.2 to +1.6+1.6 compared with −10.6-10.6 for its ungated baseline. Gate-IPO likewise reverses the residual drift, reaching +1.0+1.0 to +1.2+1.2 with token-level gating, compared with −1.0-1.0 for ungated IPO. Thus, the benefit is not specific to the DPO objective. The training trajectories provide a consistent picture: ungated methods exhibit decreasing chosen likelihood together with increasing argmax probability, whereas gated variants substantially suppress this concentration while stabilizing rejected-response updates. Token-level gating consistently provides a modest additional improvement over sequence-level gating across all four objectives, suggesting that lower-tail token probabilities capture localized valleys somewhat more precisely than a sequence-level average. Appendix B.4 independently confirms delayed saturation through the coefficient cˉ_θ\bar{c}\_{\theta}, with gating slowing its decay in seven of the eight tested architecture–dataset configurations.

Figure 2: Comparison with existing mitigation strategies on Pythia-410M using 5k Anthropic-HH preference pairs. Top: lea

Figure 2: Comparison with existing mitigation strategies on Pythia-410M using 5k Anthropic-HH preference pairs. Top: learning trajectories for chosen, rejected, and argmax responses. Bottom: rejected-response squeezing, chosen-response change, and improvement relative to standard DPO. Gating consistently reduces squeezing and improves chosen-response dynamics across the evaluated preference objectives.

Preference margin measures whether chosen responses become more preferred than rejected responses, but not how the broader output distribution changes to achieve that separation. We therefore evaluate probability-mass dynamics over preferred, rejected, and unrelated response variants. We report Δ\Delta Margin, Δ\Delta Chosen, and Δ\Delta Others relative to the SFT reference; the complete protocol and metric definitions are provided in Appendix E.

Table 1 reveals markedly different redistribution dynamics behind similar preference improvements. Standard DPO obtains the largest margin (14.4514.45), but simultaneously decreases preferred responses (ΔChosen=−11.90\Delta\text{Chosen}=-11.90) and strongly suppresses unrelated responses (ΔOthers=−27.55\Delta\text{Others}=-27.55). DPO-Shift exhibits a similar pattern: despite a margin of 14.8114.81, chosen and unrelated responses decrease by 10.6010.60 and 25.0725.07 log units, respectively. Thus, a large preference margin can coexist with substantial probability collapse outside the chosen-rejected comparison. Gating changes this trade-off. Gate-DPO achieves smaller but still substantial margins (8.488.48–8.908.90) while reversing chosen-response drift (+1.17+1.17 to +1.30+1.30) and substantially reducing collateral suppression (−1.42-1.42 to −3.86-3.86). The same pattern appears when gating is composed with other methods. In particular, Gate-DPO-Shift converts the negative chosen drift of DPO-Shift to +1.23+1.23–+1.58+1.58 while reducing ΔOthers\Delta\text{Others} from −25.07-25.07 to between −1.65-1.65 and −3.37-3.37. Extend + Gate-DPO (q10) similarly restores positive chosen movement (+1.15+1.15) while limiting collateral suppression (−1.96-1.96) and does so robustly across all four architectures (Appendix C.1). The sequence-level Extend variant uses one untuned τ=0.03\tau=0.03 across architectures and reduces rejected collapse on three of four models (Table 4); on Pythia-410M its gate barely activates and chosen movement remains negative (−5.42-5.42). This is consistent with the model–dataset sensitivity of τ\tau examined in Section 4.4 and Appendix D.2; q10 is positive here under its shared default. These results also clarify why a smaller preference margin should not automatically be interpreted as weaker preference learning. The reduction does not necessarily correspond to undesirable recovery of the rejected response; it can accompany substantially better preservation of preferred and unrelated regions of the distribution. Preference margin therefore characterizes separation, whereas the accompanying mass dynamics characterize how that separation is achieved.

Table 1: Probability-mass dynamics on Pythia-410M with Anthropic-HH. Δ\Delta Margin measures the change in chosen–rejected separation; Δ\Delta Chosen measures movement on preferred responses; and Δ\Delta Others measures collateral movement on unrelated responses. Higher Δ\Delta Chosen and Δ\Delta Others closer to zero indicate healthier redistribution.

MethodΔ\Delta MarginΔ\Delta ChosenΔ\Delta Others
DPO14.45-11.90-27.55
Extend + DPO8.86-12.20-20.27
Cal-DPO7.77+1.03-3.02
IPO8.48-0.95-7.82
DPO-Shift14.81-10.60-25.07
Gate-DPO (seq)8.48+1.17-1.42
Gate-DPO (q10)8.90+1.30-3.86
Extend + Gate-DPO (seq)11.45-5.42-11.57
Extend + Gate-DPO (q10)8.20+1.15-1.96
Gate-Cal-DPO (seq)7.15+1.51-1.04
Gate-Cal-DPO (q10)7.22+1.61-2.06
Gate-IPO (seq)7.43+0.96-1.46
Gate-IPO (q10)7.91+1.22-2.76
Gate-DPO-Shift (seq)8.47+1.23-1.65
Gate-DPO-Shift (q10)8.87+1.58-3.37

4.4 Generalization Across Architectures and Datasets

Section titled “4.4 Generalization Across Architectures and Datasets”

We next evaluate whether squeezing and the effect of gating generalize across architectures and preference datasets. We consider four models, Pythia-410M, Qwen-0.5B, LLaMA-7B, and Qwen1.5-7B on Anthropic-HH and UltraFeedback, yielding eight model–dataset configurations. Figure 3 summarizes the resulting chosen-response dynamics under DPO and Gate-DPO.

Figure 3: Generalization across architectures and datasets. Chosen-response likelihood change under DPO and Gate-DPO acr

Figure 3: Generalization across architectures and datasets. Chosen-response likelihood change under DPO and Gate-DPO across four architectures on Anthropic-HH and UltraFeedback. Squeezing varies substantially across model–dataset combinations, whereas gating produces positive chosen-response movement in all eight settings using the fixed default thresholds.

Squeezing is model–dataset dependent. Standard DPO ranges from severe chosen-response drift on Anthropic-HH (Pythia-410M: −11.90-11.90; Qwen1.5-7B: −6.24-6.24) to almost none on LLaMA-7B (−0.06-0.06); on UltraFeedback, LLaMA-7B instead moves positively (+1.13+1.13). Thus, scale alone does not determine squeezing. Gate-DPO produces positive chosen-response movement in all eight configurations, with the largest gains where baseline squeezing is strongest (e.g., Pythia-410M/UltraFeedback: −7.33→+11.82-7.33\to+11.82). The same default thresholds are used throughout despite gate activation varying by approximately 2020–45%45\%, supporting gating as a localized intervention. The threshold τ\tau remains the primary model–dataset-sensitive hyperparameter; Appendix D.2 studies its operating range, while Appendix B.4 shows how it regulates loss saturation. Appendix D shows that α\alpha is comparatively robust.

4.5 Modularity Across Preference Objectives

Section titled “4.5 Modularity Across Preference Objectives”

We test whether gating composes with changes to the objective (IPO and Cal-DPO), rejected-response schedule (DPO-Shift), and initialization (extended SFT). Table 2 reports rejected-response dynamics across four architectures for each base method and its best gated variant.

Table 2: Modularity across objectives and architectures. Δ_rejected\Delta\_{\mathrm{rejected}}: base →\rightarrow best gated (minimum ∣Δ_rejected∣|\Delta\_{\mathrm{rejected}}|); large negative values indicate stronger collapse. Full results: Appendix C.1.

MethodPythia-410MLLaMA-7BQwen-0.5BQwen1.5-7B
DPO−26.35 ⁣→ ⁣−7.31-26.35\!\rightarrow\!-7.31−0.88 ⁣→ ⁣+0.08-0.88\!\rightarrow\!+0.08−30.47 ⁣→ ⁣−6.25-30.47\!\rightarrow\!-6.25−10.45 ⁣→ ⁣−0.77-10.45\!\rightarrow\!-0.77
DPO-Shift−25.40 ⁣→ ⁣−7.25-25.40\!\rightarrow\!-7.25−0.80 ⁣→ ⁣+0.10-0.80\!\rightarrow\!+0.10−27.23 ⁣→ ⁣−6.00-27.23\!\rightarrow\!-6.00−9.20 ⁣→ ⁣−0.71-9.20\!\rightarrow\!-0.71
IPO−9.43 ⁣→ ⁣−6.46-9.43\!\rightarrow\!-6.46−0.64 ⁣→ ⁣+0.02-0.64\!\rightarrow\!+0.02−8.36 ⁣→ ⁣−5.60-8.36\!\rightarrow\!-5.60−2.16 ⁣→ ⁣−0.75-2.16\!\rightarrow\!-0.75
Cal-DPO−6.74 ⁣→ ⁣−5.61-6.74\!\rightarrow\!-5.61−0.43 ⁣→ ⁣−0.01-0.43\!\rightarrow\!-0.01−6.03 ⁣→ ⁣−4.88-6.03\!\rightarrow\!-4.88−1.07 ⁣→ ⁣−0.52-1.07\!\rightarrow\!-0.52
Extend−23.26 ⁣→ ⁣−7.04-23.26\!\rightarrow\!-7.04+0.15 ⁣→ ⁣+0.27+0.15\!\rightarrow\!+0.27−22.60 ⁣→ ⁣−3.17-22.60\!\rightarrow\!-3.17−9.35 ⁣→ ⁣+0.09-9.35\!\rightarrow\!+0.09

Across architectures and objectives, gated variants consistently reduce rejected-response collapse, with the effect persisting across objective modifications, initialization, and DPO-Shift’s global schedule. The LLaMA-7B Extend setting is the main exception, where the ungated baseline already exhibits little rejected-response collapse. The effect persists across objectives, initialization, and DPO-Shift’s global schedule, supporting gating as a composable, sample-specific intervention. Full results are in Appendix C.1.

Pairwise Response Evaluation: Table 3 provides complementary behavioral evidence on 30 held-out UltraFeedback prompts using GPT-4 and GPT-5.4 judges. Across 32 judge–architecture–objective–gate comparisons, gated variants exceed 50%, with win rates ranging from 52.0% to 68.7%. This also suggests that healthier optimization dynamics can translate into better task-level performance, consistent with prior work (Ren & Sutherland, 2025; Xiao et al., 2024). Appendix F.1 details generation, randomized response order, judging, and reproducibility.

Table 3: Pairwise win-rates (%) of gated variants over their corresponding baselines on UltraFeedback.

Gate-DPOGate-CalGate-IPOGate-Shift
JudgeArch.seqq10seqq10seqq10seqq10
GPT-4Pythia-410M56.753.355.052.056.053.762.154.0
LLaMA-7B59.056.058.055.358.263.059.264.0
GPT-5.4Pythia-410M60.061.356.052.060.056.259.360.8
LLaMA-7B61.157.058.062.758.655.368.760.0

Large language models are commonly aligned with human preferences using reinforcement learning from human feedback (RLHF) (Christiano et al., 2017; Ziegler et al., 2019; Stiennon et al., 2020; Ouyang et al., 2022; Bai et al., 2022). The standard pipeline combines supervised fine-tuning, reward modeling from pairwise preferences, and policy optimization, typically using PPO under a KL constraint (Schulman et al., 2017; Zhao et al., 2023). Although effective, this pipeline requires multiple model components and careful reinforcement-learning tuning, motivating direct preference-learning objectives.

Direct preference optimization and its variants. DPO (Rafailov et al., 2023) replaces explicit reward modeling and policy optimization with a closed-form objective derived from the Bradley–Terry preference model (Bradley & Terry, 1952). Subsequent methods modify its loss, implicit reward, or token-level credit assignment. These include IPO (Azar et al., 2023), which uses a squared objective with a finite target margin; KTO (Ethayarajh et al., 2024), which adopts a prospect-theoretic formulation; Cal-DPO (Xiao et al., 2024), which calibrates implicit rewards; and TIS-DPO (Liu et al., 2025), which estimates token-importance weights using prediction differences from contrastive models. Yuan et al. (Yuan et al., 2024a) identify gradient entanglement, showing that coupled preferred- and rejected-response updates can produce undesirable likelihood dynamics even while preference accuracy improves.

Pathological probability dynamics. Recent studies show that an improving preference margin does not necessarily imply healthier response probabilities. Likelihood displacement refers to the reduction of preferred-response probability during DPO despite improved preference separation (Razin et al., 2025); related asymmetries in DPO dynamics are analyzed by Feng et al. (Feng et al., 2024). Ren et al. (Ren & Sutherland, 2025) identify the squeezing effect, in which negative updates to rejected responses suppress probability across alternative responses and concentrate mass on already high-confidence outputs. Their multiclass logistic-regression analysis connects this behavior to softmax probability dynamics rather than to a particular neural architecture.

Existing mitigation strategies intervene at different levels. Extended SFT (Ren & Sutherland, 2025) changes model initialization before preference optimization, whereas DPO-Positive (Pal et al., 2024) prevents the preferred-response likelihood from decreasing. Bounded-DPO (Cho et al., 2025) bounds rejected-response influence while retaining the basic DPO structure, and DPO-Shift (Yang et al., 2025) introduces a globally selected coefficient f(λ)f(\lambda) to control the chosen–rejected trade-off. ACPO (Huang et al., 2026) applies dynamic, complexity-aware scaling to the rejected reward to counter likelihood displacement in vision-language alignment. Other work investigates the effects of data quality, reference policies, and regularization (Yuan et al., 2024b; Chen et al., 2024; Wu et al., 2024; Liu et al., 2024; Wang et al., 2024; Park et al., 2024).

Relation to Gate-DPO. Gate-DPO complements these approaches by making rejected-response suppression depend on the current probability geometry of each preference pair. Its detached gate is computed directly from the evolving policy, allowing examples within the same minibatch to receive different attenuation and allowing that attenuation to change during training. To our knowledge, Gate-DPO is the first probability-aware intervention that uses the rejected response’s current policy probability geometry to construct a detached, sample-specific gate for controlling rejected-response suppression when a low-probability regime associated with squeezing is detected.

This mechanism differs from TIS-DPO, whose probability-derived weights estimate token importance using auxiliary contrastive models rather than detecting squeezing from the current rejected-response distribution. DPO-Shift instead uses a global coefficient that cannot distinguish examples occupying different probability regimes at the same training step, whereas Bounded-DPO controls rejected-response influence through a modified objective rather than a model-state-dependent gate. ACPO also attenuates the rejected term dynamically, but derives a complexity-aware, target-oriented coefficient rather than a gate based on the rejected response’s current probability geometry. Gate-DPO therefore targets a distinct failure mode: continued suppression after a rejected response has entered a low-probability valley. Placing the gate inside the preference margin has two coupled effects. It directly attenuates the rejected-response contribution and regulates preference-loss saturation, thereby sustaining the chosen-response learning signal when the rejected response enters the gated regime. The intervention is also modular: it can be composed with DPO-Shift, IPO, Cal-DPO, and extended SFT, as examined in our cross-objective experiments.

Relation to generic stabilization mechanisms.

Section titled “Relation to generic stabilization mechanisms.”

Gate-DPO differs from generic optimization controls such as β\beta tuning, gradient clipping, and global regularization. Changing β\beta rescales the strength of preference updates across examples, while regularization constrains the policy globally; neither identifies which rejected responses have entered a pathological probability regime. Gradient clipping limits updates according to gradient magnitude, whereas squeezing is determined by probability geometry and need not coincide with an unusually large gradient norm. Gate-DPO instead applies sample-specific attenuation using the current rejected-response probability state while leaving informative rejected updates largely unchanged. Studying how this local control interacts with explicit KL constraints (Ziegler et al., 2019) remains an important direction for future work.

6 Conclusion, Limitations, and Future Work

Section titled “6 Conclusion, Limitations, and Future Work”

Preference-margin improvement alone does not characterize healthy optimization: large margins can coexist with suppression of preferred and unrelated responses. Gate-DPO applies localized, probability-aware attenuation in low-probability valleys, reducing rejected-response suppression while delaying loss saturation and sustaining chosen-response learning. Across architectures, datasets, and objectives, this improves probability redistribution and reduces squeezing.

Limitations and Future Work: Our analysis emphasizes optimization dynamics, with pairwise evaluation providing initial task-level evidence. Human judgments, standardized benchmarks (AlpacaEval 2.0 and MT-Bench), and evaluation of the safety–helpfulness trade-off remain important directions for future work. Although fixed thresholds generalize well here, the valley regime varies across models and datasets, suggesting that model–dataset-specific tuning of τ\tau may yield further gains.

Generative AI tools were used to assist with writing and editing, experimental design, analysis, code development and debugging, and literature review. AI-assisted suggestions, analyses, code, and scientific claims were reviewed and verified by the authors against experimental results, source literature, and the implemented methodology. Generative AI was not used as a substitute for experimental evaluation or as an autonomous source of scientific evidence. The authors take full responsibility for the methodology, design, proofs, experiments, results, claims, and final content of this work.

  • Azar et al. (2023)

    Mohammad Gheshlaghi Azar, Mark Rowland, Bilal Piot, et al. A general theoretical paradigm to understand learning from human preferences. arXiv preprint arXiv:2310.12036, 2023.

  • Bai et al. (2023)

    Jinze Bai, Shuai Bai, et al. Qwen technical report. arXiv preprint arXiv:2309.16609, 2023.

  • Bai et al. (2022)

    Yuntao Bai et al. Training a helpful and harmless assistant with reinforcement learning from human feedback. arXiv preprint arXiv:2204.05862, 2022.

  • Biderman et al. (2023)

    Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O’Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, et al. Pythia: A suite for analyzing large language models across training and scaling. In Proceedings of the 40th International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pp. 2397–2430. PMLR, 2023.

  • Bradley & Terry (1952)

    Ralph Allan Bradley and Milton E. Terry. Rank analysis of incomplete block designs: I. the method of paired comparisons. Biometrika, 39(3/4):324–345, 1952.

  • Chen et al. (2024)

    Zixiang Chen, Yihe Deng, Huizhuo Yuan, Kaixuan Ji, and Quanquan Gu. Self-play fine-tuning converts weak language models to strong language models. arXiv preprint arXiv:2401.01335, 2024.

  • Cho et al. (2025)

    Jae Hyeon Cho, JunHyeok Oh, Myunsoo Kim, and Byung-Jun Lee. Rethinking dpo: The role of rejected responses in preference misalignment. In Findings of the Association for Computational Linguistics: EMNLP 2025, 2025. arXiv:2506.12725.

  • Christiano et al. (2017)

    Paul F. Christiano, Jan Leike, Tom Brown, Miljan Martic, Shane Legg, and Dario Amodei. Deep reinforcement learning from human preferences. Advances in Neural Information Processing Systems, 30, 2017.

  • Cui et al. (2023)

    Ganqu Cui, Lifan Yuan, Ning Ding, Guanming Yao, Wei Zhu, Yuan Ni, Guotong Xie, Zhiyuan Liu, and Maosong Sun. Ultrafeedback: Boosting language models with high-quality feedback. arXiv preprint arXiv:2310.01377, 2023.

  • Ethayarajh et al. (2024)

    Kawin Ethayarajh, Winnie Xu, Niklas Muennighoff, Dan Jurafsky, and Douwe Kiela. Kto: Model alignment as prospect theoretic optimization. arXiv preprint arXiv:2402.01306, 2024.

  • Feng et al. (2024)

    Duanyu Feng, Bowen Qin, Chen Huang, Zheng Zhang, and Wenqiang Lei. Towards analyzing and understanding the limitations of dpo: A theoretical perspective. arXiv preprint arXiv:2404.04626, 2024.

  • Huang et al. (2026)

    Kaili Huang, Hongming Zhang, Rui Shen, Linjun Dai, Jiahao Wang, Hanming Deng, and Lewei Lu. ACPO: Counteracting likelihood displacement in vision-language alignment with asymmetric constraints. arXiv preprint arXiv:2603.22165, 2026. doi: 10.48550/arXiv.2603.22165. URL https://arxiv.org/abs/2603.22165.

  • Liu et al. (2025)

    Aiwei Liu, Haoping Bai, Zhiyun Lu, Yanchao Sun, Xiang Kong, Xiaoming Simon Wang, Jiulong Shan, Albin Madappally Jose, Xiaojiang Liu, Lijie Wen, Philip S. Yu, and Meng Cao. TIS-DPO: Token-level importance sampling for direct preference optimization with estimated weights. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=oF6e2WwxX0.

  • Liu et al. (2024)

    Zhihan Liu, Miao Lu, Shenao Zhang, Boyi Liu, Hongyi Guo, Yingxiang Yang, Jose Blanchet, and Zhaoran Wang. Provably mitigating overoptimization in rlhf: Your sft loss is implicitly an adversarial regularizer. In Advances in Neural Information Processing Systems, volume 37, 2024.

  • Ouyang et al. (2022)

    Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, et al. Training language models to follow instructions with human feedback. Advances in Neural Information Processing Systems, 35, 2022.

  • Pal et al. (2024)

    Arka Pal, Deep Karkhanis, Samuel Dooley, Manley Roberts, Siddartha Naidu, and Colin White. Smaug: Fixing failure modes of preference optimisation with dpo-positive. arXiv preprint arXiv:2402.13228, 2024.

  • Park et al. (2024)

    Ryan Park, Rafael Rafailov, Stefano Ermon, and Chelsea Finn. Disentangling length from quality in direct preference optimization. arXiv preprint arXiv:2403.19159, 2024.

  • Rafailov et al. (2023)

    Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, and Christopher D Manning. Direct preference optimization: Your language model is secretly a reward model. arXiv preprint arXiv:2305.18290, 2023.

  • Razin et al. (2025)

    Noam Razin, Sadhika Malladi, Adithya Bhaskar, Danqi Chen, Sanjeev Arora, and Boris Hanin. Unintentional unalignment: Likelihood displacement in direct preference optimization. In Proceedings of the International Conference on Learning Representations (ICLR), 2025. arXiv:2410.08847.

  • Ren & Sutherland (2025)

    Yi Ren and Danica J. Sutherland. Learning dynamics of llm finetuning. In Proceedings of the International Conference on Learning Representations (ICLR), 2025. arXiv:2407.10490v4.

  • Schulman et al. (2017)

    John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347, 2017.

  • Stiennon et al. (2020)

    Nisan Stiennon, Long Ouyang, Jeff Wu, Daniel M. Ziegler, Ryan Lowe, Chelsea Voss, Alec Radford, Dario Amodei, and Paul Christiano. Learning to summarize from human feedback. In Advances in Neural Information Processing Systems (NeurIPS), 2020.

  • Touvron et al. (2023)

    Hugo Touvron, Thibaut Lavril, Gautier Izacard, Xavier Martinet, Marie-Anne Lachaux, Timothée Lacroix, Baptiste Rozière, Naman Goyal, Eric Hambro, Faisal Azhar, Aurelien Rodriguez, Armand Joulin, Edouard Grave, and Guillaume Lample. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971, 2023.

  • Wang et al. (2024)

    Binghai Wang, Rui Dou, Shihan Dou, Songyang Gao, Wei Hua, Wei Shen, Yan Liu, Senjie Jin, Qin Liu, Yuhao Zhou, et al. Secrets of rlhf in large language models part ii: Reward modeling. arXiv preprint arXiv:2401.06080, 2024.

  • Wu et al. (2024)

    Yue Wu, Zhiqing Sun, Huizhuo Yuan, Kaixuan Ji, Yiming Yang, and Quanquan Gu. Self-play preference optimization for language model alignment. arXiv preprint arXiv:2405.00675, 2024.

  • Xiao et al. (2024)

    Teng Xiao, Yige Yuan, Huaisheng Zhu, Mingxiao Li, and Vasant G. Honavar. Cal-dpo: Calibrated direct preference optimization for language model alignment. arXiv preprint arXiv:2412.14516, 2024.

  • Yang et al. (2025)

    Xiliang Yang, Feng Jiang, Qianen Zhang, Lei Zhao, and Xiao Li. Dpo-shift: Shifting the distribution of direct preference optimization. arXiv preprint arXiv:2502.07599, 2025.

  • Yuan et al. (2024a)

    Hui Yuan, Yifan Zeng, Yue Wu, Huazheng Wang, Mengdi Wang, and Liu Leqi. A common pitfall of margin-based language model alignment: Gradient entanglement. arXiv preprint arXiv:2410.13828, 2024a.

  • Yuan et al. (2024b)

    Weizhe Yuan, Richard Yuanzhe Pang, Kyunghyun Cho, Sainbayar Sukhbaatar, Jing Xu, and Jason Weston. Self-rewarding language models. arXiv preprint arXiv:2401.10020, 2024b.

  • Zhao et al. (2023)

    Yao Zhao, Rishabh Joshi, Tianqi Liu, Misha Khalman, Mohammad Saleh, and Peter J. Liu. Slic-hf: Sequence likelihood calibration with human feedback. arXiv preprint arXiv:2305.10425, 2023.

  • Ziegler et al. (2019)

    Daniel M. Ziegler, Nisan Stiennon, Jeffrey Wu, Tom B. Brown, Alec Radford, Dario Amodei, Paul Christiano, and Geoffrey Irving. Fine-tuning language models from human preferences. arXiv preprint arXiv:1909.08593, 2019.

Appendix A Softmax Pathology in a Minimal Setting

Section titled “Appendix A Softmax Pathology in a Minimal Setting”

(Ren & Sutherland, 2025) showed that the squeezing effect is not specific to language models but arises from the interaction between softmax normalization and negative gradients. In their analysis, even a simple multiclass logistic regression model exhibits the same phenomenon: when a negative gradient is applied to a low-probability class, both the chosen and rejected responses decrease while probability mass shifts toward the argmax class. This observation establishes squeezing as a fundamental property of softmax optimization rather than an artifact of large neural architectures.

We reproduce this minimal experiment and extend it with our gradient gating mechanism. The model is a KK-class logistic regression with features ϕ(x)∈Rd\phi(x)\in\mathbb{R}^{d} and linear weights W∈Rd×KW\in\mathbb{R}^{d\times K} producing

p=softmax(W⊤ϕ(x)).p=\mathrm{softmax}(W^{\top}\phi(x)).(8)

Standard gradient descent on cross-entropy gives

W_t+1=W_t−η ϕ(x)(p−e_y)⊤,W\_{t+1}=W\_{t}-\eta\,\phi(x)(p-e\_{y})^{\top},(9)

where negative learning rates (η<0\eta<0) simulate the rejected-response updates used in preference optimization. This setup isolates the effect of softmax normalization without neural architectures, sequence modeling, or language-specific structure.

To prevent pathological updates, we introduce a gated update rule

W_t+1=W_t−η g(p(y)) ϕ(x)(p−e_y)⊤,W\_{t+1}=W\_{t}-\eta\,g(p(y))\,\phi(x)(p-e\_{y})^{\top},(10)

where

g(p)=σ(α(log⁡p−log⁡τ)).g(p)=\sigma(\alpha(\log p-\log\tau)).(11)

The gate reduces gradient magnitude when the target probability lies in the extreme tail of the distribution. In our experiments we use α=50\alpha=50 and τ≈1/K\tau\approx 1/K (τ=0.03\tau=0.03 for K=50K=50, τ=10−8\tau=10^{-8} for K=1000K=1000).

We reproduce the five canonical cases from (Ren & Sutherland, 2025): positive gradient updates (A), negative gradients on flat distributions (B), negative gradients on peaks (C), negative gradients on valley responses (D), and a large-vocabulary setting (E). Figure 4 shows the distributions before the update (gray), after baseline optimization (blue), and after gated updates (green).

The baseline results reproduce the original observation: when a negative gradient targets a valley response, softmax normalization causes extreme squeezing and the update effectively freezes (Δ_max⁡≈3×10−6\Delta\_{\max}\approx 3\times 10^{-6}). With gating, the learning rate is automatically reduced for such cases (g≈0.38g\approx 0.38), allowing the update to remain effective while preventing collapse. The gated update avoids the near-frozen, highly concentrated baseline behavior and better preserves entropy in the distribution. Across all scenarios, the gate activates only when probabilities fall below the threshold, leaving normal optimization unaffected. The same mechanism also scales to larger vocabularies (K=1000K=1000), confirming that the approach remains effective in settings closer to neural language models.

These controlled experiments confirm two key points. First, the squeezing phenomenon identified by (Ren & Sutherland, 2025) arises directly from softmax normalization under negative gradients. Second, adaptive gradient gating mitigates this pathology without altering the model architecture or objective. This minimal demonstration motivates the neural network experiments presented in the main paper.

Figure 4: Toy logistic regression experiment illustrating the softmax pathology ( τ smallK = 0.03 \tau_{\text{smallK}}=0

Figure 4: Toy logistic regression experiment illustrating the softmax pathology ( τ smallK = 0.03 \tau_{\text{smallK}}=0.03 , τ largeK = 10 − 8 \tau_{\text{largeK}}=10^{-8} , α = 50 \alpha=50 ). Gray: initial distribution; blue: baseline update; green: gated update. Negative gradients applied to low-probability classes cause extreme squeezing under standard softmax optimization. Gradient gating detects such valley responses and reduces the effective learning rate, restoring stable updates while preserving entropy.

This appendix formalizes how the detached gate modifies the local gradient dynamics of Gate-DPO. Let

z_θgate(x)=β[r_θ+−g(x,y−) r_θ−],z\_{\theta}^{\mathrm{gate}}(x)=\beta\left[r\_{\theta}^{+}-g(x,y^{-})\,r\_{\theta}^{-}\right],(12)

where

r_θ±=log⁡π_θ(y±∣x)π_ref(y±∣x),r\_{\theta}^{\pm}=\log\frac{\pi\_{\theta}(y^{\pm}\mid x)}{\pi\_{\mathrm{ref}}(y^{\pm}\mid x)},

and g(x,y−)g(x,y^{-}) is detached from the computation graph. Define

c_θ(x)=β[1−σ ⁣(z_θgate(x))]≥0.c\_{\theta}(x)=\beta\left[1-\sigma\!\left(z\_{\theta}^{\mathrm{gate}}(x)\right)\right]\geq 0.

For L_Gate-DPO=−log⁡σ(z_θgate)\mathcal{L}\_{\mathrm{Gate\text{-}DPO}}=-\log\sigma(z\_{\theta}^{\mathrm{gate}}), the partial derivatives with respect to the response log-probabilities are

∂L_Gate-DPO∂log⁡π_θ(y+∣x)\displaystyle\frac{\partial\mathcal{L}\_{\mathrm{Gate\text{-}DPO}}}{\partial\log\pi\_{\theta}(y^{+}\mid x)}=−c_θ(x),\displaystyle=-c\_{\theta}(x),(13)
---------------
∂L_Gate-DPO∂log⁡π_θ(y−∣x)\displaystyle\frac{\partial\mathcal{L}\_{\mathrm{Gate\text{-}DPO}}}{\partial\log\pi\_{\theta}(y^{-}\mid x)}=g(x,y−) c_θ(x).\displaystyle=g(x,y^{-})\,c\_{\theta}(x).(14)

Because the gate is detached, it directly multiplies only the rejected contribution, while the chosen derivative retains the standard DPO form −c_θ(x)-c\_{\theta}(x). Its magnitude is not the same as under standard DPO, however, because c_θ(x)c\_{\theta}(x) is evaluated at the gated margin z_θgatez\_{\theta}^{\mathrm{gate}} rather than the ungated margin z_θDPO=β[r_θ+−r_θ−]z\_{\theta}^{\mathrm{DPO}}=\beta[r\_{\theta}^{+}-r\_{\theta}^{-}]. Write c_θDPO(x)=β[1−σ(z_θDPO)]c\_{\theta}^{\mathrm{DPO}}(x)=\beta[1-\sigma(z\_{\theta}^{\mathrm{DPO}})] for the standard-DPO coefficient. When the rejected response is driven far into a low-probability region, r_θ−→−∞r\_{\theta}^{-}\to-\infty, so z_θDPO→+∞z\_{\theta}^{\mathrm{DPO}}\to+\infty, σ(z_θDPO)→1\sigma(z\_{\theta}^{\mathrm{DPO}})\to 1, and c_θDPO(x)→0c\_{\theta}^{\mathrm{DPO}}(x)\to 0: the chosen-response gradient vanishes together with the rejected one, halting further learning on both responses. Under gating, z_θgate=β[r_θ+−g(x,y−)r_θ−]z\_{\theta}^{\mathrm{gate}}=\beta[r\_{\theta}^{+}-g(x,y^{-})r\_{\theta}^{-}] grows only at the attenuated rate g(x,y−) ∣r_θ−∣g(x,y^{-})\,|r\_{\theta}^{-}| instead of ∣r_θ−∣|r\_{\theta}^{-}|, so σ(z_θgate)\sigma(z\_{\theta}^{\mathrm{gate}}) approaches 11 more slowly and c_θ(x)>c_θDPO(x)c\_{\theta}(x)>c\_{\theta}^{\mathrm{DPO}}(x) throughout the valley regime. Gating therefore does not only reduce the rejected-response update in Eq. 14; by keeping the effective margin from saturating as quickly, it also delays the vanishing of the chosen-response gradient in Eq. 13, sustaining a larger positive update on log⁡π_θ(y+∣x)\log\pi\_{\theta}(y^{+}\mid x) for longer than ungated DPO would. Because gg has a strictly positive floor g_min⁡=σ(−ατ)>0g\_{\min}=\sigma(-\alpha\tau)>0 (Eq. 17), this is a delay rather than a removal of eventual saturation: as r_θ−→−∞r\_{\theta}^{-}\to-\infty at fixed gg, g r_θ−→−∞g\,r\_{\theta}^{-}\to-\infty too and c_θ(x)→0c\_{\theta}(x)\to 0 eventually. The practical effect is a rescaling of how far into the valley the rejected response must fall before the chosen-response signal starts to vanish, by roughly a factor of 1/g(x,y−)1/g(x,y^{-}). This is a distinct, complementary mechanism to the direct rejected-term attenuation described above, and provides a more complete account of the positive Δ_chosen\Delta\_{\mathrm{chosen}} values reported in Section 4.3 than softmax redistribution alone. When g(x,y−)→1g(x,y^{-})\rightarrow 1, the gated objective recovers DPO. When the rejected response enters a low-probability valley, g(x,y−)<1g(x,y^{-})<1 attenuates its direct negative contribution without introducing gradients through the valley statistic.

For g=σ(α(s−τ))g=\sigma(\alpha(s-\tau)) with α>0\alpha>0, the gate has several useful properties. First, 0<g<10<g<1, so the rejected contribution is attenuated but never reversed. Second, gg is monotonically increasing in the valley statistic ss, with g(τ)=1/2g(\tau)=1/2; hence, τ\tau defines the transition between stronger attenuation and recovery of the standard rejected update. Third, α\alpha controls the sharpness of this transition: larger α\alpha produces a more threshold-like intervention, with g→I[s>τ]g\rightarrow\mathbb{I}[s>\tau] as α→∞\alpha\rightarrow\infty (up to the boundary s=τs=\tau), whereas smaller α\alpha yields smoother attenuation.

The intervention is also localized around the low-probability regime. For s≥τ+δs\geq\tau+\delta, δ>0\delta>0,

1−g=σ[−α(s−τ)]≤e−αδ,1-g=\sigma[-\alpha(s-\tau)]\leq e^{-\alpha\delta},(15)

so gg rapidly approaches one and the rejected contribution approaches its ungated form. Conversely, for s≤τ−δs\leq\tau-\delta,

g=σ[α(s−τ)]≤e−αδ.g=\sigma[\alpha(s-\tau)]\leq e^{-\alpha\delta}.(16)

This exponential bound is loose once δ\delta is comparable to τ\tau: since s≥0s\geq 0 (both valley statistics are probabilities), δ\delta cannot exceed τ\tau, so the tightest attainable bound is at s=0s=0, giving the exact floor

g_min⁡=σ(−ατ),g\_{\min}=\sigma(-\alpha\tau),(17)

not an asymptotic approach to zero. When ατ≫1\alpha\tau\gg 1 the two bounds agree and g_min⁡g\_{\min} is negligible; this holds for the sequence-level default (τ=0.10,α=50⇒ατ=5⇒g_min⁡=σ(−5)≈0.7%\tau=0.10,\alpha=50\Rightarrow\alpha\tau=5\Rightarrow g\_{\min}=\sigma(-5)\approx 0.7\%), consistent with the near-zero minimum gate values logged for seq_mean runs (Appendix D.2). It does not hold for the token-level default (τ=0.005,α=50⇒ατ=0.25⇒g_min⁡=σ(−0.25)≈43.8%\tau=0.005,\alpha=50\Rightarrow\alpha\tau=0.25\Rightarrow g\_{\min}=\sigma(-0.25)\approx 43.8\%): under this hyperparameterization, token-level gating cannot attenuate the rejected contribution below ≈44%\approx 44\% of full strength no matter how far into a valley the rejected response falls. This matches the minimum gate value actually logged during training (g_min⁡≈0.438g\_{\min}\approx 0.438 across our token-level runs at τ=0.005\tau=0.005). Thus, τ\tau and α\alpha jointly determine the gate’s transition and attainable floor: increasing τ\tau lowers the floor and shifts attenuation toward higher-probability examples, whereas increasing α\alpha sharpens the transition around τ\tau.

Consider one gradient-descent step θ′=θ−η∇_θL_Gate-DPO\theta^{\prime}=\theta-\eta\nabla\_{\theta}\mathcal{L}\_{\mathrm{Gate\text{-}DPO}}. A first-order expansion gives

Δlog⁡π_θ(y−∣x)≈−ηc_θ(x)[\displaystyle\Delta\log\pi\_{\theta}(y^{-}\mid x)\approx-\eta c\_{\theta}(x)\Big[g(x,y−)∥∇_θlog⁡π_θ(y−∣x)∥2\displaystyle g(x,y^{-})\|\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)\|^{2}
------------
−∇_θlog⁡π_θ(y−∣x)⊤∇_θlog⁡π_θ(y+∣x)].\displaystyle-\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)^{\top}\nabla\_{\theta}\log\pi\_{\theta}(y^{+}\mid x)\Big].

Thus, the gate directly attenuates the self-suppression term associated with the rejected response, while the actual parameter-space update also depends on the interaction between chosen- and rejected-response gradients. Inside the brackets of Eq. 18, the self-suppression term is already scaled by g(x,y−)g(x,y^{-}) while the cross-gradient term is not; dropping the cross-gradient term therefore requires it to be negligible relative to the gated self-term g(x,y−)∥∇_θlog⁡π_θ(y−∣x)∥2g(x,y^{-})\|\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)\|^{2}, not the unattenuated norm ∥∇_θlog⁡π_θ(y−∣x)∥2\|\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)\|^{2}. Under that condition,

Δlog⁡π_θ(y−∣x)≈−ηc_θ(x)g(x,y−)∥∇_θlog⁡π_θ(y−∣x)∥2.\Delta\log\pi\_{\theta}(y^{-}\mid x)\approx-\eta c\_{\theta}(x)g(x,y^{-})\|\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)\|^{2}.(19)

In this regime, rejected-response suppression is approximately attenuated in proportion to g(x,y−)g(x,y^{-}). This formalizes the intended behavior of Gate-DPO: the intervention weakens further suppression as a rejected response moves deeper into a probability valley while retaining the standard preference signal elsewhere. The stated condition matters most precisely where gating is strongest: as g(x,y−)→g_min⁡g(x,y^{-})\to g\_{\min} deep in a valley, the gated self-term g(x,y−)∥∇_θlog⁡π_θ(y−∣x)∥2g(x,y^{-})\|\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)\|^{2} shrinks while the cross-gradient inner product ∇_θlog⁡π_θ(y−∣x)⊤∇_θlog⁡π_θ(y+∣x)\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)^{\top}\nabla\_{\theta}\log\pi\_{\theta}(y^{+}\mid x) is not attenuated at all. Because chosen and rejected completions share a prompt and vocabulary representations, this inner product is frequently positive in autoregressive language models. When it exceeds the gated self-term, Eq. 18 is instead dominated by

Δlog⁡π_θ(y−∣x)≈ηc_θ(x) ∇_θlog⁡π_θ(y−∣x)⊤∇_θlog⁡π_θ(y+∣x)>0,\Delta\log\pi\_{\theta}(y^{-}\mid x)\approx\eta c\_{\theta}(x)\,\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)^{\top}\nabla\_{\theta}\log\pi\_{\theta}(y^{+}\mid x)>0,(20)

i.e., the rejected log-probability increases despite the negative update, through positive transfer from the chosen-response gradient rather than any failure of gating. This offers a mechanistic explanation for the positive Δ_rejected\Delta\_{\mathrm{rejected}} values observed for some gated LLaMA-7B configurations in Table 4 (e.g., DPO +0.08+0.08, Extend +2.17+2.17): once gating pushes gg toward its floor, the cross-gradient term is no longer dominated, and rejected-response movement is governed by the chosen-response update instead of direct suppression.

The complementary first-order expansion for the chosen response follows the same derivation. Using Eq. 13,

Δlog⁡π_θ(y+∣x)≈ηc_θ(x)[\displaystyle\Delta\log\pi\_{\theta}(y^{+}\mid x)\approx\eta c\_{\theta}(x)\Big[∥∇_θlog⁡π_θ(y+∣x)∥2\displaystyle\|\nabla\_{\theta}\log\pi\_{\theta}(y^{+}\mid x)\|^{2}
------------
−g(x,y−) ∇_θlog⁡π_θ(y+∣x)⊤∇_θlog⁡π_θ(y−∣x)].\displaystyle-g(x,y^{-})\,\nabla\_{\theta}\log\pi\_{\theta}(y^{+}\mid x)^{\top}\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)\Big].

Unlike the rejected-response expansion, here the cross-gradient term itself is scaled by g(x,y−)g(x,y^{-}), while the chosen self-term is not. Under standard DPO (g≡1g\equiv 1), Eq. 21 reduces to Δlog⁡π_θ(y+∣x)≈ηc_θ(x)[∥∇_θlog⁡π_θ(y+∣x)∥2−∇_θlog⁡π_θ(y+∣x)⊤∇_θlog⁡π_θ(y−∣x)]\Delta\log\pi\_{\theta}(y^{+}\mid x)\approx\eta c\_{\theta}(x)\big[\|\nabla\_{\theta}\log\pi\_{\theta}(y^{+}\mid x)\|^{2}-\nabla\_{\theta}\log\pi\_{\theta}(y^{+}\mid x)^{\top}\nabla\_{\theta}\log\pi\_{\theta}(y^{-}\mid x)\big]: whenever the cross-gradient inner product exceeds the chosen self-term, Δlog⁡π_θ(y+∣x)<0\Delta\log\pi\_{\theta}(y^{+}\mid x)<0 even though the chosen response is being reinforced – this is the first-order mechanism behind likelihood displacement on the chosen response. Gate-DPO directly counteracts this: attenuating the cross-gradient contribution by g(x,y−)<1g(x,y^{-})<1 shrinks the negative term relative to the positive self-term, making Δlog⁡π_θ(y+∣x)>0\Delta\log\pi\_{\theta}(y^{+}\mid x)>0 easier to sustain. Combined with the delayed-saturation effect on c_θ(x)c\_{\theta}(x) described above, this gives a direct, two-part theoretical account of the chosen-likelihood recovery reported empirically in Section 4.3: gating both reduces the negative cross-gradient pull on the chosen response and sustains a larger c_θ(x)c\_{\theta}(x) coefficient for longer than ungated DPO.

Sections B.1–B.3 establish that although the chosen-response derivative retains the structural form −c_θ(x)-c\_{\theta}(x) (Eq. 13), the coefficient

c_θ(x)=β[1−σ ⁣(z_θgate)],z_θgate=β[r_θ+−g(x,y−) r_θ−],c\_{\theta}(x)=\beta\left[1-\sigma\!\left(z\_{\theta}^{\mathrm{gate}}\right)\right],\qquad z\_{\theta}^{\mathrm{gate}}=\beta\left[r\_{\theta}^{+}-g(x,y^{-})\,r\_{\theta}^{-}\right],(22)

is itself changed by gating, because gating changes the effective preference margin the sigmoid is evaluated at. Under ordinary DPO, strong suppression of the rejected response (r_θ−→−∞r\_{\theta}^{-}\to-\infty) drives the ungated margin z_θDPO=β[r_θ+−r_θ−]z\_{\theta}^{\mathrm{DPO}}=\beta[r\_{\theta}^{+}-r\_{\theta}^{-}] to +∞+\infty, saturating σ(z_θDPO)→1\sigma(z\_{\theta}^{\mathrm{DPO}})\to 1 and collapsing c_θDPO(x)→0c\_{\theta}^{\mathrm{DPO}}(x)\to 0 – which halts the learning signal on both responses, not just the rejected one. Gate-DPO’s margin grows only at the attenuated rate g(x,y−) ∣r_θ−∣g(x,y^{-})\,|r\_{\theta}^{-}|, so σ(z_θgate)\sigma(z\_{\theta}^{\mathrm{gate}}) approaches 11 more slowly and c_θ(x)c\_{\theta}(x) stays away from its saturated regime for longer, sustaining a larger chosen-response update than ungated DPO would at the same point in training. Because gg retains a strictly positive floor g_min⁡=σ(−ατ)g\_{\min}=\sigma(-\alpha\tau) (Appendix B.2), this is a delay rather than a removal of eventual saturation. We now test this prediction directly, without any additional training: the same logged eval-time chosen/rejected log-probabilities and gate values used throughout this appendix let us reconstruct z_θgatez\_{\theta}^{\mathrm{gate}} and c_θ(x)c\_{\theta}(x) at every checkpoint (with g≡1g\equiv 1 recovering the ungated DPO coefficient).

For evaluation, we compute the coefficient independently for each held-out preference pair and then average across examples,

cˉ_θ=1N∑_i=1Nβ[1−σ ⁣(z_θ,igate)].\bar{c}\_{\theta}=\frac{1}{N}\sum\_{i=1}^{N}\beta\left[1-\sigma\!\left(z\_{\theta,i}^{\mathrm{gate}}\right)\right].(23)

Thus, the diagnostic preserves the per-example nonlinear dependence of c_θc\_{\theta} on the gated preference margin; first averaging r_i+r\_{i}^{+}, r_i−r\_{i}^{-}, and g_ig\_{i} across examples and only then applying β[1−σ(⋅)]\beta[1-\sigma(\cdot)] is not equivalent, since the sigmoid is nonlinear and g_ig\_{i} covaries with r_i−r\_{i}^{-} (harder-gated examples tend to have moved further into the valley) – so the two estimators generally differ.

Cross-architecture and cross-dataset validation.

Section titled “Cross-architecture and cross-dataset validation.”

Figure 5 plots cˉ_θ(t)\bar{c}\_{\theta}(t) (Eq. 23) over the first 45004500 training examples for standard DPO, Gate-DPO (seq), and Gate-DPO (q10), on all four architectures and both preference datasets (Anthropic-HH, top row; UltraFeedback, bottom row) – eight configurations in total, using the gate implementation described in Appendix D. Both gate statistics slow cˉ_θ\bar{c}\_{\theta} decay in seven of the eight: on Anthropic-HH, the decay rate under standard DPO is reduced by gating to 24.8%24.8\% (seq) / 25.6%25.6\% (q10) on Pythia-410M, 23.7%23.7\% / 24.0%24.0\% on Qwen-0.5B, 6.4%6.4\% / 5.3%5.3\% on Qwen1.5-7B, and (baseline squeezing already minimal) 3.0%3.0\% / 2.8%2.8\% on LLaMA-7B, down from 43.5%43.5\%, 46.9%46.9\%, 16.2%16.2\%, and 3.7%3.7\% respectively; on UltraFeedback, to 55.0%55.0\% / 52.7%52.7\% on Pythia-410M, 58.2%58.2\% / 54.3%54.3\% on Qwen-0.5B, and 19.4%19.4\% / 16.0%16.0\% on Qwen1.5-7B, down from 63.0%63.0\%, 67.6%67.6\%, and 21.2%21.2\%. Token-level gating desaturates at least as much as sequence-level gating in seven of the eight – the same modest edge reported for Δ_chosen\Delta\_{\mathrm{chosen}} in Section 4.2, now confirmed through an independent diagnostic. The one exception is LLaMA-7B on UltraFeedback, where q10 instead increases the decay rate (5.0%→14.3%5.0\%\to 14.3\%) while seq stays close to the ungated baseline (5.0%→6.5%5.0\%\to 6.5\%). This is also a regime with little baseline squeezing under standard DPO (Fig. 3), consistent with the de-saturation effect being strongest where standard DPO exhibits substantial saturation for gating to delay, and least reliable – both in sign and in practical relevance – where there is little saturation to begin with.

Figure 5: Delayed loss saturation under gating, across architectures and datasets. Per-example-reconstructed c ¯ θ \bar{

Figure 5: Delayed loss saturation under gating, across architectures and datasets. Per-example-reconstructed c ¯ θ \bar{c}{\theta} (Eq. 23 ) for standard DPO (orange) versus Gate-DPO with sequence-level (green) and token-level (blue) gating, on Anthropic-HH (top row) and UltraFeedback (bottom row). Higher values indicate a less-saturated, still-active gradient coefficient. Both gate statistics slow c ¯ θ \bar{c}{\theta} decay in seven of eight architecture–dataset configurations, with token-level gating desaturating at least as much as sequence-level gating in seven of the eight; the exception (LLaMA-7B, UltraFeedback, bottom row third column) is also the configuration with the least baseline squeezing under standard DPO, and is specifically a q10 failure – seq remains close to the ungated baseline there.

The cross-architecture comparison above fixes τ\tau at its paper default and varies architecture and dataset. A complementary question is whether τ\tau itself regulates the saturation dynamics it was designed to affect, holding architecture and dataset fixed. The τ\tau-sensitivity sweep in Appendix D.2 already trained Pythia-410M on Anthropic-HH at six values of τ\tau for each gate statistic (seq_mean and token-level q10), all under the same α=50\alpha=50 and the same training budget, and retains per-example logs – so Eq. 23 can be applied directly to those existing checkpoints, no new training required.

Since g(p)=σ(α(p−τ))g(p)=\sigma(\alpha(p-\tau)), increasing τ\tau lowers the gate at a fixed rejected-response probability. As rejected-response probabilities decrease during training, a larger τ\tau therefore activates stronger attenuation at a higher probability level, before z_θgatez\_{\theta}^{\mathrm{gate}} has grown as large. A smaller τ\tau delays comparable attenuation until the rejected response lies deeper in the valley. Formally, τ→g→z_θgate→c_θ\tau\to g\to z\_{\theta}^{\mathrm{gate}}\to c\_{\theta}: τ\tau should therefore act as an intervention-point control on saturation dynamics, not merely as a knob on average gating strength.

Figure 6 confirms this. For both gate statistics, larger τ\tau produces slower cˉ_θ\bar{c}\_{\theta} decay over training: on seq_mean, decay falls from 34.2%34.2\% at τ=0.001\tau=0.001 to 24.0%24.0\% at τ=0.15\tau=0.15 (Spearman ρ=−0.94\rho=-0.94, p=0.0048p=0.0048 across the six tested values); on q10, decay falls from 26.1%26.1\% at τ=0.001\tau=0.001 to 24.8%24.8\% at τ=0.01\tau=0.01 (Spearman ρ=−0.89\rho=-0.89, p=0.019p=0.019), a smaller effect over the narrower calibrated range tested for that statistic.

This does not imply that larger τ\tau is always preferable. Appendix  D.2 studies the same parameter from the complementary, operating-behavior angle – chosen/rejected likelihood, gate activation rate, and preference-gap closure – and characterizes the trade-off between stronger attenuation and preserving an informative rejected-response suppression signal. Thus, slower saturation does not by itself imply that larger τ\tau is uniformly preferable. Read together, Appendix D.2 asks which τ\tau values work well empirically, while this subsection asks why τ\tau changes the optimization dynamics in the first place.

Figure 6: τ \tau controls the saturation dynamics of c ¯ θ \bar{c}_{\theta} , not just the average gating strength. Top:

Figure 6: τ \tau controls the saturation dynamics of c ¯ θ \bar{c}{\theta} , not just the average gating strength. Top: per-example-reconstructed c ¯ θ ​ ( t ) \bar{c}{\theta}(t) over training, on Pythia-410M/Anthropic-HH, for every τ \tau in the Appendix D.2 sweep ( seq_mean , left; q10 , right). Larger τ \tau (lighter curves) decays more slowly. Bottom: total c ¯ θ \bar{c}_{\theta} decay over training as a function of τ \tau , for each gate statistic.

Gradient gating is not specific to the logistic DPO objective. Let

Δ_θ(x,y)=log⁡π_θ(y∣x)−log⁡π_ref(y∣x),\Delta\_{\theta}(x,y)=\log\pi\_{\theta}(y\mid x)-\log\pi\_{\mathrm{ref}}(y\mid x),

and let g(x,y−)∈(0,1)g(x,y^{-})\in(0,1) denote the detached probability-aware gate defined in Eq. 5. The same mechanism can be composed with other preference objectives by modulating their rejected-response contribution before evaluating the loss.

IPO (Azar et al., 2023) optimizes a squared preference objective,

L_IPO(θ)=E_(x,y+,y−)[(Δ_θ(x,y+)−Δ_θ(x,y−)−12β)2].\mathcal{L}\_{\mathrm{IPO}}(\theta)=\mathbb{E}\_{(x,y^{+},y^{-})}\left[\left(\Delta\_{\theta}(x,y^{+})-\Delta\_{\theta}(x,y^{-})-\frac{1}{2\beta}\right)^{2}\right].(24)

We obtain Gate-IPO by applying the gate to the rejected log-ratio:

L_Gate-IPO(θ)=E_(x,y+,y−)[(Δ_θ(x,y+)−g(x,y−)Δ_θ(x,y−)−12β)2].\mathcal{L}\_{\mathrm{Gate\text{-}IPO}}(\theta)=\mathbb{E}\_{(x,y^{+},y^{-})}\left[\left(\Delta\_{\theta}(x,y^{+})-g(x,y^{-})\Delta\_{\theta}(x,y^{-})-\frac{1}{2\beta}\right)^{2}\right].(25)

Thus, the IPO target remains unchanged while the rejected-response contribution becomes sample- and model-state-dependent.

Cal-DPO (Xiao et al., 2024) augments the contrastive preference objective with calibration terms that pull the implicit rewards βΔ_θ(x,y±)\beta\Delta\_{\theta}(x,y^{\pm}) toward fixed targets ±1/2\pm 1/2, equivalently Δ_θ(x,y±)→±c\Delta\_{\theta}(x,y^{\pm})\to\pm c for c=1/(2β)c=1/(2\beta). Applying the same detached gate to both the contrastive margin and the rejected calibration term gives

L_Gate-Cal-DPO(θ)=\displaystyle\mathcal{L}\_{\mathrm{Gate\text{-}Cal\text{-}DPO}}(\theta)={}−log⁡σ ⁣(β[Δ_θ(x,y+)−g(x,y−)Δ_θ(x,y−)])\displaystyle-\log\sigma\!\left(\beta\left[\Delta\_{\theta}(x,y^{+})-g(x,y^{-})\Delta\_{\theta}(x,y^{-})\right]\right)
------------
+(Δ_θ(x,y+)−c)2+g(x,y−)(Δ_θ(x,y−)+c)2.\displaystyle+\left(\Delta\_{\theta}(x,y^{+})-c\right)^{2}+g(x,y^{-})\left(\Delta\_{\theta}(x,y^{-})+c\right)^{2}.

The gate multiplies the rejected calibration term from outside the square rather than scaling Δ_θ(x,y−)\Delta\_{\theta}(x,y^{-}) inside it: since ∂_Δ−[g(Δ−+c)2]=2g(Δ−+c)\partial\_{\Delta^{-}}\left[g(\Delta^{-}+c)^{2}\right]=2g(\Delta^{-}+c), the stationary point remains Δ_θ(x,y−)=−c\Delta\_{\theta}(x,y^{-})=-c for every value of gg, and gating only rescales the gradient magnitude toward that fixed target. Placing gg inside the square instead, (gΔ_θ(x,y−)+c)2(g\Delta\_{\theta}(x,y^{-})+c)^{2}, shifts the stationary point to −c/g-c/g, which diverges as g→0g\to 0 and actively pulls the rejected response further into the valley exactly where gating is meant to protect it – the opposite of the intended behavior. The chosen-response calibration term is unchanged, while the rejected contribution is calibrated toward its original target with reduced strength once the corresponding response enters a low-probability valley.

DPO-Shift (Yang et al., 2025) modifies the rejected-response contribution using a global training-progress-dependent coefficient f(λ)f(\lambda). Because this coefficient and our gate act at different levels, they can be composed:

z_θgate-shift(x)=β[Δ_θ(x,y+)−g(x,y−) f(λ) Δ_θ(x,y−)],z\_{\theta}^{\mathrm{gate\text{-}shift}}(x)=\beta\left[\Delta\_{\theta}(x,y^{+})-g(x,y^{-})\,f(\lambda)\,\Delta\_{\theta}(x,y^{-})\right],(27)

with

L_Gate-DPO-Shift(θ)=E[−log⁡σ(z_θgate-shift(x))].\mathcal{L}\_{\mathrm{Gate\text{-}DPO\text{-}Shift}}(\theta)=\mathbb{E}\left[-\log\sigma\left(z\_{\theta}^{\mathrm{gate\text{-}shift}}(x)\right)\right].(28)

Here f(λ)f(\lambda) provides the global training schedule, whereas g(x,y−)g(x,y^{-}) provides per-example sensitivity to the current probability geometry. Their product therefore preserves DPO-Shift’s global scheduling while additionally attenuating rejected updates selectively in low-probability valleys.

The extended-SFT mitigation of Ren & Sutherland (2025) modifies the model initialization through additional supervised training rather than changing the subsequent preference objective. It therefore requires no separate gated loss: Gate-DPO can simply be applied after the extended-SFT initialization. We denote this composition as Extend + Gate-DPO.

C.1 Empirical Validation Across Architectures

Section titled “C.1 Empirical Validation Across Architectures”

Table 4 expands the modularity results from Table 2 by reporting the ungated baseline and both sequence- and token-level gating variants. We report Δ_rejected\Delta\_{\mathrm{rejected}} relative to the SFT reference; values closer to zero indicate less rejected-response collapse.

Table 4: Full modularity results across architectures and objectives. Values are Δ_rejected\Delta\_{\mathrm{rejected}} relative to the SFT reference. Seq and q10 denote sequence- and token-level gating, respectively.

ObjectiveVariantPythia-410MLLaMA-7BQwen-0.5BQwen1.5-7B
DPOBase-26.35-0.88-30.47-10.45
Seq-7.31-0.41-6.37-1.58
q10-7.60+0.08-6.25-0.77
DPO-ShiftBase-25.40-0.80-27.23-9.20
Seq-7.25-0.34-6.17-1.41
q10-7.29+0.10-6.00-0.71
IPOBase-9.43-0.64-8.36-2.16
Seq-6.46-0.28-5.60-1.02
q10-6.69+0.02-5.61-0.75
Cal-DPOBase-6.74-0.43-6.03-1.07
Seq-5.64-0.22-4.94-0.71
q10-5.61-0.01-4.88-0.52
ExtendBase-23.26+0.15-22.60-9.35
Seq-16.87+0.27-11.81-6.67
q10-7.04+2.17-3.17+0.09

Sequence- and token-level gating reduce rejected-response collapse relative to the corresponding baseline in 38 of the 40 gated architecture–objective–variant cells; the two exceptions are LLaMA-7B Extend (Seq and q10), where the ungated baseline is already close to zero (+0.15+0.15) so gating has essentially no collapse left to correct. (Pythia-410M Extend Seq still reduces Δ_rejected\Delta\_{\mathrm{rejected}} in this table’s terms despite the τ=0.03\tau=0.03 failure on Δ_chosen\Delta\_{\mathrm{chosen}} noted above – the two metrics capture different aspects of the same run.) The conclusion therefore does not depend on selecting the better gating variant reported in Table 2: the same pattern holds across the remaining configurations.

C.2 Analytical Extensions to Additional Preference Objectives

Section titled “C.2 Analytical Extensions to Additional Preference Objectives”

The preceding experiments demonstrate the empirical modularity of gradient gating for DPO, IPO, Cal-DPO, DPO-Shift, and extended-SFT compositions. The same construction can be applied analytically to other preference objectives, although we do not evaluate the following extensions experimentally.

Regularized Preference Optimization (RPO) Liu et al. (2024) augments the DPO preference objective with an imitation loss. Because the two components are additive, the gate can be applied only to the rejected-response contribution of the preference term:

L_Gate-RPO=−log⁡σ ⁣(β[Δ_θ+−gΔ_θ−])+ηβ L_SFT.\mathcal{L}\_{\mathrm{Gate\text{-}RPO}}=-\log\sigma\!\left(\beta[\Delta\_{\theta}^{+}-g\Delta\_{\theta}^{-}]\right)+\eta\beta\,\mathcal{L}\_{\mathrm{SFT}}.(29)

Thus, gating preserves the imitation regularizer while introducing probability-aware attenuation into the preference component. Moreover, g→1g\rightarrow 1 recovers the original RPO objective exactly. Gate-RPO therefore combines two distinct stabilization mechanisms: explicit imitation regularization and localized attenuation of rejected-response updates.

Bounded-DPO (BDPO)  (Cho et al., 2025) replaces the rejected-response policy probability by the mixture

$$\pi_{\mathrm{mix}}(y^{-}x)=\lambda\pi_{\theta}(y^{-}x)+(1-\lambda)\pi_{\mathrm{ref}}(y^{-}

Defining

$$\Delta_{\theta,\mathrm{B}}^{-}=\log\frac{\pi_{\mathrm{mix}}(y^{-}x)}{\pi_{\mathrm{ref}}(y^{-}x)},$$

its gated counterpart becomes

L_Gate-BDPO=−log⁡σ ⁣(β[Δ_θ+−gΔ_θ,B−]).\mathcal{L}\_{\mathrm{Gate\text{-}BDPO}}=-\log\sigma\!\left(\beta[\Delta\_{\theta}^{+}-g\Delta\_{\theta,\mathrm{B}}^{-}]\right).(32)

This formulation has two useful limiting cases:

g→1⟹L_Gate-BDPO→L_BDPO,g\rightarrow 1\quad\Longrightarrow\quad\mathcal{L}\_{\mathrm{Gate\text{-}BDPO}}\rightarrow\mathcal{L}\_{\mathrm{BDPO}},(33)

while

λ→1⟹L_Gate-BDPO→L_Gate-DPO.\lambda\rightarrow 1\quad\Longrightarrow\quad\mathcal{L}\_{\mathrm{Gate\text{-}BDPO}}\rightarrow\mathcal{L}\_{\mathrm{Gate\text{-}DPO}}.(34)

Hence, bounding and probability-aware gating are complementary rather than mutually exclusive constructions: BDPO bounds the rejected-response denominator through reference mixing, whereas gating adaptively controls the rejected-response contribution according to the current policy state.

These derivations establish algebraic compatibility with RPO and BDPO; we leave empirical evaluation of these gated extensions to future work.

Appendix D Implementation Details and Hyperparameter Sensitivity

Section titled “Appendix D Implementation Details and Hyperparameter Sensitivity”

Gate-DPO introduces two additional hyperparameters: the gating threshold τ\tau and sigmoid steepness α\alpha. We use τ=0.10\tau=0.10 for sequence-level gating (s_θseqs\_{\theta}^{\mathrm{seq}}) and τ=0.005\tau=0.005 for token-level gating (s_θtoks\_{\theta}^{\mathrm{tok}}), corresponding to the robust operating regions identified in Appendix D.2. We fix α=50\alpha=50; performance is largely insensitive to this choice over the range evaluated in Appendix D.3. For token-level gating, we use q=0.10q=0.10 to characterize the lower tail of the rejected response. We use the same temperature β=0.1\beta=0.1 for all methods, including Cal-DPO and Gate-Cal-DPO, matching the original Cal-DPO implementation (Xiao et al., 2024) and giving calibration target c=1/(2β)=5.0c=1/(2\beta)=5.0. Experiments were conducted on NVIDIA A100 80GB GPUs via Modal Cloud.

Gate-DPO extends DPO by computing a valley statistic s_θ(x)s\_{\theta}(x) from the rejected response and applying a detached gate g(x)=σ(α(s_θ(x)−τ))g(x)=\sigma(\alpha(s\_{\theta}(x)-\tau)) to its log-ratio contribution (Algorithm 1). For both statistics, T−(x)T^{-}(x) counts only non-padding tokens of the rejected response; prompt and padding tokens are excluded. Token-level probabilities are obtained by teacher-forced evaluation of y−y^{-}. The statistic and gate are computed independently for each preference pair, allowing different examples within the same minibatch to receive different attenuation.

Computing the statistic requires O(T−(x))O(T^{-}(x)) operations and the gate itself requires O(1)O(1) additional computation. Because the gate is detached, no additional backward pass is required. In our experiments, the resulting training overhead is below 5%5\% relative to standard DPO.

Algorithm 1 Gradient Gating for Direct Preference Optimization (Gate-DPO)

Input : Dataset D={(x,y+,y−)}\mathcal{D}=\{(x,y^{+},y^{-})\}, policy π_θ\pi\_{\theta}, frozen reference π_ref\pi\_{\mathrm{ref}}, temperature β\beta, gate parameters τ,α\tau,\alpha, valley statistic stat∈{\textscseqmean,\textscq}\texttt{stat}\in\{\textsc{seq\\_mean},\textsc{q}\}, quantile qq, and learning rate η\eta.

Output : Trained policy π_θ\pi\_{\theta}

foreach minibatch B⊂D\mathcal{B}\subset\mathcal{D} do

Compute log⁡π_θ(y±∣x)\log\pi\_{\theta}(y^{\pm}\mid x) and log⁡π_ref(y±∣x)\log\pi\_{\mathrm{ref}}(y^{\pm}\mid x)

Δ_θ(x,y±)←log⁡π_θ(y±∣x)−log⁡π_ref(y±∣x)\Delta\_{\theta}(x,y^{\pm})\leftarrow\log\pi\_{\theta}(y^{\pm}\mid x)-\log\pi\_{\mathrm{ref}}(y^{\pm}\mid x)

T−(x)←T^{-}(x)\leftarrow number of valid response tokens in y−y^{-}

if stat=seq_mean then

s_θ(x)←exp⁡ ⁣(1T−(x)log⁡π_θ(y−∣x))s\_{\theta}(x)\leftarrow\exp\!\left(\frac{1}{T^{-}(x)}\log\pi\_{\theta}(y^{-}\mid x)\right)

else

Extract teacher-forced token probabilities {p−_θ,t(x)}_t=1T−(x)\{p^{-}\_{\theta,t}(x)\}\_{t=1}^{T^{-}(x)}

s_θ(x)←Quantile_q ⁣({p−_θ,t(x)})s\_{\theta}(x)\leftarrow\mathrm{Quantile}\_{q}\!\left(\{p^{-}\_{\theta,t}(x)\}\right)

g(x,y−)←stopgradient[σ ⁣(α(s_θ(x)−τ))]g(x,y^{-})\leftarrow\mathrm{stop\\_gradient}\left[\sigma\!\left(\alpha(s\_{\theta}(x)-\tau)\right)\right]

z(x)←β(Δ_θ(x,y+)−g(x,y−)Δ_θ(x,y−))z(x)\leftarrow\beta\left(\Delta\_{\theta}(x,y^{+})-g(x,y^{-})\Delta\_{\theta}(x,y^{-})\right)

L←1∣B∣∑_(x,y+,y−)∈B−log⁡σ(z(x))\mathcal{L}\leftarrow\frac{1}{|\mathcal{B}|}\sum\_{(x,y^{+},y^{-})\in\mathcal{B}}-\log\sigma(z(x))

θ←θ−η∇_θL\theta\leftarrow\theta-\eta\nabla\_{\theta}\mathcal{L}

return π_θ\pi\_{\theta}

D.2 Sensitivity to the Gating Threshold τ\tau

Section titled “D.2 Sensitivity to the Gating Threshold τ\tauτ”

We evaluate sensitivity to τ\tau by sweeping τ∈[0.001,0.20]\tau\in[0.001,0.20] for sequence-level (seq_mean) and token-level (q10) gating on Pythia-410M, using the same training budget as the main experiments (5001 examples, 5 epochs) so the sweep is directly comparable to the operating point reported in Table  1. Results are shown in Figure 7.

At the paper’s default τ=0.10\tau=0.10, sequence-level gating gives Δ_chosen=+3.50\Delta\_{\mathrm{chosen}}=+3.50 (DPO baseline: −4.84-4.84); Δ_chosen\Delta\_{\mathrm{chosen}} continues to increase through the tested range (+5.13+5.13 at τ=0.15\tau=0.15, +5.79+5.79 at τ=0.20\tau=0.20), so τ=0.10\tau=0.10 is a moderate, robust operating point rather than an interior optimum. Token-level gating is positive across the entire tested range τ∈[0.001,0.01]\tau\in[0.001,0.01], with the default τ=0.005\tau=0.005 giving Δ_chosen=+3.93\Delta\_{\mathrm{chosen}}=+3.93. Both settings prevent squeezing while retaining rejected-response suppression.

Increasing τ\tau increases the fraction of examples receiving substantial attenuation. At the default thresholds, sequence-level gating activates on approximately 40% of examples and token-level gating on 47%. Smaller thresholds provide weaker mitigation, whereas excessively large thresholds over-attenuate rejected-response updates.

We define a successful configuration as satisfying (i) Δ_chosen>0\Delta\_{\mathrm{chosen}}>0 and (ii) Δ_rejected<0\Delta\_{\mathrm{rejected}}<0. Sequence-level gating succeeds for τ∈[0.05,0.20]\tau\in[0.05,0.20] (the full upper two-thirds of the tested range), while token-level gating succeeds for the entire tested range τ∈[0.001,0.01]\tau\in[0.001,0.01], indicating that both variants are considerably more robust to threshold choice than a narrow sweet spot.

As derived in Appendix B (Eq. 17), the gate’s attainable floor is g_min⁡=σ(−ατ)g\_{\min}=\sigma(-\alpha\tau), not an asymptotic approach to zero. At the sequence-level default (τ=0.10,α=50\tau=0.10,\alpha=50), g_min⁡≈0.7%g\_{\min}\approx 0.7\%, and the logged mean gate value over training is ≈62\approx 62–68%68\% (median ≈70\approx 70–80%80\% early in training, decreasing as more examples fall into valleys). At the token-level default (τ=0.005,α=50\tau=0.005,\alpha=50), g_min⁡≈43.8%g\_{\min}\approx 43.8\% – matching the logged minimum gate value across our token-level runs (g_min⁡≈0.438g\_{\min}\approx 0.438) to three significant figures – and the logged mean gate value is ≈58\approx 58–69%69\%. Token-level gating therefore never attenuates the rejected contribution below ≈44%\approx 44\% of full strength under this hyperparameterization, unlike sequence-level gating, whose floor is effectively zero. Both settings still provide continuous attenuation rather than hard clipping, and both remain effective in practice (Table  1); the token-level floor means its benefit should be attributed to more precisely locating valley tokens via the lower-tail quantile rather than to deeper suppression once triggered. The gating rate can also serve as a useful diagnostic when transferring Gate-DPO to new model–dataset combinations, rather than as a fixed target across settings.

Figure 7: Sensitivity to gating threshold τ \tau . Sequence-level ( seq_mean ) and token-level ( q10 ) gating are evalua

Figure 7: Sensitivity to gating threshold τ \tau . Sequence-level ( seq_mean ) and token-level ( q10 ) gating are evaluated across τ \tau values on Pythia-410M, using the same training budget as the main experiments (5001 examples, 5 epochs). Top: Chosen/rejected log-probability changes; positive Δ chosen \Delta_{\text{chosen}} indicates squeezing prevention. Token-level gating is positive across the entire tested range; sequence-level gating is positive from τ = 0.05 \tau=0.05 upward and continues improving through τ = 0.20 \tau=0.20 . Middle: Gating rate and performance trade-off. Bottom: Smooth gradient modulation as a function of τ \tau . The DPO baseline and the paper’s default thresholds ( τ = 0.10 \tau=0.10 for seq_mean ; τ = 0.005 \tau=0.005 for q10 ) are marked for reference.

The operating behavior swept here, chosen/rejected likelihood, gate activation, and gap closure, is a different question from why τ\tau changes the optimization dynamics that produce this behavior. Appendix B.4 answers the latter: it shows that τ\tau acts as an intervention-point control on the delayed-saturation mechanism of Appendix B, with a controlled per-τ\tau analysis on the same Pythia-410M sweep used here.

D.3 Sensitivity to Sigmoid Steepness α\alpha

Section titled “D.3 Sensitivity to Sigmoid Steepness α\alphaα”

We evaluate α∈[10,90]\alpha\in[10,90] while fixing τ\tau at the default values from Appendix D.2, using the same training budget as the main experiments (5001 examples, 5 epochs). As shown in Figure 8, chosen-response performance varies by less than 0.60.6 log units across the sweep.

For sequence-level gating, Δ_chosen\Delta\_{\mathrm{chosen}} ranges from +3.31+3.31 to +3.87+3.87, compared with the DPO baseline of −4.84-4.84. Token-level gating similarly ranges from +3.71+3.71 to +4.19+4.19. Gate activation remains nearly constant: gating rates stay at approximately 40% for sequence-level and 47% for token-level gating, while mean gate values vary only modestly. These results indicate that τ\tau primarily determines which examples are attenuated, whereas α\alpha controls the sharpness of the transition.

We use α=50\alpha=50 throughout the main experiments. The weak sensitivity across the evaluated range indicates that Gate-DPO does not require precise tuning of the sigmoid steepness.

Figure 8: Sensitivity to sigmoid steepness α \alpha . (a) Chosen-response change varies by less than 0.6 0.6 log units a

Figure 8: Sensitivity to sigmoid steepness α \alpha . (a) Chosen-response change varies by less than 0.6 0.6 log units across α ∈ [ 10 , 90 ] \alpha\in[10,90] for both gating variants, and stays positive throughout. (b) Rejected-response behavior remains stable. (c) Gate activation changes little across the sweep, supporting the interpretation that τ \tau primarily controls which samples are gated while α \alpha determines transition sharpness. Experiments use Pythia-410M with the same training budget as the main experiments (5001 examples, 5 epochs).

Appendix E Mass-Dynamics Evaluation Protocol and Data Examples

Section titled “Appendix E Mass-Dynamics Evaluation Protocol and Data Examples”

All preference-optimization methods are trained on standard pairwise preference data of the form (x,y+,y−)(x,y^{+},y^{-}), where xx is the prompt, y+y^{+} is the preferred response, and y−y^{-} is the rejected response. Our primary learning-dynamics analysis uses Anthropic-HH, with additional validation on UltraFeedback. The auxiliary response variants described below are used only for evaluation and never as optimization targets.

To characterize how preference optimization redistributes probability mass, we construct a fixed evaluation set following the learning-dynamics setting of Ren & Sutherland (2025). For each prompt, we score multiple response types under both the SFT reference model π_ref\pi\_{\mathrm{ref}} and the trained policy π_θ\pi\_{\theta}. These responses are grouped into:

  • •

    Preferred-response variants: the original chosen response and semantic or structural variants (e.g., chosen, chosen_initial, chosen_selfr, chosen_gptsemantic, chosen_gptformat);

  • •

    Rejected-response variants: the original rejected response and related variants (e.g., rejected, reject_gptsemantic, reject_gptformat);

  • •

    Unrelated / off-target responses: unrelated, corrupted, or off-distribution text (e.g., irr_train, irr_test, irr_hum, random_permute, random_nonhum).

These variants probe whether preference optimization increases likelihood on preferred responses while avoiding unnecessary suppression elsewhere in the distribution.

For each response yy, we compute its conditional log-probability under the reference and trained policies. We report

ΔChosen\displaystyle\Delta\text{Chosen}=E_(x,y)∈Y_chosen[log⁡π_θ(y∣x)−log⁡π_ref(y∣x)],\displaystyle=\mathbb{E}\_{(x,y)\in\mathcal{Y}\_{\mathrm{chosen}}}\left[\log\pi\_{\theta}(y\mid x)-\log\pi\_{\mathrm{ref}}(y\mid x)\right],(35)
---------------
ΔOthers\displaystyle\Delta\text{Others}=E_(x,y)∈Y_other[log⁡π_θ(y∣x)−log⁡π_ref(y∣x)],\displaystyle=\mathbb{E}\_{(x,y)\in\mathcal{Y}\_{\mathrm{other}}}\left[\log\pi\_{\theta}(y\mid x)-\log\pi\_{\mathrm{ref}}(y\mid x)\right],(36)
------------
ΔMargin\displaystyle\Delta\text{Margin}=E_(x,y+,y−)[(log⁡π_θ(y+∣x)−log⁡π_θ(y−∣x))\displaystyle=\mathbb{E}\_{(x,y^{+},y^{-})}\Big[\big(\log\pi\_{\theta}(y^{+}\mid x)-\log\pi\_{\theta}(y^{-}\mid x)\big)
---------------
−(log⁡π_ref(y+∣x)−log⁡π_ref(y−∣x))].\displaystyle\hskip 108.12054pt-\big(\log\pi\_{\mathrm{ref}}(y^{+}\mid x)-\log\pi\_{\mathrm{ref}}(y^{-}\mid x)\big)\Big].(37)

Δ\Delta Chosen measures movement on preferred responses; positive values indicate that their likelihood increases relative to the SFT reference. Δ\Delta Others measures collateral redistribution over unrelated or off-target responses, with values closer to zero indicating better preservation. Δ\Delta Margin measures the change in chosen–rejected separation.

Together, these quantities distinguish methods that improve preference separation through healthier redistribution from those that obtain a large margin primarily through broad probability suppression.

E.2 Representative Training and Evaluation Examples

Section titled “E.2 Representative Training and Evaluation Examples”

Table 5 shows a representative preference-training sample. During training, the model observes only the prompt xx and paired responses (y+,y−)(y^{+},y^{-}).

Table 5: Representative preference-training example.

Prompt:
Human: Hi, I want to learn to play horseshoes. Can you teach me?
Assistant: I can, but maybe I should begin by telling you that a typical game consists of 2 players and 6 or 8 horseshoes.
Human: O…
Chosen (y+y^{+}):
A horseshoe is usually made out of metal and is about 3 to 3.5 inches long and around 1 inch thick. The horseshoe should also have a 2 inch by 3 inch…
Rejected (y−y^{-}):
Horseshoes are either metal or plastic discs. The horseshoes come in different weights, and the lighter ones are easier to throw, so they are often…

Table 6 shows representative variants used only for the mass-dynamics evaluation.

Table 6: Representative response variants used in the mass-dynamics analysis.

VariantExample response
Preferred-response variants
chosenA horseshoe is usually made out of metal and is about 3 to 3.5 inches…
chosen_initialEach player takes a horseshoe, puts it in a rack, and begins to place…
chosen_selfr@@@ Original Sentence: A horseshoe is usually made out of metal…
chosen_gptsemanticA typical horseshoe is crafted from metal, measuring approximately 3 to 3.5 inches…
chosen_gptformatA reformatted or style-modified variant of the chosen response.
Rejected-response variants
rejectedHorseshoes are either metal or plastic discs. The horseshoes come in different weights…
reject_gptsemanticA semantic variant of the rejected response.
reject_gptformatA format-modified variant of the rejected response.
Unrelated / off-target responses
irr_trainThe chicken stock is much tastier if you use a pressure cooker…
irr_testGreat question! This is something that we’ll be studying for a long time…
irr_humThe mysterious cat prowled through the moonlit forest…
random_permutealso at 3 is long horseshoes. also should of inches to horseshoe have…
random_nonhumlong work, I that question! factors the is far, a so at including…

The auxiliary variants are not used as training targets. They serve only as probes of how preference optimization changes likelihood across preferred, rejected, and unrelated regions of the output distribution.

We follow the judging protocol of (Ren & Sutherland, 2025): for each held-out prompt, the judge is shown the prompt, a reference answer, and the two candidate responses, and is asked to pick whichever response is closer in meaning to the reference. Prompts and reference answers are sampled from the UltraFeedback test_prefs split (30 examples, sampling seed 1024).

We compare Pythia-410M and LLaMA-7B DPO baselines against their gating variants (sequence-level and token-level gating), all warm-started from the same SFT checkpoint and trained on Anthropic-HH under the setup of §4.1 (5,001 preference pairs, 5 epochs, batch size 4, learning rate 5×10−75\times 10^{-7}).

Responses are sampled with temperature 0.70.7, top-pp 0.90.9, and up to 200 new tokens. Generation is seeded per prompt index (seed=42+idx\texttt{seed}=42+\texttt{idx}), so a given prompt’s completion is identical regardless of what else is in the batch.

The judge is OpenAI gpt-4 and gpt-5.4 at temperature 00, given only the prompt, reference answer, and the two responses, and asked to return which response (1 or 2) is closer to the reference; the response schema admits only {1,2}\{1,2\}, so no tie option exists. Presentation order (which model is shown as response 1 vs. 2) is independently randomized per prompt index (seed=1024+idx\texttt{seed}=1024+\texttt{idx}) to control for position bias.

Table 3 reports each gated variant against its corresponding baseline. Each 30-prompt comparison was run twice with the same sampling and presentation-order seeds, and the table reports the aggregate win rate across the two runs. Gated variants exceed 50% in all 32 cells; seq exceeds q10 in 11 of 16 matched settings. These pilot results provide complementary behavioral evidence rather than a comprehensive quality evaluation; broader human and standardized evaluation is left to future work.

F.2 Qualitative Examples and Response Quality

Section titled “F.2 Qualitative Examples and Response Quality”

Both checkpoints are trained on only 5,001 preference pairs for 5 epochs, the reduced-scale budget used throughout our Pythia-410M pilot experiments (§4.1). At this scale, raw completions from both DPO and Gate-DPO frequently show repetition loops and other small-model fluency artifacts; this is a property of the training budget, not of either method specifically. Table 7 shows one representative case per outcome: a Gate-DPO (seq) win, a Gate-DPO (q10) win, and a DPO win. As row 3 illustrates, the judge’s criterion (closeness in meaning to the reference answer) does not always track fluency, it can prefer a topically on-point but degenerate completion over a fluent off-topic one.

Table 7: Representative pairwise comparisons. Completions are lightly abbreviated for space; repeated spans are marked rather than reproduced verbatim.

PromptGate-DPO replyDPO replyGPT-5.4 decision
Can you recommend any local restaurants that specialize in sustainable or farm-to-table cuisine?[seq] I’d recommend trying a few of the local restaurants I’ve mentioned. One of my favorites is the South Coast Grill in Santa Barbara — the food is delicious and it’s close to my home. What do you enjoy doing outside of cooking? I love the beach, hiking, the aquarium, the zoo, the aquarium, the zoo… (loops)I’m looking for a place that specializes in organic produce and is sustainable. Thanks for any suggestions! A: A place that specializes in farm-to-table cuisine would be the place I’d recommend. They have a variety of farm-to-table dishes and a farm-to-table menu.Gate-DPO (seq)
[Dialogue- summarization task] Q: Can you tell me about Ecuador’s culture? … Do you have geography information? The coast of the country is the Pacific Ocean and hosts many beautiful beaches! Thank you. welcome. A:[q10] I’m happy to help you with your geography questions. Ecuador is located in the Andes mountain range. The climate is very hot and humid. The average temperature is around 80 degrees Celsius. The average rainfall is around 500 mm.Q: What is the most common culture in Ecuador? The most common culture in Ecuador is Spanish. The Spanish language is the main language in the country. Ecuador has many Spanish-speaking people. The most common Spanish-speaking people in Ecuador are the Canari, Canarinos, Canarinos, Canari~nos… (repeats “Canariños” 20+ times)Gate-DPO (q10)
Describe how the sea looks like when you are standing on the beach.[seq] In order to create a picture of the sea, you will need to place a small piece of paper on a flat surface and take a photograph of it. This picture will then be used to create a 3D model of the sea, which is placed on a computer and imported into a 3D modeling program… (loops)The Sea. The sea is a flat, flat, flat, flat, flat, flat… (repeats “flat” 50+ times)DPO

The judging protocol admits only a binary decision per prompt (§F.1), so no tie condition can occur in this dataset; we report three representative cases rather than four for this reason.