Real-time log monitoring using artificial intelligence
The use of a Large Language Model for real-time log monitoring addresses inefficiencies in conventional systems by providing contextual analysis and automated alert generation, improving detection accuracy and reducing resource consumption.
Patent Information
- Application Number
- US19/217682
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2025-05-23
- Publication Date
- 2026-11-26
AI Technical Summary
Conventional log monitoring systems are time-consuming, prone to errors, and inefficient, leading to delayed detection and diagnosis of performance issues, excessive resource utilization, and operational inefficiencies due to false positives and negatives, especially in large-scale software infrastructures.
Utilizing a Large Language Model (LLM) for automated, real-time log monitoring that provides contextual understanding and natural language processing to accurately identify performance issues and generate alerts, reducing manual intervention and resource consumption.
Facilitates efficient and effective log monitoring by minimizing manual checks, reducing resource utilization, and ensuring accurate detection of performance issues, thereby enhancing system reliability and efficiency.
Smart Images

Figure US20260377252A1-D00000_ABST
Abstract
Description
BACKGROUND
[0001] Log monitoring is essential to maintain reliability and performance of software systems. For example, delays in detecting and diagnosing performance issues can lead to prolonged downtimes, affecting service availability and user experience. Effectively performing log monitoring, however, may be challenging and time-consuming, particularly in large-scale software infrastructures. For instance, in conventional implementations, a Site Reliability Engineering (SRE) team may manually monitor logs. With an extensive number of services (e.g., thousands) to analyze, it is time-consuming and impractical for an SRE team to manually monitor corresponding logs.
[0002] To facilitate the process, some conventional implementations may rely on metrics (e.g., service metrics) to signal problems. For example, in cases in which a service metric (e.g., request latency, error rate, CPU usage, etc.) increases suddenly or deviates from a baseline pattern, an alert may be triggered. In such cases, the alerts may be monitored and corresponding issues diagnosed. Such alerts often lack specificity needed for a quick diagnosis and / or relate to false positives or false negatives, thereby requiring further investigation and developer involvement. Further, generating and maintaining such static rules used to identify alerts may be cumbersome. For example, assume a service performs deletion of unused files from storage. Further assume that errors are generated in cases that particular files cannot be deleted. To detect such errors, a regular expression may be written. As such, in cases in which an error signature changes, for instance, due to upgrades, the regular expression is outdated and a new regular expression would need to be generated. Accordingly, generation of static rules or metrics-based triggers to generate alerts results in time-consuming and error-prone manual configurations, lacks contextual understanding of logs leading to generic or irrelevant alerts, and is difficult to scale in dynamic environments where services are frequently added or updated.
[0003] Another conventional approach includes keyword-based log monitoring in which a monitoring tool may search for specific keywords or patterns in logs to trigger alerts. Such implementations, however, lack the context of the error, often resulting in misinterpretation of the severity or nature of the issue. For example, identifying for specific words or patterns in logs (e.g., “error” or “timeout”) may result in false positives and / or false negatives, as well as lack any context. Further, such an approach is rigid and, as such, lacks adaptiveness to variations in how logs are generated by different services and / or across different programming languages. Moreover, keyword-based log monitoring is limited to detecting known issues and cannot adapt to new or emerging errors without manual rule updates.
[0004] With machine learning advancements, some conventional implementations may learn to detect anomalies in logs. Such implementations, however, focus on statistical anomalies (e.g., unexpected spikes or patterns in data), which may not correlate with actual errors or operational issues. Further, such solutions may lack deep contextual understanding of logs across programming languages, resulting in alerts that require further manual investigation. Implementation may also be operationally burdensome to maintain as retraining and manual tuning may be needed to maintain effectiveness in a changing infrastructure.
[0005] As such, with conventional approaches, monitoring alerts and diagnosing an issue associated therewith may take several minutes to hours. Accordingly, such conventional implementations may lead to significant delays and impacts on job turnaround time. In addition to delays in detecting and diagnosing issues, implementation of conventional systems for performing log monitoring often results in inefficient use of computing resources. For example, as a result of alerts triggered without sufficient context, development tools may be used to view an extensive volume of logs, run queries, initiate diagnostic tools, and parse and filter data, which may unnecessarily consume computing resources (e.g., CPU, I / O, memory, network bandwidth, etc.). False positives or noise alerts may also lead to rerunning diagnostics, restarting services unnecessarily, and / or triggering automated recovery processes, thereby resulting in unnecessary computing resources utilization. As another example, while an issue is being diagnosed, the system may stay in a degraded state longer than necessary, contributing to increased compute time, energy usage, and job turnaround delays. As yet another example, running rules (e.g., regular expressions) over large log volumes may be resource-intensive. Further, frequent reconfigurations may result in more deployments and tests to verify rules across environments.
[0006] Accordingly, current approaches are time-consuming, introduce errors, and / or create operational inefficiencies. In this way, identifying performance issues may be delayed or undetected, thereby resulting in ineffective log monitoring.SUMMARY
[0007] Embodiments of the present disclosure relate to real-time log monitoring using artificial intelligence (AI). Systems and methods are disclosed that perform automated log monitoring in real-time. In accordance with embodiments described herein, a Large Language Model (LLM) may be used to automate log monitoring, thereby significantly improving efficiency and effectiveness of identifying performance issues and improving overall system reliability and efficiency. In operation, an LLM may be leveraged to continuously monitor logs and generate performance data associated with corresponding log data. Such performance data may be analyzed (e.g., in association with context data) to identify and / or generate alerts that indicate potential performance issues. Such an approach enables an efficient and effective management of errors.
[0008] In contrast to conventional implementations, facilitating real-time log monitoring in an automated and proactive manner minimizes manual intervention, thereby allowing more focus on critical tasks and reducing dependency on developer assistance for root cause analysis. Further, utilizing LLMs that excel at understanding natural language enables a highly effective approach for identifying context, detecting errors, and summarizing logs. In addition to improved log monitoring, computing resource utilization is reduced as less resources may be needed to perform log monitoring and analysis in an automated manner. For example, automated log monitoring to accurately produce alerts in a real-time manner removes the need for frequent or continual manual checks, thereby reducing CPU cycles and database queries. Further, instead of analyzing false positives and / or failing to detect false negatives, performance issues are accurately identified, thereby resulting in appropriate computing resource utilization to resolve any detected issues.BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The present systems and methods for real-time log monitoring using artificial intelligence (AI) are described in detail below with reference to the attached drawing figures, wherein:
[0010] FIG. 1 provides an example network environment, in accordance with some embodiments of the present disclosure;
[0011] FIG. 2 illustrates an example implementation for facilitating management of real-time log monitoring using AI, in accordance with embodiments described herein;
[0012] FIG. 3 provides an example prompt for use in performing real-time log monitoring, in accordance with some embodiments of the present disclosure;
[0013] FIG. 4 provides an example user interface for presenting alerts, in accordance with some embodiments of the present disclosure;
[0014] FIG. 5 provides an example workflow for performing real-time log monitoring, in accordance with some embodiments of the present disclosure;
[0015] FIG. 6 provides an example method for facilitating management of real-time log monitoring using AI, in accordance with some embodiments of the present disclosure;
[0016] FIG. 7 provides an example method for facilitating management of real-time log monitoring using AI, in accordance with some embodiments of the present disclosure;
[0017] FIG. 8 provides an example method for facilitating management of real-time log monitoring using AI, in accordance with some embodiments of the present disclosure;
[0018] FIG. 9A is a block diagram of an example generative language model system suitable for use in implementing at least some embodiments of the present disclosure;
[0019] FIG. 9B is a block diagram of an example generative language model that includes a transformer encoder-decoder suitable for use in implementing at least some embodiments of the present disclosure;
[0020] FIG. 9C is a block diagram of an example generative language model that includes a decoder-only transformer architecture suitable for use in implementing at least some embodiments of the present disclosure;
[0021] FIG. 10 is a block diagram of an example computing device suitable for use in implementing at least some embodiments of the present disclosure; and
[0022] FIG. 11 is a block diagram of an example data center suitable for use in implementing at least some embodiments of the present disclosure.DETAILED DESCRIPTION
[0023] Systems and methods are disclosed related to real-time log monitoring using AI. In particular, logs of data are monitored in an automated and resource-efficient manner to facilitate proactive monitoring and enhance identification of performance data (e.g., errors) and providing alerts associated therewith.
[0024] In accordance with embodiments described herein, log data monitoring may leverage contextual understanding and natural language processing capabilities of AI technology, such as LLMs, to automate the detection and notification of various performance data, such as errors. For example, an LLM can understand the meaning behind log entries and, as such, identify patterns that indicate issues or errors. For instance, in a Java environment, when an exception occurs, the LLM can recognize the type of exception (e.g., NullPointerException), determine the part of a stack trace where the error occurred, and assess whether it is critical based on the surrounding log context. As another example, an LLM can understand logs from multiple programming languages (e.g., Java, Python, or Nod.js) and recognize language-specific error signatures and formats. In this regard, the prompt may include an instruction that tailors analysis to the specific language being used, thereby enabling accurate interpretation of logs across a wide range of services without requiring separate rules or configurations for each language. By way of example, assume a system includes microservices written in both Python and Java. In such a case, the LLM can detect errors specific to each language (e.g., Python's KeyError and Java's ArrayIndexOutOfBoundsException). As yet another example, an LLM may differentiate between a minor warning and a critical error that could impact service performance, thereby reducing alert fatigue. Further, an LLM may generate an intelligent summary that includes key details associated with an error or other performance data. Such details may include an error type (e.g., exception name), an associated service, a potential impact on service performance, a recommended action for resolution (e.g., based on historical data or log patterns), etc. For instance, assume a Java-based service throws a DatabaseConnectionTimeoutException. In such a case, an LLM can efficiently detect that the issue is likely related to database availability and recommend checking the database's uptime or configuration, thereby reducing time spent on root cause analysis.
[0025] In operation, a log monitoring manager is generally configured to monitor data logs in real-time and, in some cases, provide alert data associated therewith. To do so, log data may be obtained. Log data may generally refer to a structured or semi-structured record of events generated by software or systems during operation. Such log data may capture information about what happened, when, and how often. In this regard, log data provides a digital trail indicating system behavior, user actions, errors, exceptions, transactions, operational metrics, security-related events, and / or the like.
[0026] In embodiments, log data may be obtained in association with various services. A service may generally be responsible for a portion of a workflow or architecture and, as such, may provide corresponding logs. By way of example, assume a workflow includes five services. In such a case, each service may provide a set of corresponding log data.
[0027] In accordance with obtaining log data, such log data may be processed. Log data may be divided into chunks of data. In some cases, a log may be divided into log data chunks by splitting in a consistent manner, such as every 50 lines. In other cases, a log may be divided into log data chunks in a dynamic manner. Using such a dynamic approach may enable a downstream component, such as a language model, to better interpret a chunk of log data (e.g., avoid an exception stack trace to be split across two different chunks). In such cases, a regular expression(s) may be used to detect data, such as errors or exceptions, for generating data chunks. For instance, a regular expression may be used to detect exception patterns and, based on detecting an exception, log data chunks may be generated in a manner that ensures an exception(s) (e.g., an error message or stack trace) is not split across multiple log data chunks. In this regard, such dynamic processing ensures that a full exception is contained within one log data chunk.
[0028] Further, log data chunks may be generated to include lines before and / or after an error. In this way, a set of lines before an error may indicate what happened immediately before the error (e.g., condition that triggered the error), and a set of lines after the error may indicate what occurred after the error (e.g., retries or recovery steps occurring after the error), thereby providing context in association with the error. Accordingly, AI technology or other components may be provided with log data context to understand circumstances surrounding an error, exception, or other data within a log data chunk.
[0029] Log data, such as log data chunks, may be obtained from a queue to identify performance data in association with log data (e.g., log chunks). Performance data generally refers to data or information (e.g., structured metrics and / or unstructured information) that reflects a system, or a portion thereof (e.g., a service), behavior, or health. In embodiments, performance data includes data associated with errors and exceptions (which may both be generally referred to herein as errors). Error data may include any data associated with or representing an error. An error may be an unexpected condition or failure that prevents a program, system, or operation from behaving as intended. In embodiments, exception data includes data associated with or representing exceptions. An exception may be an event that occurs during the execution of a program when an unexpected condition disrupts the normal or typical flow of instructions.
[0030] In accordance with embodiments described herein, AI technology, such as an LLM, may be used to identify or generate performance data. Accordingly, a prompt may be generated to provide as input to an LLM. A prompt may include or reference various data. By way of example only, a prompt may include an instruction or request and / or log data, or references thereto, to be analyzed. An instruction generally refers to a request for generating performance data in accordance with the log data. An instruction may request the output of various types of data. As one example, an instruction may request an output of performance data in the form of an error indicator, criticality indicator, error type indicator, and / or the like. An error indicator generally refers to an indication related to an error, such as indication of whether an error exists, an error identifier, a time of error, and / or the like. A criticality indicator generally provides an extent of severity of the error. An error type indicator generally refers to a component associated with an error, such as an indication as to whether the error is associated with an application, a system, a service, a memory (e.g., error corresponding with a pod or machine exceeding a memory limit), etc. In some cases, the error type indicator may further indicate the particular application, system, and / or service that produced or resulted in the error.
[0031] In some cases, the instruction may be a general instruction that may be adapted to various log data. For example, an instruction may be a generic request as to whether a log data includes any error. In such a case, a response may indicate whether the log data contains an error or does not contain an error.
[0032] In other cases, the instruction may be a targeted instruction for performance data. In this regard, in some cases, an instruction may request output of particular performance data. In such cases, the particular performance data to request to include in a prompt may be determined. Determining particular performance data to request may be performed in any of a number of ways. As one example, a service-to-performance data mapping may be used to identify performance data to request. A service-to-performance data mapping may map services to one or more specific performance data portions to request. For example, a first service may correspond with a first type of performance data to request, and a second service may correspond with a second type of performance data to request.
[0033] As described, log data, or a portion thereof, may correspond with a service. As such, in accordance with obtaining the log data (e.g., a log data chunk), a service associated therewith may be identified. In some cases, the service may be identified via the log data (e.g., log data chunk). For example, metadata that is embedded in a log line(s) or attached by a logging infrastructure during collection or forwarding (e.g., file path or container tag) may be accessed and used to identify a service. In other cases, a service may be identified or inferred (e.g., based on parsing a known prefix format). In accordance with identifying a service, the service-to-performance data mapping may then be referenced to identify one or more performance data to request in the prompt. Identifying performance data to request in a prompt may be based on a service, as errors and exceptions may be known in association with particular services.
[0034] In some cases, a predefined prompt(s) or prompt template may be used to generate a prompt. In this regard, a prompt may be selected from among a set of predefined or predetermined prompts. As one example, one or more template prompts may be pregenerated for different types of services. In this regard, a service-to-prompt mapping may be used. In this way, as opposed to identifying performance data for a prompt, a particular prompt template may be identified based on a mapping to a service. As such, a service associated with log data (e.g., a log chunk) may be identified (e.g., using metadata embedded in a log line[s] or attached thereto) and, thereafter, used to identify, via a service-to-prompt mapping, a prompt template mapped to the service. Such a prompt template may include an instruction with a particular performance data(s) to generate.
[0035] An instruction may also include an output attribute indicating a desired attribute for the generated output. An output attribute may indicate a desired aspect associated with an output, such as performance data. As one example, an output attribute may indicate a format or programming language in which to provide output, such as performance data.
[0036] In addition to an instruction, contextual data (or an indication or representation thereof) relevant to the instruction may be included or referenced in the prompt to use in generating a response. For instance, log data (e.g., a log data chunk) may be provided in the prompt. For example, one or more log data chunks may be selected to include in a prompt with an instruction to evaluate the log data chunk(s) and generate one or more types of performance data in association therewith. In this way, one or more log data chunks may be added as contextual data in the prompt to facilitate generation of a response.
[0037] A prompt may be provided as input into an LLM, which may generate performance data as output. In accordance with generating performance data, further analysis may be performed on such performance data to determine whether to issue or generate an alert, or alert data, associated with the identified performance data. In cases in which no error, exception, etc., is identified (e.g., as indicated in the performance data), a determination may be made to not generate an alert. Similarly, in cases in which performance data, such as an error or exception, is normal or within a threshold range (e.g., below a normal threshold value), an alert may not be generated. On the other hand, in cases in which performance data, such as an error or exception, is not within a normal range or above a threshold, an alert may be generated.
[0038] In embodiments, context data may be used to determine whether to generate an alert. For example, context may be maintained to use in determining whether to issue an alert. One example of such context may include historical performance data or log data. For instance, a predetermined amount of historical performance data and / or log data may be maintained. In some cases, such a predetermined amount of historical data (e.g., 10 log data chunks) may be maintained for each service or other component. In this way, such historical data may be used to determine whether to generate an alert using contextual data.
[0039] In accordance with determining to generate an alert, alert data may be provided for presenting via a user device. Alert data may include representations of various performance data, such as data indicating what triggered the alert (e.g., error rate above a threshold value), a type of error, a source of the issue, a timestamp or time window, a severity or priority, associated logs, metrics, or traces, a suggested action(s) to remediate, etc. In some cases, alert data is provided to a dashboard, such as an observability dashboard, for presenting to a user. In other cases, alert data is provided to a communication platform (e.g., Slack, email, text, etc.) for communicating to the user via the user device. In yet other cases, alert data is provided to an incident management system.
[0040] In viewing the provided alert data (e.g., initially presented or presented based on a user selection), the user may analyze the alert data and determine whether to perform an action (e.g., a suggested action or a user-determined action). For example, in reviewing alert data, a user may identify that an error is considered normal in light of a temporary change to the system and, as such, take no action or select to pause the alert. In another example, in reviewing alert data, a user may determine to take an action to remediate an error. Alternatively or additionally, an action to remediate an error may be automatically implemented, for example, by a log monitoring manager.
[0041] Advantageously, monitoring logs in an automated and real-time manner facilitates a more robust and effective log management system. Further, such an automated monitoring of log data and an alert system reduces computer resource utilization, as alerts are accurately generated and communicated. For example, reliable monitoring of log data removes the need for frequent manual checks, thereby reducing CPU cycles.
[0042] With reference to FIG. 1, FIG. 1 is an example network environment, in accordance with some embodiments of the present disclosure. It should be understood that this and other arrangements described herein are set forth only as examples. Other arrangements and elements (e.g., machines, interfaces, functions, orders, groupings of functions, etc.) may be used in addition to or instead of those shown, and some elements may be omitted altogether. Further, many of the elements described herein are functional entities that may be implemented as discrete or distributed components or in conjunction with other components, and in any suitable combination and location. Various functions described herein as being performed by entities may be carried out by hardware, firmware, and / or software. For instance, various functions may be carried out using one or more processor executing instructions stored in one or more memories. For example, in some embodiments, the system and methods described herein may be implemented using one or more generative language models (e.g., as described in FIGS. 9A-9C), one or more computing devices or components thereof (e.g., as described in FIG. 10), and / or one or more data centers or components thereof (e.g., as described in FIG. 11).
[0043] With continued reference to FIG. 1, a block diagram of an exemplary network environment 100 suitable for use in implementing embodiments described herein is shown. Generally, the system 100 illustrates an environment suitable for facilitating management of real-time log monitoring using AI. Among other things, embodiments described herein effectively and efficiently monitor log data in an automated manner to accurately identify performance data and provide alerts associated therewith. In accordance with embodiments described herein, AI technology, such as LLMs, may be used to perform aspects of the log monitoring in an automated manner.
[0044] The network environment 100 includes a user device 102, data sources 106A-106N (which may be generally referred to herein as data source 106), log monitoring manager 108, and data store 110. The user device 102, the data sources 106, the log monitoring manager 108, and / or the data store 110 can communicate through a network 112, which may include any number of networks such as, for example, a local area network (LAN), a wide area network (WAN), the Internet, a cellular network, a peer-to-peer (P2P) network, a mobile network, or a combination of networks. The data store 110 may generally store any data that may be accessible to or used by any such component, such as a log monitoring manager 108, user device 102, and / or data sources 106. For example, the data store may store log data, chunked log data, performance data, alert data, etc.
[0045] The network environment 100 shown in FIG. 1 is an example of one suitable network environment and is not intended to suggest any limitation as to the scope of use or functionality of embodiments disclosed throughout this document, and nor should the exemplary network environment 100 be interpreted as having any dependency or requirement related to any single component or combination of components illustrated therein. For example, the user device 102 may be in communication with the log monitoring manager 108 via a mobile network or the Internet, and the log monitoring manager 108 may be in communication with data store 110 via a local area network. Further, although the environment 100 is illustrated with a network, one or more of the components may directly communicate with one another, for example, via HDMI (high-definition multimedia interface) and DVI (digital visual interface). Alternatively, one or more components may be integrated with one another. For example, at least a portion of the log monitoring manager 108 may be integrated with the user device 102.
[0046] The user device 102 can be any kind of computing device capable of facilitating efficient and effective management of real-time log monitoring. For example, in an embodiment, the user device 102 can be a computing device such as computing device 1000, as described above with reference to FIG. 10. In embodiments, the user device 102 can be a personal computer (PC), a laptop computer, a workstation, a mobile computing device, a personal digital assistant (PDA), a cell phone, or the like.
[0047] The user device 102 may include one or more processors and one or more computer-readable media. The computer-readable media may include computer-readable instructions executable by the one or more processors. The instructions may be embodied by one or more applications, such as application 104 shown in FIG. 1. The application(s) may generally be any application capable of facilitating efficient and effective management of log monitoring. In some cases, the application(s), such as application 104, may facilitate automated management of log monitoring. In some implementations, the application(s) comprises a web application, which can run in a web browser, and could be hosted at least partially server-side. In addition, or instead, the application(s) may comprise a dedicated application. In some cases, the application is integrated into the operating system (e.g., as a service). Application 104 may be accessed via a mobile application, a web application, or the like.
[0048] User device 102 may be a client device on a client side of operating environment 100, while data sources 106A-106N and log monitoring manager 108 may be on a server side of operating environment 100. Log monitoring manager 108 may comprise server-side software designed to work in conjunction with client-side software on user device 102 so as to implement any combination of the features and functionalities discussed in the present disclosure. An example of such client-side software is application 104 on user device 102. This division of operating environment 100 is provided to illustrate one example of a suitable environment, and it is noted there is no requirement for each implementation that any combination of user device 102, log monitoring manager 108, data source 106, and data store 110 must remain as separate entities.
[0049] In an embodiment, the user device 102 is separate and distinct from the data sources 106A-106N, the log monitoring manager 108, and the data store 110 illustrated in FIG. 1. In another embodiment, the user device 102 is integrated with one or more illustrated components. For instance, the user device 102 may incorporate functionality described in relation to the log monitoring manager 108. For clarity of explanation, embodiments are described herein in which the user device 102, the data source(s) 106, the log monitoring manager 108, and the data store 110 are separate, while understanding that this may not be the case in various configurations contemplated.
[0050] As described, a user device, such as user device 102, may facilitate automated log monitoring using AI. In some cases, a user device 102 may obtain an alert and, in response, provide a view of an indication or representation of the alert generated in association with log data. A user device 102, as described herein, may be operated by an individual or set of individuals that desire to view or analyze alerts related to performance of a computing system, or a portion thereof. In some cases, the user device 102 may be operated by an SRE team member.
[0051] In some cases, log monitoring may be initiated at the user device 102. In this regard, a user may provide or select an indication to initiate or perform log monitoring, for example, in accordance with a system, or a portion thereof. For example, a user may input, provide, or select various requirements for use in performing log monitoring. For instance, a user may input or select, via a user interface, a particular time frame or time duration for which to monitor logs. As another example, a user may input or select, via a user interface, a set of services for which to monitor logs. As yet another example, a user may input or select, via a user interface, an alert, or aspects thereof. An input or selection may be provided via an application 104 operating on the user device 102. In this regard, the user device 102, via application 104, might allow a user to input, select, or otherwise provide attributes associated with performing log monitoring. The application 104 may facilitating the inputting of criteria or requirements in a verbal form, a textual input form, a document form, an image form, etc. Such data may be input at the user device 102 in any manner. For instance, upon accessing a particular application (e.g., a system management application), a user may be presented with, or navigate to, an input tool to input or select various requirements desired for use in performing log monitoring.
[0052] Additionally or alternatively, log monitoring may be automatically initiated. For example, log monitoring may be automatically performed in association with the log monitoring manager 108 obtaining log data, such as from data source 106.
[0053] In accordance with the log monitoring manager 108 identifying alert data, a representation of such data may be provided to the user device 102 for display to a user (e.g., via application 104). In this way, an alert identified via the log monitoring manager 108 may be displayed to an individual or entity desiring to view possible performance issues in association with a system, or a portion thereof. In one example implementation, based on whether the log monitoring manager 108 identifies alert data, it may trigger an alert. For instance, an alert may be provided to a communication service or messaging platform (e.g., via a webhook, an AI, etc.) for presenting the data via the application 104 on the user device 102. As one example, application 104 may be in the form of a Slack application that allows individuals to receive and respond to messages in real-time. One example of such a communication service and / or application 104 may be Slack®. Other communication platforms that may be used at a user device to present alerts may include collaboration tools, electronic mail, messaging, and / or other communication systems.
[0054] Data sources 106A-106N generally refer to sources of data that provide logs, or log data, to the log monitoring manager 108 and / or the data store 110 (or other component from which the log monitoring manager 108 may reference or obtain the data). In embodiments, various data sources across a system may be used to provide logs. Examples of data sources include applications, web servers, databases, operating systems, cloud services and infrastructure components, security tools, and / or the like. Applications may provide various events, such as errors, exceptions, user activity, transaction failures, API usage, debut data, etc. Web servers may provide logs with various logs including access logs that track requests and error logs that indicate issues like misconfigurations or failed responses. Databases may provide logs related to query execution, connection problems, and performance concerns (e.g., slow queries). Operating systems may also provide logs that include system-level events (e.g., logins, resource usage, service crashes, hardware failures, etc.). Cloud services and infrastructure components may provide logs including data related to resource limits, application programming interface (API) activity, authentication, networking, system health, pod lifecycle events, etc. Security tools may provide logs including data related to unusual or malicious behavior, etc. Such logs may be provided from data source(s) to the log monitoring manager 108 at any time. In some cases, logs are provided in a continuous stream to enable real-time analysis.
[0055] With continued reference to FIG. 1, the log monitoring manager 108 can be implemented by server systems, program modules, virtual machines, components of a server or server, networks, and the like. At a high level, the log monitoring manager 108 manages real-time log monitoring in an automated manner using AI technology. In performing an efficient and effective monitoring of log data, the log monitoring manager 108 initially obtains log data, such as from a data source(s) 106. Log data generally refers to records or entries generated by software, systems, or devices that document events or transactions occurring within those environments. AI technology, such as an LLM, may be used to facilitate analysis of the log data and generation of performance data in accordance therewith. Generally, performance data may refer to any data that reflects or indicates performance of a system, or a portion thereof. For example, performance data may indicate errors or exceptions associated with log data. Such performance data may be analyzed, for example, in association with context of historical performance data, and used to determine whether to initiate an alert associated with the performance data. In cases in which an alert is to be initiated, alert data may be provided to a user device for presenting such alert data. In this way, a user may view the alert data indicating a potential performance issue. Accordingly, such a potential performance issue may be addressed in advance of an issue arising or remediated promptly following an indication of a performance issue.
[0056] Advantageously, log data is generally monitored in real-time, thereby enabling an efficient and effective identification of potential performance issues and remediation thereof. Further, using context to identify performance data and / or to determine whether to issue an alert enables a more accurate identification of potential performance issues, thereby reducing utilization of computing resources.
[0057] Turning now to FIG. 2, FIG. 2 illustrates an example implementation for facilitating real-time log monitoring using AI via log monitoring manager 208. In operation, the log monitoring manager 208 is generally configured to monitor data logs in real-time and, in some cases, provide alert data associated therewith. Advantageously, and in accordance with embodiments described herein, performing automated log monitoring in an efficient and effective manner can result in timely identification of potential performance issues and enhance remediation associated therewith.
[0058] The log monitoring manager 208 may communicate with the data store 210. The data store 210 is configured to store data accessible by the log monitoring manager 208, or another server or component. In embodiments, log monitoring manager 208 and / or user device(s) (such as user device 102 of FIG. 1), and / or data sources (such as data sources 106 of FIG. 1) can provide data to the data store 210 for storage, which may be retrieved or referenced by any such component. As such, the data store 210 may store various types of data, such as log data, prompt templates, performance data, mappings, alert data, and / or the like.
[0059] As shown, in embodiments, input data 270 may be provided to the log monitoring manager 208. In embodiments, input data 270 includes log data. Log data may generally refer to a structured or semi-structured record of events generated by software or systems during operation. Such log data may capture information about what happened, when, and how often. In this regard, log data provides a digital trail indicating system behavior, user actions, errors, exceptions, transactions, operational metrics, security-related events, and / or the like. Log data may be provided by any type or number of data sources (e.g., data sources 106 of FIG. 1), such as operating systems, applications, web servers, databases, authentications systems, cloud infrastructures, etc.
[0060] Various types of log data, or input data 270, may be input. By way of example only, log data may be obtained in the form of system logs, application logs, access logs, security logs, audit logs, performance logs, transaction logs, etc. System logs, typically generated by an operating system, may capture low-level events, such as system startups, shutdowns, hardware issues, or kernel errors. Application logs may be produced by software applications and can include messages about user actions, errors, or internal events. For example, a web app might log “User 123 submitted payment form” or “Database connection timeout.” Access logs may record incoming requests to web servers or APIs, for instance, including client IP addresses, requested endpoints, and response codes. Security logs (e.g., generated by firewalls, authentication systems, or endpoint protection tools) may track login attempts, permission changes, or potential threats (e.g., “Failed login from 192.168.1.10”). Audit logs may trace administrative or user-level actions within systems for compliance purposes, such as tracking when a user is created or a permission is changed. Operational logs, often collected by monitoring agents, report on system metrics like CPU usage, memory consumption, or network latency, providing visibility into infrastructure health. Transaction logs may capture higher-level events related to workflows, such as order submissions or payment processing, and are used for debugging, analytics, or user behavior tracking.
[0061] In embodiments, log data may be provided in association with various services. A service may generally be responsible for a portion of a workflow or architecture and, as such, may provide corresponding logs. By way of example, assume a workflow includes five services. In such a case, each service may provide a set of corresponding log data. As a specific example, assume a distributed Continuous Integration and Continuous Delivery (CI / CD) pipeline includes various services that each provide log data. In such a case, a change detection service that logs when it detects a new commit or pull request may provide log data indicating how long it takes to poll a version control system (VCS) how frequently changes are detected, etc. A build trigger service that determines what builds / tests to run may provide log data indicating time taken to process change metadata, time to generate build matrix, etc. A build service that compiles and builds code may provide log data indicating build duration, queue wait time, success / failure rates, CPU usage during build, etc. A packaging service that combines builds into deployable artifacts may provide log data indicating time to resolve dependencies and create packages. A notification service that sends alerts or updates (e.g., to Slack®, email, dashboards, etc.) may provide log data indicating delivery time per notification, number of retries, failure rates, etc. Any type of log data may be provided. Providing log data in association with services may facilitate analysis, such as understanding bottlenecks, heavy loads, etc., so that appropriate scaling decisions, incident responses, and cost optimization may be determined in a suitable manner.
[0062] Log data may be provided as input data 270 to the log monitoring manager 208 at any time. For example, in embodiments, log data is provided to the log monitoring manager 208 in real-time, or as the log data is collected (e.g., at the data source). In this way, real-time log monitoring may be performed by the log monitoring manager 208.
[0063] The log monitoring manager 208 may generally manage log monitoring and reporting alerts generated in association therewith. To effectively and efficiently monitor logs, in some embodiments, the log monitoring manager 208 includes a log data obtainer 220, a performance data manager 230, a system analysis manager 240, an alert data provider 250, and performance data generator 260. According to embodiments described herein, the log monitoring manager 208 can include any number of other components not illustrated. In some embodiments, one or more of the illustrated components 220, 230, 240, 250, and 260 can be integrated into a single component or can be divided into a number of different components. Components 220, 230, 240, 250, and 260 can be implemented on any number of machines and can be integrated, as desired, with any number of other functionalities or services.
[0064] The log data obtainer 220 is generally configured to obtain log data. As described, log data may be obtained in various types of forms, such as system logs, application logs, access logs, security logs, audit logs, operational logs, transaction logs, etc. The log data obtainer 220 may obtain logs from various data sources, such as data sources 106 of FIG. 1. Examples of such data sources include operating systems, applications, web servers, databases, authentications systems, cloud infrastructure, etc. Additionally or alternatively, log data obtainer 220 may retrieve, receive, or obtain log data from other components. As one example, log data may be obtained from data store 210. As another example, log data may be obtained from a system analysis manager, such as system analysis manager 240. For instance, in some implementations, log data may be obtained as input data at the system analysis manager 240 and, as such, the log data obtainer 220 may obtain log data therefrom.
[0065] As described, log data may be provided in association with different services, for example, associated with a workflow or infrastructure. As such, in some cases, the log data obtainer 220 may include different log processors to obtain the log data associated with the different services. For example, a first log processor may monitor and obtain log data associated with a first service, a second log processor may monitor and obtain log data associated with a second service, and so on.
[0066] In accordance with obtaining log data, the log data obtainer 220, or a log processor(s) thereof, may process the log data. As one example, the log data obtainer 220 may perform chunking of the data. In this regard, the log data obtainer 220 may determine how to divide logs into chunks of data. In some cases, a log may be divided into log data chunks by splitting in a consistent manner, such as every 50 lines. In other cases, a log may be divided into log data chunks in a dynamic manner. Using such a dynamic approach may enable a downstream component, such as a language model, to better interpret a chunk of log data (e.g., avoid an exception stack trace to be split across two different chunks). In such cases, a regular expression(s) may be used to detect data, such as errors or exceptions, for generating data chunks. For instance, a regular expression may be used to detect exception patterns and, based on detecting an exception, the log data obtainer 220 may generate log data chunks in a manner that ensures an exception(s) (e.g., an error message or stack trace) is not split across multiple log data chunks. In this regard, such dynamic processing ensures that a full exception is contained within one log data chunk.
[0067] Further, in generating log data chunks, the log data obtainer 220 may facilitate providing or including context in association with a log chunk. In this regard, the log data obtainer 220 may generate log data chunks that include lines before and / or after an exception. In this way, a set of lines before an error may indicate what happened immediately before the error (e.g., condition that triggered the error), and a set of lines after the error may indicate what occurred after the error (e.g., retries or recovery steps occurring after the error), thereby providing context in association with the error. Accordingly, AI technology or other components may be provided with log data context to understand circumstances surrounding an exception, error, or other data within a log data chunk.
[0068] The log data obtainer 220 (e.g., via a log processor associated with a particular service) may provide or push log data, such as processed log data or log data chunks, to a log queue. A log queue may be a buffer or message stream that temporarily holds log entries prior to processing or more permanent storage. In some cases, the log data may be provided to a log queue to enable management of an increase in log data. For example, in some cases (e.g., during peak hours), the logs are generated at a rate at which the performance data manager 230 and / or performance data generator 260 is unable to maintain. A log queue may be in any format. In some examples, a log queue may be in a first-in, first-out format. In other cases, an algorithm may be used to retrieve log data chunks in the queue in a prioritized manner. Further, any number of log queues may be used.
[0069] The performance data manager 230 is generally configured to manage identification of performance data in association with log data (e.g., log chunks). Performance data generally refers to data or information (e.g., structured metrics and / or unstructured information) that reflects a system, or a portion thereof (e.g., a service), behavior, or health. In embodiments, performance data includes data associated with errors and exceptions. In embodiments, exception data includes data associated with or representing exceptions. An exception may be an event that occurs during the execution of a program when an unexpected condition disrupts the normal or typical flow of instructions. An exception may include a message and a stack trace to facilitate debugging the issue. In such a case, the program provides or raises an exception to signal that something went wrong. In this regard, exception data may include any data indicating issues, anomalies, or exceptional conditions. In many cases, exception data is valuable for debugging, troubleshooting, incident response, or otherwise resolving issues that hinder normal functioning (e.g., of a system, infrastructure, workflow, etc.). Error data may include any data associated with or representing an error. An error may be an unexpected condition or failure that prevents a program, system, or operation from behaving as intended.
[0070] The performance data manager 230 may obtain log data, such as chunked log data from a log queue. For example, in some cases, as the performance data manager 230 is ready to process data to generate or identify performance data, the performance data manager 230 may pull or obtain one or more log data chunks from the log queue.
[0071] In accordance with embodiments described herein, performance data generator 260 may be used to identify or generate performance data. As such, the performance data manager 230 may include a prompt generator 232 and a response manager 234 that communicates with the performance data generator 260. One example of a performance data generator 260 that is used to generate performance data is an LLM. Although performance data generator 260 is illustrated as being integrated with the log monitoring manager 208, such a performance data generator 260 may be an independent, separate, or remote service that is accessible by the log monitoring manager 208 or a component thereof, such as the performance data manager 230.
[0072] In accordance with obtaining log data, such as one or more chunks of log data, the prompt generator 232 may generate a prompt for providing as input to performance data generator 260. In particular, the prompt generator 232 may generate a prompt that may be used to initiate generation of performance data. A prompt generally refers to an input, such as an input text, that can be provided to performance data generator 260, such as an LLM, to generate an output in the form of performance data. In embodiments, a prompt includes data, such as text or an indication or reference thereto, to influence an AI model (e.g., an LLM) to generate performance data having a desired content and / or structure. A prompt typically includes text given to an AI model to be completed. In this regard, a prompt generally includes instructions and, in some cases, identifies relevant data to use in performing the generation of performance data. Additionally or alternatively, the prompt may include images, or other non-text data, to influence an AI model, such as a latent variable model (LVM) and / or multimodal large language model (MLLM) to generate an output having the desired content and structure.
[0073] In accordance with embodiments described herein, a prompt may include or reference various data. By way of example only, a prompt may include an instruction or request and / or log data, or references thereto, to be analyzed. An instruction generally refers to a request for generating performance data in accordance with the log data. An instruction may request the output of various types of data. As one example, an instruction may request an output of performance data in the form of an error indicator, criticality indicator, error type indicator, and / or the like. An error indicator generally refers to an indication related to an error, such as indication of whether an error exists, an error identifier, a time of error, and / or the like. A criticality indicator generally provides an extent of severity of the error. An error type indicator generally refers to a component associated with an error, such as an indication as to whether the error is associated with an application, a system, a service, a memory (e.g., error corresponding with a pod or machine exceeding a memory limit), etc. In some cases, the error type indicator may further indicate the particular application, system, or service that produced or resulted in the error.
[0074] In some cases, the instruction may be a general instruction that may be adapted to various log data. For example, an instruction may be a generic request as to whether certain log data includes any errors. In such a case, a response may indicate whether the log data contains an error or does not contain an error.
[0075] In other cases, the instruction may be a targeted instruction for performance data. In this regard, in some cases, an instruction may request output of particular performance data. In such cases, the prompt generator 232 may determine the particular performance data to request for including in a prompt. Determining particular performance data to request may be performed in any of a number of ways. As one example, a service-to-performance data mapping may be used to identify performance data to request. A service-to-performance data mapping may map services to one or more specific performance data to request. For example, a first service may correspond with a first type of performance data to request, and a second service may correspond with a second type of performance data to request.
[0076] As described, log data, or a portion thereof, may correspond with a service. As such, in accordance with obtaining the log data (e.g., a log data chunk), the prompt generator 232 may reference or identify a service associated therewith. In some cases, the service may be identified via the log data (e.g., log data chunk). For example, metadata that is embedded in a log line(s) or attached by a logging infrastructure during collection or forwarding (e.g., file path or container tag) may be accessed and used to identify a service. In other cases, a service may be identified or inferred (e.g., based on parsing a known prefix format). In accordance with identifying a service, the service-to-performance data mapping may then be referenced to identify one or more performance data to request in the prompt. Identifying performance data to request in a prompt may be based on a service, as errors and exceptions may be known in association with particular services.
[0077] In some cases, the prompt generator 232 may use a predefined prompt(s) or prompt template to generate a prompt. In this regard, the prompt generator 232 may select a prompt from among a set of predefined or predetermined prompts. As one example, one or more template prompts may be pregenerated for different types of services. In this regard, a service-to-prompt mapping may be used. In this way, as opposed to identifying performance data for a prompt, a particular prompt template may be identified based on a mapping to a service. As such, a service associated with log data (e.g., a log chunk) may be identified (e.g., using metadata embedded in a log line[s] or attached thereto) and, thereafter, used to identify, via a service-to-prompt mapping, a prompt template mapped to the service. Such a prompt template may include an instruction with a particular performance data(s) to generate.
[0078] A service may correspond with any number of performance data or prompt templates. As one example, a service may correspond with three different types of performance data to identify in association with a log data chunk. Further, any number of prompts may be generated in association with the various types of performance data to generate. As one example, a single prompt may be generated that includes an instruction to generate each of three identified types of performance data. As another example, three different prompts may be generated that each include an instruction to generate one of the three identified performance data types.
[0079] An instruction may also include an output attribute indicating a desired attribute for the generated output. An output attribute may indicate a desired aspect associated with an output, such as performance data. As one example, an output attribute may indicate a format or programming language in which to provide output, such as performance data.
[0080] In addition to an instruction, contextual data, or an indication or representation therefor, relevant to the instruction may be included or referenced in the prompt to use in generating a response. For instance, log data (e.g., a log data chunk) may be provided in the prompt. For example, one or more log data chunks may be selected to include in a prompt with an instruction to evaluate the log data chunk(s) and generate one or more types of performance data in association therewith. In this way, one or more log data chunks may be added as contextual data in the prompt to facilitate generation of a response.
[0081] FIG. 3 provides one example of prompt 300. In prompt 300, the log data 302 is provided. Further, the prompt includes the instruction 304, which requests a response in a structured JavaScript Object Notation (JSON) format in the form of a yes or no response in relation to the Java exception. In cases in which the Java exception is present, the instruction also requests a brief summary of the exception without including the stack trace. In this way, if there is an error trace, the instruction requests that it be translated into a more human-readable explanation.
[0082] Any number of prompts may be generated. As one example, different prompts may be generated for different log data chunks. For example, a first prompt may be generated for a first log chunk, a second prompt may be generated for a second log chunk, etc.
[0083] A prompt(s) may be provided as input into the performance data generator 260, which may generate performance data as output. As described, performance data may be in any number of forms. By way of example only, performance data may be in the form of an error indicator, a criticality indicator, an error type indicator, etc.
[0084] Performance data generator 260 is generally configured to generate performance data. In this regard, performance data generator 260 analyzes data in the prompt and outputs one or more performance data. In embodiments, performance data generator 260 takes, as input, a prompt generated by the prompt generator 232. Based on the prompt, performance data generator 260 can generate performance data, for example, associated with log data in the prompt. For example, assume a prompt includes a chunk of log data associated with a service. In such a case, the performance data generator 260 identifies or generates performance data based on the log data. Such performance data may provide an indication of whether an error is included in the log data, whether a particular error is included in the log data, a criticality of an error, a summary of the error included in the log data, etc.
[0085] As described, the performance data generator 260 may generate any type of performance data, for example, in accordance with an instruction in the prompt. As one example, performance data generated may be in the form of an error indicator related to an error that indicates, for instance, whether an error exists, an error identifier, a time of error, and / or the like. As another example, performance data may be generated in the form of a criticality indicator that provides an extent of severity of the error. As yet another example, performance data may be generated in the form of an error type indicator that refers to a component associated with an error, such as an indication as to whether the error is associated with an application, a system, a service, a memory (e.g., error corresponding with a pod or machine exceeding a memory limit), etc. In some cases, the error type indicator may additionally or alternatively indicate the particular application, system, or service that produced or resulted in the error. By way of example only, a performance data generator 260 may generate performance data that indicates whether an error has occurred, the severity of the error, and the impact of the error. In some cases, the error(s) can be categorized into different levels of severity (e.g., warnings, critical alerts, etc.) based on the surrounding log context, error frequency, and / or system behavior. In this way, the performance data generator 260 may assess whether an error is critical to system performance or whether it is a transient issue that does not need immediate attention.
[0086] In embodiments, to generate such performance data, the performance data generator 260 (e.g., a trained LLM) may use context provided in the prompt, such as the log data including additional lines of data to provide context. As such, the performance data generator 260 may analyze an error contained in a log data chunk using the lines preceding and / or succeeding the error.
[0087] The performance data generator 260 may be or include any number of AI models or technologies (e.g., generative AI models or technologies). In this way, to effectively and efficiently generate performance data, the performance data generator 260 may be, include, access, or communicate with AI technology. In some embodiments, the AI model is a Large Language Model (LLM). A language model is a statistical and probabilistic tool that determines the probability of a given sequence of words occurring in a sentence (e.g., via next sentence prediction [NSP] or minimal learning machine [MLM]). In this way, it is a tool that is trained to predict the next word in a sentence. A language model is called an LLM when it is trained on an enormous amount of data. Some examples of LLMs are OPT, FLAN-T5, BART, GOOGLE's BERT, and OpenAI's GPT-3. For instance, GPT-3 is an LLM with 175 billion parameters trained on 580 gigabytes of text. These models have capabilities ranging from writing a simple essay to generating complex computer codes-all with limited to no supervision. Accordingly, an LLM is a deep neural network that is very large (billions to hundreds of billions of parameters) and understands, processes, and produces human natural language by being trained on massive amounts of text. In embodiments, an LLM generates representations of text, acquires world knowledge, and / or develops generative capabilities. Alternatively or additionally, the performance data generator 260 may be in the form of a small language model, a large vision model, a multimodal large language model, etc.
[0088] Using AI technology, such as an LLM, may facilitate identification of performance data (e.g., an error) intelligently and contextually. As one example, log data may be inconsistent and unstructured across teams, services, languages, developers, etc. For example, an error may be logged as “Failed to fetch” or “Something went wrong.” While a conventional tool may recognize an error based on a rule, an LLM may understand meaning, such as, for example, that “Failed to fetch” and “Something went wrong” might indicate the same type of issue. As another example, an LLM may interpret semantic indicators of failure, not just relying on a presence of a particular word (e.g., “error”). Further, LLMs can perform contextual reasoning using the lines surrounding the errors on the log data chunks to understand abnormalities or significance.
[0089] Additionally, an LLM may be trained on diverse logs (e.g., associated with various services) and, as such, can adapt to different styles in identifying performance data. An LLM may be trained to recognize, analyze, and summarize logs with contextual understanding. As such, the LLM may interpret complex log data in natural language, recognizing patterns, relationships, and severity without predefined rules, thereby enabling more accurate detection of possible performance issues, particularly those that may not have been explicitly programmed into the system.
[0090] As such, as described herein, the performance data generator 260, in the form of an LLM, may obtain a prompt and, using such information in the prompt, generate performance data in the form of a response. In some embodiments, the performance data generator 260 takes the form of an LLM, but various other AI models can additionally or alternatively be used.
[0091] The response manager 234 is generally configured to manage the generated performance data. In this regard, performance data generated via the performance data generator 260 may be managed and / or transmitted by the response manager 234. In some cases, in accordance with the performance data generator 260 generating performance data, the performance data may be stored, for example, in data store 210, for use in facilitating management of performance data. In some cases, performance data may be provided to a user device or user to view, such as user device 102 of FIG. 1. For example, performance data in the form of an indication of an error and / or summary of the error may be provided to the user device for display. Additionally or alternatively, in accordance with embodiments described herein, performance data may be provided to the system analysis manager 240 for further analysis of the data (e.g., prior to providing data for display).
[0092] Further, the response manager 234 may use performance data produced or output by the performance data generator 260 to generate or derive additional content. For instance, in some cases, the response manager 234 may aggregate performance data. For instance, in identifying a response in association with a first prompt, the performance data therefrom may be combined with performance data from another response associated with a second prompt.
[0093] In accordance with generating performance data, the system analysis manager 240 obtains the performance data and performs further analysis on such performance data. For example, the system analysis manager 240 may analyze the performance data to determine whether to issue or generate an alert, or alert data, associated with the identified performance data. An alert generally refers to a signal that indicates that a condition, such as a potential performance issue or abnormal behavior, has been detected and may require attention. Alert data may include any data associated with an alert. In this regard, alert data may represent or describe an alert. Such alert data may include data indicating what triggered the alert (e.g., error rate above a threshold value), source of the issue, timestamp or time window, severity or priority, associated logs, metrics, or traces, suggested actions to remediate, etc.
[0094] Identifying whether to trigger or initiate an alert may be performed in any of a number of ways. As described, in some cases, the performance data may indicate an extent of criticality associated with an error indicated in log data. As such, the system analysis manager 240 may determine whether to initiate an alert based on the extent of criticality indicated in the performance data. For example, in instances in which an extent of criticality exceeds a severity threshold, an alert may be generated. In other cases, the system analysis manager 240 may determine or assign an extent of criticality associated with an error, exception, or other performance data and, thereafter, use such a determined extent of criticality to determine whether to initiate an alert. In addition or in the alternative to using a threshold value to determine whether to generate an alert, other implementations may be used, such as identification of statistical anomalies, pattern recognition, rule matching, etc.
[0095] In cases in which no error, exception, etc., is identified (e.g., as indicated in the performance data), the system analysis manager 240 may determine not to generate an alert. Similarly, in cases in which performance data, such as an error or exception, is normal or within a threshold range (e.g., below a normal threshold value), the system analysis manager 240 may determine not to generate an alert. On the other hand, in cases in which performance data, such as an error or exception, is not within a normal range, the system analysis manager 240 may determine to generate an alert.
[0096] In embodiments, context data may be used to determine whether to generate an alert. For example, the system analysis manager 240 may maintain or access context to use in determining whether to issue an alert. One example of such context may include historical performance data or log data. For instance, the system analysis manager 240 may maintain a predetermined number of historical performance data and / or log data. In some cases, such a predetermined amount of historical data (e.g., 10 log data chunks) may be maintained for each service or other component. In this way, such historical data may be used to determine whether to generate an alert using contextual data. By way of example only, assume performance data is obtained at the system analysis manager 240 in association with a service. Such performance data may indicate a particular error identified in a log data chunk and a summary of the error. In such a case, the system analysis manager 240 may access and reference performance data associated with a prior ten log data chunks. Such data may be analyzed to determine if the identified error is normal or abnormal given the prior data as context. For instance, a number of instances the error has previously occurred may be taken into consideration. As another example, whether the error occurs in association with processing the same or different data may be taken into consideration.
[0097] In some cases, accessing and using context data to facilitate an alert determination may occur in evaluation of each set of performance data. In other cases, a determination may be made as to whether to access and use context data to facilitate an alert determination. For instance, in cases in which a criticality of the alert exceeds a threshold, context data may be analyzed.
[0098] In accordance with determining to generate an alert, the alert data provider 250 may provide alert data. In this regard, the alert data provider 250 may provide alert data as output data 280 for presenting via a user device, such as user device 102 of FIG. 1. As described, alert data may include any data associated with an alert. Such alert data may include data indicating what triggered the alert (e.g., error rate above a threshold value), a type of error, a source of the issue, a timestamp or time window, a severity or priority, associated logs, metrics, or traces, a suggested action(s) to remediate, etc.
[0099] In some cases, the alert data provider 250 may determine or identify alert data. For example, in some cases, a suggested action may be determined or identified. An action to suggest in association with an alert may be determined or identified in any number of ways. As one example, a particular alert type may correspond with an action such that when the alert type is identified, a suggested action may be identified via a lookup table, etc. As another example, AI technology, such as an LLM, may be used to identify a suggested action for a particular set of alert data (e.g., a source of the alert, a type of error associated with the alert, a severity or priority of the alert, etc.). For instance, a prompt may be generated to request a suggested action associated with a set of alert data and / or performance data and input to an LLM. In response, the LLM may return a response indicating a suggestion action(s) to perform to remediate an error associated with the alert.
[0100] The alert data provider 250 may communicate alert data in any of a number of ways. In some cases, alert data is provided to a dashboard, such as an observability dashboard, for presenting to a user. In other cases, alert data is provided to a communication platform (e.g., Slack®, email, text, etc.) for communicating to the user via the user device. In yet other cases, alert data is provided to an incident management system.
[0101] Output data 280, or alert data, may be presented, via a user interface, in any number of ways. By way of example only, and with reference to FIG. 4, FIG. 4 provides one example of alert data presented in association with alerts generated for performance data. As shown, alert 402 includes a representation or identification of a performance exception 404, for example, to indicate an exception (also referred to as an error). In addition to a performance exception 404 identifier, links may be provided to enable a user to view related details or take actions. For example, a user may select to view details 406, pause an alert 408 to discontinue alerts related to the exception, and / or unpause an alert 410. In addition, a user may select to view a service log URL 412 or view system monitor log URL 414. In some cases, such links to additional information or to initiate actions may be standard or default. In other cases, such links to additional information and / or to initiate actions may be dynamically identified based on the alert data associated with the alert. For example, a suggested action to take in accordance with an alert may be presented. Examples of suggested actions may include checking recent code changes or configuration updates, reviewing logs or stack traces for more detail, validating input data and ensuring it meets expected formats, increasing resource limits such as memory or disk space, restarting affected services or containers, applying rate limiting or retry logic in the case of timeouts, rolling back to a known good deployment, verifying authentication or access control settings, cleaning up unnecessary files to free disk space, inspecting dependency health (like databases or APIs), updating or regenerating outdated rules or patterns (e.g., regex), and notifying the responsible team for further investigation or escalation. In some cases, alert data presented in association with an alert may be customizable to user preferences (e.g., different team preferences). As one example, certain users may only be able to view the alerts and details associated therewith, while other users may be permitted to initiate remediation or correction actions in association with the alert.
[0102] In viewing the provided alert data (e.g., initially presented or presented based on a user selection), the user may analyze the alert data and determine whether to perform an action (e.g., a suggested action or a user-determined action). For example, in reviewing alert data, a user may identify that an error is considered normal in light of a temporary change to the system and, as such, take no action or select to pause the alert. In another example, in reviewing alert data, a user may determine to take an action to remediate an error. Alternatively or additionally, an action may be automatically initiated or implemented by a computing system, such as by a log monitor manager.
[0103] As can be appreciated, any number or type of alerts may be generated and provided, and embodiments described herein are not intended to limit the type of alert that may be generated. Further, alerts may be presented in any number of ways. Any number of implementations may be employed in accordance with embodiments described herein.
[0104] Turning to FIG. 5, FIG. 5 provides an illustrative workflow 500 for facilitating efficient and effective monitoring of log data. As shown in FIG. 5, log data 502 is input to the log monitoring manager 522. In this example, the log data 502 is input to the system analysis manager 504. In other cases, however, the log data 502 may be input directly to the log processor 506. In accordance with obtaining log data at the system analysis manager 504, such log data is provided to the log processor 506. In some embodiments, the log processor 506 corresponds with a service associated with the log data 502. The log processor 506 may generate log data chunks and provide them to the log queue 508. In some embodiments, such log data chunks may include an error or exception and lines preceding or succeeding such an error or exception to provide context to an LLM. The performance data manager 510 may obtain log data chunks from the log queue 508 and generate prompts using such data. For example, for a first log data chunk, the performance data manager 510 may generate a prompt that includes the first log data chunk and requests generation of performance data in a particular format. The prompt can then be provided to the performance data generator 512, such as an LLM, to generate the desired performance data, which can then be returned to the performance data manager 510. The performance data manager 510 provides the performance data 514, such as an indication of an error or no error, to the system analysis manager 504. The system analysis manager 504 may analyze the performance data and, in some cases, context data, to determine whether to generate an alert in association with the performance data. For example, an alert may be generated in cases in which the performance data exceeds a threshold level of criticality. A desired alert may be provided to an alert data provider 516, which may provide alert data 518 (e.g., a notification including an alert identifier and alert details) to a user device 520 for display or to a communication platform that provides the alert data to a user device.
[0105] Now referring to FIGS. 6-8, each block of methods 600, 700, and 800 described herein comprises a computing process that may be performed using any combination of hardware, firmware, and / or software. For instance, various functions may be carried out using one or more processors executing instructions stored in one or more memories. The method may also be embodied as computer-usable instructions stored on computer storage media. The method may be provided by a standalone application, a service or hosted service (standalone or in combination with another hosted service), as a microservice via an application programming interface (API) or a plug-in to another product, to name a few. In addition, methods 600, 700, and 800 are described, by way of example, with respect to the system of FIG. 1 and FIG. 2. However, this method may additionally or alternatively be executed by any one system, or any combination of systems, including, but not limited to, those described herein.
[0106] FIG. 6 is a flow diagram showing a method 600 for facilitating management of real-time log monitoring, in accordance with some embodiments of the present disclosure. The method 600, at block B602, includes obtaining a representation of log data including an error and error context associated with the error. In embodiments, the error context associated with the error includes a service associated with the error and / or a set of lines of log data preceding or succeeding the error.
[0107] The method 600, at block B604, includes generating, using one or more generative language models, performance data associated with the error based on the representation of the log data. In embodiments, the performance data comprises an indication of the error, an identification of the error, an indication of an error type, an indication of a criticality of the error, and / or a summary of the error. A type of performance data may be generated based on an instruction input to the one or more generative language models. Such a type of performance data generated may be determined using a mapping of a service associated with the log data to the type of performance data.
[0108] The method 600, at block B606, includes determining to generate an alert based on the performance data. In some cases, determining to generate the alert may include obtaining historical data associated with the error and analyzing the performance data based on the historical data to determine to generate the alert.
[0109] The method 600, at block B608, includes causing presentation of an alert, using at least one of a display device or an audio device, associated with the performance data. Presentation of an alert may include presenting an indication of the error and data associated with the error. Additionally or alternatively, presentation of the alert may include presenting an indication of an action to take to remediate the error.
[0110] FIG. 7 provides a flow diagram showing a method 700 for facilitating management of real-time log monitoring, in accordance with some embodiments of the present disclosure. The method 700, at block B702, includes obtaining a representation of log data including an error and error context associated with the error.
[0111] The method 700, at block B704, includes generating a prompt including the representation of the log data for providing to one or more generative language models to generate performance data associated with the error based on the representation of the log data. In some embodiments, the prompt may further include an instruction indicating a type of performance data to generate.
[0112] The method 700, at block B706, includes determining to generate an alert using the performance data. In embodiments, determining to generate an alert may include obtaining historical data associated with the error and using such data to analyze the performance data to determine to generate the alert.
[0113] The method 700, at block B708, includes causing presentation of an alert, using at least one of a display device or an audio device, associated with the performance data. Presentation of an alert may include presenting an indication of an action to take to remediate the error.
[0114] Turning to FIG. 8, FIG. 8 provides a flow diagram showing a method 800 for facilitating management of real-time monitoring of log data, in accordance with some embodiments of the present disclosure. The method 800, at block B802, includes obtaining a representation of log data including an error.
[0115] The method 800, at block B804, includes generating, using one or more generative language models, performance data associated with the error based on the representation of the log data.
[0116] The method 800, at block B806, includes using context associated with the performance data to determine to generate an alert based on the performance data. In embodiments, the context associated with the performance data includes historical data associated with the error.
[0117] The method 800, at block B808, includes providing data representing the performance data for presentation using at least one of a display device or an audio device based on the determination to generate the alert. In embodiments, the data representing the performance data includes an extent of severity of the error, an identification of the error, a summary of the error, an action recommendation for the error, and / or the like.
[0118] The systems and methods described herein may be used for a variety of purposes, by way of example and without limitation, for machine (e.g., robot, vehicle, construction machinery, warehouse vehicles / machines, autonomous, semi-autonomous, and / or other machine types) control, machine locomotion, machine driving, synthetic data generation, model training (e.g., using real, augmented, and / or synthetic data, such as synthetic data generated using a simulation platform or system, synthetic data generation techniques such as but not limited to those described herein, etc.), perception, augmented reality (AR), virtual reality (VR), mixed reality (MR), robotics, security and surveillance (e.g., in a smart cities implementation), autonomous or semi-autonomous machine applications, deep learning, environment simulation, object or actor simulation and / or digital twinning, data center processing, conversational AI, light transport simulation (e.g., ray-tracing, path tracing, etc.), distributed or collaborative content creation for 3D assets (e.g., using universal scene descriptor (USD) data, such as OpenUSD, and / or other data types), cloud computing, generative artificial intelligence (e.g., using one or more diffusion models, transformer models, etc.), and / or any other suitable applications.
[0119] Disclosed embodiments may be comprised in a variety of different systems such as automotive systems (e.g., a control system for an autonomous or semi-autonomous machine, a perception system for an autonomous or semi-autonomous machine), systems implemented using a robot or robotic platform, aerial systems, medial systems, boating systems, smart area monitoring systems, systems for performing deep learning operations, systems for performing simulation operations (e.g., in a driving or vehicle simulation, in a robotics simulation, in a smart cities or surveillance simulation, etc.), systems for performing digital twin operations (e.g., in conjunction with a collaborative content creation platform or system, such as, without limitation, NVIDIA's OMNIVERSE and / or another platform, system, or service that uses USD or OpenUSD data types), systems implemented using an edge device, systems incorporating one or more virtual machines (VMs), systems for performing synthetic data generation operations (e.g., using one or more neural rendering fields (NERFs), gaussian splat techniques, diffusion models, transformer models, etc.), systems implemented at least partially in a data center, systems for performing conversational AI operations, systems implementing one or more language models-such as one or more large language models (LLMs), one or more small language models (SLMs), one or more vision language models (VLMs), one or more multi-modal language models, etc., systems for performing light transport simulation, systems for performing collaborative content creation for 3D assets (e.g., using universal scene descriptor (USD) data, such as OpenUSD, computer aided design (CAD) data, 2D and / or 3D graphics or design data, and / or other data types), systems implemented at least partially using cloud computing resources, and / or other types of systems.
[0120] In some embodiments, the system and methods described herein may be deployed in a talking or smart kiosk application. For example, a kiosk, tablet, smart display, or other device may include one or more onboard processors (e.g., CPUs, GPUs, deep learning accelerators, SoCs) and memory and / or storage (e.g., for storing the model, the image database, etc.). In some embodiments, the kiosk / tablet / display may communicate (e.g., using one or more network interface cards (NICs) and / or data processing units (DPUs)) with one or more locally hosted servers / computing devices and / or with one or more remotely located servers / computing devices (e.g., in one or more data centers). In such examples, the kiosk may communicate with the machine learning model(s) (e.g., language model, LLM, SLM, VLM, MMLM, diffusion model, transformer model, NeRF, DNN, etc.) and / or the image database hosted on the local and / or remote servers using one or more APIs-such as, without limitation, REST APIs.
[0121] In one or more embodiments, the system and methods described herein may be deployed in a gaming application. For example, a gaming console, PC, tablet, or other gaming device may include one or more onboard and / or remote processors (e.g., CPUs, GPUs, deep learning accelerators, SoCs) and memory and / or storage (e.g., for storing the game model, game assets, player data, etc.). These devices may use one or more machine learning models (e.g., diffusion models, transformer models, neural rendering field (NeRF) models, language models (e.g., LLMs, SLMs, VLMs, MMLMs, etc.), DNNs, etc.) to enhance gameplay, generate real-time dynamic content, aid in collaboration or team efforts among teams, and / or personalize user experiences based on in-game behavior or pre-stored player profiles. In some embodiments, the system may be deployed in a cloud gaming environment (e.g., NVIDIA's GeFORCE NOW). In such cases, a client device (e.g., a smart display, tablet, or gaming controller) may be used to interact with the game, while the machine learning model(s) and / or visual rendering may occur on one or more remotely located servers / computing devices (e.g., in one or more data centers). The language model, AI processing, and rendering described herein may operate in the cloud, processing player inputs received from an end-user device(s) (e.g., based on controller, keyboard, mouse, joystick, AR / VR / MR / etc. inputs), generating appropriate in-game responses, rendering the content, and sending or transmitting the content to the end-user device(s). During receiving and / or sending the data to and from the end-user or edge device(s), one or more data processing units (DPUs) and / or network interface cards (NICs) may be used.
[0122] In some embodiments, the system and methods described herein may be deployed in a video conferencing application. For example, a video conferencing device, such as a dedicated conferencing unit, computer, tablet, and / or smartphone, may include one or more onboard processors (e.g., CPUs, GPUs, deep learning accelerators, SoCs) and memory and / or storage (e.g., for storing the video, audio, or other communication-related data). The system may use the machine learning model(s) (e.g., diffusion models, transformer models, neural rendering field (NeRF) models, language models (e.g., LLMs, SLMs, VLMs, MMLMs, etc.)) to enhance video conferencing functionality, including real-time or near real-time transcription, diarization, language translation, automatic speech recognition (ASR), and / or background noise reduction. In one or more embodiments, the system may enable users to interact with the video conferencing platform using natural language inputs. For example, users may issue voice commands to schedule, join, or leave meetings, or to manage participants and screen sharing. During receiving and / or sending the data to and from the end-user or edge device(s), one or more data processing units (DPUs) and / or network interface cards (NICs) may be used.
[0123] In some embodiments, the system and methods described herein may be deployed in a robotics application. For example, a robot or robotic system may include one or more onboard processors (e.g., CPUs, GPUs, hardware-based deep learning accelerators (DLAs), hardware-based programmable vision accelerators (PVAs)-which may include one or more vector processing units (VPUs), direct memory access (DMA) systems, and / or pixel processing engines (PPEs), hardware-based optical flow accelerators (OFAs), SoCs, etc.) and memory and / or storage (e.g., for storing control algorithms, sensor data, and one or more machine learning models). The robotic system may use these processors to execute one or more machine learning models (e.g., language models) that allow it to perform complex tasks autonomously or semi-autonomously, such as interacting with and / or manipulating static and / or dynamic objects, or navigating environments using sensors such as cameras, LiDAR, RADAR, ultrasonic sensors, and more. The system may use sensor fusion techniques to combine data from multiple sensors (e.g., cameras, infrared, LiDAR, RADAR, accelerometers) to create a comprehensive model of the robot's surroundings. This data may be processed locally on the robot or sent to remote servers for more computationally intensive tasks, such as 3D mapping or SLAM (Simultaneous Localization and Mapping). In one or more embodiments, data from individual robots (e.g., sensor data, task status, or environmental conditions) may be uploaded to the cloud, where centralized AI models can analyze and distribute optimized commands to an entire fleet. In some embodiments, the machine learning model(s) (e.g., language models, VLMs, SLMs, LLMs, MMLMs, diffusion models, NeRF models, DNNs, etc.) described herein may be used to allow the robot to perceive and reason about the environment and / or communicate with one or more other robots and / or persons in an environment. In some embodiments, the robot may communicate (e.g., using one or more network interface cards (NICs) and / or data processing units (DPUs)) with one or more locally hosted servers / computing devices and / or with one or more remotely located servers / computing devices (e.g., in one or more data centers).
[0124] In some embodiments, the system and methods described herein may be deployed in an in-vehicle infotainment (IVI) system or in-cabin experience (IX) application. For example, the infotainment system within a vehicle (e.g., cars, trucks, drones, construction equipment, robots, semi-autonomous vehicles, or autonomous vehicles) may include one or more onboard processors (e.g., CPUs, GPUs, hardware-based deep learning accelerators (DLAs), hardware-based programmable vision accelerators (PVAs)-which may include one or more vector processing units (VPUs), direct memory access (DMA) systems, and / or pixel processing engines (PPEs), hardware-based optical flow accelerators (OFAs), SoCs, etc.) and memory and / or storage (e.g., for storing control algorithms, sensor data, and one or more machine learning models). and memory and / or storage (e.g., for storing entertainment content, navigation data, and user preferences). The system may use these processors to execute one or more machine learning models (e.g., language models) to enable features such as voice control, personalized media recommendations, dynamic navigation, and real-time communication with other services through network connectivity. The in-vehicle infotainment system may also use natural language processing (NLP) models to enable voice-based interaction. The one or more machine learning models may be stored locally or accessed through one or more APIs that connect to cloud services, enabling the system to process requests in real time or near real-time.
[0125] EXAMPLE LANGUAGE MODELS
[0126] In at least some embodiments, language models, such as large language models (LLMs), vision language models (VLMs), multi-modal language models (MMLMs), and / or other types of generative artificial intelligence (AI) may be implemented. These models may be capable of understanding, summarizing, translating, and / or otherwise generating text (e.g., natural language text, code, etc.), images, video, computer aided design (CAD) assets, OMNIVERSE and / or METAVERSE file information (e.g., in USD format, such as OpenUSD), and / or the like, based on the context provided in input prompts or queries. These language models may be considered “large,” in embodiments, based on the models being trained on massive datasets and having architectures with large number of learnable network parameters (weights and biases) such as millions or billions of parameters. The LLMs / VLMs / MMLMs / etc. may be implemented for summarizing textual data, analyzing and extracting insights from data (e.g., textual, image, video, etc.), and generating new text / image / video / etc. in user-specified styles, tones, and / or formats. The LLMs / VLMs / MMLMs / etc. of the present disclosure may be used exclusively for text processing, in embodiments, whereas in other embodiments, multi-modal LLMs may be implemented to accept, understand, and / or generate text and / or other types of content like images, audio, 2D and / or 3D data (e.g., in USD formats), and / or video. For example, vision language models (VLMs), or more generally multi-modal language models (MMLMs), may be implemented to accept image, video, audio, textual, 3D design (e.g., CAD), and / or other inputs data types and / or to generate or output image, video, audio, textual, 3D design, and / or other output data types.
[0127] Various types of LLMs / VLMs / MMLMs / etc. architectures may be implemented in various embodiments. For example, different architectures may be implemented that use different techniques for understanding and generating outputs-such as text, audio, video, image, 2D and / or 3D design or asset data, etc. In some embodiments, LLMs / VLMs / MMLMs / etc. architectures such as recurrent neural networks (RNNs) or long short-term memory networks (LSTMs) may be used, while in other embodiments transformer architectures-such as those that rely on self-attention and / or cross-attention (e.g., between contextual data and textual data) mechanisms-may be used to understand and recognize relationships between words or tokens and / or contextual data (e.g., other text, video, image, design data, USD, etc.). One or more generative processing pipelines that include LLMs / VLMs / MMLMs / etc. may also include one or more diffusion block(s) (e.g., denoisers). The LLMs / VLMs / MMLMs / etc. of the present disclosure may include encoder and / or decoder block(s). For example, discriminative or encoder-only models like BERT (Bidirectional Encoder Representations from Transformers) may be implemented for tasks that involve language comprehension such as classification, sentiment analysis, question answering, and named entity recognition. As another example, generative or decoder-only models like GPT (Generative Pretrained Transformer) may be implemented for tasks that involve language and content generation such as text completion, story generation, and dialogue generation. LLMs / VLMs / MMLMs / etc. that include both encoder and decoder components like T5 (Text-to-Text Transformer) may be implemented to understand and generate content, such as for translation and summarization. These examples are not intended to be limiting, and any architecture type including but not limited to those described herein-may be implemented depending on the particular embodiment and the task(s) being performed using the LLMs / VLMs / MMLMs / etc.
[0128] In various embodiments, the LLMs / VLMs / MMLMs / etc. may be trained using unsupervised learning, in which an LLMs / VLMs / MMLMs / etc. learns patterns from large amounts of unlabeled text / audio / video / image / design / USD / etc. data. Due to the extensive training, in embodiments, the models may not require task-specific or domain-specific training. LLMs / VLMs / MMLMs / etc. that have undergone extensive pre-training on vast amounts of unlabeled data may be referred to as foundation models and may be adept at a variety of tasks like question-answering, summarization, filling in missing information, translation, image / video / design / USD / data generation. Some LLMs / VLMs / MMLMs / etc. may be tailored for a specific use case using techniques like prompt tuning, fine-tuning, retrieval augmented generation (RAG), adding adapters (e.g., customized neural networks, and / or neural network layers, that tune or adjust prompts or tokens to bias the language model toward a particular task or domain), and / or using other fine-tuning or tailoring techniques that optimize the models for use on particular tasks and / or within particular domains.
[0129] In some embodiments, the LLMs / VLMs / MMLMs / etc. of the present disclosure may be implemented using various model alignment techniques. For example, in some embodiments, guardrails may be implemented to identify improper or undesired inputs (e.g., prompts) and / or outputs of the models. In doing so, the system may use the guardrails and / or other model alignment techniques to either prevent a particular undesired input from being processed using the LLMs / VLMs / MMLMs / etc., and / or preventing the output or presentation (e.g., display, audio output, etc.) of information generating using the LLMs / VLMs / MMLMs / etc. In some embodiments, one or more additional models- or layers thereof-may be implemented to identify issues with inputs and / or outputs of the models. For example, these “safeguard” models may be trained to identify inputs and / or outputs that are “safe” or otherwise okay or desired and / or that are “unsafe” or are otherwise undesired for the particular application / implementation. As a result, the LLMs / VLMs / MMLMs / etc. of the present disclosure may be less likely to output language / text / audio / video / design data / USD data / etc. that may be offensive, vulgar, improper, unsafe, out of domain, and / or otherwise undesired for the particular application / implementation.
[0130] In some embodiments, the LLMs / VLMs / etc. may be configured to or capable of accessing or using one or more plug-ins, application programming interfaces (APIs), databases, data stores, repositories, etc. For example, for certain tasks or operations that the model is not ideally suited for, the model may have instructions (e.g., as a result of training, and / or based on instructions in a given prompt) to access one or more plug-ins (e.g., 3rd party plugins) for help in processing the current input. In such an example, where at least part of a prompt is related to restaurants or weather, the model may access one or more restaurant or weather plug-ins (e.g., via one or more APIs) to retrieve the relevant information. As another example, where at least part of a response requires a mathematical computation, the model may access one or more math plug-ins or APIs for help in solving the problem(s), and may then use the response from the plug-in and / or API in the output from the model. This process may be repeated-e.g., recursively-for any number of iterations and using any number of plug-ins and / or APIs until a response to the input prompt can be generated that addresses each ask / question / request / process / operation / etc. As such, the model(s) may not only rely on its own knowledge from training on a large dataset(s), but also on the expertise or optimized nature of one or more external resources-such as APIs, plug-ins, and / or the like.In Some Embodiments, Multiple Language Models (e.g.,
[0131] LLMs / VLMs / MMLMs / etc., multiple instances of the same language model, and / or multiple prompts provided to the same language model or instance of the same language model may be implemented, executed, or accessed (e.g., using one or more plug-ins, user interfaces, APIs, databases, data stores, repositories, etc.) to provide output responsive to the same query, or responsive to separate portions of a query. In at least one embodiment, multiple language models e.g., language models with different architectures, language models trained on different (e.g. updated) corpuses of data may be provided with the same input query and prompt (e.g., set of constraints, conditioners, etc.). In one or more embodiments, the language models may be different versions of the same foundation model. In one or more embodiments, at least one language model may be instantiated as multiple agents-e.g., more than one prompt may be provided to constrain, direct, or otherwise influence a style, a content, or a character, etc., of the output provided. In one or more example, non-limiting embodiments, the same language model may be asked to provide output corresponding to a different role, perspective, character, or having a different base of knowledge, etc.-as defined by a supplied prompt.
[0132] In any one of such embodiments, the output of two or more (e.g., each) language models, two or more versions of at least one language model, two or more instanced agents of at least one language model, and / or two more prompts provided to at least one language model may be further processed, e.g., aggregated, compared or filtered against, or used to determine (and provide) a consensus response. In one or more embodiments, the output from one language model -or version, instance, or agent-maybe be provided as input to another language model for further processing and / or validation. In one or more embodiments, a language model may be asked to generate or otherwise obtain an output with respect to an input source material, with the output being associated with the input source material. Such an association may include, for example, the generation of a caption or portion of text that is embedded (e.g., as metadata) with an input source text or image. In one or more embodiments, an output of a language model may be used to determine the validity of an input source material for further processing, or inclusion in a dataset. For example, a language model may be used to assess the presence (or absence) of a target word in a portion of text or an object in an image, with the text or image being annotated to note such presence (or lack thereof). Alternatively, the determination from the language model may be used to determine whether the source material should be included in a curated dataset, for example and without limitation.
[0133] FIG. 9A is a block diagram of an example generative language model system 900 suitable for use in implementing at least some embodiments of the present disclosure. In the example illustrated in FIG. 9A, the generative language model system 900 includes a retrieval augmented generation (RAG) component 992, an input processor 905, a tokenizer 910, an embedding component 920, plug-ins / APIs 995, and a generative language model (LM) 930 (which may include an LLM, a VLM, a multi-modal LM, etc.).
[0134] At a high level, the input processor 905 may receive an input 901 comprising text and / or other types of input data (e.g., audio data, video data, image data, sensor data (e.g., LiDAR, RADAR, ultrasonic, etc.), 3D design data, CAD data, universal scene descriptor (USD) data such as OpenUSD, etc.), depending on the architecture of the generative LM 930 (e.g., LLM / VLM / MMLM / etc.). In some embodiments, the input 901 includes plain text in the form of one or more sentences, paragraphs, and / or documents. Additionally or alternatively, the input 901 may include numerical sequences, precomputed embeddings (e.g., word or sentence embeddings), and / or structured data (e.g., in tabular formats, JSON, or XML). In some implementations in which the generative LM 930 is capable of processing multi-modal inputs, the input 901 may combine text (or may omit text) with image data, audio data, video data, design data, USD data, and / or other types of input data, such as but not limited to those described herein. Taking raw input text as an example, the input processor 905 may prepare raw input text in various ways. For example, the input processor 905 may perform various types of text filtering to remove noise (e.g., special characters, punctuation, HTML tags, stopwords, portions of an image(s), portions of audio, etc.) from relevant textual content. In an example involving stopwords (common words that tend to carry little semantic meaning), the input processor 905 may remove stopwords to reduce noise and focus the generative LM 930 on more meaningful content. The input processor 905 may apply text normalization, for example, by converting all characters to lowercase, removing accents, and / or or handling special cases like contractions or abbreviations to ensure consistency. These are just a few examples, and other types of input processing may be applied.
[0135] In some embodiments, a RAG component 992 (which may include one or more RAG models, and / or may be performed using the generative LM 930 itself) may be used to retrieve additional information to be used as part of the input 901 or prompt. RAG may be used to enhance the input to the LLM / VLM / MMLM / etc. with external knowledge, so that answers to specific questions or queries or requests are more relevant-such as in a case where specific knowledge is required. The RAG component 992 may fetch this additional information (e.g., grounding information, such as grounding text / image / video / audio / USD / CAD / etc.) from one or more external sources, which can then be fed to the LLM / VLM / MMLM / etc. along with the prompt to improve accuracy of the responses or outputs of the model.
[0136] For example, in some embodiments, the input 901 may be generated using the query or input to the model (e.g., a question, a request, etc.) in addition to data retrieved using the RAG component 992. In some embodiments, the input processor 905 may analyze the input 901 and communicate with the RAG component 992 (or the RAG component 992 may be part of the input processor 905, in embodiments) in order to identify relevant text and / or other data to provide to the generative LM 930 as additional context or sources of information from which to identify the response, answer, or output 990, generally. For example, where the input indicates that the user is interested in a desired tire pressure for a particular make and model of vehicle, the RAG component 992 may retrieve-using a RAG model performing a vector search in an embedding space, for example-the tire pressure information or the text corresponding thereto from a digital (embedded) version of the user manual for that particular vehicle make and model. Similarly, where a user revisits a chatbot related to a particular product offering or service, the RAG component 992 may retrieve a prior stored conversation history—or at least a summary thereof—and include the prior conversation history along with the current ask / request as part of the input 901 to the generative LM 930.
[0137] The RAG component 992 may use various RAG techniques. For example, naïve RAG may be used where documents are indexed, chunked, and applied to an embedding model to generate embeddings corresponding to the chunks. A user query may also be applied to the embedding model and / or another embedding model of the RAG component 992 and the embeddings of the chunks along with the embeddings of the query may be compared to identify the most similar / related embeddings to the query, which may be supplied to the generative LM 930 to generate an output.
[0138] In some embodiments, more advanced RAG techniques may be used. For example, prior to passing chunks to the embedding model, the chunks may undergo pre-retrieval processes (e.g., routing, rewriting, metadata analysis, expansion, etc.). In addition, prior to generating the final embeddings, post-retrieval processes (e.g., re-ranking, prompt compression, etc.) may be performed on the outputs of the embedding model prior to final embeddings being used as comparison to an input query.
[0139] As a further example, modular RAG techniques may be used, such as those that are similar to naïve and / or advanced RAG, but also include features such as hybrid search, recursive retrieval and query engines, StepBack approaches, sub-queries, and hypothetical document embedding.
[0140] As another example, Graph RAG may use knowledge graphs as a source of context or factual information. Graph RAG may be implemented using a graph database as a source of contextual information sent to the LLM / VLM / MMLM / etc. Rather than (or in addition to) providing the model with chunks of data extracted from larger sized documents—which may result in a lack of context, factual correctness, language accuracy, etc.—graph RAG may also provide structured entity information to the LLM / VLM / MMLM / etc. by combining the structured entity textual description with its many properties and relationships, allowing for deeper insights by the model. When implementing graph RAG, the systems and methods described herein use a graph as a content store and extract relevant chunks of documents and ask the LLM / VLM / MMLM / etc. to answer using them. The knowledge graph, in such embodiments, may contain relevant textual content and metadata about the knowledge graph as well as be integrated with a vector database. In some embodiments, the graph RAG may use a graph as a subject matter expert, where descriptions of concepts and entities relevant to a query / prompt may be extracted and passed to the model as semantic context. These descriptions may include relationships between the concepts. In other examples, the graph may be used as a database, where part of a query / prompt may be mapped to a graph query, the graph query may be executed, and the LLM / VLM / MMLM / etc. may summarize the results. In such an example, the graph may store relevant factual information, and a query (natural language query) to graph query tool (NL-to-Graph-query tool) and entity linking may be used. In some embodiments, graph RAG (e.g., using a graph database) may be combined with standard (e.g., vector database) RAG, and / or other RAG types, to benefit from multiple approaches.
[0141] In any embodiments, the RAG component 992 may implement a plugin, API, user interface, and / or other functionality to perform RAG. For example, a graph RAG plug-in may be used by the LLM / VLM / MMLM / etc. to run queries against the knowledge graph to extract relevant information for feeding to the model, and a standard or vector RAG plug-in may be used to run queries against a vector database. For example, the graph database may interact with a plug-in's REST interface such that the graph database is decoupled from the vector database and / or the embeddings models.
[0142] The tokenizer 910 may segment the (e.g., processed) text data into smaller units (tokens) for subsequent analysis and processing. The tokens may represent individual words, subwords, characters, portions of audio / video / image / etc., depending on the implementation. Word-based tokenization divides the text into individual words, treating each word as a separate token. Subword tokenization breaks down words into smaller meaningful units (e.g., prefixes, suffixes, stems), enabling the generative LM 930 to understand morphological variations and handle out-of-vocabulary words more effectively. Character-based tokenization represents each character as a separate token, enabling the generative LM 930 to process text at a fine-grained level. The choice of tokenization strategy may depend on factors such as the language being processed, the task at hand, and / or characteristics of the training dataset. As such, the tokenizer 910 may convert the (e.g., processed) text into a structured format according to tokenization schema being implemented in the particular embodiment.
[0143] The embedding component 920 may use any known embedding technique to transform discrete tokens into (e.g., dense, continuous vector) representations of semantic meaning. For example, the embedding component 920 may use pre-trained word embeddings (e.g., Word2Vec, GloVe, or FastText), one-hot encoding, Term Frequency-Inverse Document Frequency (TF-IDF) encoding, one or more embedding layers of a neural network, and / or otherwise.
[0144] In some implementations in which the input 901 includes image data / video data / etc., the input processor 901 may resize the data to a standard size compatible with format of a corresponding input channel and / or may normalize pixel values to a common range (e.g., 0 to 1) to ensure a consistent representation, and the embedding component 920 may encode the image data using any known technique (e.g., using one or more convolutional neural networks (CNNs) to extract visual features). In some implementations in which the input 901 includes audio data, the input processor 901 may resample an audio file to a consistent sampling rate for uniform processing, and the embedding component 920 may use any known technique to extract and encode audio features-such as in the form of a spectrogram (e.g., a mel-spectrogram). In some implementations in which the input 901 includes video data, the input processor 901 may extract frames or apply resizing to extracted frames, and the embedding component 920 may extract features such as optical flow embeddings or video embeddings and / or may encode temporal information or sequences of frames. In some implementations in which the input 901 includes multi-modal data, the embedding component 920 may fuse representations of the different types of data (e.g., text, image, audio, USD, video, design, etc.) using techniques like early fusion (concatenation), late fusion (sequential processing), attention-based fusion (e.g., self-attention, cross-attention), etc.
[0145] The generative LM 930 and / or other components of the generative LM system 900 may use different types of neural network architectures depending on the implementation. For example, transformer-based architectures such as those used in models like GPT may be implemented, and may include self-attention mechanisms that weigh the importance of different words or tokens in the input sequence and / or feedforward networks that process the output of the self-attention layers, applying non-linear transformations to the input representations and extracting higher-level features. Some non-limiting example architectures include transformers (e.g., encoder-decoder, decoder only, multi-modal), RNNs, LSTMs, fusion models, diffusion models, cross-modal embedding models that learn joint embedding spaces, graph neural networks (GNNs), hybrid architectures combining different types of architectures adversarial networks like generative adversarial networks or GANs or adversarial autoencoders (AAEs) for joint distribution learning, and others. As such, depending on the implementation and architecture, the embedding component 920 may apply an encoded representation of the input 901 to the generative LM 930, and the generative LM 930 may process the encoded representation of the input 901 to generate an output 990, which may include responsive text and / or other types of data.
[0146] As described herein, in some embodiments, the generative LM 930 may be configured to access or use- or capable of accessing or using-plug-ins / APIs 995 (which may include one or more plug-ins, application programming interfaces (APIs), databases, data stores, repositories, etc.). For example, for certain tasks or operations that the generative LM 930 is not ideally suited for, the model may have instructions (e.g., as a result of training, and / or based on instructions in a given prompt, such as those retrieved using the RAG component 992) to access one or more plug-ins / APIs 995 (e.g., 3rd party plugins) for help in processing the current input. In such an example, where at least part of a prompt is related to restaurants or weather, the model may access one or more restaurant or weather plug-ins (e.g., via one or more APIs), send at least a portion of the prompt related to the particular plug-in / API 995 to the plug-in / API 995, the plug-in / API 995 may process the information and return an answer to the generative LM 930, and the generative LM 930 may use the response to generate the output 990. This process may be repeated -e.g., recursively-for any number of iterations and using any number of plug-ins / APIs 995 until an output 990 that addresses each ask / question / request / process / operation / etc. from the input 901 can be generated. As such, the model(s) may not only rely on its own knowledge from training on a large dataset(s) and / or from data retrieved using the RAG component 992, but also on the expertise or optimized nature of one or more external resources-such as the plug-ins / APIs 995.
[0147] FIG. 9B is a block diagram of an example implementation in which the generative LM 930 includes a transformer encoder-decoder. For example, assume input text such as “Who discovered gravity” is tokenized (e.g., by the tokenizer910 of FIG. 9A) into tokens such as words, and each token is encoded (e.g., by the embedding component 920 of FIG. 9A) into a corresponding embedding (e.g., of size 512). Since these token embeddings typically do not represent the position of the token in the input sequence, any known technique may be used to add a positional encoding to each token embedding to encode the sequential relationships and context of the tokens in the input sequence. As such, the (e.g., resulting) embeddings may be applied to one or more encoder(s) 935 of the generative LM 930.
[0148] In an example implementation, the encoder(s) 935 forms an encoder stack, where each encoder includes a self-attention layer and a feedforward network. In an example transformer architecture, each token (e.g., word) flows through a separate path. As such, each encoder may accept a sequence of vectors, passing each vector through the self-attention layer, then the feedforward network, and then upwards to the next encoder in the stack. Any known self-attention technique may be used. For example, to calculate a self-attention score for each token (word), a query vector, a key vector, and a value vector may be created for each token, a self-attention score may be calculated for pairs of tokens by taking the dot product of the query vector with the corresponding key vectors, normalizing the resulting scores, multiplying by corresponding value vectors, and summing weighted value vectors. The encoder may apply multi-headed attention in which the attention mechanism is applied multiple times in parallel with different learned weight matrices. Any number of encoders may be cascaded to generate a context vector encoding the input. An attention projection layer 940 may convert the context vector into attention vectors (keys and values) for the decoder(s) 945.
[0149] In an example implementation, the decoder(s) 945 form a decoder stack, where each decoder includes a self-attention layer, an encoder-decoder self-attention layer that uses the attention vectors (keys and values) from the encoder to focus on relevant parts of the input sequence, and a feedforward network. As with the encoder(s) 935, in an example transformer architecture, each token (e.g., word) flows through a separate path in the decoder(s) 945. During a first pass, the decoder(s) 945, a classifier 950, and a generation mechanism 955 may generate a first token, and the generation mechanism 955 may apply the generated token as an input during a second pass. The process may repeat in a loop, successively generating and adding tokens (e.g., words) to the output from the preceding pass and applying the token embeddings of the composite sequence with positional encodings as an input to the decoder(s) 945 during a subsequent pass, sequentially generating one token at a time (known as auto-regression) until predicting a symbol or token that represents the end of the response. Within each decoder, the self-attention layer is typically constrained to attend only to preceding positions in the output sequence by applying a masking technique (e.g., setting future positions to negative infinity) before the softmax operation. In an example implementation, the encoder-decoder attention layer operates similarly to the (e.g., multi-headed) self-attention in the encoder(s) 935, except that it creates its queries from the layer below it and takes the keys and values (e.g., matrix) from the output of the encoder(s) 935.
[0150] As such, the decoder(s) 945 may output some decoded (e.g., vector) representation of the input being applied during a particular pass. The classifier 950 may include a multi-class classifier comprising one or more neural network layers that project the decoded (e.g., vector) representation into a corresponding dimensionality (e.g., one dimension for each supported word or token in the output vocabulary) and a softmax operation that converts logits to probabilities. As such, the generation mechanism 955 may select or sample a word or token based on a corresponding predicted probability (e.g., select the word with the highest predicted probability) and append it to the output from a previous pass, generating each word or token sequentially. The generation mechanism 955 may repeat the process, triggering successive decoder inputs and corresponding predictions until selecting or sampling a symbol or token that represents the end of the response, at which point, the generation mechanism 955 may output the generated response.
[0151] FIG. 9C is a block diagram of an example implementation in which the generative LM 930 includes a decoder-only transformer architecture. For example, the decoder(s) 960 of FIG. 9C may operate similarly as the decoder(s) 945 of FIG. 9B except each of the decoder(s) 960 of FIG. 9C omits the encoder-decoder self-attention layer (since there is no encoder in this implementation). As such, the decoder(s) 960 may form a decoder stack, where each decoder includes a self-attention layer and a feedforward network. Furthermore, instead of encoding the input sequence, a symbol or token representing the end of the input sequence (or the beginning of the output sequence) may be appended to the input sequence, and the resulting sequence (e.g., corresponding embeddings with positional encodings) may be applied to the decoder(s) 960. As with the decoder(s) 945 of FIG. 9B, each token (e.g., word) may flow through a separate path in the decoder(s) 960, and the decoder(s) 960, a classifier 965, and a generation mechanism 970 may use auto-regression to sequentially generate one token at a time until predicting a symbol or token that represents the end of the response. The classifier 965 and the generation mechanism 970 may operate similarly as the classifier 950 and the generation mechanism 955 of FIG. 9B, with the generation mechanism 970 selecting or sampling each successive output token based on a corresponding predicted probability and appending it to the output from a previous pass, generating each token sequentially until selecting or sampling a symbol or token that represents the end of the response. These and other architectures described herein are meant simply as examples, and other suitable architectures may be implemented within the scope of the present disclosure.EXAMPLE COMPUTING DEVICE
[0152] FIG. 10 is a block diagram of an example computing device(s) 1000 suitable for use in implementing some embodiments of the present disclosure. Computing device 1000 may include an interconnect system 1002 that directly or indirectly couples the following devices: memory 1004, one or more central processing units (CPUs) 1006, one or more graphics processing units (GPUs) 1008, a communication interface 1010, input / output (I / O) ports 1012, input / output components 1014, a power supply 1016, one or more presentation components 1018 (e.g., display(s)), and one or more logic units 1020. In at least one embodiment, the computing device(s) 1000 may comprise one or more virtual machines (VMs), and / or any of the components thereof may comprise virtual components (e.g., virtual hardware components). For non-limiting examples, one or more of the GPUs 1008 may comprise one or more vGPUs, one or more of the CPUs 1006 may comprise one or more vCPUs, and / or one or more of the logic units 1020 may comprise one or more virtual logic units. As such, a computing device(s) 1000 may include discrete components (e.g., a full GPU dedicated to the computing device 1000), virtual components (e.g., a portion of a GPU dedicated to the computing device 1000), or a combination thereof.
[0153] Although the various blocks of FIG. 10 are shown as connected via the interconnect system 1002 with lines, this is not intended to be limiting and is for clarity only. For example, in some embodiments, a presentation component 1018, such as a display device, may be considered an I / O component 1014 (e.g., if the display is a touch screen). As another example, the CPUs 1006 and / or GPUs 1008 may include memory (e.g., the memory 1004 may be representative of a storage device in addition to the memory of the GPUs 1008, the CPUs 1006, and / or other components). As such, the computing device of FIG. 10 is merely illustrative. Distinction is not made between such categories as “workstation,”“server,”“laptop,”“desktop,”“tablet,”“client device,”“mobile device,”“hand-held device,”“game console,”“electronic control unit (ECU),”“virtual reality system,” and / or other device or system types, as all are contemplated within the scope of the computing device of FIG. 10.
[0154] The interconnect system 1002 may represent one or more links or busses, such as an address bus, a data bus, a control bus, or a combination thereof. The interconnect system 1002 may include one or more bus or link types, such as an industry standard architecture (ISA) bus, an extended industry standard architecture (EISA) bus, a video electronics standards association (VESA) bus, a peripheral component interconnect (PCI) bus, a peripheral component interconnect express (PCIe) bus, and / or another type of bus or link. In some embodiments, there are direct connections between components. As an example, the CPU 1006 may be directly connected to the memory 1004. Further, the CPU 1006 may be directly connected to the GPU 1008. Where there is direct, or point-to-point connection between components, the interconnect system 1002 may include a PCIe link to carry out the connection. In these examples, a PCI bus need not be included in the computing device 1000.
[0155] The memory 1004 may include any of a variety of computer-readable media. The computer-readable media may be any available media that may be accessed by the computing device 1000. The computer-readable media may include both volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, the computer-readable media may comprise computer-storage media and communication media.
[0156] The computer-storage media may include both volatile and nonvolatile media and / or removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, and / or other data types. For example, the memory 1004 may store computer-readable instructions (e.g., that represent a program(s) and / or a program element(s), such as an operating system. Computer-storage media may include, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which may be used to store the desired information and which may be accessed by computing device 1000. As used herein, computer storage media does not comprise signals per se.
[0157] The computer storage media may embody computer-readable instructions, data structures, program modules, and / or other data types in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” may refer to a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, the computer storage media may include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer-readable media.
[0158] The CPU(s) 1006 may be configured to execute at least some of the computer-readable instructions to control one or more components of the computing device 1000 to perform one or more of the methods and / or processes described herein. The CPU(s) 1006 may each include one or more cores (e.g., one, two, four, eight, twenty-eight, seventy-two, etc.) that are capable of handling a multitude of software threads simultaneously. The CPU(s) 1006 may include any type of processor, and may include different types of processors depending on the type of computing device 1000 implemented (e.g., processors with fewer cores for mobile devices and processors with more cores for servers). For example, depending on the type of computing device 1000, the processor may be an Advanced RISC Machines (ARM) processor implemented using Reduced Instruction Set Computing (RISC) or an x86 processor implemented using Complex Instruction Set Computing (CISC). The computing device 1000 may include one or more CPUs 1006 in addition to one or more microprocessors or supplementary co-processors, such as math co-processors.
[0159] In addition to or alternatively from the CPU(s) 1006, the GPU(s) 1008 may be configured to execute at least some of the computer-readable instructions to control one or more components of the computing device 1000 to perform one or more of the methods and / or processes described herein. One or more of the GPU(s) 1008 may be an integrated GPU (e.g., with one or more of the CPU(s) 1006 and / or one or more of the GPU(s) 1008 may be a discrete GPU. In embodiments, one or more of the GPU(s) 1008 may be a coprocessor of one or more of the CPU(s) 1006. The GPU(s) 1008 may be used by the computing device 1000 to render graphics (e.g., 3D graphics) or perform general purpose computations. For example, the GPU(s) 1008 may be used for General-Purpose computing on GPUs (GPGPU). The GPU(s) 1008 may include hundreds or thousands of cores that are capable of handling hundreds or thousands of software threads simultaneously. The GPU(s) 1008 may generate pixel data for output images in response to rendering commands (e.g., rendering commands from the CPU(s) 1006 received via a host interface). The GPU(s) 1008 may include graphics memory, such as display memory, for storing pixel data or any other suitable data, such as GPGPU data. The display memory may be included as part of the memory 1004. The GPU(s) 1008 may include two or more GPUs operating in parallel (e.g., via a link). The link may directly connect the GPUs (e.g., using NVLINK) or may connect the GPUs through a switch (e.g., using NVSwitch). When combined together, each GPU 1008 may generate pixel data or GPGPU data for different portions of an output or for different outputs (e.g., a first GPU for a first image and a second GPU for a second image). Each GPU may include its own memory, or may share memory with other GPUs.
[0160] In addition to or alternatively from the CPU(s) 1006 and / or the GPU(s) 1008, the logic unit(s) 1020 may be configured to execute at least some of the computer-readable instructions to control one or more components of the computing device 1000 to perform one or more of the methods and / or processes described herein. In embodiments, the CPU(s) 1006, the GPU(s) 1008, and / or the logic unit(s) 1020 may discretely or jointly perform any combination of the methods, processes and / or portions thereof. One or more of the logic units 1020 may be part of and / or integrated in one or more of the CPU(s) 1006 and / or the GPU(s) 1008 and / or one or more of the logic units 1020 may be discrete components or otherwise external to the CPU(s) 1006 and / or the GPU(s) 1008. In embodiments, one or more of the logic units 1020 may be a coprocessor of one or more of the CPU(s) 1006 and / or one or more of the GPU(s) 1008.
[0161] Examples of the logic unit(s) 1020 include one or more processing cores and / or components thereof, such as Data Processing Units (DPUs), Tensor Cores (TCs), Tensor Processing Units (TPUs), Pixel Visual Cores (PVCs), Vision Processing Units (VPUs), Graphics Processing Clusters (GPCs), Texture Processing Clusters (TPCs), Streaming Multiprocessors (SMs), Tree Traversal Units (TTUs), Artificial Intelligence Accelerators (AIAs), Deep Learning Accelerators (DLAs), Programmable Vision Accelerator (PVAs)-which may include one or more direct memory access (DMA) systems, one or more vision or vector processing units (VPUs), one or more pixel processing engines (PPEs)-e.g., including a 2D array of processing elements that each communicate north, south, east, and west with one or more other processing elements in the array, one or more decoupled accelerators or units (e.g., decoupled lookup table (DLUT) accelerators or units), etc., Vision Processing Units (VPUs), Optical Flow Accelerators (OFAs), Field Programmable Gate Arrays (FPGAs), Neuromorphic Chips, Quantum Processing Units (QPUs), Associative Process Units (APUs), Arithmetic-Logic Units (ALUs), Application-Specific Integrated Circuits (ASICs), Floating Point Units (FPUs), input / output (I / O) elements, peripheral component interconnect (PCI) or peripheral component interconnect express (PCIe) elements, and / or the like.
[0162] The communication interface 1010 may include one or more receivers, transmitters, and / or transceivers that allow the computing device 1000 to communicate with other computing devices via an electronic communication network, included wired and / or wireless communications. The communication interface 1010 may include components and functionality to allow communication over any of a number of different networks, such as wireless networks (e.g., Wi-Fi, Z-Wave, Bluetooth, Bluetooth LE, ZigBee, etc.), wired networks (e.g., communicating over Ethernet or InfiniBand), low-power wide-area networks (e.g., LoRaWAN, SigFox, etc.), and / or the Internet. In one or more embodiments, logic unit(s) 1020 and / or communication interface 1010 may include one or more data processing units (DPUs) to transmit data received over a network and / or through interconnect system 1002 directly to (e.g., a memory of) one or more GPU(s) 1008.
[0163] The I / O ports 1012 may allow the computing device 1000 to be logically coupled to other devices including the I / O components 1014, the presentation component(s) 1018, and / or other components, some of which may be built in to (e.g., integrated in) the computing device 1000. Illustrative I / O components 1014 include a microphone, mouse, keyboard, joystick, game pad, game controller, satellite dish, scanner, printer, wireless device, etc. The I / O components 1014 may provide a natural user interface (NUI) that processes air gestures, voice, or other physiological inputs generated by a user. In some instances, inputs may be transmitted to an appropriate network element for further processing. An NUI may implement any combination of speech recognition, stylus recognition, facial recognition, biometric recognition, gesture recognition both on screen and adjacent to the screen, air gestures, head and eye tracking, and touch recognition (as described in more detail below) associated with a display of the computing device 1000. The computing device 1000 may include depth cameras, such as stereoscopic camera systems, infrared camera systems, RGB camera systems, touchscreen technology, and combinations of these, for gesture detection and recognition. Additionally, the computing device 1000 may include accelerometers or gyroscopes (e.g., as part of an inertia measurement unit (IMU)) that allow detection of motion. In some examples, the output of the accelerometers or gyroscopes may be used by the computing device 1000 to render immersive augmented reality or virtual reality.
[0164] The power supply 1016 may include a hard-wired power supply, a battery power supply, or a combination thereof. The power supply 1016 may provide power to the computing device 1000 to allow the components of the computing device 1000 to operate.
[0165] The presentation component(s) 1018 may include a display (e.g., a monitor, a touch screen, a television screen, a heads-up-display (HUD), other display types, or a combination thereof), speakers, and / or other presentation components. The presentation component(s) 1018 may receive data from other components (e.g., the GPU(s) 1008, the CPU(s) 1006, DPUs, etc.), and output the data (e.g., as an image, video, sound, etc.).EXAMPLE DATA CENTER
[0166] FIG. 11 illustrates an example data center 1100 that may be used in at least one embodiments of the present disclosure. The data center 1100 may include a data center infrastructure layer 1111, a framework layer 1120, a software layer 1130, and / or an application layer 1140.
[0167] As shown in FIG. 11, the data center infrastructure layer 1110 may include a resource orchestrator 1112, grouped computing resources 1114, and node computing resources (“node C.R.s”) 1116(1)-1116(N), where “N” represents any whole, positive integer. In at least one embodiment, node C.R.s 1116(1)-1116(N) may include, but are not limited to, any number of central processing units (CPUs) or other processors (including DPUs, accelerators, field programmable gate arrays (FPGAs), graphics processors or graphics processing units (GPUs), etc.), memory devices (e.g., dynamic read-only memory), storage devices (e.g., solid state or disk drives), network input / output (NW I / O) devices, network switches, virtual machines (VMs), power modules, and / or cooling modules, etc. In some embodiments, one or more node C.R.s from among node C.R.s 1116(1)-1116(N) may correspond to a server having one or more of the above-mentioned computing resources. In addition, in some embodiments, the node C.R.s 1116(1)-1161(N) may include one or more virtual components, such as vGPUs, vCPUs, and / or the like, and / or one or more of the node C.R.s 1116(1)-1116(N) may correspond to a virtual machine (VM).
[0168] In at least one embodiment, grouped computing resources 1114 may include separate groupings of node C.R.s 1116 housed within one or more racks (not shown), or many racks housed in data centers at various geographical locations (also not shown). Separate groupings of node C.R.s 1116 within grouped computing resources 1114 may include grouped compute, network, memory or storage resources that may be configured or allocated to support one or more workloads. In at least one embodiment, several node C.R.s 1116 including CPUs, GPUs, DPUs, and / or other processors may be grouped within one or more racks to provide compute resources to support one or more workloads. The one or more racks may also include any number of power modules, cooling modules, and / or network switches, in any combination.
[0169] The resource orchestrator 1112 may configure or otherwise control one or more node C.R.s 1116(1)-1116(N) and / or grouped computing resources 1114. In at least one embodiment, resource orchestrator 1112 may include a software design infrastructure (SDI) management entity for the data center 1100. The resource orchestrator 1112 may include hardware, software, or some combination thereof.
[0170] In at least one embodiment, as shown in FIG. 11, framework layer 1120 may include a job scheduler 1128, a configuration manager 1134, a resource manager 1136, and / or a distributed file system 1138. The framework layer 1120 may include a framework to support software 1132 of software layer 1130 and / or one or more application(s) 1142 of application layer 1140. The software 1132 or application(s) 1142 may respectively include web-based service software or applications, such as those provided by Amazon Web Services, Google Cloud and Microsoft Azure. The framework layer 1120 may be, but is not limited to, a type of free and open-source software web application framework such as Apache SparkTM (hereinafter “Spark”) that may use distributed file system 1138 for large-scale data processing (e.g., “big data”). In at least one embodiment, job scheduler 1128 may include a Spark driver to facilitate scheduling of workloads supported by various layers of data center 1100. The configuration manager 1134 may be capable of configuring different layers such as software layer 1130 and framework layer 1120 including Spark and distributed file system 1138 for supporting large-scale data processing. The resource manager 1136 may be capable of managing clustered or grouped computing resources mapped to or allocated for support of distributed file system 1138 and job scheduler 1128. In at least one embodiment, clustered or grouped computing resources may include grouped computing resource 1114 at data center infrastructure layer 1110. The resource manager 1136 may coordinate with resource orchestrator 1112 to manage these mapped or allocated computing resources.
[0171] In at least one embodiment, software 1132 included in software layer 1130 may include software used by at least portions of node C.R.s 1116(1)-1116(N), grouped computing resources 1114, and / or distributed file system 1138 of framework layer 1120. One or more types of software may include, but are not limited to, Internet web page search software, e-mail virus scan software, database software, and streaming video content software.
[0172] In at least one embodiment, application(s) 1142 included in application layer 1140 may include one or more types of applications used by at least portions of node C.R.s 1116(1)-1116(N), grouped computing resources 1114, and / or distributed file system 1138 of framework layer 1120. One or more types of applications may include, but are not limited to, any number of a genomics application, a cognitive compute, and a machine learning application, including training or inferencing software, machine learning framework software (e.g., PyTorch, TensorFlow, Caffe, etc.), and / or other machine learning applications used in conjunction with one or more embodiments.
[0173] In at least one embodiment, any of configuration manager 1134, resource manager 1136, and resource orchestrator 1112 may implement any number and type of self-modifying actions based on any amount and type of data acquired in any technically feasible fashion. Self-modifying actions may relieve a data center operator of data center 1100 from making possibly bad configuration decisions and possibly avoiding underutilized and / or poor performing portions of a data center.
[0174] The data center 1100 may include tools, services, software or other resources to train one or more machine learning models or predict or infer information using one or more machine learning models according to one or more embodiments described herein. For example, a machine learning model(s) may be trained by calculating weight parameters according to a neural network architecture using software and / or computing resources described above with respect to the data center 1100. In at least one embodiment, trained or deployed machine learning models corresponding to one or more neural networks may be used to infer or predict information using resources described above with respect to the data center 1100 by using weight parameters calculated through one or more training techniques, such as but not limited to those described herein.
[0175] In at least one embodiment, the data center 1100 may use CPUs, application-specific integrated circuits (ASICs), GPUs, FPGAs, and / or other hardware (or virtual compute resources corresponding thereto) to perform training and / or inferencing using above-described resources. Moreover, one or more software and / or hardware resources described above may be configured as a service to allow users to train or performing inferencing of information, such as image recognition, speech recognition, or other artificial intelligence services.
[0176] EXAMPLE NETWORK ENVIRONMENTS
[0177] Network environments suitable for use in implementing embodiments of the disclosure may include one or more client devices, servers, network attached storage (NAS), other backend devices, and / or other device types. The client devices, servers, and / or other device types (e.g., each device) may be implemented on one or more instances of the computing device(s) 1000 of FIG. 10—e.g., each device may include similar components, features, and / or functionality of the computing device(s) 1000. In addition, where backend devices (e.g., servers, NAS, etc.) are implemented, the backend devices may be included as part of a data center 1100, an example of which is described in more detail herein with respect to FIG. 11.
[0178] Components of a network environment may communicate with each other via a network(s), which may be wired, wireless, or both. The network may include multiple networks, or a network of networks. By way of example, the network may include one or more Wide Area Networks (WANs), one or more Local Area Networks (LANs), one or more public networks such as the Internet and / or a public switched telephone network (PSTN), and / or one or more private networks. Where the network includes a wireless telecommunications network, components such as a base station, a communications tower, or even access points (as well as other components) may provide wireless connectivity.
[0179] Compatible network environments may include one or more peer-to-peer network environments-in which case a server may not be included in a network environment- and one or more client-server network environments-in which case one or more servers may be included in a network environment. In peer-to-peer network environments, functionality described herein with respect to a server(s) may be implemented on any number of client devices.
[0180] In at least one embodiment, a network environment may include one or more cloud-based network environments, a distributed computing environment, a combination thereof, etc. A cloud-based network environment may include a framework layer, a job scheduler, a resource manager, and a distributed file system implemented on one or more of servers, which may include one or more core network servers and / or edge servers. A framework layer may include a framework to support software of a software layer and / or one or more application(s) of an application layer. The software or application(s) may respectively include web-based service software or applications. In embodiments, one or more of the client devices may use the web-based service software or applications (e.g., by accessing the service software and / or applications via one or more application programming interfaces (APIs)). The framework layer may be, but is not limited to, a type of free and open-source software web application framework such as that may use a distributed file system for large-scale data processing (e.g., “big data”).
[0181] A cloud-based network environment may provide cloud computing and / or cloud storage that carries out any combination of computing and / or data storage functions described herein (or one or more portions thereof). Any of these various functions may be distributed over multiple locations from central or core servers (e.g., of one or more data centers that may be distributed across a state, a region, a country, the globe, etc.). If a connection to a user (e.g., a client device) is relatively close to an edge server(s), a core server(s) may designate at least a portion of the functionality to the edge server(s). A cloud-based network environment may be private (e.g., limited to a single organization), may be public (e.g., available to many organizations), and / or a combination thereof (e.g., a hybrid cloud environment).
[0182] The client device(s) may include at least some of the components, features, and functionality of the example computing device(s) 1000 described herein with respect to FIG. 10. By way of example and not limitation, a client device may be embodied as a Personal Computer (PC), a laptop computer, a mobile device, a smartphone, a tablet computer, a smart watch, a wearable computer, a Personal Digital Assistant (PDA), an MP3 player, a virtual reality headset, a Global Positioning System (GPS) or device, a video player, a video camera, a surveillance device or system, a vehicle, a boat, a flying vessel, a virtual machine, a drone, a robot, a handheld communications device, a hospital device, a gaming device or system, an entertainment system, a vehicle computer system, an embedded system controller, a remote control, an appliance, a consumer electronic device, a workstation, an edge device, any combination of these delineated devices, or any other suitable device.
[0183] The disclosure may be described in the general context of computer code or machine-useable instructions, including computer-executable instructions such as program modules, being executed by a computer or other machine, such as a personal data assistant or other handheld device. Generally, program modules including routines, programs, objects, components, data structures, etc., refer to code that perform particular tasks or implement particular abstract data types. The disclosure may be practiced in a variety of system configurations, including hand-held devices, consumer electronics, general-purpose computers, more specialty computing devices, etc. The disclosure may also be practiced in distributed computing environments where tasks are performed by remote-processing devices that are linked through a communications network.
[0184] As used herein, a recitation of “and / or” with respect to two or more elements should be interpreted to mean only one element, or a combination of elements. For example, “element A, element B, and / or element C” may include only element A, only element B, only element C, element A and element B, element A and element C, element B and element C, or elements A, B, and C. In addition, “at least one of element A or element B” may include at least one of element A, at least one of element B, or at least one of element A and at least one of element B. Further, “at least one of element A and element B” may include at least one of element A, at least one of element B, or at least one of element A and at least one of element B.
[0185] The subject matter of the present disclosure is described with specificity herein to meet statutory requirements. However, the description itself is not intended to limit the scope of this disclosure. Rather, the inventors have contemplated that the claimed subject matter might also be embodied in other ways, to include different steps or combinations of steps similar to the ones described in this document, in conjunction with other present or future technologies. Moreover, although the terms “step” and / or “block” may be used herein to connote different elements of methods employed, the terms should not be interpreted as implying any particular order among or between various steps herein disclosed unless and except when the order of individual steps is explicitly described.
Claims
1. One or more processors comprising processing circuitry to:obtain a representation of log data including an error and error context associated with the error;determine a type of performance data for which to request generation in association with the log data by accessing a service-to performance data mapping, stored in a data store, that maps a service associated with the log data to the type of performance data for which to request generation;generate, using one or more generative language models, performance data associated with the error based on the representation of the log data and the type of performance data;determine to generate an alert based on the performance data; andcause presentation of an alert, using at least one of a display device or an audio device, associated with the performance data.
2. The one or more processors of claim 1, wherein the error context associated with the error comprises a service associated with the error, a set of lines of log data preceding or succeeding the error, or a combination thereof.
3. The one or more processors of claim 1, wherein the performance data comprises an indication of the error, an identification of the error, an indication of an error type, an indication of a criticality of the error, a summary of the error, or a combination thereof.
4. The one or more processors of claim 1, wherein the type of performance data generated is based on an instruction input to the one or more generative language models.
5. The one or more processors of claim 1, wherein the service associated with the log data is identified by analyzing metadata associated with the log data.
6. The one or more processors of claim 1, wherein determining to generate the alert comprises:obtaining historical data associated with the error; andanalyzing the performance data based on the historical data to determine to generate the alert.
7. The one or more processors of claim 1, wherein determining to generate the alert comprises determining that the performance data indicates the error exceeds a threshold level of severity.
8. The one or more processors of claim 1, wherein presentation of the alert comprises an indication of the error and data associated with the error.
9. The one or more processors of claim 1, wherein presentation of the alert comprises an indication of an action to take to remediate the error.
10. The one or more processors of claim 1, wherein the one or more processors are comprised in at least one of:a control system for an autonomous or semi-autonomous machine;a perception system for an autonomous or semi-autonomous machine;a system for performing simulation operations;a system for performing digital twin operations;a system for performing light transport simulation;a system for performing collaborative content creation for 3D assets;a system for performing deep learning operations;a system for performing remote operations;a system for performing real-time streaming;a system for generating or presenting one or more of augmented reality content, virtual reality content, or mixed reality content;a system implemented using an edge device;a system implemented using a robot;a system for performing conversational AI operations;a system implementing one or more multi-model language models;a system implementing one or more large language models (LLMs);a system implementing one or more small language models (SLMs);a system implementing one or more vision language models (VLMs);a system for generating synthetic data;a system for generating synthetic data using AI;a system incorporating one or more virtual machines (VMs);a system using or deploying one or more inference microservices;a system that incorporates one or more machine learning models deployed in a service or microservice along with an OS-level virtualization package;a system implemented at least partially in a data center; ora system implemented at least partially using cloud computing resources.
11. A system comprising one or more processors to:obtain a representation of log data including an error and error context associated with the error;determine a type of performance data for which to request generation in association with the log data by accessing a service-to performance data mapping, stored in a data store, that maps a service associated with the log data to the type of performance data for which to request generation;generate a prompt including the representation of the log data and an indication of the type of performance data to generate for providing to one or more generative language models to generate performance data associated with the error based on the representation of the log data and the indication of the type of performance data to generate;determine to generate an alert using the performance data; andcause presentation of an alert, using at least one of a display device or an audio device, associated with the performance data.
12. The system of claim 11, wherein the service associated with the log data is determined by analyzing metadata associated with the log data.
13. The system of claim 11, wherein determining to generate the alert comprises:obtaining historical data associated with the error; andanalyzing the performance data based on the historical data to determine to generate the alert.
14. The system of claim 11, wherein presentation of the alert comprises an indication of an action to take to remediate the error.
15. The system of claim 11, wherein the system is comprised in at least one of:a control system for an autonomous or semi-autonomous machine;a perception system for an autonomous or semi-autonomous machine;a system for performing simulation operations;a system for performing digital twin operations;a system for performing light transport simulation;a system for performing collaborative content creation for 3D assets;a system for performing deep learning operations;a system for performing remote operations;a system for performing real-time streaming;a system for generating or presenting one or more of augmented reality content, virtual reality content, or mixed reality content;a system implemented using an edge device;a system implemented using a robot;a system for performing conversational AI operations;a system implementing one or more multi-model language models;a system implementing one or more large language models (LLMs);a system implementing one or more small language models (SLMs);a system implementing one or more vision language models (VLMs);a system for generating synthetic data;a system for generating synthetic data using AI;a system incorporating one or more virtual machines (VMs);a system using or deploying one or more inference microservices;a system that incorporates one or more machine learning models deployed in a service or microservice along with an OS-level virtualization package;a system implemented at least partially in a data center; ora system implemented at least partially using cloud computing resources.
16. A method comprising:obtaining a representation of log data including an error;generating, using one or more generative language models trained via diverse logs associated with a plurality of services, performance data associated with the error based on the representation of the log data;using context associated with the performance data to determine to generate an alert based on the performance data, the context maintained in a data store including historical data; andbased on the determination to generate the alert, providing data representing the performance data for real-time presentation using at least one of a display device or an audio device.
17. The method of claim 16, wherein the context associated with the performance data comprises the historical data associated with the error.
18. The method of claim 16, wherein the data representing the performance data comprises an extent of severity of the error, an identification of the error, a summary of the error, an action recommendation for the error, or a combination thereof.
19. The method of claim 16, further comprising:obtaining a user selection, via a user interface, to initiate an action recommended in association with the error; andautomatically initiating the action to remediate or mitigate the error.
20. The method of claim 16, wherein the method is performed by at least one of:a control system for an autonomous or semi-autonomous machine;a perception system for an autonomous or semi-autonomous machine;a system for performing simulation operations;a system for performing digital twin operations;a system for performing light transport simulation;a system for performing collaborative content creation for 3D assets;a system for performing deep learning operations;a system for performing remote operations;a system for performing real-time streaming;a system for generating or presenting one or more of augmented reality content, virtual reality content, or mixed reality content;a system implemented using an edge device;a system implemented using a robot;a system for performing conversational AI operations;a system implementing one or more multi-model language models;a system implementing one or more large language models (LLMs);a system implementing one or more small language models (SLMs);a system implementing one or more vision language models (VLMs);a system for generating synthetic data;a system for generating synthetic data using AI;a system incorporating one or more virtual machines (VMs);a system using or deploying one or more inference microservices;a system that incorporates one or more machine learning models deployed in a service or microservice along with an OS-level virtualization package;a system implemented at least partially in a data center; ora system implemented at least partially using cloud computing resources.
