# US 2021/0065191 A1 · Machine learning-based determination of limits on merchant use of a third party payments system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0065191 A1
- Document ID: US20210065191A1
- Status: Published application
- Kind: A1
- Application number: 16/557,962
- Filed: 2019-08-30
- Published: 2021-03-04
- Earliest claimed: 2019-08-30
- Assignees: Intuit Inc.
- Applicants: Intuit Inc.
- Inventors: Natalie De Shetler; Henry Venturelli; Taylor Cressy; Nikolas Terani
- Web page: https://patentgrep.com/patent/US20210065191A1

## CPC

- G06Q 20/4016: {involving fraud or risk level assessment in transaction processing}
- G06F 17/18: for evaluating statistical data {, e.g. average values, frequency distributions, probability functions, regression analysis (forecasting specially adapted for a specific administrative, business or logistic context G06Q10/04)}
- G06N 20/00: Machine learning
- G06Q 20/203: {Inventory monitoring}
- G07G 1/0045: {with a code reader for reading of an identifying code of the article to be registered, e.g. barcode reader or radio-frequency identity [RFID] reader}
- G07G 1/0054: {with control of supplementary check-parameters, e.g. weight or number of articles}
- G07G 3/003: {Anti-theft control (theft alarms G08B13/00)}
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G07G: REGISTERING THE RECEIPT OF CASH, VALUABLES, OR TOKENS

## Abstract

In general, in one aspect, one or more embodiments relate to a method including receiving, in a business rules engine, input data from disparate data sources. The input data describes a merchant and an application by the merchant to use an electronic payments system for processing transactions between the merchant and customers. Featurization is performed on the input data to form a machine readable vector. By applying the machine readable vector as input to a machine learning model in a machine learning layer, a risk score is predicted. The machine learning model is trained using training data describing use of the electronic payments system by other merchants. The risk score is an estimated probability of the merchant being unable to satisfy an obligation of using the electronic payments system. A business rules engine, based on the risk score, limits use of the electronic payments system by the merchant.

## Claims

### Claim 1

A method comprising:
receiving, in a business rules engine of a computing system, input data from a plurality of disparate data sources, wherein the input data describes a merchant and an application by the merchant to use an electronic payments system for processing a plurality of transactions between the merchant and a plurality of customers;
performing featurization on the input data to form a machine readable vector, wherein featurization comprises transforming the input data into the machine readable vector;
determining, using Bayesian optimization, an optimized value for a hyperparameter of a machine learning model;
adjusting the hyperparameter of the machine learning model to form an adjusted hyperparameter, wherein the adjusted hyperparameter matches the optimized value;
executing the machine learning model using the adjusted hyperparameter, wherein the machine learning model takes as input the machine readable vector, wherein executing the machine learning model outputs a prediction of a risk score, wherein the machine learning model is trained using training data describing use of the electronic payments system by a plurality of other merchants, and wherein the risk score comprises an estimated probability of the merchant being unable to satisfy an obligation of using the electronic payments system;
limiting, by the business rules engine based on the risk score, use of the electronic payments system by the merchant.

### Claim 2 (depends on 1)

The method of claim 1, wherein limiting comprises electronically preventing the merchant from using the electronic payments system to process transactions with the plurality of customers when a combined dollar value of the plurality of transactions exceeds a threshold dollar value that is set based on the risk score.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
executing a second machine learning model, wherein the second machine learning model takes as input the machine readable vector and produces, as output, a set of features within the machine readable vector that contributed to determination of the risk score by more than a threshold degree.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
passing the set of features to the business rules engine; and
determining, by the business rules engine and based on the set of features, a reason for the risk score.

### Claim 5 (depends on 4)

The method of claim 4, wherein determining the reason comprises:
identifying a feature which contributed to the risk score by a contribution value above a threshold amount relative to contribution values of other features in the set of features, wherein each contribution value is a number representing a degree to which a corresponding feature contributed to the risk score output by the machine learning model; and
translating the feature to the reason.

### Claim 6 (depends on 2)

The method of claim 2, further comprising:
transmitting, to a user device of the merchant, the threshold dollar value and the reason.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
normalizing, prior to predicting, the machine readable vector to form a normalized machine readable vector,
wherein applying the machine readable vector comprises applying the normalized machine readable vector.

### Claim 8 (depends on 7)

The method of claim 7, wherein normalizing comprises:
adding label encoding for a plurality of features that compose the machine readable vector; and
arranging the plurality of features within the machine readable vector.

### Claim 9 (depends on 7)

The method of claim 7, wherein normalizing comprises:
transforming string variables into a plurality of binary columns; and
aggregating the binary columns into statistical information stored in a number of columns fewer than the plurality of binary columns.

### Claim 10

A system comprising:
a data repository storing
a machine learning model,
a machine readable vector,
a hyperparameter of the machine learning model,
an optimized value for the hyperparameter,
an adjusted hyperparameter of the machine learning model,
a risk score comprising an estimated probability of a merchant being unable to satisfy an obligation of using an electronic payments system to process a plurality of transactions with a plurality of customers, and
input data from a plurality of disparate data sources, wherein the input data describes the merchant and an application by the merchant to use the electronic payments system;
a business rules engine configured to:
receive the input data prior to calculation of the risk score;
receive the risk score after calculation of the risk score; and
limit, based on the risk score, use of the electronic payments system by the merchant;
a featurization layer configured to:
perform featurization on the input data to generate the machine readable vector;
a machine learning layer configured to:
determine, using Bayesian optimization, the optimized value for the hyperparameter of the machine learning model;
adjust the hyperparameter of the machine learning model to form the adjusted hyperparameter that matches the optimized value;
receive the machine readable vector;
execute the machine learning model using the adjusted hyperparameter and further using the machine readable vector as input; and
predict the risk score as an output of the machine learning model.

### Claim 11 (depends on 10)

The system of claim 10, further comprising:
the electronic payments system, wherein the electronic payments system is configured to electronically prevent the merchant from using the electronic payments system to process transactions with the plurality of customers when a combined dollar value of the plurality of transactions exceeds a threshold dollar value that is set based on the risk score.

### Claim 12 (depends on 11)

The system of claim 11, wherein the machine learning layer comprises a second machine learning model, and wherein the machine learning layer is further configured to:
apply the machine readable vector to a second machine learning model to determine a set of features within the machine readable vector that contributed to determination of the risk score by more than a threshold degree.

### Claim 13 (depends on 12)

The system of claim 12, further comprising: a business rules layer configured to:
determine, based on the set of features, a reason for the risk score.

### Claim 14 (depends on 13)

The system of claim 13, wherein the business rules layer is further configured to:
transmit, to a user device of the merchant, the threshold dollar value and the reason.

### Claim 15 (depends on 10)

The system of claim 10, wherein the machine learning layer is further configured to:
normalize, prior to predicting, the machine readable vector.

### Claim 16

A non-transitory computer readable medium comprising computer readable program code, the computer readable program code for causing a computer system to:
receive, in a business rules engine of a computing system, input data from a plurality of disparate data sources, wherein the input data describes a merchant and an application by the merchant to use an electronic payments system for processing a plurality of transactions between the merchant and a plurality of customers;
perform featurization on the input data to form a machine readable vector, wherein featurization comprises transforming the input data into the machine readable vector;
determine, using Bayesian optimization, an optimized value for a hyperparameter of a machine learning model;
adjust the hyperparameter of the machine learning model to form an adjusted hyperparameter, wherein the adjusted hyperparameter matches the optimized value;
execute the machine learning model using the adjusted hyperparameter, wherein the machine learning model takes as input the machine readable vector, wherein executing the machine learning model outputs a prediction of a risk score, wherein the machine learning model is trained using training data describing use of the electronic payments system by a plurality of other merchants, and wherein the risk score comprises an estimated probability of the merchant being unable to satisfy an obligation of using the electronic payments system;
limit, by the business rules engine based on the risk score, use of the electronic payments system by the merchant.

### Claim 17 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the computer readable program code for causing the computer system to limit comprises computer readable program code for causing the computer system to electronically prevent the merchant from using the payments system to process transactions with the plurality of customers when a combined dollar value of the plurality of transactions exceeds a threshold dollar value that is set based on the risk score.

### Claim 18 (depends on 16)

The non-transitory computer readable medium of claim 16, wherein the computer readable program code is further for causing the computer system to:
apply the machine readable vector to a second machine learning model to determine a set of features within the machine readable vector that contributed to determination of the risk score by more than a threshold degree.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the computer readable program code is further for causing the computer system to:
pass the set of features to the business rules engine; and
determine, by the business rules engine and based on the set of features, a reason for the risk score, wherein the computer readable program code for causing the computer to determine the reason comprises computer readable program code for causing the computer system to:
identify a feature which contributed to the risk score by a contribution value above a threshold amount relative to contribution values of other features in the set of features, wherein each contribution value is a number representing a degree to which a corresponding feature contributed to the risk score output by the machine learning model; and
translate the feature to the reason.

### Claim 20 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the computer readable program code is further for causing the computer system to:
transmit, to a user device of the merchant, the threshold dollar value and the reason.
