In federated recommendation, each phone keeps its own click history and sends model updates to a server. The model includes an embedding table with one vector per catalog item, and that table must be aggregated securely. Secure aggregation is a cryptographic protocol that lets the server learn only the sum of the clients' updates, never any individual update. The catch is the cost of hiding which items a user touched. To do that, every client must send a masked update for every row of the table, so per-client cost grows with catalog size times embedding dimension, even when the user touched a dozen items. A second problem is unrelated to cryptography. Recommenders trained on skewed logs over-recommend popular items, partly because popular items receive more gradient updates and their embedding vectors grow longer. The best fixes for this popularity bias assume a server that can see global item counts and embedding geometry.
This note proposes making the two problems share one control. The server publishes, each round, a small set of embedding rows to be aggregated. The set is chosen from securely aggregated item counts. Every client sends a dense masked update for exactly those rows, so per-client cost is fixed by the row budget, not by catalog size. Because the published set is the same for all clients, it reveals nothing about any client's items. The schedule also determines how many update steps each item embedding receives. Choosing it to be popularity-aware therefore limits the frequency-driven growth in embedding length that causes popularity bias, while keeping communication independent of catalog size.
Core Claim
Most of what popularity debiasing needs from the population can be computed as a sum, and linear secure aggregation already computes sums. Global item interaction counts are sums of per-client indicator bits; SecEA uses this indicator trick to compute per-entity means. The "conformity direction" of user embeddings in Ren et al. is a sum of private user vectors. The item-side quantities are different: item norms, the popular direction, and the temperature-scaled normalization of Adap-τ are computed on the aggregated item table, which the server already holds in plaintext after aggregation.
The file frames reconciling normalization with masked sums as an unsolved non-linear problem. I think that framing is mostly mistaken. Normalization applies to the aggregated table, not to individual masked updates. The real obstacle at this intersection is cost, not non-linearity. Hiding item membership forces cost proportional to the full catalog times the dimension, as in SecEA's linear-in-entities design.
The naive ways to cut that cost are top-k sparsification with revealed indices and hashing the table into a sketch. The first leaks the user's items. The second quietly worsens popularity bias. A count sketch recovers coordinates with large aggregate mass well and buries rows with small mass in collision noise. Tail items are exactly the rows with small aggregate mass.
The claim, then, is that a public, popularity-aware row schedule gives three things together:
- per-client cost of $O(Bd)$, where $B$ is the row budget per round and $d$ the embedding dimension, independent of catalog size;
- no leakage of item membership beyond the usual sum-only leakage of secure aggregation;
- a debiasing effect that matches or exceeds post-hoc debiasing on the full table, measured at equal communication.
Research Program
The base protocol is LightSecAgg. It encodes masks with coding so the server recovers the combined mask of the surviving clients in one step. This keeps server load nearly constant in the number of clients and tolerates dropouts. Two properties matter here: it is a pure sum over a vector of fixed public length, and it handles phones going offline. Any linear-cost sum protocol could substitute. MicroSecAgg and SASH both reduce masking cost further, and the schedule is independent of which one is used.
Each round, a client's masked vector concatenates four parts:
- gradient rows for the scheduled item set $S_t$;
- one indicator bit per scheduled row, saying whether this client contributed to it;
- a short block of indicator bits that refreshes global item counts;
- its user-embedding vector, which feeds the conformity direction.
Items a client touched but which were not scheduled stay in a local residual buffer, with their own contribution count. That client sends them when the item is next scheduled, so no signal is lost, only delayed.
The server applies the per-item mean, not the sum:
$$v_i \leftarrow v_i - \eta \, \mathbb{1}[i \in S_t] \, \frac{\sum_c g_{c,i}}{\max\!\left(1, \sum_c a_{c,i}\right)}$$
Here $v_i$ is item $i$'s embedding, $\eta$ the learning rate, $g_{c,i}$ client $c$'s accumulated gradient for item $i$, and $a_{c,i}$ its contribution count. Under this rule, an item's total movement is set by how often it is scheduled, not by how many users touched it.
Adap-τ shows that this many-users-means-more-update coupling is what makes head-item norms grow. So the schedule is the debiasing lever. Item $i$ enters $S_t$ with probability
$$p_i = \min\!\left(1, \frac{B\, n_i^{-\beta}}{\sum_j n_j^{-\beta}}\right)$$
where $n_i$ is the securely aggregated global count and $\beta \ge 0$ controls how strongly scheduling favors the tail. Setting $\beta = 0$ gives uniform scheduling. Head items still converge because each scheduled update averages many contributors. Tail items get proportionally more steps on their scarce signal.
On top of the trained table, the server can apply the closed-form temperature of Adap-τ or the direction subtraction of Ren et al. using the securely aggregated user-sum. Clients can replace the local-degree margins of LPSFed with margins computed from the broadcast global counts. That replacement addresses the mismatch LPSFed leaves open: an item that is viral globally can look like a tail item on a sparse client.
The analysis has two parts. The first is a cost accounting: bytes and computation per client and on the server, as functions of catalog size, client count, $B$, and $d$. This should show catalog-independence, compared against full-table aggregation. The second is a privacy accounting that names an honest weakness. Secure aggregation reveals the sum for each row. A scheduled tail row with exactly one contributor exposes that contributor's gradient, a weakness SecEA also has. The scheduled-row indicator bits make this measurable, so the leakage rate can be reported. A mitigation follows from the public counts: schedule a tail row only in rounds whose cohort is large enough that its expected contributor count exceeds a threshold $k$. This lowers the leakage rate but cannot guarantee it is zero. Making it a guarantee would require a secure comparison, which I treat as out of scope.
Baselines
Plaintext debiasing (accuracy ceiling). This is centralized-equivalent training with the strongest plaintext debiasers, PAAC and Adap-τ, run on the same backbone and splits. PAAC aligns tail embeddings to co-interacted head items and reweights contrastive pairs. It reports a 30.2% NDCG@20 gain over its strongest baseline on Yelp2018 and an 87.5% reduction in the head–tail accuracy gap. Adap-τ reports a 9% average improvement over non-normalized models. The file gives only these relative figures; no absolute NDCG values for either method were found on Lacuna, so I will reproduce absolute numbers myself under one protocol. This reference costs no communication but sees everything in plaintext. Beating it is not the goal; landing within a stated tolerance of it is.
Full-table secure aggregation plus post-hoc debiasing (strongest secure competitor). LightSecAgg aggregates the entire table, with SecEA-style per-item means and indicator counts, then Adap-τ or Ren et al. debiasing is applied to the aggregated table. This should match our accuracy essentially exactly. It is the method to beat on cost: at equal unbiased NDCG@20 and head–tail gap, we must use substantially fewer bytes per client. At equal bytes per client, achieved by giving it fewer rounds, we must achieve higher accuracy.
Federated debiasing without cryptography (closest federated system). LPSFed uses local-degree margins and spectral filtering. It reports a 24.2% NDCG@20 gain on Amazon-Book over its best baseline, again with no absolute value in the file. It is run on its own client partitions. Beating it means better tail accuracy while also adding cryptographic aggregation.
Naive reference points. Two "do nothing" references anchor the results: plain federated averaging under full-table LightSecAgg with no debiasing, and the same under count-sketch compression. The sketch reference tests the "sketching amplifies bias" premise directly.
Ablations. Ablations isolate the key ingredient by changing one thing at a time:
- uniform scheduling ($\beta = 0$) at the same budget;
- the sum rule instead of the mean rule;
- local-count margins instead of global-count margins.
All methods share the backbone (matrix factorization and LightGCN), the embedding dimension, client sampling, and the hyperparameter grid size. All are tuned on a held-out uniform validation split.
Why not just…?
Why not just aggregate the whole table with linear secure aggregation and debias afterwards? This is the real threat, and on small catalogs it wins. If the full table is cheap, the schedule buys nothing. The experiments settle this by sweeping catalog size: Movielens-1M serves as a small-catalog control and Amazon-Book as a large one. They report the crossover point where full-table cost becomes the binding constraint. If our method only ties the full-table baseline even at equal bytes on Amazon-Book, the debiasing claim fails, leaving a cost-only contribution, and I will say so.
Why not just sparsify or sketch the updates? Top-k with revealed indices hands the server each user's item set, which is exactly the entity leakage SecEA was built to prevent. Count sketches are linear, so they do compose with secure aggregation. But their recovery error depends on the total mass of the rows that collide with an item, which favors high-mass head rows. The naive sketch baseline tests whether this drives a measurable widening of the head–tail gap. If it does not, the motivation weakens, though the schedule remains a cheaper way to keep indices hidden.
Why not just debias locally on each client? This means local subtraction or local margins. Ren et al.'s directions are averages over the item and user populations, which a client holding a few dozen interactions cannot estimate. LPSFed's local margins misjudge globally popular items on sparse clients. The local-versus-global margin ablation measures this cost directly.
Why not just add differential-privacy noise instead of cryptography? Noise calibrated to clipped per-client updates swamps tail rows, which already receive few updates; PAAC calls this insufficient supervision. Exact aggregation, as in TAPFed, loses no accuracy relative to non-private training. I include one central-DP run at a modest privacy level to show whether the damage concentrates in the tail deciles.
Proposed Experiments
The datasets are Amazon-Book, Yelp2018, Gowalla, and Movielens-1M. Clients are formed two ways: one user per client, and LPSFed-style subgraph clients. Evaluation follows MACR's debiased protocol, with test interactions sampled uniformly over items; the standard random split is also reported. Metrics are:
- Recall@20 and NDCG@20;
- NDCG@20 by popularity decile, as in Adap-τ;
- the head–tail accuracy gap, as in PAAC;
- the average embedding norm of head versus tail items over training;
- bytes per client per round, plus client and server wall-clock time;
- the fraction of released rows with fewer than $k$ contributors.
There are three decisive checks.
- The budget curve. On Amazon-Book, plot unbiased NDCG@20 against cumulative bytes per client for the scheduled protocol and the full-table secure baseline. The proposal succeeds if its curve dominates.
- The β sweep. Show that raising $\beta$ from zero shrinks the head–tail norm ratio and the accuracy gap without lowering overall NDCG. If uniform scheduling does as well, popularity-awareness is not the active ingredient.
- The sketch check. Confirm or refute that sketch-compressed secure aggregation widens the head–tail gap relative to full-table aggregation at equal bytes.
A secondary check reports the leakage rate under the cohort-sizing rule, so the privacy cost of the design is stated rather than assumed away.
References
- Fully Privacy-Preserving Federated Representation Learning via Secure Embedding Aggregation
- Mitigating Popularity Bias in Recommendation with Unbalanced Interactions: A Gradient Perspective
- Adap-τ : Adaptively Modulating Embedding Magnitude for Recommendation
- LightSecAgg: a Lightweight and Versatile Design for Secure Aggregation in Federated Learning
- MicroSecAgg: Streamlined Single-Server Secure Aggregation
- SASH: Efficient secure aggregation based on SHPRG for federated learning
- Low-pass Personalized Subgraph Federated Recommendation
- Popularity-Aware Alignment and Contrast for Mitigating Popularity Bias
- TAPFed: Threshold Secure Aggregation for Privacy-Preserving Federated Learning