Picture a payments team at a mid-sized wallet company in Kochi. Their data scientist, Anjana, has built a fraud model and tested it carefully. It catches 95% of fraudulent transactions. It also wrongly flags only 5% of genuine ones. Her manager, Thomas, hears “95%” and is delighted. He tells the operations head that when the model flags a transaction, it is 95% likely to be fraud.
Is he right? Let us run it through a real-looking day and see.
One lakh transactions, in numbers
Suppose the wallet processes 1,00,000 transactions on a given day and 0.5% of them are fraudulent. That is 500 fraudulent and 99,500 genuine transactions. These are made-up but plausible figures; real fraud rates vary widely by product.
The model catches 95% of the 500 frauds: 475 caught, 25 missed. Good. Now the other side. It wrongly flags 5% of the 99,500 genuine transactions: 4,975 false alarms.
Total flagged: 475 + 4,975 = 5,450. Of those, 475 are real fraud. That is about 8.7%, or roughly one flag in eleven or twelve. Thomas said 95%. The truth is closer to 9%. Nothing is wrong with the model. What was wrong is the question Thomas answered: he took “how often does the model flag fraud?” and treated it as “how often is a flag fraud?” Those are different conditional statements, and the gap between them is the base rate.
Why rarity does the damage
The 5% error rate sounds small, but it is applied to a very large pool. When the pool of genuine cases is 200 times bigger than the pool of fraud, even a small false alarm rate produces a crowd of false flags that swamps the true ones. Reverse the situation and the effect disappears: if half of all transactions were fraud, the same model would be right about 95% of the time it flagged.
This is Bayes’ theorem in everyday clothes. The probability that a flagged case is truly positive depends on three things together: how sensitive the detector is, how often it raises false alarms, and how common the condition is before any test. Drop the third and you misjudge the first two.
What it does to the people downstream
Back in Kochi, Anjana’s flagged cases go to a review desk of six analysts. With 5,450 flags a day and each review taking four minutes, that is 21,800 minutes, over 360 hours of work. Six people working eight-hour shifts supply 48 hours. The queue cannot be cleared. Reviewers will start approving flags in bulk, or the team will switch off the alerts. Both outcomes defeat the purpose.
Teams that have faced this usually do one of three things. They raise the threshold so only high-scoring cases are flagged, accepting that some fraud slips through. They add a cheaper second stage, such as an automatic OTP challenge, before a human is involved. Or they route by value, so that a ₹300 transfer is handled differently from a ₹3 lakh one. None of these is free; each trades missed fraud against review workload, and the right balance depends on what a missed fraud costs compared with an hour of analyst time.
Other places the same trap sits
The pattern is not limited to fraud. A screening test for a rare disease, a security tool hunting for one insider in thirty thousand employees, a model predicting which of a lakh customers will file an insurance claim for a staged accident, a resume filter looking for a rare skill. Whenever the target is rare, expect most alerts to be wrong even from an excellent detector.
A word of caution on the other direction too. Rarity does not make the model useless. In our example, a random sample of transactions would be fraud about 0.5% of the time, while a flagged one is fraud about 8.7% of the time, roughly seventeen times higher. That is a large improvement in where to look. The mistake is only in reading the flag as near-certain.
A habit worth building
When someone quotes you an accuracy, sensitivity or “catch rate” for a detector, ask two questions before you react. First, how common is the thing it looks for? Second, if I take 1,000 flags at random, how many would I expect to be real? You can answer the second by building the little table above in a minute: take a round population, split by the base rate, apply the two error rates, and count.
Also be careful about where the base rate comes from. If you measure it on a training set that was deliberately balanced to have half fraud and half genuine cases, you will overstate how well flags perform in live traffic. The base rate that matters is the one in the data the model will actually see, and it can shift over time, for example during a festival sale when both genuine volume and fraud attempts rise.
Figures and names in the examples are illustrative.
Leave a Reply