
Large artificial intelligence language models, like those used to run the popular ChatGPT chatbot, can be reduced in size by more than half without losing much accuracy. This could save large amounts of energy and allow people to run the models at home, rather than in huge data centres.
Many recent advances in artificial intelligence models have come from scaling up the number of parameters: the values that each model tunes to produce outputs. OpenAI’s GPT-3, a version of which powers ChatGPT, has 175 billion parameters.
These parameters adopt certain values corresponding to the data used to train the model, and large numbers of parameters increase the computer power and energy the model requires.
Advertisement
Now, and Elias Frantar at the Institute of Science and Technology in Austria have developed a method that removes 60 per cent of these parameters with a minimal drop in accuracy.
“I don’t think you need 175 billion parameters for anything, that sounds like a huge amount,” says Alistarh. “I’m hoping that we can slim that down a bit.”
The method uses an algorithm to pass a small amount of data into the model to give a sample output, and then turn off parameters in the neural network that don’t appear to significantly affect the output’s result. However, this introduces error to the overall system, so the algorithm also tweaks the remaining parameters to better fit the output.
“Pruning” large AI models in this way leads to only a minimal loss of accuracy, says Alistarh, and they can function as well as models with many fewer parameters. The pair assessed this by rating “perplexity”, a measure of how well the results match predictions of what they will be.
One of the drawbacks of models with huge numbers of parameters is that they can only be used by people with enough computing power to train or run them themselves, such as academic institutions, says at Heriot-Watt University in Edinburgh, UK. If these pruning results can be replicated generally, they could democratise access, she says.
Reference: