Configuring ethical bias checks
You can test your strategies for unwanted bias by creating an ethical bias policy. For example, you can test whether your strategies generate biased results by sending more actions to male rather than female customers, as well as check how big the bias is. Perform the following procedure to configure the fields that you want to use to measure bias and to define the thresholds for detecting bias.
Pega Customer Decision Hub
- In the Pega Customer Decision Hub portal, click
- On the Bias fields tab, click Add bias
field.
- If the property that you select has a number value, in the Add bias
field window, specify whether you want Pega Platform to interpret the value as a category (for example,
gender or ethnicity), or as an ordinal number (for example, for age).
- On the Bias fields tab, review and configure the bias
threshold settings for each issue in your business structure.The bias threshold measurement depends on the type of field that you select:
- Rate ratio - Rate ratio is used to calculate bias for
categorical fields by comparing the number of customers who were
selected for an action to those not selected for an action, and then
correlating the result to the selected bias field. For example, the rate
ratio represented in the following table indicates that actions are sent
more often to male rather than female customers:
A rate ratio of 1 represents no shifts in the distribution. You can select a warning range with a threshold between 0 (send a warning if any bias is detected), and 0.7 (send a warning only if very high bias is detected). You can also choose to ignore this bias field for a particular issue in your business structure.Female customers Male customers selected for the action 500 1000 not selected for the action 20000 18000 rate ratio 0.46 2.16 - Gini coefficient - The Gini inequality coefficient is used to calculate bias for numerical fields. For example, it detects whether the distribution of age is different for customers who receive an action. A Gini coefficient of 0 represents no shifts in the distribution. You can select a warning threshold between 0 (send a warning if any bias is detected) and 0.50 - 2.00 (send a warning only if very high bias is detected). You can also choose to ignore this bias field for a particular issue in your business structure.
- Rate ratio - Rate ratio is used to calculate bias for
categorical fields by comparing the number of customers who were
selected for an action to those not selected for an action, and then
correlating the result to the selected bias field. For example, the rate
ratio represented in the following table indicates that actions are sent
more often to male rather than female customers:
- Click Save.
- To use the bias policy to test the behavior of your strategies:
- In the Pega Customer Decision Hub portal, click Simulation Testing.
- Create a new simulation test with the purpose Ethical
bias.For more information, see Running a decision strategy simulation on sampled production data.
Previous topic Using Geofences in strategies Next topic Supplementing next-best-action with traditional outbound campaigns