Active Learning for Single Neuron Models with Lipschitz Non-Linearities

Aarshvi Gajjar, Christopher Musco, Chinmay Hegde

Abstract

We consider the problem of active learning for single neuron models, also known as “ridge functions,” in the agnostic setting under adversarial label noise. These models are widely used for modeling physical phenomena and constructing surrogate data-driven models for partial differential equations (PDEs). We demonstrate that for single neuron models with any Lipschitz non-linearity (e.g., ReLU, sigmoid, absolute value), strong provable approximation guarantees can be obtained using statistical leverage score sampling—a strategy typically reserved for linear functions. Our theoretical results are supported by empirical simulations showing that leverage score sampling significantly outperforms uniform sampling in fitting these non-linear models.

Introduction

In computational science, approximating complex physical phenomena, such as the Quantity of Interest (QoI) of a PDE, is often prohibitively expensive. Running a full simulation for a single data point $(x, y)$ requires significant computational resources, creating a strong incentive for active learning strategies that select the most informative queries $x$.

A common architecture for these surrogate models is the "single neuron" or "ridge function" model, defined as $g(x) = f(\langle w, x \rangle)$, where $w$ is a weight vector and $f$ is a non-linear activation function. While active learning is well-understood for linear models in the agnostic setting (where the target function may not perfectly match the model and data may contain noise), extending these guarantees to non-linear single neuron models has been an open challenge.

Methodology: Leverage Score Sampling for Non-Linearities

The core contribution of this work is the application of Statistical Leverage Score Sampling to non-linear problems. Traditionally used in linear regression, a leverage score measures the importance of a specific data point relative to the overall column span of a design matrix $X$.

The proposed algorithm follows three main steps:

  1. Compute Linear Leverage Scores: Calculate standard linear leverage scores for all potential query points in the design matrix $X$.
  2. Subsample and Query: Sample $m$ points based on these scores and query their values (e.g., via a PDE solver).
  3. Weighted Optimization: Solve a reweighted empirical risk minimization problem to find the optimal weights $w$.

To ensure theoretical convergence in the agnostic setting, the authors incorporate a norm-constrained regularization step during optimization, preventing weight instability when fitting the non-linearity.

Experimental Setup

The method was evaluated on both synthetic and physics-driven datasets, including inputs drawn from Gaussian and Uniform distributions fitted to a ReLU non-linearity, and several PDE/ODE test problems:

  • Damped Harmonic Oscillator: A 2nd-order ODE predicting maximum displacement.
  • 1D Heat Equation: A PDE predicting maximum temperature over a time/frequency grid.
  • Steady Viscous Burger's Equation: A PDE predicting the sign-change point of the solution.

Key Results and Empirical Performance

The theoretical analysis shows that $m = \tilde{O}(d^2 / \epsilon^4)$ samples are sufficient to achieve a weight vector $\hat{w}$ with performance near the optimal weights, subject to a small additive error term necessitated by the agnostic setting.

Empirically, leverage score sampling consistently outperforms uniform sampling across all test cases. As shown in the relative error plots below, leverage score sampling reduces error much more rapidly than uniform sampling, often achieving significantly lower relative error for the same sample budget.

Relative error comparison across three different PDE/ODE test problems showing the efficiency of leverage score sampling.

Furthermore, the qualitative impact on surrogate model quality is significant. In the case of the 1D Heat Equation, the approximation generated from leverage score samples captures the underlying physics much more accurately than the one generated from an equal number of uniform samples.

Comparison of surrogate model approximations for the 1D Heat Equation. Leverage score sampling (right) provides a much closer fit to the true physics than uniform sampling (left).

Insights and Conclusion

A surprising takeaway is that complex, adaptive non-linear sampling schemes are not required for single neuron models; the linear geometry of the input space captured by leverage scores is sufficient. Leverage scores naturally favor boundary points, which proves highly beneficial for fitting non-linearities, similar to their role in polynomial fitting.

While the current theoretical bounds scale with $d^2$, future work aims to tighten this to a near-linear dependence on $d$ and extend the framework to multi-index models (multi-neuron networks) and scenarios where the non-linearity $f$ is unknown.

Summary updated

BibTeX
@inproceedings{gajjar2023active,
  author = {Aarshvi Gajjar and Christopher Musco and Chinmay Hegde},
  title = {{Active Learning for Single Neuron Models with Lipschitz Non-Linearities}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2023},
  url = {https://openreview.net/forum?id=w7jhPsqi9X},
}
Figure