← Latest papers
🤖 machine learning

Neural Network Training with Approximate Logarithmic Computations

This paper proposes an end-to-end deep neural network training and inference scheme using approximate logarithmic number system computations with fixed-point arithmetic, demonstrating that 16-bit log-domain processing achieves classification accuracy within approximately 1% of floating-point baselines while eliminating the need for hardware multipliers.

Original authors: Arnab Sanyal, Peter A. Beerel, Keith M. Chugg

Published 2019-10-22
📖 4 min read☕ Coffee break read

Original authors: Arnab Sanyal, Peter A. Beerel, Keith M. Chugg

✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the modern world, computers have become remarkably good at recognizing patterns, from identifying a cat in a photograph to understanding spoken words. This ability comes from a type of software called a neural network, which is designed to mimic the way the human brain processes information by connecting many simple processing units together. To make these networks smart, they must be trained using vast amounts of data, a process that requires the computer to perform billions of complex calculations. Traditionally, these calculations rely heavily on multiplication, an operation that is mathematically straightforward but requires significant energy and specialized hardware to perform quickly. As we try to run these intelligent systems on smaller, battery-powered devices like smartphones or sensors, the heavy demand for multiplication becomes a bottleneck, draining power and slowing down the learning process.

A team of researchers at the University of Southern California has proposed a different way to handle these calculations, one that could make training these networks much more efficient. Instead of performing the standard multiplication required by traditional methods, they suggest converting all the numbers into a logarithmic format. In this system, the difficult task of multiplying two numbers is replaced by the much simpler task of adding them together. While this conversion sounds promising, it introduces a new challenge: adding numbers in this logarithmic format is not as simple as standard addition and usually requires complex look-up tables or approximations to work correctly. The researchers set out to see if they could simplify these additions even further, using rough approximations that are easy for hardware to build, without ruining the accuracy of the final result.

The researchers developed a complete system where the entire training and testing process of a neural network happens within this logarithmic world. They replaced the standard multiplication steps with addition and handled the tricky parts of logarithmic addition using two specific shortcuts. One shortcut uses a small table of pre-calculated values, similar to a cheat sheet, while the other uses a simple bit-shifting technique, which is a fast way for computers to multiply by powers of two. To test their idea, they built a digital simulation of a neural network and trained it on several well-known image datasets, including pictures of handwritten digits and clothing items. They compared their new logarithmic method against the standard, high-precision floating-point method that is currently used in most powerful computers.

The results were surprisingly encouraging. When the researchers used a 16-bit representation for their numbers, the logarithmic method achieved classification accuracy that was within about one percent of the standard floating-point method. This means that despite using simplified math and approximations, the network learned to recognize images almost as well as the traditional system. They found that even with a very small look-up table containing only twenty entries, the system performed well, and in many cases, the simple bit-shifting shortcut was sufficient to maintain high accuracy. The study suggests that for many common tasks, a 16-bit fixed-point representation in the logarithmic domain is enough to approach the performance of much more complex floating-point computations.

This work demonstrates that it is possible to train deep neural networks without relying on expensive multiplication hardware, provided that the addition operations are handled with these specific approximations. The researchers showed that the degradation in accuracy is minimal, suggesting that future hardware designs could potentially eliminate multipliers entirely for training and inference tasks. This would lead to devices that are smaller, faster, and more energy-efficient, capable of learning and adapting directly on the edge without needing to send data back to a large server. While the study focused on specific types of networks and datasets, the findings indicate a viable path toward making advanced artificial intelligence more accessible and practical for everyday devices.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →