Transaction Anomaly Detection Using Merchant Embeddings

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for assigning risk scores to merchant category codes for payment card transactions are inaccurate, time-consuming, and prone to errors due to the complexity and variability of merchant categories and sub-categories, leading to inefficient detection of unauthorized or ineligible transactions.

Innovation Solution

A system utilizing machine learning techniques, including an embedding model and an autoencoder, to generate similarity scores and out-of-pattern indices for transactions, enabling accurate and automated risk assessment at a granular level by analyzing transaction data structures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of manufacture

If manual scoring of merchant category codes is used to determine risk levels, then the process is simple to implement, but the accuracy and speed of anomaly detection deteriorates

Engineering Contradiction:
Improveease of implementationVSAvoidaccuracy of anomaly detection
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent replaces manual scoring (mechanical human evaluation) with an automated machine learning system that uses embedding models and autoencoders to analyze transaction data, merchant categories, and spending patterns, thereby improving detection accuracy while maintaining ease of implementation through automation

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

Solution Approach 2:

The patent introduces embedding models as intermediaries that transform merchant category codes and transaction data into meaningful vector representations, enabling the system to capture semantic relationships and nuances that manual scoring cannot detect, thus improving accuracy without increasing operational complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of manufacture

If manual scoring of merchant category codes is used to determine risk levels, then the implementation is straightforward, but the processing speed deteriorates

Engineering Contradiction:
Improveease of implementationVSAvoidtransaction processing speed
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent replaces time-consuming manual scoring with automated machine learning models that process transactions in real-time or near-real-time, dramatically improving processing speed while keeping the system easy to implement through standardized ML pipelines

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

Solution Approach 2:

The patent pre-trains embedding models on merchant category data and pre-processes transaction histories to create baseline spending patterns, enabling rapid anomaly detection during actual transaction processing without requiring complex real-time computations

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If manual scoring methods are used for risk assessment, then the system complexity is low, but the detection accuracy of unauthorized transactions deteriorates

Engineering Contradiction:
Improvesystem complexityVSAvoiddetection accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent introduces embedding models as intermediaries that automatically capture semantic relationships between merchant categories and transaction contexts, enabling the system to achieve high detection accuracy through standardized ML components rather than complex custom rules

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent uses autoencoders to create compressed representations (copies) of normal transaction patterns, allowing the system to detect anomalies by comparing new transactions against these learned patterns without requiring complex manual rule sets

Inventive Principle:
Principle #26Copying

4Measurement precision

If automated machine learning models are used for transaction analysis, then the detection accuracy improves, but the computational resources required increase

Engineering Contradiction:
Improveanomaly detection accuracyVSAvoidcomputational resource consumption
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The patent extracts only the most relevant features from transaction data using embedding models that focus on semantic relationships between merchant categories and spending patterns, reducing the dimensionality and computational burden while maintaining high detection accuracy

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent transforms discrete merchant category codes into continuous vector embeddings, enabling more efficient computational processing through mathematical operations on vectors rather than complex categorical comparisons, thereby reducing computational resource requirements

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20260044854A1Detecting an anomalous activity in a transaction data structure
Publication Date: 2026.02.12 AMEX INDIA AMERICAN EXPRESS (INDIA) PTE LTD
  • US20260044854A1 patent drawing
  • US20260044854A1 patent drawing
  • US20260044854A1 patent drawing

AI summary

Disclosed herein are system, method, and computer program product embodiments for detecting an anomalous activity in a data structure. The method includes acquiring, by at least one processor, merchant category data and a plurality of authorized transactions, training an embedding model using the merchant category data. The embedding model receives an input merchant category for a transaction and generates a sentence embedding for the input merchant category. The method further comprises training an autoencoder using the plurality of authorized transactions. The autoencoder receives transaction data for the transaction and generates a similarity score for the transaction compared to the plurality of authorized transactions. The method further comprises generating a trained machine learning model that is configured to generate transaction scores and flag transactions based on the transaction scores. The trained machine learning model comprises the trained embedding model and the trained autoencoder.