Editing
Optimization Algorithms in Machine Learning
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== <span style="color: #FFFFFF;">Remembering</span> == * '''Loss function''' β A function measuring the discrepancy between model predictions and true labels; the objective to minimize. * '''Gradient''' β The vector of partial derivatives of the loss with respect to all model parameters; points in the direction of steepest ascent. * '''Gradient descent''' β Iteratively moving parameters in the negative gradient direction to minimize the loss. * '''Stochastic Gradient Descent (SGD)''' β Gradient descent using the gradient of a single random example (or mini-batch) per step. * '''Mini-batch SGD''' β Using a small batch of examples to estimate the gradient; the standard training approach. * '''Learning rate''' β The step size in gradient descent; too large causes divergence, too small causes slow convergence. * '''Momentum''' β An acceleration technique that accumulates a velocity vector in the gradient direction, dampening oscillations. * '''Adam (Adaptive Moment Estimation)''' β An optimizer combining momentum with adaptive per-parameter learning rates; the default choice for most deep learning. * '''AdamW''' β Adam with decoupled weight decay regularization; standard for training transformers. * '''Learning rate schedule''' β Varying the learning rate during training: warmup, cosine decay, step decay. * '''Warmup''' β Gradually increasing learning rate from near-zero at the start of training to prevent instability. * '''Weight decay (L2 regularization)''' β Adding a penalty proportional to the sum of squared weights, preventing overfitting. * '''Gradient clipping''' β Capping gradient magnitude to prevent exploding gradients, especially in RNNs and transformers. * '''Batch size''' β The number of examples per gradient update; affects gradient variance, memory, and training dynamics. * '''Learning rate finder''' β A technique for selecting a good learning rate by increasing it gradually and monitoring loss. </div> <div style="background-color: #006400; color: #FFFFFF; padding: 20px; border-radius: 8px; margin-bottom: 15px;">
Summary:
Please note that all contributions to BloomWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BloomWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information