ElemedexA pocket encyclopedia of AI architectures

Glossary (TM) › Architectural parts

TM080

Decision boundary

Also: decision surface, separating hyperplane

In Spanish: Frontera de decisión

The line, surface or hyperplane in feature space where a classifier's prediction switches from one class to another.

If each example is a point in a space of features, a classifier divides that space into regions, one per class. The decision boundary is the border between them (Witten et al., 2017, p. 69). For a linear model it is a hyperplane: w·x + b = 0. Witten and colleagues give an example with iris flowers, where a straight line separates setosa from versicolor by petal length and width: 2.0 − 0.5·LENGTH − 0.8·WIDTH = 0 (2017, pp. 69–70).

Each species draws different boundaries.

Overfitting. A boundary that is too flexible contorts itself to enclose every training example and generalizes badly (Witten et al., 2017, p. 255); hence Chollet (2021) insists that the data should densely cover the region near the boundaries (2021, sec. 5.1.2).

A philosophical angle. Buckner (2024) describes category learning as the search for transformations that separate each category's region enough for a linear boundary to be drawn between them, like brushing tangled hair until a comb can pass through (2024, pp. 115, 118). The image connects with old debates about concepts: trees recall definitions by necessary and sufficient conditions; kNN, prototype and exemplar theories. And it raises a problem of vagueness in reverse: the boundary is always sharp, even when the category is not; output probabilities are the only trace of gradedness.

Sources

  • Buckner, C. J. (2024). From deep learning to rational machines: What the history of philosophy can teach us about the future of artificial intelligence. Oxford University Press. https://doi.org/10.1093/oso/9780197653302.001.0001 §
  • Chollet, F. (2021). Deep learning with Python (2nd ed.). Manning Publications. §
  • Minsky, M., & Papert, S. (1969). Perceptrons: An introduction to computational geometry. MIT Press. §
  • Witten, I. H., Frank, E., Hall, M. A., & Pal, C. J. (2017). Data mining: Practical machine learning tools and techniques (4th ed.). Morgan Kaufmann. https://doi.org/10.1016/C2015-0-02071-8 §