Detecting Fraud in Food Delivery: Leveraging Amazon Web Services' Random Cut Forest and XGBoost Models for Enhanced Security
This paper introduces a fraud detection model tailored for identifying fraudulent cases and anomalies within business systems. Choosing the multivariate Random Cut Forest over the univariate Isolation Forest, the model demonstrated effectiveness in detecting various anomalies and ensuring system safety. Evaluated with a limited set of confirmed fraud cases, it achieved significant results with a cutoff score of 1.4, effectively identifying instances resembling known fraud cases and flagging anomalies for further investigation. These findings refined engine rules, enhancing system security and stability. The model, leveraging XGBoost for its proficiency with complex datasets and multivariate features, integrates parameters like price, delivery fee, discounts, cash back value, and distance metrics. Notably, the models achieved strong performance, with the food model scoring 0.816 and the on-demand model 0.790 in test F1 scores. Deployment involves storing models in an S3 bucket, deploying them in SageMaker endpoints using XGBoost version 1.0-1 and ml.t2.medium instance type, with weekly re-training and deployment schedules and daily dataset updates. An AWS Lambda function ensures efficient inference processing via the API. Overall, this study contributes a versatile and efficient fraud detection model for enhancing business system security and stability.
Authors
- Mohamed Taher (ORCID: https://orcid.org/0000-0002-4808-4018)
- Mohamed R. Shoaib (ORCID: https://orcid.org/0000-0003-3220-8714)
- Taher Abdelhameed (ORCID: https://orcid.org/0000-0003-1814-8196)
- Tarek Dahab (ORCID: https://orcid.org/0009-0001-4236-4203)
Institutions
- Nanyang Technological University (SG)
Publication Details
- Published
- 2024-12-17
- DOI
- https://doi.org/10.1109/icca62237.2024.10927878
- Primary Topic
- Spam and Phishing Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00