Verified, then logged.
Thu 3 Dec 2026 · 07:19 KST / 22:19 UTC한국어 | ENSearch /

01 / AI · Analysis

Llama 3.2 maths scores hold after preference training

Chat-trained Llama kept 81% of baseline responses byte for byte, while training on maths solutions changed 59%.

Abbas Sani reported no statistically significant change in Llama-3.2-3B-Instruct’s accuracy after preference training on a test of 500 GSM8K elementary arithmetic word problems. In an arXiv preprint that has yet to be peer reviewed, Sani used direct preference optimisation (DPO), which trains a model on pairs of preferred and rejected responses.

The baseline model scored 68.4%. Accuracy averaged 68.1% after training on UltraFeedback chat preferences and 67.7% after training on pairs of maths solutions generated by the model itself. Sani built the maths pairs from GSM8K training problems and chose the preferred response by checking its final answer.

After 63 training updates, neither condition reliably distinguished preferred responses, Sani reported. At that training budget, he said it was hard to tell whether the data lacked a signal that could improve accuracy or the model had failed to learn it. Sani ran the repeated measurements himself, varying the random seed.

How often responses changed

The two training conditions changed the model’s responses at different rates. After training on chat pairs, 81% of responses matched the baseline byte for byte. After training on maths pairs, 59% differed from the baseline.

In the maths condition, the repository records 13 changes from wrong to right and 17 from right to wrong. In 11 cases, formatting changes altered the verdict of the grader, which extracts the last number. Sani also pointed out that checking only the final answer when building the training pairs could let faulty intermediate steps into preferred solutions.

Sani also used Kullback–Leibler divergence to measure how far each trained model’s output probabilities shifted from the baseline. Both conditions averaged about 2.4 × 10⁻⁴ nats per token. During generation, each model selected the highest-probability token at every step.

How well the model learned preferences

Both conditions used QLoRA, which reduced the original weights to 4-bit precision and trained only newly added weights. Each condition made a single pass through 500 response pairs. The training settings and grading rules were identical, so only the source of the pairs varied.

Late in training, reward accuracy, the share of pairs in which the model scored the preferred response higher, ranged from 0.46 to 0.62. In every run, the final loss was within 0.009 nats of ln 2, the value for scoring both responses equally. Both measures track how well the model distinguishes training pairs, separately from test accuracy.

The preset criteria for improvement in the maths condition included an average accuracy gain of at least 3 percentage points. The test pooling changes in correctness across individual problems returned p-values of 0.405 for chat pairs and 0.351 for maths pairs. Every run’s 95% confidence interval included zero change from baseline.

A starting point for follow-up experiments

Meta said it used several rounds of supervised fine-tuning on example responses, rejection sampling to filter candidate responses, and DPO when post-training its small Llama 3.2 text models. Sani started with the Instruct model, which was already tuned to follow instructions.

Sani limited the findings to one model and an elementary arithmetic benchmark. He ran the experiment on a T4-class GPU on Colab’s free tier, choosing the weight precision and the size of the preference sets to fit the available memory.

For follow-up comparisons with more training, Sani released the experiment code, preference pairs and outputs for each problem. The repository includes notebooks that rerun the baseline evaluation and training for both conditions.