---
title: 'Corr-RR: Correlated Randomized Response'
url: https://www.emergentmind.com/topics/correlated-randomized-response-corr-rr
type: topic
---

# Corr-RR: Correlated Randomized Response

Correlated Randomized Response (Corr-RR) is a correlation-aware local differential privacy mechanism for multi-attribute frequency estimation. In its explicit recent formulation, it is designed for records with multiple categorical attributes and addresses the utility loss that arises when standard local differential privacy methods either split the privacy budget across all attributes or perturb each attribute independently. Corr-RR uses a small subset of users to learn interattribute dependencies privately and then lets each remaining user perturb a single randomly selected attribute with the full privacy budget, reconstructing the other attributes from the learned dependencies without additional privacy cost [2507.17516]. Conceptually, it extends the older randomized response lineage in which privacy is understood through local randomization, posterior ambiguity, deniability, and matrix-based misclassification mechanisms [1803.02139].

## 1. Definition and data model

Corr-RR is studied for multi-attribute categorical data. Each user \(u_i\) holds a record
\[
\mathbf{x}_i = (x_{i,1}, x_{i,2}, \dots, x_{i,d}),
\]
where attribute \(X_j\) takes values from a finite domain \(\mathcal{D}_j\). The aggregation target is the marginal frequency
\[
f_j(v) = \frac{1}{n}\sum_{i=1}^{n}\mathbb{I}(x_{i,j}=v).
\]
The privacy model is local differential privacy: a mechanism \(\mathcal M\) is \(\epsilon\)-LDP if, for all inputs \(x,x'\) and outputs \(y\),
\[
\Pr[\mathcal{M}(x)=y] \le e^\epsilon \Pr[\mathcal{M}(x')=y).
\]
The stated motivation is that standard multi-attribute LDP methods lose utility in two characteristic ways. Split-budget methods divide \(\epsilon\) across \(d\) attributes, so each attribute receives only \(\epsilon/d\), while random-sampling-plus-fake-data methods allocate the full budget to one attribute but often impute the rest in a way that is poorly aligned with the real joint structure. Corr-RR is introduced precisely to exploit natural interattribute correlations under the same nominal privacy budget [2507.17516].

The mechanism is therefore not merely a different perturbation kernel. It is a reconstruction strategy built around two principles already visible in the problem statement: full-budget privatization of a small part of each record and correlation-guided inference for the remainder. This makes Corr-RR especially targeted at high-dimensional settings in which independent local randomization causes severe noise accumulation [2507.17516].

## 2. Randomized response foundations and conceptual lineage

Classical randomized response in the cited literature is formulated as a local mechanism for a sensitive attribute \(X\) with \(r\) possible values and reported value \(Y\), linked by a transition matrix
\[
P=\big(p_{uv}\big), \qquad p_{uv}=\Pr(Y=v\mid X=u), \quad u,v\in\{1,\dots,r\}.
\]
If the true population proportions are \(T=(T_1,\dots,T_r)^T\), then the response distribution is
\[
\lambda = PT.
\]
When \(P\) is nonsingular, the true proportions can be estimated unbiasedly by
\[
\hat t=(P^T)^{-1}\hat \lambda.
\]
This matrix view is central because it treats randomized response as a general local misclassification channel rather than as a special-purpose survey trick [1803.02139].

The same paper reframes randomized response as a deniability mechanism. For a reported value \(Y=v\), Bayes’ rule yields
\[
\Pr(X=u\mid Y=v)= \frac{\Pr(Y=v\mid X=u)\Pr(X=u)} {\sum_{u'=1}^r \Pr(Y=v\mid X=u')\Pr(X=u')}.
\]
If the posterior on an embarrassing value remains below certainty, the respondent can deny possessing that value. Deniability is quantified by the conditional Shannon entropy
\[
H(X\mid Y=v)=-\sum_{u=1}^r p_{vu}\log_2 p_{vu},
\]
with maximum \(\log_2 r\) when the posterior is uniform. The paper further notes a perfect-secrecy special case: if the probabilities in each column of \(P\) are identical, then \(H(X\mid Y=v)=H(X)\) for any \(v\), but \(P\) becomes singular, so the unbiased inverse estimator cannot be computed. The same work also presents randomized response as a local version of PRAM and uses deniability and permutation as unifying ideas connecting randomized response, differential privacy, PRAM, and \(t\)-closeness [1803.02139].

This lineage is relevant to Corr-RR because it identifies the structural object that correlated variants modify: the randomization channel. In a related optimization result for binary-output generalized randomized response, the unique optimal mechanism under strict \(\epsilon\)-DP is the symmetric channel
\[
P_\epsilon= \begin{pmatrix} \frac{e^\epsilon}{e^\epsilon+1} & \frac{1}{e^\epsilon+1}\\[4pt] \frac{1}{e^\epsilon+1} & \frac{e^\epsilon}{e^\epsilon+1} \end{pmatrix},
\]
showing that classical RR already admits an explicit differential-privacy-optimal form [1612.05568]. For discrete-valued sensitive variables, a further generalized mechanism uses
\[
\Pr(R=x_i\mid X=x_j)=p\,\delta_{ij}+\frac{1-p}{m},
\]
which again makes RR a symmetric misclassification model with unbiased inversion formulas for the category proportions and the population mean [1303.5172]. Corr-RR retains this local-channel perspective but departs from the independent-per-attribute assumption by making inference depend on learned attribute dependencies.

## 3. Two-phase Corr-RR mechanism

Corr-RR operates in two phases. In Phase I, a small subset of \(n_1 \ll n\) users reports all \(d\) attributes, and each attribute is perturbed separately using generalized randomized response with privacy budget \(\epsilon/d\). For attribute \(j\),
\[
\Pr(Y_{i,j}=v' \mid x_{i,j}=v)=
\begin{cases}
p_1=\dfrac{e^{\epsilon/d}}{e^{\epsilon/d}+k-1}, & v'=v,\\[4pt]
q_1=\dfrac{1}{e^{\epsilon/d}+k-1}, & v'\neq v,
\end{cases}
\]
where \(k = |\mathcal{D}|\). From these noisy reports the server forms unbiased marginal estimates
\[
\hat f_j^{I}(v) = \frac{I_j^{I}(v) - n_1\, q_1}{n_1\bigl(p_1 - q_1\bigr)}, \qquad I_j^{I}(v)=\sum_{i=1}^{n_1}\mathbb{I}(y_{i,j}=v),
\]
and uses them to derive a correlation-aware probability \(p_y\) for each attribute pair. The interpretation given is directional: positive alignment pushes \(p_y\) toward \(1\), negative relation pushes it toward \(0\), and little directional information places it near \(0.5\) [2507.17516].

In Phase II, the remaining \(n_2=n-n_1\) users each select one attribute uniformly from \([d]=\{1,\dots,d\}\), perturb only that attribute using the full budget \(\epsilon\), and generate the unselected attributes from the learned dependency model. The selected attribute uses
\[
\Pr(Y_{i,j}=v' \mid x_{i,j}=v)=
\begin{cases}
p_2=\dfrac{e^{\epsilon}}{e^{\epsilon}+k-1}, & v'=v,\\[4pt]
q_2=\dfrac{1}{e^{\epsilon}+k-1}, & v'\neq v.
\end{cases}
\]
Each other attribute \(X_k\) is then indirectly generated from the already perturbed value \(Y_{i,j}\) via
\[
\Pr\!\bigl(Y_{i,k}=v' \mid Y_{i,j}=v\bigr)=
\begin{cases}
p_y, & v'=v,\\[4pt]
1-p_y, & v'\neq v.
\end{cases}
\]
The critical design point is that this indirect generation is post-processing of an already privatized value, so it does not consume additional privacy budget [2507.17516].

Corr-RR therefore differs from standard per-attribute RR in two precise respects. First, it concentrates the full privacy budget on one attribute for most users instead of fragmenting the budget over all attributes. Second, it replaces fake-data completion with dependency-guided reconstruction learned privately from the data itself [2507.17516].

## 4. Estimation, optimization, and privacy guarantee

The phase-wise estimators in Corr-RR are generalized RR estimators. In Phase II, for a value \(v\),
\[
\hat f_j^{\mathrm{II}}(v) = \frac{I_j^{\mathrm{II}}(v) - (n-n_1)\,q_2}{(n-n_1)(p_2-q_2)}, \qquad I_j^{\mathrm{II}}(v)=\sum_{i=n_1+1}^{n}\mathbb{I}(y_{i,j}=v).
\]
The final estimator combines the two phases by a weighted average:
\[
\hat f_j(v)=\frac{n_1\,\hat f_j^{I}(v) + (n-n_1)\,\hat f_j^{\mathrm{II}}(v)}{n}.
\]
This preserves the usual unbiased GRR-style correction structure while allocating the noisy sample budget asymmetrically across users [2507.17516].

A substantial part of the mechanism is the choice of \(p_y\). The paper models the Phase-II mean squared error for a categorical value \(v\) as
\[
MSE\bigl[\hat{f}^b_{1}(v)\bigr] = A(v)^2 + \frac{\tfrac{1}{4}-B(v)^2}{n'\Delta^2},
\]
where
\[
A(v)=\frac{d_0(v)}{2}+\frac{p_y e(v)}{2}, \qquad B(v)=\frac{\Delta}{2}\left[a_0(v)+p_y e(v)\right],
\]
\[
f_a(v)=\Pr[X_1=v], \qquad f_b(v)=\Pr[X_2=v],
\]
\[
d_0(v)=1-f_a(v)-f_b(v),\qquad e(v)=2f_b(v)-1,
\]
\[
p=\frac{e^\epsilon}{e^\epsilon+k-1}, \qquad q=\frac{1}{e^\epsilon+k-1}, \qquad \Delta=p-q.
\]
Averaging over all values yields a quadratic objective in \(p_y\), and the stated optimizer is
\[
p_{y}^{*} = \frac{\displaystyle \sum_{v=0}^{d-1}\Bigl[ \frac{d_{0}(v)e(v)}{2d} -\frac{a_{0}(v)e(v)}{2n'd} \Bigr] } {\displaystyle \sum_{v=0}^{d-1}\Bigl[ \frac{e(v)^2}{4d} -\frac{e(v)^2}{4n'd} \Bigr] }.
\]
The endpoints \(p_y=0\) and \(p_y=1\) are also evaluated, and the best of \(\{0,p_y^*,1\}\) is chosen [2507.17516].

The privacy theorem is explicit: Corr-RR satisfies \(\epsilon\)-LDP. The proof uses three standard facts. Phase I is \(\epsilon\)-LDP by sequential composition because each user perturbs all \(d\) attributes with GRR using \(\epsilon/d\) per attribute. Phase II is \(\epsilon\)-LDP because one attribute is perturbed with budget \(\epsilon\) and the rest are produced by post-processing. Since the Phase-I and Phase-II user sets are disjoint, the combined mechanism remains \(\epsilon\)-LDP by parallel composition. The paper also notes a privacy amplification viewpoint for random attribute selection in Phase II,
\[
\epsilon'=\ln\!\Bigl(\tfrac{1}{\beta}(e^\epsilon-1)+1\Bigr), \qquad \beta=\frac1d,
\]
while emphasizing that the formal guarantee remains \(\epsilon\)-LDP [2507.17516].

## 5. Pairwise correlated randomized response: Joint RR

A distinct but closely related correlated randomized response construction is Joint Randomized Response (JRR), which addresses binary frequency estimation under local differential privacy. JRR divides users into disjoint groups of two and introduces dependence between the two users’ perturbations while preserving the same one-user marginal behavior as classical RR. If pair \(G_i\) contains users \(u_{2i-1}\) and \(u_{2i}\), then the joint truthfulness vector \((T_{2i-1},T_{2i})\in\{0,1\}^2\) is sampled according to
\[
\Pr[T_{2i-1}=1,T_{2i}=1]=p^2+\rho pq,
\]
\[
\Pr[T_{2i-1}=1,T_{2i}=0]=(1-\rho)pq,
\]
\[
\Pr[T_{2i-1}=0,T_{2i}=1]=(1-\rho)pq,
\]
\[
\Pr[T_{2i-1}=0,T_{2i}=0]=q^2+\rho pq,
\]
where \(q=1-p\), \(0.5<p\le 1\), and
\[
1-\frac{1}{p}\le \rho\le 1.
\]
Each user then reports
\[
y_j=
\begin{cases}
x_j, & T_j=1,\\
1-x_j, & T_j=0.
\end{cases}
\]
When \(\rho=0\), the mechanism reduces to independent classical RR within each pair [2505.10349].

The defining property is that the marginals remain unchanged:
\[
\Pr[T_j=1]=p,\qquad \Pr[T_j=0]=q.
\]
Thus each individual report looks exactly like classical RR in isolation, while the pairwise dependence can reduce estimator variance through negative covariance. The unbiased estimator remains
\[
\hat n_v=\frac{I_v-nq}{p-q},
\]
with
\[
\mathrm{E}[I_v]=n_v p+(n-n_v)q=(p-q)n_v+nq.
\]
The variance is
\[
\mathrm{Var}[\hat n_v] = \frac{pq}{(p-q)^2}\left( n+\frac{\rho\big((2n_1-n)^2-n\big)}{n-1} \right),
\]
which collapses to classical RR when \(\rho=0\). The paper explains the utility gain through
\[
\mathrm{Var}[Y_1+Y_2] = \mathrm{Var}[Y_1]+\mathrm{Var}[Y_2]+2\mathrm{Cov}[Y_1,Y_2],
\]
with JRR choosing the joint distribution so that \(\mathrm{Cov}[Y_1,Y_2]\) is negative in the useful regimes. In the illustrative example with \(p=0.8\), the independent RR variance for estimating \(n_1\) is \(0.89\), while the correlated example drops it to about \(0.72\) [2505.10349].

The privacy analysis is correspondingly subtler than in independent RR. JRR analyzes a conditional privacy notion under possible collusion and proves
\[
\frac{\Pr[\mathcal M(x_i)=y_i\mid \mathcal T_c]}{\Pr[\mathcal M(x_i')=y_i\mid \mathcal T_c]}\le e^\varepsilon,
\]
with
\[
\varepsilon=\ln\frac{m p_{\max}+(n-m-1)p}{m p_{\min}+(n-m-1)q},
\]
\[
p_{\max}=\max\{(1-\rho)p,\; p+\rho q\},\qquad p_{\min}=\min\{(1-\rho)q,\; q+\rho p\}.
\]
The guarantee relies on hiding group membership. If the collector knew which two users were paired, and especially if one member colluded, the correlation could reveal extra information about the partner. This hidden-pair condition is therefore central rather than incidental [2505.10349].

JRR is not identical to multi-attribute Corr-RR, but it is a direct correlated randomized response scheme in the same broad family: it preserves RR-like marginals while engineering dependence to improve aggregate estimation.

## 6. Empirical behavior, limitations, and terminological boundaries

Empirically, Corr-RR is evaluated on synthetic data with \(2\) or \(4\) attributes, binary domain \(|\mathcal{D}|=2\), categorical domain \(|\mathcal{D}|=10\), correlations \(\rho \in \{0.1, 0.5, 0.9\}\), and \(n=10{,}000\), as well as on the real-world Clave, Nursery, and Mushroom datasets. The metric is
\[
MSE = \frac{1}{d}\sum_{j=1}^{d}\frac{1}{|D_j|}\sum_{v_i\in D_j}(f(v_i)-\hat f(v_i))^2.
\]
The reported pattern is consistent: Corr-RR usually achieves the lowest MSE, and its gains are strongest when the number of attributes is larger, \(\epsilon\) is small, and correlations are stronger. In synthetic experiments with \(\rho=0.9\), Corr-RR can reduce MSE by about \(60\%\) versus SPL at \(\epsilon=1\) in binary \(2\)-attribute settings, and in \(4\)-attribute categorical settings it can achieve over \(90\%\) reduction relative to SPL at \(\epsilon=1\) under strong correlation. On Clave, Nursery, and Mushroom, it outperforms SPL, RS+FD, and RS+RFD, with especially large gains on Mushroom at low \(\epsilon\) [2507.17516].

The mechanism also has explicit limitations. If attributes are nearly independent, the reconstruction step has less signal to exploit. If \(n_1\) is too small, the correlation estimate \(p_y\) may be inaccurate; if \(n_1\) is too large, too many users are spent in the noisier Phase-I regime. The experiments identify a sweet spot around \(n_1/n \approx 0.1\). The paper also notes that some correlation patterns are complex and may not be captured perfectly by a single correlation parameter, motivating the sketched alternative “Cond-RR,” and that the exact \(p_y\) derivation is more straightforward when domains are aligned [2507.17516].

A useful way to situate Corr-RR is to contrast it with adjacent mechanisms:

| Mechanism | Dependence structure | Primary setting |
|---|---|---|
| Standard RR | Independent per-attribute or per-user perturbation | Local randomization and survey/privacy channels |
| JRR | Pairwise correlated perturbations within hidden user pairs | Binary frequency estimation under LDP |
| Corr-RR | Interattribute dependency learning and reconstruction from one privatized attribute | Multi-attribute frequency estimation under LDP |

Several neighboring topics are often conflated with Corr-RR but are technically distinct. The readout-error mitigation protocol based on correlated POVM reconstruction in quantum devices is related only at a high conceptual level because it corrects correlated distortion in outputs, but it is a non-randomized detector-tomography and inversion method rather than a randomized-response mechanism [2503.24276]. The improved randomized response technique for two sensitive attributes is a joint survey design for estimating \(T_A\), \(T_B\), and \(T_{AB}\), but its “correlation” is primarily the association between the sensitive attributes themselves rather than explicit correlation in the randomization process [1601.00341]. Private machine learning via randomized response generalizes the idea still further by learning from one noisy release per datapoint through a known corruption channel \(p(\tilde{x}\mid x)\), but it does not define Corr-RR as a named multi-attribute LDP mechanism [2001.04942].

The resulting picture is precise. Corr-RR, in the strict contemporary sense, is the two-phase multi-attribute LDP mechanism that privately learns dependencies and then reconstructs unreported attributes from one fully privatized attribute per user. In a broader methodological sense, it belongs to a family of correlated randomized response constructions that preserve local privacy behavior while using carefully designed dependence to recover utility lost by independent perturbation.

Source: https://www.emergentmind.com/topics/correlated-randomized-response-corr-rr