Putting machine learning in your pocket

machine learning
Credit: Pixabay/CC0 Public Domain

New EPFL/INRIA research shows for the first time that it is possible for our mobile devices to conduct machine learning as part of a distributed network, without giving big global tech companies access to our data.

Every time we read news online or search for somewhere to eat out, big tech collects huge amounts of our behavioral data. Google and Facebook, for example, say they do this to improve service and make our online experiences more personalized.

Their artificial intelligence (AI) filters news for articles they think you will be more interested in, offers videos similar to ones you have watched before, or helps you to find a restaurant based on ones you have previously liked. On the flipside, this data is also used to target advertising towards you, and can be shared with third parties, a key reason that digital privacy issues are so prominent.

Now, for the first time, new research from the Distributed Computing Laboratory and Scalable Computing Systems Laboratory, part of EPFL's School of Computer and Communication Science (IC) and the French National Institute for Research in Digital Science and Technology (INRIA) has shown that it is possible for machine learning—the running of computer algorithms that improve automatically through experience—to be undertaken on our in real time, without compromising their functionality, and without having to share our data.

Conducted in the context of the EPFL/INRIA joint laboratory, the work introduces FLeet, a revolution in what is known as Federated Learning—a global model trained with updates computed on mobile devices while keeping the data of users local. Federated Learning is very appealing for its privacy benefits but because it is designed to have no energy or performance impact on mobile devices it's not suitable for applications that require frequent updates, such as news recommendations.

FLeet combines the privacy of standard Federated Learning with the precision of online learning thanks to two core components: I-Prof, a new lightweight profiler that predicts and controls the impact of learning tasks on mobile devices, and AdaSGD, a new adaptive learning algorithm that is resilient to delayed updates.

As one of the paper's authors, EPFL Professor Rachid Guerraoui explains, it turns out that today our smartphones have both the data and to enable distributed machine learning to take place.

"With FLeet it is possible, while you are using your , to use some of its spare power towards machine learning tasks without having to worry that your call or internet search will be interrupted. One of the reasons this is important, and we don't want the machine learning to only be happening when you are asleep and your phone is on charge, is because sometimes we want, and need, real time information."

Professor Anne-Marie Kermarrec was also an author on the paper, "What we have shown is that if we put all our phones together they start constituting big computing power to match the likes of Google and that gives people alternatives to relying on centralized, powerful computer farms. This is truly collaborative learning where local models are aggregated and contribute to the global model but you don't share raw data and that protects your privacy, a huge motivation behind developing this kind of architecture."

For now, FLeet is a prototype that shows what is possible. Guerraoui and Kermarrec say the next step is to continue work on developing a usable end product as well as research into other aspects of FLeet's design, including how to make the system secure against possible attacks.

"There is a huge trend nowadays to try to bring machine learning activities back to the user because, after all, the data comes from us and we should be able to decide what happens on our own devices and with our own data. Models like FLeet will give people a choice by providing an alternative to the big tech players if they want it," concluded Kermarrec.


Explore further

Researchers build models using machine learning technique to enhance predictions of COVID-19 outcomes

More information: Georgios Damaskinos et al. FLeet, Proceedings of the 21st International Middleware Conference (2020). DOI: 10.1145/3423211.3425685
Citation: Putting machine learning in your pocket (2021, February 15) retrieved 16 May 2021 from https://techxplore.com/news/2021-02-machine-pocket.html
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.
120 shares

Feedback to editors

User comments