Sub topic 12
How Transaction Monitoring Turns Patterns into Alerts
This chapter assumes you know the basic red flags from earlier chapters: structuring, rapid pass-through movement, and the idea of an expected-activity baseline. It also assumes you know the basics of retail and business banking products. Here you will see how a bank encodes those patterns as rules, how the rules produce alerts, and where the usual errors come from.
What transaction monitoring does
Transaction monitoring is the automated review of customer transactions to find activity that matches a known suspicious pattern or departs from expected behavior. A bank cannot have people read millions of transactions a day. Software screens them, and people review only what the software surfaces.
The output of monitoring is an alert. An alert is a system-generated notice that one customer, account or group of transactions met a detection condition and needs human review. An alert is not a finding. It means "look here", and the earlier chapter on red flags applies in full: a flag is a reason to look, not evidence of a crime.
The monitoring pipeline
Alerts come out of a sequence of steps. A fault at any step shows up later as missed activity or as noise.
- Data intake. The system receives transactions from payment, card, cash and wire systems, plus customer data from the due diligence file.
- Enrichment. Transactions are joined with the customer's risk rating, expected activity, country risk and account type. Without this step a rule cannot tell a retail customer from a cash-intensive business.
- Detection. Rules and models test the data.
- Alert generation. Matches become alerts, often scored and queued by priority.
- Review. An analyst examines the alert against the customer's profile.
- Disposition. The analyst closes the alert with a documented reason or escalates it.
Rule-based detection
A rule is an explicit condition written by the bank. Each rule translates a red flag into numbers: a threshold, a time window and a count.
The structuring pattern from the earlier chapter becomes a rule like this. Cash deposits sit just below a reporting threshold, there are several of them, they fall within a few days, and together they exceed the threshold.
from datetime import date
def structuring_alert(deposits, threshold=10_000, margin=0.10, window_days=3, min_count=3):
"""Return the first group of just-below-threshold cash deposits in a short window, or None.
deposits: list of (date, amount) tuples.
"""
near = sorted((d, a) for d, a in deposits if threshold * (1 - margin) <= a < threshold)
for i, (start, _) in enumerate(near):
window = [(d, a) for d, a in near[i:] if (d - start).days <= window_days]
if len(window) >= min_count and sum(a for _, a in window) >= threshold:
return window
return None
deposits = [
(date(2026, 3, 2), 9_400),
(date(2026, 3, 3), 9_700),
(date(2026, 3, 4), 9_200),
(date(2026, 3, 20), 1_500),
]
print(structuring_alert(deposits))The function has four parameters: threshold, margin, window_days and min_count. These are tuning parameters. The right values depend on the jurisdiction's reporting threshold and on the bank's own policy, so they are never universal. The code also shows what the rule cannot see. It ignores the 1,500 deposit, and it would miss the same pattern spread across two accounts of one customer unless the data is combined first.
A second rule type measures flow. The pass-through ratio is the share of incoming funds that leave the account again in the same period.
def pass_through_ratio(credits, debits):
"""Share of incoming funds that left the account. Both arguments are lists of amounts."""
total_in = sum(credits)
if total_in == 0:
return 0.0
return min(sum(debits) / total_in, 1.0)
ratio = pass_through_ratio(credits=[50_000, 30_000], debits=[49_000, 29_500])
print(f"{ratio:.2%}")
if ratio > 0.95:
print("Review: funds move through the account almost unchanged")Here 78,500 leaves out of 80,000 received, a ratio of 98.13%. The output is a prompt to review, not a verdict. A payment processor or a property agent holding client funds legitimately shows a high ratio, so the number only means something when compared with the customer's expected activity.
Rules compared with profile-based and model-based detection
Rules are not the only mechanism. Banks combine several, and each has a different failure pattern.
| Approach | How it works | Strength | Typical weakness |
|---|---|---|---|
| Fixed-threshold rule | Fires when a value crosses a set limit | Easy to explain to auditors and regulators | Easy for a launderer to learn and stay under |
| Scenario rule with window and count | Combines amount, count and time | Matches named typologies such as structuring | Many parameters to tune and maintain |
| Peer-group comparison | Compares a customer with similar customers | Catches activity unusual for the segment | Poor peer groups give poor comparisons |
| Customer-baseline deviation | Compares activity with the customer's own expected profile | Reduces alerts on legitimate high-volume customers | Depends on accurate due diligence data |
| Statistical or machine-learning model | Scores unusual behavior from historical data | Can find patterns nobody wrote a rule for | Harder to explain, needs validation and monitoring |
Regulators generally expect a bank to be able to explain why its system flagged or did not flag something. A model whose output cannot be explained to an examiner is a governance problem even if it detects well.
Tuning: the trade-off between noise and misses
Every threshold sets a balance between two errors.
- A false positive is an alert on activity that turns out to be legitimate.
- A false negative is suspicious activity that generated no alert.
Lowering a threshold catches more suspicious activity and produces more false positives. Raising it reduces the workload and raises the risk of misses. You cannot remove both errors. You can only choose where to sit, and document why.
Two practices keep that choice defensible:
- Below-the-line testing. The bank samples transactions that fell just under a threshold to check whether it would have wanted alerts there. This guards against setting limits purely to cut workload.
- Back-testing. The bank replays historical data, including cases it later reported, to check that the rule would have caught them.
Changes to rules should follow change control: a written reason, approval, testing and a record of the old and new values.
Common errors in monitoring programs
- Poor data quality. Missing country codes, truncated names or mismatched customer identifiers make rules silently skip transactions. A rule cannot flag what it cannot read.
- Stale customer profiles. If expected activity was recorded at onboarding and never updated, a growing business looks suspicious and a changed pattern looks normal.
- Account-level blindness. Rules that run per account miss activity split across accounts, related parties or products. Linking by customer or by shared attributes closes the gap.
- Static thresholds. A launderer who learns the limit stays under it. Layered rules and window-based scenarios reduce this.
- Alert backlog. If alerts queue for weeks, review quality drops, and late reports can breach regulatory timelines.
- Closing without reasoning. An alert closed with "no concern" and no explanation cannot be defended later and teaches the next analyst nothing.
Reviewing an alert
Analysts follow a consistent method so that outcomes are comparable and defensible.
- Read what triggered the alert and which scenario fired.
- Pull the customer's profile: occupation or business type, source of funds, risk rating and expected activity.
- Examine the transactions in the alert and the surrounding history, not only the flagged items.
- Look for a plausible legitimate explanation, and check it against evidence such as documents or earlier contact with the customer, not guesses.
- Decide: close, request more information through the proper channel, or escalate.
- Record the decision and the reasoning in the case file.
Escalation and the rules about reporting and not alerting the customer are covered in the next chapter.
Worked example
A florist's account normally receives 8,000 to 12,000 a month. In one week it receives two transfers of 40,000 each from an unrelated company abroad, and 78,000 leaves the next day to a third party. The pass-through rule fires at about 97.5 percent, and a peer-group rule fires because the amounts are far above similar florists.
An analyst checks the profile. Nothing in the expected activity or the documents explains foreign payments or large third-party transfers. The analyst also finds the stated business has no foreign customers. This alert is not explained by the baseline, so it moves to escalation. A different customer, such as a wedding-supply wholesaler with a profile showing foreign suppliers and regular high turnover, could trigger the same rule and be closed with a documented reason.
Exercise
A rule fires on a customer whose account received 200,000 and sent out 196,000 within two days, a pass-through ratio of 98%. The customer is a licensed payment agent, and the due diligence file records that the business holds and forwards client funds. What should the analyst do, and which weakness in the monitoring setup does this alert illustrate?
Show answer
The analyst should compare the activity with the expected profile. If the amounts, counterparties and countries fit the recorded business model and nothing else is unusual, the alert can be closed as a false positive with a written reason that cites the profile. The alert illustrates the weakness of rules that do not use a customer baseline or peer group: a pass-through rule applied without context fires on legitimate payment businesses. Tuning the rule by customer segment, or comparing against the customer's own expected activity, would reduce this noise while keeping the rule active for other customers.
Exercise
A bank raises its structuring threshold margin from 10% to 2% to cut its alert volume. Name one risk this creates and one control that checks it.
Show answer
A narrower margin means deposits of, for example, 9,000 no longer count as "just below" a 10,000 threshold, so structuring below the new band goes undetected and false negatives rise. Below-the-line testing checks this: the bank samples transactions that fell under the new limit and reviews whether they should have alerted. Back-testing against past reported cases also shows whether the new setting would still have caught them.