Rasmus Pagh

Rasmus Pagh

@rasmuspagh.net

Professor of computer science at University of Copenhagen. Interested in random things & their application (especially to algorithms and privacy). rasmuspagh.net

662 followers335 following226 posts

Rasmus Pagh reposted

Over 400 academics in 30+ countries signed our open letter calling for immediate changes in AI development and deployment practices to ensure that cybersecurity incidents do not continue to occur, as future incidents will be far more damaging to our critical infrastructure.

The algorithms were first discovered at Anthropic by an internal version of Claude, then digested and verified by the authors. Though there are questions one can ask about attribution and incentives, this strikes me as a better approach than just putting undigested AI-generated content online.

So well deserved! I have always loved Moni's work

Rasmus Pagh reposted

The significance of the result comes from the fact that many algorithms have time complexity that is linked to the time complexity of 3SUM via "fine grained" reductions. In addition to 3SUM the paper also breaks the cubic barrier for the all-pairs shortest path problem.

The Gaussian mechanism is a key technique in differential privacy, used to make a bounded-sensitivity vector differentially privacy. Its analysis usually assumes the ability to perform computations with real numbers, so implementations must approximate the mechanism without breaking its guarantees.

View full thread

4) Its coordinate-wise noise distribution is unbiased and has small total variation distance from Gaussian noise. Interestingly, the starting point for this work was only property 3), following up on the very nice work by Canonne, Su, and Vadhan in ITCS '25. The other properties were byproducts!

The Gaussian mechanism is a key technique in differential privacy, used to make a bounded-sensitivity vector differentially privacy. Its analysis usually assumes the ability to perform computations with real numbers, so implementations must approximate the mechanism without breaking its guarantees.

View full thread

In a new fun collaboration with Nikita Kalinin from ISTA, we have described a new alternative, the Dithered Gaussian mechanism, which has a number of advantages: 1) It is a post processing of the Gaussian mechanism and therefore inherits its privacy guarantees and Gaussian based privacy accounting.

2) Its output lies on a public, discrete grid, avoiding floating point vulnerabilities associated with directly releasing finite precision samples from a continuous Gaussian distribution. 3) It is randomness efficient, requiring substantially fewer random bits for the privacy critical sampling step.

The Gaussian mechanism is a key technique in differential privacy, used to make a bounded-sensitivity vector differentially privacy. Its analysis usually assumes the ability to perform computations with real numbers, so implementations must approximate the mechanism without breaking its guarantees.

This is non-trivial: as demonstrated by Jin, McMurty, Rubinstein and Ohrimenko, direct implementations using floating point data and noise are not private. Instead, approaches such as the Discrete Gaussian mechanism have been used, retaining roughly the properties as the idealized mechanism

An intense 1st EuroTDP workshop has concluded, with many great talks, interesting posters and more colleagues to talk to than time would allow. Looking forward to the next time we can gather the privacy community in Europe!

Rasmus Pagh@rasmuspagh.net

The 1st European Workshop on the Theory of Differential Privacy (eurotdp.pages.ista.ac.at) will open for submissions today! We expect to be open for submissions until end of April, but there is limited capacity so we may need to stop accepting submissions earlier. Send a 4-page abstract, like TPDP.

An IBLT (Goodrich & Mitzenmacher 2011) is an integer vector encoding a multiset in a linear way: IBLT(A)+IBLT(B)=IBLT(A∪B). Subtracting, IBLT(A)-IBLT(B) is an IBLT where the multiplicity of x is the difference between its multiplicity in A and its multiplicity in B (negative multiplicities are ok).

View full thread

Since a BLT is a sandwich, and our data structure is filled to the limit with contents, we found it suitable to name it the "Stuffed IBLT". It is always good to see such long-running projects come to a conclusion, and the (tasty?) paper is now out on arXiv: arxiv.org/abs/2609.17487

arxiv.orgStuffed IBLTs: Optimal Linear Multiset SketchesA \emph{linear sketch} is a randomized linear mapping of a vector $v$ to a lower dimensional sketch vector, designed to preserve relevant information about $v$. We consider sketches of vectors $v \in ...

An IBLT (Goodrich & Mitzenmacher 2011) is an integer vector encoding a multiset in a linear way: IBLT(A)+IBLT(B)=IBLT(A∪B). Subtracting, IBLT(A)-IBLT(B) is an IBLT where the multiplicity of x is the difference between its multiplicity in A and its multiplicity in B (negative multiplicities are ok).

View full thread

Back in 2022, Stefan Walzer visited Copenhagen and we talked about getting "best of both worlds" results with near-optimal space efficiency and efficient operations. Our first thought was to combine the known techniques to a form of bucketed IBLTs. But it turns out there is a better way...

Together with Jonas Klausen who joined the project in 2023 we figured out how to not only reduce the space usage of IBLTs to almost optimal while retaining efficiency, but also make them more reliable by substantially decreasing error probability and how to do it with efficient hash functions.

An IBLT (Goodrich & Mitzenmacher 2011) is an integer vector encoding a multiset in a linear way: IBLT(A)+IBLT(B)=IBLT(A∪B). Subtracting, IBLT(A)-IBLT(B) is an IBLT where the multiplicity of x is the difference between its multiplicity in A and its multiplicity in B (negative multiplicities are ok).

View full thread

IBLTs can be used for *set reconciliation*, where we must compute the symmetric difference A∆B of multisets A and B held by different servers. If A∆B is small enough, IBLT(A)-IBLT(B) can be used to recover its elements. Servers need only communicate the IBLTs, independent of the sizes of A and B.

There exist other linear methods for set reconciliation that allow recovery of multisets all the way up to the information-theoretic barrier (the number of entries needed to store a set of elements and their counts). However, unlike IBLTs these methods have slow update and recovery times.

An IBLT (Goodrich & Mitzenmacher 2011) is an integer vector encoding a multiset in a linear way: IBLT(A)+IBLT(B)=IBLT(A∪B). Subtracting, IBLT(A)-IBLT(B) is an IBLT where the multiplicity of x is the difference between its multiplicity in A and its multiplicity in B (negative multiplicities are ok).

An interesting property is that while an IBLT vector has fixed dimension d, it can be used to represent sets of arbitrary size. However, it is only possible to recover A from IBLT(A) if A is sufficiently small (at most of size some constant fraction of d).

Horner's rule is one of the first nontrivial algorithms many students see: Rather than using a quadratic number of multiplications to evaluate a degree-n polynomial term-by-term, it suffices to use n-1 multiplications. This optimization is important, e.g., for evaluating polynomial hash functions.

View full thread

I have known about this result for about 3 years, but since Thomas and Jakob are working in industry it took some time to get the paper written. A nice contrast to the rush to publish that we see too often, and as a bonus the paper is (partly) Lean formalized. Congratulations on this achievement!

An addition to make the result more clear: The polynomial coefficients are known ahead of time and it is allowed to do preprocessing, not counted in the number of multiplications. The new bound is the number of multiplications needed after receiving an input x.

Horner's rule is one of the first nontrivial algorithms many students see: Rather than using a quadratic number of multiplications to evaluate a degree-n polynomial term-by-term, it suffices to use n-1 multiplications. This optimization is important, e.g., for evaluating polynomial hash functions.

A 1972 result by Rabin and Winograd showed that fewer multiplications suffice for large enough n. Specifically, n/2+O(log n) multiplications suffice for polynomials over the reals (as well as some other fields). But the O(log n) term makes the method impractical for low-degree polynomials.

Rasmus Pagh reposted

Registration for the PPML workshop in Aarhus November 2-4 is now open. The deadline for talk submissions is also this week (September 10). Feel free to reshare! p1dpml.github.io/workshops/wo...

p1dpml.github.ioWorkshop 2 | Data Privacy in Machine Learning
Claudio Orlandi@claudiorlandi.bsky.social

Join us in Aarhus, Nov 2–4, for the Workshop on Privacy-Preserving Machine Learning and Privacy in Distributed Settings! We invite talks on relevant topics including federated learning, differential privacy, MPC, attacks, and more. Deadline: Sept 10 p1dpml.github.io/workshops/wo...

The deadline for talk submissions is **September 10**. Feel free to submit also contributions that are not explicitly about distributed privacy, but relevant to the broader area.

Congratulations to Susanna Rezende, Or Zamir, and other ERC Starting Grant recipients!

📣 Good news! 📣 Results of the ERC 2026 Starting Grant call are out! Funding worth a total of €705 million will go to 421 early-career researchers across Europe. Discover who, what and where 👉 link.europa.eu/9M3MmN 🧪 #ERCStG #FrontierResearch #HorizonEurope 🇪🇺 @scienceinnovation.ec.europa.eu

Rasmus Pagh reposted

Over the past year, I've had the honor to work with the European Commission to help them understand Google's (terrible) approach to sharing anonymised search data with competitors under the Digital Markets Act, and design an alternative solution that preserves more utility. [1/3]

Great invited talks by @ahonkela.bsky.social and @grahamrc.bsky.social on the Data Privacy in Machine Learning workshop's first day. Looking forward to day 2 which will focus on unlearning!

Rasmus Pagh@rasmuspagh.net

Join us June 11-12 for a workshop on Differential Privacy and Unlearning in Machine Learning at University of Copenhagen! The workshop will feature tutorials, three great invited speakers (@grahamrc.bsky.social, @ahonkela.bsky.social and @koloskova.bsky.social), as well as contributed talks.

Great to see participants from all over the world! The contributed talks have been very high quality, ranging from using formal methods to verify DP implementations, to new ways of reasoning about approximation algorithms under continual observation, to privacy in distributed ML and analytics.

The first paper co-authored with my student Sia Sejer is out! We show how to do continual observation of sketches (and other data structures) with only a constant-factor time overhead relative to the non-private versions.

Differential Privacy Papers@dppapers.bsky.social

A Fast Gaussian Mechanism under Continual Observation, with Applications Rasmus Pagh, Sia Sejer http://arxiv.org/abs/2606.11760

View full thread

Finally, we present two applications based on Private CountSketch: An improved range counting data structure, and private sketches for join size (aka. F2) estimation.

(I just realized that in fact the first paper co-authored with Sia came out a few weeks back, but this paper was our first project together so it is first in this sense.)

The first paper co-authored with my student Sia Sejer is out! We show how to do continual observation of sketches (and other data structures) with only a constant-factor time overhead relative to the non-private versions.

Differential Privacy Papers@dppapers.bsky.social

A Fast Gaussian Mechanism under Continual Observation, with Applications Rasmus Pagh, Sia Sejer http://arxiv.org/abs/2606.11760

The idea is to simulate the distribution of the binary tree mechanism without generating all noise values. Only when accessing a sketch entry do we generate the noise, and with a suitable data structure of size O(log T) it turns out that this is possible in constant time!

The paper also contains a new analysis of the binary tree mechanism with Gaussian noise, which turns out to have a better utility-privacy trade-off than some later refinements such as the smooth binary mechanism.

The program for our upcoming Workshop on Differential Privacy and Unlearning is now up on p1dpml.github.io/workshops/wo... Registration deadline is Sunday June 7.

p1dpml.github.ioDifferential Privacy and Unlearning in Machine Learning | Data Privacy in Machine Learning
Rasmus Pagh@rasmuspagh.net

Join us June 11-12 for a workshop on Differential Privacy and Unlearning in Machine Learning at University of Copenhagen! The workshop will feature tutorials, three great invited speakers (@grahamrc.bsky.social, @ahonkela.bsky.social and @koloskova.bsky.social), as well as contributed talks.