Point-in-time encoded representation mapping using state change vectors
By using state change vectors and sequences of state change labels, the method efficiently identifies similar network resources across event histories, addressing inefficiencies in existing methods and improving model training while reducing costs and enhancing privacy.
Patent Information
- Application Number
- US19/216655
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2026-11-26
AI Technical Summary
Existing methods for identifying similar network resources are inefficient and resource-intensive, particularly when considering historical encoded representations, leading to a large number of database operations and computations, and they do not account for the dynamic nature of network resources over time.
Implementing state change vectors and sequences of state change labels to filter and group network resources based on their historical behavior, reducing the search space for similar resources by leveraging simulated event data generation.
This approach allows for faster and more accurate identification of similar network resources across event histories, enhancing privacy, improving model training, and reducing computational and storage costs while maintaining accuracy.
Smart Images

Figure US20260379726A1-D00000_ABST
Abstract
Description
BACKGROUND
[0001] Encoded representations, such as embeddings, can be used to represent static sequences (e.g., text data, time series data, etc.). Similar encoded representations can be identified by computing similarity metrics. These encoded representations capture patterns and other behavior of the network resource.SUMMARY
[0002] Methods and systems are described herein for novel uses and / or improvements to the field of machine learning and data processing. As an example, these methods and systems provide improved techniques for identifying similar network resources using point-in-time searching. As a result of these improvements, fewer database operations, such as API calls, and complex computing operations, such as resource-intensive encoded representation comparisons, similar network resources can be identified faster, with greater accuracy, and across all event histories. Furthermore, similar network resources can be used to generate simulated event data that reduces the risk of data exposure while retaining key network resource behaviors.
[0003] To determine whether two network resources are similar to one another, a similarity metric, such as a distance metric, can be used to calculate a distance between those network resources' respective encoded representations (e.g., embeddings). API calls to databases storing the encoded representations are made to retrieve the encoded representations. Using the encoded representations and similarity metric, a similarity determination can be made for the network resources. As the number of network resources available for similarity metric computations increases, the number of database operations (e.g., API calls to encoded representation databases) and computing resources consumed (e.g., virtual machines to process the similarity metrics for pairs of encoded representations) also increases.
[0004] In a simplistic case, each network resource would include a single encoded representation. For example, an encoded representation of a most current sequence of events associated with a network resource could be used to approximate a current “state” of the network resource. However, network resources can change states over time. Therefore, when trying to identify the most “similar” network resources for a given target network resources, a more accurate matching can be performed if historical encoded representations are considered. Unfortunately, this leads to additional technical problems when identifying similar network resources in that the number of API calls made and the number of computations performed now scales with the number of network resources and the number of events associated with each network resource.
[0005] To solve these and other technical problems, described herein are technical solutions for filtering network resources to reduce the search space for identifying similar network resources while also enabling point-in-time searching across event histories of network resources. Two separate processes can be implemented, separately or together, to execute these novel point-in-time searches: state change vectors and sequences of state change labels. These processes can be leveraged to generate simulated event data that represents similar network resources for a given target network resource that is more secure while also more robust.
[0006] State change vectors can include binary elements respectively associated with events from a sequence of events. For every event in the sequence of events of a network resource, a binary element in a sequence of binary elements represented by the state change vector can be included. These binary elements may indicate whether a corresponding event is a state change event. For instance, if the element is assigned a first value, such as a logical 1, then this can indicate that the event is a state change event. Conversely, if the element is assigned a second value, such as a logical 0, this can indicate that the event is not a state change event. As described herein, a state change event refers to an event that causes a shift in a computing state classification of a corresponding network resource. The state change event may be associated with a change in classification of an encoded representation. The computing state of the network resource changing in response to the sequentially subsequent event occurring, can refer to as a state change event.
[0007] Sequences of state change labels can indicate different sequences of computing states that a network resource transitions through during their event history. A network resource's computing state classification can change in response to the occurrence of an event, such as a state change event. Different from the state change vectors described above, which indicate whether each event in a sequence of events is a state change event, the sequences of state change labels indicate the particular types of computing state changes a network resource experiences. As an example, a network resource at a first time may include a first sequence of events (e.g., e1, e2, e3, e4) representing events associated with the network resource at the first time. An encoded representation of the first sequence of events can be generated and classified into a first computing state, which may be assigned a first classification label (e.g., L1). In response to the occurrence of a sequentially “next” event, e5, at a second time (after the first time), the sequence of events can be updated (e.g., e1, e2, e3, e4, e5) that include all of the events. If an encoded representation of the second sequence of events is classified into a second computing state, then this can indicate that event e5 is a state change event. If, for instance, a second classification label (e.g., L2) is assigned to the event, then an element can be added to a sequence of state change labels for the network resource representing the change in classification labels / computing state. In some embodiments, a state change label can be assigned to indicate the particular change in computing state associated with the state change event. For example, for event e5, an element can be added to the sequence of state change labels indicating that the network resource underwent a computing state classification change, where the element is assigned a state change label indicating the computing state classification change. As an example, the state change label S12 can indicate that a network resource changed from the first computing state (e.g., first classification label L1) to the second computing state (e.g., second classification label L2).
[0008] In some embodiments, when a request to identify similar network resources for a given target network resource is received, information associated with the target network resource may be retrieved and / or generated. For example, event data representing a sequence of events of the target network resource (at a current time), an encoded representation of the sequence of events, a state change vector for the network resource, and / or a sequence of state change labels for the network resource may be retrieved, updated, or created (if not already available). The state change vector may be grouped into a data bucket including other state change vectors having similar sequences of binary elements as that of the target network resource. The sequence of state change labels can be grouped into a data bucket including other sequences of state change vectors that include at least a portion of the sequence of state change labels of the target network resource. Based on the data buckets into which the state change vector and / or sequence of state change labels are grouped, encoded representations of the similarly grouped state change vectors and sequences of state change labels may be retrieved for similarity calculations. These encoded representations refer to the various network resources at various points in time in those network resources' event histories. For example, using the encoded representations of the state change vectors grouped into the data bucket, similarity scores can be computed with respect to the target network resource's encoded representation. Similarity scores satisfying a similarity threshold condition, such as the similarity being greater than or equal to a threshold similarity score, may be selected as being similar to the target network resource. Thus, network resources who, at other points in time, exhibited similar behaviors as a target network resource at another time, can be quickly and efficiently identified, without excess API calls for encoded representations or similarity computations being performed.
[0009] In some embodiments, event data of the similar network resources (i.e., identified using the state change vectors and / or sequences of state change labels described above) can be used to generate simulated event data. The simulated event data can be used for a variety of downstream tasks including, for example, training prediction models. Generating simulated data by identifying similar network resources offers several key benefits that make it a valuable tool across various domains. One of the primary advantages is its ability to enhance privacy. By generating simulated data, it reduces the risk of exposing sensitive or personally identifiable information while still maintaining the ability to create realistic simulations. This is particularly important in industries like healthcare, finance, and telecommunications, where privacy is a top concern. Another benefit is that it can significantly improve model training. When real data is scarce or imbalanced, simulated data provides a way to augment the dataset, making it more diverse and representative, which leads to better-performing models. Furthermore, generating simulated data can solve cold-start problems, particularly in recommendation systems for network resources. By identifying similar network resources, it is possible to generate simulated behaviors or preferences for new resources with minimal interaction with the system, allowing for customized recommendations from the outset. Additionally, simulated data is cost-effective because it can be generated at scale without the need to gather real-world data, thus reducing the costs associated with data collection and storage. In summary, the ability to generate simulated data based on similar network resources offers substantial advantages, such as enhancing privacy, improving model training, addressing cold-start issues, and providing a more cost-effective alternative to relying solely on real data. These benefits make it a powerful tool for applications in recommendation systems, resource management, privacy-preserving analytics, and other areas facing challenges like data scarcity, privacy concerns, and the need for robust model training.
[0010] In some embodiments, aspects for updating network configurations of a target network resource based on network resources at various points in time determined to have similar state change vectors as the target network resource at another point in time are described. For example, at a first time, a request to update first network configurations of a first network resource may be received. A first encoded representation of a sequence of events associated with the first network resource at the first time and a state change vector comprising a sequence of binary elements respectively associated with the sequence of events may be retrieved. The first encoded representation may be grouped into a data bucket comprising encoded representations of other network resources at different times having state change vectors similar to the state change vector of the first network resource. Second network configurations of a second network resource associated with a second encoded representation from the encoded representations determined to satisfy a threshold similarity condition with respect to the first encoded representation may be retrieved and, based on the second network configurations, the first network configurations may be updated.
[0011] 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 “of” means “and / of” 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.BRIEF DESCRIPTION OF THE DRAWINGS
[0012] FIG. 1 shows an illustrative diagram of an example system for identifying network resources that, at various times, are similar to a target network resource at another time, in accordance with one or more embodiments.
[0013] FIG. 2 shows an illustrative diagram of a process for generating encoded representations and classifications thereof, in accordance with one or more embodiments.
[0014] FIGS. 3A-3D show illustrative diagrams of example event data of different network resources at different times, encoded representations representing the event data, state change vectors associated with the encoded representations, and sequences of state change labels associated with the encoded representations, in accordance with one or more embodiments.
[0015] FIG. 4 shows an illustrative diagram of an example process for identifying network resources at various times that are similar to a target network resource at a first time based on state change vectors associated with the network resources and the target network resource, in accordance with one or more embodiments.
[0016] FIG. 5 shows an illustrative diagram of an example process for identifying network resources at various times that are similar to a target network resource at a first time based on sequences of state change labels associated with the network resources and the target network resource, in accordance with one or more embodiments.
[0017] FIG. 6 shows an illustrative diagram of an example system for generating simulated event data for training a prediction model based on event data of one or more network resources determined to be similar to a target network resource, in accordance with one or more embodiments.
[0018] FIG. 7 shows illustrative components of a system used to identify network resources that, at various times, are similar to a target network resource at another time, in accordance with one or more embodiments.
[0019] FIG. 8 shows a flowchart of an example process for generating simulated event data, in accordance with one or more embodiments.
[0020] FIG. 9 shows a flowchart of an example process for adjusting network configurations of a target network resource at a given time based on one or more network resources that, at other times, have similar state change vectors, in accordance with one or more embodiments.
[0021] FIG. 10 shows a flowchart of an example process for adjusting network configurations of a target network resource at a given time based on one or more network resources that, at other times, have similar sequences of state change labels, in accordance with one or more embodiments.DETAILED DESCRIPTION OF THE DRAWINGS
[0022] In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It will be appreciated, however, by those having skill in the art that the embodiments of the invention may be practiced without these specific details or with an equivalent arrangement. In other cases, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the embodiments of the invention.
[0023] FIG. 1 shows an illustrative diagram of an example system 100 for identifying network resources that, at various times, are similar to a target network resource at another time, in accordance with one or more embodiments. Example system 100 of FIG. 1 may also be leveraged to determine reference network configurations of a reference network resource that are most similar to target network configurations of a target network resource. Network parameter updates to the target network resource's network configurations may be made based on the reference network configurations. System 100 may determine network resources that are similar to a target network resource using multiple techniques, including, for example, state change vectors indicating whether a given event in a sequence of events represents a state change event and / or sequence mining for network resources having similar sequences of state change labels.
[0024] System 100, in some embodiments, may include a computing system 102. System 100 may also include one or more network resources 104-1 thru 104-N (collectively referred to as “network resources 104” and individually referred to as “network resource 104” unless otherwise specified). System 100 may still further include databases 130. Databases 130, for example, may include an event data database 132, an encoded representation database 134, a state change vector database 136, a state change label sequence database 138, or other databases. Although some components of system 100 are depicted as single elements, persons of ordinary skill in the art will recognize that multiple instances of components may be included.
[0025] Network resources 104 include systems, devices, services, or other sources available via a computing network (e.g., the Internet, a private Intranet, etc.) to client devices, applications executing on the client devices, network resources, and / or users via the applications. Some example network resources include computing servers (e.g., where computing services, file storage, or other functionalities, are available via the computing servers), storage devices (e.g., shared storage devices, such as Network-Attached Storage (NAS) and / or a Storage Area Network (SAN) can be used to store data and access stored data via a computing network), network devices (e.g., routers, network switches, firewalls, hubs, etc., used for managing and maintaining network traffic and connectivity), applications (e.g., software servers hosted on networks such as email services, cloud-based services, and the like), databases, such as databases 130, (e.g., where data storage is accessed over a network), virtual computing machines (e.g., the quantity / amount of virtual computing resources available over a network), security resources (e.g., network intrusion protection devices, virtual private networks (VPNs), etc.), and the like.
[0026] In some embodiments, events associated with network resources may correspond to occurrences or actions that are detected within a network, and further which can be logged, monitored, and responded to. In general, an event refers to any interaction of a given network resource with another component of system 100, or other component. These events may be related to changes, errors, activities, or other actions associated with network resources (e.g., devices, services). As an example, if network resource 104 corresponds to a client device (e.g., a mobile device), an event may refer to a network disconnection event. When that event occurs, a notification may be provided from network resource 104 to computing system 102 to indicate that the event occurred, as well as to store and track information associated with the event and responses, if any, made to the event. As another example, if network resource 104 corresponds to a virtual machine, the event may include the virtual machine being spun up or down. As yet another example, if network resource 104 refers to a user account (e.g., storage account, electronically controlled asset account, etc.), then the event may include data access attempts to access one or more services, data items, applications, or the like, using the user account. Some other example events include requests (e.g., HTTP requests) submitted by a network resource. For instance, network resource 104 may submit a request to update network configurations. As another example, the events associated with a network resource may include touchpoints of a given network resource with a service or service provider (e.g., a data storage service, a cloud-based application service, a communications service, a financial service, etc.).
[0027] Network resources 104 may have network configurations defining how the network resource operated within system 100 (or within another network). Network configurations can refer to the settings, parameters, and arrangements of the network resource. Proper configuration of network resources allows for safe, secure, and reliable data communication and exchange across a network, such as network 150 (e.g., the Internet). As an example, if network resource 104 corresponds to a router, server, or firewall, the network configurations can define how these network resources interact with other network resources. Some example network configurations may include, IP addressing configurations, routing configurations, firewall configurations, DNS server configurations, load balancer configurations, server configurations, and the like. Network configurations can help optimize performance, security, scalability, and reliability, ensuring that system 100 can support the needs of network resources 104, as well as client devices and / or applications, effectively.
[0028] As an illustrative example, if network resource 104 corresponds to a web server, the network configurations may include configurations for how web pages are served to clients, how HTTP requests are handled (i.e., entitlement policies), security settings, and the like. As another illustrative example, if network resource 104 corresponds to a database server, the network configurations may include parameters such as storage capacity, replication, indexing, and / or others.
[0029] Computing system 102 may include one or more subsystems, such as, for example, a pre-processing subsystem 112, a vector generation subsystem 114, a label generation subsystem 116, a resource configuration subsystem 118, a simulated data generation subsystem 120, or other components, or combinations thereof. Each of pre-processing subsystem 112, vector generation subsystem 114, label generation subsystem 116, resource configuration subsystem 118, and simulated data generation subsystem 120 may include hardware, software, or a combination thereof, used to execute specific computing tasks to effectuate particular operations, as described herein. In some embodiments, one or more of pre-processing subsystem 112, vector generation subsystem 114, label generation subsystem 116, resource configuration subsystem 118, and / or simulated data generation subsystem 120 may be implemented using an external device, database, and / or server. Furthermore, in some cases, one or more operations of pre-processing subsystem 112, 6vector generation subsystem 114, label generation subsystem 116, resource configuration subsystem 118, and / or simulated data generation subsystem 120 may be implemented using network resources 104.
[0030] Pre-processing subsystem 112 may be configured to generate event data associated with network resources 104, encoded representations of the event data, and classifications for the encoded representations, amongst other operations. In some cases, pre-processing subsystem 112 may collect the event data from another service, source, or device, such as from particular network resources with which a given event occurs. In such scenarios, the event data may be retrieved and used by pre-processing subsystem 112 to generate encoded representations, classify the encoded representations, and / or perform other actions.
[0031] As an example, with reference to FIG. 2, process 200 may describe one example aspect of pre-processing subsystem 112 where encoded representations are generated and used to determine classifications of the event data / encoded representation, as well as assign classification labels thereto. Process 200 may include, for example, event data 210, which may be retrieved from an event data database, such as event data database 132 of FIG. 1.
[0032] Event data database 132 may store event data associated with different network resources 104. As an example, with reference to FIG. 3A, event data 300 may be stored in event data database 132. Event data 300 may include event data associated with one or more network resources (e.g., network resources 104 of FIG. 1). Event data 300 may include sequences of events associated with those network resources. For example, as illustrated in FIG. 3A, Network Resource 1 may include a first event, e11, which occurred at time T11. In some examples, the first event may refer to a creation or instantiation of the network resource (e.g., network resource 1). Thus, based on the occurrence of the first event at the first time (e.g., event e11 at time T11), a first sequence of events (e.g., assigned sequence identifier SeqEvents 11) associated with the first network resource (e.g., Network Resource 1) may include the first event. Similarly, for the other network resources whose event data 300 is stored in event data database 132, the first sequence of events may include a single event (e.g., a first sequence of events of a second network resource, Network Resource 2, may include a first event e21 occurring at time T21). As a network resource has more events occurring, those events can be sequentially added to the sequence of events stored for the network resource. For example, Network Resource 1 may include multiple sequences of events: a first sequence of events including first event e11 occurring at time T11 (e.g., {e11}), a second sequence of events including the first event and a second event e12 occurring at time T12 (e.g., {e11, e12}), and so on (i.e., the N-th sequence of events may be {e11, e12, . . . , e1N}).
[0033] In some examples, the sequence of events may store event information and / or temporal information for each event. For example, each sequence of events may include event information providing context about a given event added to the sequence, such as what the event corresponds to, the computing devices involved, actions performed, and the like. The event data may include one or more text strings, images, videos, or other input data formats. Furthermore, temporal information for each event in a sequence may indicate when that event occurred. Additional information, such as relative timing between consecutive events or between an event and another particular event, geographic information associated with the events, and the like, may also be stored by event data 300.
[0034] While each network resource shown includes N events in their respective sequence of events, persons of ordinary skill in the art will recognize that the number of events associated with the network resources may differ. Furthermore, the times that different events occurred may vary. For example, time T11 when first event e11 occurred for network resource 1 may be a different time than time T21 when first event e21 occurred for network resource 2. The amount of time between consecutive events for the various sequences of events may also vary. For example, for a given network resource, the amount of time between times T1(j−1) and T1j respectively for events e1(j−1) and e1j may differ from the amount of time between times T1j and T1(j+1) respectively for events e1j and e1(j+1). Furthermore, the amount of time between events of different network resources may also differ. For example, the amount of time between times T11 and T12 of first event e11 and second event e12 of the first network resource may differ from the amount of time between times T21 and T22 of first event e21 and second event e22 of the second network resource.
[0035] Returning to FIG. 2, pre-processing subsystem 112 may be configured to retrieve event data 210. As mentioned above with reference to FIG. 3A, for each network resource, one or more sequences of events may be stored by event data 210. In the example of FIG. 2, event data 210 may include, for example, a sequence of events of a network resource in response to an event occurring. Therefore, the sequence of events may include all of the events that the network resource has experienced during their history up to and including a current (i.e., most recent) event. Process 200 may be implemented by computing system 102 after a new event is detected for any network resource. Therefore, the encoded representations and classification labels, like the sequence of events, can grow over time to reflect changes in the network resource. As an example, event data 210 may represent a sequence of events of a network resource: e1, e2, e3, e4, and e5.
[0036] In some embodiments, event data 210 representing the sequence of events may be input, via pre-processing subsystem 112 of computing system 102, into an artificial intelligence model. For example, event data 210 may be input to an encoder 220. Pre-processing subsystem 112 may be configured to create, retrieve, format, update, or perform other processes to facilitate providing event data 210 to encoder 220 (or another model). For example, in response to detecting a new event, pre-processing subsystem 112 can update the event data of the network resource by sequentially adding the new event sequentially to the sequence of events and input event data 210 to encoder 220.
[0037] In some cases, encoder 220 may represent a portion of an artificial intelligence model, such as a large language model, trained to encode sequential data. Encoder 220 may be trained to transform event data into an encoded representation of that data. For instance, encoder 220 may tokenize the sequence of events and convert the tokens into the encoded representation. The encoded representation may be an embedding, which refers to a numerical representation of the sequence of events. Embeddings represent relationships between events in the sequence of events based on each event's context, timing, or other aspects. More particularly, an embedding refers to a low-dimensional, continuous vector representation of a sequence of events. Two similar sequences of events, therefore, should have embeddings that are close to one another in an embedding space, whereas dissimilar sequences of events should have embeddings that are not close to one another in the embedding space.
[0038] As mentioned above, encoded representations close to one another in the encoded representation space may indicate similarities in their respective sequences of events. Furthermore, because each sequence of events represents a corresponding network resource at a particular point in time, encoded representation close to one another in the encoded representation space indicate that at time A, a sequence of events associated with a network resource A exhibits similar behaviors to a sequence of events associated with another network resource B at a different time B.
[0039] In some embodiments, encoder 220 may output encoded representation 230. As an example, with reference to FIG. 3B, encoded representation data 310 may be stored in encoded representation database 134. Encoded representation data 310 may include, for each network resource (i.e., network resources 1-M), a time that each event in the sequence of events occurred, a sequence identifier, and an encoded representation generated from the sequence of events. As an illustrative example, for Network Resource 2, a sequence of events (e.g., referenced using an event sequence identifier, such as SeqEvents 21) may include a first event (e.g., event 21) occurring at a first time (e.g., time T21), and pre-processing subsystem 112 may be configured to input event data representing the sequence of events to an encoder (e.g., encoder 220 of FIG. 2) to generate a first encoded representation (e.g., first encoded representation E21). Upon detection of a second event e22 at a second time T22, pre-processing subsystem 112 may be configured to update the sequence of events to include the sequence event occurring at the second time. Pre-processing subsystem 112 may provide updated event data including the second sequence of events (e.g., {e21, e22}) to encoder 220 to generate a second encoded representation E22.
[0040] Returning to FIG. 2, a classifier 240 may be configured to classify encoded representation 230 into a particular computing state class (also referred to as classifying a network resource into a computing state or computing state classification). Based on the classification, pre-processing subsystem 112 may be configured to assign a classification label 250 (e.g., L1, L2, . . . , LK) to that network resource for that particular time. Classification label 250 indicates a computing state of the network resource at that particular time. Different classification labels may be assigned based on the encoded representations (representing the same or different network resources at different times). The number of classification labels K (e.g., L1, L2, . . . , LK) may depend on the number of possible computing state classifications. In some examples, K may be fixed or adjustable. In some examples, different network resources having different sequences of events, and thus different encoded representations, may be in similar computing states at different times. In other words, network resource A at time A may be classified as being in the same computing state as network resource B at a different time B.
[0041] As described in greater detail below with respect to FIGS. 3C-3D, the classifications of encoded representations may be used to identify network resources that are similar to a target network resource (e.g., identifying network resources similar to Network Resource 1), for downstream tasks, such as, and without limitation, future action prediction, simulated data generation, model training, and others. Furthermore, by tracking, storing, and classifying after each event, network resources exhibiting similar behavior at different times can be identified for a given target network resource at a given time. For example, for a given target network resource at a particular time, computing system 102 may be configured to use state change information to identify similar network resources at any point in time of those network resource's event histories. This technique reduces the number of data operations performed (i.e., API calls to databases, cloud components, models, etc.), and therefore the amount of computational resources consumed, by filtering encoded representations of target network resources into groups of encoded representations that exhibit similar behaviors, whether frequency of state change events, types of state change events, or other similarities, and reducing data operations to the encoded representations included in those groups.
[0042] Returning to FIG. 1, vector generation subsystem 114 may be configured to generate state change vectors for network resources 104. Each state change vector includes a set of binary elements respectively associated with the sequence of events. In other words, for every event in the sequence of events, a binary element is included in the corresponding state change vector. These binary elements may indicate whether a corresponding event is a state change event. For instance, if the element is assigned a first value, such as a logical 1, then this can indicate that the event is a state change event. Conversely, if the element is assigned a second value, such as a logical 0, this can indicate that the event is not a state change event.
[0043] As described herein, a state change event refers to an event that causes a shift in a computing state classification of a corresponding network resource. For example, as compared to a sequentially previous event, a computing state of the network resource shifts. The state change event may be associated with a change in classification of an encoded representation. For example, after an event, the sequence of events associated with a network resource may produce a first encoded representation classifying the network resource as being in a first computing state. After a sequentially subsequent event, the new sequence of events (including the sequentially subsequent event) may produce a second encoded representation classifying the network resource as being in a second computing state. Therefore, the computing state of the network resource changed in response to the sequentially subsequent event occurring, and therefore this event can be referred to as a state change event.
[0044] As an example, with reference to FIG. 3C, state change vector database 136 may include state change vector data 320. As mentioned above, for each new event, an encoded representation of the updated sequence of events (including the new event) associated with a corresponding network resource may be generated (e.g., using encoder 220 of FIG. 2), and the encoded representation classified into a particular computing state class (e.g., using classifier 240). A classification label may be assigned to the encoded representation based on the computing state classification. For example, a first network resource (e.g., Network Resource 1), may have a first encoded representation E11 that has been assigned a first classification label L1.
[0045] As described herein, classification labels may indicate a computing state of the network resource at a given time. For example, if the network resource represents a network computing device, such as a computing router or switch, then the computing state may indicate a state of the network computing device at a specific time (e.g., network connectivity, no network connectivity, data flow rate above a threshold, data flow rate below threshold, etc.). Continuing the previous example, an encoded representation of the first network resource at a later time (e.g., encoded representation E1N) may also be assigned a second classification label L2, indicated that encoded representation E1N was classified into a different computing state (e.g., network connectivity, no network connectivity, data flow rate above a threshold, data flow rate below threshold, etc.).
[0046] In some embodiments, vector generation subsystem 114 may be configured to receive, at a first time, a request to update first network configurations of a first network resource. As an example, the first network resource may include computing devices, servers, databases, storage devices, applications, virtual machines, and the like. The first network configurations may describe aspects of the first network resource at a particular time. For example, the first network configurations may include an IP address, MAC address, geolocation, firewall and security settings, storage configurations, DNS configurations, or other network configuration information, or combinations thereof.
[0047] In response to receive the request, vector generation subsystem 114 may retrieve event data including a sequence of events associated with the first network resource at the first time, as well as a state change vector including elements respectively associated with the sequence of events.
[0048] For example, consider a sequence of events of a network resource that includes five (3) events: {e1, e2, e3, e4, e5} respectively occurring at times {T1, T2, T3, T4, T5}. In response to the first event, e1 at time T1, a first sequence of events (e.g., {e11}) may be used to generate a first encoded representation, which can be assigned a first classification label (e.g., L1) indicating that, based on the first encoded representation at the first time, the network resource 1 is in a first computing state. Vector generation subsystem 114 may generate / update a state change vector for the first network resource by adding a binary element to the state change vector indicating whether a state change occurred with respect to a previous computing state of the first network resource at a time of a sequentially previous event (with respect to the first event e1). In the example above, there may be no previous events with respect to the first event, and therefore responsive to the first event, the first network resource may have changed computing states from no computing state to a first computing state. Therefore, the binary element added to the state change vector for the first network resource may indicate that the first event corresponds to a state change event. For example, because the computing state of the first network resource changed in response to the first event, the state change vector may include one element, corresponding to the first event, assigned a first binary label (e.g., logical “1” indicating a corresponding event represents a state change event).
[0049] Continuing this example, based on the occurrence of the second event, e2, at time T2 for the network resource, a second sequence of events (e.g., {e1, e2}) may be used to generate a second encoded representation. The second encoded representation may be assigned the same classification label (e.g., L1), indicating that, based on the second encoded representation, the network resource remains in the same computing state. Thus, in this example, because the computing state of the network resource remains the same in response to the second event, the state change vector may include a second binary element, corresponding to the second event, assigned a second binary label (e.g., logical “0”) indicating that the second event is not a state change event.
[0050] The same process may be performed after each classification of an encoded representation, building the state change vector one element at a time. The state change vector, therefore, illustrates when a given state change occurred for a network resource. Information regarding the particular computing state classification, and the changes that occur, are described in greater detail below. State change vector data 320 may store / expand and update the state change vector as the sequence of events associated with a given network resource expands, building a library of temporally discrete state change vectors of the network resource.
[0051] Returning to FIG. 1, label generation subsystem 116 may be configured to generate sequences of state change labels. The sequences of state change labels indicating different sequences of computing states that a network resource transitions through during their event history. As described herein, a computing state change, which is also referred to herein interchangeably as a state change transition, refers to a network resource that experiences a computing state classification changes in response to the occurrence of an event. Different from the state change vectors described above, which indicate whether each event in a sequence of events is a state change event, the sequences of state change labels indicate the particular types of computing state changes a network resource experiences.
[0052] As an example, a network resource at a first time may include a first sequence of events (e.g., e1, e2, e3, e4) that have occurred in association with the network resource at the first time. An encoded representation of the first sequence of events can be generated and classified into a first computing state, which may be assigned a first classification label (e.g., L1). In response to the occurrence of a sequentially “next” event, e5, at a second time (after the first time), the network resource may include a second sequence of events (e.g., events e1, e2, e3, e4, e5) that include all of the events from the first sequence of events as well as the sequentially next event occurring at the second time. An encoded representation of the second sequence of events can be generated and classified into a second computing state, which may be assigned a second classification label (e.g., L2). Therefore, based on event e5 occurring—a state change event—a sequence of state change labels may add an element assigned a label indicating that a computing state change occurred. The label can represent the specific computing states that the network resource transitioned between.
[0053] A number of types of computing state changes possible can be preset and / or adjustable. Furthermore, the number of types of computing state changes may depend on a number of computing states (e.g., “K” candidate computing states, where K is a positive integer) the encoded representations can be classified. In response to an event occurring in association with a network resource, computing system 102 may be configured to generate an encoded representation of the sequence of events associated with the network resource up to and including the event and classify the encoded representation.
[0054] As an example, with reference to FIG. 3D, state change label sequence database 138 may be configured to store state change label data 330. State change label data 330 may include, for each network resource, a time that a given state change event occurred, the encoded representation producing the state change event, and the sequence of state change labels. As an illustrative example, a given encoded representation can be classified into a first computing state having a first classification label L1 or a second computing state having a second classification label L2. For simplicity, two computing states are described, however a similar process may be implemented for more than two computing states. While the network resource may be classified into the first computing state based on a first event (and therefore assigned first classification label L1), in response to a second event occurring subsequent to the first event, the network resource may change from being classified into the first computing state to being classified into the second computing state (and therefore assigned second classification label L2). In some embodiments, label generation subsystem 116 may add an element to a sequence of state change labels for the network resource to indicate the specific change in computing states experienced by the network resource. In the example above, because the classification label change includes the first classification label L1 transitioning to the second classification label L2, label generation subsystem 116 may be configured to add an element to the sequence of state change labels for the network resource, assigned a state change label representing this computing state change. For example, the change from the first computing state (L1) to the second computing state (L2) may be represented by the state change label S12. Similarly, a change from the second computing state (L2) to the first computing state (L1) can be represented by the state change label S21.
[0055] As more events occur, each instance of the computing state changing from one computing state to another as indicated by the change in classification label assigned to consecutive events, more state change labels may be added to the sequence of state change labels. Continuing the previous example, responsive to a third event occurring, the computing state of the network resource may determine that a computing state of the network resources changes from the second computing state assigned the second classification label L2 to a third computing state assigned a third classification label L3. In this example, label generation subsystem 116 may be configured to add another element to the sequence of state change labels, where the new element is assigned a state change label to indicate that the network resource experienced a computing state classification change in response to the third event. More particularly, in the example, the state change label assigned to the new element (e.g., S23) may indicate that the particular computing state transition detected was from the second computing state to the third computing state. If, however, after the third event, it is determined that the computing state did not change, then label generation subsystem 116 may not generate a new element to add to the sequence of state change labels, as there was no state change event.
[0056] Returning to FIG. 1, resource configuration subsystem 118 may be configured to determine network configurations of a network resource that is most similar to a target network resource. In some embodiments, a knowledge transfer process can be executed to update one or more parameters of the target network resource's network configurations based on the network configurations of the identified similar network resource. In particular, resource configuration subsystem 118 can employ novel filtration processes to reduce the space searched for similar network resources. By reducing the space search, fewer API calls to databases, models, or other servers, can be reduced without sacrificing accuracy. Furthermore, as detailed below, the filtration process can ensure that the network resources exhibiting similar behavior to a given target network resource are not restricted by time and can include network resource representations at any time during those corresponding network resources' event histories.
[0057] A brute force way to identify network resources similar to a target network resource can include comparing encoded representations of the network resources with an encoded representation of the target network resource. However, technical problems with such data operations exist, such as the number of data operations that need to be performed with this technique scaling with the number of encoded representations available. As these numbers increase, the costs for executing all of these comparison operations, including the API calls to databases and cloud components, becomes extremely expensive, both computationally, timewise, and monetarily (i.e., to power server stacks to execute the computational tasks). For example, a comparison of two encoded representations can include API calls to encoded representation database 134 to obtain the encoded representations, selection of a distance metric to measure a distance between the encoded representations (e.g., in an embedding space), compute the distance using the distance metric, and determine whether the distance satisfies a threshold condition.
[0058] As the number of network resources expands to the thousands, millions, billions, and more, the number of computations and costs involved with executing these computations continually increases. This technique has other technical problems, most notably in that network resources are restricted to single point in time representations. While use of a single encoded representation for each network resource saves computational costs, accuracy can be lost because network resource behaviors can change over time. Network resources may have experienced similar events or patterns of events during their event history. Therefore, by storing encoded representations, classification information, as well as state change information, for the network resources, allows for similar network resources to be identified, even if the identified network resource refers to previous time. As a result, network resources that are similar to one another may correspond to network resources at different points in time.
[0059] Described herein are technical solutions to the aforementioned technical problems. The technical solutions include, for example, filtering encoded representations for similarity comparisons to only those that have similar state change vectors and / or similar sequences of state change labels, an intelligent filtration process is used to reduce the search space with which similar network resources are identified. A technical benefit of the aforementioned technical solution includes reduction network traffic (i.e., by reducing API calls to encoded representation or other databases, as well as model calls to execute model operations), computing costs (i.e., performing distance calculations to determine how similar encoded representations are to one another to find similar network resources), and time, amongst other benefits. Moreover, the accuracy of the “similar” network resources can improve because the sample pool from which the similar network resources are selected from encoded representations of all available network resources over those network resources' entire event histories. As described herein, a target network resource refers to a network resource for which a similar network resource is to be identified. Similar network resources may have similar features, such as, for example, similar state change vectors and / or similar sequences of state change labels.
[0060] For example, a target network resource may have a state change vector including the following binary elements: {1, 1, 0, 0, 1}. Each binary element can indicate whether a corresponding event was associated with a computing state change, indicated by the value “1” in the state change vector, or was not associated with a computing state change, as indicated by the value “0.” Similar network resources may include other network resources that include the same pattern of binary elements as the target network resource (e.g., {1, 1, 0}). For example, the state change vector can be hashed into a data bucket of other state change vectors having similar patterns of binary elements. For example, the state change vectors grouped into the data bucket may each include at least one instance of the subsequence {1, 1, 0}. For example, a second network resource of the data bucket may, at a different time, have a state change vector including the sequence of binary elements: {1, 1, 0, 0, 1}. Identifying similar network resources may include grouping the network resource's state change vector into a data bucket to reduce the search space of encoded representations. Therefore, instead of comparing the target network resource's current encoded representation to every other network resources' encoded representations to identify similar network resources, similar network resources can be identified from those network resources having similarly hashed state change vectors.
[0061] In some embodiments, resource configuration subsystem 118 may be configured to distribute the state change vectors associated with each network resource into data buckets. Each data bucket may include encoded representations of network resources having corresponding state change vectors that are similar to one another. For a given target network resource, grouping a corresponding state change vector into one of the data buckets can serve as one approximation for identifying similar network resources. Based on the data bucket grouping, an even more refined similarity computation can be performed by determining the similarity of the target network resource's encoded representation (at one time) to the similar state change vectors' corresponding encoded representations (at various other times). Therefore, fewer similarity computations may be performed without sacrificing accuracy in identifying the most similar network resources.
[0062] In some embodiments, resource configuration subsystem 118 may be configured to receive a request to update first network configurations of a first network resource (e.g., one of network resources 104). As an example, with reference to FIG. 4, a process 400 for determining one or more similar reference network resources and executing network parameter updates based upon network resource configurations of the similar reference network resources is described. As mentioned above, process 400 may include a request 402 being received by computing system 102. In particular, request 402 may be received by resource configuration subsystem 118 of computing system 102.
[0063] In some embodiments, request 402 may include information regarding a corresponding event that occurred. In some cases, request 402 may be generated in response to an event being detected. As an example, request 402 may include information about a target network resource 404 with which one or more similar network resources are to be identified. In other words, request 402 may seek to identify other network resources that exhibit similar behaviors.
[0064] In some embodiments, the information about target network resource 404 included in request 402 may include a time 406 that an event occurred. Each event may include event context information and event temporal information. An event refers to any interaction of a given network resource with another component of system 100, or other component. Some example events include requests (e.g., HTTP requests) submitted by a network resource. The event context information can include data describing the context of an event, such as what happened, systems involved in the event (e.g., target network resource 404, one or more destination network resources, etc.), and the like. The event temporal information, such as time 406, can indicate a time that an event occurred (e.g., a timestamp). In some embodiments, event data 408 may represent a sequence of events associated with target network resource 404. The sequence of events may include events associated with target network resource 404 that occurred prior to and including the event associated with request 402. The sequence of events can be determined based on time 406. In some embodiments, computing system 102 may access event data database 132 to retrieve event data 408.
[0065] In some embodiments, request 402 may include, or indicate, an encoded representation 410. Encoded representation 410 may be a representation of event data 408. For example, encoded representation 410 may be an embedding generated by encoder (e.g., encoder 220 of FIG. 2). In some cases, encoded representation 410 may be stored in encoded representation database 134. For example, encoded representation database 134 may be accessed in response to request 402 to obtain encoded representation 410 representing the sequence of events associated with target network resource 404 at time 406. In some examples, encoded representation 410 may comprise a representation of event data 408, which is formed from a sequence of events associated with target network resource 404 as of time 406.
[0066] In some embodiments, request 402 may include, or indicate, a state change vector 412. State change vector 412 may include elements respectively indicating whether a corresponding event from the sequence of events (represented by event data 408) refers to a state change event for target network resource 404. As an example, state change vector 412 may include 5 elements: {1, 1, 0, 0, 1}. These elements correspond to 5 events occurring in a sequence of events associated with target network resource 404. For example, a first event e1 occurring at a first time T1 may be associated with the first element of state change vector 412, having the value “1,” a second event e2 occurring at a second time T2 may be associated with the second element of state change vector 412, having the value “1,” a third event e3 occurring at a third time T3 may be associated with the third element of state change vector 412, having the value “0,” a fourth event e4 occurring at a fourth time T4 may be associated with the fourth element of state change vector 412, having the value “0,” and a fifth event e5 occurring at a fifth time T5 may be associated with the fifth element of state change vector 412, having the value “1.” State change vector 412 indicates that events e1, e2, and e5 correspond to state change events.
[0067] In some embodiments, the state change vector (e.g., state change vector 412) may include a string of binary elements (e.g., {1, 1, 0, 0, 1}) respectively associated with the first sequence of events (e.g., {e1, e2, e3, e4, e5}). The number of elements included in the string may depend on the number of events included in the sequence of events. For example, if target network resource 404 includes 106 events in its history (up until, for example, time 406), then state change vector 412 may include 106 elements, respectively corresponding to the 106 events. In some embodiments, the elements being binary enables computing system 102 to identify similar sequences of state changes events. For instance, computing system 102 can identify network resources that, temporally, experienced similar state change event occurrences as target network resource 404. This may include identifying other network resources that experience a similar frequency, quantity, etc., of state change events. In contrast to the state change vectors, the sequence of state change labels, as detailed below with respect to FIG. 5, may indicate the particular transitions from one computing state to another in response to the occurrence of an event.
[0068] As mentioned above, encoded representations, such as encoded representation 410, may be used to classify the network resource (e.g., target network resource 404) into a particular class including other network resources whose encoded representations were similarly classified. These network resources may be considered as being in the same computing state as one another. Furthermore, because network resources can have shifts in computing state over time, each network resource classified into a given class of network resources may represent that network resource's classification at a corresponding time in that network resource's history. As opposed to disregarding prior network resource information, such as previous classifications and previous configurations, the techniques described herein leverage network resource information at each different point in that network resource's event history. Doing so results in a dynamic system that is able to scan across each network resource's event history to identify similar network resources. For example, while two network resources may exhibit dissimilar attributes at one time, perhaps one of the network resource's event history exhibits similarities to the other network resource's event history at an earlier point in time (e.g., their computing state one year ago, ten years ago, etc.).
[0069] In some embodiments, a classifier, such as classifier 240 of FIG. 2, may determine a classification for target network resource 404. For example, the classification may indicate, based on encoded representation 410, a computing state of target network resource 404 at time 406. In some embodiments, a classification label (e.g., L1, L2, etc.) may be assigned to the encoded representation (e.g., encoded representation 410). The state change events may include events associated with classification label changes. For example, computing system 102, as mentioned above, may determine, based on a computing state of the target network resource at a time of a sequentially previous event, whether the computing state the target network resource has classified into (e.g., based on encoded representation 410 at time 406) is the same or different. If the label changes responsive to the event occurring at time 406, then the element in state change vector 412 associated with that event may be assigned a first binary label (e.g., logical “1”), indicating that the corresponding event represents a state change event. If the label did not change in response to the event occurring at time 406, then the element in state change vector 412 associated with that event may be assigned a second binary label (e.g., logical “0”), indicating that the corresponding event does not represent a state change event. Although binary labels of “1” and “0” have been used, persons of ordinary skill in the art will recognize that other binary labeling techniques may be used and / or other labeling techniques in general, so long as an indication of whether an event is a state change event is represented.
[0070] In some embodiments, as mentioned above, computing system 102 may be configured to generate the state change vector (e.g., state change vector 412). For example, state change vector 412 may include elements (e.g., {1, 1, 0}) respectively associated with a sequence of events represented by event data 408 (e.g., event sequence {e1, e2, e3}). The elements may be assigned binary labels indicating whether a corresponding event in the first sequence of events comprises a state change event. As new events occur, additional elements can be added to state change vector 412 to indicate whether those new events are state change events. In some examples, each of the elements may be assigned the first label or the second label.
[0071] In some embodiments, computing system 102 may be configured to group, based on the state change vector (e.g., state change vector 412), encoded representation 410 into one (or more) data buckets 420. For example, computing system 102 may be configured to hash state change vector 412 into a data bucket 422. Data bucket 422 may store encoded representations 424 of other similar state change vectors. For example, encoded representations 424 included in data bucket 422 may have a similar hash as state change vector 412 at time 406. As an example, state change vector 412 includes binary elements {1, 1, 0} and can be hashed into data bucket 422 because data bucket 422 includes encoded representations of other state change vectors that include a subsequence {1, 1}. Encoded representations 424 may include, for example, encoded representation E22, representing a sequence of events of a second network resource (e.g., Network Resource 2) at a second time (e.g., time T22). In particular, encoded representation E22 may be associated with a state change vector including binary elements {1, 1}. Therefore, state change vector 412 and the state change vector associated with encoded representation E22 can be hashed into the same data bucket (e.g., data bucket 422), along with other encoded representations whose associated state change vectors including a similar sequence of binary elements. Encoded representations 424 of data bucket 422 may correspond to event sequences of network resources generated at different times in those network resources' event histories. Network resources can be identified that have similar state change vectors at the same or different times as state change vector 412 at time 406.
[0072] As seen in FIG. 4, data buckets 420 may also include one or more additional data buckets.
[0073] Each of these data buckets may also store encoded representations that have been grouped together based on their respective state change vectors. For example, data buckets 420 may include a data bucket 426, associated with the hash {0, 0}. Encoded representations 428 stored in data bucket 426 may include encoded representations whose state change vector also includes the hash {0, 0}.
[0074] For example, encoded representations 428 may include encoded representation E72, whose state change vector includes the sequence of elements {0, 0}, encoded representation E1N, whose corresponding state change vector the sequence of binary elements {0, 0, . . . , 0}, and encoded representation E64, whose corresponding state change vector includes the sequence of binary elements {1, 1, 0, 0}.
[0075] Encoded representations can be grouped into data buckets based on partial matching of sequences of binary elements. For example, as seen in Table 1, data bucket 422 may store encoded representations 424 including:TABLE 1EncodedStateRepresentationChange VectorE22{1, 1}E2N{1, 1, . . . , 0}EM3{1, 1, 1}E64{1, 1, 0, 0}
[0076] The state change vectors of encoded representations 424 may each include at least one instance of the hash sequence {1, 1}. Therefore, each of encoded representations 424 can be grouped into data bucket 422, which stores those encoded representations having one or more instances of the hash sequence {1, 1}.
[0077] In some embodiments, the state change vectors of encoded representations 424 may include multiple instances of the hash sequence, or multiple hash sequences. For example, encoded representation EM2 may have a corresponding state change vector {1, 1, 1}. This state change vector includes two instances of the hash sequence {1, 1}. As another example, encoded representation EMN may have a corresponding state change vector {1, 1, 0, 0}. This state change vector includes an instance of the hash sequence {1, 1} of data bucket 422, as well as an instance of the hash sequence {0, 0} of data bucket 426. Therefore, computing system 102 may be configured to group encoded representation EMN into both data bucket 422 and data bucket 426.
[0078] By grouping encoded representations based on similar state change vectors, computing system 102 can search across a targeted subset of encoded representations when identifying similar network resources. In contrast to brute force techniques, where similar encoded representations are identified by comparing a target encoded representation against all encoded representations available, the aforementioned technique enables computing system to efficiently focus searching to network resources whose state change vectors are similar to the target network resource's state change vector. An additional advantage of this technique is the ability to identify similar network resources at different times in those network resources' event histories. For example, while, at current time, a target network resource may be classified into a different computing state than a candidate reference network resource, the target network resource may be similar to the candidate reference network resource at an earlier time in the candidate reference network resource's event history.
[0079] Grouping encoded representations into data buckets including other encoded representations that have similar state change vectors enables the computing system to reduce the search space used to identify similar network resources. Advantageously, this enables improved similarity matching by expanding to not only other network resources but those other network resources at all points in time in their respective histories.
[0080] In some embodiments, grouping state change vector 412 into data buckets 420 may include computing system 102 hashing state change vector 412 into one (or more) of data buckets 420. In the illustrative example, based on the particular sequence of binary elements included in state change vector 412 (e.g., {1, 1, 0}), encoded representation 410 of target network resource 404 can be grouped into data bucket 422. As mentioned above, encoded representations 424 of data bucket 422 may include respective state change vectors hashed into data bucket 422.
[0081] In some embodiments, computing system 102 may be configured to determine, from the encoded representations of the data bucket, one or more similar encoded representations. For example, computing system 102 may determine at least a second encoded representation having a similarity score, computed based on encoded representation 410 of target network resource 404, satisfying a threshold similarity condition. For example, computing system 102 may, upon determining that state change vector 412 has been grouped into data bucket 422, retrieve encoded representation 410 and encoded representations 424. If, for example, the state change vector was grouped into two or more data buckets, the encoded representations of those data buckets may be retrieved. In this scenario, processing of the encoded representations of the data buckets may be performed serially or in parallel. Computing system 102 may use a similarity metric 414 to determine similarity scores 416. In some embodiments, a number of similarity scores computed may depend on a number of encoded representations in a given data bucket (or buckets). For example, for data bucket 422, which includes four encoded representations (e.g., E22, E2N, EM3, E64), computing system 102 may generate four similarity scores (e.g., similarity scores 416) using similarity metric 414.
[0082] In some examples, computing system 102 determines whether any of the encoded representations included within the searched data bucket(s) satisfy the threshold similarity condition. In some embodiments, similarity metric 414 may correspond to a distance metric. Some example distance metrics that can be used as similarity metric 414 include Cosine Similarity, Euclidean Distance, Manhattan Distance, Minkowski Distance, Hamming Distance, and the like. To determine whether a given encoded representation from data bucket 422 satisfies the threshold similarity condition with respect to encoded representation 410 of target network resource 404, computing system 102 may determine a distance in an encoded representation space (e.g., an embedding space) between encoded representation 410 and the given encoded representation from data bucket 422. The threshold similarity condition may be satisfied if the distance between the two encoded representations in the embedding space is less than or equal to a threshold distance. Based on the calculated distance being less than the threshold distance, computing system 102 may be configured to determine that the threshold similarity condition has been satisfied and select a corresponding encoded representation for one or more downstream tasks, as detailed below. If multiple encoded representations (either from the same data bucket or another data bucket, if being accessed too) satisfy the threshold similarity condition, those encoded representations may also be identified and used for downstream tasks.
[0083] As an illustrative example, based on similarity scores 416, computing system 102 may identify another encoded representation, such as encoded representation418, that satisfies the threshold similarity condition. In other words, the similarity score computed using similarity metric 414 based on encoded representation 410 and encoded representation 418 satisfies the threshold similarity conditions. Encoded representation 418 includes a state change vector that was hashed into data bucket 422. For example, encoded representation 418 may refer to encoded representation E22 or E64. In some examples, the encoded representation may be generated by computing system 102 inputting event data representing a second sequence of events into a trained artificial intelligence model (e.g., encoder 220 of FIG. 2) to generate the encoded representation.
[0084] In some embodiments, computing system 102 may have generated encoded representation 418 for a different network resource at a different time. For example, a second network resource may have N events in its event history. The encoded representation generated using a sequence of events including all events in the second network resource's event history (up to and including the current time) may differ from encoded representation 418. For example, the encoded representation of the second network resource at the current time may be classified (i.e., using classifier 240) into a different computing state class than encoded representation 410. However, when considering the second network resource's event history up to another point in time, for example, time TX, that sequence of events may be classified into the same computing state class as encoded representation 410.
[0085] In some embodiments, computing system 102 may be configured to adjust network configurations of target network resource 404 based on network configurations of a network resource associated with the identified encoded representation (e.g., encoded representation 418). In some embodiments, computing system 102 may be configured to retrieve the network configurations of a second network resource. Retrieving the network configurations may include identifying the network resource associated with the identified encoded representation. In some embodiments, computing system 102 may be configured to access encoded representation database 134. Upon accessing encoded representation database 134, computing system 102 may search for entries including encoded representation 418. As an example, if encoded representation 418 referred to encoded representation E22, then computing system 102 may determine that at time T22 Network Resource 2 was identified as being similar to target network resource 404 at time 406. With this information, computing system 102 may access network configurations associated with the identified network resource (e.g., Network Resource 2).
[0086] One or more differences between the first network configurations of the first network resource and the second network configurations of the second network resource may be determined. For example, the network configurations may include an IP address, MAC address, geolocation, firewall and security settings, storage configurations, DNS configurations, or other network configuration information, or combinations thereof. In some examples, computing system 102 may be configured to adjust some or all of the network configurations of target network resource 404 based on the differences detected. In some embodiments, computing system 102 may be configured to adjust network configurations of target network resource 404 by adjusting one or more parameters of the network configurations of target network resource 404 based on one or more parameters of the network configurations of the second network resource (e.g., associated with the identified encoded representation).
[0087] As described herein, network configurations refer to setups and arrangements of different components within a network system, such as system 100 of FIG. 1. Network configurations can be used to determine how effectively a network operates.
[0088] In the context of artificial intelligence models, such as neural networks, the network configurations may include numbers and types of layers (e.g., input, hidden, and output layers), activation functions used in these layers (e.g., ReLU, Sigmoid, or SoftMax). Parameters in network configurations for such artificial intelligence models may include the optimizer (e.g., Stochastic Gradient Descent (SGD), Adam optimizer) or optimization algorithm used, which dictates how the model updates its weights. Other parameters include the learning rate, which controls step size during training, the batch size, which determines how many samples are processed before updating weights, the number of epochs, which defines how many times the entire dataset is passed through the network, and the like. Additionally, regularization methods like dropout and L1 / L2 regularization can be set to prevent overfitting, while weight initialization methods ensure the starting point for training.
[0089] In the context of computer networks, network configurations may include IP addressing, where each device is assigned a unique identifier (IPv4 or IPv6), subnet masks, gateways, routing tables that define how traffic is forwarded between devices, or others. Parameters associated with such network configurations may include firewall rules controlling what data can enter or leave the network, quality of service (QoS) configurations, which can prioritize traffic for certain applications (e.g., voice or video), and bandwidth allocation management. Furthermore, protocols like DHCP (for dynamic IP assignment) and DNS (for domain name resolution) can be included as part of the network configurations. The proper setup of these configurations and parameters can ensure optimal performance, security, and reliability in both neural and computer networks.
[0090] Returning to FIG. 1, resource configuration subsystem 118 may be configured to determine reference network configurations of a reference network resource that are most similar to target network configurations of a target network resource and executing, via a transfer learning process, network parameter updates to the target network configurations based on the reference network configurations. In particular, while FIG. 4 described a process for filtering encoded representations for identifying similar network resources that leveraged state change events. More specifically, process 400 of FIG. 4 illustrates an example technique for focusing similarity searches to data buckets of other network resources that, at some point in an event history of the network resource, exhibited similar state change event sequences. In some embodiments, resource configuration subsystem 118 may additionally, or alternatively, execute another process to perform point-in-time encoding searching, More specifically, resource configuration subsystem 118 may be configured to identify network resources similar to a target network resource by evaluating particular computing state changes experienced during a network resource's event history.
[0091] As an example, with reference to FIG. 5, process 500 be employed by computing system 102 (i.e., via resource configuration subsystem 118 of FIG. 1) to identify network resources that, at various times in their event history, are similar to a target network resource at a first time. In particular, process 500 may identify similar network resources based on sequences of state change labels associated with the network resources and the target network resource. In some embodiments, resource configuration subsystem 118 can employ another novel filtration process to reduce the space searched for similar network resources. Similar to process 400 of FIG. 4, process 500 also can reduce the space search used to identify similar network resources, which can result in fewer API calls to databases, models, or other servers, without sacrificing accuracy. Furthermore, as detailed below, the filtration process can ensure that the network resources exhibiting similar behavior to a given target network resource are not restricted by time and can include network resources at any time during their event history.
[0092] In some embodiments, computing system 102 may be configured to receive a request to update network configurations of a network resource. For example, as illustrated in FIG. 5, a request 502 may be received by computing system 102. Request 502 may be similar to request 402 of FIG. 4, and the previous description may apply. In some embodiments, request 502 may include information associated with a target network resource 504 with which one or more similar network resources are to be identified. The information may be used by computing systems to determine which network resources exhibit similar behaviors, as indicated by their sequences of state change labels. In some embodiments, computing system 102 (i.e., via label generation subsystem 116) may add an element to a sequence of state change labels of the network resource to indicate the specific change in computing states experienced by the network resource. For example, a network resource changed from being in a first computing state (having a classification label L1) to being in the second computing state (having a classification label L2). Label generation subsystem 116 may be configured to assign a particular state change label to this computing state change. For example, the change from the first computing state (L1) to the second computing state (L2) may be represented by the state change label S12. Similarly, a change from the second computing state (L2) to the third computing state (L3) may be represented by the state change label S23, a change from the first computing state (L1) to the third computing state (L3) may be represented by the state change label S13, and the inverse changes may be represented by similar labeling schemes (i.e., a transition from the second computing state (L2) to the first computing state (L1) can be represented by the state change label S21, and so on).
[0093] In some embodiments, computing system 102 may be configured to retrieve event data including an encoded representation of a sequence of events associated with a target network resource at a particular time and a sequence of state change labels associated with the target network resource. In some embodiments, request 502 may include information regarding a corresponding event that occurred. In some cases, request 502 may be generated in response to an event being detected. As an example, request 502 may include information about a target network resource 504 with which one or more similar network resources are to be identified. In other words, request 502 may seek to identify other network resources that exhibit similar behaviors.
[0094] In some embodiments, the information about target network resource 504 included in request 502 may include a time 506 that an event occurred. Each event may include event context information and event temporal information. An event refers to any interaction of a given network resource with another component of system 100, or other component. Some example events include requests (e.g., HTTP requests) submitted by a network resource. The event context information can include data describing the context of an event, such as what happened, systems involved in the event (e.g., target network resource 504, one or more destination network resources, etc.), and the like. The event temporal information, such as time 506, can indicate a time that an event occurred (e.g., a timestamp). In some embodiments, event data 508 may represent a sequence of events associated with target network resource 504. The sequence of events may include events associated with target network resource 504 that occurred prior to and including the event associated with request 502. The sequence of events can be determined based on time 506. In some embodiments, computing system 102 may access event data database 132 to retrieve event data 508.
[0095] In some embodiments, request 502 may include, or indicate, an encoded representation 510. Encoded representation 510 may be a representation of event data 508. For example, encoded representation 510 may be an embedding generated by encoder (e.g., encoder 220 of FIG. 2). In some cases, encoded representation 510 may be stored in encoded representation database 134. For example, encoded representation database 134 may be accessed in response to request 502 to obtain encoded representation 510 representing the sequence of events associated with target network resource 504 at time 506. In some embodiments, event data 508, encoded representation 510, sequence of state change labels 512, or other information, may be retrieved responsive to receiving a request to identify a network resource similar to a first network resource at a first time.
[0096] In some embodiments, computing system 102 may be configured to generate event data 508. In some examples, generating event data 508 may include computing system 102 being configured to add, sequentially, subsequent to each event of the sequence of events occurring, one or more data sets comprising contextual information regarding the event to a sequence of data sets respectively representing the events. For example, a first event occurring in association with target network resource 504 may be represented as event e1 occurring at time T1. Thus, the sequence of events associated with target network resource 504 at time T1 can be represented as {e11}. The event context information and event temporal information (e.g., datasets including the event context information and event temporal information) can be stored in a data structure for that network resource, as seen in event data database 132. After the next event, event e2, occurring at time T2, the sequence of events can be expanded to include another element, as represented by the sequence {e1, e2}. As mentioned above, the event context information and event temporal information associated with event e2 may be added to the data structure in a sequential manner to indicate an order with which events occur. A similar process can be performed responsive to each additional event that occurs for target network resource 404, as well as any other network resources (e.g., network resources 104 of FIG. 1).
[0097] In some embodiments, computing system 102 may be configured to retrieve sequence of state change labels 512 with encoded representation 510, as well as other information (e.g., event data 508). Sequence of state change labels 512 may represent a sequence of state change labels of a given network resource. For example, as mentioned above, state change events correspond to events where a computing state classification of a network resource changes with respect to a sequentially previous event. The type of computing state change that is detected, as well as the sequences of computing state changes that occur, can be used to identify similar network resources. In particular, similar computing state change sequences can be used to filter encoded representations of other network resources at various times, thereby reducing the number of API calls made to encoded representation database 134, or other components of system 100, or combinations thereof.
[0098] In some embodiments, sequences of state change labels may be used to detect network resources that exhibit similar computing state changes. The state change labels can indicate specific transitions from one computing state to another. For example, the transition from a first computing state, assigned classification label L1, to a second computing state, assigned classification label L2, may be represented using state change label S12. The sequence of state change labels can, therefore, be used to quickly identify similar changes in computing state that other network resources experienced at different points in time in those network resources' event histories. For example, a sequence of state change labels, as shown by sequence of state change labels 512 of FIG. 5, can include an ordered list of state change labels.
[0099] In the example of FIG. 5, sequence of state change labels 512 may be represented as {S12. S23, S31}. As mentioned above, the first element of this sequence, S12, may indicate that target network resource 504 transitioned from a first computing state (associated with classification label L1) to a second computing state (associated with classification label L2). Moreover, because state change label S12 is the first element in sequence of state change labels 512, this means that network resource 504 had a first change in computing state. In some embodiments, each state change label of sequence of state change labels 512 may include an indication of a time associated with each change in computing state classification. The second element in the sequence, S23, may indicate the next computing state change experienced by target network resource 504. For example, target network resource 504, which previously changed from being in the first computing state (associated with classification label L1) to being in the second computing state (associated with classification label L2), may change from being in the second computing state to being in a third computing state (associated with classification label L3). Therefore, the next computing state change experienced by target network resource 504 may be represented using state change label S23. The last element of sequence of state change labels 512, S31, may indicate that the next computing state change experienced by target network resource 504 corresponds to a change from the third computing state (associated with classification label L3) to the first computing state (associated with classification label L1).
[0100] In some examples, the sequence of state change labels, including sequence of state change labels 512, as well may include one or more classification changes. A classification change refers to a change in a classification of an encoded representation for a network resource from one event to a sequentially next event. In other words, the classification change indicates a change in a computing state classification of network resource 504.
[0101] In some embodiments, each state change label in a sequence of state change labels indicates a specific classification change of a plurality of possible classification changes. The number of possible classification changes may be determined based on a number of classifications that an encoded representation can be classified into. For example, the number of transitions from one computing state to another depends on the total number of computing states. The greater the number of computing state classifications, the greater the number of state change transitions, also referred to herein as types of state changes, will also increase.
[0102] Use of sequences of state change labels to identify similar network resources enables computing system 102 to search for similar network resources more efficiently. This includes, for example, searching across groupings of encoded representations, where the groupings are based on similar sequences of state change labels. Moreover, because the various sequences of state change labels can be built upon for each network resource over time, network resources that, while currently dissimilar to a target network resource, at an earlier point in time, experienced similar computing state changes. Further still, the groupings may be made using simple pattern recognition techniques, including partial sequence identification techniques. This can enable efficient, quick, and granular searching to be performed to identify data buckets associated with similar sequences of state change labels. Based on the data buckets that were identified, encoded representations associated with the data buckets can be used for performing point-in-time similarity matching.
[0103] In some examples, event data 508 includes a set of encoded representations. For each event of the sequence of events, a subset of events including all events from the sequence of events up to and including the event (occurring at time 506) may be used to generate a corresponding encoded representation (e.g., encoded representation 510).
[0104] In some embodiments, computing system 102 may be configured to group, based on sequence of state change labels 512, encoded representation 510 into one or more of data buckets 520. In some embodiments, sequences of state change labels may be grouped into data buckets based on a portion of a sequence or all of a sequence. Therefore, data buckets may include encoded representations whose corresponding sequence of state change labels include at least the same portion. This portion can include any number of elements. For example, a data bucket may include encoded representations having sequences of the same two state change labels (e.g., {S12, S23}). A sequence of state change labels, such as sequence of state change labels 512, may be grouped into (e.g., hashed into) one or more of data buckets 520. For example, sequence of state change labels 512 may be represented as {S12, S23, S31}. In the illustrative example, data buckets 520 may include a data bucket 522 and a data bucket 526. Data buckets 522 and 526 may include encoded representations having corresponding sequences of state change labels that have a same or similar sub-sequence. For example, data bucket 522 may store encoded representations having corresponding sequences of state change labels that include the sub-sequence {S12, S23}. As another example, data bucket 526 may store encoded representations having corresponding sequences of state change labels that include the subsequence {S23, S34}.
[0105] Data bucket 522 may include encoded representations 524 of network resources generated at different times. Each of these network resources may have similar sequences of state change labels as sequence of state change labels 512 of target network resource 504.
[0106] Encoded representations can be grouped into data buckets based on partial matching of sequences of state change labels. For example, as seen in Table 2, data bucket 522 may store encoded representations 524 including:TABLE 2EncodedSequence of StateRepresentationChange LabelsE46{S51, S12, S23}E73{S12, S23, S43}E37{S12, S23, S34}
[0107] The sequences of state change labels associated with encoded representations may each include at least one instance of a particular sub-sequence of state change labels associated with that data bucket. For example, the sequences of state change labels associated with encoded representations 524 may each include at least one instance of the subsequence of state change labels {S12, S23}. Therefore, encoded representations E46, E73, E37 may be grouped into first data bucket 522, which stores encoded representations having associated sequences of state change labels also including at least one instance of the subsequence of state change labels {S12, S23}.
[0108] In some embodiments, sequences of state change labels may include multiple instances of the same subsequence of state change labels. For example, a sequence of state change labels, such as {S12, S23, S31, S12, S23} may be grouped into data bucket 522. In some embodiments, sequences of state change labels may include one or more instances of different subsequences of state change labels, which respectively are associated with data buckets 520. For example, data buckets 520 may also include data bucket 526. Data bucket 526 may store encoded representations 528, each of which have a corresponding sequence of state change labels that includes at least one instance of a particular subsequence of state change labels, {S23, S34} associated with data bucket 526. In the illustrative embodiment, encoded representation E37 may be grouped into data bucket 522 and data bucket 526 based on the sequence of state change labels {S12, S23, S34} associated with encoded representation E37 including an instance of the subsequence of state change labels {S12, S23} associated with data bucket 522 as well as including an instance of the subsequence of state change labels {S23, S34} associated with data bucket 526.
[0109] In some embodiments, computing system 102 may be configured to determine, from the encoded representations of the first data bucket, a second encoded representation associated with a second network resource based on a similarity score between the first encoded representation having a similarity score satisfying a threshold similarity condition. For example, encoded representation 518 may be identified as satisfying the threshold similarity condition with respect to encoded representation 510. In some embodiments, the second network resource may refer to a particular point-in-time of a particular network resource that has similar characteristics as the target network resource at a current (or other time). For example, computing system 102 may compute similarity scores 516 by computing how similar encoded representation 510 is to each of encoded representations 524 using similarity metric 514. Based on similarity scores 516 and a threshold similarity condition, one or more encoded representations may be identified as being the most similar to encoded representation 510, regardless of a point in time that those encoded representations correspond.
[0110] In response to grouping sequence of state change labels 512 into data bucket 522, as described above, computing system 102 may be configured to retrieve encoded representation 510 of target network resource 504 and encoded representations 524 of data bucket 522. In some embodiments, computing system 102 may use similarity metric 514 to determine how similar encoded representation 510 is to each of encoded representations 524, as represented by similarity scores 516. The number of similarity scores computed may therefore depend on the number of encoded representations being retrieved. Therefore, by reducing the number of encoded representations that will be searched over, and therefore the number of similarity scores to be generated, the techniques described herein enable fewer computational actions (e.g., API calls, metric calculations, etc.) to be performed.
[0111] In some embodiments, determining whether encoded representation 510 and one or more of encoded representations 524 satisfy the threshold similarity condition may include computing system 102 being configured to calculate a distance in encoded representation space between encoded representation and each of encoded representations 524. The distance may correspond to a similarity score (e.g., of similarity scores 516). Some example distance metrics that can be used as similarity metric 514 include Cosine Similarity, Euclidean Distance, Manhattan Distance, Minkowski Distance, Hamming Distance, and the like. To determine whether a given encoded representation from data bucket 522 satisfies the threshold similarity condition with respect to encoded representation 510 of target network resource 504, computing system 102 may determine a distance in an encoded representation space (e.g., an embedding space) between encoded representation 510 and the given encoded representation from data bucket 522. The threshold similarity condition may be satisfied if the distance between the two encoded representations in the embedding space is less than or equal to a threshold distance. Based on the calculated distance being less than the threshold distance, computing system 102 may be configured to determine that the threshold similarity condition has been satisfied and select a corresponding encoded representation (e.g., encoded representation 518) for one or more downstream tasks, as detailed below. If multiple encoded representations (either from the same data bucket or another data bucket, if being accessed too) satisfy the threshold similarity condition, those encoded representations may also be identified and used for downstream tasks.
[0112] As an illustrative example, based on similarity scores 516, computing system 102 may identify an encoded representation, such as encoded representation 518, that satisfies the threshold similarity condition. In other words, the similarity score computed using similarity metric 514 based on encoded representation 510 and encoded representation 518 satisfies the threshold similarity condition. Encoded representation 518 may include a sequence of state change labels that was hashed into data bucket 522. For example, encoded representation 518 may refer to encoded representation E46 or E73. In some examples, the encoded representation (e.g., encoded representation 518) may be generated by computing system 102 inputting event data representing a second sequence of events into a trained artificial intelligence model (e.g., encoder 220 ofFIG. 2) to generate the encoded representation.
[0113] In some embodiments, computing system 102 may have generated encoded representation 518 for a different network resource at a different time. For example, a second network resource may have N events in its event history. The encoded representation generated using a sequence of events including all events in the second network resource's event history (up to and including the current time) may differ from encoded representation 518. For example, the encoded representation of the second network resource at the current time may be classified (i.e., using classifier 240) into a different computing state class than encoded representation 510. However, when considering the second network resource's event history up to another point in time, for example, time TX, that sequence of events may be classified into the same computing state class as encoded representation 510.
[0114] In some embodiments, computing system 102 may be configured to adjust network configurations of target network resource 504 based on network configurations of a network resource associated with the identified encoded representation (e.g., encoded representation 518). In some embodiments, computing system 102 may be configured to retrieve the network configurations of a second network resource. Retrieving the network configurations may include identifying the network resource associated with the identified encoded representation. In some embodiments, computing system 102 may be configured to access encoded representation database 134. Upon accessing encoded representation database 134, computing system 102 may search for entries including encoded representation 518. As an example, if encoded representation 518 referred to encoded representation E22, then computing system 102 may determine that at time T22 Network Resource 2 was identified as being similar to target network resource 504 at time 506. With this information, computing system 102 may access network configurations associated with the identified network resource (e.g., Network Resource 2).
[0115] One or more differences between the first network configurations of the first network resource and the second network configurations of the second network resource may be determined. For example, the network configurations may include an IP address, MAC address, geolocation, firewall and security settings, storage configurations, DNS configurations, or other network configuration information, or combinations thereof. In some examples, computing system 102 may be configured to adjust some or all of the network configurations of target network resource 504 based on the differences detected. In some embodiments, computing system 102 may be configured to adjust network configurations of target network resource 504 by adjusting one or more parameters of the network configurations of target network resource 504 based on one or more parameters of the network configurations of the second network resource (e.g., associated with the identified encoded representation).
[0116] As described herein, network configurations refer to setups and arrangements of different components within a network system, such as system 100 of FIG. 1. Network configurations can be used to determine how effectively a network operates.
[0117] In the context of artificial intelligence models, such as neural networks, the network configurations may include numbers and types of layers (e.g., input, hidden, and output layers), activation functions used in these layers (e.g., ReLU, Sigmoid, or SoftMax). Parameters in network configurations for such artificial intelligence models may include the optimizer (e.g., Stochastic Gradient Descent (SGD), Adam optimizer) or optimization algorithm used, which dictates how the model updates its weights. Other parameters include the learning rate, which controls step size during training, the batch size, which determines how many samples are processed before updating weights, the number of epochs, which defines how many times the entire dataset is passed through the network, and the like. Additionally, regularization methods like dropout and L1 / L2 regularization can be set to prevent overfitting, while weight initialization methods ensure the starting point for training.
[0118] In the context of computer networks, network configurations may include IP addressing, where each device is assigned a unique identifier (IPv4 or IPv6), subnet masks, gateways, routing tables that define how traffic is forwarded between devices, or others. Parameters associated with such network configurations may include firewall rules controlling what data can enter or leave the network, quality of service (QoS) configurations, which can prioritize traffic for certain applications (e.g., voice or video), and bandwidth allocation management. Furthermore, protocols like DHCP (for dynamic IP assignment) and DNS (for domain name resolution) can be included as part of the network configurations. The proper setup of these configurations and parameters can ensure optimal performance, security, and reliability in both neural and computer networks.
[0119] Returning to FIG. 1, simulated data generation subsystem 120 may be configured to generate simulated data by identifying one or more network resources similar to a target network resource and leveraging data associated with those similar network resources (as well as, in some cases, the target network resource) to generate the simulated data. In some embodiments, network resources can be identified as being similar to a target network resource based on similarities in state change vectors associated with candidate network resources (e.g., as described in process 400 of FIG. 4), sequences of state change labels associated with the candidate network resources (e.g., as described in process 500 of FIG. 5), encoded representations associated with the candidate network resources, or other information, or combinations thereof.
[0120] The simulated data generated by simulated data generation subsystem 120 can be used for a variety of use cases, such as, but not limited to, recommendation systems, privacy-preserving data analysis, model training and updating, and more. By leveraging the behavior and characteristics of similar network resources, simulated data generated by simulated data generation subsystem 120 can be used to augment existing datasets or simulate new data for training machine learning models. This is additionally advantageous because the models can be trained using data that exhibits similar behavior to a target network resource without using the target network resource's actual event data (or other information). The same holds for the similar network resources that are identified, as their data can be used to generate the simulated data without using their actual event data.
[0121] In some examples, simulated data generation subsystem 120 may be configured to generate simulated data used to simulate network resource behavior (e.g., computing state changes, specific transitions between computing states, etc.). This form of simulated data can be used in software development applications where data is needed for testing. Using simulated data in this scenario can allow the applications and / or other software to be tested using data that mimics actual network resource event data without exposing that network resource event data during testing. Similarly, the network resource event data can include fraudulent or other malicious / unwanted activity. By generating the simulated data based on such network resource event data, simulated data generation subsystem 120 can further improve fraudulent event detection techniques and modeling.
[0122] In some examples, simulated data generation subsystem 120 may be configured to generate simulated data used to protect sensitive data, particularly where privacy is needed (e.g., healthcare, finance, education, employment, social media, etc.). This simulated data generated can be used to prevent the sensitive portions of the data from being transmitted across systems. As a practical benefit, simulated data generation subsystem 120 can enable security compliance with various regulations (e.g., HIPAA, GDPR) to be maintained while also still leveraging insights about the network resource's event data.
[0123] In general, simulated data generation subsystem 120 generating simulated data using identified similar network resources offers several key benefits that make it a valuable tool across various domains, like healthcare, finance, telecommunications, education, social media, and others, where, for example, privacy is a top concern. Another benefit is that the simulated data generated by simulated data generation subsystem 120 can significantly improve model training. When real event data is scarce or imbalanced, simulated data provides a way to augment the dataset, making it more diverse and representative, which can lead to improved model performance, as well as faster and more efficient training. Furthermore, simulated data generation subsystem 120 can generate simulated data to solve cold-start problems, particularly in recommendation systems for network resources. By identifying similar network resources, simulated data generation subsystem 120 can generate simulated behaviors or preferences for new resources with minimal interactions, allowing for customized recommendations from the outset. Additionally, simulated data is cost-effective because it can be generated at scale without the need to gather real-world event data, thus reducing the costs associated with data collection and storage.
[0124] The ability to generate simulated data based on similar network resources offers substantial advantages, such as enhancing privacy, improving model training, addressing cold-start issues, and providing a more cost-effective alternative to relying solely on real data. These benefits make it a powerful tool for applications in recommendation systems, resource management, privacy-preserving analytics, and other areas facing challenges like data scarcity, privacy concerns, and the need for robust model training.
[0125] In some embodiments, simulated data generation subsystem 120 may be configured to generate simulated event data by identifying one or more network resources that are the most similar to a target network resource. These similar network resources may be determined, for example, by leveraging similar state change event sequences and / or similar sequences of state change labels. A technical improvement of this technique is the reduced amount of network data transmissions, such as API calls to encoded representation database 134, amongst other components of system 100, to identify the similar network resources. For instance, by filtering encoded representations of network resources at all points of time to only those that exhibit similar state change vectors and / or similar sequences of state change labels, fewer API calls can be made to encoded representation database 134 to retrieve encoded representations to compare against a target network resource's encoded representation. Furthermore, fewer computations can be performed by calculating similarities between a target network resource's encoded representation at a current time and encoded representations grouped into data buckets that have similar state change vectors and / or sequences of state change labels as the target network resource.
[0126] As an example, with reference to FIG. 6, process 600 may be leveraged to generate simulated event data. In some embodiments, computing system 102 may be configured to receive a request to identify one or more candidate network resources having event data that, at a given time in a history of those candidate network resources, is similar to event data of a target network resource at a particular time. In some embodiments, computing system 102 may use the identified candidate network resources and use the event data associated with those candidate network resources to generate, via a trained artificial intelligence model (e.g., a RAG model), simulated event data. In some examples, in addition to the event data associated with the candidate network resources, event data of the target network resource may be used to generate the simulated event data. In some embodiments, receiving the request may include computing system 102 being configured to receive a request to train a prediction model to predict a likelihood of an event occurring based on the simulated event data. In other words, the simulated event data may be created to simulate detected behaviors from the real event data (e.g., the event data of the candidate network resources, the event data of the target network resource).
[0127] In some embodiments, computing system 102 may leverage process 400 of FIG. 4 to identify one or more similar network resources. For example, computing system 102 may be configured to retrieve encoded representation 410 of event data 408 associated with target network resource 404 and first state change vector 412 associated with target network resource 404. In some embodiments, computing system 102 may leverage process 500 of FIG. 5 to identify one or more similar network resources. For example, computing system 102 may be configured to retrieve encoded representation 510 of event data 508 associated with target network resource 504 and sequence of state change labels 512 associated with target network resource 504. In some embodiments, encoded representations 410 and 510, respectively associated with event data 408 and 508, may be substantially the same. For example, target network resource 404 and target network resource 504 may be the same network resource. In this example, event data 408 and event data 508 may respectively be the same, and therefore encoded representation 410 may be the same or substantially similar to encoded representation 510.
[0128] In some embodiments, computing system 102 may perform one or more steps to generate some or all of the encoded representations, state change vectors, and sequences of state change labels for a plurality of network resources grouped into a plurality of data buckets including the first data bucket and the second data bucket. For example, as mentioned above, encoded representations can be grouped into data buckets based on similar state change vectors, as illustrated in FIG. 4. As another example, encoded representations can be grouped into data buckets based on similar sequences of state change labels, as illustrated in FIG. 5. In some embodiments, computing system 102 may be configured to determine, from the first data bucket and the second data bucket, one or more encoded representations satisfying a threshold distance condition with respect to the first encoded representation. For example, using process 400, encoded representation 418 may be identified as satisfying the threshold similarity condition with respect to encoded representation 410 (which, as mentioned above, may be the same as encoded representation 510 of FIG. 5). Similarly, using process 500, encoded representation 518 may be identified as satisfying the threshold similarity condition with respect to encoded representation 510 (which, as mentioned above, may be the same as encoded representation 410 of FIG. 4).
[0129] In some embodiments, if multiple encoded representations (e.g., encoded representations 418 and 518) identified as being similar to a target network resource's encoded representation, computing system 102 may be configured to use event data associated with some or all of the similar encoded representations. For example, encoded representations 418 and 518, if process 400 and process 500 are executed, can be used to generate simulated event data. In some cases, these encoded representations can be combined using one or more statistical combinations. In some examples, encoded representations to be used for simulated event data generation may be selected based on whether process 400 and / or process 500 identified those encoded representations as being similar. For example, some embodiments may include a condition that an encoded representation (e.g., from which simulated event data will be generated) be identified as being similar to a target network resource's encoded representation (at a particular point in time) by both process 400 and process 500. In some embodiments, upon determining one or more encoded representations using both process 400 and process 500, a selection of one of the encoded representations may be made. The selected encoded representation may then be used for simulated event data generation. In some examples, the selected encoded representation may be determined to satisfy a threshold similarity condition and / or may be determined to be the most similar to the target encoded representation.
[0130] In some embodiments, computing system 102 may be configured to retrieve event data used to generate the encoded representations of the similar network resources. For example, event data 602, corresponding to the event data used to generate encoded representation 418, may be retrieved from event data database 132. As another example, event data 604, corresponding to the event data used to generate encoded representation 518, may be retrieved from event data database 132. In some embodiments, event data 408 (and 508) may be retrieved from event data database 132 in addition to event data 602 and 604. In some embodiments, computing system 102 may be configured to identify event data 602 and 604 (as well as, for example, event data 408 and / or 508) based on encoded representations 418 and 518 (as well as, for example, encoded representations 410 and / or 510), respectively.
[0131] In some embodiments, computing system 102 may be configured to generate, using an artificial intelligence model, simulated event data based on the first event data and the second event data. For example, computing system 102 may be configured to provide input data (e.g., event data 408, 508, 602, and / or 604) to trained artificial intelligence model 610. Trained artificial intelligence model 610 may be configured to generate simulated event data 606 based on the input event data (e.g., event data 408, 508, 602, and / or 604).
[0132] In some embodiments, trained artificial intelligence model 610 may be a Retrieval-Augmentation Generation (RAG) model. For example, the RAG model may be configured to determine one or more patterns of events from the input event data (e.g., event data 408, 508, 602, and / or 604) and generate simulated event data 606 to represent at least some of the one or more patterns of events of the input event data. Therefore, simulated event data 606 may exhibit similar behaviors as the input event data (e.g., event data 408, 508, 602, and / or 604), or portions thereof.
[0133] In some embodiments, trained artificial intelligence model 610 may be a generative artificial intelligence model. Generative artificial intelligence models learn the underlying distribution of data and produce new data that closely resemble real events. In the context of event data, a target event represents a specific instance with certain features, such as time, location, event type, and other relevant attributes. To generate simulated event data, trained artificial intelligence model 610 leverages “similar” event data, which can include event data 602 and / or 604. Some example types of generative artificial intelligence models include Generative Adversarial Networks (GANs) or Variational Autoencoders (VAEs), which can create simulated event data.
[0134] As an example, with respect to a GAN, a generator network can be trained to produce new event data that mimics the real event data distribution (i.e., the event data of a “similar” network resource), while a discriminator network evaluates whether the generated data is realistic. The generator uses the features of the most similar events as conditioning inputs, adjusting the generated data by applying small perturbations learned from the distribution of similar events. For example, the generator might modify attributes like event time, intensity, or other features based on statistical properties (e.g., variance, mean shifts) extracted from the similar events.
[0135] As another example, with respect to a VAE, the input event data may be encoded into a latent space and samples from this space to generate new, similar event data points. By using the latent representation of similar events, the model can generate synthetic events that follow the same underlying distribution but exhibit variations to ensure diversity. This can allow simulated event data 606 to be realistic, yet distinct, synthetic event data that preserves the statistical properties and patterns of the original dataset (e.g., event data 408, 508, 602, and / or 604), which is useful for a number of additional tasks, such as, for example, privacy-preserving analysis, data augmentation, model training, or other tasks.
[0136] In some embodiments, computing system 102 may be configured to train, or cause training of, a prediction model to predict a likelihood of a future event occurring based on the simulated event data. For example, simulated event data 606 may be stored in training data database 620. In response to a request to train a prediction model, computing system 102 may select or indicate simulated event data 606 for the training process. Computing system 102 may access training data database 620 using one or more API calls.
[0137] In some embodiments, after receiving the training data, which may include or be formed from simulated event data 606, computing system 102 may provide the training data to a prediction model to train the prediction model to perform a particular task. In some embodiments, computing system 102 may effectuate the training operations, which may include creation of training, testing, and validation datasets. The training data can be input to the prediction model to obtain a result, which can be compared to reference feedback to adjust parameters of the prediction model to improve the prediction model's ability to predict results. After training has completed (including testing and validation), the trained prediction model can be deployed or stored for future deployment.
[0138] The prediction models, artificial intelligence models, and / or machine learning models described herein can include, for example and without limitation, one or more large language models (LLMs), attention-based neural networks, transformer-based neural networks, generative pretrained transformer (GPT) models, bidirectional encoder representations from transformers (BERT) models, encoder / decoder models, sequence to sequence models, autoencoder models, generative adversarial networks (GANs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), diffusion models (e.g., denoising diffusion probabilistic models (DDPMs)), or various combinations thereof.
[0139] These models can include at least one diffusion model, which can be used to generate image and / or video data. For example, the diffusion model can include a denoising neural network and / or a denoising diffusion neural network. The denoising neural network can be configured by applying noise to one or more training data elements (e.g., images, video frames) to generate noised data, providing the noised data as input to a candidate denoising neural network, causing the candidate denoising neural network to modify the noise data according to a denoising schedule. The denoising diffusion neural network can then evaluate a convergence condition based on comparing the modified noised data with the training data instances and modify the candidate denoising neural network according to the convergence condition (e.g., modifying weights and / or biases of one or more layers of the neural network). In some implementations, the AI models can be trained separately or jointly to facilitate generating multi-modal outputs, such as technical documents (e.g., service guides) that include both text and image / video information. In some cases, the AI models can be trained using adversarial training samples. For example, during each training iteration, the input data can be modified to include small inaccuracies, such as noise, incorrectly spelled words, or other data modifications.
[0140] FIG. 7 shows illustrative components of a system used to identify network resources that, at various times, are similar to a target network resource at another time, in accordance with one or more embodiments. For example, similar network resources can be leveraged to generate simulated event data for downstream classification tasks, data modeling, model training, and / or other tasks. As shown in FIG. 7, system 700 may include network resources, such as mobile device 722 and terminal 724. While shown as a smartphone and personal computer, respectively, in FIG. 7, it should be noted that the network resources may be any computing device, including, but not limited to, a laptop computer, a tablet computer, a hand-held computer, and other computer equipment (e.g., a server), including “smart,” wireless, wearable, and / or mobile devices. FIG. 7 also includes cloud components 710. A network resource may include cloud components 710, which may be any computing device as described above, and may include any type of mobile terminal, fixed terminal, or other device. For example, cloud components 710 may be implemented as a cloud computing system and may feature one or more component devices. It should also be noted that system 700 is not limited to three devices. Network resources may, for instance, utilize one or more devices to interact with one another, one or more servers, or other components of system 700. It should be noted, that, while one or more operations are described herein as being performed by particular components of system 700, these operations may, in some embodiments, be performed by other components of system 700. As an example, while one or more operations are described herein as being performed by components of mobile device 722, these operations may, in some embodiments, be performed by components of cloud components 710. In some embodiments, the various computers and systems described herein may include one or more computing devices that are programmed to perform the described functions. Additionally, or alternatively, multiple network resources may interact with system 700 and / or one or more components of system 700. For example, in one embodiment, a first network resource and a second network resource may interact with system 700 using two different components.
[0141] With respect to the components of mobile device 722, terminal 724, and cloud components 710, each of these devices may receive content and data via input / output (hereinafter “I / O”) paths. Each of these devices may also include processors and / or control circuitry to send and receive commands, requests, and other suitable data using the I / O paths. The control circuitry may comprise any suitable processing, storage, and / or input / output circuitry. Each of these devices may also include an input interface and / or output interface (e.g., a display) for use in receiving and displaying data. For example, as shown in FIG. 7, both mobile device 722 and terminal 724 include a display upon which to display data (e.g., conversational response, queries, and / or notifications).
[0142] Additionally, as mobile device 722 and terminal 724 are shown as touchscreen smartphones, these displays also act as input interfaces. It should be noted that in some embodiments, the devices may have neither input interfaces nor displays and may instead receive and display content using another device (e.g., a dedicated display device such as a computer screen, and / or a dedicated input device such as a remote control, mouse, voice input, etc.). Additionally, the devices in system 700 may run an application (or another suitable program). The application may cause the processors and / or control circuitry to perform operations related to generating dynamic conversational replies, queries, and / or notifications.
[0143] Each of these devices may also include electronic storage. The electronic storage may include non-transitory storage media that electronically stores information. The electronic storage media of the electronic storages may include one or both of (i) system storage that is provided integrally (e.g., substantially non-removable) with servers or client devices, or (ii) removable storage that is removably connectable to the servers or client devices via, for example, a port (e.g., a USB port, a firewire port, etc.) or a drive (e.g., a disk drive, etc.). The electronic storages may include one or more of optically readable storage media (e.g., optical disks, etc.), magnetically readable storage media (e.g., magnetic tape, magnetic hard drive, floppy drive, etc.), electrical charge-based storage media (e.g., EEPROM, RAM, etc.), solid-state storage media (e.g., flash drive, etc.), and / or other electronically readable storage media. The electronic storage may include one or more virtual storage resources (e.g., cloud storage, a virtual private network, and / or other virtual storage resources). The electronic storages may store software algorithms, information determined by the processors, information obtained from servers, information obtained from client devices, or other information that enables the functionality as described herein.
[0144] FIG. 7 also includes communication paths 728, 730, and 732. Communication paths 728, 730, and 732 may include the Internet, a mobile phone network, a mobile voice or data network (e.g., a 5G or LTE network), a cable network, a public switched telephone network, or other types of communications networks or combinations of communications networks. Communication paths 728, 730, and 732 may separately or together include one or more communications paths, such as a satellite path, a fiber-optic path, a cable path, a path that supports Internet communications (e.g., IPTV), free-space connections (e.g., for broadcast or other wireless signals), or any other suitable wired or wireless communications path or combination of such paths. The computing devices may include additional communication paths linking a plurality of hardware, software, and / or firmware components operating together. For example, the computing devices may be implemented by a cloud of computing platforms operating together as the computing devices.
[0145] Cloud components 710 may access a database (e.g., event data database 132, encoded representation database 134, state change vector database 136, state change label sequence database 138), and / or databases, to obtain event data, encoded representations, state change vectors, and / or sequences of state change labels associated with network resources at various points in time.
[0146] Cloud components 710 may include a computing system (e.g., computing system 102 of FIG. 1) and / or one or more AI models (e.g., encoder 220-decoder 240 of FIG. 2, trained artificial intelligence model 610). For example, cloud components 710 may include a model 702, which may be a machine learning model, artificial intelligence model, etc. (which may be referred collectively as “models” herein). Model 702 may take inputs 704 and provide outputs 706. The inputs may include multiple datasets, such as a training dataset, test datasets, validation datasets, or other information. Each of the plurality of datasets (e.g., inputs 704) may include data subsets related to event data, predicted forecasts and / or errors, and / or actual forecasts and / or errors. In some embodiments, outputs 706 may be fed back to model 702 as input to train model 702 (e.g., alone or in conjunction with indications of the accuracy of outputs 706, labels associated with the inputs, or with other reference feedback information). For example, the system may receive a first labeled feature input, wherein the first labeled feature input is labeled with a known prediction for the first labeled feature input. The system may then train the first machine learning model to classify the first labeled feature input with the known prediction to indicate if the candidate event or one or more events of the sequence of events is a fraudulent event.
[0147] In a variety of embodiments, model 702 may update its configurations (e.g., weights, biases, or other parameters) based on the assessment of its prediction (e.g., outputs 706) and reference feedback information (e.g., indication of accuracy, reference labels, or other information). In a variety of embodiments, where model 702 is a neural network, connection weights may be adjusted to reconcile differences between the neural network's prediction and reference feedback. In a further use case, one or more neurons (or nodes) of the neural network may require that their respective errors are sent backward through the neural network to facilitate the update process (e.g., backpropagation of error). Updates to the connection weights may, for example, be reflective of the magnitude of error propagated backward after a forward pass has been completed. In this way, for example, the model 702 may be trained to generate better predictions.
[0148] In some embodiments, model 702 may include an artificial neural network. In such embodiments, model 702 may include an input layer and one or more hidden layers. Each neural unit of model 702 may be connected with many other neural units of model 702. Such connections can be enforcing or inhibitory in their effect on the activation state of connected neural units. In some embodiments, each individual neural unit may have a summation function that combines the values of all of its inputs. In some embodiments, each connection (or the neural unit itself) may have a threshold function such that the signal must surpass it before it propagates to other neural units. Model 702 may 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. During training, an output layer of model 702 may correspond to a classification of model 702 (e.g., classifier 240), and an input known to correspond to that classification may be input into an input layer of model 702 during training. During testing, an input without a known classification may be input into the input layer, and a determined classification may be output.
[0149] In some embodiments, model 702 may include multiple layers (e.g., where a signal path traverses from front layers to back layers). In some embodiments, back propagation techniques may be utilized by model 702 where forward stimulation is used to reset weights on the “front” neural units. In some embodiments, stimulation and inhibition for model 702 may be more free flowing, with connections interacting in a more chaotic and complex fashion. During testing, an output layer of model 702 may indicate whether or not a given input corresponds to a classification of model 702.
[0150] In some embodiments, the model (e.g., model 702) may automatically perform actions based on outputs 706. In some embodiments, the model (e.g., model 702) may not perform any actions.
[0151] In some embodiments, model 702 may be trained by iteratively providing sample encoded representations (e.g., embeddings) to model 702. Each sample embedding may include a classification label or other classification result known in advance for that sample embedding (if available for supervised learning). For encoded representation 230 produced by encoder 220, classifier 240 can assign classification label 250 indicating a computing state of a corresponding network resource at a particular time in that network resource's event history. The predicted classification result can be compared to the known classification result to determine a loss. Model parameters (e.g., weights, biases, thresholds, etc.) can be updated based on the loss. This process can repeat, as mentioned above, iteratively. In some examples, this process can repeat a predefined number of times (e.g., 1,000 or more, 1,000,000 or more, etc.) or it can repeat until a convergence condition is met. For example, the convergence condition may be met if a difference between an accuracy of the model's prediction does not change by more than a threshold amount after a threshold number of iterations.
[0152] System 700 also includes API layer 750. API layer 750 may allow the system to generate summaries across different devices. In some embodiments, API layer 750 may be implemented on mobile device 722 or terminal 724. Alternatively, or additionally, API layer 750 may reside on one or more of cloud components 710. API layer 750 (which may be A REST or Web services API layer) may provide a decoupled interface to data and / or functionality of one or more applications. API layer 750 may provide a common, language-agnostic way of interacting with an application. Web services APIs offer a well-defined contract, called WSDL, that describes the services in terms of its operations and the data types used to exchange information. REST APIs do not typically have this contract; instead, they are documented with client libraries for most common languages, including Ruby, Java, PHP, and JavaScript. SOAP Web services have traditionally been adopted in the enterprise for publishing internal services, as well as for exchanging information with partners in B2B transactions.
[0153] API layer 750 may use various architectural arrangements. For example, system 700 may be partially based on API layer 750, such that there is strong adoption of SOAP and RESTful Web-services, using resources like Service Repository and Developer Portal, but with low governance, standardization, and separation of concerns. Alternatively, system 700 may be fully based on API layer 750, such that separation of concerns between layers like API layer 750, services, and applications are in place.
[0154] In some embodiments, the system architecture may use a microservice approach. Such systems may use two types of layers: Front-End Layer and Back-End Layer where microservices reside. In this kind of architecture, the role of the API layer 750 may provide integration between Front-End and Back-End. In such cases, API layer 750 may use RESTful APIs (exposition to front-end or even communication between microservices). API layer 750 may use AMQP (e.g., Kafka, RabbitMQ, etc.). API layer 750 may use incipient usage of new communications protocols such as gRPC, Thrift, etc.
[0155] In some embodiments, the system architecture may use an open API approach. In such cases, API layer 750 may use commercial or open-source API Platforms and their modules. API layer 750 may use a developer portal. API layer 750 may use strong security constraints applying WAF and DDoS protection, and API layer 750 may use RESTful APIs as standard for external integration.
[0156] FIG. 8 shows a flowchart of the steps involved in preventing unauthorized data access based on an analysis of time series data, in accordance with one or more embodiments. For example, process 800 may be implemented using one or more computing systems, such as computing system 102 of FIG. 1, or other components described herein. In some embodiments, process 800 may begin at step 802.
[0157] At step 802, computing system 102 may be configured to receive a request to identify a network resource having event data that, at a given time in a history of the network resource, is similar to first event data of a first network resource at a first time. In some embodiments, the request may be to train a prediction model to predict a likelihood of an event occurring based on sample event data generated to simulate the first event data.
[0158] At step 804, computing system 102 may be configured to retrieve a first encoded representation of the first event data, a state change vector associated with the first network resource, and a sequence of state change labels associated with the first network resource. In some embodiments, computing system 102 may perform steps for generating the encoded representations, state change vectors, and sequences of state change labels for a plurality of network resources grouped into a plurality of data buckets including the first data bucket and the second data bucket. In some embodiments, the first encoded representation of the first event data including a first sequence of events associated with the first network resource that occurred at the first time. For example, generating the first encoded representation may include retrieving the first event data and inputting the first event data into an encoder trained to transform the first event data into the first encoded representation.
[0159] In some embodiments, computing system 102 may be configured to generate the state change vector associated with the first network resource, the state change vector comprising a sequence of binary elements respectively associated with a sequence of events of the first network resource up to and including the first time. The sequence of binary elements are respectively assigned one of: a first label indicating that a respective event corresponds to a state change event or a second label indicating that a respective event does not correspond to a state change event. In some embodiments, computing system 102 may be configured to identify, based on a given event in the sequence of events, a sequentially previous event. A previous classification of the sequentially previous event and a first binary label or a second binary label may be assigned to an element in the state change vector corresponding to the given event respectively indicating whether the given event comprises a state change event.
[0160] In some embodiments, computing system 102 may be configured to generate the sequence of state change labels indicating an order and type of computing state changes of the first network resource. The event data may include a sequence of events associated with the first network resource. Computing system 102 may detect a computing state change, in some embodiments, by determining that a computing state of the first network resource changes from a sequentially previous event in the sequence of events. Each state change label in the sequence of state change labels may indicate a computing state change of a plurality of possible classification changes.
[0161] At step 806, computing system 102 may be configured to group the state change vector into a first data bucket comprising encoded representations of network resources generated at different times having similar state change vectors as the state change vector. In some embodiments, the state change vector being grouped into the first data bucket may include computing system 102 hashing the state change vector into the first data bucket based on the encoded representations of the first data bucket comprising state change vectors that were hashed into the first data bucket. The first encoded representation may be stored in a data structure comprising the encoded representations of the first data bucket.
[0162] In some examples, the state change vector may include a sequence of binary elements. In such cases, hashing the state change vector into the first data bucket may include hashing the sequence of binary elements into the first data bucket. Computing system 102 may determine that the first data bucket stores encoded representations comprising the hashed sequence of binary elements based on the hashed sequence of binary elements matching at least a portion of other sequences of binary elements associated with the state change vectors.
[0163] At step 808, computing system 102 may be configured to group the sequence of state change labels into a second data bucket comprising encoded representations of network resources generated at different times having similar sequences of state change labels as the sequence of state change labels. In some embodiments, grouping the first encoded representation into the second data bucket includes computing system 102 determining, based on the sequence of state change labels, one or more other sequences of state change labels that include at least a portion of the sequence of state change labels, wherein the encoded representations of the first data bucket correspond to the one or more other sequences of state change labels.
[0164] In some embodiments, computing system 102 may be configured to generate, prior to receiving the request, a plurality of data buckets including the first data bucket and the second data bucket, the plurality of data buckets comprising encoded representations representing sequences of events of network resources at different times that have at least one of similar state change vectors or similar sequences of state change labels
[0165] At step 810, computing system 102 may be configured to determine, from the first data bucket and the second data bucket, one or more encoded representations satisfying a threshold distance condition with respect to the first encoded representation. In some embodiments, the threshold distance condition being satisfied may include computing system 102 determining that a distance in an embedding space between the first encoded representation and each of the one or more encoded representations is less than or equal to a threshold distance.
[0166] At step 812, computing system 102 may be configured to retrieve second event data used to generate the one or more encoded representations. In some embodiments, the second event data may refer to the event data used to generate the second encoded representation. The second event data may include a second sequence of events of a second network resource at a second time.
[0167] At step 814, computing system 102 may be configured to generate, using an artificial intelligence model, simulated event data based on the first event data and the second event data. In some embodiments, computing system 102 may further be configured to train, or cause training of, a prediction model to predict a likelihood of a future event occurring based on the simulated event data. In some embodiments, computing system 102 may be configured to generate the simulated event data by inputting the first event data and the second event data into the artificial intelligence model to generate the simulated event data, wherein the artificial intelligence model comprises a Retrieval-Augmentation Generation (RAG) model. For example, the RAG model can determine one or more patterns of events from the first event data and the second event data and generates the simulated event data to represent at least some of the one or more patterns of events such that the simulated event data has similar behavior as at least one of: the first event data, the second event data, or portions thereof.
[0168] FIG. 9 shows a flowchart of an example process 900 for adjusting network configurations of a target network resource at a given time based on one or more network resources that, at other times, have similar state change vectors, in accordance with one or more embodiments. For example, process 900 may be implemented using one or more computing systems, such as computing system 102 of FIG. 1, or other components described herein. In some embodiments, process 900 may begin at step 902.
[0169] At step 902, computing system 102 may be configured to receive, at a first time, a request to update first network configurations of a first network resource.
[0170] At step 904, computing system 102 may be configured to retrieve (i) a first encoded representation of a sequence of events associated with the first network resource at the first time and (ii) a state change vector comprising a sequence of binary elements respectively associated with the sequence of events.
[0171] In some embodiments, computing system 102 may be further configured to retrieve event data comprising a set of encoded representations respectively corresponding to subsequences of events from the sequence of events, wherein the subsequences of events correspond are created based on each event occurring, and wherein the subsequences of events are used to generate a corresponding encoded representation.
[0172] In some embodiments, computing system 102 may be configured to retrieve event data comprising the sequence of events at the first time. Computing system 102 can generate updated event data by adding, sequentially, a first event to the sequence of events to obtain an updated sequence of events associated with the first network resource, the first event comprising the request occurring at the first time. Computing system 102 may be configured to input the updated event data into a trained artificial intelligence model to generate the first encoded representation representing the first network resource at the first time.
[0173] In some embodiments, computing system 102 may be configured to determine, using a classifier, a first classification of the first encoded representation at the first time, wherein a first classification label is assigned to the first encoded representation, wherein the state change vector indicates whether events from the sequence of events correspond to state change events.
[0174] In some embodiments, computing system 102 may be configured to generate the first state change vector associated with the first network resource, the first state change vector comprising a sequence of binary elements respectively associated with the sequence of events. The sequence of binary elements may be respectively assigned a first label indicating that a respective event corresponds to a state change event or a second label indicating that a respective event does not correspond to a state change event. Computing system 102 may be configured to identify, based on a given event in the first sequence of events, a sequentially previous event and determine a previous classification of the sequentially previous event. Computing system 102 may be configured to assign a first binary label or a second binary label to an element in the first state change vector corresponding to the given event respectively indicating whether the given event comprises a state change event.
[0175] At step 906, computing system 102 may be configured to group the first encoded representation into a data bucket comprising encoded representations of other network resources at different times having state change vectors similar to the state change vector of the first network resource. In some embodiments, grouping the state change vector into the data bucket may include computing system 102 hashing the state change vector into the data bucket based on the encoded representations of the data bucket comprising state change vectors that were hashed into the data bucket. Computing system 102 may further be configured to store the first encoded representation in a data structure comprising the encoded representations of the data bucket. In some examples, hashing the state change vector into the data bucket may include computing system 102 hashing the sequence of binary elements. Computing system 102 may be configured to determine that the data bucket stores encoded representations comprising the hashed sequence of binary elements based on the hashed sequence of binary elements matching at least a portion of other sequences of binary elements associated with the state change vectors.
[0176] In some examples, the data bucket corresponds to a first data bucket including first encoded representations of first network resources at first times having first state change vectors similar to the state change vector of the first network resource. In these examples, computing system 102 may be configured to group the first encoded representation into a second data bucket comprising second encoded representations of other network resources at different times having state change vectors similar to the state change vector of the first network resource. Computing system 102 may be configured to determine similarity scores based on the first encoded representations and the second encoded representations, wherein a similarity score between the first encoded representation and the second encoded representation satisfies the threshold similarity condition.
[0177] In some embodiments, computing system 102 may be configured to generate, prior to receiving the request, a plurality of data buckets including the data bucket, the plurality of data buckets comprising encoded representations representing sequences of events of network resources at different times that have similar state change vectors.
[0178] At step 908, computing system 102 may be configured to retrieve second network configurations of a second network resource associated with a second encoded representation from the encoded representations determined to satisfy a threshold similarity condition with respect to the first encoded representation. In some embodiments, determining that the second encoded representation satisfies the threshold similarity condition may include computing system 102 calculating a distance in encoded representation space between the first encoded representation and the second encoded representation. Computing system 102 may determine that the threshold similarity condition has been satisfied based on a determination that the distance is less than a threshold distance.
[0179] In some embodiments, computing system 102 may be configured to calculate similarity scores between the first encoded representation at the first time and the encoded representations included in the data bucket. Computing system 102 may be configured to determine that the second encoded representation of the encoded representations included in the data bucket satisfies the threshold similarity condition.
[0180] In some embodiments, computing system 102 may be configured to generate the second encoded representation based on a second sequence of events associated with the second network resource at a second time, wherein the second time occurs prior to the first time. To generate the second encoded representation, computing system 102 may be configured to input second event data representing the second sequence of events into a trained artificial intelligence model to generate the second encoded representation.
[0181] In some embodiments, computing system 102 may be configured to determine one or more encoded representations similar to the first network resource using sequences of state change labels similar to a sequence of state change labels of the first network resource, wherein the second encoded representation is selected from the encoded representations of the data bucket and the one or more encoded representations.
[0182] At step 910, computing system 102 may be configured to update, based on the second network configurations, the first network configurations. In some embodiments, computing system 102 updating the first network configurations may include computing system 102 determining one or more differences between the first network configurations and the second network configurations, wherein the first network configurations are updated based on the one or more differences. In some embodiments, computing system 102 updating the first network configurations may include computing system 102 adjusting one or more parameters of the first network configurations based on one or more parameters of the second network configurations of the second network resource
[0183] FIG. 10 shows a flowchart of an example process 1000 for adjusting network configurations of a target network resource at a given time based on one or more network resources that, at other times, have similar sequences of state change labels, in accordance with one or more embodiments. For example, process 1000 may be implemented using one or more computing systems, such as computing system 102 of FIG. 1, or other components described herein. In some embodiments, process 1000 may begin at step 1002.
[0184] At step 1002, computing system 102 may be configured to receive, at a first time, a request to update first network configurations of a first network resource.
[0185] At step 1004, computing system 102 may be configured to retrieve (i) a first encoded representation of a sequence of events associated with the first network resource at the first time and (ii) a sequence of state change labels of the first network resource. In some embodiments, computing system 102 may be configured to generate the sequence of state change labels indicating an order and type of computing state changes of the first network resource. In some examples, a computing state change may be detected by computing system 102 determining that a computing state of the first network resource changes from a sequentially previous event in the sequence of events. Each state change label in the first sequence of state change labels indicates a computing state change of a plurality of possible classification changes.
[0186] In some embodiments, the sequences of state change labels respectively including at least the portion of the sequence of state change labels of the first network resource comprise sequences of state change labels that include an entirety of the sequence of state change labels of the first network resource. In some embodiments, computing system 102 may be configured to determine, using a classifier, a first classification of the first encoded representation at the first time, wherein a first classification label is assigned to the first encoded representation. In some embodiments, computing system 102 may be configured to determine a second classification of a second encoded representation of a second sequence of events of the first network resource at a second time sequentially prior to the first time, wherein a second classification label is assigned to the second encoded representation. Computing system 102 may add an element to the sequence of state change labels of the first network resource, the element being assigned a state change label indicating that the first network resource changed from being in a second computing state corresponding to the second classification label to being in a first computing state corresponding to the first classification label.
[0187] At step 1006, computing system 102 may be configured to group the first encoded representation into a data bucket comprising encoded representations of other network resources at different times having sequences of state change labels respectively including at least a portion of the sequence of state change labels of the first network resource. In some embodiments, grouping the first encoded representation into the first data bucket may include computing system 102 being configured to determine, based on the sequence of state change labels, one or more other sequences of state change labels that include at least the portion of the sequence of state change labels, wherein the encoded representations of the first data bucket correspond to the one or more other sequences of state change labels.
[0188] In some examples, the data bucket may be a first data bucket including first encoded representations of first network resources at first times having first sequences of state change labels including at least a portion of the sequence of state change labels of the first network resource. In such examples, computing system 102 may be configured to group the first encoded representation into a second data bucket including second encoded representations of second network resources at second times having second sequences of state change labels including at least a portion of the sequence of state change labels of the first network resource. Computing system 102 may select the second encoded representation from the first encoded representations of the first data bucket and the second encoded representations of the second data bucket.
[0189] In some embodiments, computing system 102 may be configured to generate a state change vector associated with the first network resource, the state change vector comprising a sequence of binary elements respectively associated with the sequence of events of the first network resource at the first time. The sequence of binary elements may respectively assign a first label indicating that a respective event corresponds to a state change event or a second label indicating that a respective event does not correspond to a state change event. In some embodiments, computing system 102 may identify, based on a given event in the sequence of events, a sequentially previous event and determine a previous classification of the sequentially previous event based. Computing system 102 may be configured to assign a first binary label or a second binary label to an element in the state change vector corresponding to the given event respectively indicating whether the given event comprises a state change event.
[0190] In some embodiments, the data bucket may be a first data bucket. Computing system 102 may be configured to group the state change vector into a second data bucket that comprises encoded representations of network resources that, at different times, had similar state change vectors as the state change vector of the first network resource. The state change vector may be hashed into the second data bucket, wherein the second encoded representation is selected from the encoded representations of the first data bucket and the second data bucket.
[0191] At step 1008, computing system 102 may be configured to retrieve second network configurations of a second network resource associated with a second encoded representation from the encoded representations determined to satisfy a threshold similarity condition with respect to the first encoded representation. In some embodiments, computing system 102 may determine that the second encoded representation satisfies the threshold similarity condition by calculating a distance in encoded representation space between the first encoded representation and the second encoded representation. Computing system 102 may determine whether the distance is less than a threshold distance to determine whether the threshold similarity condition has been satisfied.
[0192] In some embodiments, computing system 102 may be configured to calculate similarity scores between the first encoded representation at the first time and the encoded representations included in the data bucket. Computing system 102 may determine whether the second encoded representation of the encoded representations included in the data bucket satisfies the threshold similarity condition.
[0193] At step 1010, computing system 102 may be configured to update, based on the second network configurations, the first network configurations. In some embodiments, updating the first network configurations may include computing system 102 determining one or more differences between the first network configurations and the second network configurations, wherein the first network configurations are updated based on the one or more differences. In some embodiments, updating the first network configurations may include adjusting one or more parameters of the first network configurations based on one or more parameters of the second network configurations of the second network resource.
[0194] It is contemplated that the steps or descriptions of FIGS. 8-10 may be used with any other embodiment of this disclosure. In addition, the steps and descriptions described in relation to FIGS. 8-10 may be done in alternative orders or in parallel to further the purposes of this disclosure. For example, each of these steps may be performed in any order, in parallel, or simultaneously to reduce lag or increase the speed of the system or method. Furthermore, it should be noted that any of the components, devices, or equipment discussed in relation to the figures above could be used to perform one or more of the steps in FIGS. 8-10.
[0195] The above-described embodiments of the present disclosure are presented for purposes of illustration and not of limitation, and the present disclosure is limited only by the claims which follow. Furthermore, it should be noted that the features and limitations described in any one embodiment may be applied to any embodiment herein, and flowcharts or examples relating to one embodiment may be combined with any other embodiment in a suitable manner, done in different orders, or done in parallel. In addition, the systems and methods described herein may be performed in real time. It should also be noted that the systems and / or methods described above may be applied to, or used in accordance with, other systems and / or methods.
[0196] The present techniques will be better understood with reference to the following enumerated embodiments:
[0197] A1. A method for updating network configurations of a target network resource based on network resources at various points in time determined to have similar state change vectors as the target network resource at another point in time.
[0198] A2. The method of embodiment A1, comprising: receiving, at a first time, a request to update first network configurations of a first network resource; retrieving (i) a first encoded representation of a sequence of events associated with the first network resource at the first time and (ii) a state change vector comprising a sequence of binary elements respectively associated with the sequence of events; grouping the first encoded representation into a data bucket comprising encoded representations of other network resources at different times having state change vectors similar to the state change vector of the first network resource; retrieving second network configurations of a second network resource associated with a second encoded representation from the encoded representations determined to satisfy a threshold similarity condition with respect to the first encoded representation; and updating, based on the second network configurations, the first network configurations.
[0199] A3. The method of embodiment A2, further comprising: determining that the second encoded representation satisfies the threshold similarity condition by: calculating a distance in encoded representation space between the first encoded representation and the second encoded representation; and determining that the distance is less than a threshold distance.
[0200] A4. The method of any one of embodiments A2-A3, wherein updating the first network configurations comprises: determining one or more differences between the first network configurations and the second network configurations, wherein the first network configurations are updated based on the one or more differences.
[0201] A5. The method of any one of embodiments A2-A4, wherein updating the first network configurations comprises: adjusting one or more parameters of the first network configurations based on one or more parameters of the second network configurations of the second network resource.
[0202] A6. The method of any one of embodiments A2-A5, further comprising: generating the second encoded representation based on a second sequence of events associated with the second network resource at a second time, wherein the second time occurs prior to the first time.
[0203] A7. The method of embodiment A6, wherein generating the second encoded representation comprises: inputting second event data representing the second sequence of events into a trained artificial intelligence model to generate the second encoded representation.
[0204] A8. The method of any one of embodiments A2-A7, further comprising: retrieving event data comprising a set of encoded representations respectively corresponding to subsequences of events from the sequence of events, wherein the subsequences of events correspond are created based on each event occurring, and wherein the subsequences of events are used to generate a corresponding encoded representation.
[0205] A9. The method of any one of embodiments A2-A8, further comprising: determining, using a classifier, a first classification of the first encoded representation at the first time, wherein a first classification label is assigned to the first encoded representation, wherein the state change vector indicates whether events from the sequence of events correspond to state change events.
[0206] A10. The method of any one of embodiments A2-A9, further comprising: generating the state change vector associated with the first network resource, the state change vector comprising a sequence of binary elements respectively associated with the sequence of events.
[0207] A11. The method of embodiment A10, wherein the sequence of binary elements are respectively assigned one of: a first label indicating that a respective event corresponds to a state change event; or a second label indicating that a respective event does not correspond to a state change event.
[0208] A12. The method of embodiment A10 or A11, further comprising: identifying, based on a given event in the sequence of events, a sequentially previous event; determining a previous classification of the sequentially previous event based; and assigning a first binary label or a second binary label to an element in the state change vector corresponding to the given event respectively indicating whether the given event comprises a state change event.
[0209] A13. The method of any one of embodiments A2-A12, wherein grouping the state change vector into the data bucket comprises: hashing the state change vector into the data bucket based on the encoded representations of the data bucket comprising state change vectors that were hashed into the data bucket; and storing the first encoded representation in a data structure comprising the encoded representations of the data bucket.
[0210] A14. The method of embodiment A13, wherein hashing the state change vector into the data bucket comprises: hashing the sequence of binary elements; determining that the data bucket stores encoded representations comprising the hashed sequence of binary elements based on the hashed sequence of binary elements matching at least a portion of other sequences of binary elements associated with the state change vectors.
[0211] A15. The method of any one of embodiments A2-A14, further comprising: prior to receiving the request, generating a plurality of data buckets including the data bucket, the plurality of data buckets comprising encoded representations representing sequences of events of network resources at different times that have similar state change vectors.
[0212] A16. The method of any one of embodiments A2-A15, further comprising: calculating similarity scores between the first encoded representation at the first time and the encoded representations included in the data bucket; and determining that the second encoded representation of the encoded representations included in the data bucket satisfies the threshold similarity condition.
[0213] A17. The method of any one of embodiments A2-A16, further comprising: retrieving event data comprising the sequence of events at the first time; generating updated event data by adding, sequentially, a first event to the sequence of events to obtain an updated sequence of events associated with the first network resource, the first event comprising the request occurring at the first time; and inputting the updated event data into a trained artificial intelligence model to generate the first encoded representation representing the first network resource at the first time.
[0214] A18. The method of any one of embodiments A2-A17, wherein the data bucket comprises a first data bucket comprising first encoded representations of first network resources at first times having first state change vectors similar to the state change vector of the first network resource, the method further comprises: grouping the first encoded representation into a second data bucket comprising second encoded representations of other network resources at different times having state change vectors similar to the state change vector of the first network resource; and determining similarity scores based on the first encoded representations and the second encoded representations, wherein a similarity score between the first encoded representation and the second encoded representation satisfies the threshold similarity condition.
[0215] A19. The method of any one of embodiments A2-A18, further comprising: determining one or more encoded representations similar to the first network resource using sequences of state change labels similar to a sequence of state change labels of the first network resource, wherein the second encoded representation is selected from the encoded representations of the data bucket and the one or more encoded representations.
[0216] A20. The method of any one of embodiments A2-A19, wherein the first encoded representation and the state change vector are retrieved in response to the request being received.
[0217] A21. The method of embodiment A1, further comprising: retrieving (i) a first encoded representation of a sequence of events associated with a first network resource at a first time and (ii) a state change vector comprising a sequence of binary elements respectively associated with the sequence of events; grouping the first encoded representation into a data bucket comprising encoded representations of other network resources at different times having state change vectors similar to the state change vector; and identifying, from the data bucket, a second encoded representation that satisfies a threshold similarity condition with respect to the first encoded representation.
[0218] A22. The method of embodiment A21, further comprising: retrieving second network configurations of a second network resource associated with the second encoded representation; and updating first network configurations of the first network resource based on the second network configurations.
[0219] A23. The method of embodiment A21 or A22, further comprising: receiving, at the first time, a request to update first network configurations of the first network resource.
[0220] A24. The method of embodiment A23, wherein the first encoded representation and the state change vector are retrieved responsive to receiving the request.
[0221] B1. A method for updating network configurations of a target network resource based on network resources at various points in time determined to have similar sequences of state change labels as the target network resource at another point in time.
[0222] B2. The method of embodiment B1, comprising: receiving, at a first time, a request to update first network configurations of a first network resource; retrieving (i) a first encoded representation of a sequence of events associated with the first network resource at the first time and (ii) a sequence of state change labels of the first network resource; grouping the first encoded representation into a data bucket comprising encoded representations of other network resources at different times having sequences of state change labels respectively including at least a portion of the sequence of state change labels of the first network resource; retrieving second network configurations of a second network resource associated with a second encoded representation from the encoded representations determined to satisfy a threshold similarity condition with respect to the first encoded representation; and updating, based on the second network configurations, the first network configurations.
[0223] B3. The method of embodiment B2, further comprising: generating the sequence of state change labels indicating an order and type of computing state changes of the first network resource.
[0224] B4. The method of embodiment B3, wherein a computing state change is detected by: determining that a computing state of the first network resource changes from a sequentially previous event in the sequence of events.
[0225] B5. The method of embodiment B3 or B4, wherein each state change label in the first sequence of state change labels indicates a computing state change of a plurality of possible classification changes.
[0226] B6. The method of any one of embodiments B2-B5, wherein grouping the first encoded representation into the first data bucket comprises: determining, based on the sequence of state change labels, one or more other sequences of state change labels that include at least the portion of the sequence of state change labels, wherein the encoded representations of the first data bucket correspond to the one or more other sequences of state change labels.
[0227] B7. The method of any one of embodiments B2-B6, wherein the data bucket comprises a first data bucket comprises first encoded representations of first network resources at first times having first sequences of state change labels including at least a portion of the sequence of state change labels of the first network resource, the method further comprising: grouping the first encoded representation into a second data bucket comprises second encoded representations of second network resources at second times having second sequences of state change labels including at least a portion of the sequence of state change labels of the first network resource.
[0228] B8. The method of embodiment B7, further comprising: selecting the second encoded representation from the first encoded representations of the first data bucket and the second encoded representations of the second data bucket.
[0229] B9. The method of any one of embodiments B2-B8, wherein the sequences of state change labels respectively including at least the portion of the sequence of state change labels of the first network resource comprise sequences of state change labels that include an entirety of the sequence of state change labels of the first network resource.
[0230] B10. The method of any one of embodiments B2-B9, further comprising: determining, using a classifier, a first classification of the first encoded representation at the first time, wherein a first classification label is assigned to the first encoded representation.
[0231] B11. The method of embodiment B10, further comprising: determining a second classification of a second encoded representation of a second sequence of events of the first network resource at a second time sequentially prior to the first time, wherein a second classification label is assigned to the second encoded representation; and adding an element to the sequence of state change labels of the first network resource, the element being assigned a state change label indicating that the first network resource changed from being in a second computing state corresponding to the second classification label to being in a first computing state corresponding to the first classification label.
[0232] B12. The method of any one of embodiments B2-B11, further comprising: determining that the second encoded representation satisfies the threshold similarity condition by: calculating a distance in encoded representation space between the first encoded representation and the second encoded representation; and determining that the distance is less than a threshold distance.
[0233] B13. The method of any one of embodiments B2-B12, wherein updating the first network configurations comprises: determining one or more differences between the first network configurations and the second network configurations, wherein the first network configurations are updated based on the one or more differences.
[0234] B14. The method of any one of embodiments B2-B13, wherein updating the first network configurations comprises: adjusting one or more parameters of the first network configurations based on one or more parameters of the second network configurations of the second network resource.
[0235] B15. The method of any one of embodiments B2-B14, further comprising: generating a state change vector associated with the first network resource, the state change vector comprising a sequence of binary elements respectively associated with the sequence of events of the first network resource at the first time.
[0236] B16. The method of embodiment B15, wherein the sequence of binary elements are respectively assigned one of: a first binary label indicating that a respective event corresponds to a state change event; or a second binary label indicating that a respective event does not correspond to a state change event.
[0237] B17. The method of embodiment B15 or B16, further comprising: identifying, based on a given event in the sequence of events, a sequentially previous event; determining a previous classification of the sequentially previous event based; and assigning the first binary label or the second binary label to an element in the state change vector corresponding to the given event respectively indicating whether the given event comprises a state change event.
[0238] B18. The method of any one of embodiments B15-B17, wherein the data bucket comprises a first data bucket, the method further comprises: grouping the state change vector into a second data bucket comprises encoded representations of network resources that, at different times, had similar state change vectors as the state change vector of the first network resource; and hashing the state change vector into the second data bucket, wherein the second encoded representation is selected from the encoded representations of the first data bucket and the second data bucket.
[0239] B19. The method of any one of embodiments B2-B18, further comprising: calculating similarity scores between the first encoded representation at the first time and the encoded representations included in the data bucket; and determining that the second encoded representation of the encoded representations included in the data bucket satisfies the threshold similarity condition.
[0240] B20. The method of any one of embodiments B2-B19, wherein the first encoded representation and the sequence of state change labels are retrieved responsive to receiving the request.
[0241] B21. The method of embodiment B1, further comprising: retrieving (i) a first encoded representation of a sequence of events associated with a first network resource at a first time and (ii) a sequence of state change labels of the first network resource; grouping the first encoded representation into a data bucket comprising encoded representations of other network resources at different times having sequences of state change labels respectively including at least a portion of the sequence of state change labels; and identifying, from the data bucket, a second encoded representation that satisfies a threshold similarity condition with respect to the first encoded representation.
[0242] B22. The method of embodiment B21, further comprising: retrieving second network configurations of a second network resource associated with the second encoded representation; and updating first network configurations of the first network resource based on the second network configurations.
[0243] B23. The method of embodiment B21 or B22, further comprising: receiving, at the first time, a request to update first network configurations of the first network resource.
[0244] B24. The method of embodiment B23, wherein the first encoded representation and the sequence of state change labels are retrieved responsive to receiving the request.
[0245] C1. A method for filtering network resources to reduce computations performed to identify network resources that, at various times, are similar to a target network resource at another time.
[0246] C2. The method of embodiment C1, comprising: receiving a request to identify a network resource having event data that, at a given time in a history of the network resource, is similar to first event data of a first network resource at a first time; retrieving a first encoded representation of the first event data, a state change vector associated with the first network resource, and a sequence of state change labels associated with the first network resource; grouping the state change vector into a first data bucket comprising encoded representations of network resources generated at different times having similar state change vectors as the state change vector; grouping the sequence of state change labels into a second data bucket comprising encoded representations of network resources generated at different times having similar sequences of state change labels as the sequence of state change labels; determining, from the first data bucket and the second data bucket, one or more encoded representations satisfying a threshold distance condition with respect to the first encoded representation; retrieving second event data used to generate the one or more encoded representations; and generating, using an artificial intelligence model, simulated event data based on the first event data and the second event data.
[0247] C3. The method of embodiment C2, further comprising: training, or causing training of, a prediction model to predict a likelihood of a future event occurring based on the simulated event data.
[0248] C4. The method of embodiment C2 or C3, wherein generating the simulated event data comprises: inputting the first event data and the second event data into the artificial intelligence model to generate the simulated event data, wherein the artificial intelligence model comprises a Retrieval-Augmentation Generation (RAG) model.
[0249] C5. The method of embodiment C4, wherein the RAG model determines one or more patterns of events from the first event data and the second event data and generates the simulated event data to represent at least some of the one or more patterns of events such that the simulated event data has similar behavior as at least one of: the first event data, the second event data, or portions thereof.
[0250] C6. The method of any one of embodiments C2-C5, wherein receiving the request comprises: receiving a request to train a prediction model to predict a likelihood of an event occurring based on sample event data generated to simulate the first event data.
[0251] C7. The method of any one of embodiments C2-C6, further comprising: generating the first encoded representation of the first event data comprising a first sequence of events associated with the first network resource that occurred at the first time.
[0252] C8. The method of embodiment C7, wherein generating the first encoded representation comprises: retrieving the first event data; and inputting the first event data into an encoder trained to transform the first event data into the first encoded representation.
[0253] C9. The method of any one of embodiments C2-C8, further comprising: generating the state change vector associated with the first network resource, the state change vector comprising a sequence of binary elements respectively associated with a sequence of events of the first network resource up to and including the first time.
[0254] C10. The method of embodiment C9, wherein the sequence of binary elements are respectively assigned one of: a first label indicating that a respective event corresponds to a state change event; or a second label indicating that a respective event does not correspond to a state change event.
[0255] C11. The method of embodiment C9 or C10, further comprising: identifying, based on a given event in the sequence of events, a sequentially previous event; determining a previous classification of the sequentially previous event; and assigning a first binary label or a second binary label to an element in the state change vector corresponding to the given event respectively indicating whether the given event comprises a state change event.
[0256] C12. The method of any one of embodiments C2-C11, wherein grouping the state change vector into the first data bucket comprises: hashing the state change vector into the first data bucket based on the encoded representations of the first data bucket comprising state change vectors that were hashed into the first data bucket; and storing the first encoded representation in a data structure comprising the encoded representations of the first data bucket.
[0257] C13. The method of embodiment C12, wherein the state change vector comprises a sequence of binary elements, hashing the state change vector into the first data bucket comprises: hashing the sequence of binary elements into the first data bucket; determining that the first data bucket stores encoded representations comprising the hashed sequence of binary elements based on the hashed sequence of binary elements matching at least a portion of other sequences of binary elements associated with the state change vectors.
[0258] C14. The method of any one of embodiments C2-C13, further comprising: prior to receiving the request, generating a plurality of data buckets including the first data bucket and the second data bucket, the plurality of data buckets comprising encoded representations representing sequences of events of network resources at different times that have at least one of similar state change vectors or similar sequences of state change labels.
[0259] C15. The method of any one of embodiments C2-C14, further comprising: generating the sequence of state change labels indicating an order and type of computing state changes of the first network resource.
[0260] C16. The method of embodiment C15, wherein the event data comprises a sequence of events associated with the first network resource, a computing state change is detected by: determining that a computing state of the first network resource changes from a sequentially previous event in the sequence of events, wherein each state change label in the sequence of state change labels indicates a computing state change of a plurality of possible classification changes.
[0261] C17. The method of any one of embodiments C2-C16, wherein grouping the first encoded representation into the second data bucket comprises: determining, based on the sequence of state change labels, one or more other sequences of state change labels that include at least a portion of the sequence of state change labels, wherein the encoded representations of the first data bucket correspond to the one or more other sequences of state change labels.
[0262] C18. The method of any one of embodiments C2-C17, wherein the threshold distance condition being satisfied comprises: determining that a distance in an embedding space between the first encoded representation and each of the one or more encoded representations is less than or equal to a threshold distance.
[0263] C19. The method of any one of embodiments C2-C18, further comprising: steps for generating the encoded representations, state change vectors, and sequences of state change labels for a plurality of network resources grouped into a plurality of data buckets including the first data bucket and the second data bucket.
[0264] C20. The method of any one of embodiments C2-C19, wherein the first encoded representation and the at least one of the first state change vector or the first sequence of state change labels is retrieved responsive to receiving the request.
[0265] C21. The method of embodiment C1, comprising: retrieving, for a first network resource at a first time, (a) a first encoded representation of first event data and at least one of (b) a first state change vector or (c) a first sequence of state change labels; grouping at least one of (i) the first state change vector into a first data bucket comprising encoded representations of network resources generated at different times having similar state change vectors as the first state change vector or (ii) the first sequence of state change labels into a second data bucket comprising encoded representations of network resources generated at different times having similar sequences of state change labels as the first sequence of state change labels; and generating simulated event data based on one or more encoded representations satisfying a threshold distance condition with respect to the first encoded representation.
[0266] C22. The method of embodiment C21, further comprising: determining, from at least one of the first data bucket or the second data bucket, the one or more encoded representations.
[0267] C23. The method of embodiment C21 or C22, wherein generating the simulated event data comprises generating the simulated event data using an artificial intelligence model.
[0268] C24. The method of embodiment C23, wherein at least one of the first event data associated with the first network resource or second event data associated with the second network resource is used by the artificial intelligence model to generate the simulated event data.
[0269] C25. The method of any one of embodiments 21-24, comprising: receiving a request to identify a network resource similar to the first network resource at the first time, wherein the first encoded representation and the at least one of the first state change vector or the first sequence of state change labels are retrieved responsive to the request.
[0270] D1. One or more non-transitory, computer-readable mediums storing instructions that, when executed by a data processing apparatus, cause the data processing apparatus to perform operations comprising those of any of embodiments A1-A24, B1-B24, or C1-C25.
[0271] D2. A system comprising one or more processors; and memory storing instructions that, when executed by the processors, cause the processors to effectuate operations comprising those of any of embodiments A1-A24, B1-B24, or C1-C25.
[0272] D3. A system comprising means for performing any of embodiments A1-A24, B1-B24, or C1-C25.
Claims
1. A system for updating network configurations of a target network resource based on network resources at various points in time determined to have similar state change vectors as the target network resource at another point in time, the system comprising:memory storing computer program instructions; andone or more processors configured to execute the computer program instructions to:responsive to receiving, at a first time, a request to update first network configurations of a first network resource, retrieve (i) a first encoded representation of a sequence of events associated with the first network resource at the first time and (ii) a state change vector comprising a sequence of binary elements respectively associated with the sequence of events, wherein respective binary elements comprise a first binary label or a second binary label based on whether a given event in the sequence of events represents a state change event with respect to an encoded representation generated in response to a sequentially previous event;group the first encoded representation into a data bucket comprising encoded representations of other network resources having state change vectors determined to be similar to the state change vector of the first network resource, wherein the encoded representations correspond to the other network resources at different times;calculate similarity scores between the first encoded representation at the first time and the encoded representations at the different times included in the data bucket;determine a second encoded representation from the encoded representations of the data bucket satisfying a threshold similarity condition with respect to the first encoded representation, wherein the threshold similarity condition being satisfied comprises a distance between the first encoded representation and the second encoded representation being less than or equal to a threshold distance;retrieve second network configurations of a second network resource associated with the second encoded representation;determine differences between first network resource parameters of the first network configurations and second network resource parameters of the second network configurations; andadjust one or more of the first network resource parameters based on the differences, wherein the first network configurations are updated responsive to the one or more of the first network resource parameters being adjusted.
2. A method, implemented using one or more processors of a network resource, the method comprising:receiving, at a first time, a request to update first network configurations of a first network resource;retrieving (i) a first encoded representation of a sequence of events associated with the first network resource at the first time and (ii) a state change vector comprising a sequence of binary elements respectively associated with the sequence of events;grouping the first encoded representation into a data bucket comprising encoded representations of other network resources at different times having state change vectors similar to the state change vector of the first network resource;retrieving second network configurations of a second network resource associated with a second encoded representation from the encoded representations determined to satisfy a threshold similarity condition with respect to the first encoded representation; andupdating, based on the second network configurations, the first network configurations.
3. The method of claim 2, further comprising:determining that the second encoded representation satisfies the threshold similarity condition by:calculating a distance in encoded representation space between the first encoded representation and the second encoded representation; anddetermining that the distance is less than a threshold distance.
4. The method of claim 2, wherein updating the first network configurations comprises:determining one or more differences between the first network configurations and the second network configurations, wherein the first network configurations are updated based on the one or more differences.
5. The method of claim 2, wherein updating the first network configurations comprises:adjusting one or more parameters of the first network configurations based on one or more parameters of the second network configurations of the second network resource.
6. The method of claim 2, further comprising:generating the second encoded representation based on a second sequence of events associated with the second network resource at a second time, wherein the second time occurs prior to the first time.
7. The method of claim 6, wherein generating the second encoded representation comprises:inputting second event data representing the second sequence of events into a trained artificial intelligence model to generate the second encoded representation.
8. The method of claim 2, further comprising:retrieving event data comprising a set of encoded representations respectively corresponding to subsequences of events from the sequence of events, wherein the subsequences of events correspond are created based on each event occurring, and wherein the subsequences of events are used to generate a corresponding encoded representation.
9. The method of claim 2, further comprising:determining, using a classifier, a first classification of the first encoded representation at the first time, wherein a first classification label is assigned to the first encoded representation, wherein the state change vector indicates whether events from the sequence of events correspond to state change events.
10. The method of claim 2, further comprising:generating the state change vector associated with the first network resource, the state change vector comprising a sequence of binary elements respectively associated with the sequence of events.
11. The method of claim 10, wherein the sequence of binary elements are respectively assigned one of:a first label indicating that a respective event corresponds to a state change event; ora second label indicating that a respective event does not correspond to a state change event.
12. The method of claim 10, further comprising:identifying, based on a given event in the sequence of events, a sequentially previous event;determining a previous classification of the sequentially previous event based; andassigning a first binary label or a second binary label to an element in the state change vector corresponding to the given event respectively indicating whether the given event comprises a state change event.
13. The method of claim 2, wherein grouping the state change vector into the data bucket comprises:hashing the state change vector into the data bucket based on the encoded representations of the data bucket comprising state change vectors that were hashed into the data bucket; andstoring the first encoded representation in a data structure comprising the encoded representations of the data bucket.
14. The method of claim 13, wherein hashing the state change vector into the data bucket comprises:hashing the sequence of binary elements;determining that the data bucket stores encoded representations comprising the hashed sequence of binary elements based on the hashed sequence of binary elements matching at least a portion of other sequences of binary elements associated with the state change vectors.
15. The method of claim 2, further comprising:prior to receiving the request, generating a plurality of data buckets including the data bucket, the plurality of data buckets comprising encoded representations representing sequences of events of network resources at different times that have similar state change vectors.
16. The method of claim 2, further comprising:calculating similarity scores between the first encoded representation at the first time and the encoded representations included in the data bucket; anddetermining that the second encoded representation of the encoded representations included in the data bucket satisfies the threshold similarity condition.
17. The method of claim 2, further comprising:retrieving event data comprising the sequence of events at the first time;generating updated event data by adding, sequentially, a first event to the sequence of events to obtain an updated sequence of events associated with the first network resource, the first event comprising the request occurring at the first time; andinputting the updated event data into a trained artificial intelligence model to generate the first encoded representation representing the first network resource at the first time.
18. The method of claim 2, wherein the data bucket comprises a first data bucket comprising first encoded representations of first network resources at first times having first state change vectors similar to the state change vector of the first network resource, the method further comprises:grouping the first encoded representation into a second data bucket comprising second encoded representations of other network resources at different times having state change vectors similar to the state change vector of the first network resource; anddetermining similarity scores based on the first encoded representations and the second encoded representations, wherein a similarity score between the first encoded representation and the second encoded representation satisfies the threshold similarity condition.
19. The method of claim 2, further comprising:determining one or more encoded representations similar to the first network resource using sequences of state change labels similar to a sequence of state change labels of the first network resource, wherein the second encoded representation is selected from the encoded representations of the data bucket and the one or more encoded representations.
20. One or more non-transitory computer-readable media storing computer program instructions that, when executed by one or more processors, effectuate operations comprising:retrieving (i) a first encoded representation of a sequence of events associated with a first network resource at a first time and (ii) a state change vector comprising a sequence of binary elements respectively associated with the sequence of events;grouping the first encoded representation into a data bucket comprising encoded representations of other network resources at different times having state change vectors similar to the state change vector; andidentifying, from the data bucket, a second encoded representation that satisfies a threshold similarity condition with respect to the first encoded representation.
