Overview
Stochastic Gradient Descent trades exact full-dataset gradients for cheaper noisy updates that scale to large datasets.
Updates parameters using gradients from one example or a small batch at a time.
Compact metadata for implementation and discovery.
Stochastic Gradient Descent trades exact full-dataset gradients for cheaper noisy updates that scale to large datasets.
Quick facts
Runtime and memory behavior at a glance.
Best
O(bg)
Average
O(tbg)
Worst
O(tbg)
Space
O(p)
theta_next = theta - alpha * gradient(J_batch(theta))Updates parameters using one example or a mini-batch instead of the full dataset.
Show noisy parameter steps trending downhill.
Stochastic Gradient Descent operates in O(tbg) time and O(p) space within the First-Order Optimization family. Key governing relation: theta_next = theta - alpha * gradient(J_batch(theta)). Often compared with Gradient Descent and Adam Optimizer.
What each reference supports for this entry.
Optimization survey covering stochastic gradient methods for large-scale learning.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Optimization · Foundation
SGD applies gradient descent updates using samples or mini-batches.
Compare with thisOptimization · Core
SGD is a simpler optimizer often compared with Adam.
Compare with thisMachine Learning · Core
Skip-gram models are typically optimized with stochastic gradient updates.
Compare with thisSGD is a simpler optimizer often compared with Adam.
Neural networks commonly combine backpropagated gradients with SGD updates.
SGD applies gradient descent updates using samples or mini-batches.