offhaulBook the audit

By offhaul.com Learning editorial team

How to Read the Scaling-Laws Papers Without an ML Degree

How to Read the Scaling-Laws Papers Without a Machine Learning Degree

Suppose you are comparing two language models and see a claim that one was trained with more tokens while the other has more parameters. Which number matters? The scaling-laws papers by Kaplan and colleagues and by Hoffmann and colleagues help answer that question, but their equations and log-log plots can make the answer harder to reach.

This guide uses the published papers and publisher descriptions of the books below. It does not draw on hands-on evaluation of the books. Its aim is to help you read the papers, identify what each result measures, and buy only the reference that fills your particular gap.

What is the easiest way to read the scaling-laws papers?

Start with the papers’ abstracts and graphs, then learn what parameters, tokens, FLOPs, and test loss measure. Kaplan et al. and Hoffmann et al. estimate how language-model performance changes with scale, but they optimize under different assumptions. A short statistics primer plus one focused machine-learning book makes their plots readable.

Who this guide is for

You do not need to train a transformer language model to benefit from these papers. They are useful if you evaluate AI vendors, read model announcements, plan a training budget, or want to understand why a smaller model trained on more data can outperform a larger one.

You do need a few prerequisites: what a model learns during training, what a token is, how a loss function measures error, and how to read a graph whose axes use logarithmic scales. If those are unfamiliar, read the book section before trying to follow every equation. The papers become more useful once you can tell a measured result from a recommendation based on that result.

The two primary sources are Scaling Laws for Neural Language Models by Kaplan et al. (2020) and Training Compute-Optimal Large Language Models by Hoffmann et al. (2022). Read them in that order: the first establishes the vocabulary and broad patterns; the second revisits a consequential question about how to divide a fixed training budget.

First, separate the numbers the papers use

A parameter is a learned value in a model. A model described as having 70 billion parameters has 70 billion such values. Parameter count describes model size; it does not tell you how much text the model saw.

A training token is a unit of text presented during training. A count of 1.4 trillion training tokens describes the amount of tokenized text processed, including repeated text if the training procedure revisits it. Tokens are not documents, and two tokenizers may count the same text differently. That is why “more parameters” and “more tokens” answer different questions.

Training compute describes the work required to train the model. The papers express it in floating-point operations, or FLOPs. For a rough calculation often used when discussing dense transformer training, compute is about six times parameter count times training token count. Applying that approximation to 70 billion parameters and 1.4 trillion tokens gives about 5.9 × 10²³ FLOPs. That is an estimate for understanding scale, not a bill or a measurement of a particular run. Architecture and training details affect actual compute.

Test loss measures how well a trained model predicts tokens in held-out text. The papers use cross-entropy loss: lower values mean better predictions on the specified test distribution. To see what a number means, imagine a hypothetical test loss falling from 2.0 to 1.9 nats per token on the same dataset. That would be an improvement on that measure. It would not, by itself, establish that the model writes better contract summaries or makes fewer spreadsheet errors. Those tasks need their own evaluations.

Finally, keep inference compute separate from training compute. Training occurs while the model’s parameters are being learned. Inference occurs each time someone sends a prompt and receives an answer. A training plan that uses compute efficiently can still produce a model that is expensive to serve. This distinction matters when a team cares about latency or cost per query rather than the cost of creating a model.

Read Kaplan et al. for the pattern

Kaplan et al. study how language-model loss changes as model size, dataset size, and training compute increase. Their central visual idea is a power law: over a measured range, a quantity changes in a fairly regular way as another quantity grows. On a log-log plot, a power-law relationship appears approximately straight.

A useful first pass is to ignore the fitted equations and inspect what each figure varies. Is the horizontal axis parameter count, training tokens, or compute? What is held roughly fixed? Is the vertical axis test loss? A line about increasing parameters does not mean that parameters alone explain every result.

On a second pass, read the scaling exponents. Kaplan et al. report fitted exponents of about 0.076 for model size, 0.095 for dataset size, and 0.050 for compute in their respective scaling relationships. These small numbers describe diminishing returns: multiplying a resource yields a smaller proportional change in loss. They are empirical fits within the paper’s setup, not constants that every future model must obey.

The practical question is how to spend a fixed training-compute budget. Kaplan et al.’s analysis favored increasing model size relatively quickly while increasing training data more slowly. Their reported compute-optimal trends are often summarized as parameter count growing approximately with compute to the power 0.73, and training tokens with compute to the power 0.27. Treat that as a result of the paper’s assumptions and experiments. It is not a general instruction to buy the largest model a budget allows.

Read Hoffmann et al. for the revised budget split

Hoffmann et al. ask a closely related question and reach a different compute-optimal recommendation. Their experiments suggest that, for their training setup, model parameters and training tokens should grow at roughly similar rates as training compute increases. The paper’s Chinchilla model illustrates the point: about 70 billion parameters trained on 1.4 trillion tokens, or roughly 20 training tokens per parameter.

That 20:1 parameter-to-token relationship is a useful way to remember the example, but it is not a universal target. Data quality, available data, model design, and the cost of serving the resulting model can change the decision. Repeating lower-quality text to reach a token count does not automatically reproduce the benefit of useful training data.

The papers disagree in a way a reader can investigate. They use different experimental ranges and approaches to fitting the relationship among parameters, tokens, compute, and loss. Hoffmann et al. directly test models trained on substantially more tokens relative to their size, which helps explain why their recommendation differs. When you encounter a claim that one paper “disproved” the other, look for the budget, data, model range, and objective behind the claim. Both papers report evidence about the systems they studied.

Neither paper guarantees performance on a specific work task. Cross-entropy loss can be a helpful research measure, but a vendor comparison also needs task evaluations, error rates, latency, context-window behavior, and total cost. For legal or financial work, a qualified person must check the model’s output.

Which book fills your gap?

Four books cover different parts of the route into these papers. The links lead to publisher pages; check the listed edition, format, availability, and current price before purchasing.

Product Key specs and focus stated in this guide
MIT Press Deep Learning Broad textbook by Ian Goodfellow, Yoshua Bengio, and Aaron Courville; covers mathematical foundations, optimization, and deep-learning methods.
MIT Press Understanding Deep Learning Textbook by Simon J. D. Prince; builds explanations of modern deep learning from mathematical and computational ideas.
O’Reilly Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, Third Edition Applied book by Aurélien Géron; works through machine-learning concepts and model-building with code.
Manning Grokking Deep Learning Introductory book by Andrew W. Trask; develops neural-network ideas through approachable code and explanations.

Choose Manning Grokking Deep Learning if the basic training process is missing. It can help you understand why parameters change, what an error measure does, and why more examples can help a model. You will still need a separate explanation of log-log plots and transformer language models before the papers feel comfortable.

Choose O’Reilly Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, Third Edition if code makes concepts clearer. Its applied route can make training, validation, and test data concrete. It is a broader machine-learning book, so reading it cover to cover is unnecessary for this task. Find the sections on learning curves, neural networks, and evaluation, then return to the papers.

Choose MIT Press Understanding Deep Learning if you can follow basic algebra but want a more systematic bridge to modern deep-learning concepts. It is a reasonable companion when equations, optimization, or transformer language models are the main obstacle.

Choose MIT Press Deep Learning if you want a substantial reference and are willing to work through mathematical notation. Its foundations can clarify probability, information theory, and optimization behind cross-entropy loss. It is the least direct purchase if your only goal is to understand two abstracts and their headline charts.

No book in this table removes the need to read the papers themselves. The purchase decision is about your missing prerequisite: training basics, code practice, modern theory, or a deeper mathematical reference. If logarithms alone are the sticking point, a short free mathematics primer may be more useful than another full book.

A reading sequence that keeps the work manageable

Step 1: Write down the question before opening a paper. For example: “At a fixed training-compute budget, should a model use more parameters or more training tokens?” That question gives you a reason to inspect each graph and keeps unfamiliar notation from taking over the reading session.

Step 2: Read both abstracts and conclusions. Record each paper’s recommendation in one sentence, along with what it tries to optimize. A good result at this stage is being able to say why a claim about training loss may not answer a question about inference cost.

Step 3: Make a four-term glossary. Define parameters, training tokens, FLOPs, and test loss in your own words. Put the units next to any numbers you copy. “70 billion parameters” and “1.4 trillion tokens” should never become interchangeable entries in a comparison.

Step 4: Read one log-log plot at a time. Check both axis labels and their scales. Equal distances on a logarithmic axis represent equal multipliers, not equal additions. Then identify the measured points and the fitted line. A good reading distinguishes what researchers observed from the curve they used to summarize it.

Step 5: Return to the fitted equations. In a power-law expression, the exponent tells you how rapidly the measured relationship changes. You do not need to derive every equation to understand the conclusion. You do need to know which resource varies and which loss the equation predicts.

Step 6: Compare the recommendations under one budget. Ask how each paper allocates additional training compute between parameters and tokens. Then ask whether the recommendation assumes you have enough useful data. More tokens drawn from poor or heavily repeated data may bring diminishing returns different from those suggested by a simple count.

Step 7: Check the decision you actually face. If you are buying an AI service, these papers explain part of a model’s development, not which subscription meets your requirements. Compare models on your own prompts with the same evaluation criteria. Record answer quality, latency, rate limits, and cost using each vendor’s current documentation.

Common mistakes to avoid

The first mistake is treating a parameter count as a quality score. A larger model can have more capacity, but its training data, training duration, and evaluation results matter. Hoffmann et al.’s central example is a reason to ask how many tokens a model processed, not merely how many parameters it has.

The second is reading a log-log plot as a normal linear plot. If the axis labels increase by factors of ten, a similar-looking step across the page represents a much larger numerical change each time. Check the ticks before describing a line as “a small increase.”

The third is treating test loss as the user’s outcome. Lower predictive loss on held-out text is meaningful evidence within an experiment. It does not directly measure whether a tool cites the right document, follows a prompt, or stays within a team’s latency target.

The fourth is repeating 20 tokens per parameter as a rule for every model. It summarizes a particular compute-optimal discussion. Data quality, diminishing returns, training objectives, and inference demand can alter the best choice.

A short hypothetical example

Imagine a team reading announcements for Model A and Model B. Model A lists a higher parameter count; Model B lists a smaller parameter count and more training tokens. The team should not declare either one better from those numbers. It can use the papers to form a sharper question: how much useful data did each model see for its training compute, and how does each perform on the team’s document questions?

The next step is a task evaluation using the same prompts, source documents, scoring method, and response-time measurement for both models. Scaling laws explain why the published training numbers are relevant. The task evaluation supplies the evidence for the buying decision.

FAQ

Do I need calculus to read these papers?

You can understand their main recommendations without deriving every equation. Basic comfort with exponents, logarithms, graphs, and the idea of minimizing a loss function helps. Use a book to fill the specific gap that stops you.

Is Chinchilla’s 20:1 ratio still the right target?

It is a memorable result from Hoffmann et al.’s analysis, not a standing specification for every training run. Check the model architecture, useful data supply, training budget, and expected inference demand before applying it.

Why does lower test loss matter if users care about answers?

Test loss gives researchers a consistent way to compare token prediction under defined conditions. A real purchase also calls for evaluations of the work the model will do, including errors, latency, and cost.

Which book should a complete beginner buy first?

Manning Grokking Deep Learning is the most direct starting point among these four for basic neural-network training ideas. If you already understand training but want to learn through code, consider O’Reilly Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, Third Edition. Check each publisher’s sample pages before buying.

Related Articles

Want help putting AI to work in your own business? See how offhaul.com plans and builds practical AI workflows.