IP Library › Granted Patent US 12,541,547
Granted Patent B2
US 12,541,547 · App. 18/203,195 · Granted Feb 3, 2026

Profile-enriched explanations of data-driven models

Inventors: Arno Schneuwly (Effretikon, CH); Desislava Wagenknecht-Dimitrova (Kanton Bern, CH); Felix Schmidt (Baden-Dattwil, CH); Marija Nikolic (Zurich, CH); Matteo Casserini (Zurich, CH); Milos Vasic (Zurich, CH); Renata Khasanova (Zurich, CH)
Assignee: Oracle International Corporation
G06F16/345G06F16/335G06F40/186
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,541,547
App. No.
18/203,195
Granted
Feb 3, 2026
Kind
B2
Abstract

In an embodiment, a computer stores, in memory or storage, many explanation profiles, many log entries, and definitions of many features that log entries contain. Some features may contain a logic statement such as a database query, and these are specially aggregated based on similarity. Based on the entity specified by an explanation profile, statistics are materialized for some or all features. Statistics calculation may be based on scheduled batches of log entries or a stream of live log entries. At runtime, an inference that is based on a new log entry is received. Based on an entity specified in the new log entry, a particular explanation profile is dynamically selected. Based on the new log entry and statistics of features for the selected explanation profile, a local explanation of the inference is generated. In an embodiment, an explanation text template is used to generate the local explanation.

Claims (41)

1 . A method comprising:

storing:

definitions of a plurality of features, wherein each feature in the plurality of features has a type and

a plurality of explanation profiles, wherein each explanation profile in the plurality of explanation profiles specifies an entity and a feature subset of the plurality of features;

receiving or storing a plurality of log entries, wherein each log entry in the plurality of log entries specifies a time, an entity, and values for the plurality of features;

generating, for each explanation profile in the plurality of explanation profiles, based on the entity of the explanation profile, a respective summary value of each feature of the feature subset of the explanation profile that is based on said type of the feature;

receiving an inference that is based on a new log entry that specifies an entity selected from a group consisting of: a database table, a database column, a logic statement that contains a particular value, and a textual fingerprint that contains a wildcard;

selecting, based on the entity of the new log entry, a particular profile from the plurality of explanation profiles; and

generating, based on the new log entry and said summary values of the feature subset of the particular profile, an explanation of the inference;

wherein the method is performed by one or more computers.

2 . The method of claim 1 wherein the new log entry further specifies a second entity selected from a group consisting of: a user, a role, a group, a geographic region, a software application, and a time range.

3 . The method of claim 1 wherein the entity is a logic statement that is a database statement.

4 . The method of claim 1 further comprising matching the value of a particular feature from the feature subset of the particular profile to the entity, wherein the entity is a particular fingerprint from a plurality of textual fingerprints.

5 . The method of claim 4 further comprising processing the type of the particular feature as a category whose members are the plurality of textual fingerprints.

6 . The method of claim 1 wherein the inference is that the new log entry is anomalous.

7 . The method of claim 1 wherein the new log entry indicates at least one selected from a group consisting of a count of database connections, a new connection to a database, and authentication of a user.

8 . The method of claim 1 wherein said generating the summary value of a particular feature of the feature subset of the particular profile comprises summation of one selected from a group consisting of: bytes received, bytes sent, table rows accessed, and table rows transferred.

9 . The method of claim 1 wherein the summary value of a particular feature of the feature subset of the particular profile comprises at least one selected from a group consisting of a statistical mode, a histogram, skewness, and kurtosis.

10 . The method of claim 1 wherein:

the particular profile specifies an explanation text template;

said generating the explanation of the inference comprises combining the explanation text template, the summary values of the feature subset of the particular profile, and values from the new log entry for the feature subset of the particular profile.

11 . One or more computer-readable non-transitory media storing instructions that, when executed by one or more processors, cause:

storing:

definitions of a plurality of features, wherein each feature in the plurality of features has a type and

a plurality of explanation profiles, wherein each explanation profile in the plurality of explanation profiles specifies an entity and a feature subset of the plurality of features;

receiving or storing a plurality of log entries, wherein each log entry in the plurality of log entries specifies a time, an entity, and values for the plurality of features;

generating, for each explanation profile in the plurality of explanation profiles, based on the entity of the explanation profile, a respective summary value of each feature of the feature subset of the explanation profile that is based on said type of the feature;

receiving an inference that is based on a new log entry that specifies an entity selected from a group consisting of: a database table, a database column, a logic statement that contains a particular value, and a textual fingerprint that contains a wildcard;

selecting, based on the entity of the new log entry, a particular profile from the plurality of explanation profiles; and

generating, based on the new log entry and said summary values of the feature subset of the particular profile, an explanation of the inference.

12 . The one or more computer-readable non-transitory media of claim 11 wherein the new log entry further specifies a second entity selected from a group consisting of: a user, a role, a group, a geographic region, a software application, and a time range.

13 . The one or more computer-readable non-transitory media of claim 11 wherein the entity is a logic statement that is a database statement.

14 . The one or more computer-readable non-transitory media of claim 11 wherein the instructions further cause matching the value of a particular feature from the feature subset of the particular profile to the entity, wherein the entity is a particular fingerprint from a plurality of textual fingerprints.

15 . The one or more computer-readable non-transitory media of claim 14 wherein the instructions further cause processing the type of the particular feature as a category whose members are the plurality of textual fingerprints.

16 . The one or more computer-readable non-transitory media of claim 11 wherein the inference is that the new log entry is anomalous.

17 . The one or more computer-readable non-transitory media of claim 11 wherein the new log entry indicates at least one selected from a group consisting of a count of database connections, a new connection to a database, and authentication of a user.

18 . The one or more computer-readable non-transitory media of claim 11 wherein said generating the summary value of a particular feature of the feature subset of the particular profile comprises summation of one selected from a group consisting of: bytes received, bytes sent, table rows accessed, and table rows transferred.

19 . The one or more computer-readable non-transitory media of claim 11 wherein the summary value of a particular feature of the feature subset of the particular profile comprises at least one selected from a group consisting of a statistical mode, a histogram, skewness, and kurtosis.

20 . The one or more computer-readable non-transitory media of claim 11 wherein:

the particular profile specifies an explanation text template;

said generating the explanation of the inference comprises combining the explanation text template, the summary values of the feature subset of the particular profile, and values from the new log entry for the feature subset of the particular profile.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 30, 2023
From: SCHNEUWLY, ARNO; WAGENKNECHT-DIMITROVA, DESISLAVA; SCHMIDT, FELIX; NIKOLIC, MARIJA; CASSERINI, MATTEO; VASIC, MILOS; KHASANOVA, RENATA
To: ORACLE INTERNATIONAL CORPORATION
Reel/Frame 063793/0199 →
Continuity (1)
Related Publication 20240126798A1 · Apr 18, 2024
References Cited (33)
US 9317829B2 · Anand · 2016 [cited by examiner]
US 11693850B1 · Agarwal · 2023 [cited by examiner]
US 11726990B2 · Dwivedi · 2023 [cited by examiner]
US 20190102843A1 · Ichihara · 2019 [cited by examiner]
US 20230092702A1 · Mao · 2023 [cited by examiner]
US 20230308472A1 · Boyer · 2023 [cited by examiner]
Kanoje, Sumitkumar, et al., “User Profiling Trends, Techniques and Applications”, Intl Journ of Adv Foundtn and Research in Computer (IJAFRC), vol. 1, Issue 1, Jan. 2014, https://doi.org/10.48550/arXiv.1503.07474, 6pgs. [cited by applicant]
An, Jinwon, et al., “Variational Autoencoder Based Anomaly Detection Using Reconstruction Probability”, SNU Data Mining Center, Special Lecture on IE 2.1, http://dm.snu.ac.kr/static/docs/TR/SNUDM-TR-2015-03.pdf, Dec. 27… [cited by applicant]
Bach, Sebastian, et al., “On Pixel-Wise Explanations For Non-Linear Classifier Decisions By Layer-Wise Relevance Propagation”, PLOS One 10.7, 2015, doi: 10.1371/journal.pone.0130140, published Jul. 10, 2015, 46pgs. [cited by applicant]
Bastani, Osbert, et al., “Interpreting Blackbox Models via Model Extraction”, https://doi.org/10.48550/arXiv.1705.08504, May 23, 2017, 20pgs. [cited by applicant]
Bau, David, et al. “Network dissection: Quantifying Interpretability of Deep Visual Representations”, 2017 IEEE Conf on Comp Vision and Pattern Recogntn (CVPR), pp. 3319-3327, doi: 10.1109/CVPR.2017.354, Apr. 19, 2017, … [cited by applicant]
Bien, Jacob, et al., “Prototype selection for interpretable classification,” The Annals of Applied Statistics, vol. 5, No. 4, 2011, pp. 2403-2424, doi: 10.1214/11-AOAS495, Dec. 2011, 22pgs. [cited by applicant]
Bloedorn, Eric, et al., “Machine Learning of User Profiles: Representational Issues”, AAAI/IAAI, vol. 1, pp. 433-438, https://arxiv.org/pdf/cmp-lg/9712002v1.pdf, Aug. 4, 1996, 6pgs. [cited by applicant]
Bojanowski, Piotr, et al. “Enriching Word Vectors with Subword Information”, Transactns of the assoctn for comptnl linguistics, vol. 5, pp. 135-146, https://doi.org/10.48550/arXiv.1607.04606, Jun. 2017, 12pgs. [cited by applicant]
Bosnić, Zoran, et al. “Enhancing Data Stream Predictions with Reliability Estimators and Explanation”, Engineering Applications of AI, vol. 34, 2014, pp. 178-192, https://doi.org/10.1016/j.engappai.2014.06.001, Sep. 201… [cited by applicant]
Brown, Tom, et al., “Language Models are Few-Shot Learners”, Advances in neural information processing systems vol. 33, NeurIPS 2020, pp. 1877-1901, https://doi.org/10.48550/arXiv.2005.14165, May 2020, 25pgs. [cited by applicant]
Chowdhary, K. R., “Natural Language Processing”, Fundamentals of artificial intelligence 2020, Chapter 19, pp. 603-649, https://doi.org/10.1007/978-81-322-3972-7_19, Apr. 5, 2020, 47pgs. [cited by applicant]
Farid, Marina, et al., “User Profiling Approaches, Modeling, and Personalization”, ACM INFOS conf, INFOS'18, Article 4, https://doi.org/10.1145/1234567890, Dec. 2018, 7pgs. [cited by applicant]
Agarap, Abien Fred, “Deep Learning Using Rectified Linear Units (ReLU)”, https://doi.org/10.48550/arXiv.1803.08375, Mar. 22, 2018, 7pgs. [cited by applicant]
Haug, Johannes, et al. “Change Detection for Local Explainability in Evolving Data Streams”, 31st ACM Intl Conf on Informtn & Knowledge Mgmt, CIKM'22, https://doi.org/10.1145/3511808.3557257, pp. 706-716, Sep. 6, 2022, … [cited by applicant]
Tan, Sarah, et al., “Tree Space Prototypes: Another Look at Making Tree Ensembles Interpretable”, Proceedings of the 2020 ACM-IMS on Foundtns of Data Science Conf FODS '20, https://doi.org/10.1145/3412815.3416893, pp. 2… [cited by applicant]
Kascenas, Antanas, et al., “Denoising autoencoders for Unsupervised Anomaly Detection in Brain MRI”, PMLR, 2022, vol. 172, pp. 653-664, https://proceedings.mlr.press/v172/kascenas22a/kascenas22a.pdf, 2022, 12pgs. [cited by applicant]
Kingma, Diederik P., et al., “Adam: A Method for Stochastic Optimization”, https://doi.org/10.48550/arXiv.1412.6980, Dec. 22, 2014, 9pgs. [cited by applicant]
Lundberg, Scott M., et al., “A Unified Approach to Interpreting Model Predictions”, NIPS '17, Advances in Neural Information Processing Sys, vol. 30, https://doi.org/10.48550/arXiv.1705.07874, May 2017, 10pgs. [cited by applicant]
Mu, Jesse, et al., “Compositional Explanations of Neurons”, Advances in Neural Informtn Processing Sys, vol. 33, NIPS'20, Art No. 1439, pp. 17153-17163, https://dl.acm.org/doi/pdf/10.5555/3495724.3497163, Dec. 6, 2020, … [cited by applicant]
MySQL 8.0 Reference Manual [Online], https://dev.mysql.com/doc/refman/8.0/en/audit-log-file-formats.html, 32pgs. [cited by applicant]
Pruthi, Garima, et al. “Estimating Training Data Influence by Tracing Gradient Descent,” NeurIPS 2020, Advances in Neural Informtn Procssng Sys, vol. 33, Art No. 1672, https://doi.org/10.48550/arXiv.2002.08484, Dec. 6, … [cited by applicant]
pt-query-digest—Percona Toolkit Documentation, https://docs.percona.com/percona-toolkit/pt-query-digest.html#fingerprints, 29pgs. [cited by applicant]
Rawal, Kaivalya, et al., “Beyond Individualized Recourse: Interpretable and Interactive Summaries of Actionable Recourses”, NeurIPS 2020, vol. 33, Art No. 1022, pp. 12187-12198, https://dl.acm.org/doi/pdf/10.5555/349572… [cited by applicant]
Ribeiro, Marco Tulio, et al., “Model-agnostic interpretability of machine learning”, https://doi.org/10.48550/arXiv.1606.05386, pp. 91-95, Jun. 16, 2016, 5pgs. [cited by applicant]
Ribeiro, Marco Tulio, et al., “Why Should I Trust You?” Explaining the Predictions of Any Classifier, 22nd ACM SIGKDD 2016 Intl Conf on Knowledge Discovery and Data Mining, http://dx.doi.org/10.1145/2939672.2939778, Aug… [cited by applicant]
Roberts, Margaret E., et al., “The Structural Topic Model and Applied Social Science”, NIPS 2013, vol. 4, No. 1, https://bstewart.scholar.princeton.edu/publications/structural-topic-model-and-applied-social-science, 201… [cited by applicant]
Foltz, Peter W., “Latent Semantic Analysis for Text-Based Research”, Behavior Research Methods, Instruments, & Computers vol. 28, Issue No. 2, pp. 197-202, 1996 Psychonomic Society, Inc., https://link.springer.com/conte… [cited by applicant]