Random Forest Interchange Code Prediction for Merchant Cash Flow

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current credit card transaction processing systems lack the ability to accurately predict and assess interchange fees in real-time, leading to undesirable financial situations for merchants who face significant charges only at the end of the month, which can impact their cash flow and profitability.

Innovation Solution

A computer-implemented method using a random forest model to predict interchange charges by transforming bank identification numbers (BINs) into probabilities and training the model with historical transaction data, allowing for the generation of predicted interchange codes for new transactions, thereby enabling more accurate and timely fee assessment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional end-of-month billing is used for interchange fees, then merchants can simplify their cash flow management, but merchants face significant financial uncertainty and cash flow issues due to large end-of-month payments

Engineering Contradiction:
Improvefinancial predictabilityVSAvoidcash flow timing
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary action by predicting interchange fees at the time of each transaction using a random forest model trained on historical data. This allows merchants to know their fees in advance rather than receiving a large bill at month-end, enabling better cash flow management and financial planning while maintaining accurate fee assessment.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If real-time interchange fee prediction is implemented, then merchants can improve cash flow management, but the system complexity and computational requirements increase

Engineering Contradiction:
Improvefee prediction accuracyVSAvoidprediction system complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system uses a random forest model that creates a simplified copy of the complex interchange fee determination process based on historical patterns. Instead of implementing complex real-time negotiation systems, the model captures essential relationships from historical data and applies them to predict fees quickly, reducing system complexity while maintaining accuracy.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The system transforms the complex multi-factor interchange fee determination into a predictive model that processes key parameters (transaction amount, merchant category, card type) through the random forest algorithm. This parameter transformation approach simplifies the computational complexity while preserving the essential fee-determining factors.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If historical transaction data is processed and transformed into training sets, then the prediction accuracy improves, but the data processing time and computational resources increase

Engineering Contradiction:
Improveinterchange code prediction accuracyVSAvoidmodel training time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary action by pre-processing historical transaction data and transforming BINs into probability distributions before model training. This upfront data preparation creates a ready-to-use training set that accelerates the actual prediction process, allowing the model to focus computational resources on learning patterns rather than raw data processing during transaction times.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12002022B2Interchange code prediction system for processing credit card transactions
Publication Date: 2024.06.04 TOAST INC
  • US12002022B2 patent drawing
  • US12002022B2 patent drawing
  • US12002022B2 patent drawing

AI summary

A computer-implemented method for predicting interchange charges includes: retrieving a historical transactions set, where each completed transaction in the set includes transaction features, a bank identification number (BIN), and a corresponding true interchange code; transforming all BINs in the set into a corresponding plurality of BIN features that comprise probabilities; creating a first training set including all transaction features, all pluralities of BIN features, and all true interchange codes associated with the historical transactions set; training a random forest model using the first training set and generating a second training set including rounded BIN features, rounded transaction features, discrete ones of the transaction features, and the true interchange codes; training the random forest model using the second training set to generate a trained random forest model for prediction of the interchange codes; and executing the trained random forest model for new transactions to generate corresponding predicted interchange codes.