Training & Optimization

Explore Training & Optimization through related topics and the articles other pages reference most.

Explore articles

Reset filters
Browse subtopics: Deep Learning

Articles that also belong to these categories. Counts cover all of Training & Optimization.

Showing 1-41 of 41 articles

Adafactor

Adafactor is an adaptive optimizer designed to reduce the memory used by second-moment estimates during neural-network training.

Deep Learning

Clipping

Clipping is a family of techniques in machine learning that constrain numerical values to lie within a specified range or below a specified magnitude.

Deep LearningMachine Learning

Cosine learning rate schedule

The cosine learning rate schedule, also called cosine annealing, is a learning rate decay strategy that lowers the optimizer step size from a peak value to a small minimum following a half period of a cosine…

Deep Learning

DeepSpeed

DeepSpeed is an open-source deep learning optimization library, originally developed by Microsoft, that makes distributed training and inference of large models efficient, easy to use, and cost-effective.

AI InfrastructureDeep Learning

Dropout

Dropout is a regularization technique for neural networks that randomly sets a fraction of neuron activations to zero during training

Deep Learning

Dropout Regularization

Dropout regularization is a regularization technique for neural networks that prevents overfitting by randomly setting a fraction of neuron activations to zero on each training step, forcing the network to…

Deep LearningMachine Learning

Early Stopping

Early stopping is a regularization technique that halts the training of an iterative machine learning model as soon as its performance on a held-out validation set stops improving

Deep LearningMachine Learning

Fine Tuning

Fine-tuning is the process of adapting a pretrained machine-learning model by continuing to optimize some or all of its parameters on data selected for a target task, domain, behavior, or population.

Deep LearningMachine Learning

Focal loss

Focal loss is a loss function that reshapes standard cross-entropy loss by adding a (1 - p_t)^gamma modulating factor, which down-weights well-classified (easy) examples so that training concentrates on hard

Computer VisionDeep Learning

Gradient Accumulation

Gradient accumulation is a deep learning training technique that simulates a large batch size on limited GPU memory by summing the gradients from several small mini-batches (called micro-batches) and…

Deep LearningMachine Learning

Gradient Descent

Gradient descent is an iterative first-order method for minimizing a differentiable scalar objective. Starting from a point, it evaluates the local gradient and moves in the opposite direction.

Deep LearningMachine Learning

Gradient checkpointing

Gradient checkpointing, also called activation checkpointing, activation recomputation, or rematerialization, is a memory-saving technique for training deep neural networks that trades extra compute for much…

Deep Learning

Loss Surface

The loss surface (also called the loss landscape, the error surface, or the objective function surface) is the geometric representation of a loss function as a function of the model's parameters.

Deep LearningMachine Learning

Muon (optimizer)

Muon (short for MomentUm Orthogonalized by Newton-Schulz) is a neural-network optimizer that updates the two-dimensional weight matrices of hidden layers by taking the momentum-based SGD update and…

Deep Learning

NaN Trap

A NaN trap (short for "Not a Number" trap) is a failure mode in machine learning training where arithmetic operations produce the special IEEE 754 value NaN, which then propagates through all subsequent…

Deep LearningMachine Learning

Optimizer

An optimizer in machine learning is an algorithm that iteratively adjusts a model's learnable parameters to minimize (or maximize) an objective function, commonly called a loss function

Deep LearningMachine Learning

Pre-Trained Model

A pre-trained model is a machine learning model that has already been trained on a large, general-purpose dataset and can then be reused, either as a fixed feature extractor or by fine-tuning

Deep LearningMachine Learning

QLoRA

QLoRA (Quantized Low-Rank Adaptation) is a parameter-efficient fine-tuning method that finetunes a 65-billion-parameter large language model on a single 48 GB GPU while matching the quality of full 16-bit…

AI InferenceDeep Learning

RMSProp

RMSProp (Root Mean Square Propagation) is an adaptive learning-rate optimizer that divides each parameter's gradient by a running root-mean-square of that parameter's recent gradients

Deep Learning

SOAP (optimizer)

SOAP (ShampoO with Adam in the Preconditioner's eigenbasis) is a second-order optimization algorithm for training deep neural networks, introduced by Nikhil Vyas, Depen Morwani, Rosie Zhao, Mujin Kwun, Itai…

Deep Learning

Schedule-Free optimizer

Schedule-Free is a family of optimization algorithms for deep learning and convex stochastic optimization that matches or exceeds the performance of tuned learning-rate schedules without specifying a horizon T…

Deep Learning

Sequence Parallelism

Sequence parallelism (SP) is a family of distributed training techniques for transformer-based neural networks that partitions activations along the sequence (token) dimension across multiple accelerators…

AI InfrastructureDeep Learning

Shampoo (optimizer)

Shampoo is a second-order stochastic optimization algorithm for training neural networks that maintains, for each parameter tensor

Deep Learning

Sophia (optimizer)

Sophia (a backronym for Second-order Clipped Stochastic Optimization with Adaptive estimator) is a stochastic second-order optimization algorithm introduced in May 2023 by Hong Liu, Zhiyuan Li, David Hall…

Deep Learning

Staged training

Staged training (also called multi-stage training or phased training) is a strategy in machine learning where a model is trained in two or more distinct sequential phases, each with its own objective, data…

Deep Learning

muP (Maximal Update Parametrization)

muP, short for Maximal Update Parametrization (often written muP, μP, or mu-P), is a parametrization scheme for deep neural networks in which a small set of optimization hyperparameters, most importantly the…

Deep Learning

torch.compile

torch.compile is the just-in-time graph capture and compilation feature introduced in PyTorch 2.0, a release first announced at the PyTorch Conference on December 2, 2022 and shipped as a stable version on…

Deep LearningDeveloper Tools