Introduction
In large-scale machine learning, optimization often involves minimizing a "finite sum" objective function: $f(w) = \frac{1}{n} \sum_{i=1}^n f_i(w)$, where $n$ represents millions of data points. Traditional batch methods like L-BFGS are computationally expensive per iteration, while Stochastic Gradient Descent (SGD) requires tedious hyperparameter tuning and lacks linear convergence. Recent incremental methods, such as Stochastic Average Gradient (SAG), achieved linear convergence but rely on uniform random sampling, which is often less efficient than the common practice of cycling through a permuted dataset (sampling without replacement).
The Finito Algorithm
Finito is an incremental gradient method designed to address these limitations by utilizing memory to accelerate convergence. For each data point $i$, the algorithm stores the parameter vector $\phi_i$ where the gradient was last evaluated and the corresponding gradient $f'_i(\phi_i)$.
The model $w$ is updated using the average of these stored parameter vectors ($\bar{\phi}$) and a scaled sum of the stored gradients. A key innovation is the "Big Data Condition," which posits that when the number of samples $n$ is large relative to the problem's condition number (the ratio of smoothness $L$ to strong convexity $s$), Finito can employ a fixed step size ($\alpha=2$). This eliminates the need for manual learning rate searches, a significant practical advantage over SGD.
Theoretical and Practical Advantages
Finito offers a theoretical convergence rate of $(1 - 1/2n)$ per step, which is four times faster than the $(1 - 1/8n)$ rate established for SAG. Furthermore, while many algorithms struggle with non-uniform sampling, Finito thrives on data permutation. Shuffling the dataset once per epoch—a standard engineering practice—can double Finito's practical speed, despite the lack of a formal proof for this phenomenon.
Experimental Results
The authors evaluated Finito against state-of-the-art baselines including SAG, SDCA, and L-BFGS across various classification and regression benchmarks.
As shown in Figure 1, Finito consistently achieves lower gradient norms in fewer epochs. The "permuted" version of Finito (dotted black line) often provides the fastest convergence, illustrating the algorithm's robustness to sampling without replacement.
On larger datasets like Million Song (Figure 4), Finito's stability is evident. While methods like SAG may exhibit fluctuations, Finito's progress toward the optimum is monotonic and predictable.
Conclusion and Limitations
Finito represents a significant step forward for optimization in the "Big Data" regime, offering superior speed and ease of use through its fixed step size and compatibility with data permutation. However, these gains come at the cost of increased memory usage, as the algorithm must store vectors for every data point. Consequently, Finito is best suited for problems where the data is dense and the number of samples is large but manageable within system memory constraints.
Summary updated