Papers
Topics
Authors
Recent
Search
2000 character limit reached

Partitioned Probabilistic Neighbour Selection

Updated 23 March 2026
  • Partitioned Probabilistic Neighbour Selection (PPNS) is an approach that divides candidates into disjoint partitions to optimize neighbour selection under privacy and efficiency constraints.
  • The method uses exponential mechanism sampling within partitions to ensure differential privacy and robust resistance against kNN attacks.
  • Empirical results in collaborative filtering and spatial querying show PPNS achieves improved accuracy–privacy trade-offs and faster query times compared to global randomisation.

Partitioned Probabilistic Neighbour Selection (PPNS) describes a class of algorithms for neighbour selection where candidates are divided into disjoint groups (“partitions”) and sampling occurs within or across these partitions according to a scheme designed to balance accuracy, privacy, and computational efficiency. PPNS has been independently developed for two major domains: privacy-preserving collaborative filtering and efficient spatial probabilistic neighbourhood queries. In both cases, the partitioned approach leads to improved trade-offs over prior, globally randomised strategies, with provable guarantees on utility metrics and adversary resilience.

1. Formal Definitions and Core Concepts

In the canonical collaborative filtering setting, given a set of users UU and a target user uau_a, all other users uiu_i are ranked by their similarity sim(ua,ui)\mathrm{sim}(u_a, u_i) to uau_a (e.g., by cosine similarity). The sorted list Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \} is then partitioned into β\beta disjoint groups, each of size kk: N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \} Neighbour selection proceeds by drawing kk users from these blocks, with at least one neighbour required from the lowest-similarity block uau_a0.

Two principal metrics quantify the quality and privacy of the selection:

  • Accuracy (uau_a1):

uau_a2

where uau_a3 is the expected selection indicator for uau_a4.

  • Security (uau_a5): The number of partitions, each of size uau_a6, across which neighbours must be drawn, defining the minimum effective strength required for an attack to succeed.

In the spatial context, with uau_a7 and query uau_a8, each uau_a9 is included in uiu_i0 independently with probability uiu_i1, for a monotonic function uiu_i2 (Looz et al., 2015).

2. Algorithmic Procedure: Partitioning and Sampling

The PPNS algorithm exploits the partition structure to optimise the neighbour selection process under privacy or efficiency constraints.

Collaborative Filtering PPNS

  1. Sorting and Partitioning: Candidate users are sorted by similarity and divided into uiu_i3 contiguous partitions of size uiu_i4.
  2. Neighbour Allocation: The allocation problem is solved as a linear program under the constraints uiu_i5 and uiu_i6. The optimal solution is

uiu_i7

ensuring that uiu_i8 neighbours are chosen from the highest-similarity partition, one from the lowest, maximising uiu_i9 under the enforced security level sim(ua,ui)\mathrm{sim}(u_a, u_i)0 (Lu et al., 2015).

  1. Differential Privacy Mechanism: Within each partition, selection proceeds via the exponential mechanism with weights

sim(ua,ui)\mathrm{sim}(u_a, u_i)1

where sim(ua,ui)\mathrm{sim}(u_a, u_i)2 is the recommendation-aware sensitivity of the similarity score. Sampling is performed without replacement proportional to the weights, guaranteeing sim(ua,ui)\mathrm{sim}(u_a, u_i)3-differential privacy (Lu et al., 2015, Lu et al., 2015).

Spatial PPNS

  1. Spatial Partitioning: Points are indexed in a balanced polar quadtree (for sim(ua,ui)\mathrm{sim}(u_a, u_i)4), with angular and radial splits ensuring cells have equal probability mass under a known or estimated density sim(ua,ui)\mathrm{sim}(u_a, u_i)5.
  2. Query Algorithm: For query sim(ua,ui)\mathrm{sim}(u_a, u_i)6, the algorithm recursively traverses the quadtree. If the expected number of neighbours in a cell is less than one, the cell is treated as a “virtual leaf” and processed via “jump-sampling” with base probability sim(ua,ui)\mathrm{sim}(u_a, u_i)7.
  3. Efficiency: By partitioning the space into “probability bands” and aggregating small cells, the expected running time per query is reduced to sim(ua,ui)\mathrm{sim}(u_a, u_i)8 with high probability (Looz et al., 2015).

3. Theoretical Properties and Guarantees

PPNS offers distinct theoretical advantages:

  • Optimal Accuracy Under Security Constraint: The neighbour allocation (concentrating sim(ua,ui)\mathrm{sim}(u_a, u_i)9 selections in uau_a0, one in uau_a1) is proven to maximise the expected similarity sum uau_a2 given the enforced partition span uau_a3 (Lu et al., 2015).
  • Differential Privacy Assurance: Exponential mechanism sampling within each partition achieves uau_a4-differential privacy for the neighbour selection procedure.
  • Attack Resistance: By requiring that the final neighbour be drawn from partition uau_a5, the cost for a uau_a6NN adversary increases to uau_a7 required fake profiles. The classic uau_a8NN attack has zero success probability when uau_a9 (geometric partition allocation parameter) (Lu et al., 2015).
  • Query Complexity: In spatial data, the overall query cost is Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}0, where Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}1 is the output size; this is sublinear in Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}2 except for very large Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}3 (i.e., dense neighbourhoods) (Looz et al., 2015).

4. Practical Implementation and Complexity

PPNS algorithms follow predictable preprocessing and query steps:

Step Complexity (CF) Complexity (Spatial)
Similarity computation/sorting Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}4 N/A
Quadtree construction N/A Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}5 (expected)
Partitioning Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}6 Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}7
Within-partition sampling Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}8 Sa={u1,u2,,un}S_a' = \{ u_1, u_2, \ldots, u_n \}9

In collaborative filtering, weighted neighbour selection within two partitions of size β\beta0 each keeps the per-query cost mild while reducing overall privacy-induced noise, since the DP exponent is not scaled by the total number β\beta1 of candidates.

In spatial data queries, the quadtree supports efficient aggregation and “jump-sampling” exploits geometric skipping to avoid examining every point, resulting in practical query times one to two orders of magnitude less than brute-force approaches for millions of points (Looz et al., 2015).

5. Empirical Results and Applications

Collaborative Filtering

Experiments on MovieLens and Douban datasets, using mean absolute error (MAE) as the evaluation metric, confirm the theoretical claims:

  • PPNS’s MAE converges to that of the deterministic β\beta2NN as β\beta3 (i.e., maximum accuracy).
  • Under β\beta4NN attack conditions, PPNS yields 10–30% lower MAE than naive (global) probabilistic neighbour selection or private neighbour collaborative filtering (Lu et al., 2015).
  • For fixed privacy budget β\beta5 and increasing β\beta6, PPNS exhibits higher accuracy than global-exponential baselines.

Spatial Data

  • Disease-spread simulation on real population data (3–14 million points) achieved PPNS query speeds over 100β\beta7 faster than direct coin-flipping on all points.
  • Random hyperbolic graph generation for β\beta8 up to β\beta9 delivered runtimes kk0 faster than previous kk1 implementations, matching the theoretical kk2 prediction (Looz et al., 2015).

6. Extensions, Applications, and Limitations

The PPNS framework is adaptable:

  • Generalisation to kk3NN Attacks: Increasing kk4 enforces higher adversary cost. The minimal attack set must span all kk5 blocks, greatly raising the bar compared to classical attacks.
  • Spatial Geometry: The quadtree-based PPNS readily adapts to hyperbolic space, enabling efficient generation of random hyperbolic graphs at arbitrary temperatures.
  • Partition Choice and Performance: When the density kk6 is unknown, empirical medians can be used for partitioning, which, while sacrificing precise kk7 cell-probability guarantees, still achieves strong practical performance.
  • Fine-tuned Trade-off: The geometric mixing parameter kk8 (in probabilistic block allocation) allows provable, fine-grained control over the accuracy–privacy trade-off (Lu et al., 2015).
  • Applicability: Although primarily evaluated in collaborative filtering and spatial query contexts, the structural principle of partitioned, localised randomisation has potential utility in any setting where controlled trade-offs between utility and privacy or efficiency are required.

7. Comparison to Alternative Approaches

PPNS improves over global randomised neighbour selection in several fundamental respects:

Scheme Privacy Guarantee Accuracy/Utility Complexity
Global Randomised kk9-DP (global) High noise, lower N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \}0 N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \}1 neighbour pool
PPNS (Partitioned) N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \}2-DP (local) Provably maximal N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \}3 at fixed N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \}4 N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \}5 within-block sampling
Deterministic N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \}6NN None Maximal No privacy

In all examined domains, partitioned selection methods guarantee higher utility for the same security or privacy level, reduce the magnitude of noise induced by DP, and enforce robust lower bounds on adversary success probability dictated by the chosen N1={u1,,uk},  N2={uk+1,,u2k},,Nβ={u(β1)k+1,,uβk}N_1 = \{ u_1, \ldots, u_k \}, \; N_2 = \{ u_{k+1}, \ldots, u_{2k} \}, \ldots, N_\beta = \{ u_{(\beta-1)k+1}, \ldots, u_{\beta k} \}7 parameter.


Partitioned Probabilistic Neighbour Selection is a methodological advancement that enables provable and tunable accuracy–privacy (or accuracy–security) trade-offs by restricting probabilistic selection to suitably structured partitions, rather than applying global randomisation. Its theoretical guarantees and empirical results demonstrate substantial improvements over previous globalised schemes in both privacy-sensitive recommendation and efficient querying of probabilistic spatial neighbourhoods (Looz et al., 2015, Lu et al., 2015, Lu et al., 2015).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Partitioned Probabilistic Neighbour Selection (PPNS).