Skip to main content
QUICK REVIEW

[Paper Review] Complexity Issues and Randomization Strategies in Frank-Wolfe Algorithms for Machine Learning

Emanuele Frandi, Ricardo Ñanculef|arXiv (Cornell University)|Oct 15, 2014
Quantum Computing Algorithms and ArchitectureComputer Science6 citations
TL;DR

This paper investigates randomization strategies to reduce computational cost in Frank-Wolfe (FW) algorithms for large-scale machine learning, particularly in SVM training. It evaluates randomized working set selection and analytical gradient updates, finding that random sampling is effective for very large datasets when sampling size is small relative to active set size, while analytical updates outperform randomization on medium-to-large datasets with favorable structure.

ABSTRACT

Frank-Wolfe algorithms for convex minimization have recently gained considerable attention from the Optimization and Machine Learning communities, as their properties make them a suitable choice in a variety of applications. However, as each iteration requires to optimize a linear model, a clever implementation is crucial to make such algorithms viable on large-scale datasets. For this purpose, approximation strategies based on a random sampling have been proposed by several researchers. In this work, we perform an experimental study on the effectiveness of these techniques, analyze possible alternatives and provide some guidelines based on our results.

Motivation & Objective

  • Address the high computational cost of solving the linear subproblem in each Frank-Wolfe iteration, especially in large-scale machine learning applications.
  • Investigate the effectiveness of random sampling strategies—specifically randomized working set selection—for approximating the linear subproblem solution.
  • Compare randomized approaches with analytical gradient update techniques that exploit problem structure to reduce iteration cost.
  • Provide empirical guidelines on when to use randomization versus analytical updates based on dataset size and problem structure.
  • Analyze the impact of approximation on convergence, duality gap estimation, and solution quality, particularly regarding premature stopping and accuracy.

Proposed method

  • Proposes randomized working set selection by sampling a small subset 𝒮 of indices from the full set of m data points to compute the search direction, reducing cost from O(m|𝒫|) to O(|𝒮||𝒫|), where |𝒫| is the number of active points.
  • Uses Theorem 1 (from [16]) to justify that small samples (e.g., |𝒮| ≈ 60) can achieve high probability of selecting a gradient component among the smallest 5% of all components.
  • Introduces an approximate duality gap Δ𝒮(α^(k)) = 2f(α^(k)) − ∇f(α^(k))_i*𝒮 as a stopping criterion when full gradient computation is avoided.
  • Employs a line-search strategy for stepsize selection and compares full gradient vs. randomized gradient computation in the FW update.
  • Conducts experiments on datasets Adult, a9a, and USPS-ext to evaluate convergence paths, duality gap behavior, and test accuracy under different sampling sizes.
  • Proposes adaptive strategies that switch between full and randomized computation based on duality gap differences, though implementation details are deferred.

Experimental results

Research questions

  • RQ1How effective is randomized working set selection in reducing computational cost while maintaining convergence quality in Frank-Wolfe algorithms for large-scale SVM training?
  • RQ2To what extent does using an approximate duality gap Δ𝒮(α^(k)) compromise convergence monitoring and lead to premature stopping?
  • RQ3In what problem regimes (e.g., dataset size, structure) does analytical gradient update outperform randomized sampling?
  • RQ4How do sampling size and random variability affect the stability and accuracy of the duality gap path and final model performance?
  • RQ5Can adaptive strategies be designed to automatically select between full and randomized computation based on performance indicators?

Key findings

  • Randomized working set selection with |𝒮| ≈ 60 achieves a 95% probability of selecting a gradient component within the smallest 5% of all components, justifying small sample sizes.
  • On the Adult and a9a datasets, the duality gap path using approximate gap Δ𝒮(α^(k)) closely follows the exact gap Δ𝒹(α^(k)), indicating minimal performance degradation.
  • On the larger USPS-ext dataset, the approximate gap Δ𝒮(α^(k)) shows significant oscillations and underestimates the true duality gap, increasing the risk of premature stopping.
  • Despite larger duality gaps on USPS-ext, test accuracy remains stable, suggesting classification problems may be robust to suboptimal solutions, but this does not generalize to all applications.
  • Analytical gradient updates provide a deterministic and faster alternative when the problem structure (e.g., quadratic form) allows, outperforming randomization on medium-to-large datasets.
  • The full sampling strategy (randomized working set) is highly effective on smaller problems but becomes computationally prohibitive on the largest dataset (USPS-ext), highlighting the need for scalable alternatives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.