My Viral Box Logo
Ad image
  • Funny Stories
  • Weird Stories
  • Scary Stories
  • Ghost Stories
  • Funny Riddles
  • Short Jokes
Reading: Google invented distributed AI for a billion smartphones / Geektimes
Share
MYVIRALBOX MYVIRALBOX
Font ResizerAa
  • Funny Stories
  • Weird Stories
  • Funny Riddles
  • Ghost Stories
  • Scary Stories
Search
  • Funny Stories
  • Weird Stories
  • Scary Stories
  • Ghost Stories
  • Funny Riddles
  • Short Jokes
Have an existing account? Sign In
Follow US
© Foxiz News Network. Ruby Design Company. All Rights Reserved.
MYVIRALBOX > Weird Stories > Google invented distributed AI for a billion smartphones / Geektimes
Weird Stories

Google invented distributed AI for a billion smartphones / Geektimes

MVB Staff
Last updated: April 25, 2024 3:37 pm
MVB Staff
Published: April 7, 2017
Share
6 Min Read
SHARE

Google

Just think, what is the total processing power of all smartphones in the world? This is a huge computing resource that can even emulate even the work of the human brain. You can not have such a resource idle without action, stupidly burning kilowatts of energy on chaticas and tapes of social networks. If you give these computing resources to a single distributed world AI, and even provide it with data from custom smartphones – for training – then such a system can make a qualitative leap in this area.

Standard methods of machine learning require that the data set for learning the model (“primary”) be collected in one place – on one computer, server or in one data center or cloud. Hence, it is taken away by the model that is being trained on this data. In the case of the cluster of computers in the data center, the stochastic gradient method (Stochastic Gradient Descent, SGD) is used, an optimization algorithm that constantly goes through parts of a set of data homogeneously distributed across servers in the cloud.

Google, Apple, Facebook, Microsoft and the rest of the AI ​​players have been doing this for a long time: they collect data – sometimes confidential – from computers and smartphones of users into a single (supposedly) protected storage where they train their neural networks.

Now scientists from Google Research Pre They provided an interesting addition to this standard method of machine learning. They proposed an innovative approach called Federated Learning. It allows all devices that participate in machine learning to share a single model for forecasting at all, but do not share primary data for model training !

Such an unusual approach, perhaps, Reduces the effectiveness of machine learning (although this is not a fact), but it significantly reduces Google’s costs for maintaining data centers. Why should companies invest huge amounts in their equipment if it has billions of Android devices all over the world that can share the load among themselves? Users can be happy with this load, because they thereby help to make better the services that they themselves use. And they also protect their confidential data without sending them to the data center.

Google emphasizes that in this case it is not just that the already trained model runs directly on the user’s device, as it happens in services Mobile Vision API and On-Device Smart Reply. No, it is the training of the model is carried out on the final devices.

The federative training system operates according to the standard principle of distributed computing such as SETI @ Home, when millions of computers solve one big complex problem. In the case of SETI @ Home, this was the search for anomalies in a radio signal from space across the entire spectrum width. And in the case of federative machine learning Google is the improvement of a single common model (yet) of a weak AI. In practice, the training cycle is implemented as follows:

  1. the smartphone downloads the current model;
  2. with the help of a mini version of TensorFlow carries out a learning cycle on the unique data of a particular user;
  3. improves the model;
  4. calculates the difference between the improved source model, makes a patch using the Secure Aggregation crypto protocol, which allows decryption of data only if there are hundreds or thousands of patches from other users;
  5. sends a patch to the central server;
  6. the accepted patch is immediately averaged with thousands of patches received from other participants in the experiment, according to the algorithm of federative averaging;
  7. a new version of the model is rolled out;
  8. an improved model is sent to the participants of the experiment.

Federated averaging is very similar to the above stochastic gradient method, only here the initial calculations do not occur on servers in the cloud, but on millions of remote smartphones. The main achievements of federated averaging are 10-100 times less traffic with clients than traffic with servers using the stochastic gradient method. Optimization is achieved due to high-quality compression of updates, which are sent from smartphones to the server. Well, the cryptographic protocol Secure Aggregation is used here.

Google promises that the smartphone will perform calculations for the distributed world AI system only in times of downtime, so this will not affect performance in any way. Moreover, you can set the operating time only for the time when the smartphone is connected to the mains. Thus, these calculations do not even affect the battery life. At the moment, federated machine learning is already tested on contextual prompts in the Google keyboard – Gboard on Android.

The Federated Averaging algorithm is described in more detail in the scientific paper Communication-Efficient Learning of Deep Networks from Decentralized Data which was published on February 17, 2016 on arXiv.org (arXiv: 1602.05629).

MVB Staff
MVB Staff

You Might Also Like

Former foster mother claims orphan is an adult woman
Rating of cameras according to the quality of pictures 2016-2017
Waves development plan for 2017 / Waves / Geektimes blog
Robots in the industry – their types and varieties / Blog of the company Top 3D Shop / Geektimes
Woman Gives Birth to Twins Ten Years Apart
1 Comment 1 Comment
  • Pingback: "Crooked" server spoils the entire data centers! - MYVIRALBOX

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search Posts

‎‎‎‎‎Explore Our Categories

  • Funny Riddles9
  • Funny Stories532
  • Ghost Stories4
  • Scary Stories28
  • Short Jokes3
  • uncategorized1
  • Weird Stories484
Ad image

Latest added

Long Story Short Review
Funny Stories

Long Story Short Review: A Hilarious, Heartfelt Dive Into Family Chaos

August 25, 2025
Bizarre Buildings That’ll Blow
Weird Stories

Inside the World’s Weirdest Buildings: Architecture That Breaks All the Rules

August 22, 2025
Good Boy Horror Film
Scary Stories

Good Boy Horror Film Unleashed: Dog’s-Eye Terror Hits Cinemas This October

August 20, 2025
100 funny jokes to tell your friends
Short Jokes

100 Jokes So Funny, Your Friends Will Beg for More

August 18, 2025
AI Fools Millions
Scary Stories

AI Hoax Alert: The Fake Jessica Radcliffe Orca Attack Video That Fooled Millions

August 15, 2025
How ‘Naked Gun’
uncategorized

How ‘The Naked Gun’ Reboot Makes Dumb Jokes Brilliant Again

August 13, 2025

Explore More

  • Privacy Policy
  • Submit Your Silly Stories

Follow US on Social Media

Facebook Instagram Pinterest Envelope-open

My Viral Box Logo

About My Viral Box

MyViralBox brings together all the weird, wacky, scary and funny news from around the web in one place to brighten your day. You might scratch your head; you might laugh out loud; you might glance over your shoulder; but you’re gonna have fun whenever you drop by. Funny news, weird news, chill-inducing spookiness, jokes and riddles of all kinds, plus whatever else we come across that we think just has to go viral; you’ll find it all right here!

© My Viral Box. All Rights Reserved.

Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?