All Glossary Terms

Overfitting

Overfitting occurs when a model learns training data noise instead of general patterns, leading to high accuracy on known samples but poor performance on production data.

Listen to this definition

Uses a voice available on your device

Audio options
On this page 5 sections
Related concepts 5 concepts

What it is

During model training, the algorithm minimizes the error between its predictions and the actual labels provided in a training set. If the training duration is too long or the model capacity is too high, the system memorizes idiosyncratic features of the training set. This effectively makes the model a massive, brittle lookup table for those specific inputs. A model that has overfit usually shows near 100 percent accuracy on its training data while failing to generalize to real-world edge cases.

Why it matters

If you are fine-tuning a model on your own dataset, ignoring overfitting results in a model that fails to handle natural input variations. You will observe high success rates during testing, but the model will return erratic or nonsensical responses when exposed to diverse production traffic. This wastes compute resources on a production deployment that produces unreliable outputs and increases the maintenance burden of your LLM-powered features.

In practice

You detect this by comparing performance on your training data versus a held-out set; if the training loss drops while the validation loss rises, you are overfitting. To fix this, you reduce the number of training epochs, decrease the rank of your LoRA adapters, or increase the diversity and volume of your training dataset.

The tradeoff

The core tradeoff is between fitting the training data perfectly and maintaining the ability to generalize to new, unseen requests.

Where it appears

Research summaries that use Overfitting, each linked to its source paper.

  • Improving Translation Accuracy and Cultural Awareness
    Cultivar: A Contrastive and Locale-Oriented Translation Benchmark for Investigating Contamination and Localisation Robustness

    The paper introduces Cultivar, a new evaluation framework that detects data contamination and measures how well translation models handle locale-specific cultural nuances.

  • Classifying Millions of Images with Deep Networks
    ImageNet Classification with Deep Convolutional Neural Networks

    The paper uses a large, deep convolutional neural network to classify 1.2 million high-resolution images into 1000 different classes.

  • Xiaomi-Robotics-1: Scaling Robot Action Models
    Xiaomi-Robotics-1: Scaling Vision-Language-Action Models with over 100K Hours of Real-World Trajectories

    Xiaomi-Robotics-1 introduces a large-scale vision-language-action model and a scalable auto-labeling pipeline to overcome data bottlenecks in robotics, achieving strong performance on robot benchmarks.