Skip to main content

Fraud detection and prevention: what is data science's role?

From analysts imagining every case to a system that learns from data: how fraud detection changes and what each team member contributes.

Fraud is dynamic: fraudsters hide and change tactics as controls improve. Data science makes it possible to automate the search for suspicious cases and to combine three approaches, anomaly detection, supervised models, and social network analysis, each with strengths and limits worth understanding before choosing one.

Fraud is never solved by uncovering a single case. It is a dynamic process: fraudsters work to stay hidden and change tactics as controls improve. This article explains how classic analyst-driven fraud detection works, what changes when an organization builds a data-driven fraud detection system, and the pros and cons of the three most widely used approaches: anomaly detection, supervised models, and social network analysis.

What do we mean by fraud?

An action contrary to truth and righteousness that harms the person against whom it is committed. Royal Spanish Academy (RAE)

In law, fraud is intentional deception to secure unfair or unlawful gain, or to deprive a victim of a legal right. Wikipedia

Every definition describes fraud as a loss-gain relationship: the fraudster seeks a benefit that, in the eyes of the person or organization it is taken from, they are not entitled to.

Setting ethical considerations aside, fraud means obtaining something the other party does not want to give. It must therefore be obtained without their knowledge, by deceiving them and getting around the organization’s or the person’s controls.

This has two fundamental consequences. First, fraudsters know they only benefit if they are not discovered, so they will hide their behavior as much as possible.

Second, fraud is dynamic. Within organizations it takes many forms, involves many actors, and uses many mechanisms, so the detective’s work does not end with the first successful case. Fraud detection is an iterative process with a feedback loop that protects organizations from losing value.

Who is the detective in my organization?

Classic fraud detection methodologies rely on analysis by experts who know the business. A functional analyst typically goes through these steps:

  1. Come up with a suspicious case: every fraud analysis starts with a suspicion of unusual behavior that may be giving certain system users an illegal advantage. The analyst identifies suspicious cases based on knowledge of the system’s weaknesses, user experience, past history, intuition, and so on.
  2. Gather information about the case: once a potential case is identified, the analyst collects as much information as possible to determine later whether it is actually fraud. This includes the users involved, their behavior, which organizational mechanisms are being exploited, and the impact on the organization.
  3. Determine whether it is fraud: this is the most time-consuming step and the goal of the whole task. Unusual behavior does not necessarily mean someone is trying to defraud the organization; there must be enough evidence for the case to be classified as fraudulent.
  4. Take action: once fraud is confirmed, everyone involved must be identified, along with any networks of associates engaged in fraudulent behavior. Two types of action follow:
    • Corrective actions: they aim to recover the loss caused by the fraud. This means seeking restitution from those involved and putting mechanisms in place to prevent the same type of fraud in the future (alert systems, business rules, audits of people related to the case, sanctions, and legal action).
    • Preventive actions: every detected case is an opportunity to review the organization’s security mechanisms. Fraudulent behavior can reveal weaknesses that, once fixed, prevent future cases that may not look like the one identified. Preventive actions close these gaps and strengthen protection in advance (analysis of criminal networks, stronger internal controls, risk matrices).

The main weakness of this approach is step one, because it requires the analyst to imagine the fraud. Business experts know the system’s weaknesses better than anyone, but having to imagine every case makes the process slow and, at times, frustrating. With so much information and so many possible starting points, it is hard to know where to look, and the time spent on this step could go to step three, where analysts create the most direct value for the organization.

New sources, new methods: how do I scale investigation into a system?

Organizations now store large amounts of data, which makes it possible to work with a data-driven approach built on statistical methods, machine learning, and big data techniques. These methods detect suspicious cases or unusual behavior effectively and make it possible to automate steps 1 and 2 of classic fraud analysis.

They give the analyst a roadmap based on the organization’s own data, something like a library of treasure maps. Instead of following a single analytical path toward one case, the analyst gets leads on multiple cases of fraudulent behavior, including some the investigator would never have thought of. Focusing the search on anomalies flagged by the data increases the chances of finding fraud.

The main advantages of a data-driven fraud detection system are:

  • Accuracy: processing massive volumes of information increases detection power and reveals fraud patterns the human eye cannot see. Narrowing the search to anomalous subsets of data, which contain more fraud than average, also makes the investigator’s analysis more accurate.
  • Efficiency: the volume of data to analyze requires automation to get its full value. Fraud detection is also time-sensitive: the sooner fraud is caught after it happens, the less likely it is to spread to more users, and the more likely the organization is to recover the loss from the perpetrator without additional cost. Automated detection speeds up the process and supports real-time alerts to prevent future fraud.

However, as organizations evolve and controls get stronger, fraudsters also have incentives to find new ways to commit fraud without being exposed, behaving as close to normal as possible. That is why a comprehensive fraud detection system based on statistical methods and digital tools gives the organization the ability to adapt to how fraud changes.

Who pulls the strings of a fraud detection system?

Back to the question of who the detective is: in a system, the answer is teamwork. A task as dynamic as fraud detection calls for a methodology in which engineers, data scientists, and business experts work together. The new workflow involves these steps and roles:

  1. Design detection mechanisms: the starting point is choosing the methods that best fit the organization. Engineers and data scientists must work with functional analysts, who are the business experts and the real detectives. The technical team’s role here is to explain what each method can and cannot do, suggest implementation options, and define the system’s scope according to the task.
  2. Gather information about the case: a well-known saying in machine learning is “garbage in, garbage out”: models are only as good as the data they learn from. The team must ensure data quality, a job shared by the engineer, the functional analyst, and the data scientist when deciding whether the data is fit for the task.
  3. Model the data: developing and deploying machine learning models is always iterative. Although the technical team leads this step, communication with the business side must stay open: models should not be judged only on performance metrics, and their results must be interpretable and useful for the ultimate goal of detecting fraud.
  4. Determine whether it is fraud: this step relies mainly on functional analysis to decide whether the flagged behavior is fraud against the organization. Advanced data visualization to profile the cases found, or social network analysis, can make the analysis easier and strengthen the system.
  5. Take action: as in classic approaches, any interaction with the fraudster is handled by the organization’s analysts and managers. One important addition is that every confirmed case must be added automatically to the historical fraud database, so the system keeps learning.

Intelligent fraud detection: where does machine learning fit?

The last question is which statistical and machine learning methods make it possible to automate fraud detection.

The answer lies in steps 1 and 3 of the workflow above: the choice of techniques and models depends on the task, the scope of the fraud detection effort, and the data actually available. There is no single answer or single recommended approach, so I will outline the pros and cons of the three approaches most used in fraud analytics in recent years.

1. Anomaly detection with unsupervised learning or descriptive analytics

These methods look for behavior that deviates from the norm in the data. They learn and characterize normal behavior and flag the records that do not fit the profiles found.

The models group individuals into clusters based on the input variables. Each cluster has a profile that must be understood for later interpretation, and the models flag records that belong to a cluster because of their characteristics but behave abnormally on certain variables.

  • Their main advantage is that they are unsupervised: they do not need historical data labeled as fraudulent or legitimate.
  • They can also uncover fraudulent behavior analysts had not imagined, meaning fraud that differs from what the organization already knows.
  • Their main drawback is that not all unusual behavior is fraud. The models must be built on variables where finding rare cases is valuable. For example, flagging someone because of their gender within a group adds no value, while declared income can be relevant for certain types of fraud.

2. Supervised fraud prediction models based on known cases

This approach builds supervised models trained on data labeled as fraud or not fraud. They learn patterns that assign current or future cases a probability of fraud.

The model can then tell, with a certain level of statistical confidence, whether a new case resembles known fraud cases.

  • The main advantage is an automated alert system that catches patterns fraudsters cannot hide or that no business rule covers; in other words, it detects complex patterns and multivariate relationships.
  • These models can predict future fraud of known types and also estimate how much of a given type of fraud the organization has suffered in the past.
  • The clearest disadvantage is that they need labeled data, that is, known fraud, so they are less useful for detecting new types of fraud. They can catch variations of known fraud because they recognize general patterns, but they do not work for types of fraud that are completely different from the cases used to build the fraud or not-fraud label.

3. Social network analysis

Fraud modeling with social network analysis is a visual tool for discovering connections and networks of association among individuals, companies, and other entities linked to one or more fraudulent behaviors.

These models show how far a network reaches, how communication flows, and reveal unexpected patterns through graphical and statistical analysis.

  • An important advantage is that networks are easy to visualize. Graphical tools bring the analysis closer to business users and managers, who can understand complex patterns directly. Think of the detective’s board in any crime movie, with the victim and suspects connected by string. The analysis can be presented in a similar way, with tools whose meaning is clear even to people unfamiliar with them.
  • These methods have also gained popularity in fraud analytics because they reveal networks of associates and individuals likely to commit more than one type of fraud. They focus on people and their relationships, so starting from one known type of fraud they can help dismantle an entire network, which creates even more direct value for the organization.
  • The drawback is that the approach only applies to networks. You need to be clear about which entities and links you want to model to get value from it. If you load every connection in the organization, you probably will not know where to start, so it is advisable to define in advance which entities and links to model.

To keep this article brief and focused, I chose not to go into which algorithms can be used in each case, and instead to make the case for a systemic approach to fraud detection and analytics. For more on implementation, I recommend Fraud Analytics Using Descriptive, Predictive, and Social Network Techniques: A Guide to Data Science for Fraud Detection by Bart Baesens, Véronique Van Vlasselaer, and Wouter Verbeke (Wiley, 2015).

Complementary approaches for a task that never ends

My final point is that these approaches complement each other. The more techniques I can integrate into a fraud detection system, the better my chances of anticipating and adapting to the characteristics of organizational fraud, adding the analysis of the individuals behind it, and improving my knowledge of past cases, which in turn feed other parts of the system.

The other point is that the task is dynamic. Fraud detection projects tend to become a game of cat and mouse: the detective looks for new detection methods while fraudsters look for new loopholes, and the game starts over. That is why a fraud detection system needs audit and maintenance mechanisms to check that its success cases remain valid and to keep up with fraudulent behavior in the industry.

Data science, multidisciplinary and constantly changing, made it possible to move from static business rule systems to automated, self-improving fraud detection methodologies. Treating fraud detection as a cross-functional system that keeps evolving can help companies get value from data science projects and complementary models that tackle the problem on several fronts, prevent and detect fraud, reduce losses, and protect the organization.

Camila Palomeque
Data & Analytics Consultant

¿Listo para dar
el próximo paso?

Inicia tu camino
Otras publicaciones

Before asking how to use AI in a utility, it is worth asking whether the data is ready to support better decisions.

Six connected stages take a public power finance function from assessment to adoption, so AI can support better, faster and more traceable decisions.

Affordability, capital investment and resilience are now moving together. Utilities need scenarios to make decisions before the future becomes clear.

Quanam, a digital transformation, data and AI consultancy headquartered in Montevideo, Uruguay, is Certified in the Claude Partner Network. Its team holds Claude certifications, part of a path guided by one conviction: AI delivers more when people work alongside it.

Leave a Reply