Sub topic 10
Name screening and the problem of fuzzy matches
This chapter assumes you know what a politically exposed person (PEP) is and how customer due diligence works. It also assumes you can read short Python scripts. The code is optional but runs as shown.
What screening does
Name screening compares your customers' names against lists of known PEPs, sanctioned parties and other risk categories. It runs at onboarding, when customer details change, and whenever the list data is updated. The aim is to find customers who may be PEPs, relatives or close associates of PEPs, or otherwise on a list.
Screening does not decide that someone is a PEP. It produces candidate matches, called alerts, and a trained reviewer confirms or discards each one. A well-run screening process reduces missed PEPs and keeps the alert volume small enough for reviewers to handle carefully.
Why exact matching is not enough
The same person's name can appear in many forms:
- Transliteration. Names written in Arabic, Cyrillic or Chinese script have no single Latin spelling. "Mohammed", "Muhammad" and "Mohamad" can all be one name.
- Accents and punctuation. "José Álvarez" may be typed as "Jose Alvarez", or with an extra space.
- Name order. Many cultures put the family name first, and databases often store "Smith, John".
- Nicknames, titles and truncation. "Bill" for "William", "Dr." and "H.E." prefixes, or a missing middle name.
- Typing errors. Onboarding staff make mistakes, and so do list providers.
An exact comparison misses all of these. A PEP who is missed this way is the costly error, so firms accept some imprecision in the matching to avoid it.
Techniques used in fuzzy matching
Screening tools usually combine several methods.
- Normalisation. Convert to a common case, strip accents, collapse whitespace and remove punctuation and titles. This is the cheapest step and removes many false mismatches.
- Token handling. Split names into words so that order does not matter, and allow initials or missing middle names.
- Edit distance. Count the insertions, deletions and substitutions needed to turn one string into another. "Jon" and "John" differ by one edit.
- Phonetic encoding. Algorithms such as Soundex reduce names to a sound code so that "Smith" and "Smyth" match. They are tuned for English and perform unevenly on other languages.
- Alias and transliteration tables. Commercial lists store known alternative spellings and scripts for each PEP, which often does more than any algorithm.
Each method scores a pair of names, usually between 0 and 1. The firm then chooses a threshold above which a pair becomes an alert.
The threshold trade-off
No threshold removes both kinds of error.
| Threshold | Effect | Risk |
|---|---|---|
| Low (loose) | Many alerts, including unrelated people | Reviewer fatigue. Real matches get cleared too quickly. |
| High (strict) | Few alerts | Genuine PEPs with spelling variants are missed. |
A false positive is an alert on someone who is not a PEP. A false negative is a real PEP that produced no alert. False positives cost review time. False negatives create regulatory and corruption exposure. For that reason PEP screening usually errs towards more alerts than a purely efficiency-driven process would.
A small worked example
The script below normalises names, ignores word order, and uses date of birth as a secondary identifier. It prints the alerts it would raise at a 0.85 threshold.
import unicodedata
from difflib import SequenceMatcher
def normalise(name):
decomposed = unicodedata.normalize("NFKD", name)
stripped = "".join(c for c in decomposed if not unicodedata.combining(c))
return " ".join(stripped.lower().split())
def token_similarity(a, b):
ta = sorted(normalise(a).replace(",", " ").split())
tb = sorted(normalise(b).replace(",", " ").split())
return SequenceMatcher(None, " ".join(ta), " ".join(tb)).ratio()
PEP_LIST = [
{"name": "John Smith", "dob": "1961-03-14", "role": "Minister of Finance"},
{"name": "Muhammad Ali", "dob": None, "role": "Provincial governor"},
]
def screen(customer, threshold=0.85):
alerts = []
for entry in PEP_LIST:
score = token_similarity(customer["name"], entry["name"])
if score < threshold:
continue
both_dob = customer.get("dob") and entry["dob"]
if both_dob and customer["dob"] != entry["dob"]:
status = "probable false positive: date of birth differs"
else:
status = "needs review"
alerts.append((round(score, 2), entry["name"], status))
return alerts
print(screen({"name": "Smith, John", "dob": "1961-03-14"}))
print(screen({"name": "Jon Smith", "dob": "1988-07-02"}))
print(screen({"name": "Mohammed Ali", "dob": "1975-01-01"}))The output is:
[(1.0, 'John Smith', 'needs review')]
[(0.95, 'John Smith', 'probable false positive: date of birth differs')]
[]The three lines show three different outcomes:
- "Smith, John" scores 1.0 because sorting the words removes the order difference. The date of birth agrees, so a reviewer must look at it.
- "Jon Smith" scores 0.95 but has a different date of birth. It is probably a false positive. It is still recorded, with the reason, so the decision can be audited later.
- "Mohammed Ali" scores about 0.83 against "Muhammad Ali" and produces no alert. At this threshold the script misses a plausible spelling variant. This is a false negative caused by the threshold.
Lowering the threshold to 0.8 would catch the third case and increase alert volume everywhere else. In practice, adding "Mohammed" as a stored alias is the better fix, because it does not increase alerts for unrelated names.
The screening workflow
What the reviewer checks
A reviewer compares the customer and the list entry on identifiers other than the name:
- date of birth or age range
- nationality and country of residence
- the public role, and whether the customer's occupation or employer is consistent with it
- the names of relatives and associates, if known
- photographs or other detail in the list provider's profile
The reviewer then records the decision and the reason in a form another person can follow. "Not a match" is not an acceptable reason. "Different date of birth (1988 versus 1961) and customer is a nurse, not a minister" is.
Common errors
- Screening only at onboarding. PEP lists change, and customers become PEPs after onboarding. Rescreen the whole customer base when list data is updated, and screen on trigger events such as a change of details.
- Screening only the customer. Family members and close associates are within PEP rules. Beneficial owners, directors and controllers of corporate customers also need screening.
- One global threshold. A single threshold across all name types and languages is simple but poorly calibrated. Short names and names with many common variants need different handling.
- Untested tuning. Raising the threshold to cut workload without testing it against known true matches can hide real PEPs. Test with a sample of confirmed cases and measure how many are found.
- Weak records of discarded alerts. Auditors and regulators ask why an alert was closed. Without a recorded reason, a correct decision looks like negligence.
- Trusting the list as complete. No PEP list covers every PEP, especially at local level. Screening complements customer questions and adverse media checks. It does not replace them.
Exercise
A customer named "Aleksandr Petrov" is screened against a PEP list containing "Alexander Petrov", with a matching nationality and no date of birth on the list. The fuzzy score is 0.88 against a threshold of 0.90, so no alert is raised. What are two things you could change, and what does each cost?
Show answer
First, lower the threshold (for example to 0.85), or add "Aleksandr" as a stored alias of "Alexander" for this entry. The alias approach is more targeted and adds few extra alerts. Lowering the threshold catches this case but raises alert volume for unrelated names and increases reviewer workload. Second, a transliteration-aware comparison that treats common Cyrillic-to-Latin variants as equivalent would also fix it, at the cost of more tooling effort. Whichever you choose, check the change against a sample of known matches before rolling it out.