Iterative System Performance Improvements For a Digital Records System
Iterative tag-based clustering using a generative AI model enhances digital records search systems by reducing resource consumption and improving accuracy through efficient organization and grouping of records.
Patent Information
- Application Number
- US19/262359
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-23
- Filing Date
- 2025-07-08
- Publication Date
- 2026-11-26
AI Technical Summary
Existing digital records search systems consume excessive computing resources and produce inaccurate search results due to inefficient clustering and tagging of digital records.
Implement a clustering-type machine learning model that iteratively modifies tags using a generative AI model to improve the organization of digital records, reducing the search space and enhancing retrieval accuracy by grouping similar records.
This approach reduces computing demands and improves search accuracy by organizing records into well-structured clusters, requiring fewer search queries and minimizing resource consumption.
Smart Images

Figure US20260377439A1-D00000_ABST
Abstract
Description
BENEFIT CLAIMS; RELATED APPLICATIONS; INCORPORATION BY REFERENCE
[0001] This application claims the benefit of U.S. Provisional Patent Application 63 / 810,932, filed May 23, 2025, which is hereby incorporated by reference.
[0002] The Applicant hereby rescinds any disclaimer of claim scope in the parent application(s) or the prosecution history thereof and advises the USPTO that the claims in this application may be broader than any claim in the parent application(s).TECHNICAL FIELD
[0003] The present disclosure relates to digital records. In particular, the present disclosure relates to improving the performance of digital records search and retrieval systems.BACKGROUND
[0004] Digital records are structured collections of data stored in digital form. A digital record may represent a particular entity or transaction (e.g., a support ticket). Digital records may be used to capture and store information in databases, files, and / or other digital records systems.
[0005] Digital records systems may include search capabilities. For example, a digital records system that stores digital records in a database may translate search requests to database queries. A digital records system that stores digital records as files in a file system may search file metadata (e.g., name, type, creation date, etc.) and / or the contents of the files themselves.
[0006] Searching a digital records system consumes computing resources, including but not limited to compute cycles, network bandwidth, memory, etc. Efficient searching consumes fewer computing resources than inefficient searching. In addition, inaccurate search results may result in more computing resources being consumed, if the search results are so inaccurate as to require users to submit revised search requests in hopes of obtaining better search results.
[0007] The approaches described in this section are approaches that could be pursued, but not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section.BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The embodiments are illustrated by way of example and not by way of limitation in the figures of the accompanying drawings. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and they mean at least one. In the drawings:
[0009] FIGS. 1A and 1B illustrate a system in accordance with one or more embodiments;
[0010] FIGS. 2A and 2B illustrate an example set of operations for improving system performance by iterative tag-based clustering model modifications in accordance with one or more embodiments;
[0011] FIG. 3 illustrates an example set of operations for training a clustering-type machine learning model in accordance with one or more embodiments;
[0012] FIG. 4 illustrates an example embodiment; and
[0013] FIG. 5 shows a block diagram that illustrates a computer system in accordance with one or more embodiments.DETAILED DESCRIPTION
[0014] In the following description, for the purposes of explanation, numerous specific details are set forth to provide a thorough understanding. One or more embodiments may be practiced without these specific details. Features described in one embodiment may be combined with features described in a different embodiment. In some examples, well-known structures and devices are described with reference to a block diagram form to avoid unnecessarily obscuring the present disclosure.
[0015] 1. GENERAL OVERVIEW
[0016] 2. TAG-BASED CLUSTERING SYSTEM ARCHITECTURE
[0017] 3. ITERATIVELY MODIFYING TAG-BASED CLUSTERS USING GENERATIVE AI
[0018] 4. TRAINING A CLUSTERING-TYPE MACHINE LEARNING MODEL
[0019] 5. EXAMPLE EMBODIMENT
[0020] 6. PRACTIAL APPLICATIONS, ADVANTAGES, AND IMPROVEMENTS
[0021] 7. COMPUTER NETWORKS AND CLOUD NETWORKS
[0022] 8. HARDWARE OVERVIEW
[0023] 9. MISCELLANEOUS; EXTENSIONS1. GENERAL OVERVIEW
[0024] In an embodiment, a digital records system uses a clustering-type machine learning (ML) model, also referred to as a clustering model, to cluster digital records based on associated tags. For a given search query, one or more embodiments search the cluster that most closely matches the query. If the clusters are well-organized, searching the closest-matching cluster (1) reduces the search space, requiring fewer computing resources to complete searches, and (2) improves retrieval accuracy by grouping similar and / or related records, so the search results collectively are more likely to be relevant to the query. Improved retrieval accuracy reduces the average number of search queries needed to locate relevant records, providing a corresponding reduction in computing demand on the system.
[0025] One or more embodiments improve the functioning of the digital records system by iteratively modifying clusters of digital records to improve a system performance metric. Specifically, one or more embodiments iteratively tune a prompt for a generative artificial intelligence (GenAI) model to generate tags associated with digital records. Modifying the GenAI prompt produces different tags that, when used by the clustering model to cluster the digital documents, may improve the system performance metric over previous cluster configurations.
[0026] In an embodiment, the digital records system inputs an initial prompt to the GenAI model to generate an initial set of tags representing a set of digital records. A tag representing a set of digital records includes a set of a few keywords (for example, between two to seven keywords in some embodiments) describing the digital records. The clustering model clusters the digital records based on the initial set of tags. The system computes the system performance metric based on system performance data associated with one or more operations that access the clusters. The system identifies a modification to the clusters that may improve the system performance metric. The system generates a modified prompt for the GenAI model based on the modification to the clusters. Responsive to the modified prompt, the GenAI model generates a new set of tags. The clustering model generates a new set of clusters based on the new set of tags. The system continues to modify the GenAI prompt iteratively. The system may perform the iterative modifications on an ongoing basis and / or until a criterion for stopping is satisfied.
[0027] One or more embodiments described in this Specification and / or recited in the claims may not be included in this General Overview section.2. TAG-BASED CLUSTERING SYSTEM ARCHITECTURE
[0028] FIG. 1A illustrates a system 100 in accordance with one or more embodiments. As illustrated in FIG. 1A, system 100 includes a data management platform 110, a client device 122, a tag-generation model 124, an embedding model 126, a clustering model 128, a clustering performance prediction model 129, a network 130, and a data repository 140. In one or more embodiments, the system 100 may include more or fewer components than the components illustrated in FIG. 1A. The components illustrated in FIG. 1A may be local to or remote from each other. The components illustrated in FIG. 1A may be implemented in software and / or hardware. Each component may be distributed over multiple applications and / or machines. Multiple components may be combined into one application and / or machine. Operations described with respect to one component may instead be performed by another component.
[0029] In one or more embodiments, a data repository 140 is any type of storage unit and / or device (e.g., a file system, database, collection of tables, or any other storage mechanism) for storing data. Furthermore, a data repository 140 may include multiple different storage units and / or devices. The multiple different storage units and / or devices may or may not be of the same type or located at the same physical site. Furthermore, a data repository 140 may be implemented or executed on the same computing system as the data management platform 110. Additionally, or alternatively, a data repository 140 may be implemented or executed on a computing system separate from the data management platform 110. The data repository 140 may be communicatively coupled to the data management platform via a direct connection or via a network.
[0030] Information describing a records database 141, prompt generation rules 142, generative AI prompts 143, tags 144, embeddings 145, and records clusters 146 may be implemented across any of components within the system 100. However, this information is illustrated within the data repository 140 for purposes of clarity and explanation.
[0031] A data management platform 110 manages access to digital records in a records database 141. The data management platform 110 includes an interface 118 to allow users to access digital records in the database 141 via the client device 122, such as a desktop computer, laptop computer, handheld device, or any other device receiving data transmissions and displaying data. In example embodiments, one or both of the client device 122 and the user interface 118 present digitally stored data from the database 141 in a graphical user interface (GUI). A user may interact with the data to view, modify, and delete data from records. In addition, one or both of the client device 122 and the data management platform 110 may run applications for processing records from the database 141. For example, an application may organize, sort, and present content from the records and metadata that describes the records. Applications may use records content to initiate remedial operations by other applications or users, generate reports, generate predictions, and allocate resources, for example.
[0032] A record generator 111 receives system data and generates a record to be stored in the records database 141. The record generator 111 may receive the system data from a user via the user interface 118. For example, a user may interact with a GUI presented by the user interface 118 to enter text content into fields of a form. Additionally, or alternatively, the record generator 111 may receive system data from system resources, such as computers, servers, and applications running in a system. For example, an application may report a failure such as an unexpected error. The record generator 111 may generate a record specifying the name of the application, a version of the application, processes being executed by the application at the time of the error, and hardware associated with executing the application.
[0033] A prompt generator 112 generates prompts to input to the tag-generation model 124. The prompt generator 112 obtains (a) records data for a set of records in the database 141 and (b) a set of prompt-generation rules 142 to generate a set of GenAI prompts 143. The set of prompt-generation rules 142 specify parameters for the tag-generation model 124 to generate a set of tags 144 that correspond to the set of GenAI prompts 143. Rules 142 may include, for example, a length, in words, of a tag. For example, a rule 142 may specify that the tag-generation model 124 should generate a tag that is between three and five words long for a record. A rule 142 may specify a particular word that should be included in a tag for a record when the record content includes a word, set of words, diagram, or image. A rule 142 may specify a particular word that should be excluded from a tag for a record when the record content excludes a word, set of words, diagram, or image.
[0034] In an embodiment the tag-generation model 124 is a GenAI machine learning model that is capable of generating new data instances based on the data used to train the model. Generative AI models learn the underlying distribution of the training data, enabling them to produce new instances of data that share properties with the original dataset. This capability makes them particularly useful in a variety of applications, including image and voice generation, text synthesis, and more sophisticated tasks like unsupervised learning, semi-supervised learning, and domain adaptation.
[0035] One type of generative AI model is a large language model. Large language models are designed to understand, generate, and interpret human language by processing extensive collections of data. The foundational architecture behind large language models is the transformer network, a type of neural network that excels in handling sequential data such as text. Unlike architectures, such as recurrent neural networks (RNNs) or long short-term memory networks (LSTMs), transformers do not process data in order. Instead, they leverage parallel processing to analyze entire text sequences simultaneously, significantly improving efficiency and reducing training times.
[0036] In an embodiment, a mechanism that enables transformers to handle complex language tasks is self-attention. This mechanism allows the model to weigh the importance of different words within a sentence or sequence regardless of their position. For instance, in processing the phrase “The cat sat on the mat,” the model can directly associate “cat” with “mat” without having to process the intermediate words sequentially. This ability to understand the context and relationships between words in a sentence is what makes transformer networks adept at language tasks. The self-attention mechanism assigns scores to relationships between words, highlighting the most relevant connections, so the model can focus on the most informative parts of the text.
[0037] In accordance with one or more embodiments, transformers are composed of multiple layers containing a multi-head, self-attention mechanism and a position-wise, feed-forward network. Within the architecture of transformer models, the multi-head, self-attention mechanism and position-wise, feed-forward network function in concert to process input data. The multi-head, self-attention mechanism is designed to enable parallel processing of input sequences, allowing the model to simultaneously evaluate the importance of different segments of the input relative to each other. This mechanism operates by generating multiple sets of query, key, and value vectors for each element in the input sequence through linear transformation. The relevance of each element to every other element is calculated using a scaled dot-product attention function that computes the attention scores by taking the dot product of the query vector with the key vectors, dividing each by the square root of the dimension of the key vectors to scale the scores, then applying a SoftMax function to obtain the weights for the value vectors. The scaled dot-product attention function is applied independently by each head in the multi-head self-attention mechanism. The outputs of these heads are then concatenated and linearly transformed, allowing the model to capture information from different representation subspaces.
[0038] In accordance with one or more embodiments, following the multi-head, self-attention mechanism is the position-wise, feed-forward network. This component comprises two linear transformations with a non-linear activation function in between. Each element of the input sequence, now enriched with context by the self-attention mechanism, is processed independently through the same feed-forward network. The first linear transformation increases the dimensionality of the input, allowing for a richer representation space. The non-linear activation function introduces the capability to capture non-linear relationships within the data. The second linear transformation then reduces the dimensionality back to that of the model’s hidden layers, preparing the output for either further processing by subsequent layers or final output generation. This sequence of operations is applied to each position in the sequence, so the model can learn complex patterns across different parts of the input data without relying on the sequential processing inherent to previous architectures, such as RNNs or LSTMs.
[0039] In accordance with one or more embodiments, integrating these components within the transformer architecture facilitates the model’s ability to understand and generate human language by leveraging both the global context provided by the self-attention mechanism and the local, position-specific transformations applied by the feed-forward networks. Through the repetitive stacking of layers, transformers achieve a depth of representation that allows for the processing of linguistic information across varying levels of complexity.
[0040] A machine learning engine 113 trains one or more of the tag-generation model 124, the embedding model 126, the clustering model 128, and the clustering performance prediction model 129. In some embodiments, the tag-generation model 124 is a generative AI-type model and the embedding model 126 is an encoder-type model. In some embodiments, the tag-generation model 124, the embedding model 126, the clustering model 128, and the clustering performance prediction model 129 are embodied as one or more GenAI models.
[0041] FIG. 1B illustrates an example of a machine learning engine 113. As illustrated in FIG. 1B, machine learning engine 113 includes input / output module 151, data preprocessing module 152, model selection module 153, training module 154, evaluation and tuning module 155, and inference module 156.
[0042] In accordance with an embodiment, input / output module 151 serves as the primary interface for data entering and exiting the system, managing the flow and integrity of data. This module may accommodate a wide range of data sources and formats to facilitate integration and communication within the machine learning architecture.
[0043] In an embodiment, an input handler within input / output module 151 includes a data ingestion framework capable of interfacing with various data sources, such as databases, APIs, file systems, and real-time data streams. This framework is equipped with functionalities to handle different data formats (e.g., CSV, JSON, XML) and efficiently manage large volumes of data. It includes mechanisms for batch and real-time data processing that enable the input / output module 151 to be versatile in different operational contexts, whether processing historical datasets or streaming data.
[0044] In accordance with an embodiment, input / output module 151 manages data integrity and quality as it enters the system by incorporating initial checks and validations. These checks and validations ensure that incoming data meets predefined quality standards, like checking for missing values, ensuring consistency in data formats, and verifying data ranges and types. This proactive approach to data quality minimizes potential errors and inconsistencies in later stages of the machine learning process.
[0045] In an embodiment, an output handler within input / output module 151 includes an output framework designed to handle the distribution and exportation of outputs, predictions, or insights. Using the output framework, input / output module 151 formats these outputs into user-friendly and accessible formats, such as reports, visualizations, or data files compatible with other systems. Input / output module 151 also ensures secure and efficient transmission of these outputs to end-users or other systems in an embodiment and may employ encryption and secure data transfer protocols to maintain data confidentiality.
[0046] In accordance with an embodiment, data preprocessing module 152 transforms data into a format suitable for use by other modules in machine learning engine 113. For example, data preprocessing module 152 may transform raw data into a normalized or standardized format suitable for training ML models and for processing new data inputs for inference. In an embodiment, data preprocessing module 152 acts as a bridge between the raw data sources and the analytical capabilities of machine learning engine 113.
[0047] In an embodiment, data preprocessing module 152 begins by implementing a series of preprocessing steps to clean, normalize, and / or standardize the data. This involves handling a variety of anomalies, such as managing unexpected data elements, recognizing inconsistencies, or dealing with missing values. Some of these anomalies can be addressed through methods like imputation or removal of incomplete records, depending on the nature and volume of the missing data. Data preprocessing module 152 may be configured to handle anomalies in different ways depending on context. Data preprocessing module 152 also handles the normalization of numerical data in preparation for use with models sensitive to the scale of the data, like neural networks and distance-based algorithms. Normalization techniques, such as min-max scaling or z-score standardization, may be applied to bring numerical features to a common scale, enhancing the model’s ability to learn effectively.
[0048] In an embodiment, data preprocessing module 152 includes a feature encoding framework that ensures categorical variables are transformed into a format that can be easily interpreted by machine learning algorithms. Techniques like one-hot encoding or label encoding may be employed to convert categorical data into numerical values, making them suitable for analysis. The module may also include feature selection mechanisms, where redundant or irrelevant features are identified and removed, thereby increasing the efficiency and performance of the model.
[0049] In accordance with an embodiment, when data preprocessing module 152 processes new data for inference, data preprocessing module 152 replicates the same preprocessing steps to ensure consistency with the training data format. This helps to avoid discrepancies between the training data format and the inference data format, thereby reducing the likelihood of inaccurate or invalid model predictions.
[0050] In an embodiment, model selection module 153 includes logic for determining the most suitable algorithm or model architecture for a given dataset and problem. This module operates in part by analyzing the characteristics of the input data, such as its dimensionality, distribution, and the type of problem (classification, regression, clustering, etc.).
[0051] In an embodiment, model selection module 153 employs a variety of statistical and analytical techniques to understand data patterns, identify potential correlations, and assess the complexity of the task. Based on this analysis, it then matches the data characteristics with the strengths and weaknesses of various available models. This can range from simple linear models for less complex problems to sophisticated deep learning architectures for tasks requiring feature extraction and high-level pattern recognition, such as image and speech recognition.
[0052] In an embodiment, model selection module 153 utilizes techniques from the field of Automated Machine Learning (AutoML). AutoML systems automate the process of model selection by rapidly prototyping and evaluating multiple models. They use techniques like Bayesian optimization, genetic algorithms, or reinforcement learning to explore the model space efficiently. Model selection module 153 may use these techniques to evaluate each candidate model based on performance metrics relevant to the task. For example, accuracy, precision, recall, or F1 score may be used for classification tasks and mean squared error metrics may be used for regression tasks. Accuracy measures the proportion of correct predictions (both positive and negative). Precision measures the proportion of actual positives among the predicted positive cases. Recall (also known as sensitivity) evaluates how well the model identifies actual positives. F1 Score is a single metric that accounts for both false positives and false negatives. The mean squared error (MSE) metric may be used for regression tasks. MSE measures the average squared difference between the actual and predicted values, providing an indication of the model’s accuracy. A lower MSE may indicate a model’s greater accuracy in predicting values, as it represents a smaller average discrepancy between the actual and predicted values.
[0053] In accordance with an embodiment, model selection module 153 also considers computational efficiency and resource constraints. This is meant to help ensure the selected model is both accurate and practical in terms of computational and time requirements. In an embodiment, certain features of model selection module 153 are configurable such as a configured bias toward (or against) computational efficiency.
[0054] In accordance with an embodiment, training module 154 manages the ‘learning’ process of ML models by implementing various learning algorithms that enable models to identify patterns and make predictions or decisions based on input data. In an embodiment, the training process begins with the preparation of the dataset after preprocessing; this involves splitting the data into training and validation sets. The training set is used to teach the model, while the validation set is used to evaluate its performance and adjust parameters accordingly. Training module 154 handles the iterative process of feeding the training data into the model, adjusting the model’s internal parameters (like weights in neural networks) through backpropagation and optimization algorithms, such as stochastic gradient descent or other algorithms providing similarly useful results.
[0055] In accordance with an embodiment, training module 154 manages overfitting, where a model learns the training data too well, including its noise and outliers, at the expense of its ability to generalize to new data. Techniques such as regularization, dropout (in neural networks), and early stopping are implemented to mitigate this. Additionally, the module employs various techniques for hyperparameter tuning; this involves adjusting model parameters that are not directly learned from the training process, such as learning rate, the number of layers in a neural network, or the number of trees in a random forest.
[0056] In an embodiment, training module 154 includes logic to handle different types of data and learning tasks. For instance, it includes different training routines for supervised learning (where the training data comes with labels) and unsupervised learning (without labeled data). In the case of deep learning models, training module 154 also manages the complexities of training neural networks that include initializing network weights, choosing activation functions, and setting up neural network layers.
[0057] In an embodiment, evaluation, and tuning module 155 incorporates dynamic feedback mechanisms and facilitates continuous model evolution to help ensure the system’s relevance and accuracy as the data landscape changes. Evaluation and tuning module 155 conducts a detailed evaluation of a model’s performance. This process involves using statistical methods and a variety of performance metrics to analyze the model’s predictions against a validation dataset. The validation dataset, distinct from the training set, is instrumental in assessing the model’s predictive accuracy and its capacity to generalize beyond the training data. The module’s algorithms meticulously dissect the model’s output, uncovering biases, variances, and the overall effectiveness of the model in capturing the underlying patterns of the data.
[0058] In an embodiment, evaluation, and tuning module 155 performs continuous model tuning by using hyperparameter optimization. Evaluation and tuning module 155 performs an exploration of the hyperparameter space using algorithms, such as grid search, random search, or more sophisticated methods like Bayesian optimization. Evaluation and tuning module 155 uses these algorithms to iteratively adjust and refine the model’s hyperparameters – settings that govern the model’s learning process but are not directly learned from the data – to enhance the model’s performance. This tuning process helps to balance the model’s complexity with its ability to generalize and attempts to avoid the pitfalls of underfitting or overfitting.
[0059] In an embodiment, evaluation, and tuning module 155 integrates data feedback and updates the model. Evaluation and tuning module 155 actively collects feedback from the model’s real-world applications, an indicator of the model’s performance in practical scenarios. Such feedback can come from various sources depending on the nature of the application. For example, in a user-centric application like a recommendation system, feedback might comprise user interactions, preferences, and responses. In other contexts, such as predicting events, it might involve analyzing the model’s prediction errors, misclassifications, or other performance metrics in live environments.
[0060] In an embodiment, feedback integration logic within evaluation and tuning module 155 integrates this feedback using a process of assimilating new data patterns, user interactions, and error trends into the system’s knowledge base. The feedback integration logic uses this information to identify shifts in data trends or emergent patterns that were not present or inadequately represented in the original training dataset. Based on this analysis, the module triggers a retraining or updating cycle for the model. If the feedback suggests minor deviations or incremental changes in data patterns, the feedback integration logic may employ incremental learning strategies, fine-tuning the model with the new data while retaining its previously learned knowledge. In cases where the feedback indicates significant shifts or the emergence of new patterns, a more comprehensive model updating process may be initiated. This process might involve revisiting the model selection process, re-evaluating the suitability of the current model architecture, and / or potentially exploring alternative models or configurations that are more attuned to the new data.
[0061] In accordance with an embodiment, throughout this iterative process of feedback integration and model updating, evaluation and tuning module 155 employs version control mechanisms to track changes, modifications, and the evolution of the model, facilitating transparency and allowing for rollback if necessary. This continuous learning and adaptation cycle, driven by real-world data and feedback, helps to endure the model’s ongoing effectiveness, relevance, and accuracy.
[0062] In an embodiment, inference module 156 transforms data raw data into actionable, precise, and contextually relevant predictions. In addition to processing and applying a trained model to new data, inference module 156 may also include post-processing logic that refines the raw outputs of the model into meaningful insights.
[0063] In an embodiment, inference module 156 includes classification logic that takes the probabilistic outputs of the model and converts them into definitive class labels. This process involves an analytical interpretation of the probability distribution for each class. For example, in binary classification, the classification logic may identify the class with a probability above a certain threshold, but classification logic may also consider the relative probability distribution between classes to create a more nuanced and accurate classification.
[0064] In an embodiment, inference module 156 transforms the outputs of a trained model into definitive classifications. Inference module 156 employs the underlying model as a tool to generate probabilistic outputs for each potential class. It then engages in an interpretative process to convert these probabilities into concrete class labels.
[0065] In an embodiment, when inference module 156 receives the probabilistic outputs from the model, it analyzes these probabilities to determine how they are distributed across some or every potential class. If the highest probability is not significantly greater than the others, inference module 156 may determine that there is ambiguity or interpret this as a lack of confidence displayed by the model.
[0066] In an embodiment, inference module 156 uses thresholding techniques for applications where making a definitive decision based on the highest probability might not suffice due to the critical nature of the decision. In such cases, inference module 156 assesses if the highest probability surpasses a certain confidence threshold that is predetermined based on the specific requirements of the application. If the probabilities do not meet this threshold, inference module 156 may flag the result as uncertain or defer the decision to a human expert. Inference module 156 dynamically adjusts the decision thresholds based on the sensitivity and specificity requirements of the application, subject to calibration for balancing the trade-offs between false positives and false negatives.
[0067] In accordance with an embodiment, inference module 156 contextualizes the probability distribution against the backdrop of the specific application. This involves a comparative analysis, especially in instances where multiple classes have similar probability scores, to deduce the most plausible classification. In an embodiment, inference module 156 may incorporate additional decision-making rules or contextual information to guide this analysis, ensuring that the classification aligns with the practical and contextual nuances of the application.
[0068] In regression models, where the outputs are continuous values, inference module 156 may engage in a detailed scaling process in an embodiment. Outputs, often normalized or standardized during training for optimal model performance, are rescaled back to their original range. This rescaling involves recalibration of the output values using the original data’s statistical parameters, such as mean and standard deviation, ensuring that the predictions are meaningful and comparable to the real-world scales they represent.
[0069] In an embodiment, inference module 156 incorporates domain-specific adjustments into its post-processing routine. This involves tailoring the model’s output to align with specific industry knowledge or contextual information. For example, in financial forecasting, inference module 156 may adjust predictions based on current market trends, economic indicators, or recent significant events, ensuring that the outputs are both statistically accurate and practically relevant.
[0070] In an embodiment, inference module 156 includes logic to handle uncertainty and ambiguity in the model’s predictions. In cases where inference module 156 outputs a measure of uncertainty, such as in Bayesian inference models, inference module 156 interprets these uncertainty measures by converting probabilistic distributions or confidence intervals into a format that can be easily understood and acted upon. This provides users with both a prediction and an insight into the confidence level of that prediction. In an embodiment, inference module 156 includes mechanisms for involving human oversight or integrating the instance into a feedback loop for subsequent analysis and model refinement.
[0071] In an embodiment, inference module 156 formats the final predictions for end-user consumption. Predictions are converted into visualizations, user-friendly reports, or interactive interfaces. In some systems, like recommendation engines, inference module 156 also integrates feedback mechanisms, where user responses to the predictions are used to continually refine and improve the model, creating a dynamic, self-improving system.
[0072] Referring to FIG. 1A, in an embodiment, machine learning engine API 114 allows for applications to leverage machine learning engine 113. In an embodiment, machine learning engine API 114 may be built on a RESTful architecture and offer stateless interactions over standard HTTP / HTTPS protocols. Machine learning engine API 114 may feature a variety of endpoints, each tailored to a specific function within machine learning engine 113. In an embodiment, endpoints such as / submitData facilitate the submission of new data for processing, while / retrieveResults is designed for fetching the outcomes of data analysis or model predictions. The MLE API may also include endpoints like / updateModel for model modifications and / trainModel to initiate training with new datasets.
[0073] In an embodiment, machine learning engine API 114 is equipped to support SOAP-based interactions. This extension involves defining a WSDL (Web Services Description Language) document that outlines the API’s operations and the structure of request and response messages. In an embodiment, machine learning engine API 114 supports various data formats and communication styles. In an embodiment, machine learning engine API 114 endpoints may handle requests in JSON format or any other suitable format. For example, machine learning engine API 114 may process XML, and it may also be engineered to handle more compact and efficient data formats, such as Protocol Buffers or Avro, for use in bandwidth-limited scenarios.
[0074] In an embodiment, machine learning engine API 114 is designed to integrate WebSocket technology for applications necessitating real-time data processing and immediate feedback. This integration enables a continuous, bi-directional communication channel for a dynamic and interactive data exchange between the application and machine learning engine 113.
[0075] Based on prompts, tag-generation model 124 generates a tag for each record in a set of records from the records database 141. In an embodiment where the tag-generation model 124 is a GenAI model, the GenAI model receives the set of prompts 143 from the prompt generator 112 and outputs, for each record, a respective tag 144.
[0076] In accordance with one or more embodiments, input / output module 151, when used for large language models, handles textual data, converting input text into a format that the model can process. This typically involves tokenization, where the text is broken down into manageable pieces, such as words or subwords, and then converted into numerical representations. These representations, or embeddings, capture semantic information about the text that is then fed into the model for processing. The output from the model is converted from numerical form back into human-readable text, following the generation of predictions or responses.
[0077] In accordance with one or more embodiments, data preprocessing module 152 in the context of large language models may include steps such as normalization, where the text is converted to a uniform case and punctuation is standardized. This process ensures that the model treats similar words or symbols consistently, reducing the complexity of the input space. Additionally, techniques such as sentence segmentation may be applied to manage longer texts, enabling the model to process information in chunks that align with natural language structures.
[0078] In accordance with one or more embodiments, model selection module 153, when used for large language models involves choosing a specific architecture and configuration that is best suited to the task at hand. This decision is based on various factors, such as the size of the available training data, the complexity of the language tasks to be performed, and computational resource constraints. Models may vary in size from millions to billions of parameters, with larger models generally capable of more nuanced language understanding and generation but requiring significantly more computational power to train and operate.
[0079] In accordance with one or more embodiments, training module 154, when used for large language models, is configured to adjust the model’s parameters through exposure to training data. This process utilizes optimization algorithms, such as stochastic gradient descent, to minimize the difference between the model’s predictions and the actual desired outputs. The training process is computationally intensive, often requiring specialized hardware such as GPUs (Graphics Processing Units) or TPUs (Tensor Processing Units) to manage the large volumes of data and the complexity of the model calculations. During training, techniques, such as dropout and layer normalization, are used to improve model generalization and prevent overfitting (i.e., when a model learns the detail and noise in the training data to the extent that it negatively impacts the model’s performance on new data).
[0080] In accordance with one or more embodiments, evaluation and tuning module 155 assesses the performance of large language models using metrics such as perplexity, accuracy, and F1 score, depending on the specific language tasks. Evaluation may involve comparing the model’s output against a set of labeled validation data, providing insight into how well the model has learned to perform tasks, such as text classification, question answering, or text generation. Tuning involves adjusting model parameters or training strategies based on evaluation outcomes to improve performance. This may include hyperparameter tuning, where parameters that govern the training process, such as learning rate or batch size, are adjusted.
[0081] In accordance with one or more embodiments, inference module 156, in the context of large language models, is responsible for generating predictions or responses based on new, unseen data. This process involves feeding the input data through the trained model to produce an output. Inference can be used for a variety of applications, including translating text, generating human-like responses in a chatbot, or summarizing articles.
[0082] Another type of generative model is a large multimodal model (LMM). A large multimodal model is an advanced machine learning model capable of processing and generating data across multiple modalities, such as text, images, audio, and video. These models integrate diverse datasets during training to learn the underlying distribution of different data types, enabling them to produce outputs that reflect a comprehensive understanding of the input data. These models can be used for applications such as image captioning, text-to-image generation, image-to-text generation, visual question answering, and more, where understanding the relationship between different data types is crucial. By leveraging diverse datasets during training, large multimodal models learn to create coherent and contextually relevant outputs across various modalities, enhancing their utility in complex, real-world scenarios.
[0083] The architecture of large multimodal models combines elements from different neural network designs to handle diverse data types effectively. For example, convolutional neural networks (CNNs) are often used for processing visual data, while transformer networks handle textual data, enabling the model to extract and synthesize features from both images and text. This integration results in outputs that accurately represent the input data, reflecting a deep understanding of both modalities. The transformer architecture, known for its ability to manage sequential data, is frequently adapted to work alongside CNNs, allowing these models to benefit from the strengths of each neural network type.
[0084] In at least some instances, the self-attention mechanism, a cornerstone of transformer networks, is integral to the functioning of large multimodal models. It enables the model to weigh the importance of different elements within an input sequence, regardless of their position, allowing it to capture intricate relationships between various data types. For example, in an image captioning task, the model can associate specific visual features with corresponding descriptive text, enhancing the coherence and accuracy of the generated captions. By assigning scores to relationships between elements, the self-attention mechanism highlights the most relevant connections, enabling the model to focus on the most informative parts of the input data and perform complex multimodal tasks effectively.
[0085] In large multimodal models, data preprocessing is a step that ensures the input data is in a suitable format for the model to process. This involves tasks such as tokenization for text data, where the text is broken down into manageable pieces, and feature extraction for image data, where key visual elements are identified and encoded. By standardizing and normalizing different data types, preprocessing reduces the complexity of the input space, enabling the model to treat similar elements consistently. Effective preprocessing is essential for the model to integrate information from various modalities and produce accurate, meaningful outputs.
[0086] Training large multimodal models involves optimizing their parameters through exposure to diverse datasets that include paired data from different modalities. This computationally intensive process often requires specialized hardware like GPUs or TPUs to manage the large volumes of data and the complexity of the model calculations. Techniques such as dropout and layer normalization are employed to improve model generalization and prevent overfitting. By iteratively adjusting the model’s parameters, the training process enables the model to learn underlying patterns and relationships within the data, enhancing its ability to generate coherent and contextually relevant outputs across different modalities.
[0087] Evaluation and tuning of large multimodal models are conducted using various metrics tailored to the specific tasks they are designed to perform. For example, BLEU scores are used for text generation tasks, while accuracy is commonly applied for visual recognition tasks to assess performance. Tuning involves adjusting hyperparameters and refining training strategies based on evaluation results to enhance the model’s effectiveness. This iterative process ensures that the model can perform a wide range of multimodal tasks with high accuracy and relevance, making it a versatile tool for applications requiring the integration of different types of data.
[0088] Large multimodal models represent a significant advancement in machine learning by leveraging sophisticated architectures that combine different neural network types and apply self-attention mechanisms. This enables them to perform complex tasks that require understanding and synthesizing information from diverse data types. Effective preprocessing, rigorous training, and thorough evaluation are crucial to their success, allowing these models to generate coherent and contextually relevant outputs across a wide range of applications.
[0089] In accordance with one or more embodiments, other types of models besides large language models and large multimodal models belong to the broad category of generative models. For example, stochastic models directly incorporate randomness into their structure, making them inherently generative as they can produce a diverse set of outputs for a given input. Generative Adversarial Networks (GANs) learn to generate new data that is indistinguishable from the data they were trained on, using a dual-network architecture that involves a generative component. Variational Autoencoders (VAEs) are explicitly designed for generating new data points by learning a distribution of the input data and encode inputs into a latent space and generate outputs by sampling from this space, making them inherently generative. Sequence-to-sequence models are generative in nature when used with sampling strategies. Although this list of generative model types is not exhaustive, it illustrates the broad use of the term generative model beyond large language models.
[0090] Although generative models can be leveraged for classification tasks, they inherently operate on principles of randomness, leading to a spectrum of possible outcomes in response to identical inputs. Unlike deterministic models that yield a consistent result whenever the same input is given, generative models use the randomness in the data they are trained on to both mimic and diversify from the training data. This diversity makes generative models ideal for generating new and varied data points as well as for tasks that require creativity and novelty. However, a reliance on randomness creates a trade-off between predictability and flexibility for generative models, potentially making them less predictable in scenarios where uniform outcomes may be expected such as classification tasks.
[0091] The embedding model 126 generates an embedding based on the tag for a record. In an embodiment, the embedding model 126 is an encoder-type model. The embedding model 126 includes a set of encoder stacks. An encoder stack includes a multi-attention head mechanism and a feed-forward neural network. The attention mechanism dynamically determines weights for elements of input tokens of an input vector based on input queries and element keys. The result of the attention mechanism is a combined representation of an input sequence. The embedding model 126 generates the combined representation by concatenating the outputs from multiple attention heads, where each attention head focuses on different aspects of the input sequence. The embedding model 126 then applies a linear transformation to the concatenated output. The multi-attention head allows the encoder to simultaneously focus on different aspects of an input sequence by running multiple independent attention mechanisms (i.e., “heads”) in parallel. Focusing on different aspects of the set of input elements allows the encoder to encode embeddings that represent input data with additional data representing relationships between elements within the set of input data elements.
[0092] In an embodiment, the embedding model 126 includes a feed-forward neural network to convert the output from the multi-head attention mechanism into a set of output sequences that includes a word vector embedding sequence and a positional encoder sequence. The word vector embeddings are numerical representations of text. The positional encoding sequence represents the relative positions of words in the word vector embedding sequence. Each sub-layer of the encoder stacks receives an output from the previous sub-layer and applies the attention mechanism and neural network to the output from the previous sub-layer to generate a new output embedding representing the input sequence. The embedding model 126 generates an embedding for a tag associated with a record. The data management platform 110 provides the embedding model 126 with tags, generated by the tag-generation model 124, for multiple records in the records database 141 to generate multiple embeddings 145. In example embodiments, the embedding model 126 generates embeddings for hundreds or thousands of records.
[0093] The clustering model 128 generates a set of clusters based on the embeddings 145 generated by the embedding model 126. In some embodiments, the clustering-type machine learning model is not provided with a number of clusters. Instead, the model determines a number of different clusters for classifying records based on features within the sets of tags associated with the records. The clustering-type machine learning model may be, for example, a hierarchical agglomerative clustering (HAC) type model. The HAC model generates a hierarchy of clusters by iteratively merging smaller clusters into larger ones. The HAC model starts with each data point as an individual cluster and successively merges clusters based on their similarity until all points are combined into a single cluster or until a stopping criterion is met. The HAC produces a dendrogram that represents clusters at various levels of similarity. Cutting the dendrogram at different levels results in retrieving clusters at various granularities.
[0094] In the embodiment in which the clustering-type machine learning model is an HAC model, the machine learning engine 113 trains the model 128 on historical tags. Training the model includes initializing clusters by starting each data point, or data record, as its own cluster. The machine learning engine 113 computes similarities among the clusters based on a selected distance, such as a Euclidian distance, a Manhattan distance, or a Cosine similarity. The machine learning engine 113 merges the closest clusters with each other to generate a new cluster based on linkage criteria. For example, the machine learning engine 113 may combine two clusters based on a distance between the closest points of the two clusters, the farthest points of the two clusters, or by minimizing the increase in total within-cluster variance after merging. The machine learning engine 113 iterates the process to generate additional levels of the dendrogram with each level higher in the hierarchy having fewer clusters than the level below.
[0095] In an embodiment, organizing records from the records database 141 into record clusters 146 includes storing a mapping of records to clusters. The system may refrain from changing a location in physical memory where records are stored. Instead, the system stores a cluster identifier associated with the record. The cluster identifier may be stored as metadata together with the record. Additionally, or alternatively, the cluster identifier may be stored in a table that maps clusters to records. The mapping of clusters to records may store a pointer or other information for accessing a record.
[0096] In an alternative embodiment, the data management platform 110 stores record clusters 146 together in physical memory. The data management platform performs a series of copy, write, and deletion operations to organize records in physical memory according to clusters. For example, the system may store a set of records in one cluster in a contiguous set of memory addresses. Storing clusters of similar data together in physical memory may reduce data scanning operations. When a data access application 115 queries for data, the data access application 115 can pinpoint the clusters 146 that contain the relevant information and avoid scanning unrelated data, significantly speeding up query execution. In addition, storing similar data together reduces the need for the data management platform 110 to access data from different locations in memory, leading to fewer input / output (I / O) operations, consumption of fewer processing resources, and faster data retrieval.
[0097] A data access application 115 allows users to access records in the records database 141. In an embodiment, a client device 122 accesses the data access application 115 via the network 130 to initiate queries and request records. The data access application 115 may include functionality to retrieve records stored in the records database 141 based on the organization of the records in the record clusters 146. For example, a GUI may present identifiers of different record clusters 146. The GUI may present graphical representations of clusters, such as file folders or geometric shapes. A client device 122 may transmit a request to the data management platform 110 to view or download records included in the record clusters 146.
[0098] In an embodiment, the data access application 115 includes a database application. The application 115 may receive instructions to search and retrieve records from the records database 141 based on query terms generated by another application or user. The application 115 may generate and execute queries based on the received instructions. The application 115 accesses the record clusters 146 to identify terms in the clusters 146 that match query terms. The application 115 returns a set of records from the records database 141 based on the groupings of records in the record clusters 146.
[0099] An access metric determination module 116 measures access metrics associated with accessing records in the clusters 146. For example, the access metric determination module 116 may measure the time required to access one or more digital records included in the record clusters 146. The system may measure a set of multiple access operations, such as tens, hundreds, or thousands of access operations, to measure cumulative access times, average access times, mean access times, median access times, or any other metric measured based on the time required to access records in clusters 146.
[0100] According to another example, the system measures a number of computing cycles used to access one or more digital records in the record clusters 146. For example, the access metric determination module 116 may include instructions for controlling a central processing unit (CPU) to run and record results of a hardware performance counter, such as a counter to count CPU cycles, instructions executed, cache hits and / or misses, and branch predictions / mispredictions.
[0101] According to another example, the access metric determination module 116 determines a similarity of two or more clusters in the first set of clusters to each other. The access metric determination module 116 may compare, for example, the tags associated with records in two different clusters to determine whether tags are the same, whether the tags are synonyms, whether the tags are similar to each other, and whether different tags correspond to similar sets of records. Additionally, or alternatively, the access metric determination module 116 may analyze content in the sets of records included in two separate clusters to determine if the records correspond to the same or similar content. In an example embodiment where the records are service requests, the access metric determination module 116 may analyze titles and summaries of the service requests to determine the similarity among service requests included in different clusters.
[0102] According to another example, the access metric determination module 116 determines a number of queries per search session over a predetermined duration. The queries may include user- or application- initiated queries.
[0103] According to another example, the access metric determination module 116 determines a distribution of search queries to respective clusters in the plurality of clusters. For example, the system may determine that one cluster is not the subject of any queries in a particular time period, and another cluster is the subject of the majority of queries in the particular time period. Among ten clusters, the system may determine a number of queries directed to the respective clusters over the course of a day. One cluster may be the subject of no queries. Eight clusters may be the subject of between three and ten queries. One cluster may be the subject of ten queries. Another cluster may be the subject of twenty queries.
[0104] According to another example, the access metric determination module 116 determines a similarity of (a) a distribution of digital records among the first set of clusters to (b) a distribution of search queries to respective clusters in the plurality of clusters.
[0105] The cluster modification module 117 determines one or more parameters for modifying the clusters 146. Modifying clusters may include, for example, adding one or more clusters, combining two or more clusters, splitting a cluster into two or more clusters, and omitting one or more clusters. The cluster modification module 117 determines the parameters for modifying the clusters 146 based on the access metrics determined by the access metric determination module 116. For example, if the access metric determination module 116 determines that (a) a time required to access records exceeds a threshold and (b) a ratio of records included in a first cluster to records included in a second cluster exceeds another threshold, the cluster modification module 117 may generate a set of parameters to split the first cluster into two or more clusters.
[0106] The set of parameters may include rules 142 for generating tags. For example, generating parameters to divide one cluster into two clusters may include (a) identifying the tags associated with the first cluster and (b) identifying a new tag term that would result in dividing a set of records in the first cluster between the first cluster and a second cluster. The cluster modification module 117 generates a rule 142 for inclusion in a prompt generated by the prompt generator 112. The rule 142 directs the tag-generation model 124 to generate a first set of tags corresponding to the first cluster and a second set of tags that includes the new tag term. Based on the second set of tags, the clustering model 128 generates the second cluster. The records that were previously included in the first cluster are divided between the first cluster and the second cluster.
[0107] In an embodiment, the cluster modification module 117 utilizes a clustering performance prediction model 129 to predict modifications that would improve performance of the access metric. The machine learning engine 113 generates the clustering performance prediction model 129 based on a training data set generated by the training module 154. In one embodiment, the system generates the clustering performance prediction model 129 using a machine learning algorithm. The machine learning algorithm is an algorithm that can be iterated to train a target model f that best maps a set of input variables to an output variable using a set of training data. The training data includes datasets and associated labels. The datasets are associated with input variables for the target model f. The associated labels are associated with the output variable of the target model f. The training data may be updated based on, for example, feedback on the predictions by the target model f and accuracy of the current target model f. Updated training data is fed back into the machine learning algorithm, which in turn updates the target model f.
[0108] Additionally, or alternatively, a machine learning algorithm generates a target model f such that when the target model f is applied to the datasets of the training data, a maximum number of results determined by the target model f matches the labels of the training data. Different target models be generated based on different machine learning algorithms and / or different sets of training data.
[0109] In one or more embodiments, the clustering performance prediction model 129 is implemented and executed by pairing processing components with data storage components. Processing components include central processing units (CPUs), graphics processing units (GPUs), tensor processing units (TPUs), field-programmable gate arrays (FPGAs), and application-specific integrated circuits (ASICs). Data storage components include on-chip memory, dynamic random-access memory (DRAM), high-bandwidth memory (HBM), and flash storage.
[0110] In one or more embodiments, the clustering performance prediction model 129 includes a neural network. The neural network is a computational model configured to recognize patterns learned from training data and make predictions or classifications based on the recognized patterns. The neural network includes an input layer that receives raw data or features. Each neuron in the input layer represents one feature of the data. For example, a set of neurons may represent a respective set of keywords. Additional neurons may represent additional features, such as source data describing a source of a data record, author data describing an author of a data record, temporal data, record type data describing a type of the data record, and additional words, values, or tokens in the data record.
[0111] The neural network further includes a set of hidden layers that are the processing layers between the input and output layers. The hidden layers perform complex computations on the data. A hidden layer includes several neurons. A neuron in a hidden layer applies a transformation to its input values, enabling the network to learn complex patterns. Computations performed by hidden layer neurons include applying a bias to a weighted sum of inputs from previous neural layers and applying an activation function to the weighted sum. Examples of activation functions include a sigmoid function, a rectified linear unit (ReLU) function, a Tanh function, and a SoftMax function.
[0112] The neural network further includes an output layer. The output layer provides the final result of the neural network’s computations. The clustering performance prediction model 129 embodied as a neural network includes multiple output neurons. Each output neuron represents a modification to a set of clusters. The output layer may further include a neuron representing no modifications to the set of clusters. When the model receives a set of input data that represents a set of clusters and an access metric for accessing records in the set of clusters, the clustering performance prediction model 129 embodied as a neural network generates a prediction for modifying the set of clusters by generating an output value at a corresponding output neuron.
[0113] In one or more embodiments, the neural network is structured as sets of neurons organized in an array. Each neuron includes a data storage element such as a register. Each neuron includes a data processing element such as a GPU. Multiple neurons may share data storage elements and data processing elements.
[0114] While an embodiment is described above where the clustering performance prediction model 129 includes a neural network, in some embodiments, the model is embodied as a decision tree classifier model, a random forest classifier model, a support vector machine (SVM) model, a Naïve Bayes classifier model, a gradient boosting machines (GBM) model, or a transformer-type model.
[0115] In an example embodiment where the clustering performance prediction model 129 is a transformer-type model, an encoder receives cluster data and access metric data as input data and generates an embedding based on the input data. The encoder provides the embedding to a decoder to generate a recommended modification to the set of clusters.
[0116] In one or more embodiments, interface 118 refers to hardware and / or software configured to facilitate communications between a user and the data management platform 110. User interface 118 renders user interface elements and receives input via user interface elements. Examples of interfaces include a GUI, a command line interface (CLI), a haptic interface, and a voice command interface. Examples of user interface elements include checkboxes, radio buttons, dropdown lists, list boxes, buttons, toggles, text fields, date and time selectors, command lines, sliders, pages, and forms.
[0117] In an embodiment, different components of interface 118 are specified in different languages. The behavior of user interface elements is specified in a dynamic programming language such as JavaScript. The content of user interface elements is specified in a markup language, such as hypertext markup language (HTML) or XML User Interface Language (XUL). The layout of user interface elements is specified in a style sheet language such as Cascading Style Sheets (CSS). Alternatively, interface 118 is specified in one or more other languages, such as Java, C, or C++.3. ITERATIVELY MODIFYING TAG-BASED CLUSTERS USING GENERATIVE AI
[0118] FIGS. 2A and 2B illustrate an example set of operations for iterative tag-based clustering using a GenAI model in accordance with one or more embodiments. One or more operations illustrated in FIGS. 2A and 2B may be modified, rearranged, or omitted. Accordingly, the particular sequence of operations illustrated in FIGS. 2A and 2B should not be construed as limiting the scope of one or more embodiments.
[0119] Referring to FIG. 2A, in an embodiment, the system obtains a set of records (Operation 202). The records include digitally stored or electronic records. The records may be stored in a database or other data repository. In some embodiments, the records are action-type records describing events or conditions that require system or user action for resolution. For example, a set of action-type records may include customer-service tickets or requests for component repair, replacement, or upkeep in a computing environment.
[0120] The system obtains a set of rules for generating a GenAI prompt (Operation 204). The set of rules includes conditions and requirements for generating a tag associated with a record. Examples for rules include the following: requirements for a number of words or tokens in a tag describing to a record, requirements that at least one tag in a set of tags for a set of records include a specified tag term, a requirement specifying that if a first word is used in a first tag for a record, a second, similar, word may not be used in another tag for another record, and a requirement specifying that a particular word may not be used in tags for records.
[0121] The system inputs the GenAI prompt to a GenAI model to generate sets of tags for the set of records (Operation 206). The GenAI prompt includes (a) the rules specifying conditions and requirements for generating tags and (b) a set of records to be tagged by the GenAI model. In an embodiment, the system provides the GenAI model, in the prompt, with excerpts or portions of the records without providing the GenAI model with the entire records. For example, a record may include a title, a summary, and a body. The body may include a detailed description of an event, a set of attributes associated with the event, and / or a set of attributes associated with components, machines, or customer interactions. The system may provide the title and summary of the record to the GenAI model.
[0122] In an example embodiment, the system applies a second GenAI model to a set of records to generate summaries for the set of records. The system provides the summaries in the prompt to the first GenAI model to generate sets of tags for the records associated with the respective summaries. Alternatively, the same GenAI model may be used to, first, generate a set of summaries and, second, generate tags associated with the summaries. The summaries may be one to three sentences long. Tags may be three to six words long. The summaries include sentences, while the tags are sets of words that may not form a coherent phrase. For example, a set of tags may include the following: “upgrade P300 error drivers.” The combination of words corresponds to key concepts in the record. However, the combination of words may not form a phrase.
[0123] In an embodiment, a set of records is provided in or with the GenAI prompt as a batch. Alternatively, the system may transmit the set of records one-by-one, or sequentially, to the GenAI model with the prompt including the rules for generating tags.
[0124] In an embodiment, the system extracts content from a record to include in the prompt. The system may apply a text extraction application to a record to extract the text. The system may insert the text, extracted from the record, into a data object for generating a prompt. The data object may be, for example, a template. The data object may be in the form of a word processing application, a software programming language, or any other application or language capable of receiving text and generating a prompt to a GenAI model.
[0125] In an embodiment, the prompt for generating tags includes a parameter specifying a number of words in a tag. For example, the prompt may include a rule as follows: “Generate a tag with between [one and three] words.” The parameter for the number of words may be a particular number (e.g., “three words,” or “five words”), a range of numbers (e.g., “between one and five words,”“between three and seven words”), or a generalized quantitative description, such as “with very few words.”
[0126] In an embodiment, the rules for generating tags include descriptors for the tags. A descriptor may include, for example, “meaningful,”“understandable,”“crisp,”“concise,”“clear,”“unambiguous,” and “succinct.” The rules may further describe a format for outputting a tag. For example, the rule may specify that a tag should be output in brackets “[].” In an embodiment where a set of records is provided to the GenAI model as a batch, a rule may specify that the output should be a format of [record IDa] : [taga]… [record IDn] : [tagn], where a represents an initial record, and n represents a last record in a list of records.
[0127] The system inputs the set of tags to a clustering model to generate a set of clusters for the records (Operation 208). In an embodiment, the system generates embeddings for sets of tags associated with a set of records prior to generating clusters based on the embeddings.
[0128] In one embodiment, generating tags, generating embeddings for the tags, and generating clusters based on the tags and / or embeddings are performed by one or more GenAI models. A system generates a first GenAI prompt to instruct a first GenAI model to generate tags. The system generates a second GenAI prompt to instruct a second GenAI model to generate embeddings. The second GenAI prompt includes a set of tags for a record. The system generates a third GenAI prompt to instruct a third GenAI model to generate clusters based on the embeddings. The third GenAI prompt may include, for example, a set of embeddings corresponding to a set of records. The set of embeddings may be included as a batch with the third GenAI prompt.
[0129] According to an alternative embodiment, the clustering model is a clustering-type machine learning model, such as a K-means model, a Density-Based Spatial Clustering of Applications with Noise (DBSCAN) model, a Hierarchical Clustering Model (HCM), or a Gaussian Mixture Model (GMM).
[0130] The system may provide the clustering model with a set of rules for generating the clusters. For example, the system may specify a set of required clusters that the clustering model is required to include among the set of clusters output by the clustering model.
[0131] In one embodiment, the system generates a prompt to the clustering model that includes tags representing records and excludes content from the records. For example, the prompts may exclude titles, summaries, and other content from the records. In one embodiment, the clustering model generates the clusters without receiving any content from the records as input data. Alternatively, the prompts may include tags representing the records and additional content from the records such as record summaries.
[0132] The system generates a set of GenAI prompts with instructions to generate (a) Cluster names and (b) Cluster summaries for the set of clusters generated by the clustering model. The system inputs the set of GenAI prompts to a GenAI model to generate the cluster names and summaries.
[0133] The system accesses the clustered records to obtain a records access metric value (Operation 210). The system may access the clustered records in response to user requests, application requests, and other system requests to access records. For example, the system may monitor requests to clustered records over a predetermined period of time, such as a day, a week, or a month. The system may monitor a system for a number of requests to access records, such as 400, 800, or 1,000 requests.
[0134] Additionally, or alternatively, the system may initiate a diagnostic or evaluation process that includes predetermined requests to access the records. For example, a set of predetermined requests may include the last 1,000 requests received by the system or a set of 1,000 requests that is generated to mimic the most frequent requests received by the system.
[0135] The system may determine one or more records access metric values based on monitoring the requests to access the records. Examples of records access metrics include a number of access requests or search queries directed to records in a cluster, a difference between access requests between two or more clusters, a distribution of access requests among clusters, and a number of access requests generated per user instruction or application instruction to access a set of records.
[0136] Additional examples of records access metrics include a time taken to access records (including average time, mean time, and median time over a defined number of access operations) and a number of computing cycles used to perform records access operations.
[0137] As another example, the system may determine the similarity among two or more clusters. The system may determine similarities based on similarities of tags associated with records or similarities among record content. In one or more embodiments, the system determines a similarity by applying sets of records to a machine learning model such as a semantic analysis type model. In one embodiment, the semantic analysis model is a GenAI model.
[0138] The system determines if an alternative set of clusters corresponds to an improved access metric value (Operation 212). A system may model alternative cluster configurations to predict access metrics for the alternative configurations. The system determines if the predicted metrics for the alternative configurations improve performance compared to a present configuration.
[0139] In an embodiment, the system determines an improved cluster configuration based on the measured records access metrics. For example, the system may determine a distribution of access requests among clusters to determine that (a) 9 / 10 clusters receive 10% or more of the access requests, and (b) a particular cluster receives 5% of the access requests. The system determines that configuring the clusters such that each cluster receives at least 10% of the access requests would improve a metric associated with system processing utilization. Accordingly, the system determines a distribution of records among clusters that would result in each cluster receiving at least 10% of the access requests. The system further determines sets of tags that would result in generating the modified configuration of clusters. The system models the modified configuration of clusters to predict the system processing utilization metric for the modified configuration of clusters.
[0140] In an embodiment, the system utilizes a machine learning model to predict the records access metric for the modified configuration of clusters. The machine learning model may receive cluster configuration data as input parameters. Cluster configuration data includes identifying information for records included in respective clusters and / or tags for the records included in the respective clusters.
[0141] In one embodiment, a GenAI model generates a recommended modification to a set of clusters for improving one or more access metrics. For example, a system may generate a prompt that includes (a) a present configuration of clusters (including cluster configuration data) and (b) an instruction to recommend an alternative configuration of clusters that would result in an improvement to a particular access metric. For example, the prompt may include an instruction to “recommend an alternative configuration of clusters to improve the records access time to access records in the clusters” based on an attached set of records access requests and the attached configuration of clusters, including records data and tags for the records.
[0142] Based on the recommendation to modify the clusters, the system may model the modified configuration. The system may initiate a set of requests on the modified configuration of clusters to determine if the recommended modification in fact results in an improvement to the access metric. For example, a machine learning model may recommend a modified configuration and predict that the modified configuration would result in an improvement. However, upon implementation, the system may measure the actual access metric and determine that the modified configuration of clusters does not result in an improvement to the access metric. Conversely, the system may determine that the modified configuration does result in an improvement to the access metric.
[0143] If the system fails to identify a modification to the configuration of record clusters that results in an improvement to one or more access metrics, the process ends by maintaining the present set of clusters of records. Applications may access the clusters of records to read and modify the records. For example, an application may generate requests to view records. The application may initiate system operations based on the records. Upon completion of the system operations, the system may modify the records to indicate completion of a set of tasks associated with the records. Alternatively, the system may delete the records associated with completed tasks.
[0144] If the system determines a modified configuration of the record clusters corresponds to an improved access metric value, the system identifies modifications associated with the alternative configuration of clusters (Operation 214). The modifications may include (a) creating one or more new clusters, (b) merging one or more existing clusters into other existing clusters, (c) dividing an existing cluster into two or more clusters, and (d) eliminating an existing cluster.
[0145] In an embodiment, determining modifications includes identifying words, phrases, diagrams, system components, and events that correspond to a modification to the configuration of record clusters. For example, if the modified configuration of record clusters includes a new cluster that was not in the initial configuration of clusters, the system may identify a word or set of words (e.g., “patch 2.3.2,”“frozen,”“RightDoc”) that is common to the records in the new cluster. The system may identify patterns of words or phrases among clusters. For example, cluster 1 in an initial configuration of clusters may include records with terms A, B, C, and D. Cluster 2 in a modified configuration of clusters may include records with terms A, B, and C. Cluster 3 in the modified configuration of clusters may include records with terms B, C, and D.
[0146] As another example, the system may determine that in a modified configuration of clusters, a new cluster includes records associated with a particular time window, such as within the same month, associated with a same work group, or initiated by clients that share attributes, such as running an application in a particular environment, on particular hardware, or in communication with another particular application.
[0147] In an embodiment, the system determines modifications associated with the alternative configuration of clusters by inputting cluster data to a machine learning model. In an example embodiment where the system generates a GenAI prompt to instruct a GenAI model to recommend a modification to a configuration of clusters to improve an access metric, the prompt may include an instruction to “specify modifications to the initial configuration of clusters that results in the modified configuration of clusters.” An instruction may include the following: “identify common characteristics among records that are included in a newly generated or modified cluster.”
[0148] The system generates one or more rules to generate the alternative set of clusters (Operation 216). The one or more rules are configured to cause a tag-generating model to generate a set of tags that cause the clustering model to generate the modified configuration of clusters for the records. Some rules may specify tags, portions of tags, or words in tags. Other rules may specify rules for generating clusters without specifying tags or portions of tags. In the latter case, the tag-generating model generates a set of tags for a corresponding set of records that the tag-generating model predicts will comply with the cluster-generating rules.
[0149] Examples of rules include rules specifying a word or set of words to include in a set of tags generated by the tag-generating model that correspond to a set of records and specify a word, or words, to exclude from the set of tags. According to another example, the system generates a rule that specifies an issue included in the set of records and tag, or a portion of a tag, to be associated with the issue. Another rule may specify that two types of issues specified in the set of records are to be included in the same cluster.
[0150] In one or more embodiments, the system iteratively performs the operations 204-216 to improve the performance of a system by improving records access metrics for a set of records. In addition, the system may update cluster configurations as the system ingests new records, and the records are added to the clusters. The system may update cluster configurations at predetermined periods of time, such as weekly or monthly. Additionally, or alternatively, the system may update the cluster configurations based on detecting system performance criteria. For example, the system may determine that, over time and as more records are stored in the clusters, the average query response times are beginning to exceed a threshold, indicating a shift in the content of clustered records that may result in an inefficiency in data retrieval from the clusters. Based on the increase in query response times, the system may trigger reconfiguring the clusters.
[0151] Referring to FIG. 2B, if the system determines in Operation 212 that modifying the cluster configuration would not correspond to an improved records access metric value, the system refrains from modifying the clusters. The system receives a search request directed to one or more digital records stored in the set of clusters (Operation 218). For example, a user may generate a query in a text entry field of a GUI. Additionally, or alternatively, applications may interface with an API of a database to transmit a search request to the database.
[0152] The system performs a search in the clustered digital records (Operation 220). In an embodiment, performing a search includes identifying a cluster that includes one or more records that match a query and searching the identified cluster for additional matching digital records.
[0153] In an embodiment, searching clustered digital records includes presenting graphical representations of clusters in a GUI. A user may navigate the GUI to view and select particular digital records among the clustered digital records.
[0154] The system provides search results in response to the search request (Operation 222). The system may transmit, present, or store a set of digital records that correspond to the search request. In an embodiment, the system pre-fetches one or more additional records from among the records stored in the cluster where a target record was located. Additionally, or alternatively, the system may present a target record that matches a request and the cluster associated with the target record. A user may interact with a representation of the cluster to view additional digital records in the cluster.
[0155] As discussed above, storing clusters of similar data together in physical memory reduces data scanning operations required to execute queries, resulting in faster query response times. In addition, storing similar data together reduces the need to access data from different locations in memory, leading to fewer input / output (I / O) operations, consumption of fewer processing resources, and faster data retrieval. Accordingly, embodiments improve the operations of computers to store and retrieve data as well as execute downstream operations on the retrieved data by improving the processes that improve cluster generation. In particular, the system generates clusters based on tags, improving the relevance of intra-cluster records to each other. The system iteratively generates clusters, monitors access metrics, generates rules for modifying the clusters, and applies the rules to prompts for a tag-generating model, thereby iteratively improving the clusters and the performance of the data access system that accesses the records stored in the clusters.4. TRAINING A CLUSTERING-TYPE MACHINE LEARNING MODEL
[0156] FIG. 3 illustrates an example set of operations for training a clustering-type machine learning model in accordance with one or more embodiments. One or more operations illustrated in FIG. 3 may be modified, rearranged, or omitted. Accordingly, the particular sequence of operations illustrated in FIG. 3 should not be construed as limiting the scope of one or more embodiments.
[0157] A system initializes a clustering-type machine learning model with k centroids (Operation 302). In an initial iteration of applying the clustering model, k may be set to a random number within predefined bounds. For example, the system may set k to a number 3 or greater and 15 or lower. In subsequent iterations, the system may set k to a number based on measured access values. For example, the system may determine, based on analyzing record access metrics over time, that maintaining a ratio of records per cluster between 500-1,000 to 1 results in improved records access metrics compared to ratios that exceed or fall below 500-1,000 to 1. Accordingly, the system may set k based on a number of records such that the ratio of records per cluster is between 500-1,000 to 1.
[0158] The system determines if the k centroids are required to include one or more predefined clusters (Operation 304). For example, a system may specify centroids of two existing clusters as being required centroids in subsequent clustering operations of the clustering model. The system may set k such that k is (a) at least 6, (b) includes centroid A and centroid B, and (c) is less than or equal to 20.
[0159] The system processes data points representing tags to assign data points to the centroids (Operation 306). Assigning data points to centroids includes an iterative process of (a) assigning a set of data points to an initial centroid that is closest to the data point and (b) recalculating a centroid for the set of data points as the mean of the set of data points. The process repeats until convergence is achieved, where centroids no longer change significantly (e.g., beyond a defined threshold) or a defined number of iterations is reached.
[0160] The system determines if re-training criteria are met (Operation 308). Re-training criteria include determining records access metrics fail to meet a threshold performance level. For example, a system may determine that accessing records stored in the clusters takes an amount of time exceeding a threshold amount of time. The system may determine that a number of processing cycles to execute queries to records in the clusters exceeds a threshold number of processing cycles. The system may determine that a similarity of records stored in two or more clusters exceeds a threshold level of similarity.
[0161] If training criteria are not met, the system stores the cluster centroids (Operation 310). The cluster centroids may be stored as embeddings in a table, file, or set of software code.
[0162] The system stores a set of records in clusters defined by the cluster centroids (Operation 312). The cluster centroids may be determined based on a subset of data. Once convergence is achieved, the system refrains from continuing to adjust centroid values. If convergence is achieved prior to ingesting embeddings that represent a full set of records, the system clusters a remaining subset of records based on the cluster centroids. In addition, as the system ingests additional records, the system clusters the embeddings that represent the tags of the additional records using the cluster centroids. A data access platform, such as a database server, may execute access requests or queries to access records stored in the clusters.
[0163] If training criteria are met in Operation 308, the system recalculates k based on clustering criteria (Operation 314). For example, if the system determines that accessing records stored in the clusters takes an amount of time exceeding a threshold amount of time, and that a higher number of clusters would result in a decreased records access time, the system may increase the value k to generate more clusters.5. EXAMPLE EMBODIMENT
[0164] A detailed example is described below for purposes of clarity. Components and / or operations described below should be understood as one specific example that may not be applicable to certain embodiments. Accordingly, components and / or operations described below should not be construed.
[0165] Referring to FIG. 4, a system obtains a set of service tickets (Operation 402). The service tickets may be stored in one or more databases. Service tickets may include reports of errors, problems, and other events in a system. Service tickets may include records of customer complaints, requests, or reports of events. Service tickets may include a record of any other observed or detected event.
[0166] The system obtains a set of rules for generating a GenAI prompt (Operation 404). The set of rules includes conditions and requirements for generating a tag associated with a service ticket. The set of rules includes the following:
[0167] Generate a tag of 2-7 keywords;
[0168] Generate a tag that concisely describes the issue in the service ticket;
[0169] Output the tag in a set of brackets [];
[0170] Generate an output that maps a service ticket ID to the tag in the format “[service ticket ID] : [tag]”; and
[0171] Generate a table that lists the service ticket ID and tag for every service ticket included in the attached batch of service tickets.
[0172] The system inputs the GenAI prompt to a GenAI model to generate a set of tags for the set of service tickets (Operation 406). The GenAI prompt includes the set of rules for generating tags and the set of service tickets to be tagged by the model.
[0173] In the embodiment of FIG. 4, the system generates a separate prompt to generate a separate tag for each separate service ticket in a batch of service tickets. The system generates the following prompt, including rules for generating the prompt and content from a first service ticket. The content describing the “Issue” in the prompt is extracted from the first service ticket and included in the prompt. / / Begin Prompt / /
[0174] “Consider the following issue:
[0175] Issue: Deployment getting crashed on servers in a cluster We are having an application cluster running in our environment. The deployment is working fine for one of the servers, while the other three servers in the cluster the same is getting failed / crashed.
[0176] [Tag-generation rules] For this issue, provide an understandable and concise tag.
[0177] You must think and come up with that tag judiciously.
[0178] You need to only provide the tag in the answer within a square bracket, according to this format: [tag].
[0179] You must not elaborate any other details related to tag.
[0180] Your answer tag must be keyword-based and between two and seven words.
[0181] Generate an output that maps the service ticket ID to the tag in the format “[service ticket ID] : [tag]”
[0182] Add the mapping of the [service ticket ID] : [tag] to the following table: [ServiceTicketTagMappingTable]. If this is the last service ticket in the batch [ServiceTicketBatch], output a link to the table.” / / End Prompt / /
[0183] The system generates the following prompt, including rules for generating the prompt and content from a second service ticket. The content describing the “Issue” in the prompt is extracted from the second service ticket and included in the prompt. / / Begin Prompt / /
[0184] “Consider the following issue:
[0185] Issue: Application spinning after applying 36485713 to WLS 12.2.1.4.
[0186] We recently applied WLS Stack Patch Bundle 12.2.1.4.240405 (patch 36485713) to our WebLogic that supports Vertex Oseries 9. After applying the patches and logging into the application, the application just spins. How can we debug this? If the patches are rolled back the application performs normally. To maintain security SOX compliance, we need to get this patch applied.Tag-Generation Rules
[0187] For this issue, provide an understandable and concise tag.
[0188] You must think and come up with that tag judiciously.
[0189] You need to only provide the tag in the answer within a square bracket, according to this format: [tag].
[0190] You must not elaborate any other details related to tag.
[0191] Your answer tag must be keyword-based with between two and seven words.
[0192] Generate an output that maps the service ticket ID to the tag in the format “[service ticket ID] : [tag]
[0193] Add the mapping of the [service ticket ID] : [tag] to the following table: [ServiceTicketTagMappingTable]. If this is the last service ticket in the batch [ServiceTicketBatch], output a link to the table.” / / End Prompt / /
[0194] The system inputs a set of prompts, including the first prompt and the second prompt, that correspond to a set of service tickets to a tag-generating model. In the embodiment of FIG. 4, the tag-generating model is a GenAI model.
[0195] The system inputs the set of tags to a clustering model to generate a set of clusters for the service tickets (Operation 408). The clustering model may be a GenAI model. The GenAI model includes an encoder. The encoder receives the tags, in text format, as input and generates an embedding that represents the tags. In the example embodiment of FIG. 4, the system generates a set of GenAI prompts and inputs the prompts to the GenAI model to generate the clusters. A GenAI prompt input to the GenAI model includes (a) embeddings for a set of tags associated with a respective set of service tickets and (b) a set of rules for generating clusters.
[0196] The set of rules includes the following:
[0197] “Generate a set of clusters based on the attached batch [TagBatch]\
[0198] Generate at least four clusters\
[0199] Generate at most 30 clusters\
[0200] One of the clusters must be centered on the centroid [EmbeddingVector1]\
[0201] Another one of the clusters must be centered on the centroid [EmbeddingVector2]\”.
[0202] The system generates a set of ten clusters based on the set of tags included in the file “TagBatch” and the rules provided in the GenAI prompt. As new service tickets are ingested by the system, the system (a) generates tags for the new service tickets and (b) clusters the service tickets among the ten clusters based on tag embeddings.
[0203] The system generates ten prompts to a GenAI model with instructions to generate (a) Cluster names and (b) Cluster summaries for the ten clusters (Operation 409).
[0204] The system accesses the clustered digital records to obtain an access metric value for the clustered service tickets (Operation 410). The system monitors access requests to service tickets stored in the clusters. The service requests originate from applications in the system. For example, a user may interact with a user interface in an information technology (IT) application to enter a set of search terms into a text entry field. The application may interface with a database server to generate a query with query terms based on the search terms entered by the user. The database server accesses a database of service tickets stored in clusters to identify a set of service tickets that matches the query. The database server returns the set of service tickets in response to the query. The system measures (a) the time required to execute the query and return the query response, (b) a number of processing cycles required to execute the query, and (c) a number of clusters including records returned by the query.
[0205] In addition, as applications initiate queries over time, the system further determines a distribution over time of hits to service tickets among the respective clusters. For example, the system determines if a percentage of queries that access service tickets in a cluster exceeds an upper threshold or is less than a lower threshold. The system determines the query distribution among clusters over the period of time such as a week.
[0206] The system determines if an alternative configuration of clusters corresponds to an improved access metric value (Operation 412). In an embodiment, the system generates a GenAI prompt that includes (a) cluster data, such as vectors of cluster centroids and a number and distribution of service tickets in the clusters, and (b) a set of measured and determined access metric values. The GenAI prompt further includes an instruction to determine a modified configuration of clusters that would result in improvements to access metrics.
[0207] For example, the prompt may include the following instruction:
[0208] “Based on (a) the attached service ticket embeddings [ServTicketEmbedList], (b) the existing set of cluster centroids [ClusterCentroids1], (c) the measured access metric values [AverageAccessTime1][ServTicketDistribution], and (d) the historical access requests [HistAccessRequests1], generate an alternative configuration of clusters that would improve one or both of the average access time and the distribution of hits to service tickets among the clusters\
[0209] The alternative configuration of clusters must not cause the average access time to decrease\.”
[0210] The system inputs the GenAI prompt to the GenAI model to generate the prediction whether an alternative configuration of clusters corresponds to an improved access metric value.
[0211] In addition to generating a GenAI prompt to instruct a GenAI model to identify modifications to cluster configurations, the system further presents a user interface to allow a user to modify cluster configurations. For example, a user may determine that a set of service tickets associated with one customer support group is spread across two separate clusters. The user may generate an instruction to modify the configuration of clusters to include the service tickets associated with the one customer support group in one cluster.
[0212] If the GenAI model determines no alternative configuration of clusters would satisfy the criteria specified in the prompt, the system refrains from modifying the clusters until the system detects a trigger to again evaluate whether or not to generate an alternative configuration of clusters.
[0213] If the GenAI model determines an alternative set of clusters corresponds to an improved access metric value, the system determines modifications associated with the alternative set of clusters (Operation 414). For example, the system may determine that the GenAI model recommends splitting a first cluster into two clusters. The system may further determine that the GenAI model recommends merging a second cluster into a third cluster.
[0214] In an embodiment, the system generates a GenAI prompt with instructions to predict modifications to tags for service tickets that would result in the modified configuration of clusters. For example, the system may generate a GenAI prompt with instructions for recommendations to modify tags for the service tickets in one cluster to split the one cluster into two separate clusters.
[0215] An example instruction may include the following:
[0216] “Given the present set of clusters around centroids [ClusterCentroids1], split Cluster #5 into two separate clusters. Generate a first set of tag terms to include in the tags associated with service tickets in one of the clusters. Generate a second set of tag terms to include in the tags associated with service tickets in the other cluster\.”
[0217] Another example instruction may include the following:
[0218] “Given the present set of clusters around centroids [ClusterCentroids1], merge Cluster #10 into Cluster #9. Generate a set of tag terms to include in the tags associated with service tickets in the merged cluster\.”
[0219] The system generates one or more rules to generate a modified set of tags corresponding to the modified configuration of clusters (Operation 416). The rules include the following:
[0220] Generate a tag of 2-7 keywords.
[0221] Generate a tag that concisely describes the issue in the service ticket.
[0222] Output the tag in a set of brackets [].
[0223] Generate an output that maps a service ticket ID to the tag in the format “[service ticket ID] : [tag]”
[0224] Generate a table that lists the service ticket ID and tag for every service ticket included in theattached batch of service tickets.
[0225] If the service ticket is one of the following service tickets: [Service ticket ID’s for service tickets in first new cluster], include the terms [recommended tag terms for first new cluster] in the tag.
[0226] If the service ticket is one of the following service tickets: [Service ticket ID’s for service tickets in second new cluster], include the terms [recommended tag terms for second new cluster] in the tag.
[0227] If the service ticket is one of the following service tickets: [Service ticket ID’s for service tickets in merged cluster], include the terms [recommended tag terms for merged cluster] in the tag.
[0228] The system tunes the prompt to the tag-generating GenAI model by iteratively modifying the prompts to the GenAI model to generate the tags for the set of service tickets. The system iteratively repeats operations 404-416 until a threshold is met. The threshold includes (a) a prediction that an improvement to service ticket access time resulting from a further modification to cluster configurations would fail to exceed a threshold improvement or (b) a determination that a threshold number of modifications to the clusters has been completed within a defined timeframe of one day.
[0229] As described in the above example embodiment, a system improves the data storage and retrieval capabilities of a system by iteratively (a) generating clusters to store service records based on tags associated with the service records, (b) determining modifications to the configuration of the clusters associated with predicted improvements to access metrics, and (c) generating rules for generating a next iteration of tags for the service records based on the modifications to the configuration of the clusters.6. PRACTICAL APPLICATIONS, ADVANTAGES, AND IMPROVEMENTS
[0230] One or more embodiments provide a technical improvement over prior digital records systems. Specifically, one or more embodiments provide a technical solution to the technical problem that inefficient and / or inaccurate searching requires more computing resources than efficient, accurate searching. One or more embodiments reduce the amount of computing resources consumed overall by searching a digital records system.
[0231] Additionally, or alternatively, one or more embodiments improve the functioning of a digital records system according to a specified performance metric. Specifically, one or more embodiments use iterative techniques described herein to identify clusters of digital records that improve performance according to the specified performance metric. Thus, one or more embodiments improve the functioning of the digital records system at least according to that performance metric.7. COMPUTER NETWORKS AND CLOUD NETWORKS
[0232] In one or more embodiments, a computer network provides connectivity among a set of nodes. The nodes may be local to and / or remote from each other. The nodes are connected by a set of links. Examples of links include a coaxial cable, an unshielded twisted cable, a copper cable, an optical fiber, and a virtual link.
[0233] A subset of nodes implements the computer network. Examples of such nodes include a switch, a router, a firewall, and a network address translator (NAT). Another subset of nodes uses the computer network. Such nodes (also referred to as “hosts”) may execute a client process and / or a server process. A client process makes a request for a computing service (such as, execution of a particular application, and / or storage of a particular amount of data). A server process responds by executing the requested service and / or returning corresponding data.
[0234] A computer network may be a physical network, including physical nodes connected by physical links. A physical node is any digital device. A physical node may be a function-specific hardware device, such as a hardware switch, a hardware router, a hardware firewall, and a hardware NAT. Additionally, or alternatively, a physical node may be a generic machine that is configured to execute various virtual machines and / or applications performing respective functions. A physical link is a physical medium connecting two or more physical nodes. Examples of links include a coaxial cable, an unshielded twisted cable, a copper cable, and an optical fiber.
[0235] A computer network may be an overlay network. An overlay network is a logical network implemented on top of another network (such as, a physical network). Each node in an overlay network corresponds to a respective node in the underlying network. Hence, each node in an overlay network is associated with both an overlay address (to address to the overlay node) and an underlay address (to address the underlay node that implements the overlay node). An overlay node may be a digital device and / or a software process (such as, a virtual machine, an application instance, or a thread) A link that connects overlay nodes is implemented as a tunnel through the underlying network. The overlay nodes at either end of the tunnel treat the underlying multi-hop path between them as a single logical link. Tunneling is performed through encapsulation and decapsulation.
[0236] In an embodiment, a client may be local to and / or remote from a computer network. The client may access the computer network over other computer networks, such as a private network or the Internet. The client may communicate requests to the computer network using a communications protocol, such as Hypertext Transfer Protocol (HTTP). The requests are communicated through an interface, such as a client interface (such as a web browser), a program interface, or an application programming interface (API).
[0237] In an embodiment, a computer network provides connectivity between clients and network resources. Network resources include hardware and / or software configured to execute server processes. Examples of network resources include a processor, a data storage, a virtual machine, a container, and / or a software application. Network resources are shared amongst multiple clients. Clients request computing services from a computer network independently of each other. Network resources are dynamically assigned to the requests and / or clients on an on-demand basis.8. HARDWARE OVERVIEW
[0238] According to one embodiment, the techniques described herein are implemented by one or more special-purpose computing devices. The special-purpose computing devices may be hard-wired to perform the techniques, or may include digital electronic devices such as one or more application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or network processing units (NPUs) that are persistently programmed to perform the techniques, or may include one or more general purpose hardware processors programmed to perform the techniques pursuant to program instructions in firmware, memory, other storage, or a combination. Such special-purpose computing devices may also combine custom hard-wired logic, ASICs, FPGAs, or NPUs with custom programming to accomplish the techniques. The special-purpose computing devices may be desktop computer systems, portable computer systems, handheld devices, networking devices or any other device that incorporates hard-wired and / or program logic to implement the techniques.
[0239] For example, FIG. 5 is a block diagram that illustrates a computer system 500 upon which an embodiment of the disclosure may be implemented. Computer system 500 includes a bus 502 or other communication mechanism for communicating information, and a hardware processor 504 coupled with bus 502 for processing information. Hardware processor 504 may be, for example, a general purpose microprocessor.
[0240] Computer system 500 also includes a main memory 506, such as a random access memory (RAM) or other dynamic storage device, coupled to bus 502 for storing information and instructions to be executed by processor 504. Main memory 506 also may be used for storing temporary variables or other intermediate information during execution of instructions to be executed by processor 504. Such instructions, when stored in non-transitory storage media accessible to processor 504, render computer system 500 into a special-purpose machine that is customized to perform the operations specified in the instructions.
[0241] Computer system 500 further includes a read-only memory (ROM) 508 or other static storage device coupled to bus 502 for storing static information and instructions for processor 504. A storage device 510, such as a magnetic disk, optical disk, or a Solid State Drive (SSD) is provided and coupled to bus 502 for storing information and instructions.
[0242] Computer system 500 may be coupled via bus 502 to a display 512, such as a cathode ray tube (CRT), for displaying information to a computer user. An input device 514, including alphanumeric and other keys, is coupled to bus 502 for communicating information and command selections to processor 504. Another type of user input device is cursor control 516, such as a mouse, a trackball, or cursor direction keys for communicating direction information and command selections to processor 504 and for controlling cursor movement on display 512. This input device typically has two degrees of freedom in two axes, a first axis (e.g., x) and a second axis (e.g., y), that allows the device to specify positions in a plane.
[0243] Computer system 500 may implement the techniques described herein using customized hard-wired logic, one or more ASICs or FPGAs, firmware and / or program logic which in combination with the computer system causes or programs computer system 500 to be a special-purpose machine. According to one embodiment, the techniques herein are performed by computer system 500 in response to processor 504 executing one or more sequences of one or more instructions contained in main memory 506. Such instructions may be read into main memory 506 from another storage medium, such as storage device 510. Execution of the sequences of instructions contained in main memory 506 causes processor 504 to perform the process steps described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions.
[0244] The term “storage media” as used herein refers to any non-transitory media that store data and / or instructions that cause a machine to operate in a specific fashion. Such storage media may comprise non-volatile media and / or volatile media. Non-volatile media includes, for example, optical or magnetic disks, such as storage device 510. Volatile media includes dynamic memory, such as main memory 506. Common forms of storage media include, for example, a floppy disk, a flexible disk, hard disk, solid state drive, magnetic tape, or any other magnetic data storage medium, a CD-ROM, any other optical data storage medium, any physical medium with patterns of holes, a RAM, a PROM, and EPROM, a FLASH-EPROM, NVRAM, any other memory chip or cartridge, content-addressable memory (CAM), and ternary content-addressable memory (TCAM).
[0245] Storage media is distinct from but may be used in conjunction with transmission media. Transmission media participates in transferring information between storage media. For example, transmission media includes coaxial cables, copper wire and fiber optics, including the wires that comprise bus 502. Transmission media can also take the form of acoustic or light waves, such as those generated during radio-wave and infra-red data communications.
[0246] Various forms of media may be involved in carrying one or more sequences of one or more instructions to processor 504 for execution. For example, the instructions may initially be carried on a magnetic disk or solid state drive of a remote computer. The remote computer can load the instructions into its dynamic memory and send the instructions over a telephone line using a modem. A modem local to computer system 500 can receive the data on the telephone line and use an infra-red transmitter to convert the data to an infra-red signal. An infra-red detector can receive the data carried in the infra-red signal and appropriate circuitry can place the data on bus 502. Bus 502 carries the data to main memory 506, from which processor 504 retrieves and executes the instructions. The instructions received by main memory 506 may optionally be stored on storage device 510 either before or after execution by processor 504.
[0247] Computer system 500 also includes a communication interface 518 coupled to bus 502. Communication interface 518 provides a two-way data communication coupling to a network link 520 that is connected to a local network 522. For example, communication interface 518 may be an integrated services digital network (ISDN) card, cable modem, satellite modem, or a modem to provide a data communication connection to a corresponding type of telephone line. As another example, communication interface 518 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN. Wireless links may also be implemented. In any such implementation, communication interface 518 sends and receives electrical, electromagnetic or optical signals that carry digital data streams representing various types of information.
[0248] Network link 520 typically provides data communication through one or more networks to other data devices. For example, network link 520 may provide a connection through local network 522 to a host computer 524 or to data equipment operated by an Internet Service Provider (ISP) 526. ISP 526 in turn provides data communication services through the world wide packet data communication network now commonly referred to as the “Internet”528. Local network 522 and Internet 528 both use electrical, electromagnetic or optical signals that carry digital data streams. The signals through the various networks and the signals on network link 520 and through communication interface 518, which carry the digital data to and from computer system 500, are example forms of transmission media.
[0249] Computer system 500 can send messages and receive data, including program code, through the network(s), network link 520 and communication interface 518. In the Internet example, a server 530 might transmit a requested code for an application program through Internet 528, ISP 526, local network 522 and communication interface 518.
[0250] The received code may be executed by processor 504 as it is received, and / or stored in storage device 510, or other non-volatile storage for later execution.9. MISCELLANEOUS; EXTENSIONS
[0251] Unless otherwise defined, all terms (including technical and scientific terms) are to be given their ordinary and customary meaning to a person of ordinary skill in the art, and are not to be limited to a special or customized meaning unless expressly so defined herein.
[0252] This application may include references to certain trademarks. Although the use of trademarks is permissible in patent applications, the proprietary nature of the marks should be respected, and every effort made to prevent their use in any manner which might adversely affect their validity as trademarks.
[0253] Embodiments are directed to a system with one or more devices that include a hardware processor and that are configured to perform any of the operations described herein and / or recited in any of the claims below.
[0254] In an embodiment, one or more non-transitory computer readable storage media comprises instructions which, when executed by one or more hardware processors, cause performance of any of the operations described herein and / or recited in any of the claims.
[0255] In an embodiment, a method comprises operations described herein and / or recited in any of the claims, the method being executed by at least one device including a hardware processor.
[0256] Any combination of the features and functionalities described herein may be used in accordance with one or more embodiments. In the foregoing specification, embodiments have been described with reference to numerous specific details that may vary from implementation to implementation. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense. The sole and exclusive indicator of the scope of the disclosure, and what is intended by the applicants to be the scope of the disclosure, is the literal and equivalent scope of the set of claims that issue from this application, in the specific form in which such claims issue, including any subsequent correction.
Claims
1. A method comprising:inputting, to a generative artificial intelligence (GenAI) model, a first prompt comprising (a) a set of tag-generation rules and (b) data obtained from a first plurality of digital records, to generate a first set of tags associated with the first plurality of digital records;inputting, to a clustering-type machine learning (ML) model, data corresponding to the first set of tags, to generate a first set of clusters of the first plurality of digital records;computing a first value of a system performance metric based at least in part on first system performance data associated with a first set of one or more operations accessing the first set of clusters;identifying a first modification to the first set of clusters;generating a second prompt for the GenAI model, at least by modifying the first prompt to include one or more tag-generation rules based on the first modification to the first set of clusters;inputting the second prompt to the GenAI model to generate a second set of tags; andgenerating, by the clustering-type ML model, a second set of clusters based on data corresponding to the second set of tags,wherein the method is performed by at least one device including a hardware processor.
2. The method of claim 1, further comprising:computing a second value of the system performance metric based at least in part on second system performance data associated with a second set of one or more operations accessing the second set of clusters.
3. The method of claim 2, further comprising:identifying a second modification to the second set of clusters;generating a third prompt for the GenAI model, at least by modifying the second prompt to include one or more tag-generation rules based on the second modification to the second set of clusters;inputting the third prompt to the GenAI model to generate a third set of tags; andgenerating, by the clustering-type ML model, a third set of clusters based on data corresponding to the third set of tags.
4. The method of claim 1, wherein the data obtained from the first plurality of digital records comprises summarized descriptions of the first plurality of digital records.
5. The method of claim 1, further comprising:inputting the first set of tags to an encoder-type ML model to generate embeddings corresponding to the first set of tags,wherein inputting, to the clustering-type ML model, the data corresponding to the first set of tags comprises inputting the embeddings to the clustering-type ML model.
6. The method of claim 1, wherein the system performance metric comprises a time taken to access one or more digital records from among the first plurality of digital records in the first set of clusters.
7. The method of claim 1, wherein the system performance metric comprises a number of computing cycles used to access one or more digital records from among the first plurality of digital records in the first set of clusters.
8. The method of claim 1, wherein the system performance metric comprises a similarity of two or more clusters in the first set of clusters to each other.
9. The method of claim 1, wherein the system performance metric comprises an average number of queries per search session over a predetermined duration.
10. The method of claim 1, wherein the system performance metric comprises a distribution of search queries to respective clusters in the first set of clusters.
11. The method of claim 1, wherein the system performance metric comprises a similarity of (a) a distribution of digital records among the first set of clusters to (b) a distribution of search queries to respective clusters in the first set of clusters.
12. The method of claim 1, wherein identifying the first modification to the first set of clusters comprises receiving user input corresponding to a change to one or more clusters in the first set of clusters.
13. The method of claim 1, wherein identifying the first modification to the first set of clusters comprises predicting that the first modification, if implemented, would improve the system performance metric.
14. The method of claim 13, wherein predicting that the modification, if implemented, would improve the system performance metric comprises using an ML model to analyze the first set of clusters for possible improvements.
15. The method of claim 1, wherein the clustering-type ML model generates the first set of clusters without receiving content in the first plurality of digital records as input data.
16. The method of claim 1, wherein the clustering-type ML model generates the first set of clusters at least by mapping the first set of tags to corresponding digital records in the first plurality of digital records.
17. The method of claim 1, wherein generating the second set of tags and the second set of clusters is performed for the first plurality of digital records.
18. The method of claim 1, further comprising:receiving a request to identify a target set of digital records associated with a set of target terms;executing the request on the second set of clusters to identify the target set of digital records; andpresenting the second set of digital records in a graphical user interface (GUI) responsive to the request.
19. One or more non-transitory computer-readable media comprising instructions that, when executed by one or more hardware processors, cause performance of operations comprising:inputting, to a generative artificial intelligence (GenAI) model, a first prompt comprising (a) a set of tag-generation rules and (b) data obtained from a first plurality of digital records, to generate a first set of tags associated with the first plurality of digital records;inputting, to a clustering-type machine learning (ML) model, data corresponding to the first set of tags, to generate a first set of clusters of the first plurality of digital records;computing a first value of a system performance metric based at least in part on first system performance data associated with a first set of one or more operations accessing the first set of clusters;identifying a first modification to the first set of clusters;generating a second prompt for the GenAI model, at least by modifying the first prompt to include one or more tag-generation rules based on the first modification to the first set of clusters;inputting the second prompt to the GenAI model to generate a second set of tags; andgenerating, by the clustering-type ML model, a second set of clusters based on data corresponding to the second set of tags.
20. A system comprising:one or more hardware processors;one or more non-transitory computer-readable media; andprogram instructions stored on the one or more non-transitory computer-readable media which, when executed by the one or more hardware processors, cause the system to perform operations comprising:inputting, to a generative artificial intelligence (GenAI) model, a first prompt comprising (a) a set of tag-generation rules and (b) data obtained from a first plurality of digital records, to generate a first set of tags associated with the first plurality of digital records;inputting, to a clustering-type machine learning (ML) model, data corresponding to the first set of tags, to generate a first set of clusters of the first plurality of digital records;computing a first value of a system performance metric based at least in part on first system performance data associated with a first set of one or more operations accessing the first set of clusters;identifying a first modification to the first set of clusters;generating a second prompt for the GenAI model, at least by modifying the first prompt to include one or more tag-generation rules based on the first modification to the first set of clusters;inputting the second prompt to the GenAI model to generate a second set of tags; andgenerating, by the clustering-type ML model, a second set of clusters based on data corresponding to the second set of tags.
