[Paper Review] Blind Justice: Fairness with Encrypted Sensitive Attributes
This paper proposes a secure multi-party computation (MPC)-based framework that enables fair machine learning without exposing sensitive attributes (e.g., race, gender), ensuring both privacy and fairness. By encrypting sensitive features and using Lagrangian relaxation with fixed-point arithmetic, the method certifies fairness, trains fair models, and verifies model outputs—all while preserving cryptographic privacy for users, modelers, and regulators.
Recent work has explored how to train machine learning models which do not discriminate against any subgroup of the population as determined by sensitive attributes such as gender or race. To avoid disparate treatment, sensitive attributes should not be considered. On the other hand, in order to avoid disparate impact, sensitive attributes must be examined, e.g., in order to learn a fair model, or to check if a given model is fair. We introduce methods from secure multi-party computation which allow us to avoid both. By encrypting sensitive attributes, we show how an outcome-based fair model may be learned, checked, or have its outputs verified and held to account, without users revealing their sensitive attributes.
Motivation & Objective
- Address the tension between enforcing fairness in machine learning and protecting users' sensitive attributes (e.g., race, gender) from disclosure.
- Overcome legal, ethical, and privacy barriers—such as GDPR restrictions—by enabling fairness checks without revealing sensitive data.
- Enable auditable fairness certification, model training, and outcome verification without exposing either sensitive attributes or model parameters.
- Ensure that regulators can verify fairness compliance without accessing raw sensitive data or the modeler’s algorithm.
- Develop a practical MPC-based system that maintains accuracy and efficiency on real-world datasets despite cryptographic overhead.
Proposed method
- Use secure multi-party computation (MPC) to enable computation on encrypted sensitive attributes, ensuring no party—including the regulator—can access plaintext values.
- Extend MPC protocols to support linear constraints required for fairness notions (e.g., p%-rule, equal opportunity), using Lagrangian relaxation for optimization.
- Implement fixed-point arithmetic with precomputed multiplication triples to reduce computational overhead and prevent over/underflow in MPC.
- Apply piecewise linear approximations to non-linear functions (e.g., logistic function) to maintain accuracy and compatibility with MPC constraints.
- Integrate fairness certification into the training loop by checking whether fairness constraints are satisfied after each gradient update.
- Enable decision verification by allowing users to challenge model outputs using a certified model, ensuring the deployed model matches the trained, fair one.
Experimental results
Research questions
- RQ1Can fairness in machine learning be enforced and verified without revealing sensitive attributes to any party, including the modeler and regulator?
- RQ2How can secure multi-party computation be extended to support fairness constraints, such as those in the p%-rule or equal opportunity?
- RQ3What is the computational and accuracy trade-off of using MPC for fair model training and certification on real-world datasets?
- RQ4Can encrypted sensitive attributes be used to train models that are both fair and accurate, even when multiple sensitive attributes are involved?
- RQ5Is it feasible to verify that a deployed model matches the previously certified fair model without exposing the model or sensitive data?
Key findings
- The Lagrangian multiplier method with fixed-point arithmetic and piecewise linear approximations achieved robust fairness enforcement with less than 4% accuracy deviation from the baseline SLSQP method across six datasets.
- Fairness certification and model verification were computationally efficient, requiring less than one second per check, even in MPC settings.
- Training on a laptop computer took several orders of magnitude longer than non-MPC training, but remained feasible due to offline precomputation of multiplication triples.
- The method successfully balanced outcome rates across sensitive groups (e.g., z=0 vs. z=1) as the fairness constraint was tightened, particularly on synthetic and Bank datasets.
- The projected gradient method was unreliable on the Bank dataset, while the Lagrangian approach showed consistent performance and was most robust across all datasets.
- On the COMPAS dataset, fairness constraints activated earlier due to multiple sensitive attributes, but the method still achieved balanced outcomes with minimal accuracy loss.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.