LLM Anomaly Detection for Order Integrity

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing online systems face challenges in balancing the need for picker flexibility during order fulfillment with the requirement to ensure user satisfaction and prevent unauthorized changes to orders.

Innovation Solution

The system employs a method that involves analyzing interactions between users and pickers using a machine-learned model to detect anomalies in item selections. It generates prompts based on chat logs between users and pickers, determines whether anomalies are attributable to users, and provides notifications for user approval when necessary.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If strict rules are imposed on picker item selection, then order integrity is maintained, but picker flexibility and ability to make necessary adjustments are reduced

Engineering Contradiction:
Improveorder integrityVSAvoidpicker flexibility
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces an intermediary system consisting of anomaly detection module, chat log analysis module, and machine-learned model that mediates between strict order rules and picker flexibility. The system analyzes chat logs between users and pickers to understand context, detects anomalies in item selections, and determines whether they are attributable to users or represent unauthorized picker changes, thereby enabling nuanced enforcement of order integrity while preserving necessary picker flexibility

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system dynamically changes the enforcement parameter of order rules based on anomaly attribution results. When anomalies are determined to be user-attributable or approved, the system allows the change; when determined to be unauthorized picker changes, the system blocks or flags the selection. This dynamic parameter adjustment resolves the contradiction by adapting the strictness of rules based on contextual understanding from chat log analysis

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If picker flexibility is allowed for order adjustments, then user satisfaction may improve, but unauthorized changes and appeasement issues increase

Engineering Contradiction:
Improvepicker flexibilityVSAvoidorder integrity
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The patent implements a feedback mechanism where the system continuously monitors picker actions, analyzes chat logs for context, detects anomalies, determines attribution, and provides real-time feedback to pickers through notifications and flags. This feedback loop enables pickers to understand when their flexibility is appropriate and when it violates order integrity, thereby reducing unauthorized changes while maintaining necessary adaptability

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The anomaly detection and analysis system acts as an intermediary that objectively evaluates picker actions against order requirements while considering contextual information from chat logs. This intermediary provides fair and consistent enforcement of order integrity without completely restricting picker flexibility, resolving the contradiction by enabling informed flexibility

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If anomaly detection and chat log analysis are implemented, then unauthorized changes are prevented, but system complexity increases

Engineering Contradiction:
Improveorder integrityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent employs a machine-learned model that performs multiple functions: analyzing chat logs, detecting anomalies, determining attribution, and generating decisions. This multi-functional model consolidates what would otherwise require separate systems for each task, reducing overall system complexity while maintaining comprehensive anomaly detection and order integrity enforcement

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system uses automated machine-learned models and algorithms to perform anomaly detection and chat log analysis without requiring manual review of each picker action. This self-service approach handles the complexity internally through automation, preventing unauthorized changes while avoiding the need for complex manual review processes

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20250086435A1Anomaly detection and user attribution using machine-learning large language models
Publication Date: 2025.03.13 MAPLEBEAR INC
  • US20250086435A1 patent drawing
  • US20250086435A1 patent drawing
  • US20250086435A1 patent drawing

AI summary

An online system detects an anomaly associated with an item selection made by a picker for fulfilling an order of a user of an online system. The system generates a prompt for execution by a machine-learned model trained as a large language model. The prompt comprises a chat log between the picker and the user. The system provides the prompt to the machine-learned model for execution. The system receives, as output from the machine-learned model and based on the chat log, a description indicating whether the anomaly is attributable to the user. The system determines, based on the output from the machine-learned model, that the item selection is not attributable to the user. Responsive to determining that the item selection is not attributable to the user, the system provides a notification to a client device of the user to confirm whether the item selection is approved by the user.