AI Dictionary › Modelli AI

Adam Optimizer

Ottimizzatore Adam

Adam is an optimization algorithm used to update a neural network's parameters during training, combining the advantages of two earlier techniques: using a moving average of past gradients to make updates more stable, and automatically adapting the learning rate for each parameter individually, based on its recent update history.

Definition

What it is

Adam is an optimization algorithm used to update a neural network's parameters during training, combining the advantages of two earlier techniques: using a moving average of past gradients to make updates more stable, and automatically adapting the learning rate for each parameter individually, based on its recent update history.

How it works

At each training step, Adam maintains two quantities for every parameter that are updated over time: an estimate of the recent average direction of the gradient and an estimate of its recent variability. By combining these two pieces of information, the algorithm computes an update that tends to be larger for parameters that change little and more cautious for those that oscillate a lot, allowing generally faster and more robust convergence compared to plain gradient descent.

Applications

It is the most widely used optimizer in training modern deep neural networks, including large language models, often in its variant that introduces a correction for weight regularization. Its widespread adoption stems from combining good practical performance with relative insensitivity to the initial choice of hyperparameters compared to other methods.

History & etymology

The name is an acronym referring to adaptive moment estimation, the principle underlying the algorithm, proposed in the first half of the 2010s as an evolution of earlier optimization methods used in neural network training.

Definizione (italiano)

Adam è un algoritmo di ottimizzazione usato per aggiornare i parametri di una rete neurale durante l'addestramento, combinando i vantaggi di due tecniche precedenti: l'uso di una media mobile dei gradienti passati per rendere gli aggiornamenti più stabili, e l'adattamento automatico del tasso di apprendimento per ciascun parametro individualmente, in base alla sua storia recente di aggiornamenti.

A ogni passo di addestramento, Adam mantiene per ogni parametro due quantità che si aggiornano nel tempo: una stima della direzione media recente del gradiente e una stima della sua variabilità recente. Combinando queste due informazioni, l'algoritmo calcola un aggiornamento che tende ad essere più grande per i parametri che cambiano poco e più prudente per quelli che oscillano molto, permettendo una convergenza generalmente più rapida e robusta rispetto alla discesa del gradiente semplice.

È l'ottimizzatore più utilizzato nell'addestramento delle reti neurali profonde moderne, inclusi i grandi modelli linguistici, spesso nella sua variante che introduce una correzione per la regolarizzazione dei pesi. La sua adozione diffusa è dovuta alla combinazione di buone prestazioni pratiche e relativa insensibilità alla scelta iniziale degli iperparametri rispetto ad altri metodi.

Il nome è un acronimo che fa riferimento alla stima adattiva dei momenti (adaptive moment estimation) su cui si basa l'algoritmo, proposto nella prima metà degli anni 2010 come evoluzione dei metodi di ottimizzazione precedenti usati nell'addestramento delle reti neurali.

Related terms

More in Modelli AI

Put it into practice

From our network

HSE Genius — AI for Safety Data Sheets

Extract SDS data, H phrases and ECHA compliance checks in seconds, powered by AI.

Visit hsegenius.com →

From the Agora Intelligence blog

More on agora-intelligence.com →

📱 Download the Android app (beta) iOS coming soon

Say what you mean. Get what you need.

Grace Certified — the AI coach that trains and certifies your prompt engineering — by Agora Intelligence.