# Building privacy into AI: is the future federated?
Author:  Pal Sinha, Barnali 
Author URL: https://financedigest.com/author/pal-sinha-barnali
Published: 2021-10-29
Category: TECHNOLOGY
Category URL: https://financedigest.com/category/technology
Meta Title: Navigating Privacy Challenges in the Digital World
Meta Description: Learn how the exponential growth of data is impacting businesses &amp; privacy, and how Federated Learning is revolutionising machine learning to protect
URL: https://financedigest.com/building-privacy-into-ai-is-the-future-federatedhtml

![undefined](https://prod.superblogcdn.com/site_cuid_cm5qst7v3003gwirgwqtxn8i8/images/people-and-binary-data-concept-sbi-300187514-1736837498449-compressed.jpg)

_![](https://prod.superblogcdn.com/site_cuid_cm5qst7v3003gwirgwqtxn8i8/images/10-1736837498334-compressed.jpg)_

_By **Dr. Aydin Ulas,** Data Scientist at Truata_

The changing dynamics of the digital world have led to several privacy challenges for businesses, large and small. This is placing increasing pressure on them to evolve their processes and strategies. Much of the burden stems from the sheer volume of data present today, and this exponential growth is set to continue on its upward trajectory in correlation with the pace of accelerated digital transformation In fact, the volume of data is predicted to balloon to [175 zettabytes (ZB) by 2025](https://www.networkworld.com/article/3325397/idc-expect-175-zettabytes-of-data-worldwide-by-2025.html). Today, it is simply beyond human capability to be able to effectively process and protect privacy without the assistance of privacy-enhancing technologies (PETs).

This has led to an explosion of adaptive machine learning (ML) algorithms that can  wade through the mountain of [data while continuously, and efficiently, changing their behaviour in real-time as new data streams are fed](https://www.financedigest.com/stocks-sag-as-hawkish-fed-cools-china-rally-awaits-us-jobs-data.html "Stocks sag as hawkish Fed cools China rally; awaits US jobs data") into them.  However, while ML is key to leveraging and learning from [big data](https://www.financedigest.com/hedge-funds-suffer-big-outflows-in-q2-data.html "Hedge funds suffer big outflows in Q2 – data") at scale, it can create privacy challenges. In fact, traditional ML requires data to be stored on a centralised server for analysis which can include transporting data to cloud environments; this opens the doors to a plethora of [security and privacy](https://www.financedigest.com/privacy-vs-security-is-the-cybersecurity-information-sharing-act-beneficial.html "PRIVACY VS SECURITY: IS THE CYBERSECURITY INFORMATION SHARING ACT BENEFICIAL?") implications. As such, the technology has also met resistance from consumers who, despite preferring personalization when it comes to ad targeting, do not want to lose control of their [personal data](https://www.financedigest.com/five-ways-to-keep-your-personal-data-safe-from-hackers.html "Five ways to keep your personal data safe from hackers") to feed that convenience. Worries over how data is being stored and used after being collected and transferred to a centralised location is also impacting digital trust and sparking cynicism over AI advancements that are being [fueled](https://www.financedigest.com/in-the-supply-chain-clean-data-is-the-fuel-of-the-future.html "In the supply chain, clean data is the fuel of the future") by data.

**Taking it to the edge**

These privacy and security concerns have led the charge for ML technology that can [work in a way](https://www.financedigest.com/five-ways-to-keep-your-head-above-water-while-working-from-home.html "Five ways to keep your head above water while working from home") that preserves  consumer privacy, which is why federated learning (FL) has gained such momentum. Federated learning, put simply, is a decentralised form of machine learning. It is a method of training an algorithm on user data across multiple decentralised [edge](https://www.financedigest.com/asian-stocks-edge-up-before-u-s-jobs-data-defying-wall-street-selloff.html "Asian stocks edge up before U.S. jobs data, defying Wall Street selloff") devices or servers without needing to exchange or transfer that data to a central location. This means that the data remains ‘sticky’ to a consumer’s mobile phone, tablet or laptop; however, it does [pose the challenge](https://www.financedigest.com/how-can-banks-overcome-the-challenges-posed-by-covid-19.html "How can banks overcome the challenges posed by COVID-19?") of how to find a common representation over these devices.

With decentralised federated learning, a [global model is generated in a central](https://www.financedigest.com/global-central-banks-extend-rate-hike-push-in-november.html "Global central banks extend rate hike push in November") server and the data to train this model is distributed across edge devices. All [edge devices use the model to compute](https://www.financedigest.com/fintechs-should-accelerate-into-edge-computing-to-maintain-momentum.html "Fintechs should accelerate into edge computing to maintain momentum") updated parameters with their data and then transport these parameters to the central node. The central node then [computes an aggregated parameter set](https://www.financedigest.com/embracing-cloud-computing-how-and-why-organisations-are-set-to-invest-more-in-cloud-computing-in-2023.html "Embracing Cloud Computing: How and why organisations are set to invest more in cloud computing in 2023") from the parameters conveyed by edge devices and sends this back to the edge. This is a good compromise as the data stays with the owner, while still being used to create insights centrally. Bringing the mountain to Muhammad, if you will, the model is brought to the data where it can be trained/updated rather than the data having to go to the model. Federated learning is one of the best examples of the new breed of edge computing, where computation and data storage are brought closer to the source of data. In the case of targeted advertising, that source being the consumer themselves.

Looking to support a privacy-first future for web advertising, and protect its biggest revenue stream, Google is a leading proponent of the technology and has recently launched its [Federated Learning of Cohorts (FLoC)](https://blog.google/products/ads-commerce/2021-01-privacy-sandbox/) as a replacement for traditional third-party cookies, which it plans to stop supporting by 2023.

With FLoC, Google groups consumers into cohorts based on their browsing history for the purpose of interest-based targeted advertising. FLoC is part of the company’s wider [Privacy Sandbox](https://privacysandbox.com/) initiative, which includes several other advertising-related technologies with bird-themed names. In a nutshell, the user’s browser uses an algorithm (developed by Google) to label a user (put the person in a “cohort”) and this label travels everywhere with the user. The algorithm could use any information available to the browser on the edge device to model/select the cohort; the initial proof of concept uses domains visited by the user. In order to keep privacy constrains in check, a central node is needed to handle cases where there are cohorts with a low number of individuals in them.

**Spreading the load**

While there are multiple benefits to federated learning, it does have certain limitations. Not least of which is the fact that the [technology requires frequent communication](https://www.financedigest.com/peppermint-technology-revamps-communications-with-via-voice-solution.html "PEPPERMINT TECHNOLOGY REVAMPS COMMUNICATIONS WITH VIA VOICE SOLUTION") between the nodes during the learning process to be able to work. Thus, it requires not only enough local computing power and memory, which might affect user experience, but also the user’s bandwidth to be able to exchange parameters of the machine [learning model](https://www.financedigest.com/learning-from-the-disrupters-how-finance-brands-can-build-transformative-business-models.html "Learning from the disrupters – how finance brands can build transformative business models") in real time.

Luckily, with the emergence of technologies such as 5G, today’s communications infrastructure is more than robust enough to handle this. Plus, the edge devices that technologies such as Google’s FLoC are typically talking to tend to be powerful mobile phones with several gigabytes of memory. This means that certain technical barriers to federated learning have been all but removed.

Moving computing to the edge can, in fact, be thought of as a positive for businesses. Federated learning spreads the load. Because the computation is being undertaken on powerful consumer devices, [businesses don’t need to invest](https://www.financedigest.com/analysis-uk-crisis-forces-off-kilter-businesses-to-halt-investment.html "Analysis-UK crisis forces ‘off kilter’ businesses to halt investment") in as much costly central computing power as they otherwise would.

**Plugging the gaps**

Because federated learning enables multiple actors to build a common, robust ML model without sharing data, it addresses critical issues for ML, such as [data security](https://www.financedigest.com/assurance-v-security-reassessing-responsibility-for-data-assurance.html "Assurance v Security: Reassessing Responsibility for Data Assurance"), data access rights, and access to heterogeneous data. Since the database is segmented into disparate parts held locally on devices and only learning parameters are exchanged, it makes it more difficult to hack. However, whilst it will undoubtedly become an important part of the [modern marketing technology](https://www.financedigest.com/how-is-modern-technology-shaping-our-in-store-experience.html "How Is Modern Technology Shaping Our In Store Experience?") stack, federated learning must be implemented carefully. Even though such a technique is, by its very nature, a leap forward in data privacy, it is still imperative that privacy-by-design principles are observed at all times.

Privacy-by-design proactively embeds privacy into the design and operation of IT systems, networked infrastructure, and [business practices](https://www.financedigest.com/exact-launches-practice-management-solution-to-help-transform-accountants-into-trusted-business-advisors.html "Exact launches Practice Management solution to help transform accountants into trusted business advisors"). As such, it is important to [keep its principles front and centre of your thinking](https://www.financedigest.com/the-pull-of-the-past-1-in-5-keep-items-they-think-will-be-valuable-in-the-future.html "The pull of the past! 1 in 5 keep items they think will be valuable in the future"). Only when federated learning is paired with other privacy mechanisms­—such as secure multi-party computation, differential privacy and [quantitative measurement](https://www.truata.com/products/truata-calibrate/)—can privacy risks be considered addressed. With federated learning, therefore, it is a case of plugging the gaps to ensure you [remain compliant with increasingly stringent privacy regulations](https://www.financedigest.com/survey-finds-regulation-remains-top-financial-services-priority-for-2017.html "Survey finds Regulation Remains Top Financial Services Priority for 2017").

Despite the aforementioned benefits of FLoC and federated learning, there is still a privacy question that should be discussed: “Should the model parameters that are transferred be considered as personal information, and where do we draw the line?” This surfaces a new layer of global privacy complexities that would need to be navigated since some [laws prevent](https://www.financedigest.com/eu-seeks-deal-on-law-preventing-import-of-deforestation-linked-goods.html "EU seeks deal on law preventing import of deforestation-linked goods") personal data from leaving the jurisdiction, which makes privacy-by-design all the more important.

**A [challenge of the digital](https://www.financedigest.com/how-digital-innovation-in-challenger-banks-encourages-legacy-banks-to-perform-better.html "How digital innovation in challenger banks encourages legacy banks to perform better") era**

Legacy ML techniques have, and do, create privacy and security issues. Consumers are increasingly resistant to having data analysed that has been removed from their devices, and there will always be re-identification [risks associated with that data](https://www.financedigest.com/how-data-visualisation-is-helping-the-insurance-sector-understand-environmental-risks.html "How data visualisation is helping the insurance sector understand environmental risks").  Federated learning however, [reduces this risk because the data](https://www.financedigest.com/durham-county-council-reduces-data-log-analysis-costs-by-50-with-real-time-analysis-and-security-tool.html "Durham County Council reduces data log analysis costs by 50% with real-time analysis and security tool") is never in transit and always remains on the consumer’s device. Quite simply, if your phone dies, your data dies with it.

As the global wave of privacy legislation and privacy activism continues to accelerate the need for privacy-preserving techniques, federated learning is one worthy example of the progress that is being made to mould a data-led economy that is underpinned by privacy. The adoption of privacy-enhancing technologies is not only transforming the [way businesses](https://www.financedigest.com/6-ways-how-to-create-great-tiktok-videos-for-your-business.html "6 Ways How to Create Great TikTok Videos For Your Business") approach challenges with compliance, but also the way they overcome operational inefficiencies and accelerate data-driven strategies or further evolve AI initiatives. Rather than looking at data privacy as a business blocker, those embracing a privacy-by-design ethos are understanding that protecting privacy is a gateway to a greater depth of insights that can fuel [growth and power](https://www.financedigest.com/power-squeeze-curbs-chinese-growth-leaves-europe-in-a-gas-bind.html "Power squeeze curbs Chinese growth, leaves Europe in a gas bind") innovation.


---
This blog is powered by Superblog. Visit https://superblog.ai to know more.
---

