<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Research | Ukant Jadia</title><link>https://ukantjadia.github.io/tag/research/</link><atom:link href="https://ukantjadia.github.io/tag/research/index.xml" rel="self" type="application/rss+xml"/><description>Research</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Sun, 16 Jun 2024 14:15:39 +0530</lastBuildDate><image><url>https://ukantjadia.github.io/media/icon_hu5e29e1df12b63ca0c9252c8db4842f1b_8915_512x512_fill_lanczos_center_3.png</url><title>Research</title><link>https://ukantjadia.github.io/tag/research/</link></image><item><title>Federated Learning vs. De-Anonymization -- Protecting Your Data</title><link>https://ukantjadia.github.io/post/fl-2/</link><pubDate>Sun, 16 Jun 2024 14:15:39 +0530</pubDate><guid>https://ukantjadia.github.io/post/fl-2/</guid><description>&lt;h1 id="federated-learning-vs-de-anonymization-protecting-your-data">Federated Learning vs. De-Anonymization: Protecting Your Data&lt;/h1>
&lt;p>In simple terms, federated learning is a technique where a machine learning model is shared with different nodes, clients, or data collectors (like IoT devices). Each client device trains the model locally using its own data and then sends the updated parameters and weights to a central model. This central model then aggregates these updates, learns from them, and shares the new parameters back with the client models.&lt;/p>
&lt;p>Here are some terms used in this process:&lt;/p>
&lt;ul>
&lt;li>&lt;strong>Client:&lt;/strong> Total number of devices involved in the federated learning process.&lt;/li>
&lt;li>&lt;strong>Active Client:&lt;/strong> Some clients are selected to perform training based on certain conditions such as stable network connection, charging status, etc.&lt;/li>
&lt;li>&lt;strong>Round:&lt;/strong> The number of times each active node will perform training locally and then share the final parameters with the central model.&lt;/li>
&lt;/ul>
&lt;p>Even when data is made anonymous, personal information can still be revealed. Two cases illustrate this issue:&lt;/p>
&lt;p>&lt;strong>Case 1: Revealing the Identity of Netflix Users&lt;/strong>&lt;/p>
&lt;p>Netflix shared anonymous viewing data for a competition to enhance its recommendation system. Yet, researchers managed to uncover the identities of individuals by linking this data with publicly available IMDb ratings. By comparing the viewing habits of a small number of users in both datasets, the researchers were able to identify specific people and their viewing preferences. This raised serious concerns about the reliability of anonymization methods.&lt;/p>
&lt;p>&lt;strong>Case 2: Strava Heat Map Exposing Military Locations&lt;/strong>&lt;/p>
&lt;p>Strava, a fitness-tracking app, creates a map showing the activity levels of its users around the world. Although the data is anonymous, it has accidentally revealed sensitive military locations. Researchers discovered that by studying the map, they could figure out how people move in remote areas. In some cases, this helped them locate military bases and track the movements of personnel, disclosing important information.&lt;/p>
&lt;h2 id="measures-to-prevent-information-leaks-in-federated-learning">Measures to Prevent Information Leaks in Federated Learning&lt;/h2>
&lt;p>To mitigate the risks associated with data de-anonymization, several techniques can be employed:&lt;/p>
&lt;ul>
&lt;li>
&lt;p>&lt;strong>Stochastic Gradient Descent (SGD):&lt;/strong>
SGD is a technique used in machine learning to improve a model by adjusting weights based on the gradient of the loss function. By adding noise to the gradient calculation, it can enhance privacy protection by making it more difficult to extract exact data points.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Differential Privacy:&lt;/strong>
Differential privacy means sharing information about a group without revealing information about individuals. It ensures that adding or removing a single data point doesn&amp;rsquo;t significantly change the results, protecting individual privacy.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>&lt;strong>Federated Averaging:&lt;/strong>
Federated averaging is a method used in federated learning where multiple devices work together to train a model without sharing their raw data. Each device calculates updates to the model based on its local data. Only the updates, not the data itself, are shared and averaged to improve the global model. This approach helps maintain data privacy across decentralized systems.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="conclusion">Conclusion&lt;/h2>
&lt;p>Protecting personal information in the age of big data is a tough job that requires advanced techniques. The example of Netflix and Strava shows that even when data is anonymized, it can still be at risk of de-anonymization attacks. By using methods like stochastic gradient descent, differential privacy, and federated averaging, organizations can improve their data protection measures and better protect individual privacy.&lt;/p>
&lt;h2 id="references">References&lt;/h2>
&lt;ul>
&lt;li>How To Break Anonymity of the Netflix Prize Dataset &lt;a href="https://arxiv.org/pdf/cs/0610105" target="_blank" rel="noopener">Paper&lt;/a>&lt;/li>
&lt;li>Anonymity and the Netflix Dataset - &lt;a href="https://www.schneier.com/blog/archives/2007/12/anonymity_and_t_2.html" target="_blank" rel="noopener">An Essay&lt;/a>&lt;/li>
&lt;li>Heat Marks the Spot: De-Anonymizing Users’ Geographical Data on the Strava Heatmap - &lt;a href="https://conpro23.ieee-security.org/papers/childs-conpro23.pdf" target="_blank" rel="noopener">Paper&lt;/a>&lt;/li>
&lt;li>Lecture 23 — Differentially Private Machine Learning - By &lt;a href="http://www.gautamkamath.com/" target="_blank" rel="noopener">Prof. Gautam Kamath&lt;/a> - &lt;a href="http://www.gautamkamath.com/courses/CS480-wi2021-files/lec23-notes.pdf" target="_blank" rel="noopener">Lecture Notes&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>Introduction to Federated Learning</title><link>https://ukantjadia.github.io/post/fl/</link><pubDate>Sat, 16 Mar 2024 14:15:39 +0530</pubDate><guid>https://ukantjadia.github.io/post/fl/</guid><description>&lt;h1 id="intro-to-flfederated-learning">Intro to FL(Federated Learning)&lt;/h1>
&lt;h2 id="the-problem-with-current-machine-learning">The Problem with Current Machine Learning&lt;/h2>
&lt;p>Data goes to your model.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>Getting data from different sources can change the true nature and authenticity of the data. It also creates worries about sharing and keeping the collected data private.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>Today&amp;rsquo;s machine learning algorithms have data stored in one central place. This means the authenticity and originality of the data can be altered, and the data can be fake or synthetic.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;h2 id="the-solution-federated-learning-fl">The Solution: Federated Learning (FL)&lt;/h2>
&lt;p>In FL, your model goes to the data.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>In simpler terms, your model is shared and spread across the different data sources, and your model is trained on the data on individual devices or machines. All the updated model weights are then combined into a central model.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>There is a main central model that communicates with other models distributed across many client devices. The client model is trained on the client&amp;rsquo;s system multiple times in rounds so that it can handle different types of data. After addressing data issues, the distributed models share their final weights with the central model.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>For example, people from different regions use Google&amp;rsquo;s keyboard, and they get suggestions in their local languages.&lt;/p>
&lt;p>Another example we&amp;rsquo;re all familiar with is next-word predictions on our phone keyboards. The suggestions are based on our typing habits.&lt;/p>
&lt;p>Another use case is detecting anomalies in industrial IoT devices, as different IoT devices work differently based on their surroundings and characteristics, needing different maintenance predictions from other IoT devices.&lt;/p>
&lt;h2 id="how-fl-is-effective">How FL is Effective&lt;/h2>
&lt;p>There are various methods to use data from different sources and train models, but Federated Learning is a proven and widely used technique. It solves privacy issues and the risk of exposing personal data by not taking data from clients.&lt;/p>
&lt;ul>
&lt;li>
&lt;p>For data generalization, having many different forms of data can reduce the performance of a regular machine-learning model. To avoid this, our model should be able to handle all kinds of data.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The machine learning model should use less computing power so it doesn&amp;rsquo;t overload client devices and machines.&lt;/p>
&lt;/li>
&lt;li>
&lt;p>The model should be trained in multiple rounds to train efficiently by handling the different types of data and resource availability on clients&amp;rsquo; devices.&lt;/p>
&lt;/li>
&lt;/ul>
&lt;p>
&lt;figure >
&lt;div class="d-flex justify-content-center">
&lt;div class="w-100" >&lt;img alt="1710596229818" srcset="
/post/fl/image/intro/1710596229818_hu6ffe9f252afaf5e06e5faa8367eb2977_212598_76e1cda44e620089b6449ed49943b0c1.webp 400w,
/post/fl/image/intro/1710596229818_hu6ffe9f252afaf5e06e5faa8367eb2977_212598_1ef2fec02430fbbbfe1328ecbfdaf52b.webp 760w,
/post/fl/image/intro/1710596229818_hu6ffe9f252afaf5e06e5faa8367eb2977_212598_1200x1200_fit_q75_h2_lanczos_3.webp 1200w"
src="https://ukantjadia.github.io/post/fl/image/intro/1710596229818_hu6ffe9f252afaf5e06e5faa8367eb2977_212598_76e1cda44e620089b6449ed49943b0c1.webp"
width="760"
height="428"
loading="lazy" data-zoomable />&lt;/div>
&lt;/div>&lt;/figure>
&lt;em>&lt;a href="https://www.altexsoft.com/blog/federated-learning/" target="_blank" rel="noopener">source&lt;/a>&lt;/em>&lt;/p>
&lt;p>Reading Material &lt;a href="https://www.altexsoft.com/blog/federated-learning/" target="_blank" rel="noopener">link&lt;/a>&lt;/p></description></item></channel></rss>