Relative-Based Scaling Law for Neural Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yue, Baoqing, Zhou, Jinyuan, Wei, Zixi, Zhan, Jingtao, Ai, Qingyao, Liu, Yiqun
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915571610681344
author Yue, Baoqing
Zhou, Jinyuan
Wei, Zixi
Zhan, Jingtao
Ai, Qingyao
Liu, Yiqun
author_facet Yue, Baoqing
Zhou, Jinyuan
Wei, Zixi
Zhan, Jingtao
Ai, Qingyao
Liu, Yiqun
contents Scaling laws aim to accurately predict model performance across different scales. Existing scaling-law studies almost exclusively rely on cross-entropy as the evaluation metric. However, cross-entropy provides only a partial view of performance: it measures the absolute probability assigned to the correct token, but ignores the relative ordering between correct and incorrect tokens. Yet, relative ordering is crucial for language models, such as in greedy-sampling scenario. To address this limitation, we investigate scaling from the perspective of relative ordering. We first propose the Relative-Based Probability (RBP) metric, which quantifies the probability that the correct token is ranked among the top predictions. Building on this metric, we establish the Relative-Based Scaling Law, which characterizes how RBP improves with increasing model size. Through extensive experiments on four datasets and four model families spanning five orders of magnitude, we demonstrate the robustness and accuracy of this law. Finally, we illustrate the broad application of this law with two examples, namely providing a deeper explanation of emergence phenomena and facilitating finding fundamental theories of scaling laws. In summary, the Relative-Based Scaling Law complements the cross-entropy perspective and contributes to a more complete understanding of scaling large language models. Thus, it offers valuable insights for both practical development and theoretical exploration.
format Preprint
id arxiv_https___arxiv_org_abs_2510_20387
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Relative-Based Scaling Law for Neural Language Models
Yue, Baoqing
Zhou, Jinyuan
Wei, Zixi
Zhan, Jingtao
Ai, Qingyao
Liu, Yiqun
Machine Learning
Artificial Intelligence
Computation and Language
Scaling laws aim to accurately predict model performance across different scales. Existing scaling-law studies almost exclusively rely on cross-entropy as the evaluation metric. However, cross-entropy provides only a partial view of performance: it measures the absolute probability assigned to the correct token, but ignores the relative ordering between correct and incorrect tokens. Yet, relative ordering is crucial for language models, such as in greedy-sampling scenario. To address this limitation, we investigate scaling from the perspective of relative ordering. We first propose the Relative-Based Probability (RBP) metric, which quantifies the probability that the correct token is ranked among the top predictions. Building on this metric, we establish the Relative-Based Scaling Law, which characterizes how RBP improves with increasing model size. Through extensive experiments on four datasets and four model families spanning five orders of magnitude, we demonstrate the robustness and accuracy of this law. Finally, we illustrate the broad application of this law with two examples, namely providing a deeper explanation of emergence phenomena and facilitating finding fundamental theories of scaling laws. In summary, the Relative-Based Scaling Law complements the cross-entropy perspective and contributes to a more complete understanding of scaling large language models. Thus, it offers valuable insights for both practical development and theoretical exploration.
title Relative-Based Scaling Law for Neural Language Models
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2510.20387