Table of Contents
Fetching ...

Can Pre-training Indicators Reliably Predict Fine-tuning Outcomes of LLMs?

Hansi Zeng, Kai Hui, Honglei Zhuang, Zhen Qin, Zhenrui Yue, Hamed Zamani, Dana Alon

TL;DR

This work tackles the challenge of predicting post-SFT performance of same-size LLM variants using only pre-training indicators. It reveals that conventional perplexity is a poor predictor and introduces unsupervised and supervised proxies, including span-corruption perplexity and k-shot signals, which substantially reduce prediction error. A learning-to-compare framework that ensembles these proxies via a binary classifier yields stronger predictive power and generalizes across downstream tasks, even enabling effective recall of top models from small candidate pools. The results illuminate practical pathways for efficient pre-training design and model selection, with implications for faster iteration and cost savings in LLM development.

Abstract

While metrics available during pre-training, such as perplexity, correlate well with model performance at scaling-laws studies, their predictive capacities at a fixed model size remain unclear, hindering effective model selection and development. To address this gap, we formulate the task of selecting pre-training checkpoints to maximize downstream fine-tuning performance as a pairwise classification problem: predicting which of two LLMs, differing in their pre-training, will perform better after supervised fine-tuning (SFT). We construct a dataset using 50 1B parameter LLM variants with systematically varied pre-training configurations, e.g., objectives or data, and evaluate them on diverse downstream tasks after SFT. We first conduct a study and demonstrate that the conventional perplexity is a misleading indicator. As such, we introduce novel unsupervised and supervised proxy metrics derived from pre-training that successfully reduce the relative performance prediction error rate by over 50%. Despite the inherent complexity of this task, we demonstrate the practical utility of our proposed proxies in specific scenarios, paving the way for more efficient design of pre-training schemes optimized for various downstream tasks.

Can Pre-training Indicators Reliably Predict Fine-tuning Outcomes of LLMs?

TL;DR

This work tackles the challenge of predicting post-SFT performance of same-size LLM variants using only pre-training indicators. It reveals that conventional perplexity is a poor predictor and introduces unsupervised and supervised proxies, including span-corruption perplexity and k-shot signals, which substantially reduce prediction error. A learning-to-compare framework that ensembles these proxies via a binary classifier yields stronger predictive power and generalizes across downstream tasks, even enabling effective recall of top models from small candidate pools. The results illuminate practical pathways for efficient pre-training design and model selection, with implications for faster iteration and cost savings in LLM development.

Abstract

While metrics available during pre-training, such as perplexity, correlate well with model performance at scaling-laws studies, their predictive capacities at a fixed model size remain unclear, hindering effective model selection and development. To address this gap, we formulate the task of selecting pre-training checkpoints to maximize downstream fine-tuning performance as a pairwise classification problem: predicting which of two LLMs, differing in their pre-training, will perform better after supervised fine-tuning (SFT). We construct a dataset using 50 1B parameter LLM variants with systematically varied pre-training configurations, e.g., objectives or data, and evaluate them on diverse downstream tasks after SFT. We first conduct a study and demonstrate that the conventional perplexity is a misleading indicator. As such, we introduce novel unsupervised and supervised proxy metrics derived from pre-training that successfully reduce the relative performance prediction error rate by over 50%. Despite the inherent complexity of this task, we demonstrate the practical utility of our proposed proxies in specific scenarios, paving the way for more efficient design of pre-training schemes optimized for various downstream tasks.

Paper Structure

This paper contains 32 sections, 6 equations, 8 figures, 6 tables.

Figures (8)

  • Figure 1: Mean pairwise error rates across three SFT tasks (separate plots). Each plot compares perplexity, the best individual proxy (Section \ref{['sec:proxy-perf']}), and the learning-to-compare proxy (shown on the x-axis). The y-axis represents the error rate, defined as the proportion of mis-classified LLM pairs regarding post-SFT performance.
  • Figure 2: Pairwise prediction accuracy for PPL-CLM, PPL-SC, and Kshot-RAG comparing LLMs differing only in pre-training objective, across three SFT tasks (rows) and the three proxies (columns). Each cell indicates average accuracy of pairs where the proxy prediction agreed with the SFT result.
  • Figure 3: Relative influence of proxy metrics in the LTC framework (LightGBM).
  • Figure 4: Accuracy comparison of PPL-CLM, Kshot-RAG, and Learning-to-Compare (LTC) on SFT tasks (CMS, RAG, CBQA), grouped into five quantiles by absolute SFT performance difference.
  • Figure 5: Top-1 (top row) and Top-5 (bottom row) recall comparison at various cutoffs: supervised Learning-to-compare (LTC) vs. unsupervised baselines on SFT-CMS, SFT-RAG, and SFT-CBQA tasks.
  • ...and 3 more figures