Sub topic 16
Tuning and Validating Monitoring Controls
This chapter assumes you know how rule-based transaction monitoring works and how alerts are triaged. It also assumes basic Python. Monitoring rules are not set once and left alone. Customer behavior, products, and criminal methods change, so the rules need regular adjustment and independent checking.
Why rules need tuning
Every rule has a threshold. Suppose the threshold is set too low. The rule then raises many alerts that turn out to be harmless, which are called false positives. Analysts spend their time on noise, and real cases can be missed or delayed. Suppose the threshold is set too high. The rule then misses suspicious activity, which is a false negative. False negatives are harder to see, because no alert exists to count.
Tuning is the controlled adjustment of thresholds, segments, and logic to improve the balance between the two. The goal is not the fewest alerts. The goal is alerts that are worth an analyst's time and that cover the risks the institution has identified.
Tuning versus validation
These are two separate activities.
| Activity | Question it answers | Typical performer |
|---|---|---|
| Tuning | Should this threshold or segment change? | Monitoring team, with data analysts |
| Validation | Does the control work as intended, with complete and accurate data? | Independent reviewer, not the rule owner |
Independence matters. The people who built a rule have a natural interest in finding it effective.
A simple tuning measurement
Take the volume rule from earlier chapters. Analysts have closed a sample of alerts, so you can measure how many led to escalation at each multiplier.
# Each tuple: (inflow / expected inflow, was the alert escalated after investigation)
closed_alerts = [
(2.1, False), (2.3, False), (2.6, False), (2.8, False),
(3.2, False), (3.5, True), (4.0, True), (5.5, True),
]
def summarize(alerts, multiplier):
fired = [escalated for ratio, escalated in alerts if ratio > multiplier]
if not fired:
return 0, 0.0
return len(fired), sum(fired) / len(fired)
for m in (2.0, 3.0, 4.0):
count, rate = summarize(closed_alerts, m)
print(f"multiplier {m}: {count} alerts, {rate:.0%} escalated")At 2.0 the rule produces eight alerts and three escalations. At 3.0 it produces four alerts with the same three escalations. At 4.0 it produces two alerts and loses one real case. This sample suggests 3.0 as a candidate. It does not prove it. Alerts below the current threshold were never generated, so you cannot see what they would have found.
Below-the-line testing
To address that blind spot, run the rule on a lower threshold in a test environment and have analysts review a sample of the extra alerts. If many of them are suspicious, the current threshold is too high. This is called below-the-line testing. Document the sample size and the reasoning.
What validation covers
- Data completeness. Do all relevant products and accounts feed the system? A rule cannot alert on data it never receives.
- Logic. Does the code implement the written rule?
- Coverage. Does each identified risk have at least one scenario?
- Outcomes. Are the results consistent with the tuning evidence?
Common errors
- Raising thresholds only to reduce analyst workload, with no risk analysis.
- Changing a rule without recording who approved it and why.
- Tuning on a small or unrepresentative sample.
- Skipping validation after a system or data migration.
Exercise
A rule produces 400 alerts per month and 2 are escalated. The team proposes doubling the threshold, which would cut alerts to 100 and keep both escalations in the historical sample. What further step should happen before approval?
Show answer
Run below-the-line testing on a sample of alerts below the current threshold to check for missed suspicious activity. Then have someone independent of the rule owner validate the change, and record the analysis and the approval.