# US 2023/0057414 A1 · Machine learning techniques for generating string-based database mapping prediction

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

- Number: US 2023/0057414 A1
- Document ID: US20230057414A1
- Status: Published application
- Kind: A1
- Application number: 17/816,189
- Filed: 2022-07-29
- Published: 2023-02-23
- Earliest claimed: 2021-08-20
- Assignees: Optum Services (Ireland) Limited
- Applicants: Optum Services (Ireland) Limited
- Inventors: Kevin Larkin; Nancy N. Flores; Conor M. McDermott; Colum Foley
- Web page: https://patentgrep.com/patent/US20230057414A1

## CPC

- G06F 16/25: Integrating or interfacing systems involving database management systems
- G06F 16/90344: {by using string matching techniques}
- G06F 16/2468: {Fuzzy queries}
- G06N 5/025: Extracting rules from data
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 7/02: using fuzzy logic (computing arrangements based on biological models G06N3/00; computing arrangements using knowledge-based models G06N5/00)
- G06N 7/023: {Learning or tuning the parameters of a fuzzy system}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Various embodiments of the present invention provide methods, apparatus, systems, computing devices, computing entities, and/or the like for performing predictive mapping operations with respect to a ground-truth database table. Certain embodiments of the present invention utilize systems, methods, and computer program products that perform predictive mapping operations utilizing a hierarchical string matching machine learning framework using at least one or more of an exact match model, a probabilistic match model, a disjoint match model, and an embedding-based match model.

## Claims

### Claim 1

A computer-implemented method for generating a database mapping prediction for an input string with respect to a ground-truth database table comprising a group of ground-truth database table rows associated with a group of row-wise strings, the computer-implemented method comprising:
generating, using one or more processors and a hierarchical string matching machine learning framework, and based at least in part on the input string, the database mapping prediction, wherein:
the hierarchical string matching machine learning framework comprises a group of table-independent match models and a plurality of table-dependent match models,
the group of table-independent match models comprise a plurality of exact match models and a plurality of probabilistic match models,
the plurality of table-dependent match models comprises a disjoint match model and an embedding-based match model,
each table-independent match model is associated with a respective mapping label of a plurality of defined mapping labels,
each exact match model is configured to: (i) retrieve an exact match rules file associated with the exact match model that describes one or more exact target strings for the exact match model, (ii) determine whether the input string exactly matches one of the one or more exact target strings, and (iii) in response to determining that the input string exactly matches one of the one or more exact target strings: (a) generating a selected mapping label for the input string based at least in part on the respective mapping label for the exact match model, and (b) generating an affirmative exact match determination,
each probabilistic match model is configured to, in response to determining that each exact match model is associated with a negative exact match determination: (i) retrieve a probabilistic match rules file associated with the probabilistic match model that describes: (a) one or more probabilistic target strings for the probabilistic match model, and (b) an optimized probabilistic match threshold for the probabilistic match model, (ii) for each probabilistic target string, generating a respective pairwise fuzzy match score with respect to the input string, (iii) determining whether at least one respective pairwise fuzzy match score satisfies the optimized probabilistic match threshold for the probabilistic match model, and (iv) in response to determining that at least one respective pairwise fuzzy match score satisfies the optimized probabilistic match threshold for the probabilistic match model: (a) generating the selected mapping label for the input string based at least in part on the respective mapping label for the probabilistic match model, and (b) generating an affirmative probabilistic match determination,
the disjoint match model is configured to, in response to determining that each probabilistic match model is associated with a negative probabilistic match determination: (i) determining whether the token count of the input string satisfies a token count threshold, and (ii) in response to determining that the token count of the input string satisfies the token count threshold, performing a required number of row-wise token match determination iterations until an earlier-satisfied condition of: (a) reaching a qualifying row-wise token match determination iteration that is associated with a qualifying row-wise string whose qualifying token match score with respect to the input string satisfies a qualifying token match score threshold, or (b) reaching a final row-wise token match determination iteration that is associated with a final row-wise string of the group of row-wise strings, wherein: (i) each ith row-wise token match determination iteration is associated with an ith row-wise string of the group of row-wise strings that is selected in accordance with a row order for the group of ground-truth database table rows, and (ii) in response to reaching the qualifying row-wise token match determination iteration, the selected mapping label for the input string is generated based at least in part on a row-wise mapping label for the qualifying row-wise string and an affirmative disjoint match determination is generated,
the embedding-based match model is configured to, in response to determining that the disjoint match model is associated with a negative disjoint match determination: (i) generate, based at least in part on an input string embedding vector for the input string and a group of row-wise string embedding vectors for the group of row-wise strings, a defined-size subset of highest-likelihood matched row-wise strings in the group of row-wise strings, (ii) for each row-wise string in the defined-size subset, generating a corresponding pairwise fuzzy match score with respect to the input string, and (iii) in response to determining that at least one corresponding pairwise fuzzy match score satisfies a pairwise fuzzy match score threshold: (a) generating the selected mapping label for the input string based at least in part on the row-wise mapping label for the row-wise string in the defined-size subset that is associated with a highest corresponding pairwise fuzzy match, and (b) generating an affirmative embedding-based match determination, and
the database mapping prediction is generated based at least in part on at least one of the selected mapping label for the input string or a negative embedding-based match determination; and
performing, using the one or more processors, one or more prediction-based actions based at least in part on the database mapping prediction.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein:
the plurality of exact match models are associated with an exact match model order, and
each non-initial ith exact match model in the exact match model order is activated in response to determining that an (i−1)th exact match model in the exact match model order is activated and associated with the negative exact match determination.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein:
the plurality of probabilistic match models are associated with a probabilistic match model order,
an initial probabilistic match model in the probabilistic match model order is activated in response to determining that each exact match model is associated with the negative exact match determination, and
each non-initial ith probabilistic match in the probabilistic match model order is activated in response to determining that an (i−1)th probabilistic match model in the probabilistic match model order is activated and associated with the negative probabilistic match determination.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein:
the plurality of defined mapping labels comprises one or more redirecting mapping labels, and
performing the one or more prediction-based actions comprises:
in response to determining that the selected mapping label is a redirecting mapping label, performing one or more application programming interface (API) call operations with respect to an API of the redirecting mapping label.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein generating the optimized probabilistic match threshold for a particular probabilistic match model comprises:
identifying, using the one or more processors, a user-selected selection success ratio hyper-parameter for the respective mapping label that is associated with the particular probabilistic match model;
detecting, using the one or more processors, based at least in part on experimentation data associated with the particular probabilistic match model, a lowest qualifying probabilistic match threshold that satisfies a selection outcome defined by the user-selected selection success ratio hyper-parameter; and
generating, using the one or more processors, the optimized probabilistic match threshold based at least in part on the lowest qualifying probabilistic match threshold.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein generating an optimal preselection size of the defined-size subset of the group of row-wise strings comprises:
for each candidate preselection size of a plurality of candidate preselection sizes, generating an experimental accuracy ratio based at least in part on a ratio of candidate defined-size subsets generated in accordance with the candidate preselection size and based at least in part on experimentation data that comprise ground-truth row-wise strings associated with the experimentation data, and
generating the optimal preselection size based at least in part on each experimental accuracy ratio.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein generating the optimal preselection size based at least in part on each experimental accuracy ratio comprises:
generating, using the one or more processors, the optimal preselection size based at least in part on a lowest candidate preselection size whose experimental accuracy ratio satisfies an experimental accuracy ratio threshold.

### Claim 8

An apparatus for generating a database mapping prediction for an input string with respect to a ground-truth database table comprising a group of ground-truth database table rows associated with a group of row-wise strings, the apparatus comprising at least one processor and at least one memory including program code, the at least one memory and the program code configured to, with the processor, cause the apparatus to at least:
generate, using a hierarchical string matching machine learning framework, and based at least in part on the input string, the database mapping prediction, wherein:
the hierarchical string matching machine learning framework comprises a group of table-independent match models and a plurality of table-dependent match models,
the group of table-independent match models comprise a plurality of exact match models and a plurality of probabilistic match models,
the plurality of table-dependent match models comprises a disjoint match model and an embedding-based match model,
each table-independent match model is associated with a respective mapping label of a plurality of defined mapping labels,
each exact match model is configured to: (i) retrieve an exact match rules file associated with the exact match model that describes one or more exact target strings for the exact match model, (ii) determine whether the input string exactly matches one of the one or more exact target strings, and (iii) in response to determining that the input string exactly matches one of the one or more exact target strings: (a) generating a selected mapping label for the input string based at least in part on the respective mapping label for the exact match model, and (b) generating an affirmative exact match determination,
each probabilistic match model is configured to, in response to determining that each exact match model is associated with a negative exact match determination: (i) retrieve a probabilistic match rules file associated with the probabilistic match model that describes: (a) one or more probabilistic target strings for the probabilistic match model, and (b) an optimized probabilistic match threshold for the probabilistic match model, (ii) for each probabilistic target string, generating a respective pairwise fuzzy match score with respect to the input string, (iii) determining whether at least one respective pairwise fuzzy match score satisfies the optimized probabilistic match threshold for the probabilistic match model, and (iv) in response to determining that at least one respective pairwise fuzzy match score satisfies the optimized probabilistic match threshold for the probabilistic match model: (a) generating the selected mapping label for the input string based at least in part on the respective mapping label for the probabilistic match model, and (b) generating an affirmative probabilistic match determination,
the disjoint match model is configured to, in response to determining that each probabilistic match model is associated with a negative probabilistic match determination: (i) determining whether the token count of the input string satisfies a token count threshold, and (ii) in response to determining that the token count of the input string satisfies the token count threshold, performing a required number of row-wise token match determination iterations until an earlier-satisfied condition of: (a) reaching a qualifying row-wise token match determination iteration that is associated with a qualifying row-wise string whose qualifying token match score with respect to the input string satisfies a qualifying token match score threshold, or (b) reaching a final row-wise token match determination iteration that is associated with a final row-wise string of the group of row-wise strings, wherein: (i) each ith row-wise token match determination iteration is associated with an ith row-wise string of the group of row-wise strings that is selected in accordance with a row order for the group of ground-truth database table rows, and (ii) in response to reaching the qualifying row-wise token match determination iteration, the selected mapping label for the input string is generated based at least in part on a row-wise mapping label for the qualifying row-wise string and an affirmative disjoint match determination is generated,
the embedding-based match model is configured to, in response to determining that the disjoint match model is associated with a negative disjoint match determination: (i) generate, based at least in part on an input string embedding vector for the input string and a group of row-wise string embedding vectors for the group of row-wise strings, a defined-size subset of highest-likelihood matched row-wise strings in the group of row-wise strings, (ii) for each row-wise string in the defined-size subset, generating a corresponding pairwise fuzzy match score with respect to the input string, and (iii) in response to determining that at least one corresponding pairwise fuzzy match score satisfies a pairwise fuzzy match score threshold: (a) generating the selected mapping label for the input string based at least in part on the row-wise mapping label for the row-wise string in the defined-size subset that is associated with a highest corresponding pairwise fuzzy match, and (b) generating an affirmative embedding-based match determination, and
the database mapping prediction is generated based at least in part on at least one of the selected mapping labels for the input string or a negative embedding-based match determination; and
perform one or more prediction-based actions based at least in part on the database mapping prediction.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein:
the plurality of exact match models are associated with an exact match model order, and
each non-initial ith exact match model in the exact match model order is activated in response to determining that an (i−1)th exact match model in the exact match model order is activated and associated with the negative exact match determination.

### Claim 10 (depends on 8)

The apparatus of claim 8, wherein:
the plurality of probabilistic match models are associated with a probabilistic match model order,
an initial probabilistic match model in the probabilistic match model order is activated in response to determining that each exact match model is associated with the negative exact match determination, and
each non-initial ith probabilistic match in the probabilistic match model order is activated in response to determining that an (i−1)th probabilistic match model in the probabilistic match model order is activated and associated with the negative probabilistic match determination.

### Claim 11 (depends on 8)

The apparatus of claim 8, wherein:
the plurality of defined mapping labels comprises one or more redirecting mapping labels, and
performing the one or more prediction-based actions comprises:
in response to determining that the selected mapping label is a redirecting mapping label, performing one or more application programming interface (API) call operations with respect to an API of the redirecting mapping label.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein generating the optimized probabilistic match threshold for a particular probabilistic match model comprises:
identifying a user-selected selection success ratio hyper-parameter for the respective mapping label that is associated with the particular probabilistic match model;
detecting, based at least in part on experimentation data associated with the particular probabilistic match model, a lowest qualifying probabilistic match threshold that satisfies a selection outcome defined by the user-selected selection success ratio hyper-parameter; and
generating the optimized probabilistic match threshold based at least in part on the lowest qualifying probabilistic match threshold.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein generating an optimal preselection size of the defined-size subset of the group of row-wise strings comprises:
for each candidate preselection size of a plurality of candidate preselection sizes, generating an experimental accuracy ratio based at least in part on a ratio of candidate defined-size subsets generated in accordance with the candidate preselection size and based at least in part on experimentation data that comprise ground-truth row-wise strings associated with the experimentation data, and
generating the optimal preselection size based at least in part on each experimental accuracy ratio.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein generating the optimal preselection size based at least in part on each experimental accuracy ratio comprises:
generating the optimal preselection size based at least in part on a lowest candidate preselection size whose experimental accuracy ratio satisfies an experimental accuracy ratio threshold.

### Claim 15

A computer program product for generating a database mapping prediction for an input string with respect to a ground-truth database table comprising a group of ground-truth database table rows associated with a group of row-wise strings, the computer program product comprising at least one non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions configured to:
generate, using a hierarchical string matching machine learning framework, and based at least in part on the input string, the database mapping prediction, wherein:
the hierarchical string matching machine learning framework comprises a group of table-independent match models and a plurality of table-dependent match models,
the group of table-independent match models comprise a plurality of exact match models and a plurality of probabilistic match models,
the plurality of table-dependent match models comprises a disjoint match model and an embedding-based match model,
each table-independent match model is associated with a respective mapping label of a plurality of defined mapping labels,
each exact match model is configured to: (i) retrieve an exact match rules file associated with the exact match model that describes one or more exact target strings for the exact match model, (ii) determine whether the input string exactly matches one of the one or more exact target strings, and (iii) in response to determining that the input string exactly matches one of the one or more exact target strings: (a) generating a selected mapping label for the input string based at least in part on the respective mapping label for the exact match model, and (b) generating an affirmative exact match determination,
each probabilistic match model is configured to, in response to determining that each exact match model is associated with a negative exact match determination: (i) retrieve a probabilistic match rules file associated with the probabilistic match model that describes: (a) one or more probabilistic target strings for the probabilistic match model, and (b) an optimized probabilistic match threshold for the probabilistic match model, (ii) for each probabilistic target string, generating a respective pairwise fuzzy match score with respect to the input string, (iii) determining whether at least one respective pairwise fuzzy match score satisfies the optimized probabilistic match threshold for the probabilistic match model, and (iv) in response to determining that at least one respective pairwise fuzzy match score satisfies the optimized probabilistic match threshold for the probabilistic match model: (a) generating the selected mapping label for the input string based at least in part on the respective mapping label for the probabilistic match model, and (b) generating an affirmative probabilistic match determination,
the disjoint match model is configured to, in response to determining that each probabilistic match model is associated with a negative probabilistic match determination: (i) determining whether the token count of the input string satisfies a token count threshold, and (ii) in response to determining that the token count of the input string satisfies the token count threshold, performing a required number of row-wise token match determination iterations until an earlier-satisfied condition of: (a) reaching a qualifying row-wise token match determination iteration that is associated with a qualifying row-wise string whose qualifying token match score with respect to the input string satisfies a qualifying token match score threshold, or (b) reaching a final row-wise token match determination iteration that is associated with a final row-wise string of the group of row-wise strings, wherein: (i) each ith row-wise token match determination iteration is associated with an ith row-wise string of the group of row-wise strings that is selected in accordance with a row order for the group of ground-truth database table rows, and (ii) in response to reaching the qualifying row-wise token match determination iteration, the selected mapping label for the input string is generated based at least in part on a row-wise mapping label for the qualifying row-wise string and an affirmative disjoint match determination is generated,
the embedding-based match model is configured to, in response to determining that the disjoint match model is associated with a negative disjoint match determination: (i) generate, based at least in part on an input string embedding vector for the input string and a group of row-wise string embedding vectors for the group of row-wise strings, a defined-size subset of highest-likelihood matched row-wise strings in the group of row-wise strings, (ii) for each row-wise string in the defined-size subset, generating a corresponding pairwise fuzzy match score with respect to the input string, and (iii) in response to determining that at least one corresponding pairwise fuzzy match score satisfies a pairwise fuzzy match score threshold: (a) generating the selected mapping label for the input string based at least in part on the row-wise mapping label for the row-wise string in the defined-size subset that is associated with a highest corresponding pairwise fuzzy match, and (b) generating an affirmative embedding-based match determination, and
the database mapping prediction is generated based at least in part on at least one of the selected mapping label for the input string or a negative embedding-based match determination; and
perform one or more prediction-based actions based at least in part on the database mapping prediction.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein:
the plurality of exact match models are associated with an exact match model order, and
each non-initial ith exact match model in the exact match model order is activated in response to determining that an (i−1)th exact match model in the exact match model order is activated and associated with the negative exact match determination.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein:
the plurality of probabilistic match models are associated with a probabilistic match model order,
an initial probabilistic match model in the probabilistic match model order is activated in response to determining that each exact match model is associated with the negative exact match determination, and
each non-initial ith probabilistic match in the probabilistic match model order is activated in response to determining that an (i−1)th probabilistic match model in the probabilistic match model order is activated and associated with the negative probabilistic match determination.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein:
the plurality of defined mapping labels comprises one or more redirecting mapping labels, and
performing the one or more prediction-based actions comprises:
in response to determining that the selected mapping label is a redirecting mapping label, performing one or more application programming interface (API) call operations with respect to an API of the redirecting mapping label.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein generating the optimized probabilistic match threshold for a particular probabilistic match model comprises:
identifying a user-selected selection success ratio hyper-parameter for the respective mapping label that is associated with the particular probabilistic match model;
detecting, based at least in part on experimentation data associated with the particular probabilistic match model, a lowest qualifying probabilistic match threshold that satisfies a selection outcome defined by the user-selected selection success ratio hyper-parameter; and
generating the optimized probabilistic match threshold based at least in part on the lowest qualifying probabilistic match threshold.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein generating an optimal preselection size of the defined-size subset of the group of row-wise strings comprises:
for each candidate preselection size of a plurality of candidate preselection sizes, generating an experimental accuracy ratio based at least in part on a ratio of candidate defined-size subsets generated in accordance with the candidate preselection size and based at least in part on experimentation data that comprise ground-truth row-wise strings associated with the experimentation data, and
generating the optimal preselection size based at least in part on each experimental accuracy ratio.
