AWS Startups Blog
ICONY: Detecting and Handling Fake Accounts with Amazon Fraud Detector
Guest post by Uwe Thomas, Managing Director at ICONY GmbH, and Anna Grüebler, Senior AI Specialist Solutions Architect at AWS.
In our digital world, as the popularity of online dating platforms and websites continues to grow, so too does the threat from scammers, bots, and other bad actors. ICONY GmbH, a white-label dating platform based in Germany, helps address this issue by rigorously validating users — allowing its business partners to launch their services with a database of reputable and up-to-date profiles already in place.
Today, more than 200 media companies partner with ICONY to create dating platforms under their own brands and/or domains. For each partner, ICONY sets up the look and feel of the platform and also manages its day-to-day operation — handling everything from additional application development, to editorial and customer support, to monthly billing of premium memberships and issuing credits to partners. ICONY also provides partners with a transparent backend showing daily behavior, user conversions, and sales generated on the platform.
Having a community of real, active users — not bots or fake accounts — is critical to the success of any dating platform, and so far more than 1.5 million people have registered with ICONY and its partners. Maintaining the trust of these individuals is of the utmost importance, which is why ICONY continually invests in new methods to detect and remove fraudulent profiles from the network. This leads to a better user experience, fewer abuse reports, and higher retention.
Initially, like many other online platforms, the ICONY support team relied on abuse reports to identify fake users and scammers, and then added internal rules and had members of the team review sign-ups. Recognizing and adjusting to the changing strategies by bad actors was a constant struggle, however. Each time a new type of fraudulent behavior appeared, the support team needed to manually create a new rule to address it — a very time-consuming endeavour that could not be scaled up and sustained. To solve this problem, ICONY decided to take a more sophisticated approach to fraud detection, using machine learning and the Amazon Fraud Detector service.
Amazon Fraud Detector provides everything that’s needed to build, deploy, and manage fraud detection models. To train the model, they used ICONY’s historical data of legitimate accounts, as well as the fraudulent accounts the support team had previously identified. Together with other AWS services, ICONY was able to create a bespoke fraud detection solution that did not require in-house machine learning expertise. After a few days of planning and discussion, the coding and integration of fraud detection on the platform was completed in just two days.
The following two diagrams show the high-level overview of the solution:
The implementation is divided into two steps: training and deploying the model, and evaluating and handling new users. The steps are as follows:
- Labeled historical data of examples of fraudulent and legitimate transactions is loaded from Amazon Simple Storage Service (Amazon S3).
- Using the historical data, a model is trained in Amazon Fraud Detector. This model will be used to evaluate new transactions and returns a risk score.
- The model offline metrics can be reviewed by ICONY’s support team after training. These metrics show for each risk score the associated true and false positive/negative rates based on the training data. Risk scores are in the range of 0–1,000, with 0 representing the lowest possible risk, and 1,000 indicating the highest possible risk.
- ICONY’s support team define the thresholds of the risk score returned by the model for different outcomes. The support team selects appropriate risk score cut-off values based on their business knowledge. In this case they defined three outcomes: “allow”, “monitor”, and “block” and assigned risk score cut-off values for each. These are the conditions on how to interpret the risk score during fraud prediction. For example, a risk score greater than a certain value can be defined to return the outcome “block” This automates the behavior of the web front-end.
- The model output and business rules are defined in a Detector. The Detector makes the decision on what the outcome is. The Detector is deployed as a managed API endpoint that scales automatically with demand and is used for fraud detection.
- When a user signs up to the platform, the relevant information is sent to the Amazon Fraud Detector API endpoint.
- Amazon Fraud Detector generates a risk score (in the range of 0–1,000) on the input data — with 0 representing the lowest possible risk, and 1,000 indicating the highest possible risk. The detector returns the outcome based on the business rules: “allow”, “monitor”, or “block”.
- The “allow”, “monitor”, or “block” results, including decisions by the support team, are stored in Amazon S3 for future model retraining and improvement.
After implementing this fraud detection solution, the ICONY support team saw the time they spent dealing with fake and spam accounts fall by 77%. This freed up the team to deal with individual user checks, which immediately improved quality on the platform and caused fraud reports from the community to drop by 63%. Moreover, the number of registered users returning to the platform has increased 4.13%. With less harassment from fake accounts and scammers, users feel more comfortable on the platform and enjoy using it.
These numbers highlight just how effective Amazon Fraud Detector can be in reducing the burden on the support team and improving the overall user experience, allowing ICONY to provide the best possible platform to its business partners. We hope this will inspire other teams to explore machine learning-based fraud detection using Amazon Fraud Detector.
Uwe Thomas has been CEO of ICONY GmbH, based in southern Germany, since 2016. ICONY GmbH is a small company with 15 employees who work every day to provide users in the ICONY network with the best service and a lot of fun when looking for a partner. However, Uwe himself is married and has 2 children. | |
Anna Grüebler is a Specialist Solutions Architect in Artificial Intelligence at AWS. She has more than 13 years experience in developing and deploying machine learning projects both in academia and in businesses of all sizes in Venezuela, Japan, and the UK. Her passion is taking new technologies and putting them in the hands of everyone, and solving difficult problems leveraging the advantages of using AI in the cloud. |