Of LLMs, Gradients, and Quantum Mechanics | by Riccardo Di Sipio | Nov, 2024
Can Quantum Computing assist bettering our means to coach Massive Neural Networks encoding language fashions (LLMs)?
What’s “coaching”?
Within the lingo of Synthetic Intelligence (AI) research, “coaching” means optimizing a statistical mannequin, usually applied as a neural network, to make predictions based mostly on some enter information and a measure of how good these predictions are (“price” or “loss” operate). There are three main paradigms wherein such process can occur: supervised, unsupervised (usually autoregressive), and reinforcement studying. In supervised studying, every information level is labelled so the mannequin predictions will be straight in comparison with the true values (e.g. that is the picture of a cat or a canine). In unsupervised coaching, there are not any specific labels, however the comparability is carried out with options extracted from the info itself (e.g. predicting the subsequent phrase in a sentence). Lastly, reinforcement studying relies on optimizing the long-term returns of a sequence of selections (predictions) based mostly on the interplay between the statistical mannequin and the atmosphere (ought to the automotive decelerate or velocity up at a yellow site visitors gentle?).
In all these circumstances, the optimization of the parameters of the mannequin is a prolonged course of which requires a…