Yes, BFGS (Broyden–Fletcher–Goldfarb–Shanno algorithm), a quasi-Newton optimization method, is generally considered infeasible for training large neural networks. This is not primarily due to a "relatively small pool of candidate solutions," but rather due to computational and memory limitations. Here's why:
1. Memory Requirements
BFGS maintains and updates an approximation of the inverse Hessian matrix (or the Hessian itself in some variants), which is of size ( n \times n ), where ( n ) is the number of parameters in the model. For large neural networks, ( n ) can be in the millions or even billions. Storing and updating such a large matrix is computationally and memory-wise prohibitive.
2. Computational Complexity
Each iteration of BFGS involves matrix-vector operations that scale poorly with the number of parameters. The time complexity is typically ( O(n^2) ) per iteration, which becomes impractical for large-scale models.
3. Batch vs. Stochastic Optimization
BFGS is designed for deterministic optimization, where the full gradient is computed at each step. In contrast, training large neural networks typically relies on stochastic or mini-batch gradient descent, which uses only a subset of the data at each step. This makes methods like SGD, Adam, and RMSProp more suitable, as they are designed to work with noisy gradient estimates and scale well with data size.
4. Limited Scalability
While there are limited-memory variants like L-BFGS (Limited-memory BFGS), which reduce the memory requirement to ( O(nm) ) where ( m ) is a small constant (e.g., 10), even L-BFGS is rarely used for training very large neural networks. It is more commonly used in smaller models or in fine-tuning stages where the number of parameters is more manageable.
Summary
BFGS is infeasible for training large neural networks primarily due to:
- High memory usage (storing the Hessian or its inverse)
- High computational cost per iteration
- Incompatibility with stochastic optimization
The issue is not about a "small pool of candidate solutions," but rather the algorithm's inability to efficiently handle the scale and stochastic nature of modern deep learning problems.