Active Learning of Deep Neural Networks via Gradient-Free Cutting Planes

Erica Zhang, Fangzhao Zhang, Mert Pilanci

TL;DR

This paper introduces the first deep active learning framework with theoretical convergence guarantees by bridging deep neural networks with classic cutting-plane optimization methods. By reframing non-convex ReLU network training as a linear program, the authors develop a gradient-free training scheme that achieves a geometric contraction rate of the parameter search space.

What Problem Does This Paper Address?

Modern deep learning relies almost entirely on gradient-based optimization (like SGD, Adam, and AdamW). While highly successful, these methods suffer from significant hyperparameter sensitivity (e.g., learning rates, batch sizes) and slow convergence. Crucially, in the context of Active Learning (AL)—where an algorithm strategically selects which unlabeled data points to label next—gradient-based methods lack solid theoretical convergence guarantees.

Conversely, classic cutting-plane methods from the 1950s offer exceptionally fast, guaranteed convergence rates by iteratively slicing away invalid regions of a convex search space. However, because deep neural networks are notoriously non-convex and feature highly nonlinear decision boundaries, cutting-plane methods have historically been restricted to simple linear models. This paper tackles the challenge of extending cutting-plane algorithms to deep neural networks of arbitrary depth.

Methods

The core breakthrough of this paper is the realization that training a rectified linear unit (ReLU) neural network can be reframed as an exact linear programming (LP) problem.

The authors achieve this by utilizing activation patterns (or hyperplane arrangements). For any given dataset, a ReLU layer can only produce a finite number of binary on/off states. By enumerating or sampling these activation patterns, the non-convex training problem becomes a convex, piecewise-linear problem.

Instead of computing gradients, the proposed Cutting-Plane Active Learning (CPAL) framework works as follows:

  1. It maintains a convex "version space" of feasible network weights.
  2. It identifies the analytic center of this space to determine the current model parameters.
  3. It queries the data point that is closest to the current decision boundary (minimal margin).
  4. If the model misclassifies the queried point, it adds a new linear constraint (a "cut"), slicing away the portion of the parameter space that caused the error.
Figure 1. Illustration of a single iteration of general cutting-plane method (Boyd & Vandenberghe, 2007).

The authors introduce three variations of this setup: query synthesis, limited queries, and a robust version that handles inexact cuts.

Datasets

The authors evaluated their approach on three distinct benchmarks:

  • Synthetic Spiral Dataset: A classic, highly non-linear binary classification task consisting of two intertwined spirals (100 data points).
  • Synthetic Quadratic Regression Dataset: A continuous target task generated from the equation $y = x^2$.
  • IMDB Movie Review Dataset: A real-world sentiment classification dataset (50k reviews). The authors extracted high-dimensional feature vectors using Microsoft's Phi-2 LLM embeddings ($d = 2560$).

Key Insights and Ideas

  • Non-Convex to Convex: The paper proves that despite the non-linear nature of deep networks, the optimization landscape can be perfectly flattened into a linear program by accounting for all valid activation patterns.
  • Geometric Convergence Guarantees: Because the problem is mapped to a convex space, the active learning scheme inherits the theoretical guarantees of classic optimization. Slicing through the center of gravity guarantees a volume reduction of the parameter space by approximately 63% per active cut.
  • Perfect Memory: Unlike gradient descent, which can suffer from catastrophic forgetting or oscillate around local minima, the cutting-plane method inherently guarantees correct classification for all previously encountered data points throughout the training process.

Key Results

The proposed method significantly outperformed popular deep active learning baselines (such as Entropy Sampling, BALD, Least Confidence, and Query by Committee):

  • Synthetic Spiral: The cutting-plane method achieved 1.00 train and test accuracy within a strict budget of 20 queries, precisely tracing the complex spiral shape where baseline deep AL methods struggled or required thousands of epochs to converge.
Figure 2. Decision boundaries for binary classification on the spiral dataset for the cutting-plane AL method using a two-layer ReLU neural network, alongside various deep AL baselines. For compactness, we also include the decision boundaries for the cutting-plane AL method with a three-layer ReLU network in the collage to demonstrate its feasibility. For fairness of comparison, we use the same two-layer ReLU network structure and embedding size of 623 for all methods. We enforce the same hyperparameters for all deep AL baselines and select the best performing number of training epochs at 2000 and a learning rate at 0.001 to ensure optimal performance. See Appendix H.3 for details.
  • Quadratic Regression: CPAL achieved the lowest Root Mean Square Error (0.01 train/test RMSE), reducing prediction errors by over 75% compared to the next best deep AL baseline.
  • Real-World Sentiment Analysis (IMDB): When paired with Phi-2 embeddings, the cutting-plane method achieved higher classification accuracy with a minimal query budget (as few as 15 points) compared to standard Stochastic Gradient Descent (SGD).

Limitations and Future Work

While mathematically elegant, the current implementation faces practical bottlenecks:

  1. Combinatorial Explosion: The number of possible activation patterns grows rapidly with data size and dimensionality. The current approach relies on heuristic subsampling, which may miss critical patterns in massive datasets.
  2. Compute Constraints: Finding the analytic center currently relies on CPU-bound convex solvers (like CVXPY and MOSEK). To scale up to modern deep learning scales, future work must focus on developing center-finding algorithms that leverage GPU parallelism.
  3. Loss Function Variety: The framework is currently tailored to standard classification and regression boundaries; extending it to handle more complex loss functions like cross-entropy remains an open challenge.

Summary updated

Abstract

Active learning methods aim to improve sample complexity in machine learning. In this work, we investigate an active learning scheme via a novel gradient-free cutting-plane training method for ReLU networks of arbitrary depth and develop a convergence theory. We demonstrate, for the first time, that cutting-plane algorithms, traditionally used in linear models, can be extended to deep neural networks despite their nonconvexity and nonlinear decision boundaries. Moreover, this training method induces the first deep active learning scheme known to achieve convergence guarantees, revealing a geometric contraction rate of the feasible set. We exemplify the effectiveness of our proposed active learning method against popular deep active learning baselines via both synthetic data experiments and sentimental classification task on real datasets.
BibTeX
@inproceedings{zhang2025active,
  author = {Erica Zhang and Fangzhao Zhang and Mert Pilanci},
  title = {{Active Learning of Deep Neural Networks via Gradient-Free Cutting Planes}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=vZhdXRnfPU},
}
Figure