With the new bias and fairness metrics in the Model Card on SAS Model Manager, it was only a matter of time before bias and fairness charts were added to the performance monitoring report. As of 2025.03, the wait is over! Users can now see how a model’s performance on fairness and bias changes over time. With this additional information, users can now include measures of model bias when making their decision to refresh, replace, or retrain their production models.
The new fairness and bias section in the performance monitoring report displays the following metrics across each time interval:
Demographic Parity, Predictive Parity, Equal Accuracy, Equalized Odds, and Equal Opportunity are calculated using SAS’s Assess Bias Action. There is also a Group Unfairness Index (GUI), calculated using the approach outlined by Szepannek and Lübke in their paper Facing the Challenges of Developing Fair Risk Scoring Models.
The specific variables shown depend on the target type of the model. Additionally, for each value of a selected variable, the following is calculated and charted:
This allows for quick and easy comparison of how the model may treat each group in a protected class. For example, users may find critical insights, like:
With an understanding of the model’s current measures of bias, teams can be better informed and take appropriate action.
To add fairness and bias metrics to performance monitoring reports of classification and prediction models written in SAS, Python, or R, you must first mark variables as “Assess for Bias” in the Project’s Variable tab. The variables marked as “Assess for Bias” can be inputs to a model in the project or not used by any project models at all. The variables must be available in the data used by performance monitoring, even if the variables are not used by the model to make a prediction. While an organization may not want protected class information to influence a model’s output, that information must be available to truly validate that the model is not treating protected classes differently. Note that if a variable was marked as “Assess for Bias” in SAS Model Studio, that designation will automatically carry over to SAS Model Manager upon model registration.
Additionally, fairness and bias Key Performance Indicators (KPIs) thresholds are available in a Project’s Properties tab. These KPI thresholds are used to assess model performance in the model card for classification and prediction models.
Once variables are marked as “Assess for Bias”, create and run a new performance monitoring definition. Once completed, scroll down to see the new Fairness and Bias section.
The following demo video goes over Monitoring Model Fairness from SAS Model Studio to Performance Monitoring and the Model Card in SAS Model Manager.
Want to learn more about building Responsible AI applications? Check out the following resources:
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.