36 minutes ago · 16 min read3250 words · Tech · hide

In April this year, I wrote about how Revolut built a model called PRAGMA that reads a customer’s bank transactions the way a language model reads sentences, and it says this helps catch fraud. In the meantime they have doubled down and explained how they are scaling their foundation model for structured data in production. Revolut didn’t release its data or its model (which is fair, since they’re obviously a for profit company) But through countless discussions with friends and colleagues and people who reached out to me after my first article I decided to try to rebuilt a small version, (we call it PRAGMA-S), and tested it on IBM’s synthetic credit-card dataset (about 2,000 made-up customers, 24 million transactions from 1991 to 2020, and about 1 fraud in every 1,000 transactions). Setup: architecture PRAGMA has three encoders: (1) The profile encoder reads who the customer is. (2) The event encoder reads each transaction. (3) The history encoder reads the sequence of encoded…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town