Startups

Financial firms should leverage machine learning to make anomaly detection easier

Comment

Machine learning can make anolmaly detection easier
Image Credits: GOCMEN (opens in a new window) / Getty Images

Bikram Singh

Contributor

Bikram Singh is the CEO and co-founder of EZOPS. He has built and managed operational services and technology solutions for banks, hedge funds, asset managers, fund administrators and custodians.

Anomaly detection is one of the more difficult and underserved operational areas in the asset-servicing sector of financial institutions. Broadly speaking, a true anomaly is one that deviates from the norm of the expected or the familiar. Anomalies can be the result of incompetence, maliciousness, system errors, accidents or the product of shifts in the underlying structure of day-to-day processes.

For the financial services industry, detecting anomalies is critical, as they may be indicative of illegal activities such as fraud, identity theft, network intrusion, account takeover or money laundering, which may result in undesired outcomes for both the institution and the individual.

Detecting outlier data, or anomalies according to historic data patterns and trends can enrich a financial institution’s operational team by increasing their understanding and preparedness.

The challenge of detecting anomalies

Anomaly detection presents a unique challenge for a variety of reasons. First and foremost, the financial services industry has seen an increase in the volume and complexity of data in recent years. In addition, a large emphasis has been placed on the quality of data, turning it into a way to measure the health of an institution.

To make matters more complicated, anomaly detection requires the prediction of something that has not been seen before or prepared for. The increase in data and the fact that it is constantly changing exacerbates the challenge further.

Leveraging machine learning

There are different ways to address the challenge of anomaly detection, including supervised and unsupervised learning.

With supervised learning, a model is taught to recognize categories based on labeled data that maps a set of inputs to a known set of outputs and arrives at a function that can decode incoming signals with sufficient fidelity to determine the correct response. In theory, a supervised model could be trained to recognize previous anomalous behavior, reducing the problem to binary classification of “anomalous” or “not anomalous”. This, however, would not help detect novel forms of anomalous behavior.

That is where unsupervised anomaly detection algorithms come in. Unsupervised learning tools such as autoencoders do not require labeled data and therefore enable the detection of novel data points or outliers by virtue of their reliance on prevalent classes.

Unsupervised learning offers a solution

Within the larger family of unsupervised learning algorithms for anomaly detection there are different approaches to take including clustering algorithms, isolation forests, local outlier factors and autoencoders.

Autoencoders, in particular, offer a reliable solution. In simple terms, this algorithm seeks to encode “healthy” data patterns acquired through exposure to clean data structures in the training set. It does this by first decoding the inputs in a process similar to principal component analysis, which it then uses to build an encoding layer that attempts to recreate its inputs with some measure of fidelity. The measure is termed a reconstruction error. The idea here is that the model will have lower reconstruction errors for normal or “healthy” data, but higher errors for anomalous or novel data.

The main advantage of the autoencoder rests on its ability to turn the class imbalance problem on its head, since it relies on the prevalent class to learn good patterns. This removes the need to acquire representative target class samples, as is the case for supervised learning. Focusing on the population (normal) rather than the target (anomalies) ensures it is more likely to detect novel cases as they arise. Furthermore, unlike clustering algorithms, autoencoders can be taught to treat once-anomalous data points as normal simply by including them in the training set.

The challenge of explainability

By far the biggest challenge in machine learning today is having the ability to explain predictions. Accurately justifying the algorithm’s actions and extracting the root cause of the event is of immense value, since it allows teams to not only detect suspicious, harmful, and anomalous events and properly audit them, it also provides valuable intelligence that enables timelier intervention.

There are very few tools that can offer the granularity needed to explain individual predictions. As an example, some models can identify “CURRENCY” as a global feature of high predictive value, but it can’t point out which local value (i.e., USD, JPY, EUR) is most likely to be the correct one.

With that in mind, the solution lies in developing a method that encodes feature values into a single individual signature, which can then compare against known signatures in the clean benchmark set. A similarity measure (Levenshtein distances) can be used to find the closest data points to the anomalous entry in the benchmark set, which are then categorized as most similar, or having most support.

The most similar measure returns the record that most closely resembles the signature regardless of the number of instances of it in the benchmark set that back up the comparison. The best support measure, on the other hand, returns similarity scores above an established threshold, choosing the one with the highest number of support samples in the benchmark set. With the record to compare against, the signature can be deconstructed in order to establish which of its constituent parts is responsible for any differences, thus identifying the likely anomalies.

Preventing bad data

With all eyes on data, it’s crucial that financial institutions find solutions to detect anomalies upfront, thereby preventing bad data from infecting downstream processes. Machine learning can be applied to detect the data anomalies as well as identify the reasons for them, effectively reducing the time spent researching and rectifying executions.

5 machine learning essentials nontechnical leaders need to understand

More TechCrunch

Sarah Myers West, profiled as part of TechCrunch’s Women in AI series, is managing director at the AI Now institute.

Women in AI: Sarah Myers West says we should ask, ‘Why build AI at all?’

Keeping up with an industry as fast-moving as AI is a tall order. So until an AI can do it for you, here’s a handy roundup of recent stories in the world…

This Week in AI: OpenAI and publishers are partners of convenience

Evan, a high school sophomore from Houston, was stuck on a calculus problem. He pulled up Answer AI on his iPhone, snapped a photo of the problem from his Advanced…

AI tutors are quietly changing how kids in the US study, and the leading apps are from China

Welcome to Startups Weekly — Haje‘s weekly recap of everything you can’t miss from the world of startups. Sign up here to get it in your inbox every Friday. Well,…

Startups Weekly: Drama at Techstars. Drama in AI. Drama everywhere.

Last year’s investor dreams of a strong 2024 IPO pipeline have faded, if not fully disappeared, as we approach the halfway point of the year. 2024 delivered four venture-backed tech…

From Plaid to Figma, here are the startups that are likely — or definitely — not having IPOs this year

Federal safety regulators have discovered nine more incidents that raise questions about the safety of Waymo’s self-driving vehicles operating in Phoenix and San Francisco.  The National Highway Traffic Safety Administration…

Feds add nine more incidents to Waymo robotaxi investigation

Terra One’s pitch deck has a few wins, but also a few misses. Here’s how to fix that.

Pitch Deck Teardown: Terra One’s $7.5M Seed deck

Chinasa T. Okolo researches AI policy and governance in the Global South.

Women in AI: Chinasa T. Okolo researches AI’s impact on the Global South

TechCrunch Disrupt takes place on October 28–30 in San Francisco. While the event is a few months away, the deadline to secure your early-bird tickets and save up to $800…

Disrupt 2024 early-bird tickets fly away next Friday

Another week, and another round of crazy cash injections and valuations emerged from the AI realm. DeepL, an AI language translation startup, raised $300 million on a $2 billion valuation;…

Big tech companies are plowing money into AI startups, which could help them dodge antitrust concerns

If raised, this new fund, the firm’s third, would be its largest to date.

Harlem Capital is raising a $150 million fund

About half a million patients have been notified so far, but the number of affected individuals is likely far higher.

US pharma giant Cencora says Americans’ health information stolen in data breach

Attention, tech enthusiasts and startup supporters! The final countdown is here: Today is the last day to cast your vote for the TechCrunch Disrupt 2024 Audience Choice program. Voting closes…

Last day to vote for TC Disrupt 2024 Audience Choice program

Featured Article

Signal’s Meredith Whittaker on the Telegram security clash and the ‘edge lords’ at OpenAI 

Among other things, Whittaker is concerned about the concentration of power in the five main social media platforms.

1 day ago
Signal’s Meredith Whittaker on the Telegram security clash and the ‘edge lords’ at OpenAI 

Lucid Motors is laying off about 400 employees, or roughly 6% of its workforce, as part of a restructuring ahead of the launch of its first electric SUV later this…

Lucid Motors slashes 400 jobs ahead of crucial SUV launch

Google is investing nearly $350 million in Flipkart, becoming the latest high-profile name to back the Walmart-owned Indian e-commerce startup. The Android-maker will also provide Flipkart with cloud offerings as…

Google invests $350 million in Indian e-commerce giant Flipkart

A Jio Financial unit plans to purchase customer premises equipment and telecom gear worth $4.32 billion from Reliance Retail.

Jio Financial unit to buy $4.32B of telecom gear from Reliance Retail

Foursquare, the location-focused outfit that in 2020 merged with Factual, another location-focused outfit, is joining the parade of companies to make cuts to one of its biggest cost centers –…

Foursquare just laid off 105 employees

“Running with scissors is a cardio exercise that can increase your heart rate and require concentration and focus,” says Google’s new AI search feature. “Some say it can also improve…

Using memes, social media users have become red teams for half-baked AI features

The European Space Agency selected two companies on Wednesday to advance designs of a cargo spacecraft that could establish the continent’s first sovereign access to space.  The two awardees, major…

ESA prepares for the post-ISS era, selects The Exploration Company, Thales Alenia to develop cargo spacecraft

Expressable is a platform that offers one-on-one virtual sessions with speech language pathologists.

Expressable brings speech therapy into the home

The French Secretary of State for the Digital Economy as of this year, Marina Ferrari, revealed this year’s laureates during VivaTech week in Paris. According to its promoters, this fifth…

The biggest French startups in 2024 according to the French government

Spotify is notifying customers who purchased its Car Thing product that the devices will stop working after December 9, 2024. The company discontinued the device back in July 2022, but…

Spotify to shut off Car Thing for good, leading users to demand refunds

Elon Musk’s X is preparing to make “likes” private on the social network, in a change that could potentially confuse users over the difference between something they’ve favorited and something…

X should bring back stars, not hide ‘likes’

The FCC has proposed a $6 million fine for the scammer who used voice-cloning tech to impersonate President Biden in a series of illegal robocalls during a New Hampshire primary…

$6M fine for robocaller who used AI to clone Biden’s voice

Welcome back to TechCrunch Mobility — your central hub for news and insights on the future of transportation. Sign up here for free — just click TechCrunch Mobility! Is it…

Tesla lobbies for Elon and Kia taps into the GenAI hype

Crowdaa is an app that allows non-developers to easily create and release apps on the mobile store. 

App developer Crowdaa raises €1.2M and plans a US expansion

Back in 2019, Canva, the wildly successful design tool, introduced what the company was calling an enterprise product, but in reality it was more geared toward teams than fulfilling true…

Canva launches a proper enterprise product — and they mean it this time

TechCrunch Disrupt 2024 isn’t just an event for innovation; it’s a platform where your voice matters. With the Disrupt 2024 Audience Choice Program, you have the power to shape the…

2 days left to vote for Disrupt Audience Choice

The United States Department of Justice and 30 state attorneys general filed a lawsuit against Live Nation Entertainment, the parent company of Ticketmaster, for alleged monopolistic practices. Live Nation and…

Ticketmaster antitrust lawsuit could give new hope to ticketing startups