- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
When it comes to actually storing the numerical weights that power a large language model’s underlying neural network, most modern AI models rely on the precision of 16- or 32-bit floating point numbers. But that level of precision can come at the cost of large memory footprints (in the hundreds of gigabytes for the largest models) and significant processing resources needed for the complex matrix multiplication used when responding to prompts.
Now, researchers at Microsoft’s General Artificial Intelligence group have released a new neural network model that works with just three distinct weight values: -1, 0, or 1. Building on top of previous work Microsoft Research published in 2023, the new model’s “ternary” architecture reduces overall complexity and “substantial advantages in computational efficiency,” the researchers write, allowing it to run effectively on a simple desktop CPU. And despite the massive reduction in weight precision, the researchers claim that the model “can achieve performance comparable to leading open-weight, full-precision models of similar size across a wide range of tasks.”
Watching your weights
The idea of simplifying model weights isn’t a completely new one in AI research. For years, researchers have been experimenting with quantization techniques that squeeze their neural network weights into smaller memory envelopes. In recent years, the most extreme quantization efforts have focused on so-called “BitNets” that represent each weight in a single bit (representing +1 or -1).
From Ars Technica - All content via this RSS feed