Can we always find the best solution quickly?
Image: Talmoryair, CC BY-SA 4.0, via Wikimedia Commons
Can we always find the best solution quickly?
Imagine you're planning a road trip and trying to find the shortest route. You have several cities to visit, and you want to minimize driving time.
Sometimes, finding the perfect route is too complex, so we use shortcuts that get us close to the ideal path without taking forever.
Example
Instead of calculating every possible route, you use a shortcut that estimates the best route within 10% of the shortest possible time.
Remember this
Approximation algorithms help us find nearly optimal solutions faster when exact solutions are too time-consuming.
Text adapted from Wikipedia, licensed under CC BY-SA 4.0.
Travelling salesman problem
Can we always find the shortest path visiting all cities?
Proximal gradient methods for learning
Why can't we always find the best path in a maze?
Convex optimization
Convex functions have only one global minimum
UMAP is faster than t-SNE
UMAP is faster due to approximate nearest neighbors and cross-entropy optimization
Overlapping subproblems
Ever calculated a huge Fibonacci sequence by hand?
second-order methods (Newton's) converge faster but are expensive: O(n³) per step
Second-order methods converge faster due to quadratic convergence but are expensive due to O(n³) per iteration
Swipe through 100 ML concepts daily
Open Pocket Polymath