TL;DR
This paper introduces Immutable Private Counterfactual Retrieval (I-PCR), a framework that allows individuals rejected by a machine learning model to find the closest "accepted" profile (a counterfactual explanation) without revealing their personal data or specifying which features they cannot change (like gender or nationality). The authors propose two novel protocols leveraging Private Information Retrieval (PIR) to guarantee information-theoretic privacy for the user while balancing communication overhead and database privacy.
What Problem Does This Paper Address?
When an automated system rejects an applicant—such as a bank denying a loan application—counterfactual explanations provide a path forward by showing the minimum changes needed to reverse the decision (e.g., "increase your income by $10,000"). However, requesting these explanations creates a double privacy dilemma. First, users must reveal their sensitive feature vectors to the institution. Second, users often have "immutable" attributes—such as ethnicity, gender, or place of birth—that cannot be changed, and they may want to keep the identity of these immutable constraints private as well.
Prior work on Private Counterfactual Retrieval (PCR) assumed all features could be altered. This paper tackles the more realistic and challenging problem of Immutable Private Counterfactual Retrieval (I-PCR): how can a user privately find the closest viable counterfactual from a database of accepted samples while keeping their input vector, their choice of immutable features, and the final counterfactual index completely hidden from the institution?
Methods
The authors propose a system model where a database of accepted profiles is replicated across $N$ non-colluding servers, as illustrated below:
To solve the I-PCR problem, they introduce two distinct multi-server cryptographic schemes operating over finite fields:
- Two-Phase I-PCR: This scheme splits the task into two steps. In Phase 1, the user securely queries the servers to identify the subset of database samples ($\Theta$) that exactly match their immutable features. In Phase 2, the user retrieves the exact distances only for this valid subset to determine the closest match. This can be implemented using $N=3$ servers, or optimized with $N=4$ servers to significantly reduce communication overhead when the number of features ($d$) is larger than the database size ($M$).
- Single-Phase I-PCR: This scheme compresses the retrieval into a single round of queries. It introduces a large scaling factor ($L$) applied as a mathematical weight to the immutable features. If a database sample mismatches on even one immutable feature, the scaling factor pushes its calculated distance into a massive, distinct range. This allows the user to decode the closest valid counterfactual in one shot.
Extension for User Actionability: Both schemes can be modified to incorporate user preferences regarding mutable features, allowing users to penalize changes to attributes they are reluctant to alter (e.g., preferring to change a zip code over a job title).
Datasets
The authors evaluate the database leakage properties of their schemes using a synthetic dataset. The samples are assumed to be uniformly distributed over a discrete space ($[0:R]^d$), with the maximum feature value set to $R=3$, the number of features $d=3$, and the database size $M=3$. The authors also note that they validated the computational runtime of these schemes using analyses on real-world datasets.
Key Insights and Ideas
- The Privacy-Communication Trade-off: There is a clear engineering trade-off between the two approaches. The Single-Phase scheme is highly communication-efficient but suffers from higher "database leakage"—meaning the user inadvertently learns more mathematical details about unselected entries in the database.
- Range Separation via Scaling: The single-phase approach's use of a massive scaling factor ($L$) to separate matching and non-matching samples into disjoint distance ranges is a clever way to handle conditional logic purely through algebraic polynomial queries.
- Zero-Leakage Extremes: In the Two-Phase scheme, if all features are marked as immutable ($|I| = d$), the database leakage drops to absolute zero. This happens because the user instantly learns that no valid counterfactual exists during the first phase and terminates the protocol before downloading any distance metrics.
Key Results
- Communication Cost: The Single-Phase scheme significantly reduces communication overhead, saving $3d + 6M$ symbols compared to the standard Two-Phase scheme.
- Database Leakage: As quantified in the authors' numerical analysis, the Two-Phase scheme consistently leaks less information to the user than the Single-Phase scheme across varying sizes of the immutable set ($|I|$):
Limitations and Future Work
- Server Non-Collusion Assumption: Like many classical PIR protocols, these schemes rely on the assumption that the database is replicated across multiple servers that do not collude or communicate with each other. In practical deployment across financial or medical institutions, ensuring absolute non-collusion can be challenging.
- Asymmetric Privacy: While the user's privacy is perfectly preserved (information-theoretically secure), the institution's database privacy is not absolute; the user still learns non-zero information about other samples. Future work could focus on developing fully symmetric protocols (SPIR) for I-PCR that reduce database leakage to zero for all valid query types.
Summary updated