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

The best known mycoprotein is probably Quorn, a meat substitute that’s fast approaching its 40th birthday. But Finnish biotech startup Enifer is cooking up something even older: Its proprietary single-cell…

Meet the Finnish biotech startup bringing a long lost mycoprotein to your plate

Silo, a Bay Area food supply chain startup, has hit a rough patch. TechCrunch has learned that the company on Tuesday laid off roughly 30% of its staff, or north…

Food supply chain software maker Silo lays off ~30% of staff amid M&A discussions

Featured Article

Meta’s new AI council is composed entirely of white men

Meanwhile, women and people of color are disproportionately impacted by irresponsible AI.

9 hours ago
Meta’s new AI council is composed entirely of white men

If you’ve ever wanted to apply to Y Combinator, here’s some inside scoop on how the iconic accelerator goes about choosing companies.

Garry Tan has revealed his ‘secret sauce’ for getting into Y Combinator

Indian ride-hailing startup BluSmart has started operating in Dubai, TechCrunch has exclusively learned and confirmed with its executive. The move to Dubai, which has been rumored for months, could help…

India’s BluSmart is testing its ride-hailing service in Dubai

Under the envisioned framework, both candidate and issue ads would be required to include an on-air and filed disclosure that AI-generated content was used.

FCC proposes all AI-generated content in political ads must be disclosed

Want to make a founder’s day, week, month, and possibly career? Refer them to Startup Battlefield 200 at Disrupt 2024! Applications close June 10 at 11:59 p.m. PT. TechCrunch’s Startup…

Refer a founder to Startup Battlefield 200 at Disrupt 2024

Social networking startup and X competitor Bluesky is officially launching DMs (direct messages), the company announced on Wednesday. Later, Bluesky plans to “fully support end-to-end encrypted messaging down the line,”…

Bluesky now has DMs

The perception in Silicon Valley is that every investor would love to be in business with Peter Thiel. But the venture capital fundraising environment has become so difficult that even…

Peter Thiel-founded Valar Ventures raised a $300 million fund, half the size of its last one

Featured Article

Spyware found on US hotel check-in computers

Several hotel check-in computers are running a remote access app, which is leaking screenshots of guest information to the internet.

13 hours ago
Spyware found on US hotel check-in computers

Gavet has had a rocky tenure at Techstars and her leadership was the subject of much controversy.

Techstars CEO Maëlle Gavet is out

The struggle isn’t universal, however.

Connected fitness is adrift post-pandemic

Featured Article

A comprehensive list of 2024 tech layoffs

The tech layoff wave is still going strong in 2024. Following significant workforce reductions in 2022 and 2023, this year has already seen 60,000 job cuts across 254 companies, according to independent layoffs tracker Layoffs.fyi. Companies like Tesla, Amazon, Google, TikTok, Snap and Microsoft have conducted sizable layoffs in the first months of 2024. Smaller-sized…

14 hours ago
A comprehensive list of 2024 tech layoffs

HoundDog actually looks at the code a developer is writing, using both traditional pattern matching and large language models to find potential issues.

HoundDog.ai helps developers prevent personal information from leaking

The changes are designed to enhance the consumer experience of using Google Pay and make it a more competitive option against other payment methods.

Google Pay will now display card perks, BNPL options and more

Few figures in the tech industry have earned the storied reputation of Vinod Khosla, founder and partner at Khosla Ventures. For over 40 years, he has been at the center…

Vinod Khosla is coming to Disrupt to discuss how AI might change the future

AI has already started replacing voice agents’ jobs. Now, companies are exploring ways to replace the existing computer-generated voice models with synthetic versions of human voices. Truecaller, the widely known…

Truecaller partners with Microsoft to let its AI respond to calls in your own voice

Meta is updating its Ray-Ban smart glasses with new hands-free functionality, the company announced on Wednesday. Most notably, users can now share an image from their smart glasses directly to…

Meta’s Ray-Ban smart glasses now let you share images directly to your Instagram Story

Spotify launched its own font, the company announced on Wednesday. The music streaming service hopes that its new typeface, “Spotify Mix,” will help Spotify distinguish its own unique visual identity. …

Why Spotify is launching its own font, Spotify Mix

In 2008, Marty Kagan, who’d previously worked at Cisco and Akamai, co-founded Cedexis, a (now-Cisco-owned) firm developing observability tech for content delivery networks. Fellow Cisco veteran Hasan Alayli joined Kagan…

Hydrolix seeks to make storing log data faster and cheaper

A dodgy email containing a link that looks “legit” but is actually malicious remains one of the most dangerous, yet successful, tricks in a cybercriminal’s handbook. Now, an AI startup…

Bolster, creator of the CheckPhish phishing tracker, raises $14M led by Microsoft’s M12

If you’ve been looking forward to seeing Boeing’s Starliner capsule carry two astronauts to the International Space Station for the first time, you’ll have to wait a bit longer. The…

Boeing, NASA indefinitely delay crewed Starliner launch

TikTok is the latest tech company to incorporate generative AI into its ads business, as the company announced on Tuesday that it’s launching a new “TikTok Symphony” AI suite for…

TikTok turns to generative AI to boost its ads business

Gone are the days when space and defense were considered fundamentally antithetical to venture investment. Now, the country’s largest venture capital firms are throwing larger portions of their money behind…

Space VC closes $20M Fund II to back frontier tech founders from day zero

These days every company is trying to figure out if their large language models are compliant with whichever rules they deem important, and with legal or regulatory requirements. If you’re…

Patronus AI is off to a magical start as LLM governance tool gains traction

Link-in-bio startup Linktree has crossed 50 million users and is rolling out the beta of its social commerce program.

Linktree surpasses 50M users, rolls out its social commerce program to more creators

For a $5.99 per month, immigrants have a bank account and debit card with fee-free international money transfers and discounted international calling.

Immigrant banking platform Majority secures $20M following 3x revenue growth

When developers have a particular job that AI can solve, it’s not typically as simple as just pointing an LLM at the data. There are other considerations such as cost,…

Unify helps developers find the best LLM for the job

Response time is Aerodome’s immediate value prop for potential clients.

Aerodome is sending drones to the scene of the crime