What is inductive bias in machine learning, and why is it necessary for generalisation?

Foundations, Inductive bias
Level L1 Beginner. Length One-liner. Nature Th Theoretical.

What's being asked

Whether you know why learning from finite examples is impossible without assumptions that go beyond the observed training points.

Key idea

Inductive bias is the set of assumptions a learning algorithm uses to choose one hypothesis over others and predict labels for unseen inputs; without it, every completion of the training table is equally valid and generalisation is impossible.

Steps

  1. Define inductive bias: any built-in preference or constraint (such as linearity, smoothness, or favouring shorter decision trees) that guides a learner beyond strict logical deduction from the training data.
  2. Explain why it is required: finitely many training points are consistent with vastly many different functions that agree on the training set but disagree arbitrarily on unseen inputs x.
  3. Give one quick example: linear regression assumes an affine relationship y≈w⊤x+b (with weight vector w and intercept b), while k-nearest neighbours assumes nearby points in input space share similar labels.

Common mistakes

How long your answer should be

One crisp sentence, plus one example if asked.

Last checked on 4 December 2026.

Read this

Previous in Foundations: When would you use online learning instead of batch (offline) learning, and what is the main trade-off?
Next in Foundations: What are the three mechanisms of missing data — MCAR (Missing Completely At Random), MAR (Missing At Random) and MNAR (Missing Not At Random) — and what is an everyday example of each?