Calculate optimal scaling: how parameters and training together account for the budget

A defined calculation budget, model parameters and training token together determines to what extent training can be achieved.

• Step by stepCollate in 1 diagram2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Explain the mechanisms and premises for calculating optimal scaling: how parameters and training together account for the budget
  • Positioning the mechanism ' s fault limits with fixed examples

Suggested first

  • Quantities and training token

Issues and mechanisms

A defined calculation budget, model parameters and training token together determines to what extent training can be achieved. (b) Increasing only the parameters while maintaining the same level of training, which may result in more capacity not being provided with adequate learning opportunities; Increased duplication of data does not necessarily lead to equally effective information. The scaling pattern uses a series of controlled experiments to align resources with losses and cannot be taken directly from the scope of the experiment as the law of all areas.

For some dense Transformer, the main available training operator is approximately six times the parameter N multiplied by the cumulative token D estimated level of magnitude. It ignores the costs of long attention, communications, optimization and hardware utilization. The size of the model also influences subsequent reasoning and storage, so that the best training is not necessarily equal to the best cost throughout the life cycle; The application plan should include a statement of the volume of services to be provided along with the request for delay.

A concrete example

The combined budget is six times ten for fifteen operations. If N is 100 million, then D is about 10 million; If N is 50 million, then D is about 20 million. The two points were located on the same proximate budget line, but the second win could not be asserted without verification of loss data. The correct process is to combine multiple small points, fixed data distribution with evaluation agreements, to retain new budgets for testing and to check for extrapolation.

Training available under the same budgetUnder the synthetic budget, 100 million parameters for 10 million token and 50 million for 20 million token; It's just the amount of training, not the quality.100 million parameters10 million token50 million parameters20 million token
Under the synthetic budget, 100 million parameters for 10 million token and 50 million for 20 million token; It's just the amount of training, not the quality.

Borders and checks

The unique amount of material must be separated from the cumulative amount of training, and multiple rounds of repetition will increase D without adding the same new information. Nor can experts simply replace the overall parameters with a dense estimation. The optimal allocation of resources may vary for small data, domain migration and post-training, and sources and assumptions should be reported to avoid packaging the historical configuration of a paper into a generic recommendation.

A method of verification

The scaling pattern should be developed to allow for model sizes or budget points that are not involved in the consolidation, and to examine forecast errors rather than report only the curves. Changes in data quality or repetition ratios would allow the same cumulative token to represent different training information, and data formulations should be recorded. If the follow-up reasoning is many, the small model training may save on total costs, but it still requires real service volume and quality constraints to judge that the best commercial configuration cannot be introduced separately from the training budget equivalent.

Check understanding

Six. ND. Can you translate directly into actual training seconds?

Can't. Equipment is also required for effective ingestion, memory and communication expenses, utilization and data waiting, and the theoretical accounting book is not a hardware timer.

On the same budget line, which model necessarily works best?

The resource equation alone cannot be judged. Data, optimization and evaluation are needed to support the results, and scaling-up is also explained under its scope of application and error.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. Training Compute-Optimal Large Language Models
  2. DataComp-LM

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.