# US 2020/0349573 A1 · Detecting fraud using machine-learning

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

- Number: US 2020/0349573 A1
- Document ID: US20200349573A1
- Status: Published application
- Kind: A1
- Application number: 16/399,008
- Filed: 2019-04-30
- Published: 2020-11-05
- Earliest claimed: 2019-04-30
- Assignees: Paypal, Inc.
- Applicants: PayPal, Inc.
- Inventors: Yanfei Dong
- Web page: https://patentgrep.com/patent/US20200349573A1

## CPC

- G06N 5/022: Knowledge engineering; Knowledge acquisition
- G06Q 20/4016: {involving fraud or risk level assessment in transaction processing}
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 20/00: Machine learning
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- G06Q 20/401: {Transaction verification}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- 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

## Abstract

A fraud detection model is used by a computer system to evaluate whether to grant a request to access a secure electronic resource. The fraud detection model is generated by the computer using a plurality of previously received requests. Each request is associated with a sender account of the computer system and a recipient account to which the computer system previously sent a message containing a link to the secure electronic resource.

## Claims

### Claim 1

A method comprising:
sending, from a computer system to a first recipient account, a first message containing a first link to a first electronic resource of a plurality of electronic resources, wherein the first electronic resource is associated with a first sender account of the computer system;
receiving, at a computer system, a request to access the first electronic resource via the first link; and
before granting the request to access the first electronic resource, evaluating the request to access the first electronic resource using a fraud detection model generated by:
receiving a plurality of previous requests, wherein each of the plurality of previous requests (a) is a request to access one of the plurality of electronic resources and (b) is associated with a respective sender account of the computer system and a respective recipient account,
for each of plurality of previous requests, sequentially generating, for the fraud detection model, embedding values corresponding to both the sender account and the recipient account associated with that previous request, wherein each embedding value represents a particular sender account or a particular recipient account using a reduced number of dimensions relative to the number of dimensions in which the corresponding previous request was captured, and
training the fraud detection model using indications that ones of the plurality of requests were fraudulent.

### Claim 2 (depends on 1)

The method of claim 1,
wherein evaluating the request to access the first electronic resource using the fraud detection model includes:
generating a first embedding value for the first recipient account based on the request to access the first electronic resource and one or more embedding values generated using the plurality of previous requests; and
generating a prediction score for the first recipient account using the first embedding value;
the method further comprising:
determining whether to accept the request to access the first electronic resource using the prediction score.

### Claim 3 (depends on 1)

The method of claim 1,
wherein, prior to receiving the request to access the first electronic resource, the fraud detection model includes a previous embedding value for the first recipient account;
wherein evaluating the request to access the first electronic resource using the fraud detection model includes:
generating an updated embedding value for the first recipient account based on the request to access the first electronic resource and the previous embedding value for the first recipient account.

### Claim 4 (depends on 1)

The method of claim 1,
wherein, prior to receiving the request to access the first electronic resource, the fraud detection model includes a previous embedding value for the first sender account;
wherein evaluating the request to access the first electronic resource using the fraud detection model includes:
generating an updated embedding value for the first sender account based on the request to access the first electronic resource and the previous embedding value for the first sender account; and
generating an embedding value for the first recipient account based on the request to access the first electronic resource and the updated embedding value for the first sender account.

### Claim 5 (depends on 1)

The method of claim 1,
wherein the fraud detection model is a multi-partite graph; and
wherein the fraud detection model is generated by:
for each particular one of the plurality of previous requests:
representing the particular sender account associated with the particular previous request as a first node of the multi-partite graph, wherein the embedding value for the particular sender account is associated with the first node,
representing the particular recipient account associated with the particular previous request as a second node of the multi-partite graph, wherein the embedding value for the particular recipient account is associated with the second node, and
representing the particular previous request as an edge between the first node and the second node.

### Claim 6 (depends on 5)

The method of claim 5,
wherein, prior to receiving the request to access the first electronic resource, the fraud detection model includes nodes for the first recipient account and first sender account connected by one or more edges; and
wherein evaluating the request to access the first electronic resource using the fraud detection model includes:
representing the request to access the first electronic resource as an additional edge between the first node and the second node.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first electronic resource is a financial instrument purchased using the first sender account.

### Claim 8 (depends on 1)

The method of claim 1,
wherein evaluating the request to access the first electronic resource using the fraud detection model includes automatically adjusting the fraud detection model based on the request to access the first electronic resource;
the method further comprising:
receiving an additional request to access a second electronic resource; and
before granting the additional request to access the second electronic resource, evaluating the additional request using the fraud detection model, wherein evaluating the additional request to using the fraud detection model includes automatically adjusting the fraud detection model based on the additional request.

### Claim 9 (depends on 1)

The method of claim 1, wherein the fraud detection model includes a black list of recipient accounts, the method further comprising:
based on determining that the first recipient account is on the black list, rejecting the request to access the first electronic resource.

### Claim 10

A method for generating a fraud detection model, the method comprising:
receiving, at a computer system, a plurality of requests to access respective electronic resources, wherein each of the plurality of requests is associated with a respective sender account of the computer system and a respective recipient account;
initializing, with the computer system, embedding values for the respective sender accounts and respective recipient accounts within the fraud detection model; and
incorporating, with the computer system, each of the plurality of requests into the fraud detection model by:
generating an updated embedding value for the sender account associated with the request based on (a) the request and (b) a previous embedding value for the sender account associated with the request; and
generating an updated embedding value for the recipient account associated with the request based on (a) the request, (b) the updated embedding value of the sender account associated with the request, and (c) a previous embedding value of the recipient account associated with the request.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
receiving, at the computer system, indications that ones of the plurality of requests were fraudulent; and
training the fraud detection model using the indications that ones of the plurality of requests were fraudulent.

### Claim 12 (depends on 10)

The method of claim 10, wherein the plurality of requests is received over a period of time and the plurality of requests are incorporated into the fraud detection model in the order in which they were received.

### Claim 13 (depends on 10)

The method of claim 10,
wherein the fraud detection model is a multi-partite graph; and
wherein incorporating each of the plurality of requests into the fraud detection model includes:
representing the sender account associated with the request as a first node of the multi-partite graph, wherein the updated embedding value for the sender account is associated with the first node,
representing the recipient account associated with the request as a second node of the multi-partite graph, wherein the updated embedding value for the recipient account is associated with the second node, and
representing the request as an edge between the first node and the second node.

### Claim 14 (depends on 13)

The method of claim 13,
wherein the plurality of requests includes a first request associated with a particular sender account and a particular recipient account and a second request associated with the particular sender account and the particular recipient account; and
wherein the first request and second request are represented as separate edges between the node associated with the particular sender account and the node associated with the particular recipient account.

### Claim 15 (depends on 10)

The method of claim 10, wherein each embedding value represents a particular sender account or a particular recipient account within the model using a reduced number of dimensions relative to the number of dimensions in which the requests are captured.

### Claim 16

A method comprising:
modeling, with a computer system in a fraud detection model, a plurality of sender accounts, a plurality of recipient accounts, and a plurality of requests to access a plurality of secure electronic resources, wherein:
the modeling includes calculating an embedding value for each of the plurality of sender accounts and an embedding value for each of the plurality of recipient accounts, and
each of the plurality of requests is associated with a given sender account and a given recipient account;
receiving, at the computer system, a first additional request to access a first secure electronic resource associated with a first sender account and a first recipient account; and
adding, with the computer system, the first additional request to the fraud detection model including calculating an updated embedding value for the first sender account within the model and calculating an updated embedding value of the first recipient account within the model.

### Claim 17 (depends on 16)

The method of claim 16,
wherein the fraud detection model is a multi-partite graph in which each of the plurality of sender accounts is represented as a respective first node, each of the plurality of recipient accounts is represented as a respective second node, and each of the plurality of requests is represented as respective edges between nodes associated with the request.

### Claim 18 (depends on 17)

The method of claim 17,
wherein, prior to receiving the first additional request, the fraud detection model includes particular nodes associated with the first sender account and the first recipient account that are connected by an edge; and
wherein adding the first additional request to the model includes representing the first additional request as an additional edge between the particular nodes.

### Claim 19 (depends on 16)

The method of claim 16,
wherein, prior to receiving the first additional request, the fraud detection model does not include a model for the first recipient account; and
wherein adding the first additional request to the model includes, generating an initialized embedding value for the first recipient account and using the initialized embedding value to calculate the updated embedding value of the first recipient account within the model.

### Claim 20 (depends on 16)

The method of claim 16,
wherein the modeling includes for each of the plurality of requests:
calculating an updated embedding value for the sender account associated with the request using (a) information derived from the request and (b) a previous embedding value for the sender account associated with the request, and
calculating an embedding value for the recipient account associated with the request using (a) information derived from the request, (b) the updated embedding value for the sender account, and (c) a previous embedding value for the recipient account associated with the request.
