Skip to main content
Question 4. Which statistical measure is most appropriate for evaluating whether an LLM’s performance improvement after fine-tuning is statistically significant? Options:
  • Mean Squared Error
  • P-value from hypothesis testing
  • R-squared value
  • Standard deviation of predictions
Answer: P-value from hypothesis testing The p-value from a correctly chosen hypothesis test is the primary statistic used to judge whether an observed performance difference between two model versions (e.g., base vs. fine-tuned) is unlikely to be due to random chance. It expresses the probability of observing results as extreme as the ones in your data under the null hypothesis (for example: “no difference in performance”).
The image shows a multiple-choice question about the most appropriate statistical measure for evaluating an LLM's performance improvement after fine-tuning. The options are mean squared error, p-value from hypothesis testing, R-squared value, and standard deviation of predictions, with the p-value option highlighted.
Practical notes for using p-values to compare models: Table: Common tests and when to use them
Use hypothesis testing to determine whether observed improvements are unlikely under the null hypothesis, but always pair p-values with effect sizes and confidence intervals to communicate practical significance.
A small p-value does not guarantee a meaningful improvement. Large evaluation sets can produce tiny p-values for negligible effect sizes—always inspect absolute metric changes and effect sizes before declaring a meaningful gain.
Why the other options are less appropriate:
  • Mean Squared Error (MSE): A performance metric that quantifies average squared errors; useful for reporting but not a statistical test of significance by itself.
  • R-squared: Indicates proportion of variance explained in regression tasks; it does not test whether differences between model versions are statistically significant.
  • Standard deviation of predictions: Measures variability of outputs but does not assess whether differences between model versions are unlikely under the null hypothesis.
In summary, use an appropriate hypothesis test and report the resulting p-value to assess statistical significance when comparing LLM performance after fine-tuning. Complement p-values with effect sizes, confidence intervals, and absolute metric differences to provide a complete, practically meaningful evaluation.

Watch Video