How to investigate bias while preserving model accuracy?
Short answer
D Define a fairness metric that is represented by accuracy across the sensitive features. Train a BigQuery ML boosted trees classification model with all features. Use the trained model to make predictions on a test set. Join the data back with the sensitive features, and calculate a fairness metric to investigate whether it meets your requirements.
Question
Key Takeaways
The correct approach is to measure fairness using a defined metric on a test set containing sensitive attributes, rather than excluding features based on correlation or global importance scores.
To investigate and mitigate bias without sacrificing accuracy, define a fairness metric (like accuracy parity) and evaluate the model on a test set joined with sensitive features. This allows for the quantification of bias across groups before deciding on mitigation strategies.
Common mistake: Selecting Option A is a common error because removing features correlated with sensitive attributes (fairness through unawareness) often reduces model accuracy and fails to address bias effectively.
Expert Analysis
Why the Answer Is Correct
Option D is the best approach because it follows the standard workflow for Responsible AI: define a quantifiable fairness metric relevant to the context, train the model, and then evaluate its performance specifically against that metric using a test set that includes sensitive attributes. This method allows you to directly measure if the model is disadvantaged for specific groups without arbitrarily removing data that might be crucial for maintaining model accuracy.
Why the Other Options Are Wrong
Option A is incorrect because excluding sensitive features and their proxies (correlated features) is a technique known as 'fairness through unawareness,' which often fails to mitigate bias and significantly degrades model accuracy. Option B is incorrect because global feature importance (ML.GLOBAL_EXPLAIN) indicates a feature's overall contribution to the model, not whether it causes disparate performance across demographic groups. Option C is incorrect because local explanations (ML.EXPLAIN_PREDICT) explain individual predictions, and discarding a model based on a single customer's attribution values is not a valid strategy for assessing group-level fairness.
Community Comment Notes
The community consensus strongly supports Option D, emphasizing that it allows for a direct bias assessment and preserves information by avoiding premature feature removal. Several comments referenced Google Cloud documentation on evaluation and fairness, which validates the approach of defining metrics and evaluating on test sets. While one comment suggested Option A, it received no support and contradicts the requirement to preserve accuracy.
Official Reference
https://cloud.google.com/vertex-ai/docs/evaluation/intro-evaluation-fairness
This link opens the official vendor documentation in a new tab.
Exam Strategy
When answering questions about bias, prioritize options that involve defining a specific fairness metric and evaluating the model on a test set with sensitive attributes over options that suggest deleting features or using only global/local explanations.
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
fitri001 👍 3 Answered DFairness Metric: Defining a metric like parity (equal accuracy) or calibration (similar predicted probabilities) across sensitive features like age, sex, or salary allows you to quantify potential bias. Model Training with All Features (Initially): Training the model with all features provides a baseline performance and allows you to identify potentially biased features later. Test Set Predictions: Making predictions on a held-out test set ensures the evaluation is based on unseen data and avoids overfitting. Joining Back Sensitive Features: Reintroducing sensitive features after prediction allows you to calculate fairness metrics for different customer groups. Iterative Refinement: Based on the fairness metric results, you can determine if further mitigation strategies are needed.
-
pikachu007 👍 2 Answered DDirect Bias Assessment: It directly measures model fairness using a relevant metric, providing clear insights into potential issues. Preserving Information: It avoids prematurely removing features, potentially capturing valuable predictive signals while mitigating bias. Aligning with Goals: It allows tailoring the fairness metric to specific ethical and business objectives.
-
pinimichele01 👍 1 Answered Dhttps://cloud.google.com/vertex-ai/docs/evaluation/intro-evaluation-fairness
-
prtikare 👍 1Answer is A
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All PMLE Questions
Access 65 questions with complete answers and detailed explanations.
View Full PMLE Practice Test →