LLM-Based Fraud Detection for Online Refund Events

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for determining legitimate refund events in online concierge systems are inconsistent and prone to false positives and negatives due to poor feature inputs, often related to refund sources and reasons that are not reliable or OOS-related, making it difficult to distinguish between genuine out-of-stock issues and fraudulent behavior.

Innovation Solution

Training a fraud detection model using the output of a large language model to analyze transaction data and determine whether a refund event is legitimate or fraudulent by providing a prompt with relevant information such as chat transcripts, customer service interactions, and item data to classify the reason for the refund event.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If traditional refund detection methods are used with pre-coded standardized refund reasons, then the system is easy to operate, but the measurement precision of fraud detection deteriorates due to poor feature inputs

Engineering Contradiction:
Improveease of operationVSAvoidmeasurement precision
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

A language model is introduced as an intermediary component between the refund event data and the fraud detection model. The language model processes unstructured refund reason text and generates structured feature representations that capture semantic meaning, thereby improving the quality of inputs to the fraud detection model without requiring changes to the overall system architecture or user interaction patterns

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system transforms the parameter representation of refund reasons from fixed pre-coded categories to dynamic semantic features generated by the language model. This parameter transformation enables the fraud detection model to access richer, more nuanced information about refund events, improving detection precision while maintaining the same operational interface

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If pre-coded standardized refund reasons are used, then the device complexity is reduced, but the reliability of fraud detection deteriorates due to inconsistent results

Engineering Contradiction:
Improvedevice complexityVSAvoidreliability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The language model serves as an intermediary that bridges the simple pre-coded refund reasons and the fraud detection model. It enriches the limited pre-coded reasons with semantic analysis of the full refund reason text, providing the fraud detection model with more reliable features while keeping the overall system architecture simple and the device complexity low

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system replaces the mechanical classification approach (direct use of pre-coded reasons) with an intelligent processing approach using the language model. This substitution enables the system to extract meaningful features from unstructured text without requiring complex manual classification rules or increasing device complexity

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Measurement precision

If detailed analysis of refund events is performed to improve detection accuracy, then the measurement precision improves, but the loss of time increases due to additional processing

Engineering Contradiction:
Improvemeasurement precisionVSAvoidloss of time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The language model automatically performs detailed semantic analysis of refund events, replacing what would otherwise require complex manual analysis rules. This automated linguistic processing achieves high measurement precision in fraud detection while minimizing time loss, as the language model processes text efficiently without requiring human intervention or complex rule evaluation

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20240419941A1Training detection model using output of language model applied to event information
Publication Date: 2024.12.19 MAPLEBEAR INC
  • US20240419941A1 patent drawing
  • US20240419941A1 patent drawing
  • US20240419941A1 patent drawing

AI summary

Embodiments relate to an automatic detection of fraudulent behavior for a transaction at an online system. The online system requests a large language model (LLM) to determine, based on a prompt input into the LLM, information about a refund event for a first order placed by a user of the online system. The online system accesses a computer model trained to detect a fraudulent behavior associated with an order placed with the online system. The online system applies the computer model to determine a score associated with the refund event, based on the information about the refund event received from the LLM. The online system determines, based on the score, whether the refund event was due to a fraudulent behavior of the user. The online system performs at least one action associated with the online system, based on the determination whether the refund event was due to the fraudulent behavior.