VOOZH about

URL: https://thenewstack.io/researchers-drop-the-zeroes-to-speed-deep-learning/

⇱ Researchers 'Drop the Zeroes' to Speed Deep Learning - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2021-10-15 03:00:17
Researchers 'Drop the Zeroes' to Speed Deep Learning
news,
Edge Computing / Software Development

Researchers ‘Drop the Zeroes’ to Speed Deep Learning

Researchers at the King Abdullah University of Science and Technology (KAUST) are now proposing a method of accelerating distributed deep learning by dropping data blocks with zero values, which are frequently produced during distributed machine learning processes that use large datasets.
Oct 15th, 2021 3:00am by Kimberley Mok
👁 Featued image for: Researchers ‘Drop the Zeroes’ to Speed Deep Learning
Images: Kelly Lacy via Pexels; KAUST

Researchers at the King Abdullah University of Science and Technology (KAUST) are now proposing a method of accelerating distributed deep learning by dropping data blocks with zero values, which are frequently produced during distributed machine learning processes that use large datasets.

The growing amount of data needed to train increasingly complex AI models are prompting experts to look for more efficient ways to train deep neural networks. One approach is to implement what is known as distributed deep learning, which scales out the training of models over a wider base of computational resources.

While this form of distributed machine learning is more efficient, the size of newer and larger deep neural networks for computationally intensive NLP models like BERT and GPT-3 will soon outstrip the computational capacity of current state-of-the-art supercomputers.

Distributed deep learning is often achieved with data parallelization, a form of parallel computing that distributes the data across different parallel processor nodes, thus boosting efficiency by splitting the computational load across a broader range of resources.

The researchers’ method focuses on what is known as collective communication routines, which are a core component of parallel computing applications, and used to combine data among multiple processes that are operating simultaneously. Collective communication routines have to perform smoothly in order to efficiently scale the workload.

“To enable better scaling, we aim to decrease communication overheads by optimizing collective communication,” wrote the team in their paper, which was presented as part of the 2021 ACI SIGCOMM Conference. “These overheads are substantial in many DNN workloads, especially for large models where there exists a significant gap between the measured performance and ideal linear scaling.”

Dropping Zeroes Speeds up Distributed Deep Learning

During model training, learning tasks are allocated to various computing nodes that compare their results before performing the next job over the communication network. According to the team, communication between these nodes is a major bottleneck in distributed deep learning.

“Efficient collective communication is crucial to parallel-computing applications such as distributed training of large-scale recommendation systems and natural language processing models,” said the team.

As model size grows, the researchers also observed that the proportion of zero values in the data blocks also increased, leading to a phenomenon known as sparsity. While there are already some existing tools for collective communication routines, the team noted that such collective communication libraries don’t support sparse data, which led them to develop their idea.

“We propose OmniReduce, an efficient streaming aggregation system that exploits sparsity to maximize effective bandwidth use by sending only non-zero data blocks. Most existing collective libraries — including DDL-specialized ones like NCCL and Gloo — have no native support for sparse data. These libraries assume dense input data and make inefficient use of precious network bandwidth to transmit large volumes of zeroes.”

OmniReduce builds on an earlier development from KAUST called SwitchML, which uses an aggregation code to optimize the network switches that govern internodal communications, thus increasing the efficiency of data transfers. OmniReduce further streamlines this process by dropping any results with zeroes, without interrupting the synchronization of the parallel computations between nodes. As the team notes, it is challenging to exploit sparsity in this manner, as all nodes have to process data blocks in the same location in a time slot, so coordination is of paramount importance.

“Coordination is key to sending only the non-zero data,” explained the team. “The aggregator globally determines the positions of non-zero values among [nodes] in a look-ahead fashion based on the next position metadata efficiently available at the [nodes] (which communicate it to the aggregator). This component differentiates OmniReduce from any related work.”

👁 In testing OmniReduce against other existing collective libraries like NCCL and Gloo, while running six popular deep neural net models like BERT and ResNet152, the team of researchers found that OmniReduce performed well, boosting training times by up to 8.2 times.

In testing OmniReduce against other existing collective libraries like NCCL and Gloo, while running six popular deep neural net models like BERT and ResNet152, the team of researchers found that OmniReduce performed well, boosting training times by up to 8.2 times.

In testing OmniReduce against other existing collective libraries like NCCL and Gloo, while running six popular deep neural net models like BERT and ResNet152, the team of researchers found that OmniReduce performed well, boosting training times by up to 8.2 times. They also found that OmniReduce was effective for large-DNN distributed training jobs with multi-GPU servers.

In addition, the team ran tests pitting OmniReduce against other state-of-the-art sparse collective communication solutions running on TCP/IP and RDMA networks like AllReduce, SparCML, and Parallax, and discovered that OmniReduce outperformed these competitors by 3.5 to 16 times.

👁 The results of pitting OmniReduce against other state-of-the-art sparse collective communication solutions running on TCP/IP and RDMA networks like AllReduce, SparCML, and Parallax,

The results of pitting OmniReduce against other state-of-the-art sparse collective communication solutions running on TCP/IP and RDMA networks like AllReduce, SparCML, and Parallax,

“The performance benefit of OmniReduce is two-fold,” said the team. “First, OmniReduce is much more scalable, and both speedup factors grow with the number of [nodes] because OmniReduce’s time does not depend on the number of [nodes]. This speedup is fundamental and exists even with a dense input. Second, in contrast to ring AllReduce, OmniReduce only sends non-zero elements, which reduces the time proportionally.”

The team is now working to adapt OmniReduce to run on programmable switches utilizing in-network computation to further boost performance. So far, OmniReduce has been adopted for training large-scale workloads at Meituan, a huge shopping and on-demand delivery platform based in China.

TRENDING STORIES
Kimberley Mok is a tech and design reporter who covers artificial intelligence, robotics, quantum computing, tech culture and science stories for The New Stack. Trained as an architect, she is also an illustrator and multidisciplinary designer who has been passionate...
Read more from Kimberley Mok
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.