# Wykrywanie oszustw płatniczych

EN: **Payment fraud detection** · id `frauddetection` · aliases: fraud detection, transaction fraud detection, credit card fraud detection, wykrywanie fraudów

Path: [AI Atlas](https://aiatlasgraph.com/llms.txt) › [AI w finansach](https://aiatlasgraph.com/t/finance.md) › Wykrywanie oszustw płatniczych

## Description

- PL: Klasyfikacja transakcji w czasie rzeczywistym na skrajnie niezbalansowanych danych, łącząca reguły, modele uczone i weryfikację przez analityków.
- EN: Real-time transaction classification on extremely imbalanced data, combining rules, learned models and analyst review.

## In one sentence

- PL: Systemy, które w ułamku sekundy oceniają, czy płatność kartą lub przelew nie są dziełem złodzieja.
- EN: Systems that decide in a split second whether a card payment or transfer might be the work of a thief.

## Problem it solves

- PL: Złodzieje kradną dane kart i przejmują konta, a bank ma ułamek sekundy, by zatrzymać pieniądze, zanim znikną.
- EN: Thieves steal card details and take over accounts, and the bank has a fraction of a second to stop the money before it vanishes.

## What it does

- PL: Jak bramkarz znający zwyczaje każdego stałego gościa: znajomych wpuszcza bez pytań, a nietypowe zachowanie każe wylegitymować.
- EN: Like a doorman who knows every regular's habits: familiar faces walk in, unusual behaviour gets asked for ID.

## Everyday example

- PL: Ktoś próbuje kupić elektronikę twoją kartą o trzeciej w nocy w innym kraju; płatność zostaje wstrzymana, a ty dostajesz pytanie w aplikacji.
- EN: Someone tries to buy electronics with your card at 3 a.m. in another country; the payment is held and you get a question in your banking app.

## This concerns you if you…

- PL: płacisz kartą w sieci lub w sklepie
- PL: bank zablokował ci kiedyś płatność bez wyraźnego powodu
- PL: budujesz system płatności lub sklep internetowy
- EN: pay by card online or in shops
- EN: had a payment blocked by your bank for no clear reason
- EN: build a payment system or online shop

## Keywords

credit card fraud · imbalanced learning · XGBoost · feature aggregation · concept drift · precision@k · cost-sensitive learning · IEEE-CIS Fraud Detection · autoencoders

## How it works

- PL: System łączy reguły blokujące z modelem scoringowym (często gradient boosting lub model sekwencyjny) na cechach agregowanych z historii klienta i terminala. Decyzja musi zapaść w dziesiątki milisekund; transakcje najwyższego ryzyka trafiają do analityków, a ich werdykty wracają jako etykiety.
- EN: The system combines blocking rules with a scoring model (often gradient boosting or a sequence model) on features aggregated from customer and terminal history. A decision is needed within tens of milliseconds; the riskiest transactions go to analysts, whose verdicts flow back as labels.

## Limits

- PL: Oszustwa to zwykle poniżej 1% transakcji, a wzorce zmieniają się, gdy przestępcy się dostosowują. Etykiety przychodzą z opóźnieniem, często po reklamacji. Fałszywe alarmy irytują klientów, a realistycznych publicznych zbiorów danych jest bardzo mało.
- EN: Fraud is usually well under 1% of transactions, and patterns shift as criminals adapt. Labels arrive late, often after a customer complaint. False alarms annoy customers, and realistic public datasets are very scarce.

## Key terms

- PL: **concept drift**: Zmiana wzorców danych w czasie, przez którą model się starzeje.
- PL: **opóźnienie weryfikacji**: Czas między transakcją a potwierdzeniem, że była oszustwem.
- PL: **uczenie wrażliwe na koszt**: Przeoczone oszustwo i fałszywy alarm kosztują różnie i model to uwzględnia.
- EN: **concept drift**: Data patterns changing over time, so the model goes stale.
- EN: **verification latency**: Time between a transaction and confirmation that it was fraud.
- EN: **cost-sensitive learning**: Missed fraud and false alarms cost differently, and the model accounts for it.

## Know first

- [Niezbalansowane klasy i wartości odstające (Class imbalance and outliers)](https://aiatlasgraph.com/t/classimbalance.md)
- [Wykrywanie anomalii i nowości (Outlier and novelty detection)](https://aiatlasgraph.com/t/anomalydetection.md)

## Subtopics (5 direct, 5 in total)

- [Biometria behawioralna (sposób pisania i obsługi telefonu) (Behavioural biometrics for fraud prevention)](https://aiatlasgraph.com/t/behaviouralbiometrics.md): Continuous authentication and session risk scoring from typing dynamics, mouse movement, touch and device sensors.
- [Ocena i walidacja modeli antyfraudowych (Evaluating and validating fraud models)](https://aiatlasgraph.com/t/fraudmetrics.md): Metrics and validation schemes for fraud detection: precision among top-k alerts, PR curves, time-based validation with label delay.
- [Ocena ryzyka transakcji w czasie rzeczywistym (Real-time transaction risk scoring)](https://aiatlasgraph.com/t/cardfraudscoring.md): A scoring model on time-window aggregated features (customer, terminal, device) that returns a transaction's risk within milliseconds.
- [Uczenie na opóźnionych etykietach i zmieniających się oszustwach (Learning with delayed labels and concept drift in fraud detection)](https://aiatlasgraph.com/t/fraudfeedbackdrift.md): Streaming training of a fraud classifier from two label sources, immediate alert feedback and delayed labels, under concept drift.
- [Wykrywanie oszustw, w których ofiara sama zleca przelew (Authorised push payment (APP) scam detection)](https://aiatlasgraph.com/t/appscamdetection.md): Models scoring the risk of customer-authorised transfers for social-engineering manipulation, at both the sending and receiving bank.

## Related topics

Untyped, symmetric "see also" links.

- [Analiza grafu transakcji (sieci kont i przepływów) (Transaction graph analysis)](https://aiatlasgraph.com/t/transactiongraphs.md)
- [Behawioralne wykrywanie oszustw w grach (Behavioural cheat detection in games)](https://aiatlasgraph.com/t/cheatdetection.md)
- [Wykrywanie anomalii i nowości (Outlier and novelty detection)](https://aiatlasgraph.com/t/anomalydetection.md)
- [Wykrywanie phishingu (Phishing detection)](https://aiatlasgraph.com/t/phishingdetect.md)

## Sources

- [Reproducible Machine Learning for Credit Card Fraud Detection – Practical Handbook](<https://fraud-detection-handbook.github.io/fraud-detection-handbook/Chapter_2_Background/MachineLearningForFraudDetection.html>) `fraud-detection-handbook-2022` · by Yann-Aël Le Borgne, Wissam Siblini, Bertrand Lebichot, Gianluca Bontempi (Université Libre de Bruxelles)

---

AI Atlas revision 122 (2026-10-30) · HTML: https://aiatlasgraph.com/t/frauddetection · index: https://aiatlasgraph.com/llms.txt · everything: https://aiatlasgraph.com/llms-full.txt · updated 2026-10-30
