FinFraud Score a transaction Training data Model & training Compute & remote GPU How it works Development process
loading…
change the model version →
API docs Maintained by Dean Mostafa

Score a transaction

Source on GitHub↗

Describe a payment, or load a real one, and FinFraud says whether it should be flagged for review, and why. Two kinds of model read it: one that learnt what honest payments look like and points out what it cannot explain, and one that learnt what known fraud looks like from labelled cases.

Start with a real payment the model never trained on

How to judge it

The payment

blank means unknown, not zero
Customer history (the customer's previous payments)

Every version since v5 judges a payment against this customer's own habits, and an example row brings its customer's last eight payments with it. For a payment of your own, paste the previous payments as JSON, oldest first — a list of {"features": {...same field names...}, "secs_before": 3600} (or "ts" in epoch seconds). On your own installation you can instead give a customer id and the server remembers what it scores for that id; the public site keeps nothing.

Device details (what the device model sees)

What the browser or app reports about the device; a small model judges how risky the device looks on its own. Keys: os, browser, device_type, screen, session_length_min, keep_alive, phone_valid, email_domain, recipient_email_domain, name_email_similarity, account_age_days, foreign. Fields set in the form win.

Text on the payment (what the text models read)

Free text that came with the payment: url (judged by a model trained on malicious links), description / memo / message (one trained on scam postings), profile / bio (one trained on fake profiles). Each adds its own evidence to the verdict. None of the payment datasets carried text, so this never changed a reported number.

How the customer used the device (mouse, keystrokes, touch, motion)

Raw events from the session, which a set of models trained on public behaviour data compares with how this customer usually moves and types: mouse rows [t, x, y, kind], keystroke rows [t, key, down|up], touch rows [t, x, y, pressure, size, action], motion rows [t, x, y, z]. On your own installation a customer id lets the server build that customer's profile from their earlier sessions; the first session only enrols.

nothing scores until this is pressed · or Ctrl Enter

How to read a verdict

  1. Load a payment. One of the real ones at the top of the form, or type in what you know.
  2. Press Score transaction. Nothing is scored before that.
  3. Read the ruler. It shows how rare the payment is among honest ones. Past your alert line, it is flagged for review.
commonyour linerare

Blank fields count as unknown, not as zero; the model was trained to cope with missing fields.

Where it lands among normal payments

the model's compressed view of validation traffic, in two dimensions
Score a whole spreadsheet instead

A CSV file using the field names from the How it works page (any subset). Every row gets a probability, a percentile and a flag at the alert budget above. If the file has an is_fraud column you also get the accuracy (AUROC and recall) on your own data.

Training data

Eleven public datasets of payments, mapped onto one common set of fields. Where a dataset lacks a field, the field is marked unobserved rather than filled with a guessed value.

Pick a source on the left.

Which fields each dataset has

share of rows where the field is known

Rebuild

runs the same scripts as fraudvae fetch / build / prepare

      

Model & training

Each published version of the model, newest first: what it was trained on, how long training took, and how it scores on test data it never saw. Select a version to see its full record below the list; score a payment with it opens the Score tab with that version chosen.

The eight versions

newest first · the same payment can be scored on any of them

Other runs on this machine

experiments and partial runs that are not on the timeline above

Select a version.

Train on this machine

For the full 30-million-row training set, use the Compute tab instead: the full v4 configuration takes about two days on a laptop CPU and 18 minutes on a rented RTX 4090.


      

Compute & remote GPU

Times the real model on this machine, estimates how long the full training would take here, and if that is unreasonable walks you through renting a GPU (vast.ai or any server you can ssh into) and training there with one click.

Should this run here?

Press the button; it times ~30 training steps of the configured model.

The app's ssh key

add this public key to the server (vast.ai: Account → SSH keys)
…

Remote server

paste the ssh line from the instance card: ssh -p PORT root@IP

1. Provision

Installs dependencies, uploads the code and the processed parquet files, runs prepare on the server. v5: or point it at a folder of raw downloads and the box fetches the public sets itself, takes the rest from here, and runs build there.

2. Launch training

3. Watch & collect


      
loading…
FinFraud Maintained by Dean Mostafa API docs