Concepts / Training Data Requirements for Model Performance

Training Data Requirements for Model Performance

A larger model is usually paired with more training data, because the goal is to maximize its performance rather than to match a smaller model on the same data.

  • Programming

The Intuition That Bigger Models Need Less Data

When you first learn that large language models are more capable than small ones, a natural guess follows: a more capable model should be able to learn from fewer examples. If the model is smarter, surely it needs less help from labeled data. The belief feels reasonable, and it quietly shapes how many people estimate the cost of building an AI application. It is also wrong in the way that matters most for budgeting.

In this article you will trace what happens to the data requirement as a model grows, then trace how the price of labeling is built up from its parts, and finally check your own budget arithmetic. Keep one question in mind throughout: what is the quantity you are actually measuring?

What the Comparison Actually Measures

The key to the puzzle is what the comparison is measuring. One way to test a large model is to give it the same data a small model received and ask whether it does as well. That question is not the one builders usually care about. A builder wants the strongest performance the application can reach, so the relevant question is how much data the large model needs to reach its own best performance.

Seen this way, the answer changes. A large model has more capacity to absorb patterns, and feeding it only the small dataset leaves much of that capacity unused. Scaling up the model is therefore usually paired with scaling up the training data, so that the bigger model has enough examples to make use of its extra size.

Model capacityModestModel capacityHighData neededA smaller datasetData neededA much larger dataset
The learner question: how does a larger model's appetite for data differ from a smaller model's? The large model has more capacity, so it can use a much larger dataset to reach its best performance.

Tracing the Cost of a Labeled Dataset

Labeling data is a service with a price, and that price is not fixed across projects. The actual cost of labeling depends on three main factors. The first is the complexity of the task: how difficult it is for a labeler to make each judgment. The second is the scale of the dataset, since larger datasets typically come with a lower cost per sample. The third is the labeling service provider you choose, because providers set their own prices.

Notice that scale behaves differently from the other two factors. Complexity and provider choice change the price you pay for each sample. Scale tends to push the per-sample price down, but it also means you are buying more samples in total. Per-sample price and total budget are separate quantities, and a good estimate tracks both.

Task complexityHow hard each judgment isPrice per sampleQuoted per imageTotal labeling budgetPrice times samplesDataset scaleNumber of samplesLabeling providerSets its own pricesraisessetslowersmore samples raisemultiplied into
The learner question: which factors feed into the final labeling cost, and how do they relate? Complexity and provider set the per-sample price; scale lowers that price but raises the number of samples, and price times samples gives the total budget.

Volume Pricing in Practice

Amazon SageMaker Ground Truth offers a concrete illustration of volume pricing. As of September 2024, it charged 8 cents per image for labeling fewer than 50,000 images, and only 2 cents per image for labeling more than 1 million images. The price per image drops by a factor of four as the project grows from the smaller tier to the larger one.

Calculating Total and Per-Sample Cost

Quoted per-sample prices must be multiplied by the number of samples, and the price tier a project falls into matters. The two quantities are linked by two simple relationships. The total cost is the price per sample multiplied by the number of samples, and the per-sample cost is the total divided by the number of samples.

Rule

Here C_total is the total labeling cost, p is the price per sample, and N is the number of samples. Read the second form as a check: dividing a total by the number of samples recovers the per-sample price you were quoted.

Worked example

Comparing a small project and a large project

Using the illustrative tier prices of 8 cents per image for under 50,000 images and 2 cents per image for over 1 million images, compare two projects: one labels 40,000 images and the other labels 1,200,000 images. Find the total cost and the per-sample cost of each.

  1. 1
    Identify the tier of the small project

    40,000 images is fewer than 50,000, so the small project falls in the 8 cents tier, meaning p = 0.08 USD per image.

  2. 2
    Compute the small project total

    C_total = 0.08 times 40,000 = 3,200 USD. Its per-sample cost is 3,200 divided by 40,000, which is 0.08 USD.

  3. 3
    Identify the tier of the large project

    1,200,000 images is more than 1 million, so the large project falls in the 2 cents tier, meaning p = 0.02 USD per image.

  4. 4
    Compute the large project total

    C_total = 0.02 times 1,200,000 = 24,000 USD. Its per-sample cost is 24,000 divided by 1,200,000, which is 0.02 USD.

  5. 5
    Compare the two

    The large project costs about 7.5 times as much in total, yet each image costs a quarter as much. Per-sample price fell while total budget rose.

Result

The small project costs 3,200 USD in total at 0.08 USD per sample. The large project costs 24,000 USD in total at 0.02 USD per sample. A lower per-sample price does not mean a smaller budget.

Predicting the Total Before Calculating

What do you think happens?

Before doing any arithmetic: when the project grows from 40,000 images to 1,200,000 images, does the total labeling bill go up or down?

  • It goes up

  • It goes down

  • It stays the same

Reveal answer
Answer:

It goes up, from 3,200 USD to 24,000 USD.

The per-image price drops from 8 cents to 2 cents, but the number of images grows by a factor of 30. Since 0.25 times 30 is 7.5, the total rises even though each sample is cheaper.

Budgeting Mistakes That Undercount the Data

The errors below come from treating the data requirement and the labeling price as simple, fixed numbers. Each one is easy to make when a plan is first sketched.

  • Common mistake

    Assuming a more powerful model needs fewer labeled examples

    What it looks like

    A team reasons that a larger model is smarter, so it can get by with the 40,000 images the small prototype used.

    Why it fails

    A larger model has more capacity, and feeding it only the small dataset leaves much of that capacity unused. Builders care about the best performance reachable, not how the large model does on the small model's data.

    Do this instead

    Plan the data for the model size you intend to deploy, and budget for the larger dataset it can use well.

  • Common mistake

    Multiplying the total by the small-tier price

    What it looks like

    A team plans 1,200,000 images at the 8 cents tier and budgets 96,000 USD.

    Why it fails

    Quoted prices depend on the tier a project falls into. At 1,200,000 images the project is in the 2 cents tier.

    Do this instead

    Find the tier the full project lands in, then multiply that tier's price by the total number of samples.

  • Common mistake

    Watching only the per-sample price

    What it looks like

    A team sees that the per-image price fell and concludes the project got cheaper.

    Why it fails

    Per-sample price and total budget are separate quantities. Scale lowers the first and raises the second.

    Do this instead

    Track both the per-sample price and the total budget in every estimate.

  • Common mistake

    Ignoring the labeling provider and task complexity

    What it looks like

    A team uses a quote from one provider for a harder labeling task without checking.

    Why it fails

    Complexity and provider choice both change the price you pay for each sample, and providers set their own prices.

    Do this instead

    Get quotes for your specific task from the provider you intend to use.

  • Common mistake

    Treating a quoted price as permanent

    What it looks like

    A team copies a price from an old document into a multi-month plan.

    Why it fails

    Prices change over time. The 8 cents and 2 cents figures are a snapshot of one provider at one date.

    Do this instead

    Confirm current pricing before committing, and keep a margin for price changes.

Quantity countedBudgeting errorCorrect labeling plan
SamplesUses the small dataset for a large modelSizes the dataset to the model's capacity
PriceApplies the tier of a smaller projectApplies the tier the full project falls into
CostReads a falling per-sample price as a falling budgetMultiplies per-sample price by total samples
Source of priceUses one provider's old quoteUses a current quote for the chosen provider and task

The same quantities counted correctly and incorrectly

Checking Your Own Labeling Budget

MEDIUM

A project needs 60,000 labeled images. Using the illustrative tier prices of 8 cents per image for fewer than 50,000 images and 2 cents per image for more than 1 million images, first decide which tier the project falls into and whether that tier is the right one to use, then compute the total labeling cost and the per-sample cost.

Hints
  • Compare 60,000 against the 50,000 and 1 million thresholds before choosing a price.
  • The per-sample cost should come out equal to the per-image price of the tier you used.
  • Consider whether a project of 60,000 images is in the middle of the tiers, and what the source pack does and does not say about middle-sized projects.

Key Takeaways

  • A larger model is usually paired with more training data, because the goal is to maximize its performance rather than to match a smaller model on the same data.
  • Labeling cost depends on task complexity, dataset scale, and the labeling service provider; scale lowers the per-sample price while raising the total budget.
  • Total cost equals the per-sample price times the number of samples, and the price tier a project falls into determines which per-sample price applies.
  • Common budgeting errors include assuming bigger models need less data, applying the wrong tier, tracking only the per-sample price, and treating quoted prices as permanent.

Related concepts

More concepts starting with T