Dynamic feature tracking across data repositories
A dynamic index using AI models addresses the limitations of RAG systems by accurately tracking and identifying issues within content repositories, enhancing flexibility and accuracy in issue tracking.
Patent Information
- Application Number
- US19/068957
- Authority / Receiving Office
- US · United States
- Patent Type
- Patents(United States)
- Current Assignee / Owner
- Priority Date
- 2024-03-01
- Filing Date
- 2025-03-03
- Publication Date
- 2026-12-01
- Estimated Expiration
- 2045-04-12
AI Technical Summary
Existing retrieval-augmented generation (RAG) systems struggle with flexibility and accuracy in identifying and tracking issues within dynamic and context-dependent data repositories, such as legal depositions, due to reliance on static rules and keyword matching, leading to missed or incorrectly identified issues.
A dynamic index is built using AI models to map content within repositories, classify and track relevant items, and identify contradictions or corroborations, with a user interface displaying the data items and indicators for addressed features.
Enables efficient and accurate tracking of issue treatments across content repositories, reducing latency and improving performance by adapting to dynamic changes in data context.
Smart Images

Figure US12817839-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATION(S)
[0001] The present application claims the benefit of U.S. Provisional Patent Application No. 63 / 560,541, filed Mar. 1, 2024, the entirety of which is incorporated herein by reference.BACKGROUND
[0002] In large content repositories, efficiently and accurately retrieving and analyzing data from the content has proven to be difficult. Many systems are turning to retrieval-augmented generation (RAG) as a technique to enable large language models to respond to queries directed to specific content repositories. RAG modifies interactions with the large language models so that the models respond to user queries with reference to a specified set of content. The models can use information within the specified set of content to augment information drawn from its own static training data. Thus, RAG enables LLMs to use domain-specific and / or updated information. However, RAG has limited flexibility that can reduce the performance of systems that use this technique.BRIEF DESCRIPTION OF THE DRAWINGS
[0003] Reference will now be made, by way of example, to the accompanying drawings which show example implementations of the present application, and in which:
[0004] FIG. 1 is a block diagram illustrating an environment in which an issue-tracking system operates, according to some implementations.
[0005] FIGS. 2A-2F are example user interfaces illustrating a process undertaken by a user to create a project and to track issues across the project.
[0006] FIG. 3 is a flowchart illustrating a process for tracking issues across a set of assignments, according to some implementations.
[0007] FIG. 4 is a block diagram of an example transformer of a large language model.
[0008] FIG. 5 is a block diagram that illustrates an example of a computer system 600 in which at least some operations described herein can be implemented.
[0009] The technologies described herein will become more apparent to those skilled in the art by studying the Detailed Description in conjunction with the drawings. Embodiments or implementations describing aspects of the invention are illustrated by way of example, and the same references can indicate similar elements. While the drawings depict various implementations for the purpose of illustration, those skilled in the art will recognize that alternative implementations can be employed without departing from the principles of the present technologies. Accordingly, while specific implementations are shown in the drawings, the technology is amenable to various modifications.DETAILED DESCRIPTION
[0010] A content repository or content store is a database of digital content with an associated set of data management, search and access methods allowing application-independent access to the content. A content repository can store various types of files such as Portable Document Format (PDF) files, emails, images, videos, audio recordings, and so forth. Content repositories are commonly used in various fields, including legal, educational, corporate, and governmental environments, to store and manage data and records. Content repositories can act as a storage engine for a larger application (e.g., one that adds a user interface on top of the repository's application programming interface (API)). Within these repositories, an issue refers to a specific feature (e.g., topic, question, problem, and so forth) that is to be tracked or addressed across the documents. For example, in a legal case, issues can include specific legal questions or points of evidence that are to be identified and evaluated within the repository's documents. Identifying and tracking issues includes searching through the content repository to identify documents and / or other data related to the issue, evaluating the information, keeping track of how the issue is treated across different documents, and so forth.
[0011] However, identifying specific topics, questions, or problems within a large content repository can be difficult and time-consuming. For example, retrieval-augmented generation (RAG) systems typically use a set of static rules and keyword matching techniques to classify and retrieve documents. These rules are often based on a fixed schema or taxonomy, which may not account for the variability and complexity of real-world data. In the context of legal depositions, where the language used can be highly specialized and context-dependent, RAG systems may fail to recognize subtle variations in terminology or the contextual relevance of certain phrases. The inability of RAG to adapt to the dynamic and varied nature of real-world data (such as legal depositions) can lead to missed or incorrectly identified issues, which can be especially detrimental in scenarios such as legal proceedings.
[0012] Even once issues are identified, keeping track of how the identified issues are addressed across different documents can be challenging. Conventional methods such as RAG struggle to adapt to changes in the status or context of an issue, which can lead to incomplete and / or outdated tracking information. RAG systems typically rely on static rules and predefined workflows to monitor the status of identified issues, which cannot be applied to dynamically changing content such as that of a legal deposition.
[0013] The present technology provides for improved techniques for identifying issues within a content repository and for tracking treatment of these issues across the content in the repository. These improved techniques include progressively building a dynamic index of data that can be used by AI models, such as large language models (LLMs), to quickly and accurately track the issue treatments across the content repository. The dynamic index can be built by mapping content within the repository to data items, and generating, using a set of artificial intelligence (AI) models, the dynamic index which classifies and maps relevant items to specific features. The technology, in some implementations, compares data items mapped to common features to identify contradictions and / or corroborations between items. A user interface can display the data items and / or visual indicators indicating which features have been addressed and where contradictions exist. In an example use case, the techniques described according to various implementations herein can be employed to track issues within a legal case. However, similar techniques can be used to track items of interest in any of a variety of projects, including projects within a company, an educational environment, a governmental body, and so forth.
[0014] While the current description provides examples related to LLMs, one of skill in the art would understand that the disclosed techniques can apply to other forms of machine learning or algorithms, including unsupervised, semi-supervised, supervised, and reinforcement learning techniques. For example, the disclosed technology can build a dynamic index of data using support vector machine (SVM), k-nearest neighbor (KNN), decision-making, linear regression, random forest, naïve Bayes, or logistic regression algorithms, and / or other suitable computational models.
[0015] The description and associated drawings are illustrative examples and are not to be construed as limiting. This disclosure provides certain details for a thorough understanding and enabling description of these examples. One skilled in the relevant technology will understand, however, that the invention can be practiced without many of these details. Likewise, one skilled in the relevant technology will understand that the invention can include well-known structures or features that are not shown or described in detail, to avoid unnecessarily obscuring the descriptions of examples.Overview of the Issue Tracking System
[0016] FIG. 1 is a block diagram illustrating an environment in which an issue tracking system operates, according to some implementations. As shown in FIG. 1, the environment can include the issue tracking system 110, a document repository 120, one or more LLMs 130, and user devices 140. Systems within the environment can communication over a network 150, such as the Internet. The issue tracking system 110 can be implemented using components of example computer system 500 illustrated and described in more detail with reference to FIG. 5. Implementations of the environment can include different and / or additional components or can be connected in different ways.
[0017] The document repository 120 can include one or more virtual or physical repositories maintained by the issue tracking system 110 or by a third-party provider. The document repository stores a set of documents related to a project, such as a legal case. Documents in the document repository can include any of a variety of types of files received from any of a variety of sources, including, for example, transcripts of meetings, depositions, court hearings, or other oral proceedings; PDF files; comma-separate values (CSV) files; slide decks; emails; images; video or audio recordings; source code files; system logs; webpages; or social media posts. Users can directly add documents to the document repository or can link the document repository to other content sources to enable documents to be automatically added to the repository. For example, the document repository can include a repository within an eDiscovery platform to which evidence subject to discovery in a legal case is uploaded. In another example, the issue tracking system uses application programming interface (API) calls to eDiscovery platforms, social media platforms, cloud storage systems, or other external content sources in order to populate content from these external content sources into the document repository 120.
[0018] The issue tracking system 110 analyzes a set of documents linked to a project, referred to herein as “assignments,” to identify data within the documents that is relevant to a predefined set of issues. Relevant data refers to information that directly pertains to or indirectly impacts the predefined set of issues based on specific criteria such as keywords, phrases, context, metadata, semantic relationships, and so forth. For example, documents sharing specific terms or expressions that are directly associated with the issues can be considered as relevant data. Specific terms can include factors such as legal terms, names of involved parties, dates, specific events in a legal case, and so forth. In some implementations, relevant data includes information that, while not explicitly containing the keywords, is contextually related to the issues based on the surrounding text and the overall context in which the information appears (e.g., references to similar cases, related legal precedents, or documents that cite each other). For example, metadata, such as author, date of creation, document type, and other attributes, can be used to provide context for a particular document. Methods of identifying relevant data is further discussed with reference to FIG. 3.
[0019] As relevant data is found within the assignments, the issue tracking system 110 builds indices of the data determined to be relevant to each of the set of issues. These indices can be used to track treatment of the issues across the project's assignments, including detecting which issues have been addressed or not addressed, identifying inconsistencies or contradictions between data items related to a given issue, or identifying data that corroborates other data with respect to a given issue. The indices built by the issue tracking system 110 can enable better (e.g., more accurate, lower latency, and so forth) performance than other data mining techniques when applied to large content repositories, including RAG. For example, as the indices are built, the issue tracking system 110 can ensure that each item of data within the assignments is evaluated in order to improve the likelihood that every data item related to a given issue has been evaluated. The evaluation steps that are applied to the relevant data items are also more flexible than techniques such as RAG because they do not require vector-space matching of data items to issues. A process for generating the indices and tracking issue treatment is described with respect to FIG. 3.
[0020] The issue tracking system 110 can employ one or more LLMs 130 to identify data that is relevant to a set of issues and to analyze the treatment of these issues across the relevant data. The one or more LLMs can include commercially available, fine-tuned, or custom language models that are configured to perform language analysis and generation tasks in response to prompts received from the issue tracking system 110. In some implementations, the issue tracking system 110 uses different LLMs 130 for different aspects of issue detection and data analysis within a set of documents. For example, the issue tracking system 110 can use a less powerful but faster model to perform initial high-level analyses of large quantities of data. A more powerful and more computationally expensive model can be used to perform more complex tasks once the data has been filtered by the less powerful models. Example features of the LLMs 130 that can be used by the issue tracking system 110 are illustrated with respect to FIG. 4.
[0021] Users can use various user devices 140 to interact with the issue tracking system 110 or the document repository 120, including to add assignments to a project, define the issues against which the assignments are to be evaluated, and to view information about the data found to match the defined issues. In some cases, the user devices 140 can be used to create documents that are evaluated by the issue tracking system 110. For example, a user may conduct a deposition via a videoconferencing application executed on a user device 140, where the user device 140 or a remote application associated with the videoconferencing application generates a transcript of the deposition in real-time for concurrent or later analysis by the system 110.Example User Interfaces of the Issue Tracking System
[0022] FIGS. 2A-2F are example user interfaces illustrating a process undertaken by a user to create a project and to track issues across the project. In the example of FIGS. 2, the project is a legal case. However, similar user interfaces can facilitate issue tracking across other types of projects. The user interfaces illustrated in FIG. 2 can be generated by the issue tracking system 110 and output for display to a user via a user device 140. Implementations of the example user interfaces can include different and / or additional components or can be connected in different ways.
[0023] FIG. 2A illustrates a user interface that can be used to initiate issue tracking for a project. A user can interact with the user interface to add instructions for issues to track, where instructions can include, for example, questions that will be asked in a deposition, actions for the issue tracking system to take, or topics to which the user would like to be alerted if they are addressed in the deposition or in other events or documents related to the corresponding legal case. Example questions, actions, and alerts are illustrated in FIG. 2B.
[0024] In some implementations, a user adds instructions to a case by directly inputting the instructions to a text box on the user interfaces shown in FIGS. 2A and 2B. For example, a user can add individual instructions or can upload a list of multiple instructions (e.g., delimited by bullet points or line breaks). Some implementations of the issue tracking system can use an LLM to process inputs received from the user to generate the set of instructions that will be applied to the case. For example, a user may input a partial instruction or an input in a different format than other instructions, such as “ask about their favorite colors and alert me whenever indemnification is raised.” The issue tracking system prompts the LLM to complete or reformat the user inputs into, for example, the question “What is your favorite color?” and the alert “Indemnification.” In still other cases, a user can upload a document via the user interface that can be processed by the LLM to generate the list of instructions. For example, a user uploads a deposition outline, from which the LLM extracts the set of questions or topics the user is planning to address in a deposition and lists each question or topic as a corresponding instruction.
[0025] Users can arrange the instructions into issue groups, where one or more child issues are linked to a parent issue. For example, an issue group can be created for patent diligence for a set of patents owned by a deponent. Within the issue group is a corresponding child issue for each of the patents in the set. The child issues within an issue group can be displayed on the user interface in FIG. 2B as, for example, a collapsible group beneath the parent issue.
[0026] FIG. 2C illustrates that a user can modify flags to apply to data items that are linked to each issue. For example, the user can select one of the issues to cause the interface in FIG. 2C to be displayed. From the interface, the user can select options to apply a flag to any data item that is relevant to the associated issue, as well as properties of the flag (e.g., its color). The flag can be added within the issue tracking system's user interfaces or can be added to the underlying documents. For example, if an issue is raised during a deposition, the deposition transcript can be marked with a flag at the point at which the issue arose.
[0027] FIG. 2D illustrates a user interface for linking assignments to a project. Assignments can include any documents from the document repository 120, representing the set of content across which issue tracking should be performed for the project. When linking the assignments, the user may upload documents directly via the depicted user interface, causing the issue tracking system to store the uploaded documents in a document repository associated with the project. Alternatively, the user can select documents from a list of documents available in the document repository 120 or can link the document repository itself rather than identifying individual documents within the repository.
[0028] The issue tracking system 110 evaluates each item of data within the assignments linked by the user to identify data items that are relevant to the project's instructions. Whenever a relevant item is found, the issue tracking system can populate the item and / or an analysis of the item into a user interface. FIGS. 2E and 2F illustrate example interfaces into which data items are populated when they are found to relate to the set of issues defined by the user. The example user interfaces illustrated in these figures are populated with a deponent's statements during a deposition, either in real-time during the deposition or based on analysis of the deposition after its completion. In FIG. 2E, the user interface includes an indicator, such as a checkmark, associated with each issue that has been addressed by the deponent during the deposition. Each issue can be expanded to display the data items (e.g., sentences spoken by the deponent) that were determined to be relevant to the respective issue. In the example of FIG. 2F, the user interface also includes indicators (e.g., a warning symbol) for each issue that has been addressed in the deposition but for which the treatment of the issue contradicts other treatment of the issue found elsewhere in the deposition or in other assignments linked to the case.
[0029] Furthermore, the issue tracking system 110 can use an LLM 130 to generate an explanation of the contradiction that has been found. For example, FIG. 2F includes a text box with text generated by the LLM, stating that a contradiction was found when a deponent said he attended a different law school than he had claimed to attend in a previous deposition. In addition to or instead of identifying contradictions within the user interface, the issue tracking system 110 can populate information about corroborating data obtained during a deposition. For example, if the deponent's statements about an accident corroborate the testimony received from another witness in another deposition, the issue tracking system 110 can flag the deponent's statement and identify the testimony from the other deposition that is corroborated.
[0030] The example user interfaces illustrated in FIGS. 2E and 2F can enable a user (such as the lawyer conducting the deposition) to see, at a glance, which issues have been addressed, which have not, and where contradictions or corroborations have been found. In an example scenario, when the user interfaces are used to analyze an ongoing deposition in real-time, the user can easily determine whether to steer toward a particular line of questioning or to press further on the deponent when the deponent provides an answer to a question that is contradicted by other evidence linked to the case.Tracking Issues Across a Content Repository Using the Issue Tracking System
[0031] FIG. 3 is a flowchart illustrating a process 300 for tracking issues across a set of assignments, according to some implementations. The process 300 can be performed by a computer system such as the issue tracking system 110. Other implementations of the process 300 include additional, fewer, or different operations, or can perform the operations in different orders.
[0032] The process 300 can be iteratively performed to analyze each document that is linked to a project, until each linked document has been analyzed and indexed. Prior to the process 300 being performed, a user can initiate a project by defining the set of issues to be tracked across the linked documents. If a user adds additional issues, the issue tracking system 110 can re-execute the process 300 to identify any document related to the new issues. Similarly, the process 300 can be performed to analyze documents in real-time as the documents are created (e.g., as a transcript is generated during a meeting, deposition, or other oral proceeding) or can be performed offline on documents that have already been created.
[0033] At operation 302, the computer system receives content (e.g., a document, an image, a video, an audio file, and so forth) for analysis. For example, the computer system receives (or otherwise obtains), through a graphical user interface (GUI) of a computing device, a request including (1) a set of content from a content repository and (1) a set of predefined features against which the set of content is to be evaluated. The content can include, for example, a transcript of a deposition, a PDF or CSV file, a set of emails, or any other content in a content repository. Furthermore, the computer system can receive an entire document for analysis (e.g., a transcript of a completed deposition) or can sequentially analyze portions of a document or set of documents in real-time as data is created (e.g., by analyzing a deposition in real-time while the deposition is conducted). For documents stored in local file systems or cloud storage, the computer system can retrieve the documents using file system APIs or cloud storage APIs, respectively. In some implementations, the computer system continuously receives data chunks as the chunks are generated (e.g., during a legal deposition as the deposition occurs). The computer system can incrementally parse the incoming data at a particular increment (e.g., every X number of tokens, every five seconds, and so forth).
[0034] In response to receiving or otherwise obtaining the content in operation 302, the computer system (e.g., via the GUI) can dynamically divide the received content / document into respective items of data at operation 304. For example, a meeting or deposition transcript is divided into data items that each represent a paragraph spoken by a person in the meeting or deposition, a CSV file can be divided into data items that each represent a line of the file, while a PDF can be divided into data items that each represent a paragraph or page of the document. In some cases, the data items within a given document can overlap other data items, such as to ensure continuity of context between data items. For example, the process 300 may run periodically during real-time analysis of a deposition, such that a person may be partway through answering a question or explaining a topic at the time the person's words are transcribed and analyzed by the computer system.
[0035] To provide context to the remainder of the person's speech the next time the process 300 executes, the computer system can retain a portion of data from a previous data item within new data items that are processed. Similarly, a person speaking in a meeting or a deposition may be interrupted partway through a thought, such that a continuous thought is not captured within the same data item unless the data items overlap by some amount. The system can maintain a buffer that temporarily stores the most recent data items processed and enable the system to retain a portion of the previous data item when creating new data items. For example, if the system processes data in chunks of 30 seconds, the buffer can store the last 10 seconds of the previous chunk. When a new chunk is processed, the system can append these 10 seconds to the beginning of the new chunk so that there is an overlap between the two data items.
[0036] Each data item is assigned an identifier that enables the data item to be identified and compared to other data items. However, when items assigned sequential identifiers are processed through an LLM, current LLMs may be prone to hallucinations that reduce the performance of the issue tracking system. For example, given a set of items numbered 1, 2, 3, and 5, many LLMs will, at least at times, hallucinate the existence of an item numbered 4. These hallucinations make it difficult for the issue tracking system to determine whether the LLM is identifying a particular data item as, for example, being relevant to an issue, or whether the LLM is outputting an identifier of a data item in error. To reduce the likelihood of these hallucinations, the computer system can assign each data item a unique, non-sequential identifier, such as a random number assigned to the data item or a number computed by an encryption or hashing process such as SHA-256. The computer system can maintain a table or database that maps each unique identifier to a particular data item of a particular document. When processing portions of data assigned these unique, non-sequential identifiers, an LLM is less likely to output false identifications of hallucinated identifiers. The unique identifiers can be checked against existing identifiers to ensure that there are no duplicates. In addition to reducing hallucinations, using unique, non-sequential identifiers also improves the system's ability to handle large volumes of data. The identifiers can be distributed across multiple processing nodes or servers, enabling parallel processing and improved scalability. The mapping table can be replicated and / or partitioned across the nodes / servers.
[0037] At operation 306, the computer system processes each data item through an LLM by prompting the LLM to evaluate whether a data item is relevant or not relevant to the set of issues defined by the user. For example, the system can, via a GUI, construct a prompt for the LLM that includes the text of the data item and a description of the issues to be evaluated. The system can transmit the set of data items into one or more input layers of a first set of AI models (e.g., an LLM) to receive, from one or more output layers of the first set of AI models, a selected set of data items (e.g., those determined to be relevant). The LLM can be configured to identify, for each particular data item of the set of data items, a degree of presence of each feature of the set of predefined features within the particular data item. As responses are returned from the LLM, the computer system determines whether a response has been received for each data item. If the LLM does not return a relevance classification for one of the data items, the computer system prompts the LLM to evaluate the data item again. The relevance classification can be in the form of a binary decision (e.g., relevant / not relevant) or a more nuanced score (e.g., categorical labels, scaled classification) indicating the degree of relevance. In some implementations, the system may use multiple AI models or different versions of the same LLM to cross-validate the responses. By comparing the outputs from different models, the system can determine a final relevance classification using, for example, an average, a majority vote, and other decision-making mechanisms.
[0038] In some implementations, the system can convert the data items (including text, audio, video, image, and so forth) and / or issues into a numerical representation (i.e., a vector embedding) to break the data items and / or issues into smaller units (i.e., tokens). Each token can be then mapped to a high-dimensional vector in a continuous vector space. The vector embeddings of the data items capture the semantic meaning of the tokens and can be compared to the embeddings of the predefined issues using a similarity measure, such as cosine similarity, which calculates the angle between the vectors in the high-dimensional space. A higher similarity score can indicate a greater degree of relevance of the data item to the issue.
[0039] After data items have been generally categorized as relevant or not relevant to a set of issues, the computer system processes those data items labeled as relevant through an LLM in a second stage of analysis, at operation 308 in FIG. 3. In the second stage, the computer system prompts the LLM (or other AI model) to confirm that each data item is relevant to an issue in the set of issues, and, if confirmed, to identify one or more issues to which the data item is relevant. For example, the system transmits, using the GUI, the selected set of data items (e.g., those classified as relevant) into one or more input layers of a second set of AI models (such as a same or different LLM) to receive, from one or more output layers of the second set of AI models, a mapping between each data item of the selected set of data items and one or more features of the set of predefined features. Each mapping can be determined in response to a corresponding degree of presence (e.g., relevance) satisfying a particular threshold. The second set of AI models can be the same as or different from the first set of AI models.
[0040] For example, the system can construct a prompt including indicators of the predefined issues, but expand on the initial issue definitions provided by the user. To map the data item to specific issues, the system can raise the threshold of similarity between features (e.g., vectors) during this second stage of analysis. By increasing the similarity threshold, the system ensures that only data items with a higher degree of relevance are identified as matching the issues. In some implementations, in the first stage, a lower similarity threshold can be used to broadly categorize data items as relevant or not relevant and capture a wide range of potentially relevant items. In the second stage, the higher threshold can ensure that only more relevant data items are linked to specific issues.
[0041] The result after operation 308 and iteration of the process 300 over any document linked to a project is an index that maps issues to portions of documents that address these issues.
[0042] Using the index, the computer system instructs an AI model (e.g., a model from the first or second set of AI models) such as an LLM to compare the data items linked to each issue at operation 310. The LLM can be asked to evaluate, for example, whether any of the data items relevant to an issue contradict each other. A contradiction can occur when two or more data items provide conflicting information about the same fact or issue. For instance, if one data item states that “the defendant delivered the software on time,” while another data item states that “the defendant failed to deliver the software on time,” these statements are contradictory. If a contradiction is found, the computer system can prompt the LLM to generate an explanation of how the data items conflict (e.g., the nature of the contradiction and / or the specific statements that are in opposition).
[0043] Similarly, a third set of AI models (same as or different from the first and second sets of AI models) such as an LLM can be asked to generate explanations for how data items corroborate each other, explanations for how a data item fails to completely address an issue, or other explanations that describe, in natural language, how a given data item relates to other data items or to the issues. Corroboration can occur when two or more data items provide consistent and supportive information about the same fact or issue. For example, if one data item states that “the defendant delivered the software on time,” and another data item from a different source also states that “the software was delivered on the agreed date,” these statements corroborate each other. The computer system can prompt the LLM to generate explanations that describes a degree of alignment between the statements.
[0044] Finally, a user interface (e.g., a GUI) can be populated, at operation 312, based on the data items found to be relevant to each issue. The user interface can include an indicator (e.g., a graphical representation) of the data items that are relevant to the issue as well as an indicator (e.g., a graphical representation) of how each data item relates to other data items linked to the same issue, including, for example, any natural language explanations of the data item generated by the LLM. The user interface can include a graphical layout indicating the contradiction and / or the corroboration (if any). For example, data items that corroborate each other can be marked with a green checkmark, while those that contradict each other can be highlighted with a red warning symbol.
[0045] The user interface can dynamically determine display attributes of the graphical layout. For example, corroborations and contradictions can be displayed differently (e.g., contradictions are displayed using a first set of display attributes and corroborations are displayed using a second set of display attributes). Display attributes can include values associated with, for example, a color, a shape, a symbol, a pattern, an image, a set of text, a size, a font style, and / or an opacity level of the graphical representations (e.g., of the data items themselves, of an indication of the comparison, and so forth) on the graphical layout. Examples of different display attributes are further discussed with reference to FIG. 2C. Interactive elements such as buttons, sliders, checkboxes, and so forth enable users to customize the display attributes in real-time or near real-time. For example, tooltips and / or pop-up windows can display the generated explanations when users hover over or click on specific data items to clarify the nature of the corroboration or contradiction.
[0046] In some implementations, a feedback loop in the user interface enables users to provide feedback on, for example, the relevance and accuracy of the data items and / or explanations presented by the system. For example, users can flag data items that they believe are incorrectly classified, provide comments on the explanations generated by the LLM, and / or suggest additional context that is relevant. This user feedback can be used by the system to identify patterns and parameters to adjust within one or more of the models used. For example, if multiple users consistently flag certain types of data items as irrelevant or incorrect, which may indicate a potential weakness in the model's ability to accurately classify those particular data items, the system can use the feedback to retrain the models by, for example, updating the training data with the user feedback, adjusting the model parameters, and so forth.Example Large Language Models Used by the Issue Tracking System
[0047] To assist in understanding the present disclosure, some concepts relevant to neural networks and machine learning (ML) are discussed herein. Generally, a neural network comprises a number of computation units (sometimes referred to as “neurons”). Each neuron receives an input value and applies a function to the input to generate an output value. The function typically includes a parameter (also referred to as a “weight”) whose value is learned through the process of training. A plurality of neurons may be organized into a neural network layer (or simply “layer”) and there may be multiple such layers in a neural network. The output of one layer may be provided as input to a subsequent layer. Thus, input to a neural network may be processed through a succession of layers until an output of the neural network is generated by a final layer. This is a simplistic discussion of neural networks and there may be more complex neural network designs that include feedback connections, skip connections, and / or other such possible connections between neurons and / or layers, which are not discussed in detail here.
[0048] A deep neural network (DNN) is a type of neural network having multiple layers and / or a large number of neurons. The term DNN can encompass any neural network having multiple layers, including convolutional neural networks (CNNs), recurrent neural networks (RNNs), multilayer perceptrons (MLPs), Generative Adversarial Networks (GANs), Variational Autoencoders (VAEs), and Auto-regressive Models, among others.
[0049] DNNs are often used as ML-based models for modeling complex behaviors (e.g., human language, image recognition, object classification, etc.) in order to improve the accuracy of outputs (e.g., more accurate predictions) such as, for example, as compared with models with fewer layers. In the present disclosure, the term “ML-based model” or more simply “ML model” may be understood to refer to a DNN. Training an ML model refers to a process of learning the values of the parameters (or weights) of the neurons in the layers such that the ML model is able to model the target behavior to a desired degree of accuracy. Training typically requires the use of a training dataset, which is a set of data that is relevant to the target behavior of the ML model.
[0050] As an example, to train an ML model that is intended to model human language (also referred to as a “language model”), the training dataset may be a collection of text documents, referred to as a “text corpus” (or simply referred to as a “corpus”). The corpus may represent a language domain (e.g., a single language), a subject domain (e.g., scientific papers), and / or may encompass another domain or domains, be they larger or smaller than a single language or subject domain. For example, a relatively large, multilingual, and non-subject-specific corpus can be created by extracting text from online webpages and / or publicly available social media posts. Training data can be annotated with ground truth labels (e.g., each data entry in the training dataset can be paired with a label) or may be unlabeled.
[0051] Training an ML model generally involves inputting into an ML model (e.g., an untrained ML model) training data to be processed by the ML model, processing the training data using the ML model, collecting the output generated by the ML model (e.g., based on the inputted training data), and comparing the output to a desired set of target values. If the training data is labeled, the desired target values may be, e.g., the ground truth labels of the training data. If the training data is unlabeled, the desired target value may be a reconstructed (or otherwise processed) version of the corresponding ML model input (e.g., in the case of an autoencoder), or can be a measure of some target observable effect on the environment (e.g., in the case of a reinforcement learning agent). The parameters of the ML model are updated based on a difference between the generated output value and the desired target value. For example, if the value outputted by the ML model is excessively high, the parameters may be adjusted so as to lower the output value in future training iterations. An objective function is a way to quantitatively represent how close the output value is to the target value. An objective function represents a quantity (or one or more quantities) to be optimized (e.g., minimize a loss or maximize a reward) in order to bring the output value as close to the target value as possible. The goal of training the ML model typically is to minimize a loss function or maximize a reward function.
[0052] The training data can be a subset of a larger data set. For example, a data set may be split into three mutually exclusive subsets: a training set, a validation (or cross-validation) set, and a testing set. The three subsets of data may be used sequentially during ML model training. For example, the training set may be first used to train one or more ML models, each ML model, e.g., having a particular architecture, having a particular training procedure, being describable by a set of model hyperparameters, and / or otherwise being varied from the other of the one or more ML models. The validation (or cross-validation) set may then be used as input data into the trained ML models to, e.g., measure the performance of the trained ML models and / or compare performance between them. Where hyperparameters are used, a new set of hyperparameters can be determined based on the measured performance of one or more of the trained ML models, and the first step of training (e.g., with the training set) may begin again on a different ML model described by the new set of determined hyperparameters. In this way, these steps can be repeated to produce a more performant trained ML model. Once such a trained ML model is obtained (e.g., after the hyperparameters have been adjusted to achieve a desired level of performance), a third step of collecting the output generated by the trained ML model applied to the third subset (the testing set) may begin. The output generated from the testing set may be compared with the corresponding desired target values to give a final assessment of the trained ML model's accuracy. Other segmentations of the larger data set and / or schemes for using the segments for training one or more ML models are possible.
[0053] Backpropagation is an algorithm for training an ML model. Backpropagation is used to adjust (e.g., update) the value of the parameters in the ML model, with the goal of optimizing the objective function. For example, a defined loss function is calculated by forward propagation of an input to obtain an output of the ML model and a comparison of the output value with the target value. Backpropagation calculates a gradient of the loss function with respect to the parameters of the ML model, and a gradient algorithm (e.g., gradient descent) is used to update (e.g., “learn”) the parameters to reduce the loss function. Backpropagation is performed iteratively so that the loss function is converged or minimized. Other techniques for learning the parameters of the ML model can be used. The process of updating (or learning) the parameters over many iterations is referred to as training. Training may be carried out iteratively until a convergence condition is met (e.g., a predefined maximum number of iterations has been performed, or the value outputted by the ML model is sufficiently converged with the desired target value), after which the ML model is considered to be sufficiently trained. The values of the learned parameters can then be fixed and the ML model may be deployed to generate output in real-world applications (also referred to as “inference”).
[0054] In some examples, a trained ML model may be fine-tuned, meaning that the values of the learned parameters may be adjusted slightly in order for the ML model to better model a specific task. Fine-tuning of an ML model typically involves further training the ML model on a number of data samples (which may be smaller in number / cardinality than those used to train the model initially) that closely target the specific task. For example, an ML model for generating natural language that has been trained generically on publicly available text corpora may be, e.g., fine-tuned by further training using specific training samples. The specific training samples can be used to generate language in a certain style or in a certain format. For example, the ML model can be trained to generate a blog post having a particular style and structure with a given topic.
[0055] Some concepts in ML-based language models are now discussed. It may be noted that, while the term “language model” has been commonly used to refer to an ML-based language model, there could exist non-ML language models. In the present disclosure, the term “language model” can refer to an ML-based language model (e.g., a language model that is implemented using a neural network or other ML architecture), unless stated otherwise. For example, unless stated otherwise, the “language model” encompasses LLMs.
[0056] A language model can use a neural network (typically a DNN) to perform natural language processing (NLP) tasks. A language model can be trained to model how words relate to each other in a textual sequence, based on probabilities. A language model may contain hundreds of thousands of learned parameters or, in the case of an LLM, can contain millions or billions of learned parameters or more. As non-limiting examples, a language model can generate text, translate text, summarize text, answer questions, write code (e.g., Python, JavaScript, or other programming languages), classify text (e.g., to identify spam emails), create content for various purposes (e.g., social media content, factual content, or marketing content), or create personalized content for a particular individual or group of individuals. Language models can also be used for chatbots (e.g., virtual assistance).
[0057] A type of neural network architecture, referred to as a “transformer,” can be used for language models. For example, the Bidirectional Encoder Representations from Transformers (BERT) model, the Transformer-XL model, and the Generative Pre-trained Transformer (GPT) models are types of transformers. A transformer is a type of neural network architecture that uses self-attention mechanisms in order to generate predicted output based on input data that has some sequential meaning (i.e., the order of the input data is meaningful, which is the case for most text input). Although transformer-based language models are described herein, it should be understood that the present disclosure may be applicable to any ML-based language model, including language models based on other neural network architectures such as recurrent neural network (RNN)-based language models.
[0058] FIG. 4 is a block diagram 400 of an example transformer 412. A transformer is a type of neural network architecture that uses self-attention mechanisms to generate predicted output based on input data that has some sequential meaning (e.g., the order of the input data is meaningful, which is the case for most text input). Self-attention is a mechanism that relates different positions of a single sequence to compute a representation of the same sequence. Although transformer-based language models are described herein, the present disclosure may be applicable to any ML-based language model, including language models based on other neural network architectures such as recurrent neural network (RNN)-based language models.
[0059] The transformer 412 includes an encoder 408 (which can include one or more encoder layers / blocks connected in series) and a decoder 410 (which can include one or more decoder layers / blocks connected in series). Generally, the encoder 408 and the decoder 410 each include multiple neural network layers, at least one of which can be a self-attention layer. The parameters of the neural network layers can be referred to as the parameters of the language model.
[0060] The transformer 412 can be trained to perform certain functions on a natural language input. Examples of the functions include summarizing existing content, brainstorming ideas, writing a rough draft, fixing spelling and grammar, and translating content. Summarizing can include extracting key points or themes from an existing content in a high-level summary. Brainstorming ideas can include generating a list of ideas based on provided input. For example, the ML model can generate a list of names for a startup or costumes for an upcoming party. Writing a rough draft can include generating writing in a particular style that could be useful as a starting point for the user's writing. The style can be identified as, e.g., an email, a blog post, a social media post, or a poem. Fixing spelling and grammar can include correcting errors in an existing input text. Translating can include converting an existing input text into a variety of different languages. In some implementations, the transformer 412 is trained to perform certain functions on other input formats than natural language input. For example, the input can include objects, images, audio content, or video content, or a combination thereof.
[0061] The transformer 412 can be trained on a text corpus that is labeled (e.g., annotated to indicate verbs, nouns) or unlabeled. LLMs can be trained on a large unlabeled corpus. The term “language model,” as used herein, can include an ML-based language model (e.g., a language model that is implemented using a neural network or other ML architecture), unless stated otherwise. Some LLMs can be trained on a large multi-language, multi-domain corpus to enable the model to be versatile at a variety of language-based tasks such as generative tasks (e.g., generating human-like natural language responses to natural language input).
[0062] FIG. 4 illustrates an example of how the transformer 412 can process textual input data. Input to a language model (whether transformer-based or otherwise) typically is in the form of natural language that can be parsed into tokens. The term “token” in the context of language models and NLP has a different meaning from the use of the same term in other contexts such as data security. Tokenization, in the context of language models and NLP, refers to the process of parsing textual input (e.g., a character, a word, a phrase, a sentence, a paragraph) into a sequence of shorter segments that are converted to numerical representations referred to as tokens (or “compute tokens”). Typically, a token can be an integer that corresponds to the index of a text segment (e.g., a word) in a vocabulary dataset. Often, the vocabulary dataset is arranged by frequency of use. Commonly occurring text, such as punctuation, can have a lower vocabulary index in the dataset and thus be represented by a token having a smaller integer value than less commonly occurring text. Tokens frequently correspond to words, with or without white space appended. In some implementations, a token can correspond to a portion of a word.
[0063] For example, the word “greater” can be represented by a token for [great] and a second token for [er]. In another example, the text sequence “write a summary” can be parsed into the segments [write], [a], and [summary], each of which can be represented by a respective numerical token. In addition to tokens that are parsed from the textual sequence (e.g., tokens that correspond to words and punctuation), there can also be special tokens to encode non-textual information. For example, a [CLASS] token can be a special token that corresponds to a classification of the textual sequence (e.g., can classify the textual sequence as a list, a paragraph), an [EOT] token can be another special token that indicates the end of the textual sequence, other tokens can provide formatting information, etc.
[0064] In FIG. 4, a short sequence of tokens 402 corresponding to the input text is illustrated as input to the transformer 412. Tokenization of the text sequence into the tokens 402 can be performed by some pre-processing tokenization module such as, for example, a byte-pair encoding tokenizer (the “pre” referring to the tokenization occurring prior to the processing of the tokenized input by the LLM), which is not shown in FIG. 4 for brevity. In general, the token sequence that is inputted to the transformer 412 can be of any length up to a maximum length defined based on the dimensions of the transformer 412. Each token 402 in the token sequence is converted into an embedding vector 406 (also referred to as “embedding 406”).
[0065] An embedding 406 is a learned numerical representation (such as, for example, a vector) of a token that captures some semantic meaning of the text segment represented by the token 402. The embedding 406 represents the text segment corresponding to the token 402 in a way such that embeddings corresponding to semantically related text are closer to each other in a vector space than embeddings corresponding to semantically unrelated text. For example, assuming that the words “write,”“a,” and “summary” each correspond to, respectively, a “write” token, an “a” token, and a “summary” token when tokenized, the embedding 406 corresponding to the “write” token will be closer to another embedding corresponding to the “jot down” token in the vector space as compared to the distance between the embedding 406 corresponding to the “write” token and another embedding corresponding to the “summary” token.
[0066] The vector space can be defined by the dimensions and values of the embedding vectors. Various techniques can be used to convert a token 402 to an embedding 406. For example, another trained ML model can be used to convert the token 402 into an embedding 406. In particular, another trained ML model can be used to convert the token 402 into an embedding 406 in a way that encodes additional information into the embedding 406 (e.g., a trained ML model can encode positional information about the position of the token 402 in the text sequence into the embedding 406). In some implementations, the numerical value of the token 402 can be used to look up the corresponding embedding in an embedding matrix 404, which can be learned during training of the transformer 412.
[0067] The generated embeddings 406 are input into the encoder 408. The encoder 408 serves to encode the embeddings 406 into feature vectors 414 that represent the latent features of the embeddings 406. The encoder 408 can encode positional information (i.e., information about the sequence of the input) in the feature vectors 414. The feature vectors 414 can have very high dimensionality (e.g., on the order of thousands or tens of thousands), with each element in a feature vector 414 corresponding to a respective feature. The numerical weight of each element in a feature vector 414 represents the importance of the corresponding feature. The space of all possible feature vectors 414 that can be generated by the encoder 408 can be referred to as a latent space or feature space.
[0068] Conceptually, the decoder 410 is designed to map the features represented by the feature vectors 414 into meaningful output, which can depend on the task that was assigned to the transformer 412. For example, if the transformer 412 is used for a translation task, the decoder 410 can map the feature vectors 414 into text output in a target language different from the language of the original tokens 402. Generally, in a generative language model, the decoder 410 serves to decode the feature vectors 414 into a sequence of tokens. The decoder 410 can generate output tokens 416 one by one. Each output token 416 can be fed back as input to the decoder 410 in order to generate the next output token 416. By feeding back the generated output and applying self-attention, the decoder 410 can generate a sequence of output tokens 416 that has sequential meaning (e.g., the resulting output text sequence is understandable as a sentence and obeys grammatical rules). The decoder 410 can generate output tokens 416 until a special [EOT] token (indicating the end of the text) is generated. The resulting sequence of output tokens 416 can then be converted to a text sequence in post-processing. For example, each output token 416 can be an integer number that corresponds to a vocabulary index. By looking up the text segment using the vocabulary index, the text segment corresponding to each output token 416 can be retrieved, the text segments can be concatenated together, and the final output text sequence can be obtained.
[0069] In some implementations, the input provided to the transformer 412 includes instructions to perform a function on an existing text. The output can include, for example, a modified version of the input text and instructions to modify the text. The modification can include summarizing, translating, correcting grammar or spelling, changing the style of the input text, lengthening or shortening the text, or changing the format of the text (e.g., adding bullet points or checkboxes). As an example, the input text can include meeting notes prepared by a user and the output can include a high-level summary of the meeting notes. In other examples, the input provided to the transformer includes a question or a request to generate text. The output can include a response to the question, text associated with the request, or a list of ideas associated with the request. For example, the input can include the question “What is the weather like in San Francisco?” and the output can include a description of the weather in San Francisco. As another example, the input can include a request to brainstorm names for a flower shop and the output can include a list of relevant names.
[0070] Although a general transformer architecture for a language model and its theory of operation have been described above, this is not intended to be limiting. Existing language models include language models that are based only on the encoder of the transformer or only on the decoder of the transformer. An encoder-only language model encodes the input text sequence into feature vectors that can then be further processed by a task-specific layer (e.g., a classification layer). BERT is an example of a language model that can be considered to be an encoder-only language model. A decoder-only language model accepts embeddings as input and can use auto-regression to generate an output text sequence. Transformer-XL and GPT-type models can be language models that are considered to be decoder-only language models.
[0071] Because GPT-type language models tend to have a large number of parameters, these language models can be considered LLMs. An example of a GPT-type LLM is GPT-3. GPT-3 is a type of GPT language model that has been trained (in an unsupervised manner) on a large corpus derived from documents available online to the public. GPT-3 has a very large number of learned parameters (on the order of hundreds of billions), can accept a large number of tokens as input (e.g., up to 2,048 input tokens), and is able to generate a large number of tokens as output (e.g., up to 2,048 tokens). GPT-3 has been trained as a generative model, meaning that it can process input text sequences to predictively generate a meaningful output text sequence. ChatGPT is built on top of a GPT-type LLM and has been fine-tuned with training datasets based on text-based chats (e.g., chatbot conversations). ChatGPT is designed for processing natural language, receiving chat-like inputs, and generating chat-like outputs.
[0072] A computer system can access a remote language model (e.g., a cloud-based language model), such as ChatGPT or GPT-3, via a software interface (e.g., an API). Additionally or alternatively, such a remote language model can be accessed via a network such as the Internet. In some implementations, such as, for example, potentially in the case of a cloud-based language model, a remote language model can be hosted by a computer system that can include a plurality of cooperating (e.g., cooperating via a network) computer systems that can be in, for example, a distributed arrangement. Notably, a remote language model can employ multiple processors (e.g., hardware processors such as, for example, processors of cooperating computer systems). Indeed, processing of inputs by an LLM can be computationally expensive / can involve a large number of operations (e.g., many instructions can be executed / large data structures can be accessed from memory), and providing output in a required timeframe (e.g., real time or near real time) can require the use of a plurality of processors / cooperating computing devices as discussed above.
[0073] Inputs to an LLM can be referred to as a prompt, which is a natural language input that includes instructions to the LLM to generate a desired output. A computer system can generate a prompt that is provided as input to the LLM via an API. As described above, the prompt can optionally be processed or pre-processed into a token sequence prior to being provided as input to the LLM via its API. A prompt can include one or more examples of the desired output, which provides the LLM with additional information to enable the LLM to generate output according to the desired output. Additionally or alternatively, the examples included in a prompt can provide inputs (e.g., example inputs) corresponding to / as can be expected to result in the desired outputs provided. A one-shot prompt refers to a prompt that includes one example, and a few-shot prompt refers to a prompt that includes multiple examples. A prompt that includes no examples can be referred to as a zero-shot prompt.Example Computer System Used by the Issue Tracking System
[0074] FIG. 5 is a block diagram that illustrates an example of a computer system 500 in which at least some operations described herein can be implemented. As shown, the computer system 500 can include: one or more processors 502, main memory 505, non-volatile memory 510, a network interface device 512, a display device 518, an input / output device 520, a control device 522 (e.g., keyboard and pointing device), a drive unit 524 that includes a machine readable (storage) medium 525, and a signal generation device 530 that are communicatively connected to a bus 515. The bus 515 represents one or more physical buses and / or point-to-point connections that are connected by appropriate bridges, adapters, or controllers. Various common components (e.g., cache memory) are omitted from FIG. 5 for brevity. Instead, the computer system 500 is intended to illustrate a hardware device on which components illustrated or described relative to the examples of the figures and any other components described in this specification can be implemented.
[0075] The computer system 500 can take any suitable physical form. For example, the computer system 500 can share a similar architecture as that of a server computer, personal computer (PC), tablet computer, mobile telephone, wearable electronic device, network-connected (“smart”) device (e.g., a television or home assistant device), AR / VR system (e.g., head-mounted display), or any electronic device capable of executing a set of instructions that specify action(s) to be taken by the computer system 500. In some implementations, the computer system 500 can be an embedded computer system, a system-on-chip (SOC), a single-board computer (SBC) system, or a distributed system such as a mesh of computer systems or include one or more cloud components in one or more networks. Where appropriate, one or more computer systems 500 can perform operations in real time, near real time, or in batch mode.
[0076] The network interface device 512 enables the computer system 500 to mediate data in a network 514 with an entity that is external to the computer system 500 through any communication protocol supported by the computer system 500 and the external entity. Examples of the network interface device 512 include a network adapter card, a wireless network interface card, a router, an access point, a wireless router, a switch, a multilayer switch, a protocol converter, a gateway, a bridge, bridge router, a hub, a digital media receiver, and / or a repeater, as well as all wireless elements noted herein.
[0077] The memory (e.g., main memory 505, non-volatile memory 510, machine-readable medium 525) can be local, remote, or distributed. Although shown as a single medium, the machine-readable medium 525 can include multiple media (e.g., a centralized / distributed database and / or associated caches and servers) that store one or more sets of instructions 528. The machine-readable medium 525 can include any medium that is capable of storing, encoding, or carrying a set of instructions for execution by the computer system 500. The machine-readable medium 525 can be non-transitory or comprise a non-transitory device. In this context, a non-transitory storage medium can include a device that is tangible, meaning that the device has a concrete physical form, although the device can change its physical state. Thus, for example, non-transitory refers to a device remaining tangible despite this change in state.
[0078] Although implementations have been described in the context of fully functioning computing devices, the various examples are capable of being distributed as a program product in a variety of forms. Examples of machine-readable storage media, machine-readable media, or computer-readable media include recordable-type media such as volatile and non-volatile memory devices 510, removable flash memory, hard disk drives, optical disks, and transmission-type media such as digital and analog communication links.
[0079] In general, the routines executed to implement examples herein can be implemented as part of an operating system or a specific application, component, program, object, module, or sequence of instructions (collectively referred to as “computer programs”). The computer programs typically comprise one or more instructions (e.g., instructions 504, 508, 528) set at various times in various memory and storage devices in computing device(s). When read and executed by the processor 502, the instruction(s) cause the computer system 500 to perform operations to execute elements involving the various aspects of the disclosure.REMARKS
[0080] The terms “example,”“embodiment,” and “implementation” are used interchangeably. For example, references to “one example” or “an example” in the disclosure can be, but not necessarily are, references to the same implementation; and such references mean at least one of the implementations. The appearances of the phrase “in one example” are not necessarily all referring to the same example, nor are separate or alternative examples mutually exclusive of other examples. A feature, structure, or characteristic described in connection with an example can be included in another example of the disclosure. Moreover, various features are described that can be exhibited by some examples and not by others. Similarly, various requirements are described that can be requirements for some examples but not other examples.
[0081] The terminology used herein should be interpreted in its broadest reasonable manner, even though it is being used in conjunction with certain specific examples of the invention. The terms used in the disclosure generally have their ordinary meanings in the relevant technical art, within the context of the disclosure, and in the specific context where each term is used. A recital of alternative language or synonyms does not exclude the use of other synonyms. Special significance should not be placed upon whether or not a term is elaborated or discussed herein. The use of highlighting has no influence on the scope and meaning of a term. Further, it will be appreciated that the same thing can be said in more than one way.
[0082] Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,”“comprising,” and the like are to be construed in an inclusive sense, as opposed to an exclusive or exhaustive sense; that is to say, in the sense of “including, but not limited to.” As used herein, the terms “connected,”“coupled,” or any variant thereof means any connection or coupling, either direct or indirect, between two or more elements; the coupling or connection between the elements can be physical, logical, or a combination thereof. Additionally, the words “herein,”“above,”“below,” and words of similar import can refer to this application as a whole and not to any particular portions of this application. Where context permits, words in the Detailed Description above using the singular or plural number may also include the plural or singular number respectively. The word “or” in reference to a list of two or more items covers all of the following interpretations of the word: any of the items in the list, all of the items in the list, and any combination of the items in the list. The term “module” refers broadly to software components, firmware components, and / or hardware components.
[0083] While specific examples of technology are described above for illustrative purposes, various equivalent modifications are possible within the scope of the invention, as those skilled in the relevant art will recognize. For example, while processes or blocks are presented in a given order, alternative implementations can perform routines having steps, or employ systems having blocks, in a different order, and some processes or blocks may be deleted, moved, added, subdivided, combined, and / or modified to provide alternative or sub-combinations. Each of these processes or blocks can be implemented in a variety of different ways. Also, while processes or blocks are at times shown as being performed in series, these processes or blocks can instead be performed or implemented in parallel, or can be performed at different times. Further, any specific numbers noted herein are only examples such that alternative implementations can employ differing values or ranges.
[0084] Details of the disclosed implementations can vary considerably in specific implementations while still being encompassed by the disclosed teachings. As noted above, particular terminology used when describing features or aspects of the invention should not be taken to imply that the terminology is being redefined herein to be restricted to any specific characteristics, features, or aspects of the invention with which that terminology is associated. In general, the terms used in the following claims should not be construed to limit the invention to the specific examples disclosed herein, unless the Detailed Description above explicitly defines such terms. Accordingly, the actual scope of the invention encompasses not only the disclosed examples but also all equivalent ways of practicing or implementing the invention under the claims. Some alternative implementations can include additional elements to those implementations described above or include fewer elements.
[0085] Any patents and applications and other references noted above, and any that may be listed in accompanying filing papers, are incorporated herein by reference in their entireties, except for any subject matter disclaimers or disavowals, and except to the extent that the incorporated material is inconsistent with the express disclosure herein, in which case the language in this disclosure controls. Aspects of the invention can be modified to employ the systems, functions, and concepts of the various references described above to provide yet further implementations of the invention.
[0086] To reduce the number of claims, certain implementations are presented below in certain claim forms, but the applicant contemplates various aspects of an invention in other forms. For example, aspects of a claim can be recited in a means-plus-function form or in other forms, such as being embodied in a computer-readable medium. A claim intended to be interpreted as a mean-plus-function claim will use the words “means for.” However, the use of the term “for” in any other context is not intended to invoke a similar interpretation. The applicant reserves the right to pursue such additional claim forms in either this application or in a continuing application.
Claims
1. A computer-implemented method for tracking features across content repositories, the method comprising:receiving, through a user interface of a computing device, (1) a set of documents from a document repository and (2) a set of predefined features against which the set of documents is to be evaluated;mapping the received set of documents to a set of data items, each data item including one or more portions of the received set of documents;generating a dynamic index that maps each data item in the set of data items to one or more predefined features by:assigning each data item in the set of data items a unique non-sequential identifier,determining, using a first set of large language models (LLMs) and based on the unique non-sequential identifier for each data item, a selected set of data items from the set of data items by identifying, for each particular data item of the set of data items, a degree of presence of each feature of the set of predefined features within the particular data item, andgenerating, using a second set of LLMs and based on the unique non-sequential identifier for each data item, a data structure storing a mapping of each data item of the selected set of data items to one or more features of the set of predefined features having a corresponding degree of presence that satisfies a particular threshold;comparing, using the dynamic index, one or more pairs of data items mapped to a common feature of the set of predefined features to identify a relationship between a corresponding pair of data items that indicates at least one of: (1) a contradiction or (2) a corroboration; andpopulating the user interface of the computing device with a representation indicative of the comparison.
2. The method of claim 1,wherein the unique non-sequential item identifier is configured to reduce hallucinations within one or more of: the first set of LLMs or the second set of LLMs.
3. The method of claim 1,wherein the comparison is performed using a third set of LLMs, andwherein the third set of LLMs are configured to output (1) an identifier indicating at least one of: the contradiction or the corroboration and (2) a set of natural language explanations associated with at least one of: the contradiction or the corroboration.
4. The method of claim 1, wherein the first set of LLMs and the second set of LLMs are the same.
5. The method of claim 1, wherein the first set of LLMs and the second set of LLMs are different.
6. The method of claim 1,wherein the comparison identifies a contradiction between the corresponding pair of data items,wherein the contradiction indicates (1) a first data item of the corresponding pair of data items including a first statement about a fact and (2) a second data item of the corresponding pair of data items including a second statement about the same fact, andwherein the first statement and the second statement are different.
7. The method of claim 1,wherein the set of predefined features is structured into a set of feature groups including (1) a set of child features and (2) a set of parent features,wherein one or more child features of the set of child features are linked to a corresponding parent feature within each feature group, andwherein the one or more child features are displayed on the user interface as a collapsible interface element beneath the corresponding parent feature.
8. A computing system comprising:at least one processor; andone or more non-transitory computer-readable media storing instructions, which when executed by the at least one processor, perform operations comprising:obtaining, through an interface of a computing device, (1) a set of content from a content repository and (2) a set of predefined features against which the set of content is to be evaluated;linking the obtained set of content to a set of data items, each data item including one or more portions of the obtained set of content;generating a dynamic index that links each data item in the set of data items to one or more predefined features by:assigning each data item in the set of data items a unique non-sequential identifier,determining, using a first set of large language models (LLMs) and based on the unique non-sequential identifier for each data item, a selected set of data items from the set of data items by identifying, for each particular data item of the set of data items, a degree of presence of each feature of the set of predefined features within the particular data item, andgenerating, using a second set of LLMs and based on the unique non-sequential identifier for each data item, a data structure storing a linkage of each data item of the selected set of data items to one or more features of the set of predefined features having a corresponding degree of presence that satisfies a particular threshold;identifying a relationship between a corresponding pair of data items that indicates at least one of: (1) a contradiction or (2) a corroboration by comparing, using the dynamic index, one or more pairs of data items linked to a common feature of the set of predefined features; andpopulating the interface of the computing device with a representation indicative of the relationship between the corresponding pair of data items.
9. The computing system of claim 8,wherein the comparison identifies a corroboration between the one or more pairs of data items,wherein the corroboration indicates (1) a first data item of the one or more pairs of data items including a first statement about a fact and (2) a second data item of the one or more pairs of data items including a second statement about the same fact, andwherein the first statement and the second statement are the same.
10. The computing system of claim 8, wherein the set of content comprises at least one of: a transcript, a Portable Document Format (PDF) file, a comma-separated values (CSV) file, a slide deck, an email, an image, a video recording, an audio recording, a source code file, a system log, a webpage, or a social media post.
11. The computing system of claim 8, wherein the set of content is received by receiving, via the interface of the computing device, a subset of a set of available content in the content repository.
12. The computing system of claim 8, wherein the set of predefined features is received by at least one of:receiving a user input indicative of the set of predefined features via a text input element of the interface, orparsing, using a third set of AI models, an input document to extract the set of predefined features.
13. The computing system of claim 8, wherein the operations further comprise:establishing, using a set of application programming interface (API) calls, at least one connection to one or more external content sources including at least one of: eDiscovery platforms, social media platforms, or cloud storage systems; andpopulating content from the one or more external content sources into the content repository.
14. A non-transitory, computer-readable storage medium comprising instructions thereon for tracking features across content repositories, wherein the instructions when executed by at least one data processor of a system, cause the system to:access, through an interface of a computing device, (1) a set of content from a content repository and (2) a set of predefined features against which the set of content is to be evaluated;associate the accessed set of content with a set of data items, each data item including one or more portions of the accessed set of content;generate a dynamic index that associates each data item in the set of data items with one or more predefined features by:assigning each data item in the set of data items a unique non-sequential identifier,determining, using a first set of large language models (LLMs) and based on the unique non-sequential identifier for each data item, a selected set of data items from the set of data items by identifying, for each particular data item of the set of data items, a degree of presence of each feature of the set of predefined features within the particular data item, andgenerating, using a second set of LLMs and based on the unique non-sequential identifier for each data item, a data structure storing an association of each data item of the selected set of data items with one or more features of the set of predefined features having a corresponding degree of presence that satisfies a particular threshold;identify a relationship between a corresponding pair of data items that indicates at least one of: (1) a contradiction or (2) a corroboration by comparing, using the dynamic index, one or more pairs of data items associated with a common feature of the set of predefined features; andpopulate the interface of the computing device with a representation indicative of the relationship between the corresponding pair of data items.
15. The non-transitory, computer-readable storage medium of claim 14, wherein the instructions further cause the system to:determine a set of computational requirements for each data item of the set of data items; andselect a particular AI model of the set of AI models for each data item of the set of data items by comparing (1) a corresponding set of computational requirements of the data item and (2) a set of computational abilities of the particular AI model.
16. The non-transitory, computer-readable storage medium of claim 14, wherein the instructions further cause the system to:generate a set of natural language explanations indicating one or more of: a degree of corroboration between the pair of data items, a degree of contradiction between the pair of data items, or respective degrees of presence of the pair of data items.
17. The non-transitory, computer-readable storage medium of claim 14,wherein the selected set of data items is determined using a first set of AI models within the set of AI models,wherein each data item of the selected set of data items is linked using a second set of AI models within the set of AI models,wherein the contradiction or corroboration is generated using a third set of AI models within the set of AI models, andwherein one or more of: the first set of AI models, the second set of AI models, or the third set of AI models are different.
18. The non-transitory, computer-readable storage medium of claim 14, wherein the instructions further cause the system to:display, on a user interface, a representation indicating each linked feature of the set of predefined features; anddisplay, on the user interface, a graphical overlay indicative of the generated contradiction or corroboration.
19. The non-transitory, computer-readable storage medium of claim 14, wherein linking the set of content to the set of data items further causes the system to:divide overlapping portions of content within the set of content into data items by retaining one or more portions of previous data items within one or more subsequent data items,wherein the one or more portions of previous data items are linked previous to the one or more subsequent data items.
20. The non-transitory, computer-readable storage medium of claim 14, wherein the instructions further cause the system to:populate a user interface of the computing device with at least one of: (1) a first representation of the selected set of data items or (2) a second representation indicative of the comparison,wherein the contradictions are displayed using a first set of display attributes, andwherein the corroborations are displayed using a second set of display attributes different from the first set of display attributes.
Citation Information
Patent Citations
Indexing and retrieval of textual collections on PDAS
US20040205046A1
User Interface Expander and Collapser
US20080295014A1
Influence Business Benefit from User Reviews and Cognitive Dissonance
US20160140239A1
Artificial intelligence (AI)-based document retrieval during a virtual meeting
US20250023930A1
Natural language based image comparison system
US20250125039A1
