ScienceDaily
Your source for the latest research news
Follow Subscribe
New:
  • Antarctic Subglacial Lakes Are Full of Secrets
  • How Brains of Shrimps and Insects Are Alike
  • Inorganic Materials for Brain-Like Computing
  • The Microbes in Your Mouth
  • Predicting an Epidemic: Don't Ignore Evolution
  • Early Earth Was a 'Water World'
  • Why Is There Any Matter in the Universe at All?
  • How Caloric Restriction Works
  • Antarctic Ice Walls Protect the Climate
  • Biggest Explosion Since Big Bang
advertisement
Follow all of ScienceDaily's latest research news and top science headlines!
Science News
from research organizations

Deep learning rethink overcomes major obstacle in AI industry

SLIDE is first algorithm for training deep neural nets faster on CPUs than GPUs

Date:
March 5, 2020
Source:
Rice University
Summary:
Computer scientists have overcome a major obstacle in the burgeoning artificial intelligence industry.
Share:
FULL STORY

Rice University computer scientists have overcome a major obstacle in the burgeoning artificial intelligence industry by showing it is possible to speed up deep learning technology without specialized acceleration hardware like graphics processing units (GPUs).

advertisement

Computer scientists from Rice, supported by collaborators from Intel, will present their results today at the Austin Convention Center as a part of the machine learning systems conference MLSys.

Many companies are investing heavily in GPUs and other specialized hardware to implement deep learning, a powerful form of artificial intelligence that's behind digital assistants like Alexa and Siri, facial recognition, product recommendation systems and other technologies. For example, Nvidia, the maker of the industry's gold-standard Tesla V100 Tensor Core GPUs, recently reported a 41% increase in its fourth quarter revenues compared with the previous year.

Rice researchers created a cost-saving alternative to GPU, an algorithm called "sub-linear deep learning engine" (SLIDE) that uses general purpose central processing units (CPUs) without specialized acceleration hardware.

"Our tests show that SLIDE is the first smart algorithmic implementation of deep learning on CPU that can outperform GPU hardware acceleration on industry-scale recommendation datasets with large fully connected architectures," said Anshumali Shrivastava, an assistant professor in Rice's Brown School of Engineering who invented SLIDE with graduate students Beidi Chen and Tharun Medini.

SLIDE doesn't need GPUs because it takes a fundamentally different approach to deep learning. The standard "back-propagation" training technique for deep neural networks requires matrix multiplication, an ideal workload for GPUs. With SLIDE, Shrivastava, Chen and Medini turned neural network training into a search problem that could instead be solved with hash tables.

advertisement

This radically reduces the computational overhead for SLIDE compared to back-propagation training. For example, a top-of-the-line GPU platform like the ones Amazon, Google and others offer for cloud-based deep learning services has eight Tesla V100s and costs about $100,000, Shrivastava said.

"We have one in the lab, and in our test case we took a workload that's perfect for V100, one with more than 100 million parameters in large, fully connected networks that fit in GPU memory," he said. "We trained it with the best (software) package out there, Google's TensorFlow, and it took 3 1/2 hours to train.

"We then showed that our new algorithm can do the training in one hour, not on GPUs but on a 44-core Xeon-class CPU," Shrivastava said.

Deep learning networks were inspired by biology, and their central feature, artificial neurons, are small pieces of computer code that can learn to perform a specific task. A deep learning network can contain millions or even billions of artificial neurons, and working together they can learn to make human-level, expert decisions simply by studying large amounts of data. For example, if a deep neural network is trained to identify objects in photos, it will employ different neurons to recognize a photo of a cat than it will to recognize a school bus.

"You don't need to train all the neurons on every case," Medini said. "We thought, 'If we only want to pick the neurons that are relevant, then it's a search problem.' So, algorithmically, the idea was to use locality-sensitive hashing to get away from matrix multiplication."

Hashing is a data-indexing method invented for internet search in the 1990s. It uses numerical methods to encode large amounts of information, like entire webpages or chapters of a book, as a string of digits called a hash. Hash tables are lists of hashes that can be searched very quickly.

advertisement

"It would have made no sense to implement our algorithm on TensorFlow or PyTorch because the first thing they want to do is convert whatever you're doing into a matrix multiplication problem," Chen said. "That is precisely what we wanted to get away from. So we wrote our own C++ code from scratch."

Shrivastava said SLIDE's biggest advantage over back-propagation is that it is data parallel.

"By data parallel I mean that if I have two data instances that I want to train on, let's say one is an image of a cat and the other of a bus, they will likely activate different neurons, and SLIDE can update, or train on these two independently," he said. "This is much a better utilization of parallelism for CPUs.

"The flipside, compared to GPU, is that we require a big memory," he said. "There is a cache hierarchy in main memory, and if you're not careful with it you can run into a problem called cache thrashing, where you get a lot of cache misses."

Shrivastava said his group's first experiments with SLIDE produced significant cache thrashing, but their training times were still comparable to or faster than GPU training times. So he, Chen and Medini published the initial results on arXiv in March 2019 and uploaded their code to GitHub. A few weeks later, they were contacted by Intel.

"Our collaborators from Intel recognized the caching problem," he said. "They told us they could work with us to make it train even faster, and they were right. Our results improved by about 50% with their help."

Shrivastava said SLIDE hasn't yet come close to reaching its potential.

"We've just scratched the surface," he said. "There's a lot we can still do to optimize. We have not used vectorization, for example, or built-in accelerators in the CPU, like Intel Deep Learning Boost. There are a lot of other tricks we could still use to make this even faster."

He said SLIDE is important because it shows there are other ways to implement deep learning.

"The whole message is, 'Let's not be bottlenecked by multiplication matrix and GPU memory,'" Shrivastava said. "Ours may be the first algorithmic approach to beat GPU, but I hope it's not the last. The field needs new ideas, and that is a big part of what MLSys is about."

make a difference: sponsored opportunity

Story Source:

Materials provided by Rice University. Note: Content may be edited for style and length.


Cite This Page:

  • MLA
  • APA
  • Chicago
Rice University. "Deep learning rethink overcomes major obstacle in AI industry: SLIDE is first algorithm for training deep neural nets faster on CPUs than GPUs." ScienceDaily. ScienceDaily, 5 March 2020. <www.sciencedaily.com/releases/2020/03/200305135041.htm>.
Rice University. (2020, March 5). Deep learning rethink overcomes major obstacle in AI industry: SLIDE is first algorithm for training deep neural nets faster on CPUs than GPUs. ScienceDaily. Retrieved March 6, 2020 from www.sciencedaily.com/releases/2020/03/200305135041.htm
Rice University. "Deep learning rethink overcomes major obstacle in AI industry: SLIDE is first algorithm for training deep neural nets faster on CPUs than GPUs." ScienceDaily. www.sciencedaily.com/releases/2020/03/200305135041.htm (accessed March 6, 2020).

  • RELATED TOPICS
    • Matter & Energy
      • Telecommunications
      • Engineering
      • Civil Engineering
      • Consumer Electronics
    • Computers & Math
      • Computers and Internet
      • Computer Programming
      • Artificial Intelligence
      • Information Technology
advertisement

  • RELATED TERMS
    • Computer vision
    • Game theory
    • Bioinformatics
    • Artificial intelligence
    • Computing power everywhere
    • Earth science
    • Computer software
    • Computer security
RELATED STORIES

Artificial Intelligence Controls Robotic Arm to Pack Boxes and Cut Costs
June 27, 2019 — Computer scientists used artificial intelligence to control a robotic arm that provides a more efficient way to pack boxes, saving businesses time and ... read more
AI Tool Helps Radiologists Detect Brain Aneurysms
June 7, 2019 — Radiologists improved their diagnoses of brain aneurysms with the help of an artificial intelligence algorithm developed by medical experts and computer ... read more
Wikipedia Used to Give AI Context Clues
Sep. 19, 2017 — A team of computer scientists is teaching artificial intelligence agents how to interact with the world in a way that makes ... read more
Guidelines for Implementation of Industry 4. 0
May 17, 2017 — The internet of things, artificial intelligence, networked production, smart homes – these are the magic words of digital transformation. While the big technology companies are already equipping ... read more
FROM AROUND THE WEB

Below are relevant articles that may interest you. ScienceDaily shares links with scholarly publications in the TrendMD network and earns revenue from third-party advertisers, where indicated.
  Print   Email   Share

advertisement

Most Popular
this week

SPACE & TIME
Astronomers Detect Biggest Explosion in the History of the Universe
Why Is There Any Matter in the Universe at All? New Study Sheds Light
Large Exoplanet Could Have the Right Conditions for Life
MATTER & ENERGY
The Force Is Strong in Neutron Stars
New Study Allows Brain and Artificial Neurons to Link Up Over the Web
Surgical Masks as Good as Respirators for Flu and Respiratory Virus Protection
COMPUTERS & MATH
Bacterial colony in dish (stock image). | Credit: (c) motorolka / stock.adobe.comArtificial Intelligence Yields New Antibiotic
'Surfing Attack' Hacks Siri, Google With Ultrasonic Waves
Video Games Can Change Your Brain
advertisement

Strange & Offbeat
 

SPACE & TIME
Scientists Shed Light on Mystery of Dark Matter
New Telescope Observations Shed New Light on Black Hole Ejections
What If Mysterious 'Cotton Candy' Planets Actually Sport Rings?
MATTER & ENERGY
Using Molecules to Draw on Quantum Materials
New DNA Origami Motor Breaks Speed Record for Nano Machines
This Wearable Device Camouflages Its Wearer No Matter the Weather
COMPUTERS & MATH
Atomic Vacancy as Quantum Bit
Physiotherapy Could Be Done at Home Using Virtual Reality
Octopus-Inspired Robot Can Grip, Move, and Manipulate a Wide Range of Objects
SD
  • SD
    • Home Page
    • Top Science News
    • Latest News
  • Home
    • Home Page
    • Top Science News
    • Latest News
  • Health
    • View all the latest top news in the health sciences,
      or browse the topics below:
      Health & Medicine
      • Allergy
      • Alternative Medicine
      • Birth Control
      • Cancer
      • Diabetes
      • Diseases
      • Heart Disease
      • HIV and AIDS
      • Obesity
      • Stem Cells
      • ... more topics
      Mind & Brain
      • ADD and ADHD
      • Addiction
      • Alzheimer's
      • Autism
      • Depression
      • Headaches
      • Intelligence
      • Psychology
      • Relationships
      • Schizophrenia
      • ... more topics
      Living Well
      • Parenting
      • Pregnancy
      • Sexual Health
      • Skin Care
      • Men's Health
      • Women's Health
      • Nutrition
      • Diet and Weight Loss
      • Fitness
      • Healthy Aging
      • ... more topics
  • Tech
    • View all the latest top news in the physical sciences & technology,
      or browse the topics below:
      Matter & Energy
      • Aviation
      • Chemistry
      • Electronics
      • Fossil Fuels
      • Nanotechnology
      • Physics
      • Quantum Physics
      • Solar Energy
      • Technology
      • Wind Energy
      • ... more topics
      Space & Time
      • Astronomy
      • Black Holes
      • Dark Matter
      • Extrasolar Planets
      • Mars
      • Moon
      • Solar System
      • Space Telescopes
      • Stars
      • Sun
      • ... more topics
      Computers & Math
      • Artificial Intelligence
      • Communications
      • Computer Science
      • Hacking
      • Mathematics
      • Quantum Computers
      • Robotics
      • Software
      • Video Games
      • Virtual Reality
      • ... more topics
  • Enviro
    • View all the latest top news in the environmental sciences,
      or browse the topics below:
      Plants & Animals
      • Agriculture and Food
      • Animals
      • Biology
      • Biotechnology
      • Endangered Animals
      • Extinction
      • Genetically Modified
      • Microbes and More
      • New Species
      • Zoology
      • ... more topics
      Earth & Climate
      • Climate
      • Earthquakes
      • Environment
      • Geography
      • Geology
      • Global Warming
      • Hurricanes
      • Ozone Holes
      • Pollution
      • Weather
      • ... more topics
      Fossils & Ruins
      • Ancient Civilizations
      • Anthropology
      • Archaeology
      • Dinosaurs
      • Early Humans
      • Early Mammals
      • Evolution
      • Lost Treasures
      • Origin of Life
      • Paleontology
      • ... more topics
  • Society
    • View all the latest top news in the social sciences & education,
      or browse the topics below:
      Science & Society
      • Arts & Culture
      • Consumerism
      • Economics
      • Political Science
      • Privacy Issues
      • Public Health
      • Racial Disparity
      • Religion
      • Sports
      • World Development
      • ... more topics
      Business & Industry
      • Biotechnology & Bioengineering
      • Computers & Internet
      • Energy & Resources
      • Engineering
      • Medical Technology
      • Pharmaceuticals
      • Transportation
      • ... more topics
      Education & Learning
      • Animal Learning & Intelligence
      • Creativity
      • Educational Psychology
      • Educational Technology
      • Infant & Preschool Learning
      • Learning Disorders
      • STEM Education
      • ... more topics
  • Quirky
    • Top News
    • Human Quirks
    • Odd Creatures
    • Bizarre Things
    • Weird World
Free Subscriptions

Get the latest science news with ScienceDaily's free email newsletters, updated daily and weekly. Or view hourly updated newsfeeds in your RSS reader:

  • Email Newsletters
  • RSS Feeds
Follow Us

Keep up to date with the latest news from ScienceDaily via social networks:

  • Facebook
  • Twitter
  • LinkedIn
Have Feedback?

Tell us what you think of ScienceDaily -- we welcome both positive and negative comments. Have any problems using the site? Questions?

  • Leave Feedback
  • Contact Us
About This Site  |  Staff  |  Reviews  |  Contribute  |  Advertise  |  Privacy Policy  |  Editorial Policy  |  Terms of Use
Copyright 2020 ScienceDaily or by other parties, where indicated. All rights controlled by their respective owners.
Content on this website is for information only. It is not intended to provide medical or other professional advice.
Views expressed here do not necessarily reflect those of ScienceDaily, its staff, its contributors, or its partners.
Financial support for ScienceDaily comes from advertisements and referral programs, where indicated.
Do Not Sell My Personal Information