liveBook · Manning

Input space

As explained in Deep Learning with R, Third Edition

An input space is the space of possible values that can be supplied as inputs to a model or mathematical function.

An input space is the set of possible values supplied to a model or mathematical function. A model generalizes reliably only across regions of this space represented by its training data; unfamiliar regions can make its input-to-output mapping unreliable. section 19.2.2

Sampling a rocket-landing problem

A model learning rocket launch parameters would need tens of thousands or millions of trials to densely sample the input space before learning a reliable mapping to landing parameters. A physical model can reach an exact solution with far fewer trials, illustrating the difference between interpolation and abstraction. section 19.2.2

Input space appears in both model behavior and model inspection:

  • Pet-image classifiers can handle unseen images when variation such as camera angle or lighting remains close to training examples. section 19.2.2
  • Basic data augmentation expands represented variation and can improve generalization across the learned input manifold. section 19.2.2
  • Gradient ascent can directly optimize an input image so a selected convolutional filter produces a stronger activation. section 10.2
Figure 19.6 Local generalization vs. extreme generalization
figure

Compare local generalization with extreme generalization through the supplied figure. section 19.2.2

How Deep Learning with R, Third Edition covers it

How deep it goes
Explains manifolds, interpolation, sampling density, and input optimization, but does not derive their mathematics.
Examples
Uses pet images, rocket launches, city navigation, and optimized images that activate convolutional filters.
What you can do after
Evaluate/understand when model predictions are supported by training coverage and inspect filter preferences through optimized inputs.
How it connects
Connects input space to local generalization, extreme generalization, manifolds, data augmentation, output space, and gradient ascent.

Also explained in

Compare how 2 books explain input space →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Deep Learning with R, Third Edition. The section links point to the parts of the book it draws on.