Skip to Content
Hands-On Differential Privacy
book

Hands-On Differential Privacy

by Ethan Cowan, Michael Shoemate, Mayana Pereira
May 2024
Intermediate to advanced
362 pages
8h 47m
English
O'Reilly Media, Inc.
Audio summary available
Content preview from Hands-On Differential Privacy

Appendix B. Rényi Differential Privacy

Here, we present a series of theorems demonstrating the relationship between RDP and (ϵ,δ) differential privacy.

Theorem: RDP Is Immune to Postprocessing

For a mechanism f that is (α,ϵ)-RDP, and a randomized mapping g, the composition g(f(x)) is also (α,ϵ)-RDP.

Proof

See Mironov1 for a proof of this claim, building on van Ervan and Harremoës.2

Now, let’s demonstrate the equivalence between RDP and (ϵ,δ)-DP. First, we will need some mathematical preliminaries.

Theorem: Young’s Inequality

If a,b0 and 1p+1q=1 with p,q>1, then abapp+bqq

Proof via Calculus

Define f(x)=xpp+1qx and take the derivative to determine the minimum of the function.

The derivative is f(x)=xp11, and setting this equal to 0:

f(x)=xp11=0
xp1=1x=1

We know this is a minimum by the second derivative test: f(x)=(p1)xp20.

So we know that the minimum of f(x) occurs at x=1 and that this minimum is f(1)=0.

This means that:

f(x)f(1)=0xpp+1qx0

Without loss of generality, assume a>b. Then apbq1. This further implies that:

f(apbq)f(1)
apbqp+1qabqp1p+1q1

and we know that 1p+1q=1, so:

apbqp+1qabqp

Multiplying both sides by bq:

app+bqqabqpbq

and simplifying the exponent:

qp+q=qp+qp=q(11p)=1

Therefore:

abapp+bqq

Elementary Proof

For this proof, you will only need to know a few facts about logarithms and exponentials.

The exponential and logarithms are inverses of each other—that is, applying them both to a function does nothing: ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

The Three Traps That Stymie Reinvention

The Three Traps That Stymie Reinvention

Ryan Raffaelli
Exploring GPT-3

Exploring GPT-3

Steve Tingiris
The Human Factor in AI-Based Decision-Making

The Human Factor in AI-Based Decision-Making

Philip Meissner, Christoph Keding

Publisher Resources

ISBN: 9781492097730Errata Page