<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Deepak Pandey on Medium]]></title>
        <description><![CDATA[Stories by Deepak Pandey on Medium]]></description>
        <link>https://medium.com/@d.pandey11585?source=rss-37eca6403773------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*_NgCtsu74bt5qeL4gJXmnA.png</url>
            <title>Stories by Deepak Pandey on Medium</title>
            <link>https://medium.com/@d.pandey11585?source=rss-37eca6403773------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:20:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@d.pandey11585/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Becoming Visible to Your Skip Leader: A Young Employee’s Guide to Success in Corporate]]></title>
            <link>https://medium.com/@d.pandey11585/becoming-visible-to-your-skip-leader-a-young-employees-guide-to-success-in-corporate-8cfe9aebf02c?source=rss-37eca6403773------2</link>
            <guid isPermaLink="false">https://medium.com/p/8cfe9aebf02c</guid>
            <category><![CDATA[success]]></category>
            <category><![CDATA[young-professionals]]></category>
            <category><![CDATA[promotion]]></category>
            <category><![CDATA[career-growth]]></category>
            <category><![CDATA[corporate-culture]]></category>
            <dc:creator><![CDATA[Deepak Pandey]]></dc:creator>
            <pubDate>Tue, 07 Mar 2023 13:00:47 GMT</pubDate>
            <atom:updated>2023-03-07T13:00:47.540Z</atom:updated>
            <content:encoded><![CDATA[<h3>Take Charge of your career with this Hack: A young Employee’s guide</h3><p>In today’s corporate world, standing out among a sea of talented employees can be a challenge. The ever-changing macroeconomic situations and mass layoffs have caused a sense of panic in all of us on what the future holds. Although I am sure that you are already trying to find that extra edge to stay “relevant” for your teams and organizations, today I am going to talk about one tip that I believe instantly increases your chances of survival and acts as <strong>THE</strong> safeguard mechanism in these tough times.</p><p>If you want to ensure continued success in your career, the most important thing to do is to <strong>be visible</strong>, more specifically <strong>be visible to your skip leader.</strong></p><p>As a young employee working in a Fortune 100 company, I have learned the importance of being visible to my skip leader and have found ways to achieve this. In my career so far, I have had multiple opportunities to directly work with my skip leader on BAU projects, new initiatives, and brainstorming sessions. In this article, I will share my learnings and insights on how to become visible to your skip leader and enhance your career prospects.</p><h4><strong>1. Delivering Quality Work</strong></h4><p>The first and foremost aspect of becoming visible to your skip leader is delivering quality work. You need to consistently deliver high-quality work and exceed expectations. In my experience, delivering quality work helps build your reputation and gain recognition from your senior leaders. It is essential to show that you are competent, reliable, and trustworthy. You can further strengthen your position as an SME (Subject Matter Expert) on certain tools, processes, and customers of your team and organization.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NhROVzRRXVnzVnQY" /><figcaption>Photo by <a href="https://unsplash.com/@homajob?utm_source=medium&amp;utm_medium=referral">Scott Graham</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>“Delivering quality work is essential to building a strong reputation in the corporate world. It is important to establish yourself as a reliable and competent employee.”</blockquote><h4>2. Taking Accountability and Ownership</h4><p>Another critical aspect of becoming visible to your skip leader is taking accountability and ownership of your work. Being accountable means taking responsibility for your actions and decisions, whereas ownership means taking full responsibility for your work and its outcomes. By taking accountability and ownership, you demonstrate your commitment to your work and your team’s success.</p><p>Accountability and ownership are among the most valued skills in corporate, and people showing high levels of accountability are often considered for leadership positions.</p><blockquote>“Accountability and ownership are essential qualities that showcase your dedication to your work and the team. It helps to establish a reputation as a reliable and dependable employee.”</blockquote><h4>3: Building Strong Relationships</h4><p>Building strong relationships with your colleagues, team members, and senior leaders is crucial in the corporate world. It helps you gain visibility and build your network. It would help if you worked towards building positive relationships with your skip leader by communicating with them regularly and updating them on your work progress. Building strong relationships with your team members also helps you work collaboratively and achieve success as a team.</p><p>It is also crucial to act as a representative and advocate for your team within and outside of your organization, this not only provides you a sense of appreciation for your role but also puts you into a position where leaders are more open to sharing ideas and future plans for your team, and hopefully include you into the decision-making process as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1zqcrTqpkFG5VtjZ" /><figcaption>Photo by <a href="https://unsplash.com/@chrisliverani?utm_source=medium&amp;utm_medium=referral">Chris Liverani</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>“Building strong relationships is crucial to becoming visible to your skip leader. It helps you build your network and work collaboratively with your team.”</blockquote><h4>4. Seizing Opportunities</h4><p>Seizing opportunities to showcase your skills and abilities is another way to gain visibility with your skip leader. Volunteer for challenging projects, take on additional responsibilities and participate in training programs that can enhance your skills. These opportunities will help you showcase your potential and demonstrate your commitment to your work.</p><p>I have often used the “Refer &amp; Grab” model to seize new opportunities, here’s how it goes.</p><ol><li>Attend planning, project onboarding, and meet &amp; greet calls with other teams.</li><li>Write about your experience of working on similar projects in the past with your leaders &amp; express interest in the incoming project.</li></ol><blockquote>“Seizing opportunities to showcase your skills and abilities is essential to gain visibility with your skip leader. It helps you demonstrate your potential and commitment to your work.”</blockquote><h4>Conclusion</h4><p>In conclusion, becoming visible to your skip leader requires consistent effort and a strong commitment to your work. Delivering quality work, taking accountability and ownership, building strong relationships, and seizing opportunities are key ways to gain visibility and enhance your career prospects. Remember that building visibility takes time, patience, and perseverance. By following these tips, you can become visible to your skip leader and achieve success in the corporate world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8cfe9aebf02c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Probabilistic tools for Privacy in Data Analysis]]></title>
            <link>https://medium.com/data-science/probabilistic-tools-for-privacy-in-data-analysis-a715ec5ac25c?source=rss-37eca6403773------2</link>
            <guid isPermaLink="false">https://medium.com/p/a715ec5ac25c</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[differential-privacy]]></category>
            <dc:creator><![CDATA[Deepak Pandey]]></dc:creator>
            <pubDate>Tue, 30 Jul 2019 20:30:37 GMT</pubDate>
            <atom:updated>2019-07-30T20:30:37.717Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*acUYm6Xmr6BMi45g" /><figcaption>Photo by <a href="https://unsplash.com/@srd844?utm_source=medium&amp;utm_medium=referral">Stephen Dawson</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>We will continue our journey to learn about differentially private algorithms, this time exploring more probabilistic tools.</h4><p>In the last article, we learned how to design a differentially private algorithm using the theory of large numbers, and probability.</p><p>I encourage you to check it out before moving forward, to better understand the scope of this tutorial.</p><p><a href="https://towardsdatascience.com/a-coin-some-smokers-and-privacy-in-data-analysis-1339b83ede74">A Coin, Some Smokers, and Privacy in Data Analysis</a></p><p>If you went through the last article of this series, you already know that any randomized algorithm M can be ( <strong>ε, δ) differentially private algorithm, </strong>if it satisfies the properties of being one such.</p><p>One of the core properties of that approach was to inject noise to the data itself, before doing any kind of analysis, or even putting it into a database. Introducing randomness to the data like this is quite common in privacy-preserving data analysis, in fact, it has a special name called <strong>Local Differential Privacy.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EOG9BJVDo93f4MwR" /><figcaption>Photo by <a href="https://unsplash.com/@franki?utm_source=medium&amp;utm_medium=referral">Franki Chamaki</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>However, the idea of corrupting our data, just for the sake of preventing it from an adversary sounds very compromising. There must be some other way.</blockquote><p>The two questions that should come to our mind at this point are :</p><ul><li>Is local differential privacy is the only way to prevent leakage of private data, is there any way that can provide privacy without corrupting our data?</li><li>Are there any other algorithms apart from randomized response to solve this problem of privacy-preserving data analysis?</li></ul><p>We will try to solve these two problems in this article.</p><h3>Global Differential Privacy — An Introduction :</h3><p>We already learned that in the case of Local Differential privacy we add noise to the input data points. So, each individual can add noise to there own data, thus eliminating the need to trust the data owner or curator at all. <strong>We can say that in this setting individuals privacy is most protected.</strong></p><p><strong>Global differential privacy</strong>, on the other hand, adds <strong>noise to the output of a query on a database</strong>. Thus, in this case, we have a database with the whole bunch of sensitive information but any query to this database is not necessarily generating the true results, as these results are corrupted.</p><blockquote>But if, local differential privacy is more protective to individuals private information, why use global differential privacy at all?</blockquote><p>If you remember from the last article you should know that, there is always a tradeoff between accuracy and privacy. So if you are targetting for more privacy, it will come to you, but at the cost of losing some accuracy. Considering this, the only difference between Local and Global differential privacy is :</p><blockquote><strong>If the data owner is trustworthy, then Global differential privacy result in more accurate results, for the same levels of privacy protection.</strong></blockquote><p><strong>An important concern is to have a trustworthy owner or curator,</strong> if found, we can have better accuracy for the same levels of privacy, because in the settings of Global Differential Privacy we are not corrupting our data anymore, but instead we are adding the required noise to the output of our Query to that database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uC8yzu_fMja8GLJW_Kg3hw.png" /><figcaption>Difference b/w Local and Global Privacy Settings</figcaption></figure><p>The above-given diagram explains it effortlessly. However, our existing approach to preserve privacy does not provide room for applying Global differential privacy, so we need to design a different algorithm to do so.</p><h3>The Laplacian Mechanism for Preserving Privacy:</h3><p>In the last article, we learned about a technique for implementing differential privacy, the algorithm we designed gave the data generators a sense of <strong><em>plausible deniability</em></strong> and thus allowed them to add noise to the data.</p><p>Here we will learn about one more commonly used tool for providing us differential privacy,<strong> The Laplacian Mechanism,</strong> which gives differential privacy for real (vector) valued queries. These queries map databases to some real numbers instead of integer values.</p><p><strong>ℓ1- sensitivity </strong>can again be used to determine how accurately we can answer the queries to the database, and therefore, intuitively, the uncertainty in the response that we must introduce to hide the participation of a single individual. Thus the laplacian mechanism helps us to preserve privacy under the settings of Global differential privacy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*CSpLTJmgzNOkNi9Ew-envg.png" /></figure><p>The sensitivity of a function(Query) also tells us how much we must perturb its output to preserve privacy, it gives us the measure of the maximum possible change in the output of a query. The Laplacian Mechanism will simply compute <strong>func</strong>, and perturb each coordinate with noise drawn from the Laplace distribution. The scale of the noise will be calibrated to the sensitivity of <strong>func</strong> (divided by <strong>ε</strong>), this is called <strong>beta.</strong></p><p><strong>beta = Lap ( Δf / ε )</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*79EPd2KHzxfPe9rxaDvJLQ.png" /><figcaption>From the Algorithmic Foundation of Diff. Privacy</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*4cHv4nxx09fzT-aJC2fYhA.png" /><figcaption>Formalizing Laplace mechanism</figcaption></figure><blockquote><strong><em>Thus in case of a laplacian mechanism instead of adding noise to the data before querying we add this noise to the output of the query on the database. Laplacian Mechanism simply adds noise from symmetric continuous distribution to the true answer, as we can see in the above diagram.</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1FB4JONwuZXqf-p3" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>An important point to understand here is that in the case of Laplacian Mechanism this symmetric continuous distribution is centered around zero.</p><p>A great proof for why Laplacian Mechanism is ( <strong>ε, 0) differentially private algorithm </strong>is provided in Cynthia Dwork’s Algorithmic Foundation of Differential Privacy.</p><h3>Wrapping UP :</h3><p>In this article, we learned about the differences between Local and Global differential privacy and also introduced an algorithm to achieve differential privacy using the settings of the later one.</p><p>The next few articles in the series will be more focused on using differential privacy for Deep Learning.</p><p>Stay Tuned. Happy Learning for now.</p><p>PS. This is my third article on medium, so any feedback and suggestions are most welcome.</p><p><strong>Resources :</strong></p><ol><li><a href="https://www.cis.upenn.edu/~aaroth/Papers/privacybook.pdf?source=post_page---------------------------">https://www.cis.upenn.edu/~aaroth/Papers/privacybook.pdf</a></li><li><a href="http://www.cis.upenn.edu/~ahae/papers/epsilon-csf2014.pdf?source=post_page---------------------------">http://www.cis.upenn.edu/~ahae/papers/epsilon-csf2014.pdf</a></li><li><a href="http://dimacs.rutgers.edu/~graham/pubs/slides/privdb-tutorial.pdf">http://dimacs.rutgers.edu/~graham/pubs/slides/privdb-tutorial.pdf</a></li><li><a href="https://arxiv.org/pdf/1808.10410.pdf">https://arxiv.org/pdf/1808.10410.pdf</a></li><li><a href="https://towardsdatascience.com/understanding-differential-privacy-85ce191e198a">https://towardsdatascience.com/understanding-differential-privacy-85ce191e198a</a></li><li><a href="https://towardsdatascience.com/a-coin-some-smokers-and-privacy-in-data-analysis-1339b83ede74">https://towardsdatascience.com/a-coin-some-smokers-and-privacy-in-data-analysis-1339b83ede74</a></li><li><a href="https://towardsdatascience.com/mr-x-netflix-and-privacy-in-data-analysis-f59227d50f45">https://towardsdatascience.com/mr-x-netflix-and-privacy-in-data-analysis-f59227d50f45</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a715ec5ac25c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/probabilistic-tools-for-privacy-in-data-analysis-a715ec5ac25c">Probabilistic tools for Privacy in Data Analysis</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Coin, Some Smokers, and Privacy in Data Analysis]]></title>
            <link>https://medium.com/data-science/a-coin-some-smokers-and-privacy-in-data-analysis-1339b83ede74?source=rss-37eca6403773------2</link>
            <guid isPermaLink="false">https://medium.com/p/1339b83ede74</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[privacy]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[differential-privacy]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Deepak Pandey]]></dc:creator>
            <pubDate>Fri, 19 Jul 2019 22:30:35 GMT</pubDate>
            <atom:updated>2019-07-19T22:30:35.937Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3ElRQwNGctQwPFvR" /><figcaption>Photo by <a href="https://unsplash.com/@kmuza?utm_source=medium&amp;utm_medium=referral">Carlos Muza</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>We will continue our quest to learn about techniques of privacy preserving data analysis, digging deeper into the foundations of differential privacy this time.</h4><p>In the last article, I introduced you to the notion of differential privacy, and why does it gives you an upper hand on good old’ data anonymization.</p><p>I would highly suggest you to check that article before reading further, to better understand the scope of our learning.</p><p><a href="https://towardsdatascience.com/mr-x-netflix-and-privacy-in-data-analysis-f59227d50f45">Mr. X, Netflix, and Privacy in Data Analysis</a></p><p>So we now know that differential privacy helps us preserve the private information of an individual in a database, and prevent the LEAKAGE of data. Before introducing formally how it does that, let’s do a real world project to better understand the underlying ideas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_4Q-Gl-4b74wvp_I" /><figcaption>Photo by <a href="https://unsplash.com/@helloquence?utm_source=medium&amp;utm_medium=referral">Helloquence</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>Suppose you are a data analyst, and you are given a task to identify the key factors which correlate mostly with the habit of smoking, since you don’t have a data set to continue with, you decides to conduct an open survey at the park near your house. You decided to go and ask people if they smoke or not and some other questions. However since smoking is not a very good habit and disclosing it in public can bring problems to a person, some people are not very excited to talk about it, or we can say that it is a kind of information that people want to <strong>keep private to themselves, so that it does not leak elsewhere</strong>. But that certainly doesn’t help you, so in order to encourage people to participate in your study you decided to give them a <strong>choice to answer correctly</strong>.</blockquote><p>The idea that people will have a choice to answer correctly, sounds very trivial at first, as you are telling people to tell a lie on purpose. If you think about it, you can understand that instead of having a database with a whole bunch of sensitive information, you will now have a database with some noise injected to it, and that’s how differential privacy works.</p><h3>Formalizing Differential Privacy :</h3><blockquote><strong>Differential privacy provides privacy by process; in particular it will introduce randomness.</strong></blockquote><p>The three most important questions that should come to your mind at this point should be -</p><ul><li>How does a noise injected data remains useful ?</li><li>How do we introduce the randomness ?</li><li>and, When to add randomness ?</li></ul><p>In this article we will learn an important algorithm to add noise to our data and, we will answer the above given questions on our way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_EgWzVfkOm3luFzl" /><figcaption>Photo by <a href="https://unsplash.com/@paul_wong?utm_source=medium&amp;utm_medium=referral">Paul Wong</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Randomized Response :</h4><p>Randomized Response is perhaps the simplest way to introduce the required noise in your data. It provides the facility to participants of your study to <strong>tell a lie on purpose</strong>.</p><p>Study participants are told to report whether or not they have property P as follows:</p><ol><li>Flip a coin.</li><li>If tails, then respond truthfully.</li><li>If heads, then flip a second coin and respond “Yes” if heads and “No” if tails.</li></ol><blockquote><strong>“Privacy” comes from the plausible deniability of any outcome. It gives the participants a chance to add noise to the data, themselves.</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Wsc0xeS4B8qsGOxK" /><figcaption>Photo by <a href="https://unsplash.com/@icons8?utm_source=medium&amp;utm_medium=referral">Icons8 team</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The expected number of “Yes” answers is 1/4 times the number of participants who do not have property P, plus 3/4 the number having property P. Thus, if p is the true fraction of participants having property P, the expected number of “Yes” answers is (1/4)(1−p)+ (3/4)p = (1/4)+p/2. Thus, we can estimate p as twice the fraction answering “Yes” minus 1/2, that is, 2((1/4) + p/2) − 1/2.</p><p>So if at the end of the survey you finds out that 60% of the people smokes, you actually have 2(60%) - 50% = 70% of people smoking.</p><p><em>Randomization is essential here, most importantly because it fits very well with the definition of differential privacy, no matter what other data sets are available about a person, no adversary would be able to know if a person smokes or not, even after gaining an access to the data.</em></p><p>But even after all this if we have a query to our database that can leak the private information from it, we would say our privacy is compromised. So if we remove a person from our database and the output to the query changes we can say that the persons private information is leaked. In fact this change in the output of a query is so important in data privacy that it has a specific identity, namely <strong>ℓ1- sensitivity or simple sensitivity.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vsO5k68RTyD56EA7FHF9cA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*osWL-eMttDIr49Ir6lw6VQ.png" /><figcaption>Formal definition of sensitivity</figcaption></figure><p>So basically the sensitivity is the change in the output of a query on a database and one of it’s parallel databases, which have 1 person removed each. So if we had 10 people in our survey we can create 10 parallel databases from that data, with 1 person missing in each. Also we know that a query is simply a function, thus <strong>ℓ1- sensitivity </strong>between a database x and it’s parallel y is essentially what’s given below.</p><p><strong>ℓ1- sensitivity= max ∥ f(x) − f(y)∥</strong></p><p>A bigger value of sensitivity denotes that the query is highly sensitive to the changes in the database, thus more likely to compromise the privacy.</p><p>Now we are ready to introduce the mathematical definition of differential privacy :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S7clDQo6BYGyYtlgp_c8PA.png" /><figcaption>Formal definition of differential privacy</figcaption></figure><p>Don’t worry if this looks scary at first sight, we are going demystify it below.</p><h4>Unwrapping Formal Definition of Differential Privacy :</h4><p>The definition of differential privacy suggests that a randomized algorithm like “Coin Flip Algorithm”, will generate similar results on a database and it’s parallel databases, which are essentially, similar databases. Thus we can establish the fact that introducing randomness can preserve the privacy in our data.</p><p>But what if I introduce excess randomness to the data, let’s say I flip the entries in my database entirely, wouldn’t that affect the outcome of my analysis. Thus an important thing to understand is : <strong>how much noise should be added. </strong>If<strong> </strong>you remember the last article, you should know that we would loose our accuracy if we try to maintain our privacy.</p><p><strong>ε (epsilon)</strong> is nothing but the <strong>measure of how much noise</strong> should be introduced, thus it is a <strong>parameter controlling the trade off between privacy and accuracy.</strong> It is the central parameter, controlling strength of the privacy guarantee, and hence the number of queries that can be answered privately as well as the achievable accuracy. ( Justin Hsu et. al. )</p><p><strong>δ (delta) </strong>is another parameter here, which gives a <strong>measure of the probability that epsilon won’t hold it’s value.</strong></p><p>Thus the formula suggest that, for any randomized algorithm <strong>M</strong> the probability of outputting s (s ∈ S) on a database <strong>x</strong> is at most <strong>exp^ε</strong> times the probability of outputting s on any parallel database<strong> y</strong>. If the algorithm can hold with this criteria we can call it an <strong><em>epsilon-delta differentially private algorithm.</em></strong></p><p>That is how we can understand the formula behind differential privacy.</p><p>What we just learnt is called a <strong>local differential privacy </strong>in terms of when noise will be added, we will learn more about it in next article.</p><h3>Wrapping UP :</h3><p>So we understood how to perform differential privacy on our data and learnt the underlying mathematics. However a lot of questions still remains unanswered like what value of epsilon and delta should we choose, we will try to understand these in upcoming articles. This article is 2nd in the series of articles I am going to write on privacy in data analysis.</p><p>In the next article, we will learn about some more algorithms on differential privacy.</p><p>Stay Tuned. Happy Learning for now.</p><p>PS. This is my second article on medium, so any feedback and suggestions are most welcome.</p><p><strong>Resources :</strong></p><ol><li><a href="https://www.cis.upenn.edu/~aaroth/Papers/privacybook.pdf">https://www.cis.upenn.edu/~aaroth/Papers/privacybook.pdf</a></li><li><a href="http://www.cis.upenn.edu/~ahae/papers/epsilon-csf2014.pdf">http://www.cis.upenn.edu/~ahae/papers/epsilon-csf2014.pdf</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1339b83ede74" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/a-coin-some-smokers-and-privacy-in-data-analysis-1339b83ede74">A Coin, Some Smokers, and Privacy in Data Analysis</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mr. X, Netflix, and Privacy in Data Analysis]]></title>
            <link>https://medium.com/data-science/mr-x-netflix-and-privacy-in-data-analysis-f59227d50f45?source=rss-37eca6403773------2</link>
            <guid isPermaLink="false">https://medium.com/p/f59227d50f45</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[differential-privacy]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[privacy]]></category>
            <dc:creator><![CDATA[Deepak Pandey]]></dc:creator>
            <pubDate>Fri, 12 Jul 2019 14:25:32 GMT</pubDate>
            <atom:updated>2021-06-06T15:08:20.380Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pdeIyEtpE7ZZClMU" /><figcaption>Photo by <a href="https://unsplash.com/@dtopkin1?utm_source=medium&amp;utm_medium=referral">Dayne Topkin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Privacy Regulators around the world are concerned about data privacy, what scope does it leave for analysts like us, who are solely dependent on data?</h4><p>Privacy has been a buzzword for the past few years now, for the fact that people’s digital presence has increased to vast amounts. With a large amount of data present on the internet, we know a lot more about each other now, more than ever before. This data has helped the analysts for a long time to understand how our society is working, and proved useful to provide a solution for the problems present in it.</p><p>But with the emerging cases of data breaches in almost every part of the world, individuals and authorities are getting more and more concerned about how their data is being used. As a result of this, there is a heightened awareness about data privacy among individuals and organizations, this leaves a big problem for analysts like us, who are solely dependent on data to generate new, and useful insights.</p><p><a href="https://hostingtribunal.com/blog/biggest-data-breach-statistics/">15 Biggest Data Breaches in The Last 15 Years (Infographic)</a></p><p>So how do we provide analytical services that preserve privacy, when our job is to learn statistical insights from the data to better understand the trends in society. <strong>The problem of privacy-preserving data analysis has a long history spanning multiple disciplines (Cynthia Dwork et. al.). </strong>The only option remaining is to learn about the insights from the data as a whole, and not learn anything about an individual. That’s where the concept of <strong>differential privacy</strong> comes into play, it is an exciting, new multidisciplinary field that allows us to develop techniques for so-called private data analysis.</p><blockquote>As electronic data about individuals becomes increasingly detailed, and as technology enables ever more powerful collection and curation of these data, the need increases for a robust, meaningful, and mathematically rigorous definition of privacy, together with a computationally rich class of algorithms that satisfy this definition.<strong> Differential Privacy </strong>is such a definition.</blockquote><p>The abstract given above is taken from the Algorithmic Foundation of differential privacy, a must-read book on the subject, written by Cynthia Dwork, often considered as the Godmother of differential privacy.</p><h4><strong>Formal introduction to Differential Privacy :</strong></h4><blockquote><strong>“Differential privacy” describes a promise, made by a data holder, or curator, to a data subject: “You will not be affected, adversely or otherwise, by allowing your data to be used in any study or analysis, no matter what other studies, data sets, or information sources, are available.”</strong></blockquote><p>The above given is the formal definition of differential privacy. Let’s try to break it down and understand what it tries to convey.</p><ul><li>Firstly, differential privacy is <strong>NOT</strong> an algorithm or a technique, when applied would perform privacy-preserving data analysis, it’s more of a promise so there is a <strong>trust </strong>factor involved here.</li><li>Secondly, when we apply differential privacy on a population data, we must only learn the patterns present in that population as a whole, and not the patterns that help us uniquely identify an individual involved in that data. It may sound paradoxical but it is very much possible.</li><li>Thus we now understand that differential privacy is a promise from an analyst to a data subject, that I won’t use your information, such that it would affect you in any way. Intuitively thinking, it suggests that,</li></ul><p><em>If </em><strong><em>nothing new is learned</em></strong><em> about an individual even after performing analysis on a data he was part of, we can say that we preserved his private information.</em></p><ul><li>The last part of the definition says something really interesting, it states that even if there are other records that contain your data, and it is beyond my control to protect your data from the adversary in those records as an analyst, I would still <strong>not let them use THIS data to learn something new about you</strong>.</li></ul><p>To understand the last part of the definition let’s watch <strong>Netflix</strong>.</p><p>In the late 2000s, Netflix ran a competition to <a href="http://www.wired.com/2009/09/how-the-netflix-prize-was-won/">develop a better film recommendation algorithm</a>. To drive the competition, they released an “anonymized” viewing dataset that had been stripped of identifying information. Unfortunately, this de-identification turned out to be insufficient. In a well-known piece of work, <a href="https://www.cs.utexas.edu/~shmat/shmat_oak08netflix.pdf">Narayanan and Shmatikov</a> showed that such datasets could be used to re-identify specific users — and even predict their political affiliation! — if you simply knew a little bit of additional information about a given user.</p><p>So we now understand that changing actual values with certain integer values is not a solution to the problem of preserving privacy while performing data analysis. <em>Differential privacy comes into play here, it says that even if a related data is present out there, we can still prevent any adversary to extract out the information from this dataset and learn anything new about an individual.</em></p><h4>Privacy-Preserving Data Analysis :</h4><p>Now we know that data anonymization is not the solution to the problem of preserving privacy while doing data analysis. But that is not the only concern here, let’s see a few more.</p><ul><li><strong><em>Data can’t be anonymized and remain useful. </em></strong>The problem with anonymization is that it leaves scope for linkage attacks, as we saw above in the case of the Netflix database. Differential privacy is robust to these types of attacks because it is a property of the data access mechanism, and is unrelated to the presence or absence of auxiliary information available to the adversary.</li></ul><p><em>This means it doesn’t matter if you are part of this database or not, as long as your presence or absence in the data does not change the output to the queries to the database.</em></p><ul><li><strong><em>Queries Over Large Sets are Not Protective. </em></strong>Another major concern is that correctly answering repeated queries will exploit privacy rapidly. You can’t expect to answer accurately every time and still talk about privacy. Let’s talk about <strong>Mr. X</strong> for now.</li></ul><p><em>Suppose it is known that </em><strong><em>Mr. X</em></strong><em> is in a certain medical database. Taken together, the answers to the </em><strong><em>two large queries </em></strong><em>“How many people in the database have the sickle cell trait?” and “How many people, not named X, in the database have the sickle cell trait?” yield the sickle cell status of Mr. X.</em></p><ul><li><strong><em>Query Auditing Is Problematic. </em></strong>An obvious thought that comes to mind is what if I can find out all the sequence of queries that compromise the privacy of my database, I can somehow make my database more secure.</li></ul><p><em>But there are problems with this approach, first is that this task is computationally infeasible, and secondly refusing to answer a query is itself disclosive, refusing to answer a query suggests to the adversary that he is on the right path to compromise privacy.</em></p><p>Differential privacy proposes a methodology that can help us to perform analytical studies on data without <strong>LEAKING</strong> any private information from it.</p><h4>Wrapping UP :</h4><p>So we understood what is differential privacy and why should we use it to perform privacy-preserving data analysis. This article is Ist in the series of articles I am going to write on privacy in data analysis.</p><p>In the next article, we will dig deeper into technical terms related to differential privacy and understand how does it actually work.</p><p>Stay Tuned. Happy Learning for now.</p><p>PS. This is my first article on medium, so any feedback and suggestions are most welcome.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f59227d50f45" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/mr-x-netflix-and-privacy-in-data-analysis-f59227d50f45">Mr. X, Netflix, and Privacy in Data Analysis</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>