Back to the 2025 paper

Unit 1: Introduction

20257m

Write short note on: Hypothesis Space and Inductive Bias

Worked SolutionAI Assisted

Hypothesis Space and Inductive Bias:

Hypothesis Space HH: Set of all hypotheses learner can potentially output. Defines representational capacity.

  • Example Boolean nn attributes: ∣H∣=22n|H|=2^{2^n} all functions, but conjunctive class HcH_c size 3n3^n (each attribute +/−/don't care).
  • For linear models: H={wTx+b:w∈Rd,b∈R}H=\{w^T x + b : w\in\mathbb{R}^d, b\in\mathbb{R}\}.
  • Larger HH → higher variance, needs more data, may overfit; smaller HH → may underfit if true concept outside HH.

Inductive Bias: Assumptions learner uses to generalize beyond training data and prefer one consistent hypothesis over others. Without bias, no generalization.

Mitchell: "any basis for choosing one generalization over another, other than strict consistency with observed training instances."

Types:

  • Restriction bias: Restrict HH (e.g., only linear separators) — strong, excludes some concepts.
  • Preference bias: Order search (e.g., Occam's razor — prefer simpler hypothesis, shorter decision tree, smaller ∣∣w∣∣||w||, regularization). HH contains all but search prefers simpler.

Example: Candidate Elimination with conjunctions: bias = target is conjunction → cannot learn X∨YX\lor Y. Decision Tree preference for shorter trees with high information gain.

Why needed: No bias → all hypotheses consistent with data equally valid, learner cannot classify unseen instance (No Free Lunch). Bias enables generalization but if wrong → inductive bias mismatch causes error.

Relation: Hypothesis space + bias determine learnability; PAC bounds show sample complexity m∝log⁡∣H∣m\propto \log|H| or VC(H)VC(H). Good bias (e.g., smoothness for images) reduces sample needs.

Similar questions

AI LearningWeb Platform

Coursify — Personal AI Course Generator

Struggling with a difficult subject or concept? Turn any engineering topic into a structured course with interactive lessons, quizzes, and research-backed explanations.