Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    How Commonwealth Bank finds abuse in payment descriptions

    Commonwealth Bank of Australia built a machine-learning model that reads the messages people attach to payments and sends the senders most likely to be abusing someone to a team of specialists.

    Commonwealth Bank of AustraliaAustraliaBankingIn production since 2021
    Scale
    Around 1,500 high-risk cases detected a year
    Scenario
    Abusive payment message detection
    Business function
    Risk and fraud
    Who built it
    Built in-house (H2O.ai)
    Human oversight
    Assists people
    Organization
    Enterprise, 10,000 to 99,999 employees
    AI types
    Generative AI, Machine learning

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. Commonwealth Bank of Australia

    2. arXiv

    3. H2O.ai

    4. iTnews

    5. Information Age

    6. Australian Associated Press

    tl;drCBA's model detects around 1,500 high-risk abuse cases a year for specialists to act on.See the results

    View the solutionBuild this solution yourself

    Commonwealth Bank of Australia (CBA) runs a machine-learning model that reads the messages people attach to payments. The model picks out the senders most likely to be using them to abuse someone1, 4. A team of specialists then decides, case by case, how to protect the person on the receiving end4.

    In early 2020, the bank found that more than 8,000 customers had received multiple low-value deposits with potentially abusive messages within three months4. It built the model after that finding, and after its first defense, a keyword filter, proved easy to get around4, 6. In November 2023, CBA and H2O.ai published the scoring pipeline and pre-trained models on GitHub, free for any bank to use3, 9.

    The model has been in use since 2021 and detects around 1,500 high-risk cases a year2, 3. In February 2026, the bank said the system was flagging about 3600 high-risk transactions a year13.

    Before the deployment

    Real-time payments turned the description field into a messaging channel. Australia’s New Payments Platform (NPP) lets a sender attach up to 280 UTF-8 characters to a transfer. The sender can pay someone through a PayID, such as a mobile number or an email address4. Many perpetrators sent transfers of $1 or less purely to reach victims who had cut them off everywhere else10.

    “People will send often one cent or two cent transactions, and they will put an abusive message in the description,” said Anna Leontjeva, the CBA senior data scientist who built the model, in April 202211. In one case, a man sent his ex-partner a few hundred payments, at a total cost of $2.38, to keep threatening her13.

    “She had blocked his number, she had blocked his social media, she had actually changed addresses,”

    Angela MacMillan, customer advocate at Commonwealth Bank of Australia13

    The messages ranged from profane “jokes” to serious threats and references to domestic abuse and family violence4. In 2020, the bank updated its Electronic Acceptable Use Policy. In June 2020, it switched on an automatic filter that blocks offensive language in descriptions on the CommBank app and NetBank2. Between 1 May and 31 July 2021, the filter stopped over 100,000 transactions1.

    The bank faced the following problems:

    • Workarounds: David Cohen, CBA’s deputy chief executive, spoke to a parliamentary standing committee on economics in September 2021. He said it was easy to beat the filter with symbols in place of letters or with different spellings6. The word “unblock”, common in these payments, turned up as “un-block” and “u.n.b.l.o.c.k”4.
    • Menace in harmless words: Phrases such as “I’m standing outside your house” passed straight through6. “It was things like ‘when are you coming home’, ‘you looked beautiful in your purple jumper at the train station this morning’,” CBA customer advocate Angela MacMillan said in February 202613.
    • Context: A message such as “I love you” says little on its own. The same text sent every five minutes after the recipient has asked the sender to stop is a different matter4.
    • Rarity: Abuse was less than 0.0005% of cases in any given month. A model would have to find a handful of relationships among millions of records4.
    • Review capacity: The specialists who handle these cases can work through only a limited number each month, which meant false positives had to stay low4.

    What was built

    CBA runs two layers of detection, and people decide what happens next1, 4. The work is divided as follows:

    • Keyword filter: Acts at the moment of payment. It blocks a payment outright or has the payer resend it with acceptable wording1, 6.
    • Abuse detection model: Built in CBA AI Labs, it periodically scores all transactions in the background1, 4. The cases with the highest scores go to the specialists4.
    • Customer vulnerability specialists: A dedicated team that reviews each case by hand, judges how severe it is, and chooses the response2, 4.
    • Next Chapter team: In September 2023, CBA added a route to the police10. CBA’s pilot with NSW Police covers New South Wales customers who receive repeated abuse in transaction descriptions. The team asks each one whether CBA should report it on their behalf. CBA files the report only once the customer consents2.

    Design choices

    The team made the following choices:

    • A person decides each case: In abuse cases both acting and not acting can be dangerous, and unbanking someone is a decision with serious consequences for their life4. A bank transaction also lives much longer than a social media message. It can be printed, or resurface years later in a loan application4.
    • The model ranks, people investigate: Descriptions are short and open to interpretation, so each case has to be investigated individually. The model’s job is to put the riskiest ones first4.
    • Reciprocity features: The model also looks at what comes back, on the expectation that a recipient often avoids answering an abusive sender. Adding those features improved its results4.
    • Harmless conversations as negatives: The team added harmless conversational exchanges, such as customers sending each other song lyrics, to the non-abusive training examples. The aim was to keep the model from simply learning that long messages are suspicious4.

    Alternatives considered

    CBA AI Labs considered two other units of analysis before it settled on each sender-recipient pair4:

    • Individual transactions: A single transaction lacks the context to show abuse4.
    • Whole customers: Scoring a customer dilutes the signal, because an abuser usually harasses one person among many ordinary recipients4.

    With the pair as the unit, a sender who harasses an ex-partner and a child shows up as two high-risk relationships4.

    Rollout

    The rollout moved from a keyword filter to a relationship model and then to a public release for other banks2, 3.

    Figure 1From keyword filter to open-source model
    From keyword filter to open-source modelIn June 2020 CBA switched on an automatic filter that blocks abusive words in payment descriptions. In October 2021 it announced the machine-learning model. February 2022 was the out-of-sample test month described in the research paper, which was published in March 2023. A referral pilot with NSW Police started in September 2023, CBA and H2O.ai released the model on GitHub in November 2023, and in February 2026 CBA said the system flags about 3600 high-risk transactions a year.Jun 2020Jun 2020 · Automatic keyword filter switched on · Documented in source [2]Automatic keyword filter switched onOct 2021Oct 2021 · Abuse detection model announced · Documented in source [1]Abuse detection model announcedFeb 2022Feb 2022 · Out-of-sample test month · Documented in source [4]Out-of-sample test monthMar 2023Mar 2023 · Method published on arXiv · Documented in source [4]Method published on arXivSep 2023Sep 2023 · NSW Police referral pilot starts · Documented in source [10]NSW Police referral pilot startsNov 2023Nov 2023 · Model and code released on GitHub · Documented in source [3]Model and code released on GitHubFeb 2026Feb 2026 · About 3600 high-risk transactions a year · Documented in source [13]About 3600 high-risk transactions a year
    • Key milestone
    Sources [1][2][3][4][10][13]
    CBA ran a word filter for over a year before announcing the relationship model, then published it two years later.

    Technology and architecture

    Figure 2Where the abuse model sits between payments and people
    Where the abuse model sits between payments and peoplePayments made in the CommBank app and NetBank pass an automatic block filter. Transaction records feed two language models (Detoxify and DistilBERT) and the VADER sentiment scorer, whose scores are combined with amounts, dates and replies into features for each sender-recipient relationship. A random forest scores each relationship, and the highest-scored cases go to customer vulnerability specialists. The specialists choose interventions, which can include a referral to NSW Police with the customer's consent, and the cases they verify are used to retrain the model. No part of the figure is inferred.each description (trigger or control) · Documented in source [1]sent payments (data) · Documented in source [4]descriptions (data) · Documented in source [4]text scores (data) · Documented in source [4]amounts, dates, replies (data) · Documented in source [4]per relationship (data) · Documented in source [4]highest-scored cases (handoff to people) · Documented in source [4]chosen response (handoff to people) · Documented in sources [1] [2]referral with consent (handoff to people) · Documented in source [2]verified cases (feedback) · Documented in sources [4] [7]CBA DIGITAL BANKINGABUSE SCORING PIPELINECBA SPECIALISTSCommBank app and NetBank · Application · Documented in source [1]APPLICATIONCommBankapp andNetBankAutomatic block filter · Step · Documented in sources [1] [2]Automaticblock filterTransaction records · Data · Documented in source [4]DATATransactionrecordsDetoxify, DistilBERT, VADER · AI model · Documented in source [4]AI MODELDetoxify,DistilBERT,VADERRelationship and reply features · Step · Documented in source [4]Relationshipand replyfeaturesRandom forest · AI model · Documented in source [4]AI MODELRandom forestVulnerability specialists · Team · Documented in source [4]TEAMVulnerabilityspecialistsInterventions · Step · Documented in sources [1] [2]InterventionsNSW Police · External · Documented in source [2]EXTERNALNSW Policeeachdescriptionsent paymentsdescriptionstext scoresamounts,dates, repliesper relationshiphighest-scoredcaseschosenresponsereferral withconsentverified casesWhere the abuse model sits between payments and peoplePayments made in the CommBank app and NetBank pass an automatic block filter. Transaction records feed two language models (Detoxify and DistilBERT) and the VADER sentiment scorer, whose scores are combined with amounts, dates and replies into features for each sender-recipient relationship. A random forest scores each relationship, and the highest-scored cases go to customer vulnerability specialists. The specialists choose interventions, which can include a referral to NSW Police with the customer's consent, and the cases they verify are used to retrain the model. No part of the figure is inferred.each description (trigger or control) · Documented in source [1]sent payments (data) · Documented in source [4]descriptions (data) · Documented in source [4]text scores (data) · Documented in source [4]amounts, dates, replies (data) · Documented in source [4]per relationship (data) · Documented in source [4]highest-scored cases (handoff to people) · Documented in source [4]chosen response (handoff to people) · Documented in sources [1] [2]referral with consent (handoff to people) · Documented in source [2]verified cases (feedback) · Documented in sources [4] [7]CBA DIGITAL BANKINGABUSE SCORING PIPELINECBA SPECIALISTSCommBank app and NetBank · Application · Documented in source [1]APPLICATIONCommBank appand NetBankAutomatic block filter · Step · Documented in sources [1] [2]Automatic block filterTransaction records · Data · Documented in source [4]DATATransaction recordsDetoxify, DistilBERT, VADER · AI model · Documented in source [4]AI MODELDetoxify,DistilBERT, VADERRelationship and reply features · Step · Documented in source [4]Relationship andreply featuresRandom forest · AI model · Documented in source [4]AI MODELRandom forestVulnerability specialists · Team · Documented in source [4]TEAMVulnerabilityspecialistsInterventions · Step · Documented in sources [1] [2]InterventionsNSW Police · External · Documented in source [2]EXTERNALNSW Policeeach descriptionsent paymentsdescriptionstext scoresamounts, dates, repliesper relationshiphighest-scored caseschosen responsereferral with consentverified cases
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Feedback
    Sources [1][2][4][7]
    The filter blocks words at payment time; the model ranks relationships, and specialists decide every intervention.

    The model is a random forest that reads features from two pre-trained language models and a dictionary-based sentiment scorer4. The text models describe each message, and the classifier, trained on CBA’s own labelled cases, makes the call4.

    The following table lists the components of the solution.

    Layer What they used Role Source
    Customer app or website CommBank app and NetBank Where senders write the descriptions and the filter checks them 1, 2
    Rules and decision logic Automatic block filter Blocks descriptions with threatening, harassing or offensive words at payment time 1, 2, 6
    Language model Detoxify Seven toxicity scores per description 4, 5
    Language model DistilBERT emotion models Scores each description for emotions such as anger, fear and love 4, 5
    Framework or library VADER Sentiment polarity and intensity 4, 5
    Predictive model Random forest classifier Classifies each relationship as highly abusive or not 4, 7
    Machine learning platform H2O.ai Platform the model is implemented on 9, 10

    Data inputs

    The model uses the following data:

    • Transaction records: Descriptions, dollar amounts, dates, and sender and recipient account numbers from the bank’s database, for both NPP and non-NPP payments4. In the research, the team fixed the window at one month of transactions per relationship4.
    • Replies: The payments that the recipient sends back, which show whether the recipient answers the sender4, 7.
    • Labelled relationships: The training set ran from July 2021 to January 20224.
    • Specialists’ verdicts: CBA retrains the model regularly as the specialists verify the cases sent to them4, 7.

    Feature pipeline

    Each transaction gets three kinds of features4, 7:

    • Transaction details: The amount, the date, how many payments were sent that day, and how they bunched together4.
    • Simple text features: Description length, upper, lower, and mixed case, word count, the longest word, and any special characters or numbers4, 7.
    • Model scores: Detoxify gives seven toxicity scores, the DistilBERT emotion models name the emotion, and VADER adds the polarity and intensity of the sentiment4, 5.

    The pipeline then scores each relationship in the following steps:

    1. The pipeline rolls up the transaction scores for each relationship. Each feature has its own method, from a sum or a maximum to a mean or a median4. One feature, the proportion of word breaks to message length, exists to catch senders who strip out spaces to slip past the filter4.
    2. The pipeline counts the payments sent in the relationship, the most sent in a single day, and the number of days with payments4.
    3. The pipeline computes the same features for the replies4, 7.
    4. The random forest classifies each relationship as highly abusive or not4, 7.

    Public release

    The public version, Abuse in Transaction Description Detection (AITD), follows the same pipeline5, 10. Its models were trained on CBA’s labelled cases of verified high-risk abuse5. CBA built the model, and the source code was developed in partnership with H2O.ai3.

    AITD ships two pre-trained models. One is trained on a month of transactions to catch short-term abuse, and one on three months to catch prolonged abuse5. It scores a month of data at a time, and the published code doesn’t include a way to train new models5.

    How one flagged relationship moves through review

    A periodic batch like this most likely writes a ranked list of relationships, with their transaction history, into the team’s case tools. The following steps show how one relationship moves from the model’s list to an intervention:

    1. A relationship that scores near the top of the month’s list goes to the customer vulnerability team4.
    2. A specialist reads the case and decides how serious it is2.
    3. The specialist contacts the victim, sometimes through a welfare check that makes sure they’re safe and asks for consent to go further4.
    4. The specialist can unlink the victim’s account from PayID so that the sender can no longer reach them by phone number or email. The specialist can also set up a new safe account1.
    5. The specialist can refer the victim to outside support organizations, and the sender gets a warning letter1.
    6. If the sender carries on, CBA can cut their digital banking for 3 months and, in extreme cases, close their accounts2, 4. In September 2021, Cohen said CBA had not yet refused anyone banking services on these grounds6.
    Figure 3One flagged relationship, from score to intervention
    One flagged relationship, from score to interventionThe scoring pipeline scores all relationships and passes the highest-scored ones to the vulnerability specialists. A specialist reviews the case and judges its severity, contacts the victim-survivor, and can de-link their PayID or open a safe account. If an NSW customer consents, the specialist reports the abuse to NSW Police. The sender gets a warning letter; if the abuse continues, the sender loses digital banking for three months or, in extreme cases, the banking relationship ends. Verified cases go back to the pipeline for retraining.OPTNSW customer consentsOPTabuse continues1. score all relationships · Documented in source [4]1Scoring pipelinescore all relationships2. highest-scored relationships · Documented in source [4]2Scoring pipelineVulnerability specialistshighest-scored relationships3. review case, judge severity · Documented in source [2]3Vulnerability specialistsreview case, judge severity4. contact, welfare check · Documented in source [4]4Vulnerability specialistsVictim-survivorcontact, welfare check5. de-link PayID or open safe account · Documented in source [1]5Vulnerability specialistsVictim-survivorde-link PayID or open safe account6. report on customer's behalf · Documented in source [2]6Vulnerability specialistsNSW Policereport on customer's behalf7. warning letter · Documented in source [1]7Vulnerability specialistsSenderwarning letter8. digital banking removed for 3 months · Documented in source [2]8Vulnerability specialistsSenderdigital banking removed for 3 months9. in extreme cases, relationship ended · Documented in source [2]9Vulnerability specialistsSenderin extreme cases, relationship ended10. verified cases for retraining · Documented in source [4]10Vulnerability specialistsScoring pipelineverified cases for retrainingOne flagged relationship, from score to interventionThe scoring pipeline scores all relationships and passes the highest-scored ones to the vulnerability specialists. A specialist reviews the case and judges its severity, contacts the victim-survivor, and can de-link their PayID or open a safe account. If an NSW customer consents, the specialist reports the abuse to NSW Police. The sender gets a warning letter; if the abuse continues, the sender loses digital banking for three months or, in extreme cases, the banking relationship ends. Verified cases go back to the pipeline for retraining.OPTNSW customer consentsOPTabuse continues1. score all relationships · Documented in source [4]1score allrelationships2. highest-scored relationships · Documented in source [4]2highest-scoredrelationships3. review case, judge severity · Documented in source [2]3review case,judge severity4. contact, welfare check · Documented in source [4]4contact,welfare check5. de-link PayID or open safe account · Documented in source [1]5de-link PayID oropen safe account6. report on customer's behalf · Documented in source [2]6report on customer's behalf7. warning letter · Documented in source [1]7warning letter8. digital banking removed for 3 months · Documented in source [2]8digital banking removed for 3 months9. in extreme cases, relationship ended · Documented in source [2]9in extreme cases, relationship ended10. verified cases for retraining · Documented in source [4]10verified casesfor retrainingScoring pipeline · AI model · Documented in source [4]ScoringpipelineVulnerability specialists · Team · Documented in source [4]VulnerabilityspecialistsVictim-survivor · Person · Documented in source [1]Victim-survivorSender · Person · Documented in source [1]SenderNSW Police · External · Documented in source [2]NSW PoliceOne flagged relationship, from score to interventionThe scoring pipeline scores all relationships and passes the highest-scored ones to the vulnerability specialists. A specialist reviews the case and judges its severity, contacts the victim-survivor, and can de-link their PayID or open a safe account. If an NSW customer consents, the specialist reports the abuse to NSW Police. The sender gets a warning letter; if the abuse continues, the sender loses digital banking for three months or, in extreme cases, the banking relationship ends. Verified cases go back to the pipeline for retraining.OPTNSW customer consentsOPTabuse continues1. score all relationships · Documented in source [4]1score allrelationships2. highest-scored relationships · Documented in source [4]2highest-scoredrelationships3. review case, judge severity · Documented in source [2]3review case,judge severity4. contact, welfare check · Documented in source [4]4contact,welfare check5. de-link PayID or open safe account · Documented in source [1]5de-link PayID oropen safe account6. report on customer's behalf · Documented in source [2]6report on customer's behalf7. warning letter · Documented in source [1]7warning letter8. digital banking removed for 3 months · Documented in source [2]8digital banking removed for 3 months9. in extreme cases, relationship ended · Documented in source [2]9in extreme cases, relationship ended10. verified cases for retraining · Documented in source [4]10verified casesfor retrainingScoring pipeline · AI model · Documented in source [4]Scoring pipelineVulnerability specialists · Team · Documented in source [4]VulnerabilityspecialistsVictim-survivor · Person · Documented in source [1]Victim-survivorSender · Person · Documented in source [1]SenderNSW Police · External · Documented in source [2]NSW PoliceOne flagged relationship, from score to interventionThe scoring pipeline scores all relationships and passes the highest-scored ones to the vulnerability specialists. A specialist reviews the case and judges its severity, contacts the victim-survivor, and can de-link their PayID or open a safe account. If an NSW customer consents, the specialist reports the abuse to NSW Police. The sender gets a warning letter; if the abuse continues, the sender loses digital banking for three months or, in extreme cases, the banking relationship ends. Verified cases go back to the pipeline for retraining.OPTNSW customer consentsOPTabuse continues1. score all relationships · Documented in source [4]1score all relationships2. highest-scored relationships · Documented in source [4]2highest-scoredrelationships3. review case, judge severity · Documented in source [2]3review case,judge severity4. contact, welfare check · Documented in source [4]4contact, welfare check5. de-link PayID or open safe account · Documented in source [1]5de-link PayID oropen safe account6. report on customer's behalf · Documented in source [2]6report on customer's behalf7. warning letter · Documented in source [1]7warning letter8. digital banking removed for 3 months · Documented in source [2]8digital banking removed for 3 months9. in extreme cases, relationship ended · Documented in source [2]9in extreme cases, relationship ended10. verified cases for retraining · Documented in source [4]10verified casesfor retrainingScoring pipeline · AI model · Documented in source [4]Scoring pipelineVulnerability specialists · Team · Documented in source [4]VulnerabilityspecialistsVictim-survivor · Person · Documented in source [1]Victim-survivorSender · Person · Documented in source [1]SenderNSW Police · External · Documented in source [2]NSW PoliceOne flagged relationship, from score to interventionThe scoring pipeline scores all relationships and passes the highest-scored ones to the vulnerability specialists. A specialist reviews the case and judges its severity, contacts the victim-survivor, and can de-link their PayID or open a safe account. If an NSW customer consents, the specialist reports the abuse to NSW Police. The sender gets a warning letter; if the abuse continues, the sender loses digital banking for three months or, in extreme cases, the banking relationship ends. Verified cases go back to the pipeline for retraining.OPTNSW customer consentsOPTabuse continues1. score all relationships · Documented in source [4]1score all relationships2. highest-scored relationships · Documented in source [4]2highest-scored relationships3. review case, judge severity · Documented in source [2]3review case,judge severity4. contact, welfare check · Documented in source [4]4contact, welfare check5. de-link PayID or open safe account · Documented in source [1]5de-link PayID oropen safe account6. report on customer's behalf · Documented in source [2]6report on customer's behalf7. warning letter · Documented in source [1]7warning letter8. digital banking removed for 3 months · Documented in source [2]8digital banking removed for 3 months9. in extreme cases, relationship ended · Documented in source [2]9in extreme cases, relationship ended10. verified cases for retraining · Documented in source [4]10verified cases for retrainingScoring pipeline · AI model · Documented in source [4]Scoring pipelineVulnerability specialists · Team · Documented in source [4]VulnerabilityspecialistsVictim-survivor · Person · Documented in source [1]Victim-survivorSender · Person · Documented in source [1]SenderNSW Police · External · Documented in source [2]NSW Police
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Feedback
    Sources [1][2][4]
    The model only ranks; a specialist decides each step, and the verdict feeds retraining.

    Results

    The following table lists the results.

    Metric Before After Scope and timeframe Reported by
    High-risk cases detected Not disclosed around 1,500 a year All CBA digital payments, since 2021 CBA, measured2, 3, 10
    Senders of potentially serious abuse Not disclosed 229 unique senders 1 May to 31 July 2021, all manually reviewed CBA, measured1, 6
    Warning letters and their effect Not disclosed about 40 letters, after which those senders stopped Cases from the 2021 review CBA deputy chief executive to parliament, via iTnews6
    Top-scored relationships confirmed highly abusive Not disclosed 35 of the top 50 Out-of-sample month, February 2022 CBA AI Labs, test4
    Precision and recall Not disclosed 0.678 and 0.738 Best model with reciprocity features, 1,039 labelled relationships CBA AI Labs and H2O.ai, test4, 5
    High-risk transactions flagged Not disclosed about 3600 a year As of February 2026 CBA, via AAP13

    The metrics measure the following:

    • High-risk cases detected: CBA’s August 2023 release described the around 1,500 a year as perpetrators detected annually2. In December 2025, MacMillan put it as reviewing over 1,500 cases a year on average12.
    • Senders of potentially serious abuse: Each of the 229 senders from the first sample was reviewed by hand. The review decided how severe the case was and what the bank should do1.
    • Warning letters: The specialists sent “about 40 letters to customers where we thought it was particularly bad,” Cohen told the committee, and “those customers stopped sending in abusive messages from that point on”6.
    • Top-scored relationships: For February 2022, a month the model had never seen, the team labelled the top 50 relationships for each candidate model. The best model’s first non-abusive case was at rank 264. The aim, in the team’s words, was to make sure there were no false positives among the highest-scored results, so the specialists could take the top cases with confidence4.
    • Precision and recall: Repeated five-fold cross-validation on 1,039 labelled relationships gave these scores4, 5. Domestic violence experts judged 283 of the relationships highly abusive and agreed with each other 87% of the time4. About two in three relationships the model flags are abusive, and it finds about three in four of the abusive ones4, 5.
    • Frequency of abuse: In February 2026, MacMillan said the abuse wasn’t becoming less frequent. She also said that CBA was blocking transactions and intervening by hand in high-risk cases at a higher rate13.

    Lessons learned

    The core idea held up. At CBA, symbols, spacing, respelled words and menace phrased in harmless words all passed the keyword filter, which shows that a keyword list loses to people who want to get through4, 6, 13. Looking at the whole relationship, with the replies, is what lets the model tell “I love you” from harassment4.

    The model has run for about five years, with a steady volume of around 1,500 cases a year from 2023 through 20253, 12. MacMillan’s February 2026 remark that the abuse isn’t getting less frequent suggests the system finds and handles abuse without deterring it at large13. Cohen’s 40 warning letters, after which the senders stopped, point the other way for the worst cases6.

    A precision of 0.678 and a recall of 0.738 mean the model both misses abuse and flags relationships that aren’t abusive4, 5. The paper reports these figures as cross-validation, while the public repository presents them as an out-of-sample month for its three-month model4, 5. The out-of-sample test showed that the top of the list is reliable, but it checked only the top 50 relationships per model, and the team didn’t verify the rest4.

    The binding limit is probably people, not the model. The team can review only a limited number of cases a month, so the model has to keep false positives low, and a case below the cut-off gets no review however real it is4. The team’s March 2023 paper listed better foreign-language coverage and several months of conversation history as needed improvements, and the public three-month model addresses the second4, 5.

    CBA has called the 1,500 a year cases, perpetrators and high-risk cases, and in February 2026 it also counted about 3600 high-risk transactions a year2, 3, 13. CBA’s paper and 2023 releases date the discovery to early 2020 and the filter to June 2020, and Information Age dates the filter to 2021. CBA’s December 2025 release dates the discovery to 2019 and counts 8,000 abusive messages, not customers2, 4, 10, 12.

    Every figure is CBA’s own, from its newsroom releases, a preprint by its AI Labs researchers and a repository co-published with its technology partner H2O.ai1, 3, 4, 5. iTnews’s report of Cohen’s testimony is the only account of the warning letters6. AAP’s February 2026 story rests on its interview with MacMillan, and its line that CBA “fed data into an AI model” that learned to block words runs the filter and the model together13.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    To build this solution, you need the following in place:

    • Expert labels: CBA could train its model only after domestic violence experts had judged more than a thousand relationships4.
    • A specialist team: CBA’s team contacts a frightened customer safely and decides when to warn or unbank a sender, and the model is retrained on its verdicts4. You need that expertise in-house or from a support organization.
    • A review cut-off that fits your team: CBA’s specialists can review only a limited number of cases a month4. You would likely have to set the cut-off to match your own team’s monthly capacity.
    • Payment data you already hold: The model uses only descriptions, amounts, dates and account pairs that any bank running real-time payments already holds4.

    Reference architecture

    Risk scoring and decisions

    A risk scoring and decisions solution scores each payment, claim, application, or person for a risk such as fraud, financial crime, a loss, or reoffending, and turns the score into a decision or a referral. A model scores each case against its history, and rules and thresholds that the organization sets turn the score into an outcome. People review the referred cases and decide them, and the outcomes that they record train the next model.

    A check mark shows a building block that this case study's sources document.

    Open the reference architecture

    Others who built it

    • ANZ: Its financial crime team built an algorithm from the abusive payments indicators in an AUSTRAC financial crime guide to flag misuse of payment fields to harass or abuse victims8.
    • Westpac: The bank runs data analytics across payments to detect subtle threats and patterns of abuse in description fields8.

    Cite this case study

    Enterprise AI Case Studies. "How Commonwealth Bank finds abuse in payment descriptions." Updated Nov 19, 2026. https://case-studies.ai/case-studies/risk-and-compliance/RC-010-payment-message-abuse-detection-cba/

    @misc{csai-rc-010,
      author = {{Enterprise AI Case Studies}},
      title = {{How Commonwealth Bank finds abuse in payment descriptions}},
      year = {2026},
      note = {Updated 2026-11-19},
      url = {https://case-studies.ai/case-studies/risk-and-compliance/RC-010-payment-message-abuse-detection-cba/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      CBA introduces new artificial intelligence technology to detect abusive behaviour

      OrganizationCommonwealth Bank of Australia, Oct 11, 202111 Oct 2021Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (10)
      • is one of the first banks in Australia to implement artificial intelligence (AI) technology and machine learning techniques to detect abusive behaviour in transaction descriptions within the CommBank App and Netbank.
      • The new model was developed in the CBA AI Labs
      • Over a three month period, from 1 May to 31 July 2021, over 100,000 transactions were blocked by the automatic filter that prevents offensive language being used in transaction descriptions on the CommBank App and Netbank.
      • Of those instances, the new AI model detected 229 unique senders of potentially serious abuse, which were then manually reviewed to determine severity and the appropriate action required from the Bank.
      • bank account from PayID so that the perpetrator can no longer use their email address, mobile number or ABN to send them abusive transactions
      • setting up new safe accounts for victim-survivors
      • referring victim-survivors to external support organisations
      • sending warning letters to perpetrators
      • Justin Tsuei, General Manager Community and Customer Vulnerability, said
      • With this new model in place, not only are we able to proactively detect possible instances of abuse in transaction descriptions, but we can do so at an incredible scale
    2. Source 2:

      CBA to launch police referral pilot in NSW to address technology-facilitated abuse

      OrganizationCommonwealth Bank of Australia, Aug 6, 20236 Aug 2023Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (9)
      • CBA implemented abusive transaction monitoring in June 2020, with close to 400,000 transactions blocked annually by the automatic filter
      • This technology is augmented by an AI model that reviews transactions and annually detects around 1,500 perpetrators that send potentially abusive messages.
      • These cases are then manually reviewed to determine severity and the appropriate action required from CBA.
      • In the pilot, if CBA detects a NSW customer is receiving repeated abuse in transaction descriptions, the Next Chapter team will contact the receiving customer asking if they would like CBA to report the abuse on their behalf to NSW Police.
      • Once the customer has consented to CBA reporting the issue to police, CBA will initiate a report to the NSW Police.
      • The pilot will commence by mid-September
      • In 2020, CBA updated its Electronic Acceptable Use Policy, after identifying more than 8,000 CBA customers who received multiple low-value deposits with potentially abusive messages in the transaction description.
      • removing a perpetrators access to digital banking for a period of 3 months
      • in extreme cases, the Bank will terminate a customer
    3. Source 3:

      In a world first, CBA shares its artificial intelligence model to help reduce technology-facilitated abuse

      OrganizationCommonwealth Bank of Australia, Nov 8, 20238 Nov 2023Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (7)
      • The model detects around 1,500 high-risk cases annually.
      • The model is fully operational, detecting more than 1,500 cases per year since being implemented in 2021
      • So far it has blocked nearly 1 million transactions since it was implemented in 2020
      • The model was built by CBA and the source code was developed in partnership with
      • perpetrators use all kinds of ways to circumvent existing measures such as using the messaging field to send offensive or threatening messages when making a digital transaction.
      • By using this model we can scan unusual transactional activity and identify patterns and instances deemed to be high risk so that the bank can investigate these and take action.
      • CBA Group Customer Advocate Angela MacMillan said
    4. Source 4:

      Detection of Abuse in Financial Transaction Descriptions Using Machine Learning

      AcademicarXiv, Mar 10, 202310 Mar 2023By Anna Leontjeva, Genevieve Richards, Kaavya Sriskandaraja, Jessica Perchman, and Luiz PizzatoAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (61)
      • include up to 280 UTF-8 characters for payment description
      • In early 2020, we as the Commonwealth Bank of Australia (CBA) identified the use of real-time transactions as a means of communication between individuals
      • We found that more than 8,000 customers in a three-month period had received multiple low-value deposits with messages in the transaction description that were potentially abusive.
      • using profanity to serious threats or references to domestic abuse and family violence
      • For example, the word unblock, which is associated with these abusive payments, was observed to be modified to un-block, u.n.b.l.o.c.k and other versions to bypass it.
      • Because of this, we decided to protect our customers by building a monitoring system that can work in the background identifying cases of serious abuse that may need to be further investigated.
      • a powerful abuse detector that periodically scores all the transactions, and identifies cases of high-risk abuse in millions of records
      • First, the model is applied to score all the transactions. The cases with the highest score are then sent to a dedicated team of customer vulnerability specialists that manually review and contact the victims of abuse identified by the model.
      • The team will then take the most appropriate action, for example, it may involve contacting the victim, as well as sending warning letters to the perpetrator
      • In some cases it might involve welfare checks to ensure their safety and to gain their consent to take further action.
      • Due to the capacity and complexity of cases and interventions offered, the team is only able to manually review and process a limited number of cases a month.
      • Therefore, it is crucial that we control the number of false positive cases ensuring we detect all the true positive cases.
      • considering that both action and no-action can be potentially dangerous
      • If the behaviour continues, it is possible to unbank a customer.
      • unbanking is a decision of a financial institution to ends its relationship with a particular individual and could lead to serious consequences affecting
      • They might be delivered in printed form.
      • Therefore, a dedicated team has to investigate and approach to each case individually, which is a labour-intense process that leads to the prioritisation of the cases.
      • AI Ethics Principles of reliability and safety
      • The transaction level lacks sufficient textual information to capture the context.
      • However, if this type of description is sent every 5 minutes and the other party requests to stop, the case becomes much clearer.
      • abusive customers frequently harass only one person among their recipients despite having a large network of regular recipients
      • As a result, we detect abuse at the relationship level, using descriptions gleaned from transactions between each sender-recipient pair.
      • which in this case we would flag as two distinct relationships of high risk
      • We extracted details from the bank
      • We gathered transaction data from both the new payment platform (NPP) and the non-NPP processes.
      • including transaction descriptions, the corresponding dollar amounts, date of the transaction, sender and recipient account numbers.
      • In this study we fixed time-window to be one month.
      • Transaction details features (TRX) are solely related to the specifics of the transaction between sender and receiver, such as: dollar amount transacted, date of the transaction, number of transactions a day
      • Simple text features (ST) are related to the basic information we can extract from the transaction description, such as length of the transaction description, upper/lower/mixed case flags, number of words, length of the longest word
      • Seven toxicity features were generated per transaction using the unbiased version of the BERT-based, pre-trained language model Detoxify
      • It scores the text on seven categories of toxicity, such as toxicity, severe toxicity, obscene, threat, insult, identity attack and sexual explicit.
      • For emotion features we used DistilBERT models trained on four data sources
      • This pre-trained model determines whether the given text is neutral, joyful, sad, angry, contains love, fear, or surprise emotions.
      • We used VADER (Valence Aware Dictionary for Sentiment Reasoning) for finding the sentiment of a transaction description.
      • It indicates both the polarity (positive/negative) and the intensity (strength) of emotion.
      • This aggregation is done in a slightly different way depending on the features used
      • This feature helps to identify when spaces were removed
      • These are the number of transactions sent in a relationship, the maximum number of transactions sent in a single day and the number of unique days in that a transactions has occured.
      • This is to confirm our hypothesis that reciprocity might be useful as a recipient often avoids replying to an abusive sender.
      • Random Forest model was used to classify relationships as either highly abusive or non-abusive
      • we experimented with adding reciprocal features and observed further improvements
      • Our dataset contains 1,039 relationships that were labelled as either (1) highly abusive or (0) non-abusive.
      • Among those unique relationships, 283 were branded as
      • They had an agreement score of 87%.
      • Negative sampling was created by randomly choosing non-abusive relationships as well as a sample of cases where transactions had
      • Some cases, for example, included customers sending song lyrics to one another or a perfectly natural chat.
      • This was done to avoid using a machine learning model to detect only long messages rather than high-risk abuse.
      • This training set contains data from July 2021 to January 2022.
      • We show the results of repeated 5-fold cross-validation in Table II
      • TABLE III: Experimental results with the addition of reciprocity to the best model
      • We used data from the month of February 2022 for this.
      • In any given month, less than 0.0005% of cases are abusive, resulting in a highly imbalanced situation.
      • the out-of-sample test set was created by labelling the top 50 highest scored relationships of the corresponding month for each of the candidate models, 35 of which turned out to be highly abusive.
      • The aim of this validation was to make sure that the model had consistency and had no false positives for the highest scored results, thus, allowing us to confidently select top cases for a manual review.
      • the best system predicts the highly abusive cases successfully with the first true negative in the 26th case.
      • we did not manually verify the rest of the cases
      • The final model is already fully operational in the bank.
      • we regularly retrain it when the sent cases are verified from the customer vulnarability specialists.
      • better foreign language coverage, use of several months conversation history to detect a long-term abuse
      • use of BERT embeddings instead of high-level features when labelled training set is large enough
      • We also hope that it helps to adopt these techniques in the other financial institutions that are currently utilising simple filters and keyword detection that can be easily overcome and bypassed.
    5. Source 5:

      Abuse in Transaction Description Detection (AITD)

      Partner or vendorH2O.ai, Nov 8, 20238 Nov 2023Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (18)
      • to create a version of the end-to-end pipeline and the model publicly.
      • The approach uses a combination of Machine Learning (ML), Natural Language Processing (NLP), pre-trained Large Language Models (LLM) on public data, text analysis, and elements of graph concepts to identify abusive relationships.
      • The model was trained using labelled data of verified cases of high-risk abuse from CommBank.
      • There are two types of pre-trained models provided with this package
      • The model is trained on 3 months of transactions and aims to detect prolonged high-risk abuse.
      • The model is trained on 1 month of transactions and aims to detect short-term abuse.
      • Using the detoxify BERT-based model to get model scores for each transaction for toxicity, severe toxicity, obscene language, identity attack, insult, threat, sexually explicit.
      • Using the emotion detection BERT-based model to determine the emotion of the transaction description which can be either anger, fear, love, neutral, sadness, surprise, joy.
      • to determine the sentiment (polarity and intensity of the emotion) of the transaction description
      • The performance of the models on the out-of-sample test set of the transaction descriptions collected within one month
      • |0.678|0.738|0.703|0.570 |0.800 |
      • |0.680|0.713|0.689|0.552 |0.790 |
      • |CPU | 100,000 |12 hours |
      • |GPU | 100,000 |20 minutes |
      • |GPU | 1,000,000 |3 hours 40 min |
      • The current pipeline is built to score a month worth of data at a time.
      • This library does not yet provide means for model training
      • Currently this tool works within the boundaries of a calendar month.
    6. Source 6:

      CBA turns to machine learning to combat abusive messaging

      IndependentiTnews, Sep 24, 202124 Sep 2021By Kate WeberAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (11)
      • Speaking at a standing committee on economics, CBA deputy chief executive officer David Cohen said the inhouse-developed model uncovered 229
      • He said a specialist team reviewed the incidents and sent
      • about 40 letters to customers where we thought it was particularly bad.
      • those customers stopped sending in abusive messages from that point on.
      • The bank turned to machine learning after uncovering shortcomings with a previous method of trying to filter for certain keywords and phrases.
      • to circumvent the filter by using
      • symbols in instead of letters
      • Phrases like 'I'm watching you' or 'I'm standing outside your house' also avoided getting filtered out.
      • filtering system allowed the bank to block transactions entirely or have the payee resend a transaction using appropriate messaging
      • Across the months of May, June and July CBA blocked 106,000 transactions
      • While CBA has yet to refuse banking services to alleged perpetrators
    7. Source 7:

      Commonwealth Bank details transaction abuse detection method

      IndependentiTnews, Mar 16, 202316 Mar 2023By Ry CrozierAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • banks have similarly turned to advanced analytics and algorithms to try to address the problem.
      • The bank also checks whether the potential victim has replied or not.
      • This is all fed into a random forest model that ultimately classifies whether the relationships are
      • To increase the model’s robustness, we regularly retrain it when the sent cases are verified from the customer vulnerability specialists.
    8. Source 8:

      ANZ develops algorithm to tackle abusive messaging in payments

      IndependentiTnews, Apr 29, 202229 Apr 2022By Kate WeberAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • ANZ Bank has developed an algorithm that identifies harmful misuse of payment fields in transactions to harass or abuse victims.
      • abusive payments indicators published in an AUSTRAC financial crime guide
      • Westpac also now runs data analytics across payments to detect
      • subtle threats and patterns of abuse
    9. Source 9:

      CBA publishes anti-abuse AI and ML model

      IndependentiTnews, Nov 9, 20239 Nov 2023By Kate WeberAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (2)
      • implemented on the H2O.ai platform
      • The model is now available for free to any bank worldwide via GitHub.
    10. Source 10:

      CommBank gifts AI abuse tools to global banks

      IndependentInformation Age, Nov 9, 20239 Nov 2023By David BraueAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (8)
      • is picking up around 1,500
      • Many perpetrators would effectively use the bank transfer system as a messaging service, sending multiple transactions worth $1 or less simply to harass victims they may have been barred from contacting through more conventional means.
      • in 2021, it deployed a filter to block transfers whose messages included offensive and abusive keywords.
      • CBA also partnered with AI specialist H2O.ai to implement a technology-driven platform that uses AI to evaluate the overall sense and intent of a message
      • In September, CBA took the project a step further by expanding the platform
      • Safety by Design Framework
      • in a pilot with the NSW Police that asks customers if they would like the police to become involved when multiple abusive transfer messages are identified
      • The models have now been published on Github as Abuse in Transaction Description Detection (AITD)
    11. Source 11:

      CBA uses AI to strengthen its anti abuse program

      IndependentiTnews, Apr 6, 20226 Apr 2022By Jeremy NadelAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (5)
      • Senior data scientist Dr Anna Leontjeva won the AI in Finance Award
      • Women in AI Awards, 31st March 2022
      • People will send often one cent or two cent transactions, and they will put an abusive message in the description.
      • are blocked on all the other platforms, and they tried to find a way to send their messages
      • she used deep learning methods to build the
    12. Source 12:

      One million abusive transactions blocked: UNiTE campaign highlights the hidden crisis of digital abuse in Australia

      OrganizationCommonwealth Bank of Australia, Dec 10, 202510 Dec 2025Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • Since 2019, CommBank has blocked more than one million abusive messages and now uses AI to detect more complex patterns of harm.
      • CommBank was the first Australian bank to uncover a disturbing trend in 2019: abusive messages sent via bank transfers.
      • An internal review found more than 8,000 abusive messages in just three months.
      • reviewing over 1,500 cases per year
    13. Source 13:

      AI war against 'one cent' family violence perpetrators

      IndependentAustralian Associated Press, Feb 6, 20266 Feb 2026Accessed Nov 16, 202616 Nov 2026

      Supporting excerpts (12)
      • Some of the content presented in this section has been provided by Australian Associated Press (AAP).
      • The system flags about 3600 high-risk transactions a year for intervention.
      • However, it's also flagging about 3600 high-risk transactions a year.
      • Is the frequency decreasing? No, it's not, but MacMillan says CBA is blocking transactions and manually intervening in high-risk cases at a higher rate.
      • The technology has prevented more than one million abusive messages from reaching victim-survivors since 2020.
      • Since then, CBA has fed data into an AI model, allowing it to learn to block certain words
      • In one case, for as little as one cent, a man was sending hundreds of payments to pepper his ex-partner with horrific language and threats in the payment description.
      • She had blocked his number, she had blocked his social media, she had actually changed addresses,
      • CBA customer advocate Angela MacMillan told AAP
      • There were a few hundred - I think it had cost him $2.38 to send message after message.
      • It was things like 'when are you coming home', 'you looked beautiful in your purple jumper at the train station this morning',
      • CBA has also made its AI model to detect abusive transactions available to other banks globally.

    More in Risk & Compliance

    View all