AI GLOSSARY · AI CONCEPTS

Underfitting

Markdown version · Wikidata Q109457078

Definition

Underfitting is inadequate capture of a task’s relevant patterns, often reflected in poor training fit. Limited capacity, unsuitable features, excessive regularization or insufficient optimization can contribute; poor scores alone do not identify the cause.

Also called: underfit, underfit model, underfitting machine learning, underfitted model, model too simple.

In plain language

Trying to describe a winding relationship with an unsuitable straight-line model can miss its pattern even on training examples. This is one underfitting scenario. Insufficient training or strong constraints can also limit fit. Compare training and held-out results and inspect features, targets and optimization before choosing a remedy; extra complexity or longer training is not automatically the right fix.

Technical definition

IBM describes an underfit model as one unable to capture the relationship between the input and output variables, giving high error on training data and on unseen data, and says high bias and low variance are good indicators. IBM lists causes including a model that is too simple, a model needing more training time, more input features or less regularization, and stopping training too soon, and remedies including less regularization, longer training and better features. The scikit-learn example fits a degree-1 polynomial to samples from a cosine and calls the failure to fit the training samples underfitting.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Skill by Skill Almanac · Illustrative, not executed

    data-analysis-eda 56/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A fixed exploratory-analysis procedure and CSV profiler that keeps findings descriptive, evidenced and caveated.
    Why it exercises the concept
    Inspecting features and data quality can help investigate poor fit. This linked profiling skill does not train a model or diagnose underfitting by itself.
  2. Skill by Skill Almanac · Illustrative, not executed

    split-leakage-check 53/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    The skill checks train, validation and test files for duplicates, shared groups, time and label leakage, and prints JSON.
    Why it exercises the concept
    This linked skill checks split contamination. Training and held-out results can help investigate fit, but do not by themselves identify its cause.
  3. Skill by Skill Almanac · Illustrative, not executed

    llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    The skill builds and validates an eval dataset for any LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.
    Why it exercises the concept
    This linked skill helps define evaluation cases. It does not train a model or determine whether a weak result is caused by capacity, optimization or data quality.

How it shows up when you use agents

Underfitting can arise when an agent builds a model for you, for example a linear fit on a spreadsheet, and the predictions are poor even on the data it was fitted to. It also appears in a fine-tuning or small-model project where the training results do not improve.

What breaks when this is misunderstood is the next step. If a model is poor on its training data, more test data alone does not improve its fitted parameters, and stronger regularization may worsen an already constrained fit. The IBM article points the other way: more complexity, better features, less regularization or longer training. If the model is poor only on new data, the problem is different.

A practical next step is to ask the agent to report error on the training set and on a held-out set side by side, and to confirm the held-out set is clean. See Machine learning and Supervised learning for the setting where this applies.

Worked example (illustrative)

Use the three points (−1,1),(0,0),(1,1). Their best least-squares straight line is the constant 2/3, with mean squared error 2/9. Adding the feature x² allows the hand-specified model y=x² to fit all three exactly. This toy calculation shows a representation limit; it does not establish generalization or imply that greater complexity always helps.

Common confusions

  • Underfitting versus overfitting. An underfit model inadequately captures the relevant relationship; simplicity is one possible cause. An overfit model matches its training data too closely and errs on new data.
  • Underfitting versus a bad dataset. Weak results can come from noisy labels or missing features rather than from model simplicity. Check the data before changing the model.
  • High bias versus high variance. IBM names high bias and low variance as indicators of underfitting. They are signs, not a separate fix.
  • Myth. Training for longer fixes it. IBM lists longer training as one remedy, but the scikit-learn example shows a degree-1 polynomial failing on a cosine-shaped pattern because the model form is too simple.

Terms that mention Underfitting

3 terms mention this one

More in AI concepts

Next steps

  1. data-analysis-eda A skill that exercises it.
  2. Overfitting Related term.
  3. Machine learning (ML) Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude (original draft) and Codex (automated revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-24. Last verified .

Change log (7)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : First version.
  • : Verifier pass: quoted IBM causes as the page states them.
  • : Learning-method scope and counterexample corrections; independent exact-version review pending.
  • : Aligned related-tool explanations with scoped definitions; no blanket claims about the full catalog.
  • : Removed unsupported agent-user prevalence claim; retained the conditional model-building scenario. Independent recheck pending.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.