hottub.patents
US 12,229,780 B2#2236549 Most CitedActiveUnited States (USPTO)Utility

Embedding service for unstructured data

1Forward Citations (#2236549 Global)
1.0/yrCitation Velocity (#2236549 Global)
0.17Citation PageRank (#2236549 Global)
19Prior Art Cited
12Claims (3 Indep. · 9 Dep.)
10Drawings / Sheets

Abstract

A method may include generating a vector from unstructured data included in an untransformed transaction, and determining, for the vector, a cluster ID of cluster IDs by matching the vector with a matching cluster vector of cluster vectors. The method may further include generating a query using the cluster ID and the untransformed transaction, and transforming, using the cluster IDs, untransformed transactions to transformed transactions. The transformed transactions may each include a cluster ID. The method may further include generating, using the query, a query result from features of the transformed transactions, generating a fraud score using the query result, and presenting the fraud score and the cluster ID.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 1.

Claims (12 — 3 Independent, 9 Dependent)

  1. Claim 1Independent Claim

    A method for detecting fraud in a transaction record, comprising: receiving, from a software application, by an online fraud determination service, the transaction record, wherein the record comprises an untransformed transaction including a first unstructured data, wherein the online fraud determination service includes an embedding model, a cluster model, a query generator, a transaction transformer, and a fraud determination model; generating, by the embedding model corresponding to the first unstructured data, a first vector from the first unstructured data included in the untransformed transaction, wherein the embedding model is trained to generate vectors from the first unstructured data; receiving, by the cluster model, from the embedding model, the first vector corresponding to the first unstructured data; assigning, by the cluster model, for the first vector, a first cluster ID by matching the first vector with a first matching cluster vector, wherein the first cluster ID is based on a cluster of vectors within a threshold distance of a centroid of the cluster of vectors, the centroid represents an average of the vectors in that cluster, wherein the first cluster ID is one of a first set of cluster ID's in which each cluster ID in the first set is expressed in a fixed format comprising an integer or alphanumeric string, and the cluster model is trained to cluster vectors from the first unstructured data; generating, by a query generator, a first query using the first cluster ID and the untransformed transaction; generating, using the first query, a query result from a plurality of features of prior transactions stored in a feature store, wherein the features are generated from a plurality of prior transformed transactions, wherein each transformed transaction comprises one or more cluster IDs; transforming, by a transaction transformer, using a plurality of cluster IDs generated by the cluster model, wherein the transformed transactions are generated from a plurality of untransformed transactions by transforming them to a plurality of transformed transactions, wherein the plurality of transformed transactions each comprise a cluster ID, and wherein the plurality of untransformed transactions comprises the untransformed transaction, and wherein transforming each of the untransformed transactions comprises replacing the first unstructured data from the untransformed transaction with the first cluster ID, assigned to the first vector generated from the first unstructured data, in a transformed transaction of the plurality of transformed transactions; generating, by a feature generator, a plurality of features from the plurality of transformed transactions and storing, by the feature generator, the plurality of features in a database, wherein the plurality of features comprise cluster-derived features including cluster ID's expressed in the fixed format; applying the fraud determination model to the query result to generate a fraud score for the transformed transaction, wherein the fraud determination model has been trained on the cluster-derived features expressed in the fixed format and on other non-cluster derived features, wherein the fraud score is based on the query result and indicates a probability that the transformed transaction is fraudulent, and wherein the fraud determination model is trained on untransformed transactions and a combination of features derived from training transactions labeled as fraudulent or valid; presenting the fraud score and the first cluster ID to a user of the software application; and updating the cluster model to add or delete or modify the clusters to generate a second set of cluster ID's, wherein the second set of cluster ID's is expressed in the fixed format, whereby generating the second set of cluster ID's does not affect the input or output of the fraud determination model.

  2. Claim 2Depends on #1

    The method of claim 1, further comprising: deriving, from the plurality of transformed transactions and using a second query, a cluster-derived feature, wherein the second query comprises at least one cluster ID; and deriving, from the plurality of transformed transactions and using a third query, a raw feature, wherein the third query excludes the plurality of cluster IDs, wherein the plurality of features of the plurality of transformed transactions comprise the cluster-derived feature and the raw feature.

  3. Claim 3Depends on #1

    The method of claim 1, wherein the plurality of transactions comprise a plurality of unstructured data, and wherein transforming the plurality of untransformed transactions to the plurality of transformed transactions comprises: generating a plurality of vectors from the plurality of unstructured data of the plurality of untransformed transactions; assigning, for the plurality of vectors, a plurality of matching cluster IDs by matching the respective vectors with respective matching cluster vectors; and replacing the plurality of unstructured data of the plurality of untransformed transactions with the plurality of matching cluster IDs.

  4. Claim 4Depends on #1

    The method of claim 1, further comprising: generating a second vector from unstructured data included in another untransformed transaction; obtaining a subset of the plurality of untransformed transactions satisfying a filter criterion; generating a plurality of vectors from a plurality of unstructured data of the subset of the plurality of untransformed transactions; generating a plurality of similarity scores between the second vector and the plurality of vectors; generating another fraud score using the plurality of similarity scores; and determining, using the another fraud score, that the another transaction is fraudulent.

  5. Claim 5Depends on #1

    The method of claim 1, wherein a plurality of embedding models are trained to convert untransformed transactions in training data to vectors corresponding to a plurality of n-grams.

  6. Claim 6Independent Claim

    A server comprising: at least one processor, and an online fraud determination service executing on the server and configured for: receiving, from a software application, a transaction record, wherein the transaction record comprises an untransformed transaction including a first unstructured data, wherein the online fraud determination service includes an embedding model, a cluster model, a query generator, a transaction transformer, and a fraud determination model; generating, by the embedding model corresponding to the first unstructured data, a first vector from the first unstructured data included in the untransformed transaction, wherein the embedding model is trained to generate vectors from the first unstructured data; receiving, by the cluster model, from the embedding model, the first vector corresponding to the first unstructured data; assigning, by the cluster model corresponding to the first unstructured data, for the first vector, a first cluster ID by matching the first vector with a first matching cluster vector, wherein the first cluster ID is based on a cluster of vectors within a threshold distance of a centroid of the cluster of vectors, the centroid represents an average of the vectors in that cluster, wherein the first cluster ID is one of a first set of cluster ID's in which each cluster ID in the first set is expressed in a fixed format comprising an integer or alphanumeric string, and the cluster model is trained to cluster vectors from the first unstructured data generating, by a query generator, a first query using the first cluster ID and the untransformed transaction; generating, using the first query, a query result from a plurality of features of prior transactions stored in a feature store, wherein the features are generated from a plurality of prior transformed transactions, wherein each transformed transaction comprises one or more cluster IDs; transforming, by a transaction transformer executing on the at least one computing system, using a plurality of cluster IDs generated by the cluster model, wherein the transformed transactions are generated from a plurality of untransformed transactions by transforming them to a plurality of transformed transactions, wherein the plurality of transformed transactions each comprise a cluster ID, and wherein the plurality of untransformed transactions comprises the untransformed transaction, and wherein transforming each of the untransformed transactions comprises replacing the first unstructured data from the untransformed transaction with the first cluster ID, assigned to the first vector generated from the first unstructured data, in a transformed transaction of the plurality of transformed transactions; generating, by a feature generator, a plurality of features from the plurality of transformed transactions and storing, by the feature generator, the plurality of features in a database, wherein the plurality of features comprise cluster-derived features including cluster ID's expressed in the fixed format; applying the fraud determination model to the query result to generate a fraud score for the transformed transaction, wherein the fraud determination model has been trained on the cluster-derived features expressed in the fixed format and on other non-cluster derived features, wherein the fraud score is based on the query result and indicates a probability that the transformed transaction is fraudulent, and wherein the fraud determination model is trained on untransformed transactions and a combination of features derived from training transactions labeled as fraudulent or valid; presenting the fraud score and the first cluster ID to a user of the software application; and updating the cluster model to add or delete or modify the clusters to generate a second set of cluster ID's, wherein the second set of cluster ID's is expressed in the fixed format, whereby generating the second set of cluster ID's does not affect the input or output of the fraud determination model.

  7. Claim 7Depends on #6

    The server of claim 6, wherein the online fraud determination service is further configured for: deriving, from the plurality of transformed transactions and using a second query, a cluster-derived feature, wherein the second query comprises at least one cluster ID, and deriving, from the plurality of transformed transactions and using a third query, a raw feature, wherein the third query excludes the plurality of cluster IDs, wherein the plurality of features of the plurality of transformed transactions comprise the cluster-derived feature and the raw feature.

  8. Claim 8Depends on #6

    The server of claim 6, wherein the plurality of untransformed transactions comprise a plurality of unstructured data, and wherein transforming the plurality of untransformed transactions to the plurality of transformed transactions comprises: generating a plurality of vectors from the plurality of unstructured data; assigning, for the plurality of vectors, a plurality of matching cluster IDs by matching the respective vectors with respective matching cluster vectors; and replacing the plurality of unstructured data of the plurality of untransformed transactions with the plurality of matching cluster IDs.

  9. Claim 9Depends on #6

    The server of claim 6, wherein the online fraud determination service is further configured for: generating a second vector from unstructured data included in another untransformed transaction; obtaining a subset of the plurality of untransformed transactions satisfying a filter criterion; generating a plurality of vectors from a plurality of unstructured data of the subset of the plurality of untransformed transactions; generating a plurality of similarity scores between the second vector and the plurality of vectors; generating another fraud score using the plurality of similarity scores; and determining, using the another fraud score, that the another untransformed transaction is fraudulent.

  10. Claim 10Depends on #6

    The server of claim 6, wherein the plurality of embedding models are trained to convert untransformed transactions in training data to vectors corresponding to a plurality of n-grams.

  11. Claim 11Independent Claim

    A method comprising: sending an untransformed transaction including a first unstructured data to an online fraud determination service including a fraud determination model, an embedding model, a cluster model, a query generator, and a transaction transformer, wherein the online fraud determination service is configured to perform: generating, by the embedding model, a vector from the first unstructured data included in the untransformed transaction, wherein the embedding model is trained to generate vectors from the first unstructured data; receiving, by the cluster model, from the embedding model, the first vector corresponding to the first unstructured data; assigning, by the cluster model, for the vector, a cluster ID by matching the vector with a matching cluster vector, wherein the cluster model is trained to cluster vectors from the first unstructured data; generating, by the query generator, a first query using the cluster ID and the untransformed transaction, transforming, by the transaction transformer, using a plurality of cluster IDs generated by the cluster model, a plurality of untransformed transactions to a plurality of transformed transactions, wherein the plurality of transformed transactions each comprise a cluster ID, and wherein the plurality of untransformed transactions comprises the untransformed transaction, and wherein transforming each of the untransformed transactions comprises replacing the first unstructured data from the untransformed transaction with the corresponding cluster ID, assigned to the vector generated from the first unstructured data, in a transformed transaction of the plurality of transformed transactions; generating, using the first query, a query result from a plurality of features of prior transactions stored in a feature store, wherein the features are generated from a plurality of prior transformed transactions, wherein each transformed transaction comprises one or more cluster IDs; applying the fraud determination model to the query result to generate generating a fraud score using the query result, wherein the fraud determination model has been trained on the cluster-derived features expressed in the fixed format and on other non-cluster derived features and transmitting the fraud score; and receiving, from the online fraud determination service, the fraud score.

  12. Claim 12Depends on #11

    The method of claim 11, wherein the online fraud determination service is further configured to perform: deriving, from the plurality of transformed transactions and using a second query, a cluster-derived feature, wherein the second query comprises a cluster ID, and deriving, from the plurality of transformed transactions and using a third query, a raw feature, wherein the third query excludes the plurality of cluster IDs, wherein the plurality of features of the plurality of transformed transactions comprise the cluster-derived feature and the raw feature.

Technical Overview & Description

BACKGROUND Machine learning models that process unstructured data are typically tightly coupled with downstream models (e.g., a fraud detection model) that use the output of the machine learning models. Thus, changes in the machine learning model may require adjustments to the operation and/or training of downstream models. Decoupling the implementation of the machine learning model from the operation and/or training of downstream models represents an unsolved challenge. SUMMARY This summary is provided to introduce a selection of concepts that are further described below in the detailed description. This summary is not intended to identify key or essential features of the claimed subject matter, nor is it intended to be used as an aid in limiting the scope of the claimed subject matter. In general, in one aspect, one or more embodiments relate to a method including generating a vector from unstructured data included in an untransformed transaction, and assigning, for the vector, a cluster ID by matching the vector with a matching cluster vector. The method further includes generating a query using the cluster ID and the untransformed transaction, and transforming, using cluster IDs, untransformed transactions to transformed transactions. The transformed transactions each include a cluster ID. The method further includes generating, using the query, a query result from features of the transformed transactions, generating a fraud score using the query result, and presenting the fraud score and the cluster ID. In general, in one aspect, one or more embodiments relate to a server including embedding models, a cluster model, and an application executing on the server and configured for: generating a vector from unstructured data of an untransformed transaction, and assigning, for the vector, a cluster ID by matching the vector with a matching cluster vector. The application is further configured for generating a query using the cluster ID and the untransformed transacti

Cited By — Indexed Forward Citations (1 of 1 total)

Non-Patent Literature (10)

  • Camacho-Collados et al.,
  • “
  • From Word to Sense Embeddings: A Survey on Vector Representations of Meaning,
  • ”
  • Journal of Artificial Intelligence Research, 63 (2018), pp. 743-788. (Year: 2018).
  • Qureshi et al.,
  • “
  • EVE: explainable vector based embedding technique using Wikipedia,
  • ”
  • J Intell Info Sys, 2019 (Year: 2019).