Papers
Topics
Authors
Recent
Search
2000 character limit reached

BlockRR: Unified Protocols for Privacy & Consensus

Updated 10 February 2026
  • BlockRR is a framework that employs block-structured randomness and scheduling to balance privacy, security, and fairness through deterministic probability partitions.
  • It generalizes randomized response protocols by partitioning label spaces into majority and minority subsets using block-wise probability allocations and closed-form normalization.
  • In blockchain consensus, BlockRR enables fair, deterministic leader selection by adopting round-robin scheduling and weighted validation to resist adversarial bias.

BlockRR encompasses a class of mechanisms and protocols that leverage block-structured randomness and scheduling, most notably for (1) label differential privacy, (2) distributed storage security, and (3) blockchain consensus. This entry focuses on the principal BlockRR frameworks as introduced in randomized response for label differential privacy (Liu et al., 3 Feb 2026) and consensus selection (Ahmed-Rengers et al., 2018), with pointers to code-theoretic and related usages. The central paradigm is the deterministic (or block-partitioned) allocation of probabilities or roles within a system, trading between privacy, security, and fairness guarantees as a function of system parameters.

1. Unified Randomized Response for Label Differential Privacy

BlockRR, as formulated in (Liu et al., 3 Feb 2026), is a generalization of RR-type mechanisms for satisfying label differential privacy (label-DP). Let SS be the label space, partitioned into majority (S1S_1) and minority (S2S_2) subsets based on estimated prior weight. The user specifies a candidate mapping B:S2S~B: S \to 2^{\tilde S}, where S~\tilde S is the set of randomized output labels and yB(y)y \in B(y). BlockRR further selects a subset ΔS~1\Delta \subseteq \tilde S_1 of size \ell, allowing the (y,y~)(y, \tilde y) probability plane to be expressed in four blocks:

  • yS2,y~Δy \in S_2, \tilde y \in \Delta: uniform probability 1/S~1/|\tilde S|
  • yS2,y~B(y)y \in S_2, \tilde y \in B(y): eϵγe^{\epsilon}\gamma
  • yS2,y~B(y)Δy \in S_2, \tilde y \notin B(y)\cup\Delta: γ\gamma
  • yS1,y~B(y)y \in S_1, \tilde y \in B(y): eϵβe^{\epsilon}\beta
  • yS1,y~S~1B(y)y \in S_1, \tilde y \in \tilde S_1\setminus B(y): β\beta
  • yS1,y~S~2y \in S_1, \tilde y \in \tilde S_2: γ\gamma

Parameters β,γ>0\beta,\gamma > 0 are computed via a linear system that ensures normalization and differential privacy for any y,y,y~y, y', \tilde y:

Pr[Y~=y~Y=y]Pr[Y~=y~Y=y]eϵ\frac{\Pr[\tilde Y = \tilde y \mid Y = y]}{\Pr[\tilde Y = \tilde y \mid Y = y']} \leq e^{\epsilon}

A closed-form solution is derived under B(y)b\lvert B(y) \rvert \equiv b assumptions, as detailed in equations (1) and (2) of (Liu et al., 3 Feb 2026).

BlockRR subsumes prior mechanisms (standard RR, RRWithPrior, RRonBins, RPWithPrior) as special cases by proper selection of (S1,S2,S~1,S~2,B,)(S_1, S_2, \tilde S_1, \tilde S_2, B, \ell), removing the need for individual case analysis.

2. Differential Privacy Guarantees and Weight Matrix Partitioning

BlockRR enforces ϵ\epsilon-label DP (Theorem 3.3, (Liu et al., 3 Feb 2026)) across all label mappings, with the ratio of output probabilities for any pair y,yy, y' tightly controlled. This is realized by setting the highest allowed probability to eϵe^{\epsilon} times the smallest, as implemented in the block-structured conditional probabilities.

Majority/minority partitioning of SS is determined in a data-driven manner. A small fraction of the dataset (or public prior) is processed via the Laplace mechanism to estimate the empirical label prior p=(p1,,pK)\mathbf{p}=(p_1,\dots,p_K). A K×KK\times K weight matrix is constructed:

wij=pjexp(1ijσ)w_{ij} = p_j \exp \left( - \frac{1_{i \neq j}}{\sigma} \right)

with σ>0\sigma > 0 as a tuning parameter. Set S1={i:wiimaxjiwij}S_1 = \{ i: w_{ii} \geq \max_{j\neq i} w_{ij} \}, and S2=SS1S_2 = S \setminus S_1, yielding a sharply defined criterion for label dominance and block assignment. This partition mitigates "class collapse" by distributing probability mass for minority classes off-diagonal.

Parallel composition is invoked by splitting data into disjoint subsets: one for estimating p\mathbf{p}, one for BlockRR randomization; the overall DP guarantee remains ϵ\epsilon (not 2ϵ2\epsilon), by the parallel composition theorem.

3. Pseudocode and Implementation Workflow

The operational procedures of BlockRR are formalized in two core algorithms, emphasizing explicit blockwise and labelwise processing. Below is an excerpted version:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Input:
    y: True label in S
    Partition S = S1  S2
    Candidate mapping B: S  2^{tilde S}, y  B(y)
    tilde S1 = B(S1)  tilde S, tilde S2 = tilde S \ tilde S1
    Δ  tilde S1 of size ℓ
    ε: privacy budget
    β, γ: as computed from (2)
If y  S2:
    With prob 1/|tilde S| output ~y  Δ
    Else if ~y  B(y): output with e^ε·γ
    Else: output with γ
Else: # y ∈ S1
    If ~y  tilde S2: output with γ
    Else if ~y  B(y): output with e^ε·β
    Else: output with β
Return ~y

End-to-end dataset privatization proceeds by splitting the dataset D=D1D2D = D_1 \cup D_2, estimating p\mathbf{p} from D1D_1 under ϵ\epsilon-Laplace noise, partitioning (S1,S2)(S_1, S_2), and applying BlockRR to D2D_2.

4. Empirical Evaluation and Regime Characterization

Evaluation is performed on imbalanced CIFAR-10 variants, contrasting BlockRR, RR (classical), and RRWithPrior. For privacy budgets ϵ3.0\epsilon \leq 3.0 ("high"- or "moderate"-privacy regimes), BlockRR yields a more favorable balance between test accuracy and average per-class accuracy. In particular, it avoids the minority-class suppression characteristic of prior-based mechanisms and achieves lowest variance in per-class accuracy for intermediate ϵ\epsilon.

Table: Representative Results on CIFAR-101_1

ε Overall Acc (RR) RRWithPrior BlockRR Avg Per-class Acc (RR) RRWithPrior BlockRR
0.6 39.75 ±1.44 37.74 ±4.06 40.31±2.08 29.14 26.17 28.52
0.8 46.18±1.51 47.54±4.32 47.11±1.43 37.25 33.07 35.40
1.0 53.66±2.18 54.86±4.19 55.12±2.69 46.01 38.42 43.30
2.0 78.74±0.48 73.20±1.53 78.86±0.56 - - -
3.0 87.67±0.50 83.35±1.93 87.60±0.51 - - -
4.0+ ≈91–92 ≈91–92 ≈91–92 - - -

For ϵ4.0\epsilon \geq 4.0, all approaches converge to standard RR behavior and no relative advantage persists. This regime separation precisely characterizes where data-driven blockwise randomization is most impactful.

5. Instantiation, Specialization, and Theoretical Connections

BlockRR encompasses, as proper specializations, all existing major RR-type label-DP mechanisms:

  • Standard RR: all labels majority (S1=SS_1=S, S2=S_2=\emptyset, identity mapping), uniform output probabilities.
  • RRWithPrior: designate top-k majority classes as S1S_1, others as S2S_2; minority classes omitted from outputs.
  • RRonBins: bin-mapped output labels, S1=SS_1 = S, BB as binning map.
  • RPWithPrior: candidate sets are intervals [yδ,y+δ][y-\delta, y+\delta] per label, with appropriate block definitions.

BlockRR's unification relies on its explicit four-block probabilistic structure and linear solution of normalization/equity constraints, permitting arbitrary prior-driven or structural partitionings.

6. BlockRR in Blockchain Consensus Protocols

A distinct usage of the term BlockRR ("Robust Round Robin") appears in blockchain consensus, denoting a deterministic leader selection protocol for Proof-of-Stake systems (Ahmed-Rengers et al., 2018). Here, the deterministic schedule ensures fairness (block production proportional to stake), and the protocol incorporates:

  • Long-lived identities based on attested SGX quotes or PoW-mined commitments.
  • Candidate selection by round-robin over identities, ranked by age.
  • Endorsement by a sampled committee among active identities, with a block proposed only after a quorum confirm.
  • Formal analysis of fork probabilities, adversarial bias resistance, and realized transaction finality.

This protocol eliminates bias inherent in Verifiable Random Function leader selection and achieves throughput and fairness guarantees supported by empirical and probabilistic analysis.

BlockRR embodies a block-structured philosophy in privacy, security, and consensus. In distributed storage, "block security" refers to security guarantees not for the entire dataset but for blocks (subsets) of data, offering a spectrum between no secrecy and perfect secrecy by tuning the block size parameter (see (Dau et al., 2013)). In Block Failure Resilient codes (Calis et al., 2014), block structure governs resilience and repair dynamics in distributed storage.

A plausible implication is that the block-structural paradigm, as instantiated in BlockRR-type schemes, flexibly mediates resource tradeoffs—accuracy, privacy, repair bandwidth, and fairness—by algorithmically partitioning the system's operational space, and solving the resulting system of constraints globally rather than casewise. Empirical evidence suggests that such approaches yield optimal or near-optimal performance in regimes of strong privacy or high security demand.


References:

Topic to Video (Beta)

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 BlockRR.