News for hackers. Stuff that matters.
Re:Beyond Gradient Averaging in Parallel Optimization by eru on Monday December 30, 2024 @09:07PM (#42555666)
Does anyone actually use the 'normal gradient descent' with the whole training set? I only ever see it as a sort of straw man to make explanation easier.
Re:Beyond Gradient Averaging in Parallel Optimization by jey on Monday December 30, 2024 @10:03PM (#42556002)
Generally yes, vanilla gradient descent gets plenty of use. But for LLMs: no, it’s not really used, and stochastic gradient descent provides a form of regularization, so it probably works better in addition to being more practical.
Re:Beyond Gradient Averaging in Parallel Optimization by bravura on Monday December 30, 2024 @10:03PM (#42556003)
Full batch with L-BFGS, when possible, is wildly underappreciated.