Parameters

Parameters are the numbers inside an AI model, set during training, that decide how it turns input into output and that measure its size.

Underneath, a neural network is a very large collection of numbers. Each one controls how strongly one part of the network influences the next. Google's machine learning glossary defines parameters as the weights and biases a model learns during training, which is why people also call them model weights. Training nudges these numbers again and again until the model's outputs match its training data well. When training ends, the numbers are fixed, and they are the model.

Picture a mixing desk with billions of sliders. Nobody sets them by hand. Training moves each slider a fraction at a time, checking the result over and over, until the sound comes out right. Copy the slider positions and you have copied the model, which is why releasing or leaking weights is a big event in AI news.

Parameter count became the headline measure of model size. GPT-3, described by OpenAI researchers in 2020, had 175 billion parameters, ten times more than any earlier language model of its kind. Size has practical consequences. Stored at 16-bit precision, each parameter takes two bytes, so one billion parameters need about two gigabytes of memory. That is why the largest models run in data centres rather than on laptops, and why techniques such as quantization, which store each number with less precision, get so much attention.

More parameters do not guarantee a better model. In 2022 the InstructGPT study found that people preferred answers from a 1.3 billion parameter model trained with human feedback over answers from the 175 billion parameter GPT-3. Mixture-of-experts designs complicate the count further, because only part of the model runs for each token. Read a parameter count as a rough guide to running cost and capacity, not as a quality score.

Common questions

What does 7B or 70B mean in a model name?

It is the parameter count in billions. A 7B model has about seven billion parameters and a 70B model about seventy billion. As a rough guide, at 16-bit precision each billion parameters needs about two gigabytes of memory to run, so the number hints at the hardware required. For mixture-of-experts models, check whether the figure means total or active parameters.

What is the difference between parameters and hyperparameters?

Parameters are learned by the model during training. Hyperparameters are settings people choose before and during training, such as the learning rate, which controls how big each adjustment is. Google's glossary draws the line this way: the model finds its parameters, while you or a tuning service supply the hyperparameters.

Do more parameters make an AI model better?

Not on their own. More parameters give a model more capacity to learn, but the quality of its training data, how long it is trained and how it is fine-tuned matter as much. A smaller model tuned with human feedback has beaten a far larger one in human ratings. Bigger models also cost more to run.

Are model weights the same as parameters?

In everyday use, yes. Strictly, a network's parameters are its weights plus its biases, but in AI news model weights usually means the whole file of learned numbers. When a company releases a model's weights, anyone with the right hardware can run that model themselves.

Finding more

Search for "model parameters vs hyperparameters", "parameter count memory requirements" or "active parameters mixture of experts" to go deeper. The original research paper or model card for a model is the reliable source for its parameter count, and machine learning glossaries such as Google's explain the terms clearly. Treat parameter figures for closed models with care when they come from industry estimates rather than from the company that built the model, since those numbers are rarely confirmed.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.