System and method for conformal importance based ai document summarization with conformal score calibration
The method uses importance and conformal scores to identify and extract important data units from documents, addressing the limitations of existing evaluation metrics by enhancing summary quality and adaptability to domain-specific contexts without retraining, ensuring relevant and efficient summary generation.
Patent Information
- Application Number
- US19/345638
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-23
- Filing Date
- 2025-09-30
- Publication Date
- 2026-11-26
Smart Images

Figure US20260377388A1-D00000_ABST
Abstract
Description
[0001] The present application claims the benefit of U.S. provisional application No. 63 / 811,149, which was filed May 23, 2025, which is incorporated herein by reference.TECHNICAL FIELD
[0002] The present application relates to using artificial intelligence to summarize documents or long texts. In particular, the present application relates to using conformal importance to enhance the quality of generated summaries.BACKGROUND
[0003] Summarization is a widely performed task in many domains from media and legal documents to scientific articles and clinical reports. Recent advances in large language models (LLMs) have significantly improved the quality of summary generation with methods such as prompt-based generation and fine-tuned transformer models exhibiting superior generalization and adaptability over classical natural language processing (NLP) methods. However, despite these improvements, there is a paucity of reliable automated evaluation metrics that can validate these systems and ensure their safety in high-stakes applications like healthcare. Known approaches to ensuring the validity of generated summaries include character-based validation, embedding-based validation, learned metric-based validation, and LLM-based validation. In character-based validation, character-based metrics such as edit distance is used to evaluate a summary against a reference text. While character-based validation may reduce problems such as hallucinations, character-based validation is often lacking in evaluating whether the content of the summary is important given its reference text. In embedding-based validation, using an embedder such as Bidirectional Encoder Representations from Transformers (BERT), embeddings for a generated summary and its reference text may be compared to generate a score or metric. While such approaches are often effective at determining whether the summary reflects the meaning of a reference text, they fall short in ensuring that the summary captures important information of the reference text. Moreover, customizing embedding-based approaches to specific domain knowledge or priorities often involves retraining or finetuning of the underlying embedder. While learned metric-based validation shows promise in identifying that important parts of a reference text are included in summary, since the metric is learned, customizing the learned-metric to specific domain knowledge or priorities may require retraining or finetuning. In the advent of frequent updates to specific domain knowledge or priorities, that may be frequent retraining or finetuning which may be involve computationally intensive operations and be an inefficient use of computer resources. In LLM-based validation, an LLM is used to evaluate While LLM-based validation may have the ability to evaluate text in a generalized manner that accounts for abstracted concepts in the text, LLMs are known to have egocentric bias and customizing the LLM to domain specific knowledge or priorities may, again, involve retraining or finetuning of the LLM which may, again, involve computationally intensive operations and be an inefficient use of computer resources.
[0004] The present application, as described herein, improves upon technological limitations of generating summaries and / or extracting important information from data assets such as reference texts; the technological limitations including, among others, those described above.BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Embodiments are described in detail below, with reference to the following drawings:
[0006] FIG. 1 is a schematic operation diagram illustrating an operating environment of an example embodiment;
[0007] FIG. 2 is a high-level schematic diagram of an example computer system;
[0008] FIG. 3 shows a simplified organization of software components stored in a memory of the computer system of FIG. 2;
[0009] FIG. 4 is a simplified diagram of a process for generating a descriptor for a data asset;
[0010] FIGS. 5A and 5B are simplified diagrams of a process for determining a threshold value for generating a descriptor of a data asset;
[0011] FIG. 6 is a simplified diagram of a calibration phase and an inference stage for generating descriptors based on importance scores and conformal scores;
[0012] FIG. 7 shows an architecture of an AI model for generating a descriptor for a data asset;
[0013] FIG. 8 shows an architecture of a calibrating system for determining a threshold value for generating a descriptor of a data asset;
[0014] FIG. 9 shows, in flowchart form, an example method for generating, based on importance scores, a descriptor for a data asset;
[0015] FIG. 10 shows, in flowchart form, an example method for calibrating a threshold value for the purpose of generating a descriptor based on importance scores;
[0016] FIG. 11 shows, in flowchart form, an example method for generating, based on importance scores, in association with a context, a descriptor for a data asset;
[0017] FIG. 12 shows, in flowchart form, an example method for calibrating a threshold value, in association with a context, for the purpose of generating a descriptor based on importance scores;
[0018] FIG. 13 shows, in flowchart form, an example method for generating a summary for a text;
[0019] FIG. 14 which shows pseudocode for a greedy oracle-labeling method that may be used to determine importance labels;
[0020] FIG. 15 illustrates a long text (data asset), a summary of the long text (descriptor), and “important” sentences (“important” data units) of the long text; and
[0021] FIGS. 16A and 16B illustrate a data asset that is an image and a descriptor that shows the “important” parts of the image.
[0022] Like reference numerals are used in the drawings to denote like elements and features.DETAILED DESCRIPTION OF VARIOUS EMBODIMENTS
[0023] In an aspect, the present application relates to a computer system. The computer system comprises a processor and a memory coupled to the processor. The memory stores instructions that, when executed by the processor, configure the processor to receive a plurality of data assets. The instructions further configure the processor to, for each of the plurality of data assets: identify one or more data units; determine, for each of the one or more data units, an importance score and an importance label; and determine, based on the importance scores and the importance labels of the one or more data units, a conformal score. The instructions further configure the processor to: determine, based on the conformal scores of the plurality of data assets, a threshold value; and extract, from a real-use data asset, based on the threshold value, one or more real-use data units.
[0024] In some implementations, the instructions further configure the processor to determine, according to an importance tag, the importance label of at least one of the one or more data units of one of the plurality of data assets.
[0025] In some implementations, at least one of the plurality of data assets is associated with a sample descriptor including at least one of the one or more data units of the one of the plurality of data assets, and the instructions further configure the processor to determine, based on the sample descriptor, the importance labels of the one or more data units of the one of the plurality of data assets.
[0026] In some implementations, the instructions further configure the processor to determine the importance labels of the one or more data units by comparing the one or more data units to the sample descriptor.
[0027] In some implementations, the instructions further configure the processor to determine the importance label of one of the one or more data units of one of the plurality of data assets by providing the one of the one or more data units and the one of the plurality of data assets to a machine learning model.
[0028] In some implementations, the instructions further configure the processor to provide to the machine learning model, along with the one of the one or more data units and the one of the plurality of data assets, at least one guideline for determining the importance label of the one of the one or more data units.
[0029] In some implementations, the instructions further configure the processor to determine the conformal score of one of the plurality of data assets by: identifying a portion of the one or more data units of the one of the plurality of data assets, the importance label of each of the portion being greater than or equal to an importance threshold; determining that a ratio obtained by comparing a first quantity to a second quantity is greater than or equal to a retention ratio, the first quantity counting all of the portion and the second quantity counting the data units of the portion having importance scores that are greater than or equal to a retention score; determining that another ratio obtained by comparing the first quantity to a third quantity is less than the retention ratio, the third quantity counting the data units of the portion having importance scores that are greater than or equal to another retention score greater than the retention score; and setting, in response to determining that the ratio is greater than or equal to the retention ratio and that the another ratio is less than the retention ratio, the conformal score to be the retention score.
[0030] In some implementations, the retention ratio is a hundred percent.
[0031] In some implementations, the threshold value is a quantile computed based on an error rate and a number counting the plurality of data assets.
[0032] In some implementations, the instructions further configure the processor to configure an artificial intelligence model to extract the one or more real-use data units by: receiving the real-use data asset; identifying, based on the real-use data asset, a plurality of real-use data units; determining, for each of the plurality of real-use data units, a real-use importance score; and selecting, from the plurality of real-use data units, the one or more real-used data units, the real-use importance score of at least one of the one or more real-used data units being greater than or equal to the threshold value.
[0033] In another aspect, the present application relates to a computer-implemented method. The method includes receiving a plurality of data assets. The method further includes, for each of the plurality of data assets: identifying one or more data units; determining, for each of the one or more data units, an importance score and an importance label; and determining, based on the importance scores and the importance labels of the one or more data units, a conformal score. The method further includes: determining, based on the conformal scores of the plurality of data assets, a threshold value; and extracting, from a real-use data asset, based on the threshold value, one or more real-use data units.
[0034] In some implementations, the method further includes determining, according to an importance tag, the importance label of at least one of the one or more data units of one of the plurality of data assets.
[0035] In some implementations, at least one of the plurality of data assets is associated with a sample descriptor including at least one of the one or more data units of the one of the plurality of data assets, and the method further includes determining, based on the sample descriptor, the importance labels of the one or more data units of the one of the plurality of data assets.
[0036] In some implementations, the method further includes determining the importance labels of the one or more data units by comparing the one or more data units to the sample descriptor.
[0037] In some implementations, the method further includes determining the importance label of one of the one or more data units of one of the plurality of data assets by providing the one of the one or more data units and the one of the plurality of data assets to a machine learning model.
[0038] In some implementations, the method further includes providing to the machine learning model, along with the one of the one or more data units and the one of the plurality of data assets, at least one guideline for determining the importance label of the one of the one or more data units.
[0039] In some implementations, the method further includes determining the conformal score of one of the plurality of data assets by: identifying a portion of the one or more data units of the one of the plurality of data assets, the importance label of each of the portion being greater than or equal to an importance threshold; determining that a ratio obtained by comparing a first quantity to a second quantity is greater than or equal to a retention ratio, the first quantity counting all of the portion and the second quantity counting the data units of the portion having importance scores that are greater than or equal to a retention score; determining that another ratio obtained by comparing the first quantity to a third quantity is less than the retention ratio, the third quantity counting the data units of the portion having importance scores that are greater than or equal to another retention score greater than the retention score; and setting, in response to determining that the ratio is greater than or equal to the retention ratio and that the another ratio is less than the retention ratio, the conformal score to be the retention score.
[0040] In some implementations, the threshold value is a quantile computed based on an error rate and a number counting the plurality of data assets.
[0041] In some implementations, the method further includes configuring an artificial intelligence model to extract the one or more real-use data units by: receiving the real-use data asset; identifying, based on the real-use data asset, a plurality of real-use data units; determining, for each of the plurality of real-use data units, a real-use importance score; and selecting, from the plurality of real-use data units, the one or more real-used data units, the real-use importance score of at least one of the one or more real-used data units being greater than or equal to the threshold value.
[0042] In another aspect, the present applications relates to a non-transitory computer-readable medium. The computer-readable medium stores processor-executable instructions that, when executed by a processor, configure the processor to receive a plurality of data assets. The instructions further configure the processor to, for each of the plurality of data assets: identify one or more data units; determine, for each of the one or more data units, an importance score and an importance label; and determine, based on the importance scores and the importance labels of the one or more data units, a conformal score. The instructions further configure the processor to: determine, based on the conformal scores of the plurality of data assets, a threshold value; and extract, from a real-use data asset, based on the threshold value, one or more real-use data units.
[0043] Other aspects and features of the present application will be understood by those of ordinary skill in the art from a review of the following description of examples in conjunction with the accompanying figures.
[0044] In the present application, the term “and / or” is intended to cover all possible combinations and sub-combinations of the listed elements, including any one of the listed elements alone, any sub-combination, or all of the elements, and without necessarily excluding additional elements.
[0045] In the present application, the phrase “at least one of . . . or . . . ” is intended to cover any one or more of the listed elements, including any one of the listed elements alone, any sub-combination, or all of the elements, without necessarily excluding any additional elements, and without necessarily requiring all of the elements.
[0046] In the present application, examples involving a general-purpose computer, aspects of the disclosure transform the general-purpose computer into a special-purpose computing device when configured to execute the instructions described herein.
[0047] In the present application, various functionalities discussed herein may be performed by a single processor or by any one of one or more processors, either alone or in combination.
[0048] The present application relates to document summarization using artificial intelligence (AI). More generally, the present application relates to generating a descriptor for a data asset. A data asset may be considered an object comprising data that is of value to, for example, an entity, organization, or individual. Examples of data assets include, without limitation, a textual document (comprising textual data), a video (comprising audiovisual data), an image (comprising visual data), and a recording (comprising audio data). A descriptor may be considered an object comprising data that “concisely describes” a data asset. Examples of descriptors, include without limitation, a textual summary of a textual document, a highlight reel of a recording of a sports game, and a digitally marked-up x-ray image identifying concern areas (e.g. squares around potential cavities or other dental conditions on an x-ray image of a jaw).
[0049] A data asset may comprise subparts known as data units. For example, given a data asset that is a textual document, the sentences therein may be considered data units. In another example, given a data asset that is a video, video segments therein may be considered data units.
[0050] The present application relates to increasing the likelihood that “important” data units are contained in a generated descriptor for a data asset. To this end, as will be described herein, a calibration process using importance scores is used.
[0051] The present application further relates to a robust AI model that can generate descriptors containing important data units customized to the context. For example, when reviewing the same medical reports, a doctor and a hospital administrator may have different criteria for importance. It is noted that, as will be described herein, the calibration process allows a customization to generating descriptors across a variety of contexts without the need for, for example, retraining a machine learning model in relation to the contexts.
[0052] Reference is now made to FIG. 1 which is a schematic operation diagram illustrating an operating environment of an example embodiment. As shown, the operating environment includes a computer system 110 (illustrated as a server), a database 120 coupled to the computer system 110, a computing device 130, and a network 140 connecting the computer system 110 to the computing device 130. The computer system 110 and the computing device 130 may be in geographically disparate locations. Put differently, the computer system 110, and the computing device 130 may be located remote from one another.
[0053] The computer system 110 may maintain a database 120 that includes various data records. For example, the computer system 110 may maintain an AI model that generates descriptors for data assets. In this example, the data records stored in the database 120 may include data assets such as textual documents, videos, images, and audio files. In another example, the computer system 110 may be a financial institution server which maintains bank accounts. In this example, a data record may, for example, reflect an amount of value stored in a particular account associated with a user. The amount of value may include a quantity of currency.
[0054] The computing device 130 may be a computing device that communicates with the computer system 110. The computing device 130 may interact with the computer system 110 to perform tasks such as, for example, interacting with an AI model maintained by the computer system 110. For example, the computing device 130 may send a request to the computer system 110 to generate a descriptor for a data asset. In response thereto, the computer system may generate a corresponding descriptor using the AI model and send the generated summary to the computing device 130.
[0055] The computing device 130 may take a variety of forms including, for example, a mobile communication device such as a smartphone, a tablet computer, a wearable computer (such as a head-mounted display or smartwatch), a laptop or desktop computer, or a computing device of another type. The computing device 130 may store software instructions that cause the computing device 130 to establish communications with the computer system 110. In some instances, the computing devices 130 may execute or perform these communications using an application maintained by the computer system 110.
[0056] It should be appreciated that FIG. 1 illustrates a non-limiting example embodiment. While FIG. 1 illustrates the computer system 110 as a single server. In some embodiments, the computer system 110 may comprise a plurality of servers such as pooled cloud computing services. Likewise, while FIG. 1 illustrates one computing device 130, in other embodiments, the operating environment may include more such computing devices.
[0057] The network 140 may be a computer network. In some embodiments, the network 140 may be an internetwork such as may be formed of one or more interconnected computer networks. For example, the network 140 may be or may include an Ethernet network, an asynchronous transfer mode (ATM) network, a wireless network, a telecommunications network, or the like.
[0058] Referring now to FIG. 2, a high-level operation diagram of an example computer system 200 is shown. In some embodiments, the computer system 200 may be exemplary of the computer system 110 or the computing device 130 (see FIG. 1).
[0059] The example computer system 200 includes a variety of modules. For example, as illustrated, the example computer system 200 may include a processor 210, a memory 220, a communications module 230, and / or a storage module 240. As illustrated, the foregoing example modules of the example computer system 200 are in communication over a bus 250.
[0060] The processor 210 is a hardware processor. The processor 210 may, for example, be one or more ARM, Intel x86, PowerPC processors or the like.
[0061] The memory 220 allows data to be stored and retrieved. The memory 220 may be a non-transitory computer-readable medium. The memory 220 may include, for example, random access memory (RAM), read-only memory (ROM), and persistent storage. Persistent storage may be, for example, flash memory, a solid-state drive or the like. ROM and persistent storage are non-transitory computer-readable storage mediums.
[0062] The communications module 230 allows the computer system 200 to communicate with other computer or computing devices and / or various communications networks. For example, the communications module 230 may allow the example computer system 200 to send or receive communications signals. Communications signals may be sent or received according to one or more protocols or according to one or more standards. For example, the communications module 230 may allow the example computer system 200 to communicate via a cellular data network, such as for example, according to one or more standards such as Global System for Mobile communications (GSM), Code Division Multiple Access (CDMA), Evolution Data Optimized (EVDO), Long-term Evolution (LTE), or the like. Additionally, or alternatively, the communications module 230 may allow the example computer system 200 to communicate using near-field communication (NFC), via Wi-Fi™, using Bluetooth™, or via some combination of one or more networks or protocols. In some embodiments, all or a portion of the communications module 230 may be integrated into a component of the example computer system 200. For example, the communications module may be integrated into a communications chipset. In some embodiments, the communications module 230 may be omitted such as, for example, if sending and receiving communications is not required in a particular application.
[0063] The storage module 240 allows the example computer system 200 to store and retrieve data. In some embodiments, the storage module 240 may be formed as part of the memory 220 and / or may be used to access all or a portion of the memory 220. Additionally or alternatively, the storage module 240 may be used to store and retrieve data from persisted storage other than the persisted storage (if any) accessible via the memory 220. In some embodiments, the storage module 240 may be used to store and retrieve data in a database. A database may be stored in persisted storage. Additionally or alternatively, the storage module 240 may access data stored remotely such as, for example, as may be accessed using a local area network (LAN), a wide area network (WAN), a personal area network (PAN), and / or storage area network (SAN). In some embodiments, the storage module 240 may access data stored remotely using the communications module 230. In some embodiments, the storage module 240 may be omitted and its function may be performed by the memory 220 and / or by the processor 210 in concert with the communications module 230 such as, for example, if data is stored remotely. The storage module 240 may also be referred to as a data store.
[0064] Software comprising instructions is executed by the processor 210 from a computer-readable medium. For example, a software may be loaded into RAM from persisted storage of the memory 220. Additionally or alternatively, instructions may be executed by the processor 210 directly from ROM of the memory 220.
[0065] FIG. 3 depicts a simplified organization of software components stored in the memory 220 of the example computer system 200 (see FIG. 2). As illustrated, these software components include an operating system 300 and an application 310.
[0066] The operating system 300 is software. The operating system 300 allows the application 310 to access the processor 210, the memory 220, and the communications module 230 of the example computer system 200 (see FIG. 2). The operating system 300 may be, for example, Google™ Android™, Apple™ iOS™, UNIX™, Linux™, Microsoft™ Windows™, Apple OSX™, or the like.
[0067] The application 310 adapts the example computer system 200, in combination with the operating system 300, to operate as a device performing a particular function. For example, the application 310 may cooperate with the operating system 300 to adapt a suitable embodiment of the example computer system 200 to operate as the computer system 110 (see FIG. 1).
[0068] Referring now to FIGS. 4-6, a process for generating descriptors, for data assets, using calibration and importance scores will be described.
[0069] FIG. 4 shows a process for generating a descriptor 440 for a data asset 410. Generally, the data asset 410 may be considered a data object containing information. The data asset 410 may be, without limitation, a textual document, a video, an image, or an audio recording. As shown in FIG. 4, the data asset 410 may be broken down into data units 420-426. The data units 420-426 may be considered subparts of the data asset 410. For example, if the data asset 410 is a textual document, the data units 420-426 may be sentences. In another example, if the data asset 410 is a video, the data units 420-426 may be video segments. In another example, if the data asset 410 is an image, the data units 420-426 may be regions within the image (such as square boxes). It should be appreciated that while FIG. 4 shows four data units, namely the data units 420-426, FIG. 4 shows a simplified diagram. Accordingly, the data asset 410 may be broken down into more or less data units.
[0070] A scoring machine, denoted R(c;x), may be applied to the data units 420-426 to determine importance scores (denoted “IS” in FIG. 4) for the data units 420-426. That is, the scoring machine determines an importance score 430 for the data unit 420, an importance score 432 for the data unit 422, an importance score 434 for the data unit 424, and an importance score 436 for the data unit 426. In the denotation R(c;x), c may be an inputted data unit (such as the data unit 420) and x may be an inputted data asset (such as the data asset 410). That is, the scoring machine may take as its input, the data asset 410 and a data unit of the data asset 410 to generate an importance score for that data unit. The scoring machine may be implemented using a machine learning model such as, without limitation, GPT-4o mini, Gemini 2.0 Flash-Lite, Gemini 2.5 Flash, Llama3-8B, and Qwen3-8B. For example, the importance score 430 may be generated by 1) instructing a machine learning model to extract, from the data asset 410, “important” data units a number of times, and 2) generating the importance score 430 based on a frequency that the data unit 420 is retained across the extractions. For example, the machine learning model may be instructed to extract, from the data asset 410, important data units 100 times. In these 100 extractions, the data unit 420 may be retained 87 times. The importance score 430 may then be87100=0.87.instructing a machine learning model to rank the importance of the data unit 420 given the data asset 410. For example, if the data asset 410 is a medical report and the data unit 420 is a sentence such as “the patient has rheumatoid arthritis,” the machine learning model may be an LLM and receive the prompt “rank on a scale of 1 to 5, the importance of ‘the patient has rheumatoid arthritis’ in the attached medical report.” To this end, the machine learning model may also be provided with, along with the data asset 410 and the data unit 420, at least one guideline for determining the importance score. The at least one guideline may include, for example, “rank diagnoses highly.” Additionally or alternatively, a supervised model may be trained to predict importance based on the internal states of an LLM.Additionally or alternatively, the scoring machine may be implemented using embedding similarity scoring. In embedding similarity scoring, an embedding model such as SBERT may be used to generate, for each of the data units 420-426, an embedding in an embedding space. The distances between these embeddings may then be computed to generate a graph. Example techniques for generating the importance scores 430-436 using embedding similarity scoring include, without limitation, cosine similarity centrality, sentence centrality, graph-based unsupervised summarization (GUSUM), and LexRank.
[0072] In cosine similarity centrality, the generated graph may be a fully connected graph. Further, the nodes of the graph may correspond to the data units 420-426 and the edges of the graph may have weights representing distances between the embeddings of the data units 420-426. That is, for example, the weight of the edge connecting the node corresponding to the data unit 420 and the node corresponding to the data unit 422 is the distance between the embedding of the data unit 420 and the embedding of the data unit 422. In cosine similarity centrality, the importance scores 430-436 may be determined based on the generated fully connected graph. In particular, the importance scores 430-436 may be determined to be the weighted centrality of the corresponding nodes (data units 420-426) in the graph. That is, for example, the importance score 430 may be determined by 1) determining, based on the graph, a weighted centrality of the node corresponding to the data unit 420 and 2) setting the importance score 430 to be that weighted centrality.
[0073] Sentence centrality may be applied in a situation wherein the data units 420-426 are associated with an ordering. For example, if the data asset 410 is a textual document, the data units 420-426 may correspond to sentences in the data asset 410 and may be associated with an ordering corresponding to the order of the sentences in the data asset 410. In another example, if the data asset 410 is a video, the data units 420-426 may correspond to video segments in the data asset 410 and may be associated with an ordering corresponding to the order of the video segments in the data asset 410. In sentence centrality, the nodes of the generated graph may, similar to cosine similarity centrality, correspond to the data units 420-426. Further, in sentence centrality, the generated graph may be a directed graph. In particular, an edge (directed edge) of a node corresponding to a first data unit may point to another node corresponding to a second data unit that is subsequent to the first node in the associated ordering. For example, assuming that the data unit 420 is, in the associated ordering, earlier than the data units 422-426, the node corresponding to the data unit 420 may have a first directed edge pointing to the node corresponding to the data unit 422, a second directed edge pointing to the node corresponding to the data unit 424, and a third directed edge pointing to the node corresponding to the data unit 426. Similar to cosine similarity centrality, the edges of the generated graph in sentence centrality (directed edges) may have weights corresponding to the distances between the embeddings corresponding to the connected notes. For example, a first directed edge connecting a first node corresponding to the data unit 420 and a second node corresponding to the data unit 422 may have a weight representing the distance between the embeddings of the data units 420 and 422. Likewise, a second directed edge connecting the first node corresponding to the data unit 420 and a third node corresponding to the data unit 424 may have a weight representing the distance between the embeddings of the data units 420 and 424. The importance scores 430-436 may be determined based on the generated directed graph. In some embodiments, the importance scores 430-436 may be the weighted centralities of the nodes corresponding to the data units 420-426. It should be appreciated that the weighted centralities computed under cosine similarity centrality and the weighted centralities computed under sentence centrality may be different since the graphs used to determine the weighted centralities are different (fully connected vs. directed connections to subsequent nodes). It should also be appreciated that the sentence centrality technique may be reversed to generate the importance scores 430-436. That is, the directed edges may point from later nodes to earlier nodes.
[0074] GUSUM may be applied when the data asset 410 is a textual document. In particular, the data units 420-426 may correspond to sentences in the data asset 410. GUSUM may be considered a variation of cosine similarity centrality wherein the importance scores 430-436 are augmented by one or more sentence-level features. The nodes of the generated graph in GUSUM may correspond to the data units 420-426. Further, the importance scores 430-436 may be determined based on a combination of the distances of the embeddings (as seen in cosine similarity centrality) and feature scores of the data units 420-426. For example, in GUSUM, a fully connected graph (as seen in cosine similarity centrality) with n nodes may be generated. Using A[i, j] to denote the weighting between connected nodes i and j, the importance score for a node i (and its corresponding data unit such as the data unit 420) may be determined based on the formula v[i]*∑ j=1 nA[i,j]where v[i] is the feature score for node i. The feature score v[i] may be computed by, without limitation, any of the following formulae or a combination thereof.v[i]=The number of words in the corresponding data unitof node iThe number of words in the data asset 410v[i]={1,if i corresponds to first or last sentence of thedata asset 410n-Pn,otherwise,where P is the location of the sentence corresponding to node i.v[i]=Number of proper nouns in the corresponding data unitof node iNumber of words in the corresponding data unit ofnode iMore generally, in GUSUM, the importance score of a node i may be determined based on a function ƒ (v[i], {A[i, j]|j∈{1, . . . , n}}).LexRank may also be applied when the data asset 410 is a textual document. LexRank may also involve a similar graph construction as with cosine similarity centrality. LexRank may further involve a filtering out of weak connections and an applying of a PageRank-like algorithm over node centrality to rank the importance of the data units 420-426.
[0078] It should be appreciated that, in embedding similarity scoring, distances may be computed using cosine similarity.
[0079] Subsequent to determining the importance scores 430-436 for the data units 420-426, the descriptor 440 may be generated. The descriptor 440 may be an object that “describes” the data asset 410. In particular, the descriptor 440 may describe the important or definitive features of the information contained in the data asset 410. For example, if the data asset 410 is a medical report, the descriptor 440 may be a summary of the medical report. In another example, if the data asset 410 is a video, the descriptor may be a highlight reel. In another example, if the data asset 410 is an image (such as a medical image), the descriptor 440 may be a copy of the medical image with boxes drawn around “key” areas. The descriptor 440 may be generated based on the data units among the data units 420-426 that are determined to be important. Specifically, the data units 420-426 may be filtered by a threshold value θ and the descriptor 440 may be generated based on the remaining data units. FIG. 4 shows an example wherein the importance scores 432 and 434 are greater than or equal to the threshold value and, accordingly, the descriptor 440 is generated based on the corresponding data units 422 and 424. It should be appreciated that while FIG. 4 shows an example of filtering the data units 420-426 by selecting the data units that have importance scores greater than or equal to the threshold value, in other embodiments, other filtering criteria may be applied. For example, the data units 420-426 may be filtered based on importance scores being less than the threshold value.
[0080] In some embodiments, the descriptor 440 may be configured to include the selected data units or copies thereof. For example, if the data asset 410 is a textual document consisting of 4 sentences, and each of the data units 420-426 correspond to a sentence, the descriptor 440 may include copies of the sentences corresponding to the data units selected via filtration (the data units 422 and 424 in the example shown in FIG. 4). In such embodiments, the descriptor 440 may be considered an extractive summary of the data asset 410.
[0081] The process, as discussed with reference to FIG. 4, includes generating the descriptor 440 for the data asset 410 by using the threshold value to filter the data units 420-426 based on the importance scores 430-436. Reference is now made to FIGS. 5A and 5B to discuss a calibration process for determining the threshold value.
[0082] FIG. 5A shows data assets 510-516. The data assets 510-516 may be similar to the data asset 410 as described herein with reference to FIG. 4. For example, the data assets 510-516 may be textual documents, videos, images, audio recordings, etc. The data assets 510-516 may be considered or referred to as “calibration data assets” because the data assets 510-516 are used to determine or “calibrate” a threshold value 560 (0 in FIG. 4). FIG. 5A further shows conformal scores (CSs) 550-556 being respectively determined for each of the data assets 510-516. The determination of the conformal scores 550-556 will be discussed with reference to FIG. 5B. FIG. 5A further shows determining the threshold value 560 based on the conformal scores 550-556. In some embodiments, the threshold value 560 may be determined as the<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>α(n+1)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>nquantile or the conformal scores 550-556 wherein α is a predetermined error rate and n is the number of data assets 510-516.It should be appreciated that FIG. 5A shows a simplified non-limiting example. While FIG. 5A shows four data assets 510-516 (and accordingly four conformal scores 550-556), the calibration process shown in FIG. 5A may be implemented using a number of assets such that the operations described here are impossible to be performed by a human mind. It is similarly understood that the data assets themselves are of a character that precludes their being processed by the human mind, even with very small amounts (e.g., two assets).
[0084] Reference is now made to FIG. 5B which shows a process for determining the conformal score 550. It should be appreciated that while FIG. 5B shows the determination of the conformal score 550, the conformal scores 552-556 may be determined similarly.
[0085] FIG. 5B shows the data assets 510 and an optional sample descriptor 500. The sample descriptor 500 may be similar to the descriptor 440 as described herein with reference to FIG. 4. That is, the sample descriptor 500 may be an object that describes the data asset 510. The sample descriptor 500 may be pre-generated. FIG. 5B further shows one or more data units 520-526 being identified based on the data asset 510. The data units 520-526 may be similar to the data units 420-426 as described herein with reference to FIG. 4. Similar to the process shown in FIG. 4, FIG. 5B also shows importance scores 530-536 being determined, respectively, for each of the data units 520-526. The determination of the importance scores 530-536 may be similar to the determination of the importance scores 430-436 as described herein with reference to FIG. 4. That is, a scoring machine R(c;x) may be used to determine the importance scores 530-536.
[0086] FIG. 5B further shows importance labels (ILs) 540-546 being determined, respectively, for each of the data units 520-526. The importance labels 540-546 may be considered an indicator of the importance of the data units 520-526. For example, the importance label 540 being 0 or FALSE may indicate that the data unit 520 is “not important.” Likewise, the importance label 540 being 1 or TRUE may indicate that the data units 520 is “important.” In some embodiments, the importance labels 540-546 may be determined similarly to the importance scores 530-536. That is, the importance labels 540-546 may be determined similarly to the importance scores 430-436 as described herein with reference to FIG. 4. In such embodiments, the importance labels 540-546 may not be binary values. In such cases, an importance threshold may be used to determine the importance of the data units 520-526. For example, if the importance labels 540-546 are real numbers between 0 and 1, the value 0.8 may be used as the importance threshold. In this example, if the importance label 540 is greater than or equal to 0.8, the data unit 520 may be considered important. Likewise, if the importance label 540 is less than 0.8, the data units 520 may be considered not important. The importance threshold may be predetermined.
[0087] Additionally or alternatively, the importance labels 540-546 may be determined according to importance tags associated with the data units 520-526. For example, the data units 520-526 may each be associated with a tag or indicator that indicates the importance of an individual data unit. In a specific implementation wherein the data asset 510 is a textual document (or annotated textual document) and the data units 520-526 are the sentences within the textual document, the sentences may be associated with a tag indicating their importance. Examples of such tags include, without limitation 0 (for “not important”) and 1 (for “important). In such implementations, determining the importance labels 540-546 may be a matter of copying the tags. In some implementations, the tags may be determined or obtained via human annotation. In other implementations, the tags may be determined or obtained via annotation by a machine learning model.
[0088] In some embodiments, the importance labels 540-546 may be determined based on the optional sample descriptor 500. For example, the importance label 540 may be determined to be a score that represents a match between the data unit 520 and the sample descriptor 500. For example, a score that is 1, or close to 1, may represent that the sample descriptor 500 contains information representing or matching the data unit 520. Likewise, a score that is 0, or close to 0, may represent that the sample descriptor 500 does not contain information representing or matching the data unit 520. Using a specific example implementation, the data asset 510 may be a textual document reading as follows:
[0089] What are my plans for the weekend? I am going to meet my friends at 10:00 a.m. Saturday. Then we are going to the local movie theatre. How exciting.”
[0090] In this specific example, the data unit 520 may be “What are my plans for the weekend?”, the data unit 522 may be “I am going to meet my friends at 10:00 a.m. Saturday.”, the data units 524 may be “Then we are going to the local movie theatre.”, and the data unit 526 may be “How exciting.” Further, the sample descriptor 500 may read:
[0091] I am going to meet my friends at 10:00 a.m. Saturday. Then we are going to the local movie theatre.
[0092] In this specific example implementation, the importance label 540 may be 0, the importance label 542 may be 1, the importance label 544 may be 1, and the importance label 546 may be 0. Accordingly, in this specific example implementation, the importance labels 522 and 524 may be considered important while the data units 520 and 526 may be considered not important.
[0093] FIG. 5B further shows the conformal score 550 being determined based on the importance scores 530-536 and the importance labels 540-546. In some embodiments, the conformal score 550 may be determined to be a filter value such that, under a filtering mechanism for selecting data units for a descriptor, as described herein with reference to FIG. 4 (e.g., R(c;x)≥0), using the filter value to filter the data units 520-526 results in minimizing the number of the data units 520-526 retained while simultaneous ensuring that the “important” data units of the data units 520-526, as indicated by the importance labels 540-546, are retained to a degree greater than or equal to a retention ratio β. A specific example implementation of determining the conformal score 550 will now be described using formal mathematical notation.
[0094] First, x may be used to represent the data asset 510 and x may be comprised the data units c1, . . . , cm (the data units 520-526) (n may not necessarily be 4 as FIG. 5B is a simplified diagram). For simplicity, it may be considered that x={c1, . . . , cm}. Then y*⊆x may be the set of data units of x that are important (as indicated by the importance labels 540-546). It should be appreciated that, in other embodiments, it is possible that y*⊆x. Now a retention function B(y,y*) will be defined asB(y;y*)=<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>y⋂y*<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics><semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>y*<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>.Given x, an importance score (the importance scores 530-536) may be assigned to each data unit c as R(c;x) such that R(c;x)≥0 with larger scores indicating higher estimated importance. A filtering function based on the importance scores may be defined as Fq(x)={c∈x|R(c;x)≥q}. It should be appreciated that Fq(x) satisfies both F0(x)=x and F∞(x)=Ø. Further, Fq filters out more data units as q increases, and satisfies a nesting property Fq(x)⊆Fq′(x) for q≥q′. Now the conformal score 550 may be defined as Sβ(x,y*):=max{q∈R+|B(Fq(x);y*)≥β} given the retention ratio β. It is noted that β=1 necessitates that all of the important data units of the data units 520-526 are retained.Referring now to FIGS. 4-5B, it should be appreciated that, if the threshold value θ is computed as the<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[LeftBracketingBar]"< / annotation>< / semantics>α(n+1)<semantics definitionURL="">❘<annotation encoding="Mathematica">"\[RightBracketingBar]"< / annotation>< / semantics>nquantile of the conformal scores 550-556, then P[B(z;z*)≥β]≥1−α wherein α is a predetermined error rate, z is the descriptor 440 as generated according to the process described with reference to FIG. 4, and z* is the “important” data units of the data asset 410.Comparing the importance scores 530-536 and the importance labels 540-546 under the mathematical framework described above, it may be observed that the importance scores 530-536 are the output of the scoring machine and the importance labels 540-546 may be considered a “ground-truth” importance. Likewise, z* may be considered the ground-truth of importance with respect to the data asset 410.Reference is now made to FIG. 6 which shows an overview of a process for using importance scores and conformal scores to generate descriptors for data assets. The process begins with a calibration phase 610 and succeeds to an inference phase 620. The calibration phase 610 may involve determining (calibrating) a threshold value based on a number of calibration data assets, as described herein with reference to FIGS. 5A and 5B. In the inference phase 620, a descriptor may be generated based on a data asset, as described herein with reference to FIG. 4. It should be appreciated that the calibration phase 610 may be performed once and that the inference phase 620 may be performed multiple times for different data assets. That is to say, once the threshold value is determined, the same threshold value may be used to generate descriptors for multiple data assets. Further, after determining the threshold value, the threshold value may be stored in a database. The threshold value may then be retrieved from the database during the inference phase 620.
[0098] It is further noted that the calibration phase 610 and the inference phase 620 may be performed with respect to a context 600 and thereby allow for customization with respect to the generated descriptor. For example, a doctor and a hospital administrator may have differing priorities of importance. Accordingly, in the example of a medical record, the context 600 may be a context of “review by a doctor” or “review by a hospital administrator.” The scoring machine used in the calibration phase 610, or an identifier thereof, and the threshold value determined in the calibration phase 610 may be stored, in association with the context 600, in a database. Accordingly, the inference phase 620 may involve retrieving / identifying the scoring machine and the threshold value by performing, based on the context 600, a lookup operation in the database.
[0099] Referring now to FIGS. 7 and 8, model and / or system architectures for implementing the processes described herein with reference to FIGS. 4-6 will be discussed.
[0100] FIG. 7 shows an AI architecture for an AI model 700 for generating a descriptor 780 for a data asset 710 given a context. The AI model 700 may be implemented by the computer system 110, the computer system 200, or a combination of such systems (see FIGS. 1 and 2). That is, multiple computer systems may cooperate to implement the AI model 700. Further, the AI model 700 may be considered an implementation of the process of generating a descriptor for a data asset as described herein with reference to FIG. 4.
[0101] FIG. 7 shows a data asset 710. The data asset 710 may be similar to the data asset 410 or the data assets 510-516 as described herein with reference to FIGS. 4-5B. FIG. 7 further shows context data 712. The context data 712 may be data that describes or otherwise represents the context of the data asset 710. The context may be similar to the context 600 as described herein with reference to FIG. 6. The context data 712 may be, for example, an indicator that a doctor is accessing the AI model 700 as opposed to a hospital administrator. The indicator may be, for example, sent or generated upon the doctor, on a computing device such as the computing device 130 (see FIG. 1), logging into an account that allows access to the AI model 700. Additionally or alternatively, the context data 712 may be an indicator that is generated via selection. For example, a doctor may, via a computing device such as the computing device 130, select, from a dropdown menu on a user interface for accessing the AI model 700, an option indicating that a doctor is accessing the AI model 700 as opposed to a hospital administrator.
[0102] The AI model 700 is shown including an extracting module 720 that receives the data asset 710 to identify one or more data units 730. The one or more data units 730 may be similar to the data units 420-426 as described herein with reference to FIG. 4.
[0103] The AI model 700 is further shown to include a selecting module 750 that selects a scoring machine 760 and a threshold value 770 based on the context data 712. To this end, the selecting module 750 may cooperate with a database 790. In particular, the database 790 may store, in association with various contexts, various scoring machines and various threshold values. The selecting module 750 may perform, based on the context data 712 or the context, a lookup operation in the database 790 to retrieve and / or identify the scoring machine 760 and the threshold value 770. In some embodiments, with respect to the scoring machine 760, the database 790 may store an identifier corresponding to the scoring machine 760. In such embodiments, a plurality of scoring machines may be maintained by the computer system implementing the AI model 700 and thus, the selecting module 750 may select, from the plurality of scoring machines, the scoring machine 760 based on the identifier. In other embodiments, the database 790 may store software instructions corresponding to the implementation of the scoring machine 760. In such embodiments, the selecting module 750 may cause the software instructions to be loaded into a memory. In other embodiments, the scoring machine 760 may be implemented using a machine learning model that is configured according to a prompt and / or textual instructions. In such embodiments, the database 790 may store the textual instructions for configuring the machine learning model. Further, the selecting module 750 may retrieve, from the database 790, based on the context, the textual instructions for configuring the machine learning model. Further, the selecting module 750 may configure the machine learning model according to the retrieved textual instructions.
[0104] The AI model 700 is further shown including a generating module 740. The generating module 740 may use the scoring machine 760 and the threshold value 770 to generate the descriptor 780 based on the one or more data units 730. In particular, as described herein with reference to FIG. 4, the generating module 740 may determine, using the scoring machine 760, importance scores for the one or more data units 730. The generating module 740 may then filter the one or more data units 730 based on the threshold value 770. The remaining ones of the one or more data units 730 after filtration may be considered important data units. The generating module 740 may then generate the descriptor 780 based on the important data units. The descriptor 780 may be similar to the descriptor 440 as described herein with reference to FIG. 4.
[0105] Reference is now made to FIG. 8 which shows an architecture of calibrating system 800 for determining a threshold value 870 for generating a descriptor of a data asset. The calibrating system 800 may be implemented by the computer system 110, the computer system 200, or a combination of such systems (see FIGS. 1 and 2). That is, multiple computer systems may cooperate to implement the calibrating system 800. Further, the calibrating system 800 may be considered an implementation of the process of determining a threshold value as described herein with reference to FIGS. 5A and 5B.
[0106] FIG. 8 shows data assets 810. The data assets 810 may be similar to the data assets 510-516 as described herein with reference to FIGS. 5A and 5B. FIG. 8 further shows context data 812. The context data 812 may be data that describes or otherwise represents the context of the data assets 810. The context may be similar to the context 600 as described herein with reference to FIG. 6.
[0107] The calibrating system 800 is further shown to include a selecting module 850 that selects a scoring machine 860 based on the context data 812. To this end, the selecting module 850 may cooperate with a database 890. In particular, the database 890 may store, in association with various contexts, various scoring machines. The selecting module 850 may perform, based on the context data 812, a lookup operation in the database 890 to retrieve and / or identify the scoring machine 860. In some embodiments, with respect to the scoring machine 860, the database 890 may store an identifier corresponding to the scoring machine 860. In such embodiments, a plurality of scoring machines may be maintained by the computer system implementing the calibrating system 800 and thus, the selecting module 850 may select, from the plurality of scoring machines, the scoring machine 860 based on the identifier. In other embodiments, the database 890 may store software instructions corresponding to the implementation of the scoring machine 860. In such embodiments, the selecting module 850 may cause the software instructions to be loaded into a memory. In other embodiments, the scoring machine 860 may be implemented using a machine learning model that is configured according to a prompt and / or textual instructions. In such embodiments, the database 890 may store the textual instructions for configuring the machine learning model. Further, the selecting module 850 may retrieve, from the database 890, based on the context, the textual instructions for configuring the machine learning model. Further, the selecting module 850 may configure the machine learning model according to the retrieved textual instructions.
[0108] The calibrating system 800 is further shown including a calibrating module 820. The calibrating module 820 may use the scoring machine 860 to determine the threshold value 870. In particular, the calibrating module 820 may determine the threshold value 870 via a process similar to the process described herein with reference to FIGS. 5A and 5B. In particular, the calibrating module 820 may, for each of the data assets 810, determine a conformal score based on importance scores and importance labels as shown in FIG. 5B. The calibrating module 820 may further determine the threshold value 870 based on the conformal scores as shown in FIG. 5A. For example, the threshold value 870 may be a quantile of the conformal scores.
[0109] After determining the threshold value 870, the calibrating system may store, in the database 890, the threshold value 870 in association with the context and / or context data 812. It should be appreciated that the scoring machine 860 may be used for a variety of contexts. Accordingly, the database 890 may be configured such that the scoring machine 860 and the threshold value 870 can be retrieved by performing a lookup operation in the database 890 by context. However, the context may not necessarily be retrievable by performing a lookup operation in the database 890 based on the scoring machine 860 or any other scoring machine that may be stored in the database 890.
[0110] After the threshold value 870 has been stored in the database 890, an AI model such as the AI model 700 may retrieve, from the database 890, the scoring machine 860 and the threshold value 870 for the purposes of generating a descriptor for another data asset in an inference phase such as the inference phase 620 as described herein with reference to FIG. 6.
[0111] It should be appreciated that while the AI model 700 and the calibrating system 800 appear separate in the embodiments described herein with reference to FIGS. 7 and 8, in other implementations of the processes shown in FIGS. 4-5B, a single system and / or architecture may perform the functions of both the AI model 700 and the calibrating system 800. That is, in some embodiments, the AI model 700 and the calibrating system 800 may be combined to implement a system that implements the processes shown in FIGS. 4-5B.
[0112] Reference is now made to FIGS. 9 and 10 to describe methods of operating AI models and calibrating systems such as the AI model 700 and the calibrating system 800.
[0113] FIG. 9 shows, in flowchart form, a method 900 for generating, for a data asset, a descriptor based on importance scores. The method 900 may be implemented by a computing device having suitable processor-executable instructions for causing the computing device to carry out the described operations. The method 900 may be implemented, in whole or in part, by a computer system such as the computer system 110 or 200 as described herein with reference to FIGS. 1 and 2. Further, the computer system may implement an AI model such as the AI model 700 as described herein with reference t FIG. 7. In particular, the computer system may perform at least part of the method 900 during the operation of the AI model. Moreover, the method 900 may be considered an implementation of the process described herein with reference to FIG. 4.
[0114] The method 900 begins with an operation 910. The operation 910 may include receiving, from a computing device, a data asset. The computing device may be a computing device such as the computing device 130 as described herein with reference to FIG. 1. The data asset may be similar to the data asset 410 as described herein with reference to FIG. 4. The data asset may be, without limitation, a textual document, a video, an image, or an audio recording. Accordingly, the data asset may include, without limitation, text data, video data, and audio data.
[0115] Following the operation 910, the method 900 may proceed to an operation 920. The operation 920 may include identifying, based on the data asset, one or more data units. The one or more data units may be similar to the data units 420-426 as described herein with reference to FIG. 4.
[0116] Following the operation 930, the method 900 may proceed to an operation 930. The operation 930 may include determining, for each of the one or more data units, an importance score. The importance scores may be similar to the importance scores 430-436 as described herein with reference to FIG. 4. In particular, the computer system may obtain the importance scores by using a scoring machine R(c;x). The scoring machine may be implemented using machine learning. That is, the computer system may determine the importance score of at least one of the one of mor data units by providing the data asset and the one of the one or more data units to a machine learning model.
[0117] In some embodiments, the computer system may determine the importance scores using the techniques of, without limitation, cosine similarity centrality, sentence centrality, GUSUM, and LexRank. For example, determining the importance score of at least one of the one or more data units may involve 1) determining, for each of the one or more data units, an embedding in an embedding space, 2) generating a fully connected graph having one or more nodes corresponding to the one or more data units and edges having weights representing distances between the embeddings of the one or more data units, 3) determining, based on the graph, a weighted centrality of the node corresponding to the one of the one or more data units, and 4) setting the importance score of the one of the one or more data units to be the weighted centrality. Additionally or alternatively, the one or more data units may be associated with an ordering and determining the importance score of at least one of the one or more data units may involve 1) determining, for each of the one or more data unis, an embedding in an embedding space, 2) generating a directed graph having one or more nodes corresponding to the one or more data units wherein at least one of the one or more nodes has at least one directed edge pointing to another node of the one or more nodes wherein the another node corresponds to a subsequent data unit subsequent to the data unit corresponding to the at least one of the one or more nodes, and wherein the at least one directed edge has a weight representing a distance between the embedding of the subsequent data unit and the embedding corresponding to the at least one of the one or more nodes, and 3) determining, based on the directed graph, the importance score of the one of the one or more data units.
[0118] Following, the operation 930, the method 900 may proceed to an operation 940. The operation 940 may include determining that the importance score of at least one of the one or more data units is greater than or equal to a threshold value. The threshold value may be determined according to the processes shown in FIGS. 5A and 5B. That is, determining the threshold value may include 1) determining, for each of a plurality of calibration data assets a conformal score based on calibration importance scores and importance labels and 2) determining, based on the conformal scores of the plurality of calibration data assets, the threshold value. The plurality of calibration data assets may be similar to the data assets 510-516 as described herein with reference to FIG. 5A. The conformal scores may be similar to the conformal scores 550-556 as described herein with reference to FIG. 5A. The calibration importance scores may be similar to the importance scores 530-536 as described herein with reference to FIG. 5B. The importance labels may be similar to the importance labels 540-540 as described herein with reference to FIG. 5B. Hence, each of the plurality of calibration data assets may include one or more calibration data units associated with calibration importance scores and importance labels.
[0119] Following the operation 940, the method 900 may proceed to an operation 950. The operation 950 may include generating, in response to the importance score of the at least one of the one or more data units being greater than or equal to the threshold value, based at least on the at least one of the one or more data units, a descriptor that describes the data asset. The descriptor may be similar to the descriptor 440 as described herein with reference to FIG. 4. Generating the descriptor may further include omitting another one of the one or more data units. For example, the computer system may also 1) determine that the importance score of another one of the one or more data units is less than the threshold value and 2) generate, in response to the importance score of the another one being less than the threshold value, the descriptor based on an omission of the another one.
[0120] Following the operation 950, the method 900 may proceed to an operation 960. The operation 960 may include sending, to the computing device, the descriptor.
[0121] Reference is now made to FIG. 10 which shows, in flowchart form, a method 1000 for determining a threshold value based on a plurality of data assets. The method 1000 may be implemented by a computing device having suitable processor-executable instructions for causing the computing device to carry out the described operations. The method 1000 may be implemented, in whole or in part, by a computer system such as the computer system 110 or 200 as described herein with reference to FIGS. 1 and 2. Further, the computer system may implement a calibrating system such as the calibrating system 800 as described herein with reference to FIG. 8. In particular, the computer system may perform at least part of the method 1000 during the operation of the calibrating system. Moreover, the method 1000 may be considered an implementation of the process described herein with reference to FIGS. 5A and 5B.
[0122] The method 1000 may begin with an operation 1010. The operation 1010 may include receiving a plurality of data assets. The plurality of data assets may be similar to the data assets 510-516 as described herein with reference to FIG. 5A.
[0123] Following the operation 1010, the method 1000 may proceed to an operation 1020. The operation 1020 may include determining conformal scores for each of the plurality of data assets. In particular, the conformal scores may be determined in a process similar to the process described herein with reference to FIG. 5B. Specifically, the computer system may, for each of the plurality of data assets, 1) identify one or more data units, 2) determine, for each of the one or more data units, an importance score and an importance label, and 3) determine, based on the importance scores and the importance labels of the one or more data units, a conformal score. The conformal scores may be similar to the conformal scores 550-556 as described herein with reference to FIGS. 5A and 5B. The importance scores may be similar to the importance scores 530-536 as described herein with reference to FIG. 5B. Likewise, the importance labels may be similar to the importance labels 540-542 as described herein with reference to FIG. 5B.
[0124] In some embodiments, the computer system may determine the importance label of at least one of the one or more data units of one of the plurality of data assets according to an importance tag. In other embodiments, at least one of the plurality of data assets may be associated with a sample descriptor including at least one of the one or more data units of the one or the plurality of data assets. In such embodiments, the computer system may determine, based on the sample descriptor, the importance label of one of the one and another one of the one or more data units of the one of the plurality of data assets. Further, the computer system may determine the importance label of the of the one of the one and another one of the one or more data units by comparing the one of the one and the another one to the sample descriptor. In other embodiments, the computer system may determine the importance label of one of the one or more data units of one of the plurality of data assets by providing the one of the one or more data units and the one of the plurality of data assets to a machine learning model. In such embodiments, the computer system may provide to the machine learning model, along with the one of the one or more data units and the one of the plurality of data assets, at least one guideline for determining the importance label of the one of the one or more data units.
[0125] Determining the conformal score of one of the plurality of data assets may include identifying a portion of the one or more data units of the plurality of the one of the plurality of data assets wherein the importance label of each of the portion is greater than or equal to an importance threshold. The portion may correspond to “important” data units as described herein with reference to FIG. 5B. Determining the conformal score may further include determining that a ratio obtained by comparing a first quantity to a second quantity is greater than or equal to a retention ratio. The first quantity may count all of the portion and the second quantity may count the data units of the portion having importance scores that are greater than or equal to the retention score. The retention ratio may be similar to β as described herein with reference to FIG. 5B. Further, the ratio may be similar to the ratio obtained via the retention function B(y,y*) as described herein with reference to FIG. 5B. Determining the conformal score may further include determining that another ratio obtained by comparing the first quantity to a third quantity is less than the retention ratio. The third quantity may count the data units of the portion having importance scores that are greater than or equal to another retention score greater than the retention score. Further, the computer system may determine the conformal score according to the equation Sβ(x,y*):=max {q∈R+|B(Fq(x);y*)≥β} as described herein with reference to FIG. 5B. That is, the computer system may set, in response to determining that the ratio is greater than or equal to the retention ratio and that the another ratio is less than the retention ratio, the conformal score to be the retention score. In some embodiments, the retention ratio may be a hundred percent.
[0126] Following the operation 1020, the method 1000 may proceed to an operation 1030. The operation 1030 may include determining, based on the conformal scores of the plurality of data assets, a threshold value. The threshold value may be determined in a process similar to the process described herein with reference to FIGS. 5A and 5B. That is, the threshold value may be similar to the threshold value 560 as described herein with reference to FIG. 5A. Further, the threshold value may be a quantile computed based on an error rate and a number counting the plurality of data assets. The error rate may be similar to a as described herein with reference to FIGS. 5A and 5B.
[0127] Following the operation 1030, the method 1000 may proceed to an operation 1040. The operation 1040 may include extracting, from a real-use data asset, based o the threshold value, one or more real-use data units. The operation 1040 may be similar to the process described herein with reference to FIG. 4 or the method 900 as described herein with reference to FIG. 9. That is, the real-use data asset and the one or more real-used data units may be, respectively, similar to the data asset 410 and the data units 420-426 as described herein with reference to FIG. 4. In particular, the compute system may configure an AI model, such as the AI model 700 as described herein with reference to FIG. 7, to extract the one or more real-used data units based on the threshold value. Specifically, the AI model may be configured to 1) receive the real-used data asset, 2) identify, based on the real-used data asset, a plurality of real-use data units, 3) determine, for each of the plurality of data units, a real-use importance score, and 4) select, from the plurality of real-use data units, the one or more real-used data units, based on the one or more real-used data units having real-use importance scores that are greater than or equal to the threshold value.
[0128] As described herein with reference to FIGS. 6-8, 1) an AI model that generates descriptors for data assets and 2) a calibrating system that calibrates a threshold value for these purposes may operate in association with one or more contexts. Specifically, scoring machines and threshold values may be associated with a context such as the context 600. Reference is now made to FIGS. 11 and 12 to describe using such an AI model and such a calibrating system in association with one or more contexts.
[0129] FIG. 11 shows, in flowchart form, a method 1100 for generating descriptors in association with a context. The method 1100 may be implemented by a computing device having suitable processor-executable instructions for causing the computing device to carry out the described operations. The method 1100 may be implemented, in whole or in part, by a computer system such as the computer system 110 or 200 as described herein with reference to FIGS. 1 and 2. Further, the computer system may implement an AI model such as the AI model 700 as described herein with reference to FIG. 7 and / or a calibrating system such as the calibrating system 800 as described herein with reference to FIG. 8. In particular, the computer system may perform at least part of the method 1100 during the operation of the AI model and / or the calibrating system.
[0130] The method 1100 may begin with an operation 1110. The operation 1110 may include receiving, from a computing device, a data asset. The data asset may be received for the purposes of using the AI model to generate a descriptor for the data asset. The data asset may be similar to the data asset 410 as described herein with reference to FIG. 4. The computing device may be similar to the computing device 130 as described herein with reference to FIG. 1. In an example, the computing device may be a computer of a doctor in a hospital. In this example, the doctor may access the AI model to generate a summary (descriptor) of a medical report. In another example, the computing device may be a computer of a video editor of a sports game. In this other example, the video editor may access the AI model to generate a highlight reel (descriptor) of the sports game.
[0131] Following the operation 1110, the method 1100 may proceed to an operation 1120. The operation 1120 may include determining a context associated with the data asset. In some embodiments, the computer system may receive, prior to determining the context, from the computing device, context data. The computer system may then determine the context based on the context data. For example, if the computer system is being used to generate descriptors for textual medical reports, the context data may be an indicator that indicates the type of user of the AI model (i.e. doctor vs. hospital administrator). In some embodiments, such an indicator may be generated upon logging into an account that allows for access to the AI model. For example, a doctor may login to an account and the user identification of the doctor may indicate that a doctor is using the AI model. In other embodiments the indicator may be explicitly provided to the computer system via instruction. For example, a user of the AI model may provide instructions to the computer system to summarize (generate a descriptor for) a medical report and specify in the instructions that the user is a doctor.
[0132] Following the operation 1120, the method 1100 may proceed to an operation 1130. The operation 1130 may include obtaining, based on the context, a scoring machine and a threshold value. The scoring machine and the threshold value may be similar to the scoring machine and threshold value as described herein with reference to FIG. 4. The scoring machine may be or implemented by a machine learning model. Additionally or alternatively, the scoring machine may include a machine learning model that is configured according to textual instructions. In some embodiments, wherein the scoring machine includes a machine learning model configured according to textual instructions, obtaining the scoring machine may involve 1) retrieving, from a database, textual instructions by performing, based on the context, a lookup operation in the database and 2) configuring a machine learning model according to the textual instructions. In other embodiments, obtaining the scoring machine may involve 1) retrieving, from a database, a machine identifier by performing, based on the context, a lookup operation in the database, and 2) selecting, based on the machine identifier, the scoring machine from a plurality of scoring machines.
[0133] The threshold value may be stored in a database in association with the context. Accordingly, in some embodiments, the computer system may obtain the threshold value by performing, in the database, a lookup operation based on the context.
[0134] Following the operation 1130, the method 1100 may proceed to an operation 1140. The operation 1140 may include identifying, based on the data asset, one or more data units. The operation 1140 may be performed similarly to the operation 920 of the method 900 as described herein with reference to FIG. 9.
[0135] Following the operation 1140, the method 1100 may proceed to an operation 1150. The operation 1150 may include determining one or more importance scores by providing the one or more data units to the scoring machine. The operation 1150 may be performed similarly to the operation 930 of the method 900 as described herein with reference to FIG. 9.
[0136] Following the operation 1150, the method 1100 may proceed to an operation 1160. The operation 1160 may include selecting, based on the one or more importance scores and the threshold value, at least one of the one or more data units. The operation 1160 may be performed similarly to the operation 940 of the method 900 as described herein with reference to FIG. 9.
[0137] Following the operation 1160, the method 1100 may proceed to an operation 1170. The operation 1170 may include generating, based on the at least one of the one or more data units, a descriptor. The descriptor may be similar to the descriptor 440 as described herein with reference to FIG. 4. Further, the operation 1170 may be performed similarly to the operation 950 of the method 900 as described herein with reference to FIG. 9.
[0138] Following the operation 1170, the method 1100 may proceed to an operation 1180. The operation 1180 may include sending, to the computing device, the descriptor.
[0139] As described herein with reference to FIG. 6, a process of calibrating a threshold value may precede a process of generating, based at least one the threshold value, a descriptor for a data asset. Reference is now made to FIG. 12 which shows, in flowchart form, a method 1200 for calibrating a threshold value in association with a context. The method 1200 may be implemented by a computing device having suitable processor-executable instructions for causing the computing device to carry out the described operations. The method 1200 may be implemented, in whole or in part, by a computer system such as the computer system 110 or 200 as described herein with reference to FIGS. 1 and 2. Further, the computer system may implement an AI model such as the AI model 700 as described herein with reference to FIG. 7 and / or a calibrating system such as the calibrating system 800 as described herein with reference to FIG. 8. In particular, the computer system may perform at least part of the method 1200 during the operation of the AI model and / or the calibrating system. The computer system may perform the method 1200 prior to performing the method 1100, or a similar method, as described herein with reference to FIG. 11.
[0140] The method 1200 begins with an operation 1210. The operation 1210 may include receiving a plurality of calibration data assets. The calibration data assets may be similar to the data assets 510-516 as described herein with reference to FIG. 5A. The calibration data assets may be received from a computing device.
[0141] The calibration data assets may be associated with a context. In some embodiments, the computer system may receive, prior to determining the context, from the computing device, context data. The computer system may then determine the context based on the context data. The context data may be, for example, a context tag such as “doctor” or “hospital administrator” that is provided to the computer system along with the plurality of calibration data assets.
[0142] The calibration data assets may also include one or more calibration data units that are similar to the data units 520-526 as described herein with reference to FIG. 5B. Each of the one or more calibration data units may be associated with an importance label. The importance labels may be similar to the importance labels 540-546 as described herein with reference to FIG. 5B.
[0143] Following the operation 1210, the method 1200 may proceed to an operation 1220. The operation 1220 may include obtaining, based on the context, a scoring machine. The scoring machine, textual instructions for configuring the scoring machine, software instructions for implementing the scoring machine, and / or an identifier of the scoring machine may be stored, in association with the context, in a database such as the database 890 as described herein with reference to FIG. 8. The computer system may perform a lookup operation in the database to obtain the scoring machine based on the context.
[0144] Following the operation 1220, the method 1200 may proceed to an operation 1230. The operation 1230 may include determining, for each of the calibration data assets, using the scoring machine, a conformal score based at least one the importance labels of the one or more calibration data units. The process for determining the conformal scores may be similar to the process described herein with reference to FIG. 5B. That is, for each calibration data unit of each calibration data asset, the scoring machine may generate a calibration importance score that may be similar to any of the importance scores 530-536 as described herein with reference to FIG. 5B. The computer system may then, for each calibration data asset, generate and / or determine a corresponding conformal score based on the calibration importance scores and importance labels of its calibration data units.
[0145] Following the operation 1230, the method 1200 may proceed to an operation 1240. The operation 1240 may include determining, based on the conformal scores of the plurality of calibration data assets, a threshold value. The process for determining the threshold value may be similar to the process described herein with reference to FIG. 5A. For example, the threshold value may be a quantile of the conformal scores wherein the quantile is based on an error rate.
[0146] Following the operation 1240, the method 1200 may proceed to an operation 1250. The operation 1250 may include storing, in the database, the threshold value in association with the context.
[0147] It should be appreciated that, by allowing for the selection of the scoring machine from a plurality of scoring machines, the methods 1100 and 1200 allow for customization of operation of the AI model and / or calibration system according to context. That is, different kinds of descriptors may be generated in different contexts. In particular, the same data asset may yield different descriptors according to context. For example, in a hospital, a doctor and a hospital administrator may prioritize, or deem as “important,” different aspects of the same medical report (data asset). For example, the doctor may prioritize diagnoses while the hospital administrator may prioritize costs associated with medical treatment. Performing the method 1200 may allow the doctor to calibrate a first threshold value to use for a first scoring machine that prioritizes the doctor's preferences (such as prioritizing diagnoses). Likewise, performing the method 1200 may allow the hospital administrator to calibrate a second threshold value to use for a second scoring machine that prioritizes the hospital administrator's preferences (such as prioritizing costs). That is, in this example, a first context of “doctor” may be associated with the first scoring machine and a second context of “hospital administrator” may be associated with the second scoring machine. Further, performing the method 1100 may allow the doctor to, using the first threshold value and the first scoring machine, generate a first descriptor for a medical report that prioritizes the doctor's preferences. Likewise, performing the method 1100 may allow the hospital administrator to, using the second threshold value and the second scoring machine, generate a second descriptor for the medical report that prioritizes the hospital administrator's preferences. It should be appreciated that, in this example, the doctor and the hospital administrator may or may not use the same computing device to access the AI model and / or the calibrating system. That is, the doctor may use a first computing device associated with the doctor and the hospital administrator may use a second computing device associated with the hospital administrator. Alternatively, the doctor may be the owner of a first account for accessing the AI model and the hospital administrator may be the owner of a second account for accessing the AI model. In such account-based embodiments, the doctor and hospital administrator may access the AI model from the same computing device. Thus, in performing a similar method to the method 1100 for another context, a computer system that implements the method 1100 and / or the method 1200 may receive, from one of the computing device and another computing device, the data asset. The computer system may further determine the another context associated with the data asset. The computer system may further obtain, based on the another context, another scoring machine and another threshold value. The computer system may determine another one or more importance scores by providing the one or more data units of the data asset to the another scoring machine. The computer system may further select, based on the another one or more importance scores and the another threshold value, another at least one of the one or more data units. The computer system may then generate, based on the another at least one of the one or more data units, another descriptor. The computer system may then send, to the one of the computing device and the another computing device, the another descriptor.
[0148] The generating of descriptors via AI models such as the AI model 700, as described herein with reference to FIG. 7, and calibrating systems, such as the calibrating system 800 as described herein with reference to FIG. 8, may be used to generate descriptors for a variety of types of data assets. For example, the data assets may be, without limitation, textual documents (such as medical reports or transcripts of call data), videos (such as sports videos), audio recordings (such as a recording of a lecture). Reference is now made to FIG. 13 which shows, in flowchart form, a method 1300 for generating textual summaries. The method 1300 may be implemented by a computing device having suitable processor-executable instructions for causing the computing device to carry out the described operations. The method 1300 may be implemented, in whole or in part, by a computer system such as the computer system 110 or 200 as described herein with reference to FIGS. 1 and 2. Further, the computer system may implement an AI model such as the AI model 700 and / or a calibrating system such as the calibrating system 800. In particular, the computer system may perform at least part of the method 1300 during the operation of the AI model and the calibrating system. Moreover, the method 1300 may be considered an implementation of the process described herein with reference to FIGS. 4-5B wherein the data assets involved are textual documents, or texts, and the descriptor is a summary.
[0149] The method 1300 begins with an operation 1310. The operation 1310 may include receiving a plurality of calibration texts. The calibration texts may be texts and / or textual documents that will be used to calibrate a threshold value for generating summaries (descriptors) at a later time. The calibration texts may be similar to, or a category of, the data assets 510-516 as described herein with reference to FIG. 5A.
[0150] Following the operation 1310, the method 1300 may proceed to an operation 1320. The operation 1320 may include determining, for each of the plurality of calibration texts, a conformal score. The process of determining the conformal score(s) may be similar to the process of determining the conformal score 550 as described herein with reference to FIG. 5B. In particular, the computer system may, for each of the plurality of calibration texts, 1) identify one or more calibration subtexts, 2) provide each of the one or more calibration subtexts to a scoring machine to determine a calibration importance score for each of the one or more calibration subtexts, 3) determine, for each of the calibration subtexts, an importance label, and 4) determine, based on the calibration importance scores and the importance labels of the one or more calibration subtexts, a conformal score. The calibration subtexts of a calibration text may be, or correspond to, sentences of the calibration text. That is, a calibration subtext may be a sentence.
[0151] In some embodiments, the computer system may determine the importance labels of the calibration subtexts based on the importance scores of the calibration subtexts.
[0152] Following the operation 1320, the method 1300 may proceed to an operation 1330. The operation 1330 may include determining, based on the conformal scores of the plurality of calibration texts, the threshold value. The process of determining the threshold value may be similar to the process of determining the threshold value 560 as described herein with reference to FIG. 5A. For example, the threshold value may be a quantile of the conformal scores.
[0153] Following the operation 1330, the method 1300 may proceed to an operation 1340. The operation 1340 may include receiving a text. The text may be received from a computing device such as the computing device 130 as described herein with reference to FIG. 1. The computer system may also receive, from the computing device, a summarization request. For example, the computing device may send to the computer system, along with a transcript of a call (text), the instructions “Please summarize the attached transcript” (summarization request). In embodiments wherein the computer system receives the text from a computing device, it may be said that the computer system generates, in response to receiving the text from the computing device, as described in operations 1350-1380, a summary of the text. The text may be similar to the data asset 410 as described herein with reference to FIG. 4.
[0154] Following the operation 1340, the method 1300 may proceed to an operation 1350. The operation 1350 may include identifying, in the text, one or more subtexts. The one or more subtexts may be, or correspond to, sentences of the text. The one or more subtexts may be similar to the data units 422 and 424 (the data units selected for the descriptor 440) as described herein with reference to FIG. 4.
[0155] Following the operation 1350, the method 1300 may proceed to an operation 1360. The operation 1360 may include determining, for each of the one or more subtexts, an importance score by providing the one or more subtexts to the scoring machine. The importance scores may be similar to the importance scores 432 and 434 as described herein with reference to FIG. 4. Likewise, the process of determining the importance scores may be similar to the process of determining the importance scores 432 and 434.
[0156] Following the operation 1360, the method 1300 may proceed to an operation 1370. The operation 1370 may include determining that the importance scores of the one or more subtexts are greater than or equal to the threshold value.
[0157] Following the operation 1370, the method 1300 may proceed to an operation 1380. The operation 1380 may include generating a summary. In particular, the generated summary may include, or otherwise describe, the one or more subtexts. The summary may be similar to the descriptor 440 as described herein with reference to FIG. 4. It may be said that the computer system generates or otherwise configures, in response to determining that the importance score of the one or more subtexts are greater than or equal to the threshold value, the summary to include the one or more subtexts. In embodiments wherein the computer system received the text from a computing device, subsequent to generating the summary, the computer system may send the summary to the computing device.
[0158] As observed with the operations 1370 and 1380, the computer system may configure the summary to include the subtexts that have importance scores that are greater than or equal to the threshold value. Likewise, the computer system may configure the summary to exclude the subtexts that have importance scores that are less than the threshold value. That is, the computer system may identify, in the text, another one or more subtexts. The computer system may further determine, for each of the another one or more subtexts, another importance score by providing the another one or more subtexts to the scoring machine. The computer system may further determine that the another importance scores of the another one or more subtexts are less than the threshold value. The computer system may then configure the summary to exclude the another one or more subtexts.
[0159] In some embodiments, the scoring machine may be implemented using a machine learning model. Additionally or alternatively, the scoring machine may be implemented using embedding similarity scoring using techniques such as cosine similarity centrality, sentence centrality, GUSUM, and LexRank. Put another way, the scoring machine may be configured to generate the importance score (or calibration importance score) of at least one of the one or more subtexts (or calibration subtexts) based on, without limitation, cosine similarity centrality, sentence centrality, GUSUM, and / or LexRank. The scoring machine may be configured to generate the importance scores of the subtexts based on, at least, one or more sentence-level features such as, without limitation, sentence length, position within the text, number of proper nouns.
[0160] In some embodiments, the scoring machine may be configured to determine the importance scores (or calibration importance scores) of at least one of the subtexts (or calibration subtexts) based on a frequency of retention. For example, the scoring machine may be configured to generate a plurality of summaries (or calibration summaries) for the text (or one of the calibration texts) by providing the text to a machine learning model. The scoring machine may further be configured to determine, for the one of the subtexts (calibration subtexts), a frequency of retention within the plurality of summaries (or calibration summaries). For example, if 100 summaries were generated and the one of the subtexts was retained in 32 of those summaries, the frequency of retention may be 0.32. The scoring machine may further be configured to determine the importance score (calibration importance score) of the one of the subtexts (calibration subtexts) based on the frequency of retention. For example, the importance score may be the same as the frequency of retention.
[0161] As described herein, the process of calibrating a threshold value for the purposes of generating descriptors may involve the determining of importance labels for data units of a data asset. Reference is now made to FIG. 14 which shows pseudocode for a greedy oracle-labeling method that may be used to determine importance labels. In the context of FIG. 14, the data asset may be a textual document, or text, and the data units may be sentences, or subtexts.
[0162] FIG. 14 shows each sentence si being scored individually against a reference summary R (akin to the sample descriptor 500 as described herein with reference to FIG. 5B). The score may be generated by a scoring machine that takes in two inputs and measures how aligned or similar the two inputs are. For example, more similar inputs may lead to higher scores. Likewise, less similar inputs may lead to lower scores. The scoring machine for generating the scores may be implemented using, without limitation, machine learning or regular expressions.
[0163] FIG. 14 further shows setting a set C to be the empty set and initiating a variable “sim” to 0. C may be thought of as the set of “important” sentences (which will have sentences added in as the algorithm in FIG. 14 progresses) and sim may be thought of as a “best matching score” against the reference summary.
[0164] FIG. 14 further shows a process of iterating through the scored sentences in descending order of the scores. In an iteration, FIG. 14 shows a marginal gain being computed according to the equationΔ=score(C∪{si},R)−sim wherein si is the sentence being considered in the iteration. It should be appreciated that in the computation of the marginal gain, the reference summary may be compared against more than one sentence. For example, if C contains two sentences, then the scoring machine generates a score by comparing three sentences (the two in C and si). If the marginal gain is greater than a threshold, then si is added to C, sim is updated to be score (C∪{si}, R), and si is deemed important (i.e. si is associated with an importance label of 1). Otherwise, si is deemed unimportant (si is associated with an importance label of 0).It should be appreciated that the algorithm shown in FIG. 14 generates binary importance labels. Accordingly, the algorithm shown in FIG. 14 may be considered a method of distinguishing “important” sentence and / or data units from “unimportant” sentences and / or data units.
[0166] As described herein, an AI model and a calibrating system may be used to generate a descriptor for a data asset. The data asset may be, without limitation, a textual document, a text, a video, an image, or an audio recording. The descriptor may be, without limitation, a corresponding summary, highlight reel, annotated image, or audio extract. Reference is now made to FIGS. 15-16B which illustrate examples of data assets and their corresponding generated descriptors.
[0167] FIG. 15 illustrates a long text (data asset), a summary of the long text (descriptor), and “important” sentences (“important” data units) of the long text. In FIG. 15, the entirety of the text is the long text and the summary corresponds to the parts of the long text that are not crossed out. The “important” sentences of the long text correspond to the bolded sections of the long text. Relating FIG. 15 to the process shown in FIG. 4, the long text may be the data asset 410. Further, each sentence in the long text may correspond to the data units 420-426. Further, the crossed-out parts of the long text (the parts not included in the summary) may correspond to the data units 420 and 426. The summary may correspond to the descriptor 440. It can be observed that in the example shown in FIG. 15, the summary contains all of the “important” sentences.
[0168] It should be appreciated that FIG. 15 is an illustration for the purposes of describing an example data asset and an example data asset. In practice, an AI model such as the AI model 700 may generate a descriptor that appears like normal text. That is, the generated descriptor may not show the crossed out text or bolded letters.
[0169] Reference is now made to FIGS. 16A and 16B which illustrate a data asset that is an image and a descriptor that shows the “important” parts of the image. FIG. 16A shows a data asset 1610 that is an image. FIG. 16A shows a particular scenario wherein the data asset 1610 is an x-ray image of a patient (perhaps with a shoulder injury). FIG. 16B shows a descriptor 1620 that was generated for the data asset 1610. FIG. 16B shows the descriptor 1620 to be an annotated version of the data asset 1610. In particular, the descriptor 1620 is marked-up by boxes 1630 that indicate the “important” parts of the data asset 1610 (perhaps where a potential shoulder injury can be detected). Relating FIGS. 16A and 16B to FIG. 4, the boxes 1630 may be drawn around sections (data units) of the data asset 1610 that are deemed important. In this way, the boxes 1630 may correspond to the data units 422 and 424.
Claims
1. A computer system, the computer system comprising:a processor;a memory coupled to the processor, the memory storing instructions that, when executed by the processor, configure the processor to:receive a plurality of data assets;for each of the plurality of data assets:identify one or more data units;determine, for each of the one or more data units, an importance score and an importance label; anddetermine, based on the importance scores and the importance labels of the one or more data units, a conformal score;determine, based on the conformal scores of the plurality of data assets, a threshold value; andextract, from a real-use data asset, based on the threshold value, one or more real-use data units.
2. The computer system of claim 1, wherein the instructions further configure the processor to determine, according to an importance tag, the importance label of at least one of the one or more data units of one of the plurality of data assets.
3. The computer system of claim 1 wherein at least one of the plurality of data assets is associated with a sample descriptor including at least one of the one or more data units of the one of the plurality of data assets, and the instructions further configure the processor to determine, based on the sample descriptor, the importance labels of the one or more data units of the one of the plurality of data assets.
4. The computer system of claim 3, wherein the instructions further configure the processor to determine the importance labels of the one or more data units by comparing the one or more data units to the sample descriptor.
5. The computer system of claim 1 wherein the instructions further configure the processor to determine the importance label of one of the one or more data units of one of the plurality of data assets by providing the one of the one or more data units and the one of the plurality of data assets to a machine learning model.
6. The computer system of claim 5 wherein the instructions further configure the processor to provide to the machine learning model, along with the one of the one or more data units and the one of the plurality of data assets, at least one guideline for determining the importance label of the one of the one or more data units.
7. The computer system of claim 1 wherein the instructions further configure the processor to determine the conformal score of one of the plurality of data assets by:identifying a portion of the one or more data units of the one of the plurality of data assets, the importance label of each of the portion being greater than or equal to an importance threshold;determining that a ratio obtained by comparing a first quantity to a second quantity is greater than or equal to a retention ratio, the first quantity counting all of the portion and the second quantity counting the data units of the portion having importance scores that are greater than or equal to a retention score;determining that another ratio obtained by comparing the first quantity to a third quantity is less than the retention ratio, the third quantity counting the data units of the portion having importance scores that are greater than or equal to another retention score greater than the retention score; andsetting, in response to determining that the ratio is greater than or equal to the retention ratio and that the another ratio is less than the retention ratio, the conformal score to be the retention score.
8. The computer system of claim 7 wherein the retention ratio is a hundred percent.
9. The computer system of claim 1 wherein the threshold value is a quantile computed based on an error rate and a number counting the plurality of data assets.
10. The computer system of claim 1 wherein the instructions further configure the processor to configure an artificial intelligence model to extract the one or more real-use data units by:receiving the real-use data asset;identifying, based on the real-use data asset, a plurality of real-use data units;determining, for each of the plurality of real-use data units, a real-use importance score; andselecting, from the plurality of real-use data units, the one or more real-used data units, the real-use importance score of at least one of the one or more real-used data units being greater than or equal to the threshold value.
11. A computer-implemented method, the method comprising:receiving a plurality of data assets;for each of the plurality of data assets:identifying one or more data units;determining, for each of the one or more data units, an importance score and an importance label; anddetermining, based on the importance scores and the importance labels of the one or more data units, a conformal score;determining, based on the conformal scores of the plurality of data assets, a threshold value; andextracting, from a real-use data asset, based on the threshold value, one or more real-use data units.
12. The computer-implemented method of claim 11 wherein the method further comprises determining, according to an importance tag, the importance label of at least one of the one or more data units of one of the plurality of data assets.
13. The computer-implemented method of claim 11 wherein at least one of the plurality of data assets is associated with a sample descriptor including at least one of the one or more data units of the one of the plurality of data assets, and the method further comprises determining, based on the sample descriptor, the importance labels of the one or more data units of the one of the plurality of data assets.
14. The computer-implemented method of claim 13 wherein the method further comprises determining the importance labels of the one or more data units by comparing the one or more data units to the sample descriptor.
15. The computer-implemented method of claim 11 wherein the method further comprises determining the importance label of one of the one or more data units of one of the plurality of data assets by providing the one of the one or more data units and the one of the plurality of data assets to a machine learning model.
16. The computer-implemented method of claim 15 wherein the method further comprises providing to the machine learning model, along with the one of the one or more data units and the one of the plurality of data assets, at least one guideline for determining the importance label of the one of the one or more data units.
17. The computer-implemented method of claim 11 wherein the method further comprises determining the conformal score of one of the plurality of data assets by:identifying a portion of the one or more data units of the one of the plurality of data assets, the importance label of each of the portion being greater than or equal to an importance threshold;determining that a ratio obtained by comparing a first quantity to a second quantity is greater than or equal to a retention ratio, the first quantity counting all of the portion and the second quantity counting the data units of the portion having importance scores that are greater than or equal to a retention score;determining that another ratio obtained by comparing the first quantity to a third quantity is less than the retention ratio, the third quantity counting the data units of the portion having importance scores that are greater than or equal to another retention score greater than the retention score; andsetting, in response to determining that the ratio is greater than or equal to the retention ratio and that the another ratio is less than the retention ratio, the conformal score to be the retention score.
18. The computer-implemented method of claim 11 wherein the threshold value is a quantile computed based on an error rate and a number counting the plurality of data assets.
19. The computer-implemented method of claim 11 wherein the method further comprises configuring an artificial intelligence model to extract the one or more real-use data units by:receiving the real-use data asset;identifying, based on the real-use data asset, a plurality of real-use data units;determining, for each of the plurality of real-use data units, a real-use importance score; andselecting, from the plurality of real-use data units, the one or more real-used data units, the real-use importance score of at least one of the one or more real-used data units being greater than or equal to the threshold value.
20. A non-transitory computer-readable medium storing processor-executable instructions that, when executed by a processor, configure the processor to:receive a plurality of data assets;for each of the plurality of data assets:identify one or more data units;determine, for each of the one or more data units, an importance score and an importance label; anddetermine, based on the importance scores and the importance labels of the one or more data units, a conformal score;determine, based on the conformal scores of the plurality of data assets, a threshold value; andextract, from a real-use data asset, based on the threshold value, one or more real-use data units.
