Skip to content
ImagineWorld

An Empirical Study of SFT-DPO Interaction and Parameterization in Small Language Models

node_idnode-paper_arxiv-2603.20100_an-empirical-study-of-sft-dpo-interaction-and-parameterization-in-small
node_typenode-paper
schema_profileworld.node_paper.v1
alternate_namesarxiv-2603.20100
statusactive
orthogonal_scopemanifold, entropy, authority, state
manifoldworld
entropymedium
authorityguides
stateexternal
domainimagineworld.net
node_interiorrosetta_contract
unisonone evidence claim read five ways: seated in the machine-learning field, the work empirically studies SFT-DPO interaction and parameterization in small models — its framework, regime, and stance agreeing on what it is
governed_byWORLD-MANIFOLD, CORPUS
constitutional_citationCONSTITUTION
evidence_bundleworld-bundle-paper
publication_classarxiv_preprint
paper_titleAn Empirical Study of SFT-DPO Interaction and Parameterization in Small Language Models
paper_authorsYuming Feng, Christy Yang
arxiv_id2603.20100
arxiv_urlhttps://arxiv.org/abs/2603.20100
arxiv_categories{"primary":"cs.CL","secondary":["cs.AI"]}
arxiv_v1
arxiv_submitted_at2026-03-20
arxiv_updated_at2026-03-20
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:45:17Z
local graph

An Empirical Study of SFT-DPO Interaction and Parameterization in Small Language Models

Section titled “An Empirical Study of SFT-DPO Interaction and Parameterization in Small Language Models”

Authors: Yuming Feng, Christy Yang

arxiv: 2603.20100

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


Direct Preference Optimization (DPO) is widely used after supervised fine-tuning (SFT) to align language models, yet empirical behavior under small backbones and modest data is under-specified. We systematically compare SFT-only, DPO-only, and staged SFT→\rightarrowDPO training alongside full fine-tuning (FFT) versus LoRA on a GPT-2–scale decoder, evaluating paraphrase detection and Shakespearean sonnet continuation. DPO yields small, task-dependent gains over strong SFT and can match competitive SFT accuracy without a warm start when the preference construction closely parallels the supervised objective. In contrast, parameterization dominates: FFT consistently outperforms LoRA at matched training depth, and LoRA does not reduce wall-clock time on our hardware. These findings indicate that, in this small-scale regime, supervised full-parameter adaptation remains the primary performance lever, while preference optimization and low-rank adaptation provide limited marginal returns.

Code and experiments: github.com/Harry20030331/cs224n_project

Pretrained language models can be adapted to downstream tasks through fine-tuning, but efficient adaptation remains challenging for smaller models with limited compute and parameter budgets. Two widely used approaches address this: parameter-efficient fine-tuning such as Low-Rank Adaptation (LoRA), which updates few parameters while freezing most weights, and preference-based optimization such as Direct Preference Optimization (DPO) Rafailov et al. (2023), which aligns models with desired outputs. In practice, models are often first trained with supervised fine-tuning (SFT) and then refined with DPO.

Despite widespread use, these techniques are incompletely understood in the small-model regime. Two questions remain open: (1) how LoRA Hu et al. (2021) compares to full fine-tuning (FFT) when adapting smaller models, and (2) how SFT and DPO interact and when to introduce DPO during training. In this work we investigate both. We compare FFT with LoRA-based adaptation and examine the SFT–DPO interaction within a staged pipeline, analyzing how preference optimization behaves when applied after different SFT stages. We evaluate on paraphrase detection and sonnet generation using a GPT-2 backbone, providing insight into practical strategies for adapting smaller language models.

Our main contributions are:

  • •

    We present a controlled empirical study of SFT-only, DPO-only, and staged SFT→\rightarrowDPO training on a GPT-2–scale decoder, including DPO hyperparameter sweeps and handoff timing on paraphrase detection, plus preference-pair designs for sonnet continuation.

  • •

    We benchmark FFT against LoRA (rank sweep, training curves, and wall-clock) under matched task and data conditions, showing that parameterization differences dominate the gains from adding a preference stage in our regime.

  • •

    We distill practical implications for small models and modest data: full-parameter SFT remains the primary accuracy lever, DPO yields only marginal improvements over strong SFT, and LoRA does not translate into faster training on compute-bound hardware at this scale.

Large pretrained language models have demonstrated strong performance across a wide range of tasks when adapted through fine-tuning. Early work such as GPT-2 Radford et al. (2019) showed that large autoregressive language models trained on large corpora can perform many downstream tasks with minimal task-specific modifications. Subsequent research has further explored how pretrained models can be adapted efficiently to new tasks through SFT and instruction tuning Chung et al. (2022). These approaches form the foundation of most modern LLM training pipelines.

Beyond supervised learning, recent work has explored aligning language models using human preference signals. Reinforcement learning from human feedback (RLHF) has become a widely adopted framework for aligning LLMs with human intent Ouyang et al. (2022). Earlier work also investigated learning from human feedback in sequence generation settings Kreutzer et al. (2018). More recently, DPO Rafailov et al. (2023) proposes a simpler alternative to RLHF that directly optimizes preference pairs without explicitly training a reward model. DPO has become an increasingly popular alignment method due to its conceptual simplicity and empirical effectiveness.

Another line of research focuses on reducing the computational cost of fine-tuning large models. Parameter-efficient fine-tuning methods aim to update only a small subset of parameters while keeping most pretrained weights fixed. Among these approaches, LoRA introduces low-rank adaptation matrices that allow efficient task adaptation with a small number of trainable parameters. Such methods are particularly attractive for large-scale models where FFT is computationally expensive.

While preference optimization and parameter-efficient fine-tuning are both widely used in modern language model training pipelines, their behavior in smaller model settings remains less explored. In particular, it is unclear how LoRA compares to FFT when adapting smaller language models, and how SFT interacts with preference optimization methods such as DPO. In this work, we study these questions using a GPT-2 backbone across both classification and generation tasks, focusing on the interaction between SFT and DPO as well as the practical impact of parameterization choices.

We evaluate using two tasks that cover classification and generation settings.

Our classification task is paraphrase detection on the Quora Question Pairs dataset. Given a pair of questions, the model predicts whether they express the same meaning. This setting provides a large labeled dataset and requires semantic matching beyond surface overlap, and we use it to study parameterization strategies (FFT vs. LoRA) and the interaction between SFT and DPO.

To complement the classification experiments, we include a generation task based on Shakespearean sonnet continuation. Given the prefix of a sonnet, the model autoregressively generates the remaining lines. This task enables evaluation of open-ended generation behavior and provides a natural setting for constructing preference pairs used in preference-based optimization.

In this section, we describe the model architecture and training methods used in our study. Our goal is to analyze how different training objectives and parameterization strategies influence the adaptation of a pretrained language model. In particular, we investigate the interaction between SFT and DPO, as well as the comparison between FFT and LoRA.

Our backbone model is GPT-2 (124M parameters), a decoder-only Transformer language model Radford et al. (2019). The model consists of token embeddings and positional embeddings followed by a stack of Transformer blocks with causal self-attention and feed-forward networks.

Each Transformer block computes

h^=h+Attn(LN(h)),h′=h^+FFN(LN(h^))\hat{h}=h+\mathrm{Attn}(\mathrm{LN}(h)),\qquad h^{\prime}=\hat{h}+\mathrm{FFN}(\mathrm{LN}(\hat{h}))(1)

where Attn\mathrm{Attn} denotes multi-head causal self-attention and FFN\mathrm{FFN} denotes the feed-forward network with GELU activation. The hidden size is d=768d=768 with 12 attention heads and 12 layers.

We implement the GPT-2 architecture and load pretrained weights from HuggingFace as initialization.

The pretrained GPT-2 model is adapted differently depending on the task type.

For paraphrase detection, we attach a linear head on the final-token hidden state to produce label logits. For generation (sonnet continuation), the model generates autoregressively via the language modeling head (hidden states projected onto the token embedding matrix).

We first adapt the pretrained model using SFT. Given an input xx and target output yy, the model parameters θ\theta are optimized using the standard cross-entropy loss

L_SFT=−log⁡P_θ(y∣x).\mathcal{L}\_{\text{SFT}}=-\log P\_{\theta}(y\mid x).(2)

SFT serves as the primary baseline training objective and provides the initial model for subsequent preference-based optimization.

To incorporate preference-based learning, we explore DPO Rafailov et al. (2023). DPO trains the model to prefer a chosen response over a rejected response given the same prompt.

Given a prompt xx, a preferred response y_wy\_{w}, and a rejected response y_ly\_{l}, the objective encourages the model to assign higher probability to the preferred response. The loss is defined as

L_DPO=−log⁡σ ⁣(β(log⁡P_θ(y_w∣x)−log⁡P_θ(y_l∣x))),\mathcal{L}\_{\text{DPO}}=-\log\sigma\!\left(\beta\left(\log P\_{\theta}(y\_{w}\mid x)-\log P\_{\theta}(y\_{l}\mid x)\right)\right),(3)

where σ\sigma is the sigmoid function and β\beta controls the strength of the preference signal.

Preference pairs use correct vs. incorrect labels for paraphrase detection, and reference vs. model-generated continuations for generation. We compare SFT-only, DPO-only, and a two-stage SFT→\rightarrowDPO pipeline.

To study the effect of parameterization strategies, we compare two approaches for adapting the pretrained model: FFT and LoRA.

In FFT, all model parameters are updated during training. This approach provides maximum flexibility but requires updating the entire parameter set of the model.

LoRA Hu et al. (2021) introduces trainable low-rank matrices to approximate weight updates while keeping the pretrained weights frozen. Specifically, for a weight matrix WW, the update is parameterized as

W=W_0+αrBAW=W\_{0}+\frac{\alpha}{r}BA(4)

where A∈Rr×dA\in\mathbb{R}^{r\times d} and B∈Rd×rB\in\mathbb{R}^{d\times r} are low-rank matrices and rr is the rank of the adaptation. This significantly reduces the number of trainable parameters while maintaining competitive performance.

This section describes the datasets used for our tasks and the procedure for constructing preference pairs used in DPO training.

For paraphrase detection, we use the Quora Question Pairs dataset Quora (2017) with 283,011 train, 40,430 dev, and 80,860 test examples.

For sonnet generation, we use the Folger Shakespeare Library edition of Shakespeare’s 155 sonnets. The dataset is split into 131 training poems, 12 development poems, and 12 test poems. Each 14-line sonnet is divided into a 3-line conditioning prompt and an 11-line target continuation.

For DPO training, we construct preference pairs consisting of a prompt, a preferred response, and a rejected response.

For paraphrase detection, preference pairs are derived directly from labeled data. Given an input example, the correct label is treated as the preferred output while the incorrect label is treated as the rejected output. This allows DPO to increase the log-probability margin between the correct and incorrect classes.

For the sonnet generation task, the preferred response is the original Shakespeare continuation and the rejected response is generated by the model. The prompt consists of the first three lines of a sonnet, and the model generates candidate continuations for the remaining lines.

We explore three strategies for constructing preference pairs:

Preference pairs are generated from the same 131 sonnets used for SFT. For each prompt, we sample 10 candidate continuations from the model. Candidates are filtered using a chrF similarity band with respect to the reference poem. Specifically, we keep candidates whose chrF scores fall within the range [60,90][60,90] to remove degenerate outputs and near-identical generations. Among the remaining candidates, the lowest-scoring continuation is selected as the rejected response. This procedure yields 97 preference pairs.

To avoid generating continuations from prompts seen during supervised training, we split the dataset into two halves. One half is used for SFT training, while preference pairs are constructed from prompts in the other half. The same sampling and filtering procedure is applied. This produces 65 preference pairs from unseen prompts.

To increase the number of preference pairs, we further augment the dataset by selecting multiple rejected candidates for each prompt. Using the same train/dev split as in V2, we keep the top five filtered candidates per prompt to construct additional pairs. This results in 325 preference pairs from 65 unique prompts.

Paraphrase detection is evaluated using dev-set accuracy (primary metric for model selection) along with macro-averaged precision, recall, and F1. Sonnet generation is evaluated using chrF Popović (2015), a character-level nn-gram F-score computed by sacrebleu, which is more robust than BLEU on small corpora and captures partial character-level overlap that word-level metrics miss. Because sampling-based generation is inherently stochastic, we additionally run stability evaluations: each checkpoint is evaluated with 20 different random seeds at the chosen temperature, and we report the mean, standard deviation, minimum, and maximum chrF across those 20 runs, so that reported gains can be compared against seed-to-seed variance.

All experiments were run on NVIDIA H100 GPUs using the Modal cloud platform (80GB VRAM per GPU).

Training time differs significantly between tasks. For the paraphrase detection task, training a single epoch typically takes approximately 7 minutes. In contrast, the sonnet generation experiments are much smaller in scale and require only about 0.7 seconds per training epoch.

For the main training pipeline (SFT and DPO), we extend a PyTorch GPT-2 fine-tuning stack with DPO and staged SFT→\rightarrowDPO handoffs.11 1 Public repository: https://github.com/Harry20030331/cs224n_project.

For parameter-efficient fine-tuning experiments, we implement LoRA using the Hugging Face ecosystem together with the PEFT (Parameter-Efficient Fine-Tuning) library.

Detailed hyperparameter settings and task-specific configurations for each experiment are provided in the Appendix.

We evaluate the interaction between training objectives and parameterization strategies on the Quora Question Pairs paraphrase detection task. Unless otherwise specified, all results reported in this section are best development-set results, and model selection is performed without using test labels.

We compare three dataset sizes (2.83k, 28.3k, 283k) to assess the effect of training data scale (Table 1).

Table 1: Effect of training data size on paraphrase detection. Larger datasets improve development performance and reduce the train–dev loss gap.

Data sizeEpochsTime/epochTotal timeTrain lossDev lossAcc.Prec.Rec.F1
2.83k4030.25s20.2 min0.0330.77078.777.177.377.2
28.3k1586.16s21.5 min0.1230.40383.982.982.382.6
283k8435s58.0 min0.2000.28088.787.589.388.2

Table 2: Same-time training comparison between large and small datasets. Under a fixed training-time budget, fewer epochs on a larger dataset outperform many epochs on a smaller dataset.

SettingTraining TimeConfigurationDev F1Dev Accuracy
∼\sim15 min∼\sim14.5 min283k ×\times 2 epochs86.2086.81
∼\sim14 min28.3k ×\times 10 epochs82.3483.25
∼\sim30 min∼\sim29 min283k ×\times 4 epochs87.1187.94
∼\sim29 min28.3k ×\times 20 epochs∼\sim82.9∼\sim83.9

Larger datasets consistently improve dev performance (Table 1). At 2.83k the model overfits severely (train loss 0.033 vs. dev loss 0.770); at 283k dev F1 reaches 88.2. Under a fixed training-time budget (Table 2), fewer epochs on a larger dataset outperform more epochs on a smaller one—e.g., 283k×\times2 epochs in ∼\sim15 min yields 86.20 F1 vs. 28.3k×\times10 epochs at 82.34 F1. Data diversity is more valuable than repeated exposure: the model learns the task structure quickly, so more distinct examples generalize better. We adopt the full 283k dataset for all subsequent experiments.

We compare FFT against LoRA on the full 283k dataset for 3 epochs, sweeping LoRA rank r∈{4,8,16}r\in\{4,8,16\} (Table 3).

Table 3: Comparison of FFT and LoRA on paraphrase detection at epoch 3.

MethodConfigEpochsAcc.Prec.Rec.F1
FFT (SFT)full389.2488.3488.6588.49
LoRAr=16r=16385.1583.9985.8484.54
LoRAr=8r=8386.3485.1286.1885.56
LoRAr=4r=4385.6784.5486.4885.09

FFT outperforms all LoRA settings. Among LoRA variants, r=8r=8 performs best while r=16r=16 performs worse than r=8r=8 and r=4r=4—a rank paradox we attribute to optimization: at epoch 3, the higher-rank adapter introduces more parameters that receive the same number of updates and are not effectively utilized. We adopt r=8r=8 as the default LoRA configuration.

To better understand the optimization dynamics of FFT and LoRA, we also ran an extended 8-epoch comparison using FFT and LoRA with r=8r=8. We summarize these trajectories in Figure 1. The figure should plot train/dev accuracy and F1 across epochs for both methods.

Figure 1 : Training curves for FFT and LoRA ( r = 8 r=8 ) on paraphrase detection. Plot train and dev accuracy/F1 across

Figure 1 : Training curves for FFT and LoRA ( r = 8 r=8 ) on paraphrase detection. Plot train and dev accuracy/F1 across epochs.

Both methods improve sharply in the first epoch then slow down. FFT overfits more (train keeps improving after dev plateaus); LoRA has a smaller train–dev gap but a lower dev ceiling.

Another practical motivation for using LoRA is training efficiency. In principle, LoRA reduces the number of trainable parameters and memory footprint, which can allow larger batch sizes and potentially faster training. However, in our experiments we did not observe a noticeable reduction in training time when using LoRA compared with FFT.

Our H100 setup is compute-bound rather than memory-bound, so LoRA’s reduced memory footprint does not translate to faster training. For larger models, LoRA may offer clearer efficiency gains; here, its main benefit is memory savings.

Before studying the SFT→\rightarrowDPO transition, we first tune the DPO hyperparameters. All runs in this subsection start from the best FFT SFT checkpoint (SFT@9, i.e., the checkpoint after the ninth SFT epoch), use the full 283k dataset, and construct preference pairs as chosen = correct label and rejected = incorrect label.

We first sweep the DPO learning rate while fixing β=0.2\beta=0.2, and then sweep β\beta while fixing the best learning rate. Results are shown in Table 4(b).The learning rate choice is not highly sensitive in Table 4(b), but the smallest value performs slightly better. This is consistent with DPO acting as a refinement stage on top of a strong SFT initialization: a smaller learning rate adjusts margins without overshooting. Similarly, the β\beta sweep shows that β=0.2\beta=0.2 performs best, although the differences are modest. A smaller β\beta weakens the preference signal, while a larger β\beta amplifies the margin between chosen and rejected responses, which can lead to overly aggressive updates and slightly worse dev performance. We therefore use learning rate 5×10−65\times 10^{-6} and β=0.2\beta=0.2 in all subsequent DPO experiments.

Table 4: DPO hyperparameter sweeps on paraphrase detection.

LRAccPrecRecF1
5×10−65\times 10^{-6}89.7588.7189.6789.13
1×10−51\times 10^{-5}89.7388.6689.7789.13
2×10−52\times 10^{-5}89.6188.5789.4988.97

(a) Learning rate sweep (β=0.2\beta=0.2).

β\betaAccPrecRecF1
0.189.7288.6789.6789.10
0.289.7588.7189.6789.13
0.589.6988.6489.6189.06

(b) β\beta sweep (LR =5×10−6=5\times 10^{-6}).

5.4.4 Effect of SFT→\rightarrowDPO Handoff

Section titled “5.4.4 Effect of SFT→\rightarrow→DPO Handoff”

We next study when DPO should be introduced relative to supervised training. We compare four strategies: SFT only, DPO only, SFT@3→\rightarrowDPO, and SFT@9→\rightarrowDPO. Here SFT@N denotes the checkpoint after N epochs of SFT. We choose SFT@3 as an early-stage checkpoint where training progress begins to slow, and SFT@9 as a near-converged checkpoint. In the mixed strategies, DPO starts from the corresponding SFT checkpoint. Results are shown in Table 5.

Table 5: Effect of SFT→\rightarrowDPO handoff timing on paraphrase detection.

StrategySFT epDPO epBestAccPrecRecF1
SFT only100SFT@989.8788.8989.5989.21
DPO only010DPO@789.4688.3889.4388.83
SFT@3→\rightarrowDPO310DPO@989.7788.7889.5489.12
SFT@9→\rightarrowDPO96DPO@590.0589.0589.9189.43

The strongest result in Table 5 is obtained by first training SFT to the best checkpoint and then running DPO: SFT@9→\rightarrowDPO reaches 90.05% accuracy and 89.43 F1.

At the same time, the differences across strategies are small. The spread in best dev accuracy is less than 0.6 points (89.46–90.05). Since each setting is run only once, we treat these differences as descriptive rather than statistically significant.

Interestingly, DPO-only is competitive with SFT-only. This differs from the usual intuition that DPO requires a strong SFT warm start. The likely reason is task structure: paraphrase detection is a fixed-prompt binary classification task, and our DPO objective uses the correct label as chosen and the wrong label as rejected. In this setting the preference signal closely resembles the supervised signal, allowing DPO to learn the decision boundary directly from scratch.

Finally, we summarize the best dev performance for the four cells of our study: training objective (SFT vs. DPO) ×\times parameterization strategy (FFT vs. LoRA). For FFT we use the best handoff and DPO hyperparameters identified above. For LoRA we use rank r=8r=8 and run DPO from the converged LoRA SFT checkpoint.

Table 6: Best dev results for training objective ×\times parameterization on paraphrase detection.

Acc / F1SFTDPO
FFT89.87 / 89.2190.05 / 89.43
LoRA87.70 / 87.0088.48 / 87.76

Three conclusions follow from Table 6. First, FFT consistently outperforms LoRA regardless of the training objective, confirming that full-model updates remain more effective than low-rank adaptation in this setting.

Second, DPO improves over SFT in both regimes. The gain is small for FFT (90.05 vs. 89.87 accuracy) but larger for LoRA (88.48 vs. 87.70), suggesting that DPO provides a mild benefit by increasing the separation between correct and incorrect outputs.

Third, the effect of parameterization is larger than the effect of objective. Moving from LoRA to FFT changes accuracy by more than one point, whereas moving from SFT to DPO changes accuracy by less than one point. In practical terms, the choice between FFT and LoRA matters more than the choice between SFT and DPO for this task.

To complement the classification experiments, we also study a generative task: Shakespearean sonnet continuation. Here the goal is open-ended continuation quality rather than binary decisions, measured using chrF on the dev set. We analyze two factors: sampling temperature and DPO preference-pair construction.

We evaluate the best SFT checkpoint at several temperatures (20 seeds each) to test whether lower temperature improves chrF by making generation more deterministic.

Table 7: Effect of sampling temperature on sonnet-generation chrF across 20 seeds.

TempMeanStdMinMax
0.541.290.25540.9442.10
1.041.540.36240.4442.05
1.241.700.30841.2042.32
1.541.860.28041.2042.42
2.041.780.57340.0942.45

The results contradict the simple “lower temperature is better” hypothesis. The lowest temperature (T=0.5T=0.5) produces the worst mean chrF. Performance improves as temperature increases, peaks around T=1.5T=1.5, and becomes less stable at T=2.0T=2.0.

Low temperatures make generation overly deterministic, often producing repetitive or conservative continuations that reduce overlap with the Shakespeare reference. Increasing the temperature allows more lexical diversity while still preserving coherence, which improves average chrF. Although higher temperatures typically increase sampling variance, in our setup decoding also uses nucleus sampling with p=0.9p=0.9, which truncates the low-probability tail of the distribution. As a result, even T=1.5T=1.5 does not produce extremely unlikely tokens, allowing moderate temperature values to improve diversity without severely degrading quality. We therefore report sonnet results using temperatures 1.5.

5.5.2 Effect of Preference Pair Construction

Section titled “5.5.2 Effect of Preference Pair Construction”

We compare three strategies for constructing DPO preference pairs: V1 (same sonnets as SFT), V2 (50–50 split, DPO on unseen prompts), and V3 (top-KK augmentation, 325 pairs from 65 prompts). Results are in Table 8.

Table 8: Comparison of DPO preference-pair construction strategies for sonnet generation.

ConfigPairsBest chrFEpochΔ\Delta vs SFT
DPO V19741.942+0.19
DPO V26541.744+0.28
DPO V332541.4600

DPO provides only minor gains over the SFT baseline on this task. V1 yields a small improvement, V2 is roughly comparable, and V3 collapses.

In V1 the preference pairs are constructed from the same 131 sonnets used for SFT, so DPO mainly reinforces a signal the model has already learned. V2 uses unseen prompts, which reduces memorization concerns but further reduces the already small dataset. V3 has the largest number of pairs (325) but only 65 unique prompts, meaning the model repeatedly sees the same prompts with slightly different rejected continuations. Rather than increasing useful diversity, this over-reinforces a narrow prompt set and leads to unstable training.

Taken together, these results suggest that preference optimization is limited in extremely low-resource settings. In our case both the model scale and the dataset size are small, leaving little room for DPO to meaningfully reshape the model’s behavior beyond what SFT already provides. More broadly, this points to a practical regime in which preference tuning becomes effective only when model capacity and data scale are sufficiently large.

6.1 Qualitative Error Analysis on Paraphrase Detection

Section titled “6.1 Qualitative Error Analysis on Paraphrase Detection”

Table 9: Paraphrase detection Case Study

CaseSentence 1Sentence 2GoldModelResult
SuccessIs it biologically good or bad to marry other caste?Is it good or bad to marry other caste?YesYesCorrect
FailureWhy do Quorans answer questions that are already answered?Why do Quorans downvote questions they cannot answer?NoYesIncorrect (FP)

The success example is a near-duplicate pair differing only by the word “biologically”; the model correctly predicts paraphrase. The failure is a false positive: both sentences share topic and wording (Quorans, questions) but ask different things (answering already-answered questions vs. downvoting questions one cannot answer). Taken together, these cases indicate that the small model’s capacity for fine-grained semantic understanding is still limited.

6.2 Qualitative comparison: SFT continuation vs. original Sonnet 132

Section titled “6.2 Qualitative comparison: SFT continuation vs. original Sonnet 132”

The best-checkpoint SFT–fine-tuned GPT-2 continuation for Sonnet 132 (full gold and generated texts in Appendix B.1) successfully imitates several surface-level stylistic properties of Shakespearean verse. It employs elevated lexis (“languished,” “gentle praise”), archaic or formal constructions, and thematically appropriate imagery centered on lips, speech, and affection, which broadly aligns with the emotional register of the original poem. This indicates that SFT effectively steers the model toward the target style at the level of local word choice and short-span phrasing.

In contrast, a direct comparison with the gold continuation reveals persistent weaknesses in global structure and formal control. The original sonnet develops a coherent conceit in which the beloved’s “mourning” eyes motivate a clear argument about beauty, pity, and complexion; the generated continuation, by comparison, drifts semantically and introduces syntactically awkward, partially uninterpretable lines (e.g., “Who liped in assent to kiss each other’s burs”). Moreover, the model only loosely respects rhyme and meter, failing to consistently reproduce the iambic pentameter and end-rhyme pattern that characterize the Shakespearean sonnet form. Overall, this example suggests that while SFT enables GPT-2 to approximate local Shakespearean style, capturing long-range rhetorical organization and strict prosodic structure remains a significant challenge.

We isolate two design axes for adapting small decoder-only models: the SFT→\rightarrowDPO training recipe and the choice between FFT and LoRA. Across paraphrase detection and sonnet generation, DPO is not a reliable large win over a well-tuned SFT baseline at this scale; gains are small and task-dependent, and DPO-from-scratch can be competitive when preferences align tightly with the supervised signal (e.g., chosen/rejected class labels). Parameterization matters more than the preference stage: FFT reliably achieves higher accuracy and chrF than LoRA, and LoRA does not translate into faster training under our compute-bound H100 setup.

We therefore conclude that, for GPT-2–class models and the data regimes we study, investing compute in full-parameter SFT and data scaling dominates marginal returns from DPO and low-rank adapters. Preference optimization and PEFT remain valuable tools at larger scales, but practitioners should not assume they replicate their “large-model” benefits when capacity and supervision are both scarce—explicit measurement on the target regime is warranted.

  • [1] R. Rafailov, A. Sharma, E. Mitchell, S. Ermon, C. D. Manning, and C. Finn (2023) Direct preference optimization: your language model is secretly a reward model. External Links: 2305.18290, Link Cited by: §1, §2, §4.4.
  • [2] E. J. Hu, Y. Shen, P. Wallis, Z. Allen-Zhu, Y. Li, S. Wang, L. Wang, and W. Chen (2021) LoRA: low-rank adaptation of large language models. arXiv preprint arXiv:2106.09685. Cited by: §1, §4.5.2.
  • [3] A. Radford, J. Wu, R. Child, D. Luan, D. Amodei, and I. Sutskever (2019) Language models are unsupervised multitask learners. OpenAI Blog 1 (8), pp. 9. Cited by: §2, §4.1.
  • [4] H. W. Chung, L. Hou, S. Longpre, B. Zoph, Y. Tay, W. Fedus, Y. Li, X. Wang, M. Dehghani, S. Brahma, A. Webson, S. S. Gu, Z. Dai, M. Suzgun, X. Chen, A. Chowdhery, A. Castro-Ros, M. Pellat, K. Robinson, D. Valter, S. Narang, G. Mishra, A. Yu, V. Zhao, Y. Huang, A. Dai, H. Yu, S. Petrov, E. H. Chi, J. Dean, J. Devlin, A. Roberts, D. Zhou, Q. V. Le, and J. Wei (2022) Scaling instruction-finetuned language models. External Links: 2210.11416, Link Cited by: §2.
  • [5] L. Ouyang, J. Wu, X. Jiang, D. Almeida, C. Wainwright, P. Mishkin, C. Zhang, S. Agarwal, K. Slama, A. Ray, et al. (2022) Training language models to follow instructions with human feedback. arXiv preprint arXiv:2203.02155. Cited by: §2.
  • [6] J. Kreutzer, J. Uyheng, and S. Riezler (2018) Reliability and learnability of human bandit feedback for sequence-to-sequence reinforcement learning. External Links: 1805.10627, Link Cited by: §2.
  • [7] Quora (2017) First quora dataset release: question pairs. Note: https://www.quora.com/q/quoradata/First-Quora-Dataset-Release-Question-PairsAccessed: 2026-02-09 Cited by: §5.1.1.
  • [8] M. Popović (2015) ChrF: character n-gram f-score for automatic mt evaluation. In Proceedings of the Tenth Workshop on Statistical Machine Translation (WMT), Cited by: §5.2.

This section summarizes the hyperparameters used in our experiments.

Table 10: Hyperparameters for the dataset scale experiment.

Hyperparameter2.83k28.3k283k (chosen)
OptimizerAdamWAdamWAdamW
Learning rate1×10−51\times 10^{-5}1×10−51\times 10^{-5}1×10−51\times 10^{-5}
Batch size128128128
Epochs40158
Weight decay000
Max words/sent.646464

Table 11: Hyperparameters for the FFT vs. LoRA rank experiment.

HyperparameterFFT (SFT)LoRA
OptimizerAdamWAdamW
Learning rate5×10−55\times 10^{-5}2×10−42\times 10^{-4}
Batch size128128
Epochs33
Weight decay00
Max words/sent.6464
LoRA rank (rr)—4, 8, 16
LoRA α\alpha—16
LoRA dropout—0.0

Table 12: DPO hyperparameters: search space (left) and hand-off phase (right).

HyperparameterValues
OptimizerAdamW
DPO learning rate5 ⁣× ⁣10−65\!\times\!10^{-6}, 1 ⁣× ⁣10−51\!\times\!10^{-5}, 2 ⁣× ⁣10−52\!\times\!10^{-5}
Batch size128
Weight decay0
Max words/sent.64
DPO β\beta0.1, 0.2, 0.5

(a) Search space.

HyperparameterValue
OptimizerAdamW
DPO learning rate5×10−65\times 10^{-6}
Batch size128
Weight decay0
Max words/sent.64
DPO β\beta0.2

(b) Hand-off phase.

Table 13: Hyperparameters for the Sonnet Generation task (SFT and DPO phases).

HyperparameterValue
OptimizerAdamW
Epochs30
Learning rate1×10−51\times 10^{-5}
Batch size8
Max tokens256
Temperature1.5
Top-pp0.9
LoRA rank (rr)8

(a) SFT phase.

HyperparameterValue
OptimizerAdamW
Epochs8
DPO learning rate5×10−65\times 10^{-6}
Batch size8
DPO β\beta0.2
Max tokens256
Temperature1.5
Top-pp0.9
LoRA rank (rr)8

(b) DPO phase.

B.1 Sonnet 132: Gold vs. SFT-Generated Continuation

Section titled “B.1 Sonnet 132: Gold vs. SFT-Generated Continuation”

We provide the original held-out continuation of Sonnet 132 and the corresponding continuation generated by the best SFT checkpoint for qualitative comparison.

Gold continuation (Sonnet 132).

Thine eyes I love, and they, as pitying me,

Knowing thy heart torment me with disdain,

Have put on black, and loving mourners be,

Looking with pretty ruth upon my pain.

And truly not the morning sun of heaven

Better becomes the gray cheeks of the east,

Nor that full star that ushers in the even

Doth half that glory to the sober west

As those two mourning eyes become thy face.

O, let it then as well beseem thy heart

To mourn for me, since mourning doth thee grace,

And suit thy pity like in every part.

Then will I swear beauty herself is black,

And all they foul that thy complexion lack.

SFT-generated continuation (best checkpoint).

Those lips that Love’s own hand did make

Breathed forth the sound that said “I hate”

To me that languished for her sake;

Who liped in assent to kiss each other’s burs

As if by some instinct the two did know

Even how to kiss each other’s cheeks; Who, no love, did as she talked,

Till they, tongue still moving, moved with wholeness,

Bending down on top of you, you now parted.

More letters from me now I read, more true,

Than even her gentle praise could cover,

Even of your loving lips.

To hear her speak, you must rely on her soft feature

To hear her speak well of loved ones.