Patents
US 12,608,352 B2#155952468 Most CitedActiveUnited States (USPTO)Utility

Injecting synthetic anomalies into data for benchmarking data quality monitoring algorithms

0Forward Citations (#155952468 Global)
0.0/yrCitation Velocity (#155952468 Global)
0.00Citation PageRank (#155952468 Global)
11Prior Art Cited
24Claims (3 Indep. · 21 Dep.)
19Drawings / Sheets

Abstract

In a general aspect, injecting synthetic anomalies into data is described. In some embodiments, a system identifies a base data set stored in a remote database system and a set of synthetic anomaly injection operations to apply to portions of the base data set. The system submits a set of instructions that are configured to cause the remote database system to perform operations including: creating one or more entries in a lookup table and rerouting received queries attempting to access the one or more portions of the base data set to instead access modified base data while the one or more entries are active. The system causes the remote database system to inactivate the one or more entries in the lookup table such that the remote database system ceases rerouting received queries.

Interactive Citation Constellation Global Citation Ranking

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

Claims (24 — 3 Independent, 21 Dependent)

  1. Claim 1Independent Claim

    A method performed by a computing system, the method comprising: identifying a base data set stored in a first location of a remote database system, the base data set including one or more sets of structured data; identifying a set of synthetic anomaly injection operations to apply to one or more portions of the base data set; submitting a set of instructions to the remote database system, wherein the set of instructions are configured to cause the remote database system to perform operations including: creating one or more entries in a lookup table, wherein the one or more entries represent the one or more portions of the base data set that are subject to the set of synthetic anomaly injection operations; determining that the one or more entries are active; and while the one or more entries are active, rerouting received queries attempting to access the one or more portions of the base data set to instead access modified base data, wherein the modified base data includes data resulting from applying the set of synthetic anomaly injection operations to the one or more portions of the base data set; and causing the remote database system to inactivate the one or more entries in the lookup table, wherein while the one or more entries are inactive, the remote database system ceases rerouting the received queries attempting to access the one or more portions of the base data set to instead access the modified base data.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the one or more entries identify the one or more portions of the base data set that are subject to the set of synthetic anomaly injection operations.

  3. Claim 3Depends on #1

    The method of claim 1, wherein the one or more entries indicate a storage location of the modified base data.

  4. Claim 4Depends on #1

    The method of claim 1, wherein the one or more entries indicate one or more instructions for generating the modified base data.

  5. Claim 5Depends on #1

    The method of claim 1, wherein rerouting the received queries includes rewriting the received queries to point to a storage location of the modified base data.

  6. Claim 6Depends on #1

    The method of claim 1, wherein the set of instructions are configured to cause the remote database system to perform operations including: while the one or more entries are active, routing the received queries attempting to access one or more portions of the base data that are not subject to the set of synthetic anomaly injection operations to corresponding data of the base data set stored in the first location.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the set of instructions are configured to cause the remote database system to perform operations including: while the one or more entries are inactive, routing the received queries attempting to access the base data to corresponding data of the base data set stored in the first location.

  8. Claim 8Depends on #1

    The method of claim 1, comprising: sending an instruction to the remote database system to inactivate the one or more entries.

  9. Claim 9Depends on #1

    The method of claim 1, comprising: disconnecting from the remote database system, wherein disconnecting from the remote database system causes the remote database system to inactivate the one or more entries.

  10. Claim 10Depends on #1

    The method of claim 1, wherein causing the remote database system to inactivate the one or more entries includes causing the remote database system to perform one or more of the following operations: deleting the one or more entries from the lookup table; deleting the lookup table; and deleting the modified base data.

  11. Claim 11Depends on #1

    The method of claim 1, wherein identifying the set of synthetic anomaly injection operations to apply to the one or more portions of the base data set includes determining one or more of: selecting one or more predefined synthetic anomaly injection operations; determining a fraction of the base data set that will be subject to the synthetic anomaly injection operations; and selecting which portions of the base data set will be subject to the synthetic anomaly injection operations.

  12. Claim 12Depends on #1

    The method of claim 1, wherein identifying the set of synthetic anomaly injection operations to apply to the one or more portions of the base data set includes performing an iterative process that includes: selecting one or more candidate synthetic anomaly injection operations; and assessing a result of applying the one or more candidate synthetic anomaly injection operations to a candidate portion of the base data set.

  13. Claim 13Depends on #12

    The method of claim 12, wherein: assessing the result of applying the one or more candidate synthetic anomaly injection operations includes determining whether the result is different from the candidate portion of the base data set; performing the iterative process includes: excluding the one or more candidate synthetic anomaly injection operations from the set of synthetic anomaly injection operations in response to a determination that the result is not different from the candidate portion of the base data set; and including the one or more candidate synthetic anomaly injection operations in the set of synthetic anomaly injection operations in response to a determination that the result is different from the candidate portion of the base data set.

  14. Claim 14Depends on #1

    The method of claim 1, comprising: performing data processing operations while the one or more entries in the lookup table are active, the data processing operations including submitting queries to the remote database system attempting to access the one or more portions of the base data set; and determining a performance metric representing the impact that applying the synthetic anomaly injection operations to the base data set has on a performance of the data processing operations.

  15. Claim 15Depends on #14

    The method of claim 14, comprising: performing data processing operations while the one or more entries in the lookup table are inactive, the data processing operations including submitting queries to the remote database system attempting to access the one or more portions of the base data set; and wherein determining the performance metric is based on results of performing the data processing operations while the one or more entries are active and based on results of performing the data processing operations while the one or more entries are inactive.

  16. Claim 16Depends on #1

    The method of claim 1, wherein the set of instructions are configured to cause the remote database system to perform operations including: applying the set of synthetic anomaly injection operations to the one or more portions of the base data to create the modified base data.

  17. Claim 17Depends on #16

    The method of claim 16, wherein the set of instructions are configured to cause the remote database system to perform operations including: storing the modified base data at a second location of the remote database system different from the first location, wherein the base data set stored in the first location remains unmodified by the set of synthetic anomaly injection operations and by storage of the modified base data.

  18. Claim 18Depends on #1

    The method of claim 1, wherein the remote database system includes: a database for storing data; and a database connector that provides an interface for accessing the database.

  19. Claim 19Depends on #18

    The method of claim 18, wherein the lookup table is stored in the database connector.

  20. Claim 20Depends on #18

    The method of claim 18, wherein the modified base data is stored in the database.

  21. Claim 21Depends on #18

    The method of claim 18, wherein the modified base data is stored in memory in the database connector.

  22. Claim 22Depends on #1

    The method of claim 1, wherein the remote database system is a Structured Query Language (SQL) database.

  23. Claim 23Independent Claim

    A system comprising: one or more processors; and a computer-readable medium storing instructions that are operable when executed by the one or more processors to perform operations comprising: identifying a base data set stored in a first location of a remote database system, the base data set including one or more sets of structured data; identifying a set of synthetic anomaly injection operations to apply to one or more portions of the base data set; submitting a set of instructions to the remote database system, wherein the set of instructions are configured to cause the remote database system to perform operations including: creating one or more entries in a lookup table, wherein the one or more entries represent the one or more portions of the base data set that are subject to the set of synthetic anomaly injection operations; and while the one or more entries are active, rerouting received queries attempting to access the one or more portions of the base data set to instead access modified base data, wherein the modified base data includes data resulting from applying the set of synthetic anomaly injection operations to the one or more portions of the base data set; and causing the remote database system to inactivate the one or more entries in the lookup table, wherein while the one or more entries are inactive, the remote database system ceases rerouting the received queries attempting to access the one or more portions of the base data set to instead access the modified base data.

  24. Claim 24Independent Claim

    A non-transitory computer-readable medium storing instructions that are operable when executed by a data-processing apparatus to perform operations comprising: identifying a base data set stored in a first location of a remote database system, the base data set including one or more sets of structured data; identifying a set of synthetic anomaly injection operations to apply to one or more portions of the base data set; submitting a set of instructions to the remote database system, wherein the set of instructions are configured to cause the remote database system to perform operations including: creating one or more entries in a lookup table, wherein the one or more entries represent the one or more portions of the base data set that are subject to the set of synthetic anomaly injection operations; and while the one or more entries are active, rerouting received queries attempting to access the one or more portions of the base data set to instead access modified base data, wherein the modified base data includes data resulting from applying the set of synthetic anomaly injection operations to the one or more portions of the base data set; and causing the remote database system to inactivate the one or more entries in the lookup table, wherein while the one or more entries are inactive, the remote database system ceases rerouting the received queries attempting to access the one or more portions of the base data set to instead access the modified base data.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to U.S. Provisional App. No. 63/636,568, filed Apr. 19, 2024, entitled “ Techniques for Data Quality Monitoring, ” the entire content of which is hereby incorporated by reference. BACKGROUND This application relates to techniques for and related to data quality monitoring and reporting. Data quality monitoring has been used to discover potential data quality issues in a collection of data. Discovered issues are typically reported for appropriate handling. This monitoring and reporting can be aided by one or more data processing algorithms. DESCRIPTION OF DRAWINGS FIG. 1 is a block diagram showing aspects of an example computing environment that includes a data quality monitoring system. FIG. 2 is a block diagram showing an example data stack. FIG. 3 is a block diagram showing an example data factory. FIG. 4 illustrates an example of table anomaly scores and learned thresholds over time. FIG. 5 illustrates example changes in row count over time for a table. FIG. 6 illustrates example visual patterns to track how data changes over time in an updated-in-place table. FIG. 7 illustrates a sample table of data. FIG. 8 illustrates a backtest result showing an example anomaly score for the table with and without synthetic anomaly injection operations applied. FIG. 9 illustrates backtest results for sample datasets. FIG. 10 illustrates example performance metrics for a model benchmark over different chaos fractions. FIG.

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

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (10)

  • Stanley, Jeremy , et al.,
  • “
  • Automating Data Quality Monitoring Scaling Beyond Rules with Machine Learning
  • ”
  • , O'Reilly Media, Inc., released Jan. 2024, (chapter 1 available as early as Mar. 8, 2023, chapter 2 available as early as Apr. 20, 2023, chapter 3 available as early as Jun. 21, 2023, chapter 4 available as early as Sep. 28, 2023), 221 pages.
  • YouTube ,
  • “
  • How unsupervised machine learning can scale data quality monitoring in Databricks
  • ”
  • , Transcript of Presentation available at https://youtu.be/SLINAuolfq4?si=hmklyKJt5uoDlqus, Jun. 30, 2022, 32 pages.