# US 2021/0081705 A1 · Optimizing inference time of entity matching models

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

- Number: US 2021/0081705 A1
- Document ID: US20210081705A1
- Status: Published application
- Kind: A1
- Application number: 16/568,408
- Filed: 2019-09-12
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Auguste Byiringiro; Jiatai Qiang
- Web page: https://patentgrep.com/patent/US20210081705A1

## CPC

- G06N 3/08: Learning methods
- G06F 18/2113: by ranking or filtering the set of features, e.g. using a measure of variance or of feature cross-correlation
- G06F 18/2148: {characterised by the process organisation or structure, e.g. boosting cascade}
- G06F 18/22: Matching criteria, e.g. proximity measures
- 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/09: Supervised learning
- G06N 5/04: Inference or reasoning models
- G06N 20/20: Ensemble learning
- G06V 10/761: {Proximity, similarity or dissimilarity measures}
- G06V 10/771: Feature selection, e.g. selecting representative features from a multi-dimensional feature space
- G06V 10/7747: {Organisation of the process, e.g. bagging or boosting}
- G06V 30/19093: {Proximity measures, i.e. similarity or distance measures}
- G06V 30/1912: {Selecting the most significant subset of features (G06V30/19127 takes precedence)}
- G06V 30/19147: {Obtaining sets of training patterns; Bootstrap methods, e.g. bagging or boosting}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Methods, systems, and computer-readable storage media for receiving input data including a set of entities of a first type and a set of entities of a second type, providing a set of features based on entities of the first type, the set of features including features expected to be included in entities of the second type, filtering entities of the second type based on the set of features to provide a sub-set of entities of the second type, and generating an output by processing the set of entities of the first type and the sub-set of entities of the second type through a ML model, the output comprising a set of matching pairs, each matching pair in the set of matching pairs comprising an entity of the set of entities of the first type and at least one entity of the sub-set of entities of the second type.

## Claims

### Claim 1

A computer-implemented method for matching entities in a machine learning (ML)-based inference system, the method being executed by one or more processors and comprising:
receiving input data comprising a set of entities of a first type and a set of entities of a second type;
providing a set of features based on entities in the of entities of the first type, the set of features comprising one or more features expected to be included in entities in the set of entities of the second type;
filtering the set of entities of the second type based on the set of features to provide a sub-set of entities of the second type; and
generating an output by processing the set of entities of the first type and the sub-set of entities of the second type through a ML model, the output comprising a set of matching pairs, each matching pair in the set of matching pairs comprising an entity of the set of entities of the first type and at least one entity of the sub-set of entities of the second type.

### Claim 2 (depends on 1)

The method of claim 1, wherein providing the set of features based on entities in the of entities of the first type comprises identifying features expected to be included in entities of the set of entities of the second type by processing entities of the set of entities of the first type through a classifier.

### Claim 3 (depends on 2)

The method of claim 2, wherein the classifier comprises a ML algorithm that is trained based on correlations between one or more features of entities of the first type and one or more features of entities of the second type.

### Claim 4 (depends on 3)

The method of claim 3, wherein correlations are provided by one or more of domain knowledge and statistical analysis.

### Claim 5 (depends on 1)

The method of claim 1, wherein the one or more features comprise categorical features.

### Claim 6 (depends on 1)

The method of claim 1, wherein filtering the set of entities of the second type based on the set of features to provide a sub-set of entities of the second type comprises, for each entity in the set of entities of the second type, determining whether the entity includes at least one feature of the set of features, and removing the entity from the set of entities of the second type, if the entity is absent a feature of the set of features.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first type comprises bank statements and the second type comprises invoices.

### Claim 8

A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations for matching entities in a machine learning (ML)-based inference system, the operations comprising:
receiving input data comprising a set of entities of a first type and a set of entities of a second type;
providing a set of features based on entities in the of entities of the first type, the set of features comprising one or more features expected to be included in entities in the set of entities of the second type;
filtering the set of entities of the second type based on the set of features to provide a sub-set of entities of the second type; and
generating an output by processing the set of entities of the first type and the sub-set of entities of the second type through a ML model, the output comprising a set of matching pairs, each matching pair in the set of matching pairs comprising an entity of the set of entities of the first type and at least one entity of the sub-set of entities of the second type.

### Claim 9 (depends on 8)

The computer-readable storage medium of claim 8, wherein providing the set of features based on entities in the of entities of the first type comprises identifying features expected to be included in entities of the set of entities of the second type by processing entities of the set of entities of the first type through a classifier.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, wherein the classifier comprises a ML algorithm that is trained based on correlations between one or more features of entities of the first type and one or more features of entities of the second type.

### Claim 11 (depends on 10)

The computer-readable storage medium of claim 10, wherein correlations are provided by one or more of domain knowledge and statistical analysis.

### Claim 12 (depends on 8)

The computer-readable storage medium of claim 8, wherein the one or more features comprise categorical features.

### Claim 13 (depends on 8)

The computer-readable storage medium of claim 8, wherein filtering the set of entities of the second type based on the set of features to provide a sub-set of entities of the second type comprises, for each entity in the set of entities of the second type, determining whether the entity includes at least one feature of the set of features, and removing the entity from the set of entities of the second type, if the entity is absent a feature of the set of features.

### Claim 14 (depends on 8)

The computer-readable storage medium of claim 8, wherein the first type comprises bank statements and the second type comprises invoices.

### Claim 15

A system, comprising:
a computing device; and
a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations for matching entities in a machine learning (ML)-based inference system, the operations comprising:
receiving input data comprising a set of entities of a first type and a set of entities of a second type;
providing a set of features based on entities in the of entities of the first type, the set of features comprising one or more features expected to be included in entities in the set of entities of the second type;
filtering the set of entities of the second type based on the set of features to provide a sub-set of entities of the second type; and
generating an output by processing the set of entities of the first type and the sub-set of entities of the second type through a ML model, the output comprising a set of matching pairs, each matching pair in the set of matching pairs comprising an entity of the set of entities of the first type and at least one entity of the sub-set of entities of the second type.

### Claim 16 (depends on 15)

The system of claim 15, wherein providing the set of features based on entities in the of entities of the first type comprises identifying features expected to be included in entities of the set of entities of the second type by processing entities of the set of entities of the first type through a classifier.

### Claim 17 (depends on 16)

The system of claim 16, wherein the classifier comprises a ML algorithm that is trained based on correlations between one or more features of entities of the first type and one or more features of entities of the second type.

### Claim 18 (depends on 17)

The system of claim 17, wherein correlations are provided by one or more of domain knowledge and statistical analysis.

### Claim 19 (depends on 15)

The system of claim 15 wherein the one or more features comprise categorical features.

### Claim 20 (depends on 15)

The system of claim 15, wherein filtering the set of entities of the second type based on the set of features to provide a sub-set of entities of the second type comprises, for each entity in the set of entities of the second type, determining whether the entity includes at least one feature of the set of features, and removing the entity from the set of entities of the second type, if the entity is absent a feature of the set of features.
