Learning Discriminative Piecewise Linear Models with Boundary Points

Kun Gai, Changshui Zhang

Abstract

This paper presents a novel framework for constructing discriminative piecewise linear classification models. By sampling "boundary points" that represent the decision surface and employing a Dirichlet Process Mixture (DPM) for linearization, the approach automatically adapts model complexity to the data's geometry. This method avoids the manual hyperparameter tuning typical of Support Vector Machines (SVMs) while maintaining a discriminative focus, leading to improved accuracy and model sparsity on various benchmarks.

Introduction

Achieving the optimal balance of model complexity is a central challenge in machine learning. Overly simple models suffer from under-fitting, while excessively complex ones over-fit. Traditional discriminative models like SVMs often require manual tuning of kernel parameters (such as the RBF kernel's $\gamma$) to find this "goldilocks zone." Conversely, Bayesian non-parametric methods like Dirichlet Process Mixtures (DPM) can automatically determine complexity but are typically generative, expending computational resources on modeling the entire data distribution $P(x)$ rather than just the decision boundary $P(y|x)$.

This work introduces the Discriminative Piecewise Linear Model (DPLM), which combines the automatic complexity scaling of DPMs with a strictly discriminative focus on the decision boundary.

Methodology

1. Sampling Boundary Points

The first step involves identifying a non-parametric representation of the decision surface. The algorithm identifies "support point pairs"—comprising a positive instance and its nearest neighbor from the opposite class. For each pair, a "boundary point" ($e_i$) is calculated as the midpoint, accompanied by a "normal vector" pointing from the negative to the positive instance.

Geometry of sampling boundary points between positive and negative instances.

This set of boundary points effectively captures the essential geometry required to separate the classes without needing to model the interior of the class clusters, which does not affect the classification outcome.

2. Piecewise Linearization via DPM

To enhance generalization and simplify the boundary, a DPM model is applied to cluster these boundary points into linear segments. Unlike standard DPMs that cluster data points, this model clusters the boundary points themselves. Each cluster represents a local linear plane. The Bayesian inference process automatically determines the necessary number of planes based on the data's geometry. The model employs a specific Gaussian form where variance is minimized in the direction of the plane's normal vector, ensuring that points within a cluster adhere closely to a flat surface.

Experimental Evaluation

The DPLM was evaluated on synthetic datasets (e.g., "S-shaped" and "M-shaped" data) and real-world benchmarks from the UCI Repository, including Iris, Australian credit, and Diabetes datasets.

The complete pipeline showing (a) binary data, (b) edge points, (c) boundary points, and (d) the final discriminative property on an M-shaped dataset.

Key Results

  • Superior Accuracy: DPLM consistently outperformed SVMs with RBF kernels. Notably, on the Iris dataset, DPLM achieved 98.89% accuracy compared to 92.96% for SVM.
  • Automatic Complexity Scaling: On synthetic tests like the horseshoe-shaped data, the DPLM automatically identified that 6 linear segments were optimal for the decision boundary, demonstrating its ability to scale complexity without manual intervention.
  • Model Sparsity: DPLM requires significantly fewer points to define the decision surface than an SVM uses support vectors. In the Heart dataset, while SVM used 96.67% of the data as support vectors, DPLM required only 69.63% as boundary points.
  • Efficiency: The reduced number of defining points leads to faster inference times during prediction.

Discussion and Conclusion

The DPLM offers a powerful alternative to traditional kernel-based methods by focusing exclusively on the decision boundary. By modeling only the boundary points, it avoids the "distraction" of internal class structures. Furthermore, the use of a Dirichlet Process prior allows the model to scale its complexity automatically based on the data.

While the $O(n^2)$ complexity of initial sampling and sensitivity to nearest neighbors in high-dimensional spaces are areas for future improvement, this approach provides a robust bridge between generative and discriminative modeling paradigms.

Summary updated

BibTeX
@inproceedings{gai2010learning,
  author = {Kun Gai and Changshui Zhang},
  title = {{Learning Discriminative Piecewise Linear Models with Boundary Points}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2010},
  doi = {10.1609/aaai.v24i1.7660},
}
Figure