Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Private and Personalized Frequency Estimation in a Federated Setting

Clustering users by KL divergence improves private personalized frequency estimation

  • Problem A single shared model ignores that users form clusters with different token distributions. Standard personalized federated learning trains one global model with FedAvg and then finetunes it, so it misses this cluster structure.
  • Method HistogramCluster groups users by KL divergence and re-centers each cluster privately. Users with few samples then mix the shared cluster center with their own counts, leaning on the center more when they have less data.
  • Results Before finetuning, the method cut the test NLL suboptimality gap by at least 25-45% without privacy. Under privacy, the reduction reached up to 50%.

Why one shared model falls short

The setting is frequency estimation for each user over a large token domain, where each user has only a few samples. The error is measured as KL divergence, which the authors tie to minimizing the negative log-likelihood of samples from the user's distribution. The motivating case is keyboard next-word prediction, where vocabulary, writing style and topics differ from one user to the next.

Standard personalized federated learning trains one global model with FedAvg and then finetunes it locally for each user. That global step is agnostic to how users group together, even though real populations often contain concentrated subpopulations of similar users. The authors therefore treat cluster structure as the thing to exploit, and treat user privacy as a constraint on how that structure is learned.

Clustering users by KL divergence

The objective is to find a partition of users and K cluster centers that minimize the KL divergence from each user's distribution to its nearest center: \[ \min_{\{\tilde P_c\}_{c\in[K]}} \sum_{u\in U} \min_{c\in[K]} KL(Q_u \| \tilde P_c) \] The number of clusters K is not known in advance, and neither are the cluster centers. Assignment works as in Lloyd's algorithm: each user joins the center with the smallest KL divergence to the user's distribution.

The true user distributions are unknown, so the method replaces them with local Good-Turing estimates. A Good-Turing estimate adjusts each token's count using how many tokens share the neighboring count, which helps when the distribution has a long tail and the vocabulary is large. Re-centering then averages these local estimates over the users currently assigned to each cluster.

HistogramCluster starts from initial centers and runs T rounds, and in each round every cluster collects user outputs and is re-centered. A user's output is a membership indicator together with a Good-Turing vector, and the vector is zero for users outside the cluster. The authors state that the non-private re-centering greedily reduces the objective after each iteration.

Personalizing with local finetuning

Each user mixes the shared center P with their own empirical distribution, using the concentration parameter α and the local sample count m_u as weights: \[ FT(P,\hat Q_u)=\frac{\alpha}{\alpha+m_u}\,P+\frac{m_u}{\alpha+m_u}\,\hat Q_u \] A user with few samples leans mostly on the shared center, and the weight moves toward the user's own counts as m_u grows.

The authors note that the center is biased, but the rule lowers variance when the population is concentrated. Under the Dirichlet model with a known center, this update is the Bayes optimal estimator in KL divergence. When the center is only estimated, the gap to the Bayes optimal estimate is at most α/(α+m_u) times the KL divergence between the true and estimated center.

Keeping each clustering round private

The privacy target is joint differential privacy, where the output for every user other than u should barely change when u's data is added or removed. Personalization runs on each device, so only the cluster centers need to be computed privately. Each clustering round therefore needs a private re-centering step, and the privacy loss over the rounds is bounded by advanced composition.

PrivateCenter first adds Laplace noise to the cluster size, then uses a Gaussian-noised sum of the histograms to get a rough mean. That rough mean sets a quantile interval, and the second noisy sum clips each histogram to that interval before adding Gaussian noise. Clipping is needed because every local Good-Turing estimate lies in the simplex and so has bounded l2 norm.

Finally the noisy average is projected back onto the probability simplex in l2.

The sums run over all users, with a zero vector sent by users outside the cluster, so the server doesn't need cluster membership. A single user's inclusion or deletion changes the sum for only one cluster. PrivateCenter and PrivateInit are each user-level ρ-zCJDP, and the end-to-end guarantee is (ρ + 2√(ρ log(1/δ)), δ)-JDP for every δ > 0.

Data-dependent private initialization

Clustering usually starts from data points themselves, which conflicts with privacy. PrivateInit instead draws K² candidates from a Dirichlet distribution centered at the private global estimate Q0. It then picks K of these candidates one at a time.

Each pick uses the exponential mechanism, so a candidate's chance of selection grows with its average reduction in the clustering objective when added to the current set. The privacy budget acts as a temperature, and a smaller budget gives flatter, more smoothed choices. Without privacy, the candidates are the empirical user estimates and the budget is set high.

The EndToEnd Algorithm

The EndToEnd Algorithm first estimates a private global center with PrivateCenter. It then uses that center in PrivateInit to get initial cluster centers, and runs HistogramCluster for T iterations. Each user finally applies the local finetuning rule to the center of their cluster.

The privacy budget ρ is split as ρ/3 for the global center, ρ/3 for initialization and ρ/(3T) for each re-centering step.

Weighting users with different dataset sizes

The size-homogeneous method assumes all users have the same sample count, so the size-heterogeneous case needs a weighting step. Each user's weight is proportional to the inverse of the variance of their local estimate: \[ w_u=\frac{1/\sigma_u^2}{\sum_{u'\in Z_c} 1/\sigma_{u'}^2} \] The variance depends on the unknown cluster distribution, so the authors replace it with an average of estimates from heavier users.

Privately, the weighted mean is too sensitive when some users have much data, so the authors split users into data-rich and data-poor groups. Data-rich users are clustered with HistogramCluster, and data-poor users are assigned to the nearest center in KL divergence. A final private re-centering step then updates each cluster with the newly added users.

Stylized Dirichlet analysis

Each user's histogram is drawn from a Dirichlet distribution centered at the user's cluster center, and the cluster centers are well separated. A larger α gives more concentrated clusters, since token variance scales with the center's probability divided by 1 + α. The Dirichlet choice is mainly for simplicity, because the results need only exponential concentration along each token.

Lemma 4.1 says the Good-Turing estimate's suboptimality gap over the competing class matches minimax rates. The point is that a Good-Turing estimate doesn't pay the full vocabulary dimension d for small datasets, unlike the empirical estimate.

With known cluster membership, the authors compare the cluster average of Good-Turing estimates with the FedAvg average of empirical estimates. That comparison holds for the competing class with the same average count and in the stated regime.

In practice the membership and the center are unknown, so the authors approximate the maximum likelihood estimate with EM and the clustering objective. Taken together, these results support the algorithmic choices for clustering and finetuning.

Test loss before finetuning

The experiments use Reddit with a 10k-token vocabulary, and StackOverflow and Amazon Reviews with 32k tokens. The baselines are FedAvg, MAML and IFCA, and each reported value averages 50 random runs with 95% confidence intervals. The metric is test NLL minus the entropy of the FedAvg estimate, called the NLL suboptimality gap.

Before finetuning, the method reduced the test NLL suboptimality gap by at least 25-45% in the non-private setting, and by up to 50% in the private setting. Averaged over datasets, the introduction reports error reductions of over 26% without privacy and 42% with privacy.

Without privacy, MAML and IFCA beat FedAvg on StackOverflow and Amazon Reviews, but their private versions match or fall below private FedAvg. The authors attribute this to high per-iteration privacy costs in gradient-based MAML and IFCA, and to poor IFCA convergence from imperfect initialization. The method's privacy-utility trade-off is comparable to gradient-free FedAvg and it needs fewer iterations when started from PrivateInit centers.

Test loss after finetuning

After each user finetunes with Eq. 3, FedAvg+FT, MAML+FT, IFCA+FT and Alg. 3+FT are compared in the size-homogeneous setting. Each value averages over 50 random runs with 95% confidence intervals.

The authors report that the relative gains seen before finetuning stay consistent after it. Finetuning the global FedAvg or MAML model doesn't beat finetuning cluster-level models, which the authors read as evidence of concentrated subpopulations.

Which design choices carry the gains

The ablations vary the number of clusters K, the initialization, and the local estimate used in re-centering. Using the Good-Turing average instead of the empirical average lowers test NLL, and the gap is wider on Amazon Reviews and StackOverflow than on Reddit.

PrivateInit lowers the final test loss relative to random initialization. The authors attribute part of this gain to fewer clustering iterations, from 200 to 20. The Bayes optimal finetuning rule beats gradient descent and RTFA when applied to the FedAvg model.

K=10 was chosen on the Reddit validation set and used for all datasets. The authors note K=10 is slightly suboptimal on the other two datasets, and conclude that performance isn't very sensitive to K.

Size-heterogeneous results

Figure 4 compares the methods in the size-heterogeneous setting, where user dataset sizes differ strongly. Here the method's gains over FedAvg and MAML exceed 40% error reduction, which is larger than in the size-homogeneous runs.

IFCA's privacy-utility trade-off worsens when sizes vary, because gradient estimates become more sensitive. The two-stage design reduces privacy noise in clustering, since data-rich users cluster first and data-poor users join at re-centering. On Amazon Reviews, the private estimate reduces test NLL suboptimality gap by more than 50% compared with IFCA.

Limitations

K is fixed at 10 for all datasets, chosen on Reddit validation, and the authors note it is slightly suboptimal on the other two. PrivateInit's sampling step doesn't lend itself to a distributed implementation, so a small centrally collected dataset would be needed.

The stylized analysis assumes Dirichlet clusters, and the convergence result depends on separation and initialization conditions. The Good-Turing average comparison holds only for the competing class with equal average counts. The empirical study covers three datasets, and the authors list a direct Good-Turing correction of cluster counts as future work.

Paper info

Authors
Setlur, Amrith, Feldman, Vitaly, Talwar, Kunal
Venue
Advances in Neural Information Processing Systems · Published
First published
2024-12-16
Added
2026-11-26
DOI
10.52202/079017-1473
Original paper terms
Check in the original ↗
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Setlur, Amrith, Feldman, Vitaly, Talwar, Kunal (2024). Private and Personalized Frequency Estimation in a Federated Setting. Advances in Neural Information Processing Systems. https://doi.org/10.52202/079017-1473

BibTeX
@article{amrith2024private,
  title = {{Private and Personalized Frequency Estimation in a Federated Setting}},
  author = {Setlur, Amrith and Feldman, Vitaly and Talwar, Kunal},
  year = {2024},
  journal = {Advances in Neural Information Processing Systems},
  doi = {10.52202/079017-1473},
  url = {https://papers.nips.cc/paper_files/paper/2024/hash/526dad6de50a4a4d829d6b4e37e5a8f5-Abstract-Conference.html}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up