Abstract
Active learning aims to select the most informative data points to minimize the cost of model training. However, the computational cost of updating models and calculating mutual information often makes real-time application impossible in high-dimensional spaces. This paper introduces an efficient algorithm for Generalized Linear Models (GLMs) that leverages Laplace approximations and rank-one updates to reduce the search for optimal inputs to a tractable 2-D optimization problem. The resulting $O(n^2)$ complexity allows for near real-time optimal experimental design, requiring significantly fewer samples than random sampling to achieve high estimation accuracy.
Introduction
In fields such as experimental neuroscience or geophysics, collecting labeled data is often the primary bottleneck. Active learning offers a solution by selecting inputs that maximize information gain. However, traditional methods face a "computational wall": picking the next best input requires updating the model and performing high-dimensional integration, both of which scale poorly with the number of features. This paper specifically targets Generalized Linear Models (GLMs)—including linear, logistic, and Poisson regression—providing a framework that enables real-time closed-loop experiments even in high-dimensional spaces.
Methodology
The proposed approach achieves $O(n^2)$ complexity through several key innovations:
- Laplace Approximation: The posterior distribution of model parameters is approximated as a single Gaussian. This simplification is justified for log-concave likelihoods, where the posterior becomes asymptotically Gaussian.
- Recursive Rank-One Updates: Instead of refitting the model from scratch, the mean and covariance of the parameter distribution are updated using rank-one methods (e.g., the Woodbury matrix lemma) in $O(n^2)$ time.
- Dimensionality Reduction of Search: A core theoretical contribution is proving that for GLMs, the expected information gain depends only on two scalar values: the projected mean and the projected variance of the input. This collapses a high-dimensional search into a 2-D optimization problem.
- Efficient Eigendecomposition: The Gu-Eisenstat algorithm is used for fast eigendecomposition updates, ensuring the entire process remains computationally tractable.
Results
The algorithm was evaluated using synthetic datasets mimicking system identification in neuroscience, specifically modeling a neuron as a Poisson GLM with an exponential link function.
Computational Efficiency
As shown in Figure 1, the computation time scales quadratically with dimensionality. For a 200-dimensional feature space, the system can select the optimal next input in less than 0.1 seconds on standard hardware.
Data Efficiency and Convergence
The "info-max" strategy significantly outperforms random (i.i.d.) sampling, requiring roughly an order of magnitude less data to achieve the same estimation accuracy. Figure 2 illustrates the rapid convergence of parameter variance compared to random sampling across different experimental conditions.
Conclusion
This work demonstrates that real-time active learning is feasible for high-dimensional GLMs. By collapsing the search space and utilizing efficient matrix updates, the authors provide a practical tool for closed-loop experimental design. While the Laplace approximation is robust for log-concave likelihoods, future work could explore extensions to multi-modal posteriors or more complex input constraints.
Summary updated