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 implications for merchants who face significant charges only at the end of the month, which can be a substantial portion of their revenue.

Innovation Solution

A computer-implemented method using a random forest model to predict interchange codes by transforming historical transaction data into BIN features and training the model to generate predicted interchange codes, allowing for timely and accurate assessment of interchange fees during transaction processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If interchange fees are assessed only at the end of the month, then merchants face significant financial burden and cash flow issues, but real-time prediction and assessment of interchange fees is not possible with traditional systems

Engineering Contradiction:
Improvetime to assess interchange feesVSAvoidaccuracy of interchange fee prediction
Core Design Contradiction:
Loss of timeVSMeasurement precision

Solution Approach 1:

The system performs preliminary action by training a random forest model on historical transaction data before actual transaction processing. The model learns patterns and relationships between transaction features and interchange codes in advance, enabling real-time prediction without adding processing time to actual transactions. This pre-computation approach allows the system to provide both timely fee assessment and accurate predictions.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates a copy of historical transaction data and trains a predictive model on this copy. The trained model then serves as a virtual representation that can predict interchange codes for new transactions without needing to query actual issuing banks in real-time. This copying approach enables real-time prediction while maintaining accuracy by capturing the complex fee structures in the trained model.

Inventive Principle:
Principle #26Copying

2Loss of information

If traditional processing services are used, then merchants pay processing charges as estimates known only after the fact, but this lacks transparency and financial planning capability for merchants

Engineering Contradiction:
Improveinformation about interchange feesVSAvoidtransaction processing efficiency
Core Design Contradiction:
Loss of informationVSProductivity

Solution Approach 1:

The system implements feedback by continuously comparing predicted interchange codes with actual interchange codes from completed transactions. This feedback loop allows the model to learn from discrepancies and improve its predictions over time. The system uses historical data to train the model, validates predictions against actual outcomes, and refines its accuracy, providing merchants with increasingly reliable fee estimates while maintaining processing efficiency.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If complex interchange fee structures are analyzed in real-time, then accurate fee assessment is possible, but system complexity and processing time increase significantly

Engineering Contradiction:
Improveaccuracy of interchange fee assessmentVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system replaces the mechanical approach of real-time complex rule-based interchange fee calculation with a machine learning-based random forest model. Instead of implementing and executing complex business rules and logic during transaction processing, the system uses a trained statistical model that captures these relationships during the training phase. This substitution simplifies the real-time processing while maintaining accuracy, as the model has already learned the complex patterns from historical data.

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

Data Source

PatentUS11983731B2Optimized interchange code prediction system for processing credit card transactions
Publication Date: 2024.05.14 TOAST INC
  • US11983731B2 patent drawing
  • US11983731B2 patent drawing
  • US11983731B2 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.