# US 2021/0287261 A1 · System and method providing business insights based on cluster success analytics for products based businesses

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

- Number: US 2021/0287261 A1
- Document ID: US20210287261A1
- Status: Published application
- Kind: A1
- Application number: 16/818,268
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: Intuit Inc.
- Applicants: Intuit Inc.
- Inventors: Shlomi MEDALION; Yair HORESH; Yehezkel Shraga RESHEFF; Sigalit BECHLER; Oren Sar SHALOM; Daniel Ben DAVID
- Web page: https://patentgrep.com/patent/US20210287261A1

## CPC

- G06Q 30/0282: Rating or review of business operators or products
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06F 18/23: Clustering techniques
- G06F 40/216: using statistical methods
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06Q 30/0202: Market predictions or forecasting for commercial activities
- G06N 3/048: Activation functions
- G06N 20/00: Machine learning
- 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

## Abstract

A method may be used to predict a business' category by analyzing the business' vendors. A neural network architecture may be trained via supervised learning to predict categories for businesses based on listed vendors. The neural network may be used to classify uncategorized businesses within an accounting software database. A list of factors associated with a business' success may be generated by analyzing, aggregating and ranking factors determined to be relevant to a business based on its categorization. The factors associated with the business' success may be related to the products and/or services offered by the business and the format of which those products and/or services are offered by the business. The factors may also be related to the products and/or services purchased by the business from a vendor and the format of which those products and/or services are purchased from the vendor.

## Claims

### Claim 1

A computer-implemented method for recommending business factors to a merchant, said method comprising:
receiving a request for recommended business factors from a device;
receiving merchant data associated with a merchant from the device, the merchant data comprising vendor data associated with the merchant;
embedding the merchant data to a vector space to obtain a merchant vector, the vector space comprising a plurality of other vectors associated with other merchants;
calculating a relation metric between the merchant vector and a vector of the plurality of other vectors, the vector being associated with a second merchant, the relation metric representing a degree of relation between the merchant and the second merchant;
determining that the relation metric is above a pre-defined threshold value; and
when it is determined that the relation metric is above the pre-defined threshold value, sending merchant data associated with the second merchant to the device, the merchant data associated with the second merchant comprising business factors associated with the second merchant.

### Claim 2 (depends on 1)

The method of claim 1, wherein embedding the merchant data to the vector space comprises:
detecting stop words in the merchant data associated with the merchant from a pre-defined list of stop words;
removing the detected stop words from the merchant data associated with the merchant;
lemmatizing the merchant data associated with the merchant; and
embedding the lemmatized merchant data to the vector space.

### Claim 3 (depends on 2)

The method of claim 2, wherein embedding the merchant data to the vector space further comprises:
calculating a term frequency-inverse document frequency (TFIDF) value for each word of the lemmatized merchant data;
ranking the calculated TFIDF values;
identifying a top pre-defined number of words with a highest rank; and
embedding the identified words to obtain the merchant vector.

### Claim 4 (depends on 2)

The method of claim 2, wherein embedding the merchant data to the vector space further comprisies:
calculating a term frequency-inverse document frequency (TFIDF) value for each word of the lemmatized merchant data;
identifying a pre-defined number of words with TFIDF values above a certain threshold; and
embedding the identified words to obtain the merchant vector.

### Claim 5 (depends on 1)

The method of claim 1, wherein embedding the merchant data to the vector space further comprises:
applying a word2vec model, the applying comprising:
creating a bag-of-words representing the merchant data, the bag-of-words including each word in the merchant data and an associated multiplicity of each word; and
converting each word in the merchant data into a vector based on the bag of words and not based on grammar and word order.

### Claim 6 (depends on 1)

The method of claim 1, wherein calculating the relation metric comprises calculating an inner product between the merchant vector and the vector of the plurality of other vectors.

### Claim 7 (depends on 6)

The method of claim 6, further comprising using a sigmoid function on the inner product to keep the relation metric between zero and one, wherein a one corresponds to a related pair of vectors and a zero corresponds to an unrelated pair of vectors.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
embedding related merchant descriptions to similar regions in a vector space; and
embedding unrelated business descriptions to different regions in a vector space.

### Claim 9 (depends on 1)

The method of claim 1, further comprising training a network to identify related merchant-vendor pairs by:
embedding, by a first encoder, a plurality of merchant descriptions to a vector space to obtain a plurality of merchant vectors, each merchant description corresponding to a vendor;
embedding, by a second encoder, each corresponding vendor to the vector space to obtain a plurality of vendor vectors;
calculating a relation metric for each description-vendor pair;
training a neural network with the description-vendor pairs and the corresponding relation metrics to predict whether a new vendor and a new merchant description are related;
training the first encoder to embed related merchant descriptions to similar regions in the vector space; and
training the second encoder to embed related vendors to the similar regions in the vector space.

### Claim 10 (depends on 9)

The method of claim 9, further comprising training the neural network, the first encoder, and the second encoder jointly in an end-to-end process, the process including:
receiving a plurality of description-vendor pairs and a plurality of relation metrics as labelled training data, each description-vendor pair including an associated relation metric and a label indicating whether the description-vendor pair is related; and
applying a back-propagation algorithm to train each of the neural network, the first encoder, and the second encoder based on the received description-vendor pairs and associated relation metrics.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
detecting stop words in the plurality of merchant descriptions from a pre-defined list of stop words;
removing the detected stop words from the plurality of merchant descriptions;
lemmatizing the plurality of merchant descriptions to obtain lemmatized merchant descriptions; and
embedding, by the first encoder, the lemmatized merchant descriptions to the vector space.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
calculating a term frequency-inverse document frequency (TFIDF) value for each word of each lemmatized merchant description;
ranking the calculated TFIDF values;
identifying a top pre-defined number of words with a highest rank; and
embedding, by the first encoder, the identified words to obtain the merchant vector.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
calculating a term frequency-inverse document frequency (TFIDF) value for each word of each lemmatized merchant description;
identifying a pre-defined number of words with TFIDF values above a certain threshold; and
embedding, by the first encoder, the identified words to obtain the merchant vector.

### Claim 14 (depends on 9)

The method of claim 9, wherein embedding, by the second encoder, each corresponding vendor to the vector space comprises:
embedding each word of each line item of an invoice to create a plurality of word vectors for each line item;
feeding the plurality of word vectors for each line item to a long short-term memory (LSTM) layer;
combining, via the LSTM layer, the plurality of word vectors to obtain a line item vector representing each invoice line item; and
combining, using a neural network, the plurality of line item vectors to obtain a vendor vector;
wherein combining includes at least one of vector addition, vector subtraction, scalar multiplication, sigmoid function multiplication, or hyperbolic function multiplication.

### Claim 15 (depends on 9)

The method of claim 9, wherein calculating the relation metric comprises calculating an inner product between a merchant vector and an associated vendor vector.

### Claim 16 (depends on 9)

The method of claim 9, further comprising using a sigmoid function on the inner product to keep the relation metric between zero and one, wherein a one corresponds to a related pair of vectors and a zero corresponds to an unrelated pair of vectors.

### Claim 17

A system for recommending business factors to a merchant, said system comprising:
a computing device configured to:
receive a request for recommended factors from a user device;
receive merchant data associated with a merchant from the user device, the merchant data comprising vendor data associated with the merchant;
embed the merchant data to a vector space to obtain a merchant vector, the vector space comprising a plurality of other vectors associated with other merchants;
calculate a relation metric between the merchant vector and a vector of the plurality of other vectors, the vector being associated with a second merchant, the relation metric representing a relation between the merchant and the second merchant;
analyze the relation metric with a neural network trained to determine whether the merchant vector and the vector of the plurality of other vectors are related; and
responsive to the determining, send merchant data associated with the second merchant to the user device, the merchant data associated with the second merchant comprising business factors data associated with the second business.

### Claim 18 (depends on 17)

The system of claim 17, wherein the computing device is further configured to apply a word2vec model by:
creating a bag-of-words representing the merchant data associated with the merchant, the bag-of-words including each word in the merchant data associated with the merchant and an associated multiplicity of each word; and
converting each word in the merchant data associated with the merchant into a vector based on the bag of words and not based on grammar and word order.

### Claim 19 (depends on 17)

The system of claim 17, wherein sending business factors associated with the second business to the user device comprises:
identifying a vendor associated with the second business;
anonym izing business factors to create anonym ized data;
removing stop words from the anonym ized data;
lemmatizing the anonym ized data to create lemmatized data; and
sending the lemmatized and anonym ized data to the user device.

### Claim 20

A computer-implemented method for recommending business factors to a merchant, said method comprising:
receiving a request for recommended business factors from a device;
receiving merchant data associated with a merchant from the device, the merchant data comprising vendor data associated with the merchant;
embedding the merchant data to a vector space to obtain a merchant vector by:
detecting stop words in the merchant data associated with the merchant from a pre-defined list of stop words,
removing the detected stop words from the merchant data associated with the merchant,
lemmatizing the merchant data associated with the merchant, and
embedding the lemmatized merchant data to the vector space;
the vector space comprising a plurality of other vectors associated with other merchants;
calculating a relation metric between the merchant vector and a vector of the plurality of other vectors, the vector being associated with a second merchant, the relation metric representing a degree of relation between the merchant and the second merchant;
determining that the relation metric is above a pre-defined threshold value; and
when it is determined that the relation metric is above the pre-defined threshold value, sending merchant data associated with the second merchant to the device, the merchant data associated with the second merchant comprising business factors associated with the second merchant.

### Claim 21 (depends on 20)

The method of claim 20, wherein embedding the merchant data to the vector space further comprises:
calculating a term frequency-inverse document frequency (TFIDF) value for each word of the lemmatized merchant data;
ranking the calculated TFIDF values;
identifying a top pre-defined number of words with a highest rank; and
embedding the identified words to obtain the merchant vector.

### Claim 22 (depends on 20)

The method of claim 20, wherein embedding the merchant data to the vector space further comprising:
calculating a term frequency-inverse document frequency (TFIDF) value for each word of the lemmatized merchant data;
identifying a pre-defined number of words with TFIDF values above a certain threshold; and
embedding the identified words to obtain the merchant vector.

### Claim 23 (depends on 20)

The method of claim 20, wherein embedding the merchant data to the vector space further comprises:
applying a word2vec model, the applying comprising:
creating a bag-of-words representing the merchant data, the bag-of-words including each word in the merchant data and an associated multiplicity of each word; and
converting each word in the merchant data into a vector based on the bag of words and not based on grammar and word order.

### Claim 24 (depends on 20)

The method of claim 20, wherein calculating the relation metric comprises calculating an inner product between the merchant vector and the vector of the plurality of other vectors.

### Claim 25 (depends on 24)

The method of claim 24, further comprising using a sigmoid function on the inner product to keep the relation metric between zero and one, wherein a one corresponds to a related pair of vectors and a zero corresponds to an unrelated pair of vectors.

### Claim 26 (depends on 25)

The method of claim 25, further comprising:
embedding related merchant descriptions to similar regions in a vector space; and
embedding unrelated business descriptions to different regions in a vector space.
