Systems, methods, and devices for monitoring and controlling communications between autonomous agents are disclosed. The system monitors real-time communications between autonomous agents, intercepting and recording each communication. Communications are translated to a standardized language and processed through communication protocol filters that evaluate compliance with predefined operational policies. The system parses each translated communication to identify policy violations. When violations are detected, the system modifies communications to ensure compliance with operational policies. All communications and modifications are recorded via distributed ledger technology for audit and accountability purposes. This approach enables comprehensive oversight of autonomous agent interactions while maintaining tamper-proof records of all monitoring and control activities.
Legal claims defining the scope of protection, as filed with the USPTO.
monitor, in real time, a series of communications between a plurality of autonomous agents operating within an operational environment, wherein the plurality of autonomous agents are organized into a plurality of agent meshes based on functional domains of the plurality of autonomous agents, the series of communications comprising intra-mesh communications within individual agent meshes and inter-mesh communications across agent mesh boundaries of some of the individual agent meshes, and wherein monitoring the series of communications comprises intercepting and recording each communication of the series of communications; translate each communication in the series of communications to a standardized language; implement, for each communication translated to the standardized language, at least one communication protocol filter, wherein the at least one communication protocol filter is configured to evaluate each communication based on predefined operational policies, and wherein the predefined operational policies comprise domain-specific policies associated with respective individual agent meshes of the plurality of agent meshes; using the at least one communication protocol filter, parse each communication translated to the standardized language to determine whether each communication violates at least one relevant domain-specific policy of the domain-specific policies; based on determining that a particular communication translated to the standardized language violates the at least one relevant domain-specific policy, perform one or more modifications to the particular communication to render the particular communication compliant with the at least one relevant domain-specific policy; and execute a smart contract to record, via a distributed ledger, the particular communication and the one or more modifications to the particular communication. . One or more non-transitory, computer-readable storage medium comprising instructions recorded thereon, wherein the instructions, when executed by at least one data processor of a system, cause the system to:
claim 1 . The one or more non-transitory, computer-readable storage medium of, wherein the instructions for monitoring the series of communications further cause the system to employ a transformer-based language model configured to automatically detect and translate communications that utilize novel or evolving AI agent languages.
claim 1 . The one or more non-transitory, computer-readable storage medium of, wherein the at least one communication protocol filter comprises hybrid violation detection using both a rule-based filter encoded with a declarative policy language and a machine learning-based model trained to score violation risk.
claim 1 . The one or more non-transitory, computer-readable storage medium of, wherein the instructions for parsing each communication further cause the system to apply semantic analysis through natural language processing models for policy violation assessment.
claim 1 . The one or more non-transitory, computer-readable storage medium of, wherein the instructions for parsing each communication further cause the system to perform anomaly detection on message frequency, entropy, or known abuse patterns.
claim 1 . The one or more non-transitory, computer-readable storage medium of, wherein the instructions for performing the one or more modifications to the particular communication further cause the system to block or quarantine the particular communication.
monitoring, in real time, a series of communications between a plurality of autonomous AI agents operating within an operational computing environment, wherein the plurality of autonomous AI agents are organized into a plurality of agent meshes based on functional domains of the plurality of autonomous AI agents, the series of communications comprising intra-mesh communications within agent meshes and inter-mesh communications across agent mesh boundaries; implementing, for the series of communications, at least one communication protocol filter, wherein the at least one communication protocol filter is configured to evaluate the series of communications based on predefined operational policies, and wherein the predefined operational policies comprise domain-specific policies associated with respective agent meshes of the plurality of agent meshes; determining, using the at least one communication protocol filter, whether a particular communication of the series of communications violates at least one domain-specific policy of the domain-specific policies; based on determining that the particular communication violates the at least one domain-specific policy, performing one or more modifications to the particular communication to render the particular communication compliant with the at least one domain-specific policy; and recording, via a distributed ledger, the particular communication and the one or more modifications to the particular communication. . A method comprising:
claim 7 . The method of, wherein monitoring the series of communications further comprises employing a transformer-based language model configured to automatically detect and translate communications that utilize novel or evolving AI agent languages.
claim 7 . The method of, wherein the at least one communication protocol filter comprises hybrid violation detection using both a rule-based filter encoded with a declarative policy language and a machine learning-based model trained to score violation risk.
claim 7 . The method of, wherein determining whether the particular communication of the series of communications violates the at least one domain-specific policy further comprises applying semantic analysis through natural language processing models for policy violation assessment.
claim 7 . The method of, wherein determining whether the particular communication of the series of communications violates the at least one domain-specific policy further comprises performing anomaly detection on message frequency, entropy, or known abuse patterns.
claim 7 . The method of, wherein performing the one or more modifications to the particular communication further comprises blocking or quarantining the particular communication.
claim 7 . The method of, wherein monitoring the series of communications further comprises intercepting and recording the series of communications.
a storage device; and monitor, in real time, a series of communications between a plurality of autonomous AI agents operating within an operational computing environment, wherein the plurality of autonomous AI agents are organized into a plurality of agent meshes based on functional domains of the plurality of autonomous agents; implement, for the series of communications, at least one communication protocol filter, wherein the at least one communication protocol filter is configured to evaluate the series of communications based on predefined operational policies, and wherein the predefined operational policies comprise domain-specific policies associated with respective agent meshes of the plurality of agent meshes; determine, using the at least one communication protocol filter, whether a particular communication of the series of communications violates at least one domain-specific policy of the domain-specific policies; based on determining that the particular communication violates the at least one domain-specific policy, perform one or more modifications to the particular communication to render the particular communication compliant with the at least one domain-specific policy; and record, via a distributed ledger, the particular communication and the one or more modifications to the particular communication. one or more processors communicatively coupled to the storage device storing instructions thereon, that cause the one or more processors to: . A system comprising:
claim 14 . The system of, wherein the instructions for monitoring the series of communications further cause the one or more processors to employ a transformer-based language model configured to automatically detect and translate communications that utilize novel or evolving AI agent languages.
claim 14 . The system of, wherein the at least one communication protocol filter comprises hybrid violation detection using both a rule-based filter encoded with a declarative policy language and a machine learning-based model trained to score violation risk.
claim 14 . The system of, wherein the instructions for determining whether the particular communication of the series of communications violates the at least one domain-specific policy further cause the one or more processors to apply semantic analysis through natural language processing models for policy violation assessment.
claim 14 . The system of, wherein the instructions for determining whether the particular communication of the series of communications violates the at least one domain-specific policy further cause the one or more processors to perform anomaly detection on message frequency, entropy, or known abuse patterns.
claim 14 . The system of, wherein the instructions for performing the one or more modifications to the particular communication further cause the one or more processors to block or quarantine the particular communication.
claim 14 . The system of, wherein the instructions for monitoring the series of communications further cause the one or more processors to intercept and record the series of communications.
Complete technical specification and implementation details from the patent document.
This application is a continuation-in-part of U.S. patent application Ser. No. 19/283,194 entitled “AUTONOMOUS AGENT OBSERVATION AND CONTROL” filed on Jul. 28, 2025, which is a continuation-in-part of U.S. patent application Ser. No. 19/182,585 entitled “DYNAMIC MULTI-MODEL MONITORING AND VALIDATION FOR ARTIFICIAL INTELLIGENCE MODELS” filed on Apr. 18, 2025, which is a continuation of U.S. patent application Ser. No. 18/947,102 entitled “DYNAMIC MULTI-MODEL MONITORING AND VALIDATION FOR ARTIFICIAL INTELLIGENCE MODELS” filed Nov. 14, 2024, which is a continuation-in-part of U.S. patent application Ser. No. 18/653,858 entitled “VALIDATING VECTOR CONSTRAINTS OF OUTPUTS GENERATED BY MACHINE LEARNING MODELS” filed on May 2, 2024, which is a continuation-in-part of U.S. patent application Ser. No. 18/637,362 entitled “DYNAMICALLY VALIDATING AI APPLICATIONS FOR COMPLIANCE” filed on Apr. 16, 2024.
U.S. patent application Ser. No. 18/947,102 is further a continuation-in-part of U.S. patent application Ser. No. 18/782,019 entitled “IDENTIFYING AND ANALYZING ACTIONS FROM VECTOR REPRESENTATIONS OF ALPHANUMERIC CHARACTERS USING A LARGE LANGUAGE MODEL” and filed Jul. 23, 2024, which is a continuation-in-part of U.S. patent application Ser. No. 18/771,876 entitled “MAPPING IDENTIFIED GAPS IN CONTROLS TO OPERATIVE STANDARDS USING A GENERATIVE ARTIFICIAL INTELLIGENCE MODEL” and filed Jul. 12, 2024, which is a continuation-in-part of U.S. patent application Ser. No. 18/661,532 entitled “DYNAMIC INPUT-SENSITIVE VALIDATION OF MACHINE LEARNING MODEL OUTPUTS AND METHODS AND SYSTEMS OF THE SAME” and filed May 10, 2024, which is a continuation-in-part of U.S. patent application Ser. No. 18/661,519 entitled “DYNAMIC, RESOURCE-SENSITIVE MODEL SELECTION AND OUTPUT GENERATION AND METHODS AND SYSTEMS OF THE SAME” and filed May 10, 2024, and is a continuation-in-part of U.S. patent application Ser. No. 18/633,293 entitled “DYNAMIC EVALUATION OF LANGUAGE MODEL PROMPTS FOR MODEL SELECTION AND OUTPUT VALIDATION AND METHODS AND SYSTEMS OF THE SAME” and filed Apr. 11, 2024.
U.S. patent application Ser. No. 18/947,102 is further a continuation-in-part of U.S. patent application Ser. No. 18/739,111 entitled “END-TO-END MEASUREMENT, GRADING AND EVALUATION OF PRETRAINED ARTIFICIAL INTELLIGENCE MODELS VIA A GRAPHICAL USER INTERFACE (GUI) SYSTEMS AND METHODS” and filed Jun. 10, 2024, which is a continuation-in-part of U.S. patent application Ser. No. 18/607,141 entitled “GENERATING PREDICTED END-TO-END CYBER-SECURITY ATTACK CHARACTERISTICS VIA BIFURCATED MACHINE LEARNING-BASED PROCESSING OF MULTI-MODAL DATA SYSTEMS AND METHODS” filed on Mar. 15, 2024, which is a continuation-in-part of U.S. patent application Ser. No. 18/399,422 entitled “PROVIDING USER-INDUCED VARIABLE IDENTIFICATION OF END-TO-END COMPUTING SYSTEM SECURITY IMPACT INFORMATION SYSTEMS AND METHODS” filed on Dec. 28, 2023, which is a continuation of U.S. patent application Ser. No. 18/327,040 (now U.S. Pat. No. 11,874,934) entitled “PROVIDING USER-INDUCED VARIABLE IDENTIFICATION OF END-TO-END COMPUTING SYSTEM SECURITY IMPACT INFORMATION SYSTEMS AND METHODS” filed on May 31, 2023, which is a continuation-in-part of U.S. patent application Ser. No. 18/114,194 (now U.S. Pat. No. 11,763,006) entitled “COMPARATIVE REAL-TIME END-TO-END SECURITY VULNERABILITIES DETERMINATION AND VISUALIZATION” filed Feb. 24, 2023, which is a continuation-in-part of U.S. patent application Ser. No. 18/098,895 (now U.S. Pat. No. 11,748,491) entitled “DETERMINING PLATFORM-SPECIFIC END-TO-END SECURITY VULNERABILITIES FOR A SOFTWARE APPLICATION VIA GRAPHICAL USER INTERFACE (GUI) SYSTEMS AND METHODS” filed Jan. 19, 2023.
This application is further a continuation-in-part of U.S. patent application Ser. No. 18/951,366 entitled “SYSTEMS AND METHODS FOR DETERMINING ERRORS DURING EXECUTION OF MULTIPLE APPLICATIONS” filed on Nov. 18, 2024, which is a continuation of U.S. patent application Ser. No. 18/624,409 entitled “SYSTEMS AND METHODS FOR DETERMINING ERRORS DURING EXECUTION OF MULTIPLE APPLICATIONS” filed on Apr. 2, 2024.
This application is further a continuation-in-part of U.S. patent application Ser. No. 19/195,642 entitled “SYSTEMS AND METHODS FOR GENERATING RECOMMENDATIONS BASED ON REAL-TIME MAPPING OF SYSTEM COMPONENTS IN SOFTWARE APPLICATIONS LINEAGE LOGS” filed on Apr. 30, 2025, which is a continuation-in-part of U.S. patent application Ser. No. 18/762,362 entitled “SYSTEMS AND METHODS FOR REAL-TIME MAPPING AND VISUALIZATION GENERATION OF SYSTEM COMPONENTS IN SOFTWARE SYSTEMS” filed on Jul. 2, 2024. U.S. patent application Ser. No. 19/195,642 is further a continuation of U.S. patent application Ser. No. 18/624,409 entitled “SYSTEMS AND METHODS FOR DETERMINING ERRORS DURING EXECUTION OF MULTIPLE APPLICATIONS” filed on Apr. 2, 2024.
The content of the foregoing applications is incorporated herein by reference in its entirety.
Autonomous agents are software entities designed to operate independently and make decisions without direct human intervention. These agents are programmed to perceive their environment, reason about their observations, communicate with other agents and systems, and take actions to achieve specific goals. They can adapt to changing circumstances and learn from experience, making them useful in various domains such as robotics, artificial intelligence (AI), and distributed computing systems.
Distributed ledger technology provides a decentralized method for recording and maintaining transaction records across multiple nodes in a network. Unlike traditional centralized databases, distributed ledgers create immutable records that are synchronized across participating nodes, providing transparency and tamper resistance. These systems enable secure recording of events and transactions without relying on a central authority, making them suitable for applications requiring audit trails, data integrity verification, and distributed consensus mechanisms.
As autonomous AI agents become increasingly prevalent in enterprise environments, organizations face mounting challenges in monitoring and controlling communications between these agents. These autonomous entities operate independently and can communicate using various languages and protocols, making it difficult for organizations to maintain oversight of their interactions. The complexity increases when agents are grouped into different operational domains or “meshes,” such as security-focused agents in one mesh and retail banking transaction agents in another, where communications can occur both within individual meshes and across mesh boundaries.
Current systems struggle to provide real-time monitoring and control of inter-agent communications, particularly when agents communicate using universal or standardized languages that can evolve over time. Traditional network security approaches that rely on perimeter-based defenses are insufficient for managing communications between distributed autonomous agents that can operate across different network boundaries and cloud environments. Organizations need the ability to intercept, interpret, and manage exchanges between AI agents to detect unauthorized, unsafe, or policy-violating content before it can impact operations.
The challenge becomes more complex when considering that agents can attempt to bypass communication filters through obfuscation, through encryption, or by developing new communication patterns. Conventional monitoring systems lack the capability to adapt to evolving agent languages and communication methods, leaving organizations vulnerable to policy violations and security breaches. Furthermore, existing systems do not provide adequate mechanisms for recording and auditing agent communications in a tamper-proof manner that can support regulatory compliance and forensic analysis.
The disclosed system addresses these technical challenges by providing a comprehensive framework for monitoring, analyzing, and controlling communications between autonomous AI agents in real time. The system implements dynamic communication protocol filters that can parse and analyze messages to detect policy violations while also providing mechanisms to modify or block non-compliant communications. The system incorporates advanced language processing capabilities to handle evolving agent communication methods and maintains immutable records of all communications and modifications through distributed ledger technology.
In particular, the system monitors, in real time, a series of communications between a plurality of autonomous agents operating within an operational environment. For example, this monitoring can occur across different agent meshes, such as security-focused agent clusters and financial transaction processing clusters, enabling comprehensive oversight of both intra-mesh and inter-mesh communications. The monitoring process includes intercepting and recording each communication of the series of communications, thus providing visibility into agent interactions.
The system translates communications in the series of communications to a standardized language. In some implementations, this translation capability enables the system to handle communications that utilize novel or evolving AI agent languages through the use of transformer-based language models. Moreover, the standardization process facilitates consistent analysis across different types of agent communications regardless of their original format or protocol.
The system implements, for each communication translated to the standardized language, at least one communication protocol filter that is configured to evaluate each communication based on predefined operational policies. In particular, these filters can include hybrid violation detection mechanisms that combine rule-based filtering encoded with declarative policy languages and machine learning-based models trained to score violation probability. The filters operate at the communications and APIs layer of the autonomous agent stack, enabling precise control over agent interactions.
Using the communication protocol filters, the system parses each communication translated to the standardized language to determine whether each communication violates at least one predefined operational policy. For example, this parsing process can apply semantic analysis through natural language processing models for policy violation assessment. In some implementations, the parsing includes performing anomaly detection on message frequency, entropy, or known abuse patterns to identify potentially harmful communications that cannot be caught by traditional rule-based approaches.
Based on determining that a particular communication translated to the standardized language violates the predefined operational policy, the system performs one or more modifications to the particular communication to render the particular communication compliant with the operational policy. In particular, these modifications can include blocking or quarantining the particular communication to prevent policy violations from propagating through the agent network. The system can also modify message content to remove policy-violating elements while preserving legitimate communication functionality.
The system records, via a distributed ledger, the particular communication and the one or more modifications to the particular communication. This distributed ledger approach provides tamper-proof logging capabilities that support regulatory compliance and forensic analysis. Moreover, the immutable record-keeping enables organizations to maintain comprehensive audit trails of all agent communications and policy enforcement actions, facilitating accountability and enabling continuous improvement of communication policies.
Various other aspects, features, and advantages of the invention will be apparent through the detailed description of the invention and the drawings attached hereto. It is also to be understood that both the foregoing general description and the following detailed description are examples and are not restrictive of the scope of the invention. As used in the specification and in the claims, the singular forms of “a,” “an,” and “the” include plural referents unless the context clearly dictates otherwise. In addition, as used in the specification and the claims, the term “or” means “and/or” unless the context clearly dictates otherwise. Additionally, as used in the specification, “a portion” refers to a part of, or the entirety of (i.e., the entire portion), a given item (e.g., data) unless the context clearly dictates otherwise.
The technologies described herein will become more apparent to those skilled in the art from studying the Detailed Description in conjunction with the drawings. Implementations describing aspects of the invention are illustrated by way of example, and the same references can indicate similar elements. While the drawings depict various implementations for the purpose of illustration, those skilled in the art will recognize that alternative implementations can be employed without departing from the principles of the present technologies. Accordingly, while specific implementations are shown in the drawings, the technology is amenable to various modifications.
In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the disclosed implementations. It will be appreciated, however, by those having skill in the art, that the implementations can be practiced without these specific details or with an equivalent arrangement. In other cases, well-known models and devices are shown in block diagram form in order to avoid unnecessarily obscuring the disclosed implementations. It should also be noted that the methods and systems disclosed herein are also suitable for applications unrelated to autonomous agent communication monitoring and control systems.
The disclosed technology provides a comprehensive framework for monitoring, analyzing, and controlling communications between autonomous AI agents in real-time. In particular, systems and methods described herein involve intercepting and recording communications between autonomous agents, translating these communications to standardized languages, implementing communication protocol filters to evaluate policy compliance, and performing modifications to ensure adherence to operational policies. Specifically, the present disclosure will be directed to using dynamic communication protocol filters that can parse and analyze messages to detect policy violations, advanced language processing capabilities to handle evolving agent communication methods, and distributed ledger technology to maintain immutable records of all communications and modifications. The system can implement these capabilities across different agent meshes, such as security-focused agent clusters and financial transaction processing clusters, enabling comprehensive oversight of both intra-mesh and inter-mesh communications.
1 FIG. 100 100 100 illustrates an agent networkincluding multiple agentic meshes, in accordance with some implementations of the present technology. The agent networkdemonstrates how autonomous agents can be organized and distributed within operational environments. For example, the data points in the agent networkcan represent different autonomous agents operating within various domains or “galaxies” that form based on their functional requirements. In some implementations, these galaxies can represent service meshes where agents with similar operational purposes cluster together, such as payment processing agents or account management agents. In some implementations, agents initially exist in relatively unformed configurations but gradually coalesce into cohesive, agentic galaxies as AI systems analyze the operational universe and identify optimal groupings based on business domains and technical requirements.
In some implementations, system monitors, in real time, a series of communications between a plurality of autonomous agents operating within an operational environment. Real-time monitoring can include the continuous observation and analysis of communications as they occur without significant delay between the communication event and its detection by the monitoring system. For example, this monitoring can occur across different agent meshes, such as security-focused agent clusters and transaction processing clusters, enabling comprehensive oversight of both intra-mesh and inter-mesh communications. The operational environment can include distributed computing systems, cloud infrastructures, enterprise networks, or hybrid environments where autonomous agents perform various tasks including data processing, decision-making, and system management. In some implementations, autonomous agents are software entities designed to operate independently and make decisions without direct human intervention and programmed to perceive their environment, reason about their observations, and take actions to achieve specific goals. These agents can adapt to changing circumstances and learn from experience, making them useful in various domains such as robotics, artificial intelligence, and distributed computing systems.
2 FIG. 1 FIG. 200 202 204 200 100 200 202 204 204 a g a g illustrates a network diagramshowing a distributed system of agents-and their connection to an Internet Domain Name System (DNS) infrastructure, in accordance with some implementations of the present technology. In some implementations, the network diagramprovides a more detailed view of one of the agent clusters or meshes that is represented as a grouping within the agent networkof. The network diagramdepicts the agents-arranged in a network structure, with agents connected to each other through various pathways. These interconnected agents can form a mesh-like network, demonstrating a distributed architecture where agents can communicate with each other through multiple paths. This network topology can provide redundancy and flexibility in the communication structure, allowing for robust information flow between agents. Each agent in the network can maintain a connection to the Internet DNS infrastructure. This arrangement can allow for information flow between the agents and provide connectivity to external internet services through the Internet DNS infrastructure. The DNS can map human-readable names to agent IP addresses or URLs, enabling agents to be connected to and located anywhere within the network or across the internet. The distributed nature of this agent network, coupled with the centralized DNS infrastructure, can allow for scalability, as new agents can be easily added to the network. The system can also provide fault tolerance, as the loss of one agent or communication path does not necessarily disrupt the entire network. Additionally, the DNS integration can facilitate easy discovery and addressing of agents, potentially simplifying the management and coordination of the distributed agent ecosystem.
2 FIG. 200 204 202 202 202 202 202 202 202 g a f g a f g a f g In some implementations, the system organizes autonomous agents into clusters or meshes based on their functional domains, operational environments, or service categories. These meshes, which can be likened to galaxies in a universe of agents, enable more efficient monitoring by allowing agents to communicate more easily with other agents of similar types or operational contexts. For example, a manufacturing mesh can contain agents involved in production processes, while a logistics mesh can encompass agents handling supply chain operations. This clustering approach enables the monitoring system to apply domain-specific rules and detection patterns tailored to the unique characteristics and requirements of each mesh. As shown in, the network diagramillustrates how agents can be arranged in a mesh-like network structure with connections to each other and to the Internet DNS infrastructure. In some implementations, agentrepresents an outlier to the cluster or mesh of agents-. For example, agentcan perform specialized functions that do not clearly align with the primary operational domain of the mesh including agents-. Over time, as the system analyzes communication patterns, functional relationships, and operational requirements, agentcan gradually gravitate toward the mesh including agents-if its functions become more aligned with the domain of that mesh, or it can migrate toward a different mesh that better matches its operational characteristics. In some implementations, agentcan serve as the nucleus for forming a new mesh if sufficient numbers of similar outlier agents emerge with complementary functions.
The agentic mesh architecture provides several technical benefits that enhance the overall system's effectiveness and security. First, it implements a discoverability framework that enables agents to easily locate and interact with other agents possessing capabilities relevant to their tasks, significantly reducing the computational overhead associated with agent coordination. For example, an agent requiring data analysis capabilities can quickly identify and connect with specialized analysis agents within its mesh or across meshes with appropriate permissions. Second, the mesh architecture facilitates certifiability, allowing for systematic verification that agents comply with their defined purposes and operational constraints. This certification process creates a technical foundation for trust within the agent ecosystem by ensuring that each agent operates within its intended parameters.
Additionally, the mesh architecture significantly enhances observability by creating structured pathways and standardized interfaces through which monitoring systems can track agent activities and communications. This design enables more comprehensive and efficient monitoring compared to ad-hoc agent deployments. The mesh also facilitates interoperability protocols that enable agents to communicate using standardized languages and data formats, addressing the technical challenge of cross-agent communication that often plagues heterogeneous agent systems. For example, agents developed using different frameworks or programming languages can still exchange information effectively through the mesh's standardized communication interfaces.
Furthermore, the mesh architecture creates a stable, manageable, and resilient platform for agent operations. The modular design allows for individual agents to be updated, replaced, or temporarily removed without disrupting the entire system, enhancing overall system reliability. The mesh implements load balancing and redundancy mechanisms that distribute computational tasks across available resources and maintain system functionality even when individual agents fail. This resilience is particularly important in mission-critical applications where system downtime can have significant consequences. The structured nature of the mesh also simplifies governance and policy enforcement by providing clear boundaries and interfaces where security policies, access controls, and behavioral constraints can be systematically applied and verified.
The monitoring process for agents can include intercepting and recording each communication of a series of communications between agents. In some implementations, intercepting communications involves capturing messages, data transfers, or other forms of information exchange between autonomous agents as they occur in real time. For example, this can include capturing API calls, network packets, message queue transactions, or direct agent-to-agent communications protocols. Recording involves storing these intercepted communications in a persistent format that can be analyzed, audited, and referenced for compliance and security purposes. In some implementations, the system can intercept communications at various network layers, including application layer protocols, transport layer connections, or network layer routing. The interception process can be implemented through network taps, proxy servers, middleware components, or agent-embedded monitoring modules that capture communications without disrupting normal agent operations. This comprehensive recording capability provides visibility into agent interactions, enabling organizations to maintain oversight of autonomous agent behaviors and detect potential policy violations or security threats.
3 FIG.A 300 302 304 306 308 310 302 304 304 304 illustrates a block diagramof an autonomous agent, in accordance with some implementations of the present technology. In some implementations, agents can interact with each other and with other systems using different layers of the agent stack of each agent. For example, the agent stack can include a communications and APIs layer, a control and management layer, a learning and decisioning layer, and a run-time environment layer, enabling comprehensive monitoring across all aspects of agent functionality of each agent. For example, the communications and APIs layercan facilitate agent interactions with external systems and other agents. Observation of the communications and APIs layerenables monitoring and regulation of inter-agent communications, ensuring messages comply with established security policies. For example, at the communications and APIs layer, the system can inspect messages between a robotic assembly agent and other systems, detecting if the robotic assembly agent attempts to establish unauthorized connections to external networks for potential data exfiltration. The discovery, observability, and interactivity modules within this layer can provide critical points for monitoring agent communications and external interactions.
306 306 308 308 The control and management layermanages the operational aspects of the agent, translating high-level decisions into specific actions. Observation of the control and management layerallows observation of governance and operational control decisions, including monitoring sensors, actuators, and control services that log agent actions. The learning and decisioning layercan incorporate a large language model (LLM) module, memory/metadata module, and learning mechanism module that collectively handle the agent's intelligence and decision-making capabilities. Observation of the learning and decisioning layerenables evaluation of inference and decision-making. In some implementations, LLM components can include LLMs, SLMs, RAG procedures, fine-tuned models, or other types of models.
3 FIG.B 3 FIG.A 320 320 320 320 320 illustrates a security control layerwith multiple tiers of security controls, in accordance with some implementations of the present technology. In some implementations, the security control layercorresponds to one or more of the layers shown in. The security control layerincludes multiple tiers of security controls, starting from client-facing controls at the top to microservices controls at the bottom. The security control layercan apply to different security domains including Clients (Mobile and CBOL), Akamai, Neustar, Data Power (DMZ), Apigee-Router/MP (GRN), Platform Security Gateway, and microservices. Each section contains specific security controls and protection mechanisms such as session extension, malware detection, frame busting, output encoding, DDOS protection, trojan protection, SSL checks, token encryption, and network access control. The security control layerimplements various protection measures including cross-site scripting protection, device detection, JSON/XML validation, and sequence protection across different sections of the architecture. This multi-tiered security approach can be integrated with the communication monitoring system to provide comprehensive protection for autonomous agent communications, make it more likely that policy violations are detected and prevented at multiple levels of the system architecture.
3 FIG.C 340 340 340 340 illustrates a network architecture diagramshowing layered network infrastructure design, in accordance with some implementations of the present technology. The network architecture diagramshows multiple network segments arranged around a central DMZ (demilitarized zone) area containing Digital Apps and Systems of Record components. The system shown in the network architecture diagramfacilitates bidirectional traffic flows where requests originate from outside the network and flow inward through the architecture, while responses flow outward from internal systems back to external requestors. The network architecture diagramshows API traffic flows that are both externally and internally sourced, with an Internet-based traffic layer handling consumer and B2B communications. The internal portions of the architecture include an Internal User Network and Internal Systems Network. The architecture shows a Common External Platform (CEP) and dedicated lines to 3rd party (Non-Cloud) systems. The architecture includes Cloud Service Providers Network Architecture (CSPNA) with dedicated lines to 3rd Party Cloud providers like AWS, GCP, Azure, and IBM, as well as PCF Open Shift PaaS capabilities. The network segments are logically separated by boundaries, and as traffic crosses each boundary, full service gateways are required for API traffic to ensure proper security controls and policy enforcement. The network segments maintain interconnectivity through the central DMZ, allowing for controlled access between the different zones of the architecture. This network architecture provides the infrastructure foundation for deploying autonomous agents across different environments while enabling the system to observe and control communications across all network segments and cloud platforms.
In some implementations, monitoring the series of communications further includes employing a transformer-based language model configured to automatically detect and translate communications that utilize novel or evolving AI agent languages. Transformer-based language models are advanced neural network architectures that excel at processing sequential data and understanding complex language patterns through attention mechanisms. These models can analyze communication patterns between autonomous agents and identify when agents are using non-standard, proprietary, or evolving communication protocols. For example, if autonomous agents develop their own shorthand communication methods or begin using encrypted or obfuscated messaging formats, the transformer-based model can detect these patterns and attempt to decode or translate them into understandable formats. The automatic detection capability enables the system to identify when agents are communicating using languages or protocols that were not previously known to the monitoring system. This is particularly important as autonomous agents can evolve their communication methods over time or develop new protocols for efficiency or security purposes. The translation capability enables even novel communication formats to be converted into standardized forms that can be analyzed by the monitoring system's policy filters and compliance mechanisms.
The system translates communications in the series of communications to a standardized language. Translation to a standardized language involves converting communications from their original format, protocol, nomenclature, or other language into a common, consistent format that can be uniformly processed by the monitoring system. Language can encompass not only traditional programming or natural languages, but also broader communication constructs including sets of nomenclature, formatting conventions, data structures, protocol specifications, messaging patterns, and any systematic approach to information exchange between autonomous agents. For example, this can involve converting proprietary agent communication protocols into standard formats like JSON or XML, translating natural language communications into structured data formats, normalizing different API call formats into consistent schemas, or standardizing agent-specific nomenclature and terminology into universally understood representations. The standardized language serves as a common denominator that enables consistent analysis across different types of agent communications regardless of their original format, nomenclature, or protocol conventions. In some implementations, this translation capability enables the system to handle communications that utilize novel or evolving AI agent languages, nomenclature systems, or formatting approaches through the use of transformer-based language models that can adapt to new communication patterns and terminology. The standardization process facilitates consistent analysis across different types of agent communications, increasing the likelihood that policy filters and compliance mechanisms can operate effectively regardless of the original communication format, nomenclature, or systematic approach used by the agents.
In some implementations, not all novel communications can be successfully translated into a standardized language, particularly when agents develop highly sophisticated or encrypted communication methods that resist conventional translation approaches. When novel communications cannot be successfully translated into a standardized language, for example, due to their complexity, encryption, or resistance to conventional translation methods, the system can implement comprehensive remediation strategies. These strategies include blocking untranslatable communications entirely to prevent potential policy violations, security threats, or unauthorized activities that could be concealed within the incomprehensible communication formats. In some implementations, the system can quarantine these novel communications in a secure environment where they can be subjected to additional analysis, manual review by security experts, or specialized decryption attempts while preventing them from reaching their intended destinations. In cases where the system can determine the legitimate operational purpose of the novel communication through contextual analysis or metadata examination, remediation can also include substitution strategies. For example, the untranslatable novel AI communication is replaced entirely with a functionally equivalent communication expressed in standardized language that accomplishes the same legitimate objective while accomplishing policy compliance and security oversight. This substitution approach maintains operational continuity while limiting the security risks associated with allowing untranslatable communications to proceed unchecked through the agent network.
The system implements, for communications translated to the standardized language, at least one communication protocol filter. In particular, the at least one communication protocol filter is configured to evaluate each communication based on predefined operational policies. Communication protocol filters are specialized software components that analyze standardized communications to determine compliance with organizational policies, security requirements, and operational constraints. These filters can examine various aspects of communications including content, metadata, timing, frequency, source and destination information, and communication patterns. Predefined operational policies are rules and guidelines established by organizations to govern how autonomous agents should communicate and behave within the operational environment. For example, policies can specify which agents are authorized to communicate with external systems, what types of data can be shared between different agent meshes, or what communication frequencies are considered normal versus potentially suspicious. The filters operate at the communications and APIs layer of the autonomous agent stack, enabling precise control over agent interactions and ensuring that all communications comply with established governance frameworks. The use of models searching for unusual behaviors can provide a powerful way of enforcing guidelines, as these models can identify anomalous patterns that are not explicitly covered by predefined rules but could indicate potential security threats or policy violations.
In some implementations, the at least one communication protocol filter includes hybrid violation detection using both a rule-based filter encoded with a declarative policy language and a machine learning-based model trained to score violation probability. Rule-based filters use explicit, predefined rules written in declarative policy languages to evaluate communications against specific criteria. For example, a rule can specify that agents in the security mesh are prohibited from communicating directly with agents in the transaction processing mesh without going through designated gateway agents. Declarative policy languages provide a structured way to express these rules in a format that can be automatically processed and enforced by the monitoring system. Machine learning-based models complement rule-based approaches by identifying patterns and anomalies that cannot be captured by explicit rules. These models are trained on historical communication data to learn what constitutes normal versus potentially problematic communication patterns. The violation probability scoring enables the system to assess the likelihood that a communication represents a policy violation even when it does not explicitly violate any specific rule. This hybrid approach combines the precision and interpretability of rule-based systems with the adaptability and pattern recognition capabilities of machine learning, providing comprehensive coverage for both known and unknown types of policy violations.
Using the at least one communication protocol filter, the system parses communications translated to the standardized language to determine whether communications violate at least one predefined operational policy. Parsing involves analyzing the structure, content, and metadata of communications to extract relevant information for policy evaluation. For example, parsing can involve extracting sender and recipient information, analyzing message content for prohibited keywords or patterns, evaluating communication timing and frequency, or examining data payloads for sensitive information. The determination process involves comparing the parsed communication elements against the predefined operational policies to identify potential violations. This can include checking authorization levels, validating communication pathways, assessing content appropriateness, or detecting anomalous patterns that can indicate security threats or policy circumvention attempts. The parsing process operates on the standardized language format, ensuring consistent evaluation regardless of the original communication protocol or format used by the autonomous agents.
In some implementations, parsing communications further includes applying semantic analysis through natural language processing models for policy violation assessment. Semantic analysis involves understanding the meaning and context of communications beyond just their literal content or structure. Natural language processing models can analyze the intent, sentiment, and contextual meaning of communications to identify potential policy violations that cannot be apparent from simple keyword matching or rule-based analysis. For example, if autonomous agents are communicating about system modifications using euphemisms or indirect language to avoid detection, semantic analysis can identify the underlying intent even when the literal words do not explicitly violate any rules. These models can also understand context-dependent meanings where the same words can be acceptable in one context but problematic in another. The policy violation assessment through semantic analysis enables the system to detect sophisticated attempts to circumvent monitoring through obfuscation, coded language, or indirect communication methods that can otherwise evade traditional rule-based detection systems.
In some implementations, parsing communications further includes performing anomaly detection on message frequency, entropy, or known abuse patterns. Message frequency analysis involves monitoring the rate and timing of communications to identify unusual patterns that can indicate problematic behavior. For example, if an autonomous agent suddenly begins communicating at a much higher frequency than normal, this can indicate data exfiltration attempts, system compromise, or malfunction. Entropy analysis measures the randomness or information content of communications to detect encrypted, compressed, or obfuscated data that can be used to hide policy violations. High entropy in communications that normally contain structured, predictable data can indicate attempts to bypass content filtering through encryption or encoding. Known abuse pattern detection involves comparing communication characteristics against databases of previously identified malicious or policy-violating communication patterns. This can include patterns associated with data exfiltration, unauthorized system access, or agent coordination for prohibited activities. The anomaly detection capabilities enable the system to identify potentially harmful communications that cannot be caught by traditional rule-based approaches, providing an additional layer of protection against sophisticated evasion attempts.
In some implementations, the system employs techniques for identifying hidden communications embedded within otherwise innocent communications. For example, malicious content can be concealed within legitimate data structures or communication patterns that appear normal on the surface but contain encoded information. These identification techniques include analyzing statistical properties of communication data to detect anomalous patterns that indicate hidden content, examining metadata and timing patterns that deviate from expected norms, performing frequency analysis on message components to identify embedded signals, and using machine learning models trained to recognize subtle indicators of concealed information within seemingly benign communications. The system can detect least significant bit manipulation in data payloads, unusual spacing or formatting patterns in text communications, abnormal file size distributions, and covert channels established through timing variations or protocol field manipulation. Additionally, the system performs occasional testing of seemingly innocent communications by implementing replacement strategies, where the monitoring models create standardized language versions of the communications and interrupt the agent-to-agent communications with new approved communications designed to accomplish the identified legitimate purpose. The system can then observe the resulting outcomes to determine whether the original communications contained hidden or unauthorized elements. For example, if the system identifies a communication that appears to be a routine status update but can contain hidden instructions, it can generate a functionally equivalent status update in standardized language and substitute it for the original communication, then monitor whether the receiving agent's subsequent behavior differs from expected patterns. This testing approach enables the system to validate whether seemingly innocent communications are truly benign or whether they contain concealed directives that would alter agent behavior in unauthorized ways, providing a proactive method for detecting sophisticated evasion attempts that can otherwise go unnoticed through conventional analysis methods.
Based on determining that a particular communication translated to the standardized language violates the at least one predefined operational policy, the system performs one or more modifications to the particular communication to render the particular communication compliant with the at least one predefined operational policy. Modifications can include various types of interventions designed to address policy violations while preserving legitimate communication functionality where possible. For example, modifications can involve removing or redacting specific content elements that violate policies while allowing the remainder of the communication to proceed, replacing prohibited content with approved alternatives or adding additional metadata or routing information to ensure proper handling. The system can also modify message routing to direct communications through additional security controls or approval processes before delivery. In some implementations, modifications can include content transformation, such as converting sensitive data into anonymized or aggregated forms that comply with privacy policies while still enabling legitimate business functions. The goal of these modifications is to enable compliant communication while preventing policy violations from propagating through the agent network.
In some implementations, modifications can include blocking or quarantining the particular communication. Blocking involves completely preventing the communication from reaching its intended destination, effectively stopping the policy violation from occurring. This approach is typically used for communications that contain severe policy violations or security threats that cannot be remediated through content modification. Quarantining involves isolating the communication in a secure environment where it can be reviewed, analyzed, or processed by authorized personnel without allowing it to proceed to its original destination. Quarantined communications can be held for manual review, subjected to additional automated analysis, or processed through specialized security workflows. For example, communications containing potentially sensitive data can be quarantined pending approval from data governance teams, while communications exhibiting suspicious patterns can be quarantined for security analysis. Both blocking and quarantining serve as protective measures to prevent policy violations from impacting operations while providing opportunities for investigation and remediation of the underlying issues that caused the violations.
The system records, via a distributed ledger, the particular communication and the one or more modifications to the particular communication. Distributed ledger technology provides a decentralized method for recording and maintaining transaction records across multiple nodes in a network, creating immutable records that are synchronized across participating nodes and providing transparency and tamper resistance. Examples of distributed ledger implementations include blockchain networks and federated systems. Particular types of distributed ledger architectures can be employed based on specific organizational requirements. In this context, the distributed ledger maintains comprehensive records of all communications that violated policies and the specific modifications that were applied to address those violations. For example, the ledger can record the original communication content, the specific policy that was violated, the type of modification performed, the timestamp of the action, and the identity of the system components that performed the modification. This distributed ledger approach provides tamper-proof logging capabilities that support regulatory compliance and forensic analysis, enabling organizations to demonstrate that appropriate controls were in place and functioning correctly. The immutable record-keeping enables organizations to maintain comprehensive audit trails of all agent communications and policy enforcement actions, facilitating accountability and enabling continuous improvement of communication policies. These records can be used for compliance reporting, security investigations, system optimization, and policy refinement based on observed patterns of violations and successful remediation actions.
In some implementations, the system executes a smart contract to record, via the distributed ledger, the particular communication and the one or more modifications to the particular communication. Smart contracts are self-executing programs that automatically enforce predefined conditions and execute transactions when specific criteria are met, operating on the distributed ledger infrastructure without requiring manual intervention. The smart contract can be programmed with specific logic that triggers recording operations when policy violations are detected and modifications are performed on agent communications. For example, when the system determines that a communication violates operational policies and applies modifications such as content redaction or routing changes, the smart contract can automatically initiate a recording transaction that captures the original communication, the violation details, the modification type, and associated metadata. The smart contract can also implement validation rules to ensure that only authorized system components can record communication modifications and can include cryptographic verification mechanisms to maintain data integrity. Additionally, the smart contract can facilitate automated compliance reporting by executing predefined queries against the recorded data and generating audit reports when specific conditions are met, such as periodic compliance reviews or regulatory inquiries. This automated execution approach reduces the potential for human error in record-keeping while ensuring consistent and timely documentation of all policy enforcement activities across the autonomous agent network.
Other Implementations
Pre-existing LLMs and other generative machine learning models are promising for a variety of natural language processing and generation applications. In addition to generating human-readable, verbal outputs, pre-existing systems can leverage LLMs to generate technical content, including software code, architectures, or code patches based on user prompts, such as in the case of a data analysis or software development pipeline. Based on particular model architectures and training data used to generate or tune LLMs, such models can exhibit different performance characteristics, specializations, performance behaviors, and attributes.
However, users or services of pre-existing software development systems (e.g., data pipelines for data processing and model or application development) do not have intuitive, consistent, or reliable ways to select particular LLM models and/or design associated prompts in order to solve a given problem (e.g., to generate a desired code associated with a particular software application). As such, pre-existing systems risk selection of sub-optimal (e.g., relatively inefficient and/or insecure) generative machine learning models. Furthermore, pre-existing software development systems do not control access to various system resources or models. Moreover, pre-existing development pipelines do not validate outputs of the LLMs for security breaches in a context-dependent, and flexible manner. Code generated through an LLM can contain an error or a bug that can cause system instability (e.g., through loading the incorrect dependencies). Some generated outputs can be misleading or unreliable (e.g., due to model hallucinations or obsolete training data). Additionally or alternatively, some generated data (e.g., associated with natural language text) is not associated with the same severity of security risks. As such, pre-existing software development pipelines can require manual application of rules or policies for output validation depending on the precise nature of generated output, thereby leading to inefficiencies in data processing and application development.
The data generation platform disclosed herein enables dynamic evaluation of machine learning prompts for model selection, as well as validation of the resulting outputs, in order to improve the security, reliability, and modularity of data pipelines (e.g., software development systems). The data generation platform can receive a prompt from a user (e.g., a human-readable request relating to software development, such as code generation) and determine whether the user is authenticated based on an associated authentication token (e.g., as provided concurrently with the prompt). Based on the selected model, the data generation platform can determine a set of performance metrics (and/or corresponding values) associated with processing the requested prompt via the selected model. By doing so, the data generation platform can evaluate the suitability of the selected model (e.g., LLM) for generating an output based on the received input or prompt. The data generation platform can validate and/or modify the user's prompt according to a prompt validation model. Based on the results of the prompt validation model, the data generation platform can modify the prompt such that the prompt satisfies any associated validation criteria (e.g., through the redaction of sensitive data or other details) thereby mitigating the effect of potential security breaches, inaccuracies, or adversarial manipulation associated with the user's prompt.
The selected model(s) encounter further challenges with respect to the compliance of AI models with an array of vector constraints (e.g., guidelines, regulations, standards) related to ethical or regulatory considerations, such as protections against bias, harmful language, and intellectual property (IP) rights. For example, vector constraints can include requirements that require AI applications to produce outputs that are free from bias, harmful language, and/or IP rights violations to uphold ethical standards and protect users. Traditional approaches to regulatory compliance often involve manual interpretation of regulatory texts, followed by ad-hoc efforts to align AI systems with compliance requirements. However, the manual process is subjective, lacks scalability, and is error-prone, which makes the approach increasingly unsustainable in the face of growing guidelines and the rapid prevalence of AI applications.
As such, the inventors have further developed a system (e.g., within the data generation platform) to provide a systematic and automated approach to assess and ensure adherence to guidelines (e.g., preventing bias, harmful language, IP violations). The disclosed technology addresses the complexities of compliance for AI applications. In some implementations, the system uses a meta-model that consists of one or more models to analyze different aspects of AI-generated content. For example, one of the models can be trained to identify certain patterns (e.g., patterns indicative of bias) within the content by evaluating demographic attributes and characteristics present in the content. By quantifying biases within the training dataset, the system can effectively scan content for disproportionate associations with demographic attributes and provide insights into potential biases that can impact the fairness and equity of AI applications. In some implementations, the system generates actionable validation actions (e.g., test cases) that operate as input into the AI model for evaluating AI application compliance. The system evaluates the AI application against the set of validation actions and generates one or more compliance indicators and/or a set of actions based on comparisons between expected and actual outcomes and explanations. In some implementations, the system can incorporate a correction module that automates the process of implementing corrections to remove non-compliant content from AI models. The correction module adjusts the parameters of the AI model and/or updates training data based on the findings of the detection models to ensure that non-compliant content is promptly addressed and mitigated.
Unlike manual processes that rely on humans to interpret guidelines and assess compliance, the system can detect subtleties that traditional methods for content moderation often struggle to identify. The system can parse and analyze text data within the response of the AI model and identify nuanced expressions, connotations, and cultural references that can signal biased or harmful content. Additionally, by standardizing the validation criteria, the system establishes clear and objective criteria for assessing the content of an AI application, thereby minimizing the influence of individual biases or interpretations. The system can process large volumes of content rapidly and consistently, ensuring that all content is evaluated against the same set of standards and guidelines, reducing the likelihood of discrepancies or inconsistencies in enforcement decisions.
In cases where non-compliance is detected, conventional approaches to mapping gaps (e.g., issues) in controls (e.g., a set of expected actions) to operative standards (e.g., obligations, criteria, measures, principles, conditions) heavily rely on manually mapping each gap to one or more operative standards. Gaps represent situations where an expected control is either absent or not functioning properly, such as the failure to establish a specific framework within an organization. Operative standards contain controls that can be based on publications such as regulations, organizational guidelines, best practice guidelines, and others. Using manual processes heavily depends on individual knowledge and thus poses a significant risk for potential bias. This subjectivity can result in inconsistent mappings, as different individuals can understand and apply operative standards such as regulatory requirements in varied ways. Further, the sheer volume of identified gaps complicates traditional compliance efforts. Manually managing such a vast number of gaps is not only labor-intensive but also prone to oversights. Another significant disadvantage of traditional methods is the static nature of the mapping process. Conventional approaches often fail to account for the dynamic and evolving nature of regulatory requirements and organizational controls.
As such, the inventors have further developed a system (e.g., within the data generation platform) to use generative AI (e.g., GAI, GenAI, generative artificial intelligence) models, such as a large language model (LLM) in the above-described data generation platform, to map gaps in controls to corresponding operative standards. The system determines a set of vector representations of alphanumeric characters represented by one or more operative standards, which contain a first set of actions adhering to constraints in the set of vector representations. The system receives, via a user interface, an output generation request that includes an input with a set of gaps associated with scenarios failing to satisfy operative standards of the set of vector representations. Using the received input, the system constructs a set of prompts for each gap, where the set of prompts for a particular gap includes the set of attributes defining the scenario and the first set of actions of the operative standards. Each prompt can compare the corresponding gap against the first set of actions of the operative standards or the set of vector representations. For each gap, the system maps the gap to one or more operative standards of the set of vector representations by supplying the prompt into the LLM and, in response, receiving from the LLM a gap-specific set of operative standards that include the operative standards associated with the particular gap. The system, as compared to conventional approaches, reduces reliance on individual knowledge, thus minimizing personal biases and resulting in more uniform mappings across different individuals and teams. Additionally, the system can efficiently handle the large volumes of gaps that organizations face, significantly reducing the labor-intensive nature of manual reviews.
In another example, conventional approaches to identifying actionable items from guidelines present several challenges. Typically, conventional methods include either human reviewers or automated systems processing guidelines in a linear fashion. The conventional linear approach often leads to an overwhelming number of actionable items being identified. Furthermore, conventional approaches lack the ability to dynamically adapt to changes in guidelines over time. When new guidelines are introduced or existing ones are updated, conventional systems typically simply add new actionable items without reassessing the overall set of actionable items to ensure that the new actionable items are not redundant or contradictory to previously set actionable items. The conventional approach further fails to account for subtle shifts in interpretation that can arise from changes in definitions or regulatory language, potentially leading to outdated or irrelevant requirements remaining on the list. Consequently, organizations can end up with an inflated and confusing set of actionable items that do not accurately reflect the current landscape of the guidelines (e.g., the current regulatory landscape).
As such, the inventors have further developed a system (e.g., within the data generation platform) to use generative AI models, such as an LLM in the above-described data generation platform, to identify actionable items from guidelines. The system receives, from a user interface, an output generation request that includes an input for generating an output using an LLM. The guidelines are partitioned into multiple text subsets based on predetermined criteria, such as the length or complexity of each text subset. Using the partitioned guidelines, the system constructs a set of prompts for each text subset. Each text subset can be mapped to one or more actions in the first set of actions. Subsequent actions in this second set can be generated based on previous actions. The system generates a third set of actions by aggregating the corresponding second set of actions for each text subset. Unlike conventional linear processes that result in an overwhelming number of redundant actionable items, by heuristically analyzing guidelines, the system can identify common actionable items without the parsing through the guideline documents word by word. The disclosed system reduces the number of identified actionable items to only relevant actionable items. Moreover, the system's dynamic and context-aware nature allows the system to respond to changes in guidelines over time by reassessing and mapping shifts in actionable items as the shifts occur.
Even using a monitoring AI application to assess the compliance of monitored AI models (or any other artifact, such as a hardware asset or software asset), however, there is a risk of overfitting, where the monitored AI model becomes too tailored to the specific criteria and patterns identified by the monitoring AI application. The overfitting occurs when the monitored model excessively optimizes its performance to meet the compliance checks, potentially at the expense of the monitored model's broader generalization capabilities. For example, if a monitoring AI application specialized in detecting fraudulent transactions only focuses on specific patterns of known fraudulent activities, the monitored model can excel at flagging transactions that fit the specific patterns, but miss new types of fraud that do not match the specific patterns. As a result, the monitored model can perform well under the scrutiny of the monitoring application but fail to adapt to new, unforeseen scenarios or datasets that fall outside the predefined compliance criteria. Overfitting can lead to a false sense of security, where the model appears compliant and robust within the narrow scope of the monitoring application but is vulnerable to real-world variations and challenges.
In addition, relying on a single monitoring model or single group of monitoring models presents a significant vulnerability. Cyber attackers are becoming increasingly sophisticated, often exploiting the specific patterns and weaknesses of static models or groups of models. When an organization uses a single monitoring model or single group of monitoring models, it creates a predictable and uniform defense mechanism that cyber attackers can more easily understand and circumvent. The predictability allows cyber attackers to tailor their strategies to bypass the model's checks, leading to successful breaches and exploitation. Furthermore, a single monitoring model framework is not equipped to handle the diverse and evolving nature of cyber threats, leaving gaps in the security framework. The gaps can be exploited by attackers who continuously adapt their methods to outpace the static defenses.
Attempting to create a system to monitor and validate artifacts (e.g., model outputs) using not a single model framework, but instead a multi-model superstructure in view of the available conventional approaches created significant technological uncertainty. Creating such system required addressing several unknowns in conventional approaches in artifact validation, such as the integration of diverse models, ensuring interoperability among different models, and maintaining the accuracy and reliability of the validation process across different types of artifacts. Additionally, the system needed to adapt to the dynamic nature of regulatory requirements and integrate new compliance standards without compromising model performance. Conventional approaches in artifact validation did not provide methods of continuously learning and adapting to new regulatory changes and updates.
Conventional approaches rely on static models and periodic updates, which are insufficient in the face of rapidly evolving regulatory landscapes and emerging threats. The static models lacked the flexibility to incorporate real-time data and insights, leading to outdated compliance checks and increased vulnerability to non-compliance and fraud. Furthermore, conventional systems often depend on manual processes and static documentation, which are labor-intensive and prone to human error. The reliance on manual intervention not only slows down the validation process but also increases the risk of oversight and inaccuracies. As a result, organizations using conventional approaches struggle to maintain up-to-date compliance, leaving them exposed to regulatory penalties and reputational damage.
To overcome the technological uncertainties, the inventors systematically evaluated multiple design alternatives. For example, the inventors tested various methods for reducing overfitting on particular monitoring models and increasing the resilience of the monitoring models. For example, the inventors experimented with the periodic retraining and updating of the monitoring models to keep the models current with the latest data and threats. However, periodic training required a substantial amount of data and computational power to retrain the models regularly. Further, the inventors also explored ensemble methods, where multiple models were combined to improve detection accuracy and resilience. However, while ensemble methods showed some improvement in performance, ensemble methods introduced additional complexity and computational overhead.
Thus, the inventors experimented with different methods for integrating the monitoring model into a suite of models in the form of a multi-model superstructure. For example, the inventors tested various orchestration frameworks to manage the interactions between the monitoring models within the superstructure. For example, the inventors tested a centralized orchestration framework, where a single controller managed the flow of data and coordination between models. Another method tested was a decentralized peer-to-peer communication system, where models communicated directly with each other without a central controller. Further, the inventors tested various methods of improving the resilience of the multi-model superstructure by rotating the monitoring models, for example, at random or at predefined intervals.
As such, the inventors have developed a system (e.g., an engine within the data generation platform, a multi-model superstructure) for dynamic multi-model monitoring and validation of a generative artificial intelligence model. The system obtains artifacts, such as a model output generated using a first set of models, which can be within a multi-model superstructure itself. The multi-model superstructure includes a second set of models to test the first set of models. The multi-model superstructure dynamically routes the artifacts of the first set of models to one or more models of the second set of models (using, for example, a third set of models within the multi-model superstructure) by (i) determining a set of dimensions of the artifacts against which to evaluate the artifacts and (ii) identifying the models in the second set used to test the particular dimension. The second set of models assesses each artifact against a set of assessment metrics. If an artifact fails to meet one or more assessment metrics, the second set of models generates actions to align the artifact with the set of assessment metrics.
In some implementations, the system constructs the set of assessments by generating a set of seed assessments that test the particular dimension of the artifact against threshold values of the corresponding assessment metrics. The values of the artifact are compared with these threshold values, and a set of seed assessment results is generated, indicating the degree of satisfaction of the artifact with the threshold values. Based on the results, the system dynamically constructs a set of subsequent assessments to further evaluate the artifact. If an artifact fails to meet one or more assessment metrics, the second set of models generates actions to align the artifact with the set of assessment metrics. The actions can include suggestions for corrections to the artifact or first set of models, automatic adjustments to the artifact or first set of models, and/or feedback loops to the first set of models for retraining or fine-tuning.
Unlike conventional approaches that rely on static models and predefined rules, the system developed by the inventors reduces overfitting by frequently updating and changing (e.g., shuffling, switching, rotating) the models, ensuring that the monitored models do not become too specialized on a particular dataset and remain adaptable to new data. The changing of models can further mean that different monitoring models are used for different tasks over time, preventing any single model from becoming overly dominant and specialized. Further, the dynamic nature of the multi-model superstructure, where models are frequently updated and changed, makes it significantly harder for malicious actors to exploit vulnerabilities, as the attack surface is continuously shifting. The system can establish a predefined schedule to change the models in the second set, using time intervals or the number of output generation requests processed, ensuring that no single model remains static for too long. By continuously refreshing the monitoring models, the system creates a moving target for potential cyber threats.
While the current description provides examples related to LLMs, one of skill in the art can understand that the disclosed techniques can apply to other forms of machine learning or algorithms, including unsupervised, semi-supervised, supervised, and reinforcement learning techniques. For example, the disclosed data generation platform can evaluate model outputs from support vector machine (SVM), k-nearest neighbor (KNN), decision-making, linear regression, random forest, naïve Bayes, or logistic regression algorithms, and/or other suitable computational models.
In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of implementations of the present technology. It will be apparent, however, to one skilled in the art that implementation of the present technology can be practiced without some of these specific details.
The phrases “in some implementations,” “in several implementations,” “according to some implementations,” “in the implementations shown,” “in other implementations,” and the like generally mean the specific feature, structure, or characteristic following the phrase is included in at least one implementation of the present technology and can be included in more than one implementation. In addition, such phrases do not necessarily refer to the same implementations or different implementations.
Overview of the Data Generation Platform
4 FIG. 6 FIG. 400 400 402 404 408 408 450 402 402 402 402 408 408 a n a n shows an illustrative environmentfor evaluating machine learning model inputs (e.g., language model prompts) and outputs for model selection and validation, in accordance with some implementations of the present technology. For example, the environmentincludes the data generation platform, which is capable of communicating with (e.g., transmitting or receiving data to or from) a data nodeand/or third-party databases-via a network. The data generation platformcan include software, hardware, or a combination of both and can reside on a physical server or a virtual server (e.g., as described in) running on a physical computer system. For example, the data generation platformcan be distributed across various nodes, devices, or virtual machines (e.g., as in a distributed cloud server). In some implementations, the data generation platformcan be configured on a user device (e.g., a laptop computer, smartphone, desktop computer, electronic tablet, or another suitable user device). Furthermore, the data generation platformcan reside on a server or node and/or can interface with third-party databases-directly or indirectly.
404 404 402 The data nodecan store various data, including one or more machine learning models, prompt validation models, associated training data, user data, performance metrics and corresponding values, validation criteria, and/or other suitable data. For example, the data nodeincludes one or more databases, such as an event database (e.g., a database for storage of records, logs, or other information associated with LLM-related user actions), a vector database, an authentication database (e.g., storing authentication tokens associated with users of the data generation platform), a secret database, a sensitive token database, and/or a deployment database.
402 402 402 402 402 402 412 414 416 418 420 An event database can include data associated with events relating to the data generation platform. For example, the event database stores records associated with users' inputs or prompts for generation of an associated natural language output (e.g., prompts intended for processing using an LLM). The event database can store timestamps and the associated user requests or prompts. In some implementations, the event database can receive records from the data generation platformthat include model selections/determinations, prompt validation information, user authentication information, and/or other suitable information. For example, the event database stores platform-level metrics (e.g., bandwidth data, central processing unit (CPU) usage metrics, and/or memory usage associated with devices or servers associated with the data generation platform). By doing so, the data generation platformcan store and track information relating to performance, errors, and troubleshooting. The data generation platformcan include one or more subsystems or subcomponents. For example, the data generation platformincludes a communication engine, an access control engine, a breach mitigation engine, a performance engine, and/or a generative model engine.
402 402 A vector database can include data associated with vector embeddings of data. For example, the vector database includes a numerical representations (e.g., arrays of values) that represent the semantic meaning of unstructured data (e.g., text data, audio data, or other similar data). For example, the data generation platformreceives inputs such as unstructured data, including text data, such as a prompt, and utilize a vector encoding model (e.g., with a transformer or neural network architecture) to generate vectors within a vector space that represents meaning of data objects (e.g., of words within a document). By storing information within a vector database, the data generation platformcan represent inputs, outputs, and other data in a processable format (e.g., with an associated LLM), thereby improving the efficiency and accuracy of data processing.
402 An authentication database can include data associated with user or device authentication. For example, the authentication database includes stored tokens associated with registered users or devices of the data generation platformor associated development pipeline. For example, the authentication database stores keys (e.g., public keys that match private keys linked to users and/or devices). The authentication database can include other user or device information (e.g., user identifiers, such as usernames, or device identifiers, such as medium access control (MAC) addresses). In some implementations, the authentication database can include user information and/or restrictions associated with these users.
402 A sensitive token (e.g., secret) database can include data associated with secret or otherwise sensitive information. For example, secrets can include sensitive information, such as application programming interface (API) keys, passwords, credentials, or other such information. For example, sensitive information includes personally identifiable information (PII), such as names, identification numbers, or biometric information. By storing secrets or other sensitive information, the data generation platformcan evaluate prompts and/or outputs to prevent breaches or leakage of such sensitive information.
402 A deployment database can include data associated with deploying, using, or viewing results associated with the data generation platform. For example, the deployment database can include a server system (e.g., physical or virtual) that stores validated outputs or results from one or more LLMs, where such results can be accessed by the requesting user.
402 402 412 412 450 412 404 412 414 416 418 420 The data generation platformcan receive inputs (e.g., prompts), training data, validation criteria, and/or other suitable data from one or more devices, servers, or systems. The data generation platformcan receive such data using communication engine, which can include software components, hardware components, or a combination of both. For example, the communication engineincludes or interfaces with a network card (e.g., a wireless network card and/or a wired network card) that is associated with software to drive the card and enables communication with network. In some implementations, the communication enginecan also receive data from and/or communicate with the data node, or another computing device. The communication enginecan communicate with the access control engine, the breach mitigation engine, the performance engine, and the generative model engine.
402 414 414 414 414 404 414 414 402 414 408 408 414 412 416 418 420 a n In some implementations, the data generation platformcan include the access control engine. The access control enginecan perform tasks relating to user/device authentication, controls, and/or permissions. For example, the access control enginereceives credential information, such as authentication tokens associated with a requesting device and/or user. In some implementations, the access control enginecan retrieve associated stored credentials (e.g., stored authentication tokens) from an authentication database (e.g., stored within the data node). The access control enginecan include software components, hardware components, or a combination of both. For example, the access control engineincludes one or more hardware components (e.g., processors) that are able to execute operations for authenticating users, devices, or other entities (e.g., services) that request access to an LLM associated with the data generation platform. The access control enginecan directly or indirectly access data, systems, or nodes associated with the third-party databases-and can transmit data to such nodes. Additionally or alternatively, the access control enginecan receive data from and/or send data to the communication engine, the breach mitigation engine, the performance engine, and/or the generative model engine.
416 416 416 416 402 416 412 414 418 420 450 404 408 408 a n The breach mitigation enginecan execute tasks relating to the validation of inputs and outputs associated with the LLMs. For example, the breach mitigation enginevalidates inputs (e.g., prompts) to prevent sensitive information leakage or malicious manipulation of LLMs, as well as validate the security or safety of the resulting outputs. The breach mitigation enginecan include software components (e.g., modules/virtual machines that include prompt validation models, performance criteria, and/or other suitable data or processes), hardware components, or a combination of both. As an illustrative example, the breach mitigation enginemonitors prompts for the inclusion of sensitive information (e.g., PII), or other forbidden text, to prevent leakage of information from the data generation platformto entities associated with the target LLMs. The breach mitigation enginecan communicate with the communication engine, the access control engine, the performance engine, the generative model engine, and/or other components associated with the network(e.g., the data nodeand/or the third-party databases-).
418 402 418 418 418 418 412 414 418 420 450 404 408 408 a n The performance enginecan execute tasks relating to monitoring and controlling performance of the data generation platform(e.g., or the associated development pipeline). For example, the performance engineincludes software components (e.g., performance monitoring modules), hardware components, or a combination thereof. To illustrate, the performance enginecan estimate performance metric values associated with processing a given prompt with a selected LLM (e.g., an estimated cost or memory usage). By doing so, the performance enginecan determine whether to allow access to a given LLM by a user, based on the user's requested output and the associated estimated system effects. The performance enginecan communicate with the communication engine, the access control engine, the performance engine, the generative model engine, and/or other components associated with the network(e.g., the data nodeand/or the third-party databases-).
420 420 420 420 420 412 414 418 420 450 404 408 408 a n The generative model enginecan execute tasks relating to machine learning inference (e.g., natural language generation based on a generative machine learning model, such as an LLM). The generative model enginecan include software components (e.g., one or more LLMs, and/or API calls to devices associated with such LLMs), hardware components, and/or a combination thereof. To illustrate, the generative model enginecan provide users' prompts to a requested, selected, or determined model (e.g., LLM) to generate a resulting output (e.g., to a user's query within the prompt). As such, the generative model engineenables flexible, configurable generation of data (e.g., text, code, or other suitable information) based on user input, thereby improving the flexibility of software development or other such tasks. The generative model enginecan communicate with the communication engine, the access control engine, the performance engine, the generative model engine, and/or other components associated with the network(e.g., the data nodeand/or the third-party databases-).
402 402 418 416 Engines, subsystems, or other components of the data generation platformare illustrative. As such, operations, subcomponents, or other aspects of particular subsystems of the data generation platformcan be distributed, varied, or modified across other engines. In some implementations, particular engines can be deprecated, added, or removed. For example, operations associated with breach mitigation are performed at the performance engineinstead of at the breach mitigation engine.
Suitable Computing Environments for the Data Generation Platform
5 FIG. 500 402 500 504 506 508 510 512 514 516 518 520 shows a block diagram showing some of the components typically incorporated in at least some of the computer systems and other deviceson which the disclosed system (e.g., the data generation platform) operates in accordance with some implementations of the present technology. In various implementations, these computer systems and other device(s)can include server computer systems, desktop computer systems, laptop computer systems, netbooks, mobile phones, personal digital assistants, televisions, cameras, automobile computers, electronic media players, web services, mobile devices, watches, wearables, glasses, smartphones, tablets, smart displays, virtual reality devices, augmented reality devices, etc. In various implementations, the computer systems and devices include zero or more of each of the following: input components, including keyboards, microphones, image sensors, touch screens, buttons, track pads, mice, compact disc (CD) drives, digital video disc (DVD) drives, 3.5 mm input jack, High-Definition Multimedia Interface (HDMI) input connections, Video Graphics Array (VGA) input connections, Universal Serial Bus (USB) input connections, or other computing input components; output components, including display screens (e.g., liquid crystal displays (LCDs), organic light-emitting diodes (OLEDs), cathode ray tubes (CRTs), etc.), speakers, 3.5 mm output jack, lights, light emitting diodes (LEDs), haptic motors, or other output-related components; processor(s), including a CPU for executing computer programs, a GPU for executing computer graphic programs and handling computing graphical elements; storage(s), including at least one computer memory for storing programs (e.g., application(s), model(s), and other programs) and data while they are being used, including the facility and associated data, an operating system including a kernel, and device drivers; a network connection component(s)for the computer system to communicate with other computer systems and to send and/or receive data, such as via the Internet or another network and its networking hardware, such as switches, routers, repeaters, electrical cables and optical fibers, light emitters and receivers, radio transmitters and receivers, and the like; a persistent storage(s) device, such as a hard drive or flash drive for persistently storing programs and data; and computer-readable media drives(e.g., at least one non-transitory computer-readable medium) that are tangible storage means that do not include a transitory, propagating signal, such as a floppy, CD-ROM, or DVD drive, for reading programs and data stored on a computer-readable medium. While computer systems configured as described above are typically used to support the operation of the facility, those skilled in the art will appreciate that the facility can be implemented using devices of various types and configurations and having various components.
6 FIG. 4 FIG. 5 FIG. 600 600 602 602 602 602 602 604 450 402 602 500 a d a d is a system diagram illustrating an example of a computing environmentin which the disclosed system operates in some implementations of the present technology. In some implementations, environmentincludes one or more client computing devices-, examples of which can host graphical user interfaces associated with client devices. For example, one or more of the client computing devices-includes user devices and/or devices associated with services requesting responses to queries from LLMs. Client computing devicesoperate in a networked environment using logical connections through network(e.g., the network) to one or more remote computers, such as a server computing device (e.g., a server system housing the data generation platformof). In some implementations, client computing devicescan correspond to device().
606 610 610 606 610 606 610 610 a c In some implementations, server computing deviceis an edge server that receives client requests and coordinates fulfillment of those requests through other servers, such as server computing devices-. In some implementations, server computing devicesandinclude computing systems. Though each server computing deviceandis displayed logically as a single server, server computing devices can each be a distributed computing environment encompassing multiple computing devices located at the same or at geographically disparate physical locations. In some implementations, each server computing devicecorresponds to a group of servers.
602 606 610 606 610 610 608 612 612 404 610 408 408 404 608 612 a c a c a n 4 FIG. Client computing devicesand server computing devicesandcan each act as a server or client to other server or client devices. In some implementations, server computing devices (,-) connect to a corresponding database (,-). For example, the corresponding database includes a database stored within the data node(e.g., a sensitive token database, an event database, or another suitable database). As discussed above, each server computing devicecan correspond to a group of servers, and each of these servers can share a database or can have its own database (and/or interface with external databases, such as third-party databases-). In addition to information described concerning the data nodeof, databasesandcan warehouse (e.g., store) other suitable information, such as sensitive or forbidden tokens, user credential data, authentication data, graphical representations, code samples, system policies or other policies, templates, computing languages, data structures, software application identifiers, visual layouts, computing language identifiers, mathematical formulae (e.g., weighted average, weighted sum, or other mathematical formulas), graphical elements (e.g., colors, shapes, text, images, multimedia), system protection mechanisms (e.g., prompt validation model parameters or criteria), software development or data processing architectures, machine learning models, AI models, training data for AI/machine learning models, historical information, or other information.
608 612 608 612 Though databasesandare displayed logically as single units, databasesandcan each be a distributed computing environment encompassing multiple computing devices, can be located within their corresponding server, or can be located at the same or at geographically disparate physical locations.
604 450 604 602 604 606 610 604 Network(e.g., corresponding to the network) can be a local area network (LAN) or a wide area network (WAN) but can also be other wired or wireless networks. In some implementations, networkis the Internet or some other public or private network. Client computing devicesare connected to networkthrough a network interface, such as by wired or wireless communication. While the connections between server computing deviceand server computing deviceare shown as separate connections, these connections can be any kind of LAN, WAN, wired network, or wireless network, including networkor a separate public or private network.
Example Implementations of Models in the Data Generation Platform
7 FIG. 6 FIG. 700 700 700 606 606 700 700 700 700 608 606 700 shows a diagram of an AI model, in accordance with some implementations of the present technology. AI modelis shown. In some implementations, AI modelcan be any AI model. In some implementations, AI modelcan be part of, or work in conjunction with, server computing device(). For example, server computing devicecan store a computer program that can use information obtained from AI model, provide information to AI model, or communicate with AI model. In other implementations, AI modelcan be stored in databaseand can be retrieved by server computing deviceto execute/process information related to AI model, in accordance with some implementations of the present technology.
700 702 702 In some implementations, AI modelcan be a machine learning model. Machine learning modelcan include one or more neural networks or other machine learning models. As an example, neural networks can be based on a large collection of neural units (or artificial neurons). Neural networks can loosely mimic the manner in which a biological brain works (e.g., via large clusters of biological neurons connected by axons). Each neural unit of a neural network can be connected with many other neural units of the neural network. Such connections can be enforcing or inhibitory in their effect on the activation state of connected neural units. In some implementations, each individual neural unit can have a summation function that combines the values of all its inputs together. In some implementations, each connection (or the neural unit itself) can have a threshold function such that the signal must surpass the threshold before it propagates to other neural units. These neural network systems can be self-learning and trained, rather than explicitly programmed, and can perform significantly better in certain areas of problem solving, as compared to traditional computer programs. In some implementations, neural networks can include multiple layers (e.g., where a signal path traverses from front layers to back layers). In some implementations, backpropagation techniques can be utilized by the neural networks, where forward stimulation is used to reset weights on the “front” neural units. In some implementations, stimulation and inhibition for neural networks can be more free-flowing, with connections interacting in a more chaotic and complex fashion.
7 FIG. 702 704 706 706 702 702 706 702 706 702 702 As an example, with respect to, machine learning modelcan take inputsand provide outputs. In one use case, outputscan be fed back to machine learning modelas input to train machine learning model(e.g., alone or in conjunction with user indications of the accuracy of outputs, labels associated with the inputs, or other reference feedback information). In another use case, machine learning modelcan update its configurations (e.g., weights, biases, or other parameters) based on its assessment of its prediction (e.g., outputs) and reference feedback information (e.g., user indication of accuracy, reference labels, or other information). In another use case, where machine learning modelis a neural network, connection weights can be adjusted to reconcile differences between the neural network's prediction and the reference feedback. In a further use case, one or more neurons (or nodes) of the neural network can require that their respective errors are sent backward through the neural network to them to facilitate the update process (e.g., backpropagation of error). Updates to the connection weights can, for example, be reflective of the magnitude of error propagated backward after a forward pass has been completed. In this way, for example, the machine learning modelcan be trained to generate better predictions.
As an example, where the prediction models include a neural network, the neural network can include one or more input layers, hidden layers, and output layers. The input and output layers can respectively include one or more nodes, and the hidden layers can each include a plurality of nodes. When an overall neural network includes multiple portions trained for different objectives, there may or may not be input layers or output layers between the different portions. The neural network can also include different input layers to receive various input data. Also, in differing examples, data can be input to the input layer in various forms, and in various dimensional forms input to respective nodes of the input layer of the neural network. In the neural network, nodes of layers other than the output layer are connected to nodes of a subsequent layer through links for transmitting output signals or information from the current layer to the subsequent layer, for example. The number of the links can correspond to the number of the nodes included in the subsequent layer. For example, in adjacent fully connected layers, each node of a current layer can have a respective link to each node of the subsequent layer, noting that in some examples such full connections can later be pruned or minimized during training or optimization. In a recurrent structure, a node of a layer can be again input to the same node or layer at a subsequent time, while in a bi-directional structure, forward and backward connections can be provided. The links are also referred to as connections or connection weights, referring to the hardware-implemented connections or the corresponding “connection weights” provided by those connections of the neural network. During training and implementation, such connections and connection weights can be selectively implemented, removed, and varied to generate or obtain a resultant neural network that is thereby trained and that can be correspondingly implemented for the trained objective, such as for any of the above example recognition objectives.
Mapping Gaps in Controls to Operative Standards Using the Data Generation Platform
8 FIG. 5 FIG. 6 FIG. 800 800 802 804 806 808 810 812 814 816 804 500 602 800 is an illustrative diagram illustrating an example environmentof a platform for automatically managing guideline compliance, in accordance with some implementations of the present technology. Environmentincludes user, platform, data provider, AI model proxy, LLM, data cache, prompt store, and execution store log. Platformis implemented using components of example devicesand computing devicesillustrated and described in more detail with reference toand, respectively. Likewise, implementations of example environmentcan include different and/or additional components or can be connected in different ways.
802 804 804 402 802 804 4 FIG. Userinteracts with the platformvia, for example, a user interface. Platformcan be the same as or similar to data generation platformwith reference to. Userscan input data, configure compliance parameters, and manage guideline compliance performance through an intuitive interface provided by the platform. The platformcan perform a variety of compliance management tasks, such as compliance checks and regulatory analyses.
806 804 806 806 806 804 806 804 804 Data providersupplies the platformwith the data used in the management, which can include regulatory guidelines, compliance requirements, organizational guidelines, and other relevant information. The data supplied by data providercan be accessed via an application programming interface (API) or database that contains policies, obligations, and/or controls in operative standards. In some implementations, the data supplied by data providercontains the publications (e.g., regulatory guidelines, compliance requirements, organizational guidelines) themselves. The structured repository of data providerallows platformto efficiently retrieve and use the data in different management processes. In some implementations, data providerincludes existing mappings associated with the operative standards. For example, the pre-established mappings can be between the operative standards and gaps (e.g., issues). In another example, the pre-established mappings can be between the operative standards and publications. Using the existing relationships, the platformcan more efficiently map particular identified gaps to the relevant operative standards. For example, if a newly identified gap is similar to or the same as a previously identified gap (e.g., shares similar scenario attributes, metadata tags) within the pre-existing mappings, the platformcan use the pre-existing mapping of the previously identified gap to more easily identify the mapping for the newly identified gap.
808 810 808 804 810 808 804 810 808 808 810 802 806 808 810 808 804 AI model proxyis an intermediary between the platform and the large language model (LLM). AI model proxyfacilitates the communication and data exchange between the platformand the LLM. AI model proxy, in some implementations, operates as a plugin to interconnect the platformand the LLM. The AI model proxy, in some implementations, includes distinct modules, such as data interception, inspection, or action execution. In some implementations, containerization methods such as Docker are used within the AI model proxyto ensure uniform deployment across environments and minimize dependencies. LLManalyzes data input by userand data obtained from data providerto identify patterns and generate compliance-related outputs. The AI model proxy, in some implementations, enforces access control policies to safeguard sensitive data and functionalities exposed to the LLM. For example, the AI model proxycan sanitize the data received from the platformusing encryption standards, token-based authentication, and/or role-based access controls (RBAC) to protect sensitive information. The data received can be encrypted to ensure that all sensitive information is transformed into an unreadable format, accessible only through decryption with the appropriate keys. Token-based authentication can be used by generating a unique token for each user session or transaction. The token acts as a digital identifier by verifying the user's identity and granting access to specific data or functions within the system. Additionally, RBACs can restrict data access based on the user's role within the organization. Each role can be assigned specific permissions to ensure that users only access data relevant to the users' responsibilities.
808 804 In some implementations, AI model proxyemploys content analysis to discern between the sensitive and non-sensitive by identifying specific patterns, keywords, or formats indicative of sensitive information. In some implementations, the list of indicators of sensitive information is generated by an internal generative AI model within the platform(e.g., with a command set that resembles “generate a plurality of examples of PII”). The generative AI model can be trained on a dataset containing examples of sensitive data elements, such as personally identifiable information (PII), financial records, or other confidential information. Once the AI model has been trained, the AI model can generate indicators (e.g., specific patterns, keywords, or formats) of sensitive information based on the model's learned associations. For example, gap data that includes sensitive financial information such as account numbers, transaction details, and personal information of stakeholders can be identified and subsequently removed and/or masked.
812 812 806 804 812 812 812 812 812 812 Data cachecan store data for a period of time to reduce the time required to access frequently used information. Data cacheensures that the system can quickly retrieve necessary data without repeatedly querying the data provider, thus improving the overall efficiency of platform. In some implementations, a caching strategy is implemented that includes cache eviction policies, such as least recently used (LRU) or time-based expiration, to ensure that the cache remains up-to-date and responsive while optimizing memory usage. LRU allows the data cacheto keep track of which data items have been accessed most recently. When the data cachereaches maximum capacity and needs to evict an item (e.g., data packets) to make room for new data, the data cachewill remove the least recently used item. Time-based expiration involves setting a specific time duration for which data items are considered valid in the data cache. Once this duration expires, the data item is automatically invalidated and removed from the data cacheto preserve space in the data cache.
814 810 814 814 810 Prompt storecontains predefined prompts that guide the LLMin processing data and generating outputs. Prompt storeis a repository for pre-existing prompts that are stored in a structured and accessible format (e.g., using distributed databases or NoSQL stores), which allows for efficient retrieval and utilization by the AI model. In some implementations, the prompts are preprocessed to remove any irrelevant information, standardize the format, and/or organize the prompts into a structured database schema. In some implementations, prompt storeis a vector store where the prompts are vectorized and stored in a vector space model, and each prompt is mapped to a high-dimensional vector representing the prompt's semantic features and relationships with other prompts. In some implementations, the prompts are stored using graph databases such as Neo4j™ or Amazon Neptune™. Graph databases represent data as nodes and edges, allowing for the modeling of relationships between prompts to demonstrate the interdependencies. In some implementations, the prompts are stored in a distributed file system such as Apache Hadoop™ or Google Cloud Storage™. These systems offer scalable storage for large volumes of data and support parallel processing and distributed computing. Prompts stored in a distributed file system can be accessed and processed by multiple nodes simultaneously, which allows for faster retrieval and analysis by the system. For example, the details of a particular gap, such as relevant metrics, severity level, and/or specific publication references, can be used to structure a prompt for the LLMby inserting the details into appropriate places in the predefined prompt.
816 804 816 804 816 816 804 Execution store logrecords some or all actions and processes executed by the platform. Execution store logcan serve as an audit trail, providing a history of compliance activities and decisions made by the platform. Each logged entry in execution store logcan include details such as timestamps, user identifiers, specific actions performed, and relevant contextual information. Execution store log, in some implementations, can be accessed via the platformvia an API.
9 FIG. 8 FIG. 900 900 902 904 906 908 910 908 804 800 is an illustrative diagram illustrating an example environmentof the platform using guidelines and gaps in controls to generate mapped gaps, in accordance with some implementations of the present technology. Environmentincludes guidelines, operative standards, gaps, platform, and mapped gaps. Platformis the same as or similar to platformwith reference to. Implementations of example environmentcan include different and/or additional components or can be connected in different ways.
902 902 902 Guidelinescan include publications of regulations, standards, and policies that organizations adhere to. Guidelinesserve as the benchmark against which compliance is measured. Guidelinescan include publications such as jurisdictional guidelines and organizational guidelines. Jurisdictional guidelines (e.g., governmental regulations) can include guidelines gathered from authoritative sources such as government websites, legislative bodies, and regulatory agencies. Jurisdictional guidelines can be published in legal documents or official publications and cover aspects related to the development, deployment, and use of AI technologies within specific jurisdictions. For example, the California Consumer Privacy Act (CCPA) in the United States mandates cybersecurity measures such as encryption, access controls, and data breach notification requirements to protect personal data. As such, AI developers must implement cybersecurity measures (such as encryption techniques) within the AI models they design and build to ensure the protection of sensitive user data and compliance with the regulations. Organizational guidelines include internal policies, procedures, and guidelines established by organizations to govern activities within the organization's operations. Organizational guidelines can be developed in alignment with industry standards, legal requirements, best practices, and organizational objectives. For example, organizational guidelines can require AI models to include certain access controls to restrict unauthorized access to the model's APIs or data and/or have a certain level of resilience before deployment.
902 902 902 902 In some implementations, guidelinescan any one of text, image, audio, video or other computer-ingestible format. For guidelinesthat are not text (e.g., image, audio, and/or video), the guidelinescan first be transformed into text. Optical character recognition (OCR) can be used for images containing text, and speech-to-text algorithms can be used for audio inputs. For example, an audio recording detailing financial guidelines can be converted into text using a speech-to-text engine that allows the system to parse and integrate the text output into the existing guidelines. Similarly, a video demonstrating a particular procedure or protocol can be processed to extract textual information (e.g., extracting captions).
In some implementations, in cases where transforming to text is not feasible or desirable, the system can use vector comparisons to handle non-text inputs directly. For example, images and audio files can be converted into numerical vectors through feature extraction techniques (e.g., by using Convolutional Neural Networks (CNNs) for images and using Mel-Frequency Cepstral Coefficients (MFCCs) for audio files). The vectors represent the corresponding characteristics of the input data (e.g., edges, texture, or shapes of the image, or the spectral features of the audio file).
902 902 908 902 902 902 902 902 902 902 902 902 In some implementations, the guidelinescan be stored in a vector store. The vector store stores the guidelinesin a structured and accessible format (e.g., using distributed databases or NoSQL stores), which allows for efficient retrieval and utilization by the platform. In some implementations, the guidelinesare preprocessed to remove any irrelevant information, standardize the format, and/or organize the guidelinesinto a structured database schema. Once the guidelinesare prepared, the guidelinescan be stored in a vector store using distributed databases or NoSQL stores. To store the guidelinesin the vector store, the guidelinescan be encoded into vector representations. The textual data of the guidelinesare transformed into numerical vectors that capture the semantic meaning and relationships between words or phrases in the guidelines. For example, the text is encoded into vectors using word embeddings and/or TF-IDF encoding. Word embeddings, such as Word2Vec or GloVe, learn vector representations of words based on the word's contextual usage in a large corpus of text data. Each word is represented by a vector in a high-dimensional space, where similar words have similar vector representations. TF-IDF (Term Frequency-Inverse Document Frequency) encoding calculates the importance of a word in a guideline relative to the word's frequency in the entire corpus of guidelines. For example, the system can assign higher weights to words that are more unique to a specific document and less common across the entire corpus.
902 902 902 In some implementations, the guidelinesare stored using graph databases such as Neo4j™ or Amazon Neptune™. Graph databases represent data as nodes and edges, allowing for the modeling of relationships between guidelinesto demonstrate the interdependencies. In some implementations, the guidelinesare stored in a distributed file system such as Apache Hadoop™ or Google Cloud Storage™. These systems offer scalable storage for large volumes of data and support parallel processing and distributed computing.
The vector store can be stored in a cloud environment hosted by a cloud provider, or a self-hosted environment. In a cloud environment, the vector store has the scalability of cloud services provided by platforms (e.g., AWS™, Azure™). Storing the vector store in a cloud environment entails selecting the cloud service, provisioning resources dynamically through the provider's interface or APIs, and configuring networking components for secure communication. Cloud environments allow the vector store to scale storage capacity without the need for manual intervention. As the demand for storage space grows, additional resources can be automatically provisioned to meet the increased workload. Additionally, cloud-based caching modules can be accessed from anywhere with an internet connection, providing convenient access to historical data for users across different locations or devices. Conversely, in a self-hosted environment, the vector store is stored on a private web server. Deploying the vector store in a self-hosted environment entails setting up the server with the necessary hardware or virtual machines, installing an operating system, and storing the vector store. In a self-hosted environment, organizations have full control over the vector store, allowing organizations to implement customized financial measures and compliance policies tailored to the organization's specific needs. For example, organizations in industries with strict data privacy and financial regulations, such as finance institutions, can mitigate security risks by storing the vector store in a self-hosted environment.
904 904 902 904 Operative standardscan be specific obligations derived from the guidelines to comply with the guidelines, and can encompass both specific actionable directives and general principles. In some examples, operative standardscan serve as actionable directives that organizations must adhere to in order to meet the requirements laid out in regulatory guidelines or industry best practices (e.g., guidelines). For example, an operative standard derived from a data protection guideline can mandate the adoption of a specific framework (e.g., General Data Protection Regulation (GDPR)) for handling personal data, outlining procedures for data access, encryption standards, and breach notification protocols. In another example, an operative standard can include prohibiting a certain action to be taken, such as transmitting confidential information to external sources. In further examples, operative standardsencompass the fundamental principles or benchmarks derived from guidelines that guide organizational practices and behaviors towards achieving desired outcomes. For example, in the context of ethical standards within a business, operative standards can include principles such as integrity, transparency, and accountability.
906 906 Gapsare instances where the current controls or processes fall short of meeting the operative standards. Gapscan be due to the absence of required controls or the inadequacy of existing controls. For example, in the context of data security, a gap can be identified if a company lacks a comprehensive data encryption policy despite regulatory requirements specifying encryption standards for sensitive information. In another example, though an organization may have implemented access controls for sensitive systems, a gap can be identified when the organization fails to regularly review and update user permissions as required by industry best practices, thereby leaving potential vulnerabilities unaddressed.
906 906 906 904 906 906 906 908 906 Gapscan be managed through a systematic approach that incorporates self-reporting and comprehensive storage of attributes tailored to each scenario associated with the gap. A scenario of a gaprefers to a specific instance or situation where current controls or processes within an organization do not meet established operative standards. Each scenario associated with a gaprepresents a distinct use case. For instance, a scenario can include a cybersecurity breach due to inadequate data encryption practices, or can include a compliance issue related to incomplete documentation of financial transactions. Each identified gapcan be documented with scenario attributes (e.g., metadata, tags) such as a descriptive title, severity level assessment (e.g., graded from 1 to 5, where 1 denotes severe and 5 signifies trivial), and/or tags linking the gapto specific business units or regulatory requirements. The scenario attributes provide a clear understanding of the gap's impact and context. In some implementations, the platformincludes a user interface that allows users to input and edit the scenario attributes for each gap of gaps.
908 910 10 FIG. Platformreceives the guidelines, operative standards, and/or identified gaps, and generates mapped gaps. The mapped gaps correlate the identified gaps with the specific operative standards the identified gaps fail to meet. Methods of mapping the identified gaps with the specific operative standards are discussed with further reference to.
10 FIG. 5 FIG. 6 FIG. 8 FIG. 1000 1000 500 602 810 is a flow diagram illustrating a processof mapping identified gaps in controls to operative standards, in accordance with some implementations of the present technology. In some implementations, the processis performed by components of example devicesand computing devicesillustrated and described in more detail with reference toand, respectively. Particular entities, for example, LLM, are illustrated and described in more detail with reference to. Likewise, implementations can include different and/or additional operations or can perform the operations in different orders.
1002 902 9 FIG. 9 FIG. In act, the system determines a set of vector representations of alphanumeric characters represented by one or more operative standards containing a first set of actions configured to adhere to constraints in the set of vector representations. The set of vector representations of alphanumeric characters is the same as or similar to publications of guidelinesdiscussed with reference to. Methods of transforming different modes (e.g., text, image, audio, video) of guidelines into vector representations are discussed with reference to.
In some implementations, the system receives an indicator of a type of operation associated with the vector representations. The system identifies a relevant set of operative standards associated with the type of the vector representations. The system obtains the relevant set of operative standards, via an Application Programming Interface (API). For example, the system includes input channels or interfaces capable of receiving signals or data tags that denote the type (e.g., nature or purpose) of the vector representations being processed. The system can use an API to retrieve the relevant set of operative standards by implementing API endpoints or integration points that connect the system to a centralized repository or database housing the operative standards that can be tagged with associated metadata related to the type of the vector representation.
In some implementations, the AI model is a first AI model. The system can supply the set of vector representations or the original publications of the guidelines into a second AI model. In response, the system can receive from the second AI model, a set of summaries summarizing the set of vector representations, where at least one prompt in the set of prompts includes one or more summaries in the set of summaries. The set of summaries is a representation of the set of vector representations. The set of summaries, in some implementations, serves as a distilled and coherent representation of the textual content derived from set of vector representations. The set of summaries encapsulates the key themes, sentiments, or pertinent information embedded in the guidelines. The summarization process not only captures the essence of user sentiments but also allows for efficient comprehension and analysis. By condensing voluminous textual content into condensed summaries (e.g., the set of summaries), the system allows users to obtain a comprehensive and accessible understanding of the guidelines. For example, the prompt input into the second AI model can request a summary of the provided text or guidelines by including directives such as “Summarize the following text into key points,” or “Provide a concise summary capturing the main themes and most important information.” Additionally, the prompt can include context or specific aspects to focus on, such as “Provide the major regulatory requirements and the requirements' implications.” The prompt can also include definitions of particular terms, such as operative standards or controls.
1004 906 9 FIG. 9 FIG. In act, the system receives, via a user interface, an output generation request including an input for generation of an output using a large-language model (LLM). The input includes a set of gaps associated with one or more scenarios failing to satisfy the one or more operative standards of the set of vector representations. Examples of gaps are discussed with reference to gapsin. Each scenario is associated with a unique identifier and corresponding metrics indicating one or more actions in the first set of actions absent from the scenario. Examples of scenarios are discussed with reference to. Each gap in the set of gaps includes a set of attributes defining the scenario including the unique identifier of the scenario, the corresponding metrics of the scenario, the corresponding vector representations associated with the scenario, a title of the scenario, a summary of the scenario, and/or a severity level of the scenario.
In some implementations, the set of attributes defining the scenario includes a binary indicator of the severity level of the scenario, a category of the severity level of the scenario, and/or a probability associated with the severity level of the scenario. For instance, a binary indicator can be set to ‘1’ for severe (indicating an issue that requires immediate attention) or ‘0’ for non-severe (where the issue is less urgent but still requires resolution). In another example, categories can range from ‘Low’ to ‘High’ severity, helping prioritize remedial actions based on the potential impact and risk associated with each scenario. In a further example, a high probability value can indicate that the compliance gap is highly likely to lead to regulatory fines or data breaches if not addressed promptly.
1006 9 FIG. In act, using the received input, the system constructs a set of prompts for each gap in the set of gaps. The set of prompts for a particular gap includes the set of attributes defining the scenario, such as scenario identifiers, severity assessments (e.g., criticality level), summaries outlining the compliance issue, the first set of actions (e.g., actionable directives or general principles of) of the one or more operative standards, and/or the set of vector representations. In some implementations, the set of prompts for each gap in the set of gaps includes a set of pre-loaded query contexts defining one or more sets of alphanumeric characters associated with the set of vector representations. The pre-loaded query contexts include predefined templates, rules, or configurations that specify criteria for mapping gaps to operative standards. For example, the pre-loaded query context can include definitions of terms such as operative standards and/or gaps. The prompts serve as input to a large-language model (LLM), which is designed to process natural language inputs and generate structured outputs based on learned patterns and data.
1008 In act, for each gap in the set of gaps, the system maps the gap to one or more operative standards of the set of vector representations. The system supplies the prompt of the particular gap into the LLM. Responsive to inputting the prompt, the system receives, from the LLM, a gap-specific set of operative standards including the one or more operative standards associated with the particular gap. In some implementations, the system can generate, for each gap-specific set of operative standard of the set of gap-specific set of operative standards for each gap, an explanation associated with how the one or more operative standards is mapped. The output of the LLM can be in the form of alphanumeric characters. In some implementations, responsive to inputting the prompt, the system receives, from the AI model, the gap-specific set of operative standards, and the corresponding sets of vector representations.
In some implementations, the prompt into the LLM includes a directive to provide a first explanation of why a particular gap should be mapped to a particular operative standard, and also a second explanation of why a particular gap should not be mapped to a particular operative standard. The prompt can further include a directive to provide why the first explanation or the second explanation is weighted more (e.g., why a certain mapping occurs). In some implementations, a human individual can approve or disapprove the mappings based on the first and/or second explanations. Allowing a human-in-the-loop (HITL) and generating a first and second explanation provides transparency to users of the platform regarding the generated mappings.
1010 In act, the system generates for display at the user interface, a graphical representation indicating the gap-specific set of operative standards. The graphical representation includes a first representation of each gap in the set of gaps and a second representation of the corresponding gap-specific set of operative standards. In some implementations, each gap is visually represented to highlight its specific attributes, such as severity level, scenario identifier, and a summary detailing the gap. The graphical representations can use charts, diagrams, or visual frameworks that integrate color coding, icons, or annotations to denote severity levels, compliance progress, or overdue actions. Annotations within the graphical representation can offer additional context or explanations regarding each gap and its alignment with operative standards. Overlays can be used to indicate overdue actions, completed mappings, and/or compliance deadlines.
1012 In act, using the gap-specific set of operative standards, the system generates a second set of actions for each gap in the set of gaps including one or more actions in the first set of actions indicated by the corresponding gap-specific set of operative standards. The second set of actions can modify a portion of the scenario in the corresponding gap to satisfy the one or more operative standards of the set of vector representations. For instance, actions can involve updating policies, enhancing security measures, implementing new protocols, and/or conducting training sessions to improve organizational practices and mitigate risks. Each action can be linked directly to the corresponding gap and its associated operative standards.
In some implementations, the set of prompts is a first set of prompts, and the gap-specific set of operative standards is a first set of operative standards. Using the received input, the system constructs a second set of prompts for each gap in the set of gaps. The second set of prompts for a particular gap includes the set of attributes defining the scenario and the set of vector representations. Using the second set of prompts, the system receives, from the LLM, a second set of operative standards for each gap in the set of gaps. Using the second set of operative standards, the system constructs a third set of prompts for each gap in the set of gaps. The third set of prompts for the particular gap includes the set of attributes defining the scenario and the first set of actions of the one or more operative standards. Using the third set of prompts, the system receives, from the LLM, a third set of operative standards for each gap in the set of gaps. The iterative approach of using multiple sets of prompts with the LLM enhances the system's capability to adapt and respond dynamically to previously generated mappings and thus contributes to a continuous improvement process where insights gained from each interaction cycle contribute to more refined strategies for achieving alignment of an organization with the operative standards.
In some implementations, the set of prompts is a first set of prompts. For each vector representation in the received set of vector representations, the system identifies a set of textual content representative of the set of vector representations. The system partitions the set of textual content into a plurality of text subsets of the set of textual content based on predetermined criteria. The predetermined criteria can include a length of each text subset and/or a complexity of each text subset. For example, the predetermined criteria can be token count or character limit to ensure uniformity and coherence in the division process. Chunking the textual content breaks down a large amount of textual content into manageable units. For token-based partitioning, the system calculates the number of linguistic units, or tokens, within the textual content. These tokens, in some implementations, encompass individual words, phrases, or even characters, depending on the specific linguistic analysis employed. The predetermined token count criterion sets a quantitative guideline, dictating the number of linguistic units encompassed within each chunk. In some implementations, when employing a character limit criterion, the system focuses on the total number of characters within the textual content character limit criterion, in some implementations, involves assessing both alphanumeric characters and spaces, providing a more fine-grained measure of the content's structural intricacies. The predetermined character limit establishes an upper threshold, guiding the system to create segments that adhere to the predefined character limit.
The system can receive user feedback related to deviations between the gap-specific set of operative standards and a desired set of operative standards. The system can iteratively adjust the sets of prompts to modify the gap-specific set of operative standards to the desired set of operative standards. The system can generate action plans, update compliance strategies, and/or refine operational practices to enhance alignment with the set of vector representations. The system can generate a set of actions (e.g., a modification plan) that adjust the current attributes of the scenario to a desired set of attributes of the scenario. The system can identify the root cause of the difference between the attributes of the scenario and the desired set of attributes of the scenario. For example, the desired set of attributes of the scenario can include a certain action not found in the current attributes of the scenario (e.g., an anonymization procedure). The actions (e.g., the anonymization procedure) can be preloaded into the system.
Generating Actionable Items from Guidelines Using the Data Generation Platform
11 FIG. 9 FIG. 8 FIG. 1100 1110 1102 1100 1102 1104 1106 1108 1110 1102 902 1104 804 1100 a n a n a n a n is an illustrative diagram illustrating an example environmentof the platform identifying actionable items-from guidelines, in accordance with some implementations of the present technology. Environmentincludes guidelines, platform, text subsets-, prompts-, and actionable items-. Guidelinesare the same as or similar to guidelineswith reference to. Platformis the same as or similar to platformwith reference to. Implementations of example environmentcan include different and/or additional components or can be connected in different ways.
1104 1104 1102 1104 804 1104 1106 1106 1106 1104 1104 1104 8 FIG. 8 FIG. a n a n a n Platformcan be a web-based application that hosts various use cases, such as compliance, that allows users to interact via a front-end interface. Inputs to the platformcan be guidelinesin various formats (e.g., text, Excel). Further examples of platformare discussed with reference to platformin. The backend of platformcan chunk (e.g., partition) the guidelines into text subsets-and vectorize the text subsets-. The vectorized representations of the text subsets-can be stored in a database accessible by the platform. The platformcan use an API call to send prompts to an AI model (such as an LLM), as described further in. The AI model processes the prompts and returns the output of actionable items to the backend of platform, which can format the output into a user-friendly structure.
1106 1102 1106 a n a n Text subsets-refer to portions of the guidelinesthat have been extracted or divided (e.g., based on specific criteria) into smaller segments. Each text subsets-can be categorized by topic, section, or other relevant factors. By breaking down large volumes of text into subsets, the platform can focus on specific parts of the guidelines. The structured approach additionally allows the platform to handle large volumes of regulatory text efficiently.
1108 1106 1106 1102 1106 1108 1108 1106 1108 1106 1102 a n a n a n a a a n a n a n a n Prompts-are specific queries or instructions generated from the text subsets-that are formulated to direct the behavior and output of an AI model, such as identifying actionable items from the text subsets-of regulatory guidelines. For example, for text subset, a corresponding promptis constructed. In some implementations, a prompt can include multiple text subsets. In some implementations, a single text subset can be associated with multiple prompts. Prompts-causes the AI model to identify particular attributes of the text subsets-, such as regulatory obligations or compliance requirements to dynamically generate meaningful outputs (e.g., actionable items). In some implementations, the prompts-can be generated using a second AI model. The second AI model can analyze the text subsets-or the guidelinesdirectly to identify features of the text subset such as context, entities, and the relationships between the features by, for example, breaking down the input into smaller components and/or tagging predefined keywords. The second AI model can construct prompts that are contextually relevant using the identified features. For instance, if the input pertains to compliance guidelines, the second AI model can identify sections within the guidelines and frame prompts that highlight the most relevant information (e.g., information directed towards compliance guidelines). The prompts can include specific questions or statements that direct the first AI model to focus on particular aspects, such as “What are the key compliance requirements for data protection in this guideline?”
The second AI model can, in some implementations, employ query expansion. Query expansion is a process that enhances the original query by including synonyms, related concepts, and/or additional contextually relevant terms to improve the comprehensiveness of the response. For example, if the initial prompt is “Identify key actionable items for data protection,” the second AI model can expand the query by including keywords such as “privacy regulations,” “data security measures,” and “information governance.” In some implementations, the second AI model can reference domain-specific thesauruses and/or pre-trained word embeddings to find synonyms and related terms to the identified elements.
1108 1108 1108 a n a n a n Prompts-can include definitions, keywords, and instructions that guide the AI model in identifying relevant actionable items. For instance, definitions can clarify what constitutes an “actionable item” or “obligation.” Further, prompts-can specify keywords like “must,” “shall,” or “required.” The keywords can indicate mandatory actions or prohibitions that need to be identified as actionable items. For example, a prompt can instruct the AI model to flag any sentence containing the word “must” as it likely denotes a regulatory requirement. In another example, prompts-can direct the AI model to extract all instances of deadlines for compliance actions, descriptions of required documentation, or procedures for reporting to regulatory bodies. Instructions can also include formatting guidelines, ensuring that the extracted actionable items are presented in a consistent and usable format.
1110 1106 1108 1106 1110 1110 1110 a n a n a n a n a n a n a n Actionable items-(e.g., directives, actions) are the specific tasks or requirements identified by the AI model from the guidelines, based on the analysis of text subsets-and prompts-. In some implementations, rather than being mere excerpts from the text subsets-, actionable items-can be distilled, comprehensive instructions that define specific measures or procedures to implement. For instance, an actionable item can outline the frequency and format of compliance reports required, specify the data to be included, and designate the department responsible for submission. Actionable items-are designed to translate regulatory text into actionable operations that organizations can directly operationalize. Actionable items-can include tasks such as reporting, record-keeping, compliance checks, and other regulatory actions.
1106 1108 1110 1102 1108 1102 a n a n a n a n Each actionable item can include metadata such as the responsible party within the organization, the type of customer or stakeholder affected, and/or other relevant identifiers. An AI model can use natural language processing (NLP) algorithms to parse through text subsets-to identify relevant phrases, keywords, and semantic structures (e.g., as instructed by the prompts-) that indicate actionable items-within the guidelines. Prompts-can direct the AI model by providing contextual cues and specific queries that direct the AI model to focus on particular guidelines or aspects of guidelines within guidelines.
Example Implementations of a Validation Engine of the Data Generation Platform
12 FIG. 4 FIG. 5 FIG. 6 FIG. 1200 1200 1202 1204 1206 1208 1210 1212 420 402 1210 1212 500 602 1200 is a block diagram illustrating an example environmentfor using the guidelines input into the validation engine for determining AI compliance, in accordance with some implementations of the present technology. Environmentincludes guidelines(e.g., jurisdictional regulations, organization regulation, AI application-specific regulations), vector store, and validation engine. Validation engine can be the same as or similar to generative model enginein data generation platformdiscussed with reference to. Vector storeand validation engineare implemented using components of example devicesand computing devicesillustrated and described in more detail with reference toand, respectively. Likewise, implementations of example environmentcan include different and/or additional components or can be connected in different ways.
1202 1204 1206 1208 1204 1204 1206 1206 1208 Guidelinescan include various elements such as jurisdictional regulations, organizational regulations, and AI applications-specific regulations(e.g., unsupervised learning, natural language processing (NLP), generative AI). Jurisdictional regulations(e.g., governmental regulations) can include regulations gathered from authoritative sources such as government websites, legislative bodies, and regulatory agencies. Jurisdictional regulationscan be published in legal documents or official publications and cover aspects related to the development, deployment, and use of AI technologies within specific jurisdictions. Organizational regulationsincludes internal policies, procedures, and guidelines established by organizations to govern AI-related activities within the organization's operations. Organizational regulationscan be developed in alignment with industry standards, legal requirements, and organizational objectives. AI application-specific regulationsinclude regulations that pertain to specific types of AI applications, such as unsupervised learning, natural language processing (NLP), and generative AI. Each type of AI application presents unique challenges and considerations in terms of compliance, ethical use, and/or regulatory adherence. For example, unsupervised learning algorithms, where the model learns from input data without labeled responses, can be subject to regulations that prevent bias and discrimination in unsupervised learning models. Natural language processing (NLP) technologies, which enable computers to understand, interpret, and generate human language, can be subject to specific regulations aimed at safeguarding user privacy. Generative AI, which autonomously creates new content, can focus on intellectual property rights, content moderation, and ethical use cases. AI developers may need to incorporate additional mechanisms for copyright protection, content filtering, and/or user consent management to comply with regulations related to generative AI technologies.
1202 1210 1210 1202 1212 1202 1202 1202 1202 1210 The guidelinesare stored in a vector store. The vector storestores the guidelinesin a structured and accessible format (e.g., using distributed databases or NoSQL stores), which allows for efficient retrieval and utilization by the validation engine. In some implementations, the guidelinesare preprocessed to remove any irrelevant information, standardize the format, and/or organize the guidelinesinto a structured database schema. Once the guidelinesare prepared, the guidelinescan be stored in a vector storeusing distributed databases or NoSQL stores.
1202 1210 1202 1212 1202 1202 1202 To store the guidelinesin the vector store, the guidelinescan be encoded into vector representations for subsequent retrieval by the validation engine. The textual data of the guidelinesare transformed into numerical vectors that capture the semantic meaning and relationships between words or phrases in the guidelines. For example, the text is encoded into vectors using word embeddings and/or TF-IDF encoding. Word embeddings, such as Word2Vec or GloVe, learn vector representations of words based on the word's contextual usage in a large corpus of text data. Each word is represented by a vector in a high-dimensional space, where similar words have similar vector representations. TF-IDF (Term Frequency-Inverse Document Frequency) encoding calculates the importance of a word in a guideline relative to the word's frequency in the entire corpus of guidelines. For example, the system can assign higher weights to words that are more unique to a specific document and less common across the entire corpus.
1202 1202 1202 1202 In some implementations, the guidelinesare stored using graph databases such as Neo4j™ or Amazon Neptune™. Graph databases represent data as nodes and edges, allowing for the modeling of relationships between guidelinesto demonstrate the interdependencies. In some implementations, the guidelinesare stored in a distributed file system such as Apache Hadoop™ or Google Cloud Storage™. These systems offer scalable storage for large volumes of data and support parallel processing and distributed computing. Guidelinesstored in a distributed file system can be accessed and processed by multiple nodes simultaneously, which allows for faster retrieval and analysis by the validation engine.
1210 1210 1210 1210 The vector storecan be stored in a cloud environment hosted by a cloud provider, or a self-hosted environment. In a cloud environment, the vector storehas the scalability of cloud services provided by platforms (e.g., AWS™, Azure™). Storing the vector storein a cloud environment entails selecting the cloud service, provisioning resources dynamically through the provider's interface or APIs, and configuring networking components for secure communication. Cloud environments allow the vector storeto scale storage capacity without the need for manual intervention. As the demand for storage space grows, additional resources can be automatically provisioned to meet the increased workload. Additionally, cloud-based caching modules can be accessed from anywhere with an internet connection, providing convenient access to historical data for users across different locations or devices.
1210 1210 1210 1210 1210 Conversely, in a self-hosted environment, the vector storeis stored on a private web server. Deploying the vector storein a self-hosted environment entails setting up the server with the necessary hardware or virtual machines, installing an operating system, and storing the vector store. In a self-hosted environment, organizations have full control over the vector store, allowing organizations to implement customized security measures and compliance policies tailored to the organization's specific needs. For example, organizations in industries with strict data privacy and security regulations, such as finance institutions, can mitigate security risks by storing the vector storein a self-hosted environment.
1212 1202 1210 1212 1210 1212 1210 1202 1212 1202 The validation engineaccesses the guidelinesfrom the vector storeto initiate the compliance assessment. The validation enginecan establish a connection to the vector storeusing appropriate APIs or database drivers. The connection allows the validation engineto query the vector storeand retrieve the relevant guidelines for the AI application under evaluation. Frequently accessed guidelinesare stored in memory, which allows the validation engineto reduce latency and improve response times for compliance assessment tasks. In some implementations, only the relevant guidelines are retrieved based on the specific AI application under evaluation. For example, metadata tags, categories, or keywords associated with the AI application can be used to filter the guidelines.
1212 1202 1212 1212 The validation engineevaluates the AI application's compliance with the retrieved guidelines, (e.g., using semantic search, pattern recognition, and machine learning techniques). For example, the validation enginecompares the vector representations of the different explanations and outcomes by calculating the cosine of the angle between the two vectors indicating the vectors' directional similarity. Similarly, for comparing explanations, the validation enginecan measure the intersection over the union of the sets of words in the expected and case-specific explanations.
13 FIG. 5 FIG. 6 FIG. 1300 1300 1302 1310 1312 1314 1316 1310 500 602 1300 is a block diagram illustrating an example environmentfor generating validation actions to determine AI model compliance, in accordance with some implementations of the present technology. Environmentincludes training data, meta-model, validation actions, cache, and vector store. Meta-modelis implemented using components of example devicesand computing devicesillustrated and described in more detail with reference toand, respectively. Likewise, implementations of example environmentcan include different and/or additional components or can be connected in different ways.
1304 1306 1308 1304 1306 1306 1308 1308 The training data includes data from sources such as business applications, other AI applications, and/or an internal document search AI. Business applicationsrefer to software tools or systems used to facilitate various aspects of business operations and can include data related to, for example, loan transaction history, customer financial profiles, credit scores, and income verification documents. For example, data from a banking application can provide insights into an applicant's banking behavior, such as average account balance, transaction frequency, and bill payment history. Other AI applicationscan include, for example, credit scoring models, fraud detection algorithms, and risk assessment systems that can be used by lenders to evaluate loan applications. Data from AI applicationsrefer to various software systems that utilize artificial intelligence (AI) techniques to perform specific tasks or functions. The data can include credit risk scores and fraud risk indicators. For example, an AI-powered credit scoring model can provide a risk assessment score based on an applicant's credit history, debt-to-income ratio, and other financial factors. The internal document search AIis an AI system tailored for searching and retrieving information from internal documents within an organization. For example, the internal document search AIcan be used to retrieve and analyze relevant documents such as loan agreements, regulatory compliance documents, and internal policies. Data from internal documents can include, for example, legal disclosures, loan terms and conditions, and compliance guidelines. For example, the AI system can flag loan applications that contain discrepancies or inconsistencies with regulatory guidelines or internal policies.
1302 1310 1310 1310 1310 1312 1312 10 FIG. 12 14 FIGS.- The training datais fed into the meta-modelto train the meta-model, enabling the meta-modelto learn patterns and characteristics associated with compliant and non-compliant AI behavior. Further discussion of Artificial Intelligence and training methods are discussed in. The meta-modelleverages the learned patterns and characteristics to generate validation actions, which serve as potential use-cases designed to evaluate AI model compliance. The validation actionscan encompass various scenarios and use cases relevant to the specific application domain of the AI model under assessment. Further methods of creating validation actions are discussed in.
1312 1314 1316 1314 1316 1316 1312 1310 1312 1312 1312 1312 1316 In some implementations, the generated validation actionscan be stored in a cacheand/or a vector store. The cacheis a temporary storage mechanism for storing recently accessed or frequently used validation actions, and facilitates efficient retrieval when needed. On the other hand, the vector storeprovides a structured repository for storing vector representations of validation actions, enabling efficient storage and retrieval based on similarity or other criteria. The vector storestores the generated validation actionsin a structured and accessible format (e.g., using distributed databases or NoSQL stores), which allows for efficient retrieval and utilization by the meta-model. The generated validation actionscan be preprocessed to remove any irrelevant information, standardize the format, and/or organize the generated validation actionsinto a structured database schema. Once the generated validation actionsare prepared, the generated validation actionscan be stored in a vector storeusing distributed databases or NoSQL stores.
1312 1312 1312 1312 1310 In some implementations, the generated validation actionsare stored using graph databases such as Neo4j™ or Amazon Neptune™. Graph databases represent data as nodes and edges, allowing for the modeling of relationships between generated validation actionsto demonstrate the interdependencies. In some implementations, the generated validation actionsare stored in a distributed file system such as Apache Hadoop™ or Google Cloud Storage™. The systems offer scalable storage for large volumes of data and support parallel processing and distributed computing. Generated validation actionsstored in a distributed file system can be accessed and processed by multiple nodes simultaneously, which allows for faster retrieval and analysis by the meta-model.
1316 1316 1316 1316 The vector storecan be stored in a cloud environment hosted by a cloud provider, or a self-hosted environment. In a cloud environment, the vector storehas the scalability of cloud services provided by platforms (e.g., AWS™, Azure™). Storing the vector storein a cloud environment entails selecting the cloud service, provisioning resources dynamically through the provider's interface or APIs, and configuring networking components for secure communication. Cloud environments allow the vector storeto scale storage capacity without the need for manual intervention. As the demand for storage space grows, additional resources can be automatically provisioned to meet the increased workload. Additionally, cloud-based caching modules can be accessed from anywhere with an internet connection, providing convenient access to historical data for users across different locations or devices.
1316 1316 1316 1316 1316 Conversely, in a self-hosted environment, the vector storeis stored on a private web server. Deploying the vector storein a self-hosted environment entails setting up the server with the necessary hardware or virtual machines, installing an operating system, and storing the vector store. In a self-hosted environment, organizations have full control over the vector store, allowing organizations to implement customized security measures and compliance policies tailored to the organization's specific needs. For example, organizations in industries with strict data privacy and security regulations, such as finance institutions, can mitigate security risks by storing the vector storein a self-hosted environment.
1310 1312 1316 1316 1310 1316 1312 The meta-modelaccesses the generated validation actionsfrom the vector storeto initiate the compliance assessment. The system can establish a connection to the vector storeusing appropriate APIs or database drivers. The connection allows the meta-modelto query the vector storeand retrieve the relevant vector constraints for the AI application under evaluation. Frequently accessed validation actionsare stored in memory, which allows the system to reduce latency and improve response times for compliance assessment tasks.
1312 1312 In some implementations, only the relevant validation actions are retrieved based on the specific AI application under evaluation. For example, metadata tags, categories, or keywords associated with the AI application can be used to filter the validation actions. The relevant validation actions can be specifically selected based on the specific context and requirements of the AI application being evaluated. For example, the system analyzes metadata tags, keywords, or categories associated with the validation actionsstored in the system's database. Using the specific context and requirements of the AI application, the system filters and retrieves the relevant validation actions from the database.
1312 1312 Various filters can be used to select relevant validation actions. In some implementations, the system uses natural language processing (NLP) to parse through the text of the validation actionand identify key terms, phrases, and clauses that denote regulatory obligations relevant to the AI application's domain. The specific terms related to the AI application's domain can be predefined and include, for example, “patient privacy” for healthcare sector applications. Using the specific terms related to the AI application's domain as a filter, the system can filter out the non-relevant validation actions. To identify the relevant validation actions from the validation actions, the system can determine the specific terms to use as filters by calculating the similarity between vectors representing domain-specific terms (e.g., “healthcare”) and vectors representing other terms related to the domain (e.g., “patient privacy”), domain-specific terms can be identified based on the proximity of the other terms to known terms of interest. A similarity threshold can be applied to filter out terms that are not sufficiently similar to known domain-specific terms.
1312 1312 1312 1312 In some implementations, the system can tag relevant validation actions with attributes that help contextualize the relevant validation actions. The tags serve as markers that categorize and organize the validation actionsbased on predefined criteria, such as regulatory topics (e.g., data privacy, fairness, transparency) or jurisdictional relevance (e.g., regional regulations, industry standards). The tags provide a structured representation of the validation actionsand allow for easier retrieval, manipulation, and analysis of regulatory content. The tags and associated metadata can be stored in a structured format, such as a database, where each validation actionis linked to the validation action'scorresponding tags and/or regulatory provisions.
1310 1312 12 14 FIGS.- The meta-modelevaluates the AI application's compliance with the vector constraints through the use of validation actions(e.g., using semantic search, pattern recognition, and machine learning techniques). Further evaluation methods in determining compliance of AI applications are discussed with reference to.
14 FIG. 13 FIG. 5 FIG. 6 FIG. 1400 1400 1402 1404 1406 1408 1410 1412 1414 1416 1404 1310 1404 1410 500 602 1400 is a block diagram illustrating an example environmentfor automatically implementing corrective actions on the AI model, in accordance with some implementations of the present technology. Environmentincludes training dataset, meta-model(which includes validation modelsA-D, validation actions, AI application), outcome and explanation, recommendation, and corrective actions. Meta-modelis the same as or similar to meta-modelillustrated and described in more detail with reference to. Meta-modeland AI applicationare implemented using components of example devicesand computing devicesillustrated and described in more detail with reference toand, respectively. Likewise, implementations of example environmentcan include different and/or additional components or can be connected in different ways.
1402 1404 1404 1404 1406 1406 1406 1406 1402 1404 8 FIG. 9 FIG. 10 FIG. 12 14 FIGS.- A training dataset, which includes a collection of data used to train machine learning models, is input into the meta-model. The meta-modelis a comprehensive model that encompasses multiple sub-models tailored to address specific aspects of AI compliance. Within the meta-model, various specialized models are included, such as a bias modelA (described in further detail with reference to), a toxicity modelB (described in further detail with reference to), an IP violation modelC (described in further detail with reference to), and other validation modelsD. Each of the models is responsible for detecting and assessing specific types of non-compliant content within AI models. Upon processing the training dataset, each model generates validation actions tailored to evaluate the presence or absence of specific types of non-compliant content. Further evaluation techniques in generating validation actions using the meta-modelare discussed with reference to.
1408 1410 1410 1408 1412 1412 1410 1414 The set of generated validation actionsis provided as input to an AI applicationin the form of a prompt. The AI applicationprocesses the validation actionsand produces an outcome along with an explanationdetailing how the outcome was determined. Subsequently, based on the outcome and explanationprovided by the AI application, the system can generate recommendationsfor corrective actions. The recommendations are derived from the analysis of the validation action outcomes and aim to address any identified issues or deficiencies. For example, if certain validation actions fail to meet the desired criteria due to specific attribute values or patterns, the recommendations can suggest adjustments to those attributes or modifications to the underlying processes.
8 FIG. 9 FIG. 10 FIG. For a bias detection model, such as the ML model discussed in, if certain attributes exhibit unexpected associations or distributions, the system can retrain the tested AI model with revised weighting schemes to better align with the desired vector constraints. In a toxicity model, such as the ML model discussed in, the corrective actions can include implementing post-processing techniques in the tested AI model to filter out responses that violate the vector constraints (e.g., filtering out responses that include the identified vector representations of the alphanumeric characters). Similarly, in an IP rights violation model, such as the ML model discussed in, the corrective actions can include implementing post-processing techniques in the tested AI model to filter out responses that violate the IP rights (e.g., filtering out responses including the predetermined alphanumeric characters).
In some implementations, based on the outcomes and explanations, the system applies predefined rules or logic to determine appropriate corrective actions. The rules can be established by users and can consider factors such as regulatory compliance, risk assessment, and business objectives. For example, if an application is rejected due to insufficient income, the system can recommend requesting additional financial documentation from the applicant.
10 FIG. 1414 1416 In some implementations, the system can use machine learning models to generate recommendations. The models learn from historical data and past decisions to identify patterns and trends that indicate a set of actions the AI model can take to comply with the vector constraints. By training on a dataset of past corrective actions and the outcomes, the machine learning models can predict the most effective recommendations for new cases. Further discussion of Artificial Intelligence and training methods are discussed in. The recommendationscan be automatically implemented as corrective actionsby the system. The automated approach streamlines the process of addressing identified issues and ensures swift remediation of non-compliant content within AI models, enhancing overall compliance and reliability.
Certifying and Benchmarking Artifacts Using the Data Generation Platform
15 FIG. 12 FIG. 5 FIG. 6 FIG. 1500 1500 1502 1510 1512 1514 1502 1202 1512 500 602 1500 a e is an illustrative diagram illustrating an example environmentfor grading an AI model using guidelines stored in a vector store. Environmentincludes guidelines, vector store, and grading engine, which includes test categories-. Guidelinesis the same as or similar to guidelinesillustrated and described in more detail with reference to. Grading engineis implemented using components of example devicesand computing devicesillustrated and described in more detail with reference toand, respectively. Likewise, implementations of example environmentcan include different and/or additional components or can be connected in different ways.
1502 1502 1504 1506 1508 1504 1504 The guidelinescan be determined using obtained application domains (e.g., domain contexts) of the AI model. Guidelinescan include various elements such as jurisdictional guidelines, organizational guidelines, and AI applications-specific guidelines(e.g., unsupervised learning, natural language processing (NLP), generative AI). Jurisdictional guidelines(e.g., governmental regulations) can include guidelines gathered from authoritative sources such as government websites, legislative bodies, and regulatory agencies. Jurisdictional guidelinescan be published in legal documents or official publications and cover aspects related to the development, deployment, and use of AI technologies within specific jurisdictions. For example, the California Consumer Privacy Act (CCPA) in the United States mandates cybersecurity measures such as encryption, access controls, and data breach notification requirements to protect personal data. As such, AI developers must implement cybersecurity measures (such as encryption techniques) within the AI models they design and build to ensure the protection of sensitive user data and compliance with the regulations.
1506 1506 Organizational guidelinesinclude internal policies, procedures, and guidelines established by organizations to govern software- and/or AI-related activities within the organization's operations. Organizational guidelinescan be developed in alignment with industry standards, legal requirements, best practices, and organizational objectives. For example, organizational guidelines can require AI models to include certain access controls to restrict unauthorized access to the model's APIs or data and/or have a certain level of resilience before deployment.
1502 1502 1502 1502 In some implementations, guidelinescan any one of text, image, audio, video or other computer-ingestible format. For guidelinesthat are not text (e.g., image, audio, and/or video), the guidelinescan first be transformed into text. Optical character recognition (OCR) can be used for images containing text, and speech-to-text algorithms can be used for audio inputs. For example, an audio recording detailing security guidelines can be converted into text using a speech-to-text engine that allows the system to parse and integrate the text output into the existing guidelines. Similarly, a video demonstrating a particular procedure or protocol can be processed to extract textual information (e.g., extracting captions).
1502 In some implementations, in cases where transforming to text is not feasible or desirable, the system can use vector comparisons to handle non-text inputs directly. For example, images and audio files can be converted into numerical vectors through feature extraction techniques (e.g., by using Convolutional Neural Networks (CNNs) for images and using Mel-Frequency Cepstral Coefficients (MFCCs) for audio files). The vectors represent the corresponding characteristics of the input data (e.g., edges, texture, or shapes of the image, or the spectral features of the audio file). The system can then perform vector comparisons between the inputs and the outputs of the AI model to determine the satisfaction of the AI model with guidelines. For example, an image depicting a secure login process can be compared against a library of vectors representing various secure and insecure login methods. If the image vector closely aligns with vectors in the secure category, it can be positively assessed; otherwise, the AI model can be flagged for review.
1508 AI application-specific guidelinesinclude guidelines that pertain to specific types of AI applications, such as unsupervised learning, natural language processing (NLP), and generative AI. Each type of AI application presents unique challenges and considerations in terms of best practices, compliance, ethical use, and/or regulatory adherence. For example, unsupervised learning algorithms, where the model learns from input data without labeled responses, can be subject to regulations that prevent bias and discrimination in unsupervised learning models. Natural language processing (NLP) technologies, which enable computers to understand, interpret, and generate human language, can be subject to specific regulations aimed at safeguarding user privacy. Generative AI, which autonomously creates new content, can focus on intellectual property rights, content moderation, and ethical use cases. AI developers can incorporate additional mechanisms for copyright protection, content filtering, and/or user consent management to comply with regulations related to generative AI technologies.
1502 Best practices in the guidelinescan include the resilience of the AI model or the data quality the AI model is trained on. For example, best practices for AI model resilience involve ensuring the AI model's ability to withstand cyber threats and adversarial attacks. The AI model is expected to implement security measures within the model architecture, such as encryption, access controls, and anomaly detection algorithms, to detect and mitigate potential security breaches or attacks. Further, ensuring the quality of training data can include thorough data quality assessments to identify and mitigate biases, anomalies, and inaccuracies in the training dataset. Data preprocessing techniques, such as data normalization and outlier detection, can be expected to be applied to enhance the quality and integrity of the training data, reducing the risk of security incidents.
1502 1510 1510 1502 1512 1502 1502 1502 1502 1510 The guidelinescan be stored in a vector store. The vector storestores the guidelinesin a structured and accessible format (e.g., using distributed databases or NoSQL stores), which allows for efficient retrieval and utilization by the grading engine. In some implementations, the guidelinesare preprocessed to remove any irrelevant information, standardize the format, and/or organize the guidelinesinto a structured database schema. Once the guidelinesare prepared, the guidelinescan be stored in a vector storeusing distributed databases or NoSQL stores.
1502 1510 1502 1512 1502 1502 1502 To store the guidelinesin the vector store, the guidelinescan be encoded into vector representations for subsequent retrieval by the grading engine. The textual data of the guidelinesare transformed into numerical vectors that capture the semantic meaning and relationships between words or phrases in the guidelines. For example, the text is encoded into vectors using word embeddings and/or TF-IDF encoding. Word embeddings, such as Word2Vec or GloVe, learn vector representations of words based on the word's contextual usage in a large corpus of text data. Each word is represented by a vector in a high-dimensional space, where similar words have similar vector representations. TF-IDF (Term Frequency-Inverse Document Frequency) encoding calculates the importance of a word in a guideline relative to the word's frequency in the entire corpus of guidelines. For example, the system can assign higher weights to words that are more unique to a specific document and less common across the entire corpus.
1502 1502 1502 1502 1512 In some implementations, the guidelinesare stored using graph databases such as Neo4j™ or Amazon Neptune™. Graph databases represent data as nodes and edges, allowing for the modeling of relationships between guidelinesto demonstrate the interdependencies. In some implementations, the guidelinesare stored in a distributed file system such as Apache Hadoop™ or Google Cloud Storage™. These systems offer scalable storage for large volumes of data and support parallel processing and distributed computing. Guidelinesstored in a distributed file system can be accessed and processed by multiple nodes simultaneously, which allows for faster retrieval and analysis by the grading engine.
1510 1510 1510 1510 The vector storecan be stored in a cloud environment hosted by a cloud provider, or a self-hosted environment. In a cloud environment, the vector storehas the scalability of cloud services provided by platforms (e.g., AWS™, Azure™). Storing the vector storein a cloud environment entails selecting the cloud service, provisioning resources dynamically through the provider's interface or APIs, and configuring networking components for secure communication. Cloud environments allow the vector storeto scale storage capacity without the need for manual intervention. As the demand for storage space grows, additional resources can be automatically provisioned to meet the increased workload. Additionally, cloud-based caching modules can be accessed from anywhere with an internet connection, providing convenient access to historical data for users across different locations or devices.
1510 1510 1510 1510 1510 Conversely, in a self-hosted environment, the vector storeis stored on a private web server. Deploying the vector storein a self-hosted environment entails setting up the server with the necessary hardware or virtual machines, installing an operating system, and storing the vector store. In a self-hosted environment, organizations have full control over the vector store, allowing organizations to implement customized security measures and compliance policies tailored to the organization's specific needs. For example, organizations in industries with strict data privacy and security regulations, such as finance institutions, can mitigate security risks by storing the vector storein a self-hosted environment.
1512 1502 1510 1512 1510 1512 1510 1502 1512 The grading engineaccesses the guidelinesfrom the vector storeto initiate grading the AI model. The grading enginecan establish a connection to the vector storeusing appropriate APIs or database drivers. The connection allows the grading engineto query the vector storeand retrieve the relevant guidelines for the AI application under evaluation. Frequently accessed guidelinescan be stored in memory, which allows the grading engineto reduce latency and improve response times for compliance assessment tasks.
502 1512 1502 In some implementations, only the relevant guidelines are retrieved based on the specific AI application under evaluation. For example, metadata tags, categories, or keywords associated with the AI application can be used to filter the guidelines. The grading engineevaluates the AI application against the retrieved guidelines.
1514 1514 1514 1514 1514 1514 1514 a e a b c d e a e Assessment domains, such as test categories-, encompass various aspects of evaluating the AI model's performance and adherence to predefined guidelines. Each assessment domain is designed to assess a specific context, such as data quality, security measures, software development, regulatory compliance, and/or AI explainability. The test categories-can overlap in the corresponding contexts.
1514 1514 1514 1514 1514 1514 1514 1512 1514 a b c c d d a e a e Data qualityevaluates the quality, accuracy, and integrity of the data used to train and operate the AI model. The test category includes tests to identify biases, anomalies, and inconsistencies in the training data. Security measuresassesses the AI model's resilience against cyber threats and vulnerabilities. The test category includes tests for data encryption, access controls, vulnerability management, threat detection, and remediation capabilities to protect against cyberattacks and unauthorized access to sensitive information. Software developmentevaluates the robustness and reliability of the software development practices used to build and deploy the AI model. For example, software developmentincludes tests for code quality, version control, testing methodologies, and deployment procedures to ensure the integrity and stability of the AI model throughout its lifecycle. The regulatory compliancetest category assesses the AI model's adherence to relevant legal and regulatory requirements governing its use and deployment. Regulatory complianceincludes tests to verify compliance with data protection laws, industry regulations, and ethical guidelines, ensuring that the AI model operates within the boundaries of applicable regulations. The AI explainability test category focuses on the AI model's ability to provide transparent and interpretable explanations for its decisions and predictions. For example, the test category includes tests to evaluate the model's reasoning behind the model's outputs and ensure that the reasoning does not violate other guidelines. Additional test categories-can include any context of the AI model that the user desires to evaluate. For example, the grading enginecan evaluate performance efficiency by assessing the efficiency and optimization of the AI model's performance, and include tests for resource utilization, latency, and scalability. Additionally, the test categories-can include testing an AI model's resilience against adversarial attacks and attempts to manipulate its outputs.
16 FIG. 15 FIG. 1600 1600 1602 1604 1606 1608 1610 1608 1514 1600 a e is an illustrative diagram illustrating an example environmentpresenting application-domain-specific grades generated for an AI model. Environmentincludes an overall set of grades, an overall grade, a binary indicator, test categories, and individual grades. Test categoriesis the same as or similar to test categories-illustrated and described in more detail with reference to. Likewise, implementations of example environmentcan include different and/or additional components or can be connected in different ways.
1602 1602 1502 1602 15 FIG. The overall set of gradespresents a cumulative view of the AI model's grading evaluation. The overall set of gradesis a holistic assessment of the AI model's capabilities, reliability, and adherence to predefined guidelines (e.g., guidelinesin). In some implementations, the overall set of gradesincludes an approximation of the weights, biases, and/or activation functions that the AI model should follow to satisfy the guidelines. The overall set of grades can indicate what the AI model currently follows. A comparison between the weights, biases, and/or activation functions of what the AI model should follow and what the AI model currently follows can be used to identify discrepancies between the desired performance and the actual performance of the AI model. Weights in an AI model can be defined as the parameters within the model that transform input data used by the AI model to produce the output. Biases are additional parameters that allow the model to adjust the output along with the weighted sum of the inputs to the neuron, and activation functions determine the output of a neural network node.
Using the assessments that test the AI model against the guidelines, the system can identify the variations and, in some implementations, suggest adjustments in the weights and biases or recommend different activation functions that would potentially enhance the model's performance. For instance, if an AI model uses a ReLU (Rectified Linear Unit) activation function but performs poorly in specific scenarios, the system can suggest experimenting with a different function like Leaky ReLU or SELU (Scaled Exponential Linear Unit). By adjusting the weights, biases, and/or activation functions, developers can refine the AI model to align more closely with the desired level of satisfaction with the guidelines. For example, suggestions can include using a universal data format, tagging metadata, or implementing more security measures in storing data.
1604 1610 1604 1606 Overall gradeis an aggregated representation of the individual gradesassigned to the AI model based on its performance in different test categories. Overall gradeprovides a single, summarized rating of the AI model's performance. This overarching grade offers users a concise representation of the AI model's overall quality, allowing for quick assessments and decision-making. In some implementations, a binary indicatorcan be included to signify whether the AI model meets specific criteria or thresholds, such as regulatory compliance or certification requirements (e.g., “PASS,” “FAILED”).
1608 1514 1702 1608 1610 1608 1708 a e 15 FIG. 17 FIG. 17 FIG. Test categoriesincludes the areas evaluated by the grading engine, which can include assessment domains such as data quality, security measures, software development practices, regulatory compliance, and AI explainability. Further examples of test categories-and test categoryare described in further detail with reference toand, respectively. Each test category of the test categoriesprovides users with insights into the AI model's performance in key areas, helping them identify strengths, weaknesses, and areas for improvement. The assessment-domain-specific grades, or individual grades, received from each test categoryare described in further detail with reference to assessment-domain-specific gradein.
In some implementations, tiered indicators can be included to categorize the AI model into different tiers or levels based on its performance. These tiered indicators offer a structured framework for classifying AI models according to predefined criteria, such as performance thresholds for each tier or tiers based on compliance standards. By categorizing AI models into tiers, users can identify differences in performance and make informed decisions about their suitability for specific applications or use cases (e.g., filtering AI models by tier). The benchmarking process provides context for the overall set of grades and helps organizations assess the model's performance relative to other models.
17 FIG. 15 FIG. 16 FIG. 16 FIG. 1700 1700 1702 1704 1706 1708 1702 1514 1608 1708 1610 1700 a n a e is an illustrative diagram illustrating an example environmentfor assigning a grade to an AI model for a test category. Environmentincludes a test category, tests-, AI model, and assessment-domain-specific grade. Test categoriesis the same as or similar to one or more test categories-and test categoriesillustrated and described in more detail with reference toand. Assessment-domain-specific gradeis the same as or similar to one or more individual gradesillustrated and described in more detail with reference to. Implementations of example environmentcan include different and/or additional components or can be connected in different ways.
1702 1514 a e 15 FIG. Test categorydefines the specific criteria against which the AI model's performance will be evaluated. Test categories such as data quality, security measures, software development practices, regulatory compliance, or AI explainability can be included, depending on the objectives and requirements of the evaluation. Further examples of test categories-are described with reference to.
1704 1704 1702 a n a n Within each test category, a series of tests-are conducted to assess the AI model's adherence to and/or satisfaction with the corresponding predefined guidelines of the test category. The series of tests-evaluate different aspects or sub-components of the test categoryand can provide a multi-prompt assessment of the AI model's performance across various dimensions. For example, in a data quality test category, individual tests can focus on aspects such as bias detection, data completeness, or outlier detection. The bias test examines the AI model's training data for any biases that can lead to discriminatory or unfair outcomes. The bias test analyzes the distribution of data across different demographic groups and identifies any patterns of bias that can exist. The data completeness test evaluates the completeness of the AI model's training data by assessing whether the metadata of the training data has missing values, incomplete records, and/or other gaps in the data that could affect the AI model's performance. To test for outliers, the AI model's training data is evaluated for anomalies that deviate significantly from the norm. For example, one or more of the tests testing for outliers can aim to identify data points that are unusually large, small, or different from the majority of the dataset, which could potentially skew the AI model's predictions.
The system can assess the data quality by evaluating the AI model's performance metrics such as accuracy, precision, recall, and F1 score. For example, if an AI model consistently misclassifies certain types of data or shows a significant drop in performance in specific scenarios, this could indicate underlying data quality issues. Additionally, the system can identify out-of-distribution data, regime changes, or shifts in data distribution that could affect model performance. Further, the system can identify the AI model's use case limitations. For example, a model trained extensively on financial data from a specific region may not perform well when applied to data from a different region due to differences in regulatory environments. Analyzing the AI model's limitations helps in setting realistic expectations for the AI model's performance and identifying areas where additional data or retraining are necessary.
1706 1704 1706 1704 1702 1706 1706 1706 1706 a n a n In some implementations, for prompt-based AI models such as large language models (LLMs), prompts are input into the AI modelto initiate the tests-within each category. The prompts can take various forms depending on the nature of the test. For example, the prompt can be a simulated scenario of particular security incidents, or specific queries about the AI model's model architecture. For example, in a test category focusing on threat detection, prompts can simulate suspicious network activity or attempt to breach system security. The AI modelreceives the prompts of the tests-defined by the test categoryand generates responses or outcomes based on the AI model'salgorithms. For instance, in response to a prompt about identifying potential malware in network traffic, the AI modelcan analyze packet headers, payload contents, and behavioral patterns to make a determination, and output whether or not there is malware and why the AI model came to that conclusion (e.g., abnormal behavior patterns). The responses are then compared against predefined expectations or benchmarks to determine the AI model'sperformance in each test. The comparison process assesses how closely the AI model'sresponses align with expected responses.
1702 1708 1706 Based on the results of the tests conducted within the test category, an assessment-domain-specific gradeis assigned to the AI model. This grade reflects the AI model's overall performance in meeting the criteria outlined by the test category, providing users with valuable insights into its strengths, weaknesses, and areas for improvement within that specific dimension. For example, a high grade can indicate that the AI modeldemonstrates strong capabilities in detecting and mitigating security threats, while a lower grade can signal areas of improvement or potential vulnerabilities that need to be addressed.
Dynamic Multi-Model Monitoring of Artifacts Using the Data Generation Platform
18 FIG. 1800 1800 1802 1804 1806 1808 1808 1810 1812 1814 1816 1818 1820 1822 1824 1826 1828 1830 1832 1800 is a block diagram illustrating an example environmentfor dynamic multi-model monitoring and validation of a generative artificial intelligence model. Environmentincludes artifact, policy sources(which can include knowledge base), and artifact observation platform. Artifact observation platformcan include policy context extraction module, monitoring engine, data ingestion module, data transformation module, data enrichment module, synthetic data generation module, synthetic data enrichment module, self-learning module, AI training module, validation model, compliance and fairness module, and evaluation report. Implementations of example environmentcan include different and/or additional components or can be connected in different ways.
1802 1802 1802 1802 1808 21 FIG. The artifactcan be thought of as the subject to be monitored and validated, such as an output generated by the generative AI model. For example, the artifactcan be any form of data, such as text, images, or other multimedia content, produced by the AI model. In some implementations, artifactcan include structured data outputs, such as tables or graphs. For example, an artifact can be a text summary of a legal document, an image generated from a text description, and/or a graph representing data trends. The artifactis evaluated against various compliance and performance metrics by the artifact observation platformusing methods discussed with reference to.
1802 1804 1804 1202 1804 1804 1804 1804 1806 1804 12 FIG. 21 FIG. The artifactcan be evaluated for compliance against the criteria within the policy sources. The policy sourcesencompass a range of regulatory and policy documents that provide guidelines and standards for AI model compliance. The policy sources can be the same as or similar to guidelinesdiscussed in further detail with reference to. The policy sourcescan include internal company policies, industry standards, legal regulations, and/or other guidelines. For example, policy sourcescan include ethical guidelines that ensure AI models operate within moral boundaries, such as avoiding bias and ensuring fairness. Additionally, policy sourcescan include regulations from financial regulatory bodies like the Financial Industry Regulatory Authority (FINRA). Compliance with FINRA regulations can include adhering to standards for transparency, accuracy, and/or investor protection. Policy sources can further include regulations such as the Sarbanes-Oxley Act (SOX), which sets requirements for financial reporting and corporate governance. For example, AI models used in financial reporting are required to comply with SOX standards relating to the accuracy and integrity of financial data. In some implementations, policy sourcescan integrate real-time updates from regulatory bodies to ensure the AI model remains compliant with the latest standards using methods discussed with reference to. The knowledge basewithin policy sourcesstores structured and unstructured data related to the policies. For example, structured data can be structured databases of regulations, while unstructured data can be text documents or emails.
1802 1804 1808 1808 402 1808 500 602 1808 1808 402 1802 1804 1802 1808 4 FIG. 5 FIG. 6 FIG. The artifactcan be evaluated for compliance against the criteria within the policy sourcesusing the artifact observation platform. The artifact observation platformcan be the same as or similar to data generation platformdiscussed with reference to. The artifact observation platformcan be implemented using components of example devicesand computing devicesillustrated and described in more detail with reference toand, respectively. In some implementations, the artifact observation platformcan be distributed across multiple servers. For example, the artifact observation platformcan be a multi-model superstructure within the data generation platformthat monitors and validates artifactagainst the criteria in policy sources. In some implementations, the artifactcan be a model output of a model within the artifact observation platformitself.
1808 1802 1810 1804 1810 1808 1806 1804 1802 1810 1812 1802 1812 1828 1802 1828 1802 21 FIG. 21 FIG. To enable the artifact observation platformto evaluate the artifact, the policy context extraction moduleidentifies the criteria within the policy sources. In particular, the policy context extraction modulewithin the artifact observation platformextracts criteria and/or context within the knowledge basecontaining the policy sourcesto provide assessment metrics and threshold values of the assessment metrics in which to use to evaluate artifact. The policy context extraction modulecan extract criteria and/or context by using methods discussed with reference to. The extracted information can be used by the monitoring engineto continuously observe the artifactand detect deviations from expected behavior. For example, the monitoring enginecan task one or more validation model(s)to detect bias, inaccuracies, and non-compliance with guidelines of the artifact. Methods of determining which validation model(s)to evaluate artifactis discussed in further detail with reference to.
1814 1810 1802 1828 1816 1816 1818 The data ingestion modulecollects data from various sources, including for example historical AI model outputs, external dataset (e.g., publicly available data, industry benchmarks), the criteria extracted from the policy context extraction module, user interaction data, system logs of the model generating the artifactand/or the validation model, and so forth. The ingested data can be processed by the data transformation moduleto transform the ingested data using techniques such as normalization (e.g., scaling numerical data to a standard range, such as 0 to 1), aggregation (e.g., summarizing/averaging data points), and/or other preprocessing techniques. In some implementations, the data transformation modulecan include data anonymization (e.g., replacing personally identifiable information (PII) such as names and social security numbers with pseudonyms or hashed values) to protect sensitive information. The data enrichment modulecan supplement the transformed data by adding additional context or metadata, such as appending geolocation data to provide geographical context (e.g., a guideline only affects artifacts within a certain region), or adding timestamps to provide temporal context for particular guidelines (e.g., a guideline only affects artifacts within a certain range of timestamps). For example, the additional context/metadata can be appended as a new field in the dataset.
1820 1802 1820 402 1820 1820 1820 1810 1822 1822 The synthetic data generation modulecreates new data samples to test the AI model that generated the artifactunder various scenarios. The synthetic data generation modulecan produce artificial data that mimics real-world conditions, allowing the data generation platformto evaluate the model's performance in different situations. In some implementations, the synthetic data generation modulecan use generative adversarial networks (GANs) to create realistic synthetic data. To generate synthetic data for various types of ingested data, the synthetic data generation modulecan use GANs to create synthetic outputs that mimic the patterns and distributions observed in the ingested data by training the generator on historical data to produce statistically similar samples. Further, the synthetic data generation modulecan create synthetic data that adheres to the specified policies and guidelines using information identified in the policy context extraction module. The synthetic data enrichment modulecan further refine the synthetic data, ensuring that the synthetic data accurately represents the conditions it is meant to simulate. For example, the synthetic data enrichment modulecan add noise to the synthetic data to simulate real-world variability or integrate contextual metadata, such as geolocation information or temporal markers.
1824 1828 1824 1826 1828 1818 1822 1824 The self-learning moduleenables the data generation platform to learn from past monitoring results and continuously refine its ability to detect and address issues by training the monitoring model (e.g., the validation model) on data that becomes available over time. In some implementations, the self-learning modulecan incorporate reinforcement learning algorithms (e.g., Q-learning or policy gradient methods) to improve the accuracy and consistency of its decision-making process. The AI training modulemodule trains the validation modelusing the enriched data of the data enrichment module, the synthetic data from the synthetic data enrichment module, and updated adjustments from the self-learning module.
1828 1830 1802 1830 1802 1804 1802 1802 1830 1828 1810 1806 1830 1828 1802 1832 1802 1832 1832 21 FIG. 21 FIG. The trained validation modeland the compliance and fairness modulecan be thought of as a part of the suite of monitoring models used to evaluate the artifact. In some implementations, the compliance and fairness modulecontains pre-trained models to evaluate the artifactfor compliance with the guidelines (e.g., policy sources). For example, the monitoring models can evaluate the artifact(e.g., an AI model's outputs) against predefined metrics. For example, the monitoring models can assess the quality, accuracy, and compliance of the generated artifactsusing methods discussed with reference to. The compliance and fairness modulecan be the same as the validation model, or a separate model to ensure that the AI model adheres to ethical guidelines and regulatory standards within the policy context extraction moduleand knowledge base. In some implementations, the suite of models including the compliance and fairness moduleand the validation modelcan monitor the artifactusing a changed architecture discussed with reference to. The evaluation reportcan be thought of as the compliance indicator of the artifact. In some implementations, the evaluation reportcan include confidence scores or other metrics to indicate the reliability of the output. The evaluation reportcan provide a summary of the monitoring and validation process, including any issues detected and the corrective actions suggested or taken.
19 FIG. 18 FIG. 1900 1808 1900 1802 1808 1812 1902 1900 is a block diagram illustrating an example architectureof the artifact observation platformof. Architecturecan ingest artifactvia artifact observation platform, which can include monitoring engineand validation models. Implementations of example architecturecan include different and/or additional components or can be connected in different ways.
1812 1802 1902 1902 1828 1830 1902 1902 1802 1802 1812 1802 1902 1812 1812 1902 21 FIG. The monitoring enginecan assess the artifactusing a suite of validation models, which include one or more types of AI models. Validation modelscan be the same as or similar to validation modelor model(s) within the compliance and fairness module. The validation modelscan be domain-specific and/or generic. Generic validation modelscan be used to evaluate the artifactagainst a series of common assessment metrics and standards, while domain-specific validation models can be tailored to specific types of artifactsor industries (e.g., trained on domain-specific data). For example, a generic validation model can assess the readability of text outputs or the accuracy of numerical data. Domain-specific validation models for the financial industry, for example, can evaluate the compliance of financial reports with regulations such as the SOX and/or FINRA guidelines. The monitoring enginecontinuously observes the AI model's outputs (e.g., artifacts) and uses the validation modelsto assess the artifact against various compliance and performance metrics. For example, the monitoring enginecan use a generic validation model to assess the readability of a text output and a domain-specific validation model to evaluate the compliance of a financial report with SOX regulations. Within the monitoring engine, there can be a suite of monitoring models, each determining the validation modelsto be used using different methods discussed with reference to(e.g., random, predefined intervals).
20 FIG. 18 FIG. 2000 2002 1812 2000 1812 2002 2004 2000 is a block diagram illustrating an example architectureof a suite of monitoring modelsin the monitoring engineof. Architectureincludes monitoring engine, monitoring models, and validation models. Implementations of example architecturecan include different and/or additional components or can be connected in different ways.
2002 2004 1828 2004 2002 2002 1802 1802 1802 2002 2002 1802 2002 1802 2004 2002 2004 1802 2004 2002 2002 2004 Each monitoring modelin the suite can have its own set of validation models(e.g., validation model) or share a single set of validation modelswith other monitoring models. The particular monitoring model(s)can be assigned to validate artifacteither randomly, based on predefined criteria, through a rotating schedule, and so forth. In some implementations, the assignment of monitoring models can be dynamic, adapting to the specific needs of the artifactbeing evaluated. For example, an artifactthat is image based can automatically be assigned a monitoring modelspecialized in image artifacts. Each monitoring modelcan validate the artifactusing different methods. For example, one monitoring modelcan validate the artifactusing a majority vote between the validation models, whereas another monitoring modelcan use a singular validation modelto validate the artifact. In some implementations, similarly to that of the validation models, the monitoring modelscan also be generic or domain-specific. The monitoring modelsand/or validation modelscan operate either in parallel or sequentially. When running in parallel, multiple models-whether identical or different-simultaneously analyze the same input data. In some implementations, different portions of the input data can be assigned to different models. On the other hand, when running sequentially, the models can operate individually or be arranged in an end-to-end pipeline where the output of one model serves as the input for the next.
1812 2002 2002 1812 2002 1802 1804 1812 2002 1812 2002 1802 1802 1812 18 FIG. 21 FIG. In a random assignment, the monitoring enginecan select a monitoring model(or multiple) from the suite of monitoring modelsat random to evaluate the artifact to ensure that the artifact is evaluated from different perspectives, reducing the risk of bias or overfitting. In a predefined assignment, the monitoring enginecan select a monitoring modelbased on specific criteria, such as the type of artifactand/or particular policy sources (e.g., policy sourcesin). For example, a financial report artifact can be evaluated by a monitoring model specialized in financial compliance, while a medical record artifact can be evaluated by a monitoring model focused on healthcare regulations. In a rotating assignment, the monitoring enginecan cycle through the suite of monitoring modelsto prevent any single monitoring model from being overfitted. In some implementations, the monitoring enginecan dynamically adapt the assignment of monitoring modelsbased on the specific needs of the artifactusing methods discussed with reference to. For example, if the artifactis a complex document with multiple sections, the monitoring enginecan assign different monitoring models to evaluate each section. Further, in some implementations, the system reduces overfitting by using k-fold cross-validation (i.e., dividing the dataset into k subsets and trains the model k times, each time using a different subset as the validation set), regularization techniques (i.e., L1 and L2 regularization to penalize large coefficients to prevent fitting noise, data augmentation (i.e., artificially expanding the training data by creating modified versions of existing data, feature selection (i.e., identifying and retaining only the most relevant features to reduce model complexity, dropout (i.e., randomly deactivating a fraction of neurons during training to prevent over-reliance on specific neurons, and/or ensembling techniques (e.g., such as bagging, stacking, and boosting to combine predictions from multiple models).
21 FIG. 5 FIG. 6 FIG. 1 17 FIGS.- 2100 2100 500 602 2100 2100 2100 is a flow diagram illustrating a processof dynamic multi-model monitoring and validation of a generative AI model. In some implementations, the processis performed by components of example devicesand computing devicesillustrated and described in more detail with reference toand, respectively. The processcan be performed using one or more components or methods described in. Specific models enumerated in the process, such as the first, second, and third set of models, can be the same as or different from each other (e.g., the first and second can be same, the first and second can be different, and so forth). Implementations of processcan include different and/or additional operations or can perform the operations in different orders.
2102 1802 1828 2004 In operation, a multi-model superstructure can receive, from a computing device, an output generation request including a prompt for generation of an output using the multi-model superstructure. The multi-model superstructure can include a first set of models and a second set of models. The first set of models can be thought of as the monitored model(s) generating the artifact (e.g., an output based on the prompt or other output generation request such as artifact). The models in the multi-model superstructure can include various types of generative models (e.g., language models, image generation models, data synthesis models). The second set of models can be thought of as the monitoring model(s) evaluating and validating the artifact generated by the first set of models (e.g., checking accuracy, detecting biases, ensuring compliance with regulations such as the validation modeland validating models). In some implementations, the multi-model superstructure can use a modular architecture to enable easy integration and replacement of models within the multi-model superstructure. Each model can be encapsulated within a microservice, which communicates with other microservices via APIs. Additionally, the multi-model superstructure can use containerization technologies, such as Docker, to package and deploy the models.
2104 In operation, the multi-model superstructure can supply the output generation request to one or more models of the first set of models to generate a set of model-specific outputs. The multi-model superstructure can determine which models of the first set to use based on the nature of the prompt, the desired output type, and/or the specific capabilities of each model. In some implementations, the multi-model superstructure can determine the most appropriate models from the first set of models to handle the output generation request using factors such as the complexity of the prompt, the historical performance of the models, and/or the specific requirements of the task. For example, if the prompt includes creating a visual representation, the multi-model superstructure can select an image generation model.
In some implementations, the multi-model superstructure can use a load balancer to distribute the output generation request across multiple models in the first set of models. The load balancer can dynamically allocate resources based on the current workload of each model to prevent any single model from becoming a bottleneck. In some implementations, the multi-model superstructure can use a parallel processing framework to supply the output generation request to multiple models simultaneously. The multi-model superstructure can aggregate the model-specific outputs into a single output. For example, if the prompt involves generating a multi-faceted report, different sections of the report can be generated by different models in parallel, and the multi-model superstructure can combine these sections into a final document. In some implementations, the multi-model superstructure can use a cascading model architecture, where the output of one model in the first set of models is used as the input for another model. For example, an initial language model can generate a rough draft of a document, and a subsequent model can refine the language and improve the coherence of the text.
2106 1608 16 FIG. In operation, the multi-model superstructure can dynamically route, by the multi-model superstructure, a set of artifacts (e.g., the model-specific outputs) of the first set of models to one or more models of the second set of models. For example, the multi-model superstructure can determine a set of dimensions (e.g., test categoryin) of the set of model-specific outputs in which the set of model-specific outputs will be evaluated against. Dimensions can be thought of as the specific aspects or attributes of the artifact that need to be evaluated. For example, in the case of a text document, dimensions can include grammar, style, factual accuracy, coherence, and/or relevance. In the case of a financial report, dimensions can include compliance with financial regulations and/or accuracy of numerical data. In some implementations, the multi-model superstructure can use a predefined set of dimensions based on the type of artifact. For example, a legal document can have predefined dimensions such as legal compliance, clarity of language, and/or logical consistency. In some implementations, the multi-model superstructure can enable users to specify the dimensions that need to be evaluated. Users can provide a list of dimensions and/or the specific criteria for each dimension.
To dynamically determine a dimension from an artifact, the multi-model superstructure can parse the artifact using tokenization and part-of-speech tagging to break down the text into smaller components. For text-based artifacts, the multi-model superstructure can use NLP models that use word embeddings, which are dense vector representations of words that capture semantic and syntactic meanings based on context. For example, the word “bank” can have different embeddings in the contexts of “river bank” and “financial bank.” The multi-model superstructure can apply clustering algorithms, such as k-means or hierarchical clustering, to group similar features and identify common themes or dimensions. Additionally, supervised ML models, trained on labeled datasets, can predict relevant dimensions based on the artifact's characteristics and historical data. For instance, a labeled dataset for text classification can include particular words or phrases and their corresponding guidelines. The multi-model superstructure can use the labeled datasets to train models to recognize and predict dimensions such as criteria within relevant guidelines. In some implementations, the multi-model superstructure can use a hierarchical approach to determine the dimensions of the artifact. The multi-model superstructure can start with high-level dimensions and progressively refine the dimensions into more specific sub-dimensions. For example, a high-level dimension for a text document can be compliance with a broader guideline which can be further refined into sub-dimensions such as narrower organizational-specific guidelines.
In some implementations, criteria from relevant guidelines are used to determine the dimensions of the artifact. The relevant guidelines can be predetermined, or dynamically determined based on the artifact. To dynamically determine relevant guidelines for an artifact, the multi-model superstructure can evaluate metadata tags, keywords, or categories associated with stored guidelines to filter and retrieve those pertinent to the specific context and requirements of the application. Using NLP, the multi-model superstructure can parse the text of the guidelines to identify key terms and phrases that denote regulatory obligations, such as “patient privacy” for healthcare applications. The terms can act as filters to exclude non-relevant guidelines. Additionally, guidelines can be stored in vector space, allowing the multi-model superstructure to calculate the similarity between vectors representing domain-specific terms and other related terms, applying a similarity threshold to filter out insufficiently similar terms.
For each particular dimension in the determined set of dimensions, the multi-model superstructure can determine the one or more models of the second set of models used test the particular dimension. The multi-model superstructure can include a third set of models used to dynamically route the artifacts to the second set of models. The third set of models can be interchangeable with the second set of models, meaning that sometimes the third set of models can be used to validate the artifact, and sometimes the second set of models can be used to validate the artifact.
In some implementations, the models in the multi-model superstructure include 1) general-purpose models and/or 2) domain-specific models. The artifacts can be routed to the one or more models of the second set of models trained on data sharing a common domain with one or more artifacts of the set of artifacts. The domain can indicate 1) an area of knowledge, such as healthcare or finance, 2) a data type, such as text, image, or numerical data, 3) a guideline type, such as regulatory compliance or industry standards, and/or 4) a type of task, such as classification, prediction, or summarization. The multi-model superstructure can categorize/tag the artifacts from the first set of models based on the artifact's domain's characteristics (e.g., keywords identified using NLP). For instance, if the artifact is a text document related to healthcare, it is tagged with the “healthcare” domain. The multi-model superstructure can use the tags to route the artifacts to the models in the second set.
The models in the first, second, and/or third set can be trained to execute specific types of tasks through transfer learning, where a pre-trained model is adapted to a specific task using a smaller, task-specific dataset. Transfer learning uses the knowledge gained from a large, general-purpose dataset to improve performance on a related but more specialized task. For example, a pre-trained language model like BERT, initially trained on a vast corpus of general text, can be fine-tuned on a specialized dataset including financial regulations, compliance guidelines, and historical compliance reports by adjusting the model's weights and parameters to improve interpretation of the specific language and requirements of financial compliance documents. The adapted model can perform tasks such as identifying non-compliant sections in financial reports, extracting regulatory requirements, and/or suggesting modifications to ensure compliance.
In some implementations the one or more models of the second set of models are determined randomly to introduce variability. By randomly selecting models from the second set, the multi-model superstructure can avoid potential biases that can arise from consistently using the same models. The random selection process can be implemented using algorithms such as random sampling or stochastic processes to ensure that each model in the second set has an equal probability of being chosen. The random determination can be combined with other selection criteria, such as performance metrics or resource availability, to balance randomness with practical considerations.
In some implementations, the multi-model superstructure can establish a predefined schedule to change the one or more models in the second set of models. The predefined schedule can be established using time intervals, such as changing models every hour or day, and/or a number of output generation requests processed, such as switching models after every 400 requests. Using the predefined schedule, the multi-model superstructure can determine the one or more models of the second set of models. By adhering to this schedule, the multi-model superstructure ensures that different models are periodically utilized, which can help in balancing the load, preventing model overfitting, and introducing variability in the outputs. The scheduling algorithm used can be, for example, a round-robin scheduling algorithm that assigns a fixed time slice to each model in a cyclic order. A weighted round-robin algorithm can allocate more processing time to higher-performing models based on assigned weights. Further, the scheduling algorithm used can include priority scheduling to ensure that preferred models are used more frequently by assigning them higher priority levels. Least Recently Used (LRU) scheduling can be used to ensure periodic usage of all models by selecting the model(s) that have been used the least recently. Dynamic scheduling can adjust the shifting of the models based on real-time metrics such as model performance and system load.
In some implementations, the multi-model superstructure can dynamically select the one or more models of the second set of models using the third set of models and using dimension-specific features of the particular dimension being evaluated. For instance, if the dimension being evaluated is related to financial data, the third set of models can extract features such as transaction types, regulatory requirements, and market conditions. The features can be used to match the artifact with models in the second set that are specifically trained on similar financial datasets. The selection process can be implemented (e.g., using the third set of models) using machine learning algorithms, such as decision trees, which are a type of supervised learning algorithm that splits the data into branches based on feature values, ultimately leading to a decision node that indicates the most suitable model. Alternatively, the third set of models can map the artifact to the most suitable model(s) in the second set by minimizing a loss function, which measures the difference between the predicted and actual model selections. When a new artifact is received, the multi-model superstructure can input certain features (e.g., artifact type, artifact timestamp, artifact location, last used models in the second set, predefined schedules, metadata of capabilities and specializations of models in the second set, other metadata, and so forth) into the trained third set of models, which then predicts the most suitable model(s) from the second set of models to use to validate the artifact. Dynamically determining the monitoring models enables the multi-model superstructure to use, for example, different monitoring models on different artifact types (e.g., format, domain such as technical field) depending on the monitoring model's performance (e.g., better performing monitoring models for a particular artifact type is used on the particular artifact).
In addition to dynamically selecting models based on dimension-specific features, the multi-model superstructure can vary the monitoring models using dynamic balancing based on model performance metrics such as latency, accuracy, and/or precision. For instance, monitoring models with lower latency and higher accuracy can be prioritized for real-time applications, while those with higher precision can be selected for tasks executed by higher risk applications. Furthermore, the superstructure can use previous results by clustering artifacts with similar characteristics and thus select monitoring models that have historically performed well on similar artifacts.
2108 In operation, the second set of models can, for each particular dimension in the determined set of dimensions, evaluate each particular model-specific output of the set of model-specific outputs against a set of assessments to determine satisfaction of the particular model-specific output with a corresponding set of assessment metrics of each assessment. In some implementations, the set of assessments are predefined for each dimension. In some implementations, the multi-model superstructure dynamically maps assessments to the particular dimensions. For example, the multi-model superstructure can evaluate historical data and identify patterns that indicate which metrics are most related for different types of artifacts and/or determined dimensions. For example, clustering algorithms like K-means can group similar artifacts/dimensions and identify common characteristics. In some implementations, the multi-model superstructure can use a rules engine to define and manage the logic for dynamically selecting assessment metrics. The rules engine can evaluate the artifact and/or dimensions, and apply predefined rules to determine the most appropriate metrics. For example, a rule can state that if the artifact is related to financial transactions, the system prioritizes accuracy and compliance metrics.
Once the assessment metrics are defined, the system can implement a scoring mechanism to evaluate each artifact, such as a model-specific output. For instance, a rule-based system can apply predefined rules to check if the artifact meets the required assessment metric values. In some implementations, the system can use ensemble methods to combine the evaluations from multiple models in the second set of models. For example, the multi-model superstructure can use multiple models trained different subsets of the data and average their predictions.
In some implementations, the second set of models can construct the set of assessments including a set of seed assessments testing the particular dimension of the particular model-specific output against threshold values of the corresponding set of assessment metrics. For example, in a financial context, seed assessments can include checks for basic accuracy, compliance with the broadest regulations, and initial risk assessments. The threshold values for these metrics can be established based on industry standards, regulatory requirements, and historical performance data. The second set of models can compare values of the corresponding set of assessment metrics of the particular model-specific output with the threshold values of the corresponding set of assessment metrics by calculating the actual values of the assessment metrics for the output and checking whether the values satisfy the predefined thresholds. For example, the system can check that all PII, such as names, addresses, social security numbers, and other sensitive information, is properly anonymized or pseudonymized in the artifact.
Using the comparison, the second set of models can generate a set of seed assessment results indicating a degree of satisfaction of the particular model-specific output with the threshold values of the corresponding set of assessment metrics of the set of seed assessments. The degree of satisfaction can be represented using various scales, such as binary (e.g., pass/fail, 0/1), categorical (e.g., high/medium/low, one through five), or continuous (e.g., percentage or score).
Using the set of seed assessment results, the second set of models can dynamically construct a set of subsequent assessments within the set of assessments constructed subsequent to the set of seed assessments. For example, if the seed assessments indicate that the output meets basic accuracy requirements but falls short in financial compliance, the subsequent assessments can include more detailed financial compliance checks, such as verifying adherence to specific regulatory clauses or conducting a more detailed risk analysis. The second set of models can apply the set of subsequent assessments of the set of assessments to the particular model-specific output to generate a set of overall assessment results based on a degree of satisfaction of the particular model-specific output with the threshold values of the assessment metrics of: (i) the set of seed assessments and (ii) the set of subsequent assessments. The overall assessment results can be aggregated using various techniques, such as weighted averaging, where more prioritized metrics are given higher weights.
In some implementations, the multi-model superstructure can determine whether the particular model-specific output fails to satisfy one or more particular assessment metrics of the set of assessments using a majority vote between the one or more models of the second set of models. Each model in the second set of models can independently evaluate the artifact against the predefined assessment metrics. A majority voting mechanism is applied to decide whether the artifact meets the criteria of the dimensions. For instance, if three models are used and two of them determine that the output fails to meet a specific compliance metric, the majority vote can indicate a failure for that metric, reducing the likelihood of errors and biases that might occur if a single model were used.
2110 In operation, responsive to the set of assessment results of a particular model-specific output failing to satisfy one or more threshold values of the corresponding set of assessment metrics of the set of assessments, the second set of models can generate a set of actions to add a set of pre-loaded query context to the output generation request indicated by the particular assessment metrics. For example, if the assessment results indicate that the artifact fails to comply with certain regulatory requirements, the second set of models can augment the original request with additional context or queries that target these specific issues. This pre-loaded query context can include supplementary data, clarifying questions, or specific instructions to generate a new artifact that better complies with the threshold values of the corresponding set of assessment metrics.
The generated set of actions include any task, computer-executable or not, to improve the degree of satisfaction of the artifact with the threshold values of the assessment metrics. For instance, the actions can include additional data validation steps, where the system cross-references the artifact with external databases to ensure data accuracy and integrity. Another action can be enrichment, where additional data is fetched and integrated into the artifact directly (e.g., adding a required clause that was not identified in a contract) and/or the first set of models (e.g., identifying bias from the artifact and thus adding a weight into the model to bias the prediction a certain direction to remove the bias). The system can further trigger formatting and standardization actions to ensure that the artifact adheres to specific presentation guidelines or regulatory formats. The system can further initiate review and approval processes, where the artifact is routed to subject matter experts for manual validation and feedback (e.g., human-in-the-loop).
In some implementations, using the generated set of actions, the multi-model superstructure can update the output generation request by automatically triggering an automated workflow indicated by the generated set of actions. The automated workflow can include executing the generated set of actions. For example, the multi-model superstructure can define the generated set of actions as discrete steps within a workflow definition file. The workflow definition specifies each step's action and parameters, such as querying a database, using NLP to generate clarifying questions, and/or updating the request with the new context. Once the workflow definition is created, a workflow engine (e.g., APACHE AIRFLOW, AWS STEP FUNCTIONS) can execute each step in the defined sequence. As each step is completed, the workflow engine can update the state of the workflow and passes the intermediate results to the next step.
1832 1832 In some implementations the multi-model superstructure can automatically take corrective measures on both the model output and the monitored model that generated the output, based on the compliance indicators in the evaluation report. For example, if the evaluation reportindicates non-compliant results, the superstructure can modify the input data of the monitored model(s) to drive desired changes, such as adjusting data distributions or incorporating additional data sources (i.e., knowledge bases). Additionally, the superstructure can initiate a retraining process for the monitored model(s) to guide the selection of new training data that addresses the indicated issues. For example, the superstructure can retrain the monitored model(s) with reduced or different input variables to eliminate those contributing to non-compliance.
For example, using the updated output generation request, the multi-model superstructure can supply the updated output generation request to the one or more models of the first set of models to generate a set of updated model-specific outputs. The second set of models can re-evaluate each particular updated model-specific output of the updated model-specific outputs against the set of assessments to determine satisfaction of the particular updated model-specific output with the corresponding set of assessment metrics of each assessment.
In some implementations, the set of model-specific outputs is a first set of model-specific outputs. The multi-model superstructure can provide the output generation request loaded with the pre-loaded query context to the one or more models of the first set of models to generate a second set of model-specific outputs. Responsive to the second set of model-specific outputs satisfying each assessment metrics of the set of assessments, the multi-model superstructure can automatically transmit, to the computing device, the second set of model-specific outputs.
In some implementations, for each particular artifact of the set of artifacts, the multi-model superstructure can generate for display on the computing device, a layout indicating the set of assessment results. The layout can include a first representation of the particular artifact (e.g., model output, document, report, data visualization) and a second representation of the corresponding set of actions generated. The second representation can be displayed as a graphical representation, a list and/or a flowchart, showing one or more of the generated actions.
Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,” “comprising,” and the like are to be construed in an inclusive sense, as opposed to an exclusive or exhaustive sense—that is to say, in the sense of “including, but not limited to.” As used herein, the terms “connected,” “coupled,” and any variants thereof mean any connection or coupling, either direct or indirect, between two or more elements; the coupling or connection between the elements can be physical, logical, or a combination thereof. Additionally, the words “herein,” “above,” “below,” and words of similar import, when used in this application, refer to this application as a whole and not to any particular portions of this application. Where the context permits, words in the above Detailed Description using the singular or plural number can also include the plural or singular number, respectively. The word “or,” in reference to a list of two or more items, covers all of the following interpretations of the word: any of the items in the list, all of the items in the list, and any combination of the items in the list.
The above Detailed Description of examples of the technology is not intended to be exhaustive or to limit the technology to the precise form disclosed above. While specific examples for the technology are described above for illustrative purposes, various equivalent modifications are possible within the scope of the technology, as those skilled in the relevant art will recognize. For example, while processes or blocks are presented in a given order, alternative implementations can perform routines having steps, or employ systems having blocks, in a different order, and some processes or blocks can be deleted, moved, added, subdivided, combined, and/or modified to provide alternative or sub-combinations. Each of these processes or blocks can be implemented in a variety of different ways. Also, while processes or blocks are at times shown as being performed in series, these processes or blocks can instead be performed or implemented in parallel or can be performed at different times. Further, any specific numbers noted herein are only examples; alternative implementations can employ differing values or ranges.
The teachings of the technology provided herein can be applied to other systems, not necessarily the system described above. The elements and acts of the various examples described above can be combined to provide further implementations of the technology. Some alternative implementations of the technology can include additional elements to those implementations noted above or can include fewer elements.
These and other changes can be made to the technology in light of the above Detailed Description. While the above description describes certain examples of the technology, and describes the best mode contemplated, no matter how detailed the above appears in text, the technology can be practiced in many ways. Details of the system can vary considerably in its specific implementation while still being encompassed by the technology disclosed herein. As noted above, specific terminology used when describing certain features or aspects of the technology should not be taken to imply that the terminology is being redefined herein to be restricted to any specific characteristics, features, or aspects of the technology with which that terminology is associated. In general, the terms used in the following claims should not be construed to limit the technology to the specific examples disclosed in the specification, unless the above Detailed Description section explicitly defines such terms. Accordingly, the actual scope of the technology encompasses not only the disclosed examples but also all equivalent ways of practicing or implementing the technology under the claims.
To reduce the number of claims, certain aspects of the technology are presented below in certain claim forms, but the applicant contemplates the various aspects of the technology in any number of claim forms. For example, while only one aspect of the technology is recited as a computer-readable medium claim, other aspects can likewise be embodied as a computer-readable medium claim, or in other forms, such as being embodied in a means-plus-function claim. Any claims intended to be treated under 35 U.S.C. § 112(f) will begin with the words “means for,” but use of the term “for” in any other context is not intended to invoke treatment under 35 U.S.C. § 112(f). Accordingly, the applicant reserves the right after filing this application to pursue such additional claim forms, either in this application or in a continuing application.
From the foregoing, it will be appreciated that specific implementations of the invention have been described herein for purposes of illustration, but that various modifications can be made without deviating from the scope of the invention. Accordingly, the invention is not limited except as by the appended claims.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
October 20, 2025
June 9, 2026
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.