Ocado improves fraud detection with machine learning

Algorithm developed using TensorFlow and Google Cloud sees 15-times greater success rate

Ocado Technology is fighting fraud with machine learning, improving its detection rate by 15 times since using automation to detect wrongdoing.

The technology division of the online supermarket has built its own machine learning-based algorithm with Google's TensorFlow and Google Cloud to help it detect fraud among the sheer petabytes of data it stores in Google Cloud.

The system is part of the Ocado Smart Platform (OSP), and attempts to differentiate between shoppers who accidentally input the wrong personal details or who use an expired debit card, and those who have a malicious intent.

For Ocado, part of the danger of fraud is that leaving it unchecked could result in the fraudulent information being moved to other systems and divisions in the business, eventually impacting customer service.

This has led Ocado to develop a mechanism for predicting and recognising these incidents among millions of other normal events using data collected from past orders, as well as cases of fraud.

Advertisement
Advertisement - Article continues below
Advertisement - Article continues below

To do this, engineers have built a deep neural network using TensorFlow and uploaded the whole fraud detection system to the cloud.

"From the data we had collected from past orders, including cases of fraud, we created a list of features which included the number of past deliveries, the cost of baskets, and other information," said Ocado's Holly Godwin. "The more features we included in the training data, the more reliable the model could be, so we made sure that we were providing our model with as much information as possible.

"After collating our data, we then had to decide upon an algorithm capable of learning from the information. Eventually we implemented a deep neural network on TensorFlow, as it was precise and easy to deploy into production. Using TensorFlow was a natural choice as we had already made the move over to Google Cloud for data analytics so using TensorFlow alongside our data stored on the Google Cloud Platform worked well."

The algorithm had to be as accurate as possible, because confirmed fraud cases are rare, typically one in every thousand orders (0.01%), and a machine learning model that is only 99.9% accurate could still miss several instances of fraud.

"The motivation behind using machine learning for fraud detection was twofold: speed and adaptability," Godwin added. "Machines are fundamentally more capable of quickly detecting patterns compared to humans. Also, as fraudsters change their tactics, machines can learn the new patterns much quicker."

Advertisement - Article continues below

Ocado's push to include more features in the training data have created a more reliable model which has already achieved significant success, improving Ocado's precision of detecting fraud by a factor of 15.

Featured Resources

What you need to know about migrating to SAP S/4HANA

Factors to assess how and when to begin migration

Download now

Your enterprise cloud solutions guide

Infrastructure designed to meet your company's IT needs for next-generation cloud applications

Download now

Testing for compliance just became easier

How you can use technology to ensure compliance in your organisation

Download now

Best practices for implementing security awareness training

How to develop a security awareness programme that will actually change behaviour

Download now
Advertisement

Recommended

Visit/technology/33253/toyota-partners-with-nvidia-to-create-the-future-of-autonomous-vehicles
Technology

Toyota, NVIDIA partner on self-driving cars

20 Mar 2019

Most Popular

Visit/policy-legislation/data-governance/354496/brexit-security-talks-under-threat-after-uk-accused-of
data governance

Brexit security talks under threat after UK accused of illegally copying Schengen data

10 Jan 2020
Visit/microsoft-windows/32066/what-to-do-if-youre-still-running-windows-7
Microsoft Windows

What to do if you're still running Windows 7

14 Jan 2020
Visit/hardware/laptops/354533/dell-xps-13-new-9300-hands-on-review-chasing-perfection
Laptops

Dell XPS 13 (New 9300) hands-on review: Chasing perfection

14 Jan 2020
Visit/operating-systems/25802/17-windows-10-problems-and-how-to-fix-them
operating systems

17 Windows 10 problems - and how to fix them

13 Jan 2020