Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
PERFORMANCE ANOMALY DIAGNOSIS
Document Type and Number:
WIPO Patent Application WO/2016/085831
Kind Code:
A1
Abstract:
The described implementations relate to tunable predicate discovery. One implementation is manifest as a method for obtaining a data set and determining anomaly scores for anomalies of an attribute of interest in the data set. The method can also generate a ranked list of predicates based on the anomaly scores and cause at least one of the predicates of the ranked list to be presented.

Inventors:
KONIG ARND CHRISTIAN (US)
DVORKIN IGOR (US)
KUMAR MANISH (US)
ROY SUDIP (US)
Application Number:
PCT/US2015/062048
Publication Date:
June 02, 2016
Filing Date:
November 23, 2015
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MICROSOFT TECHNOLOGY LICENSING LLC (US)
International Classes:
G06F11/07; G06F11/34; G06F17/30; G06Q10/00; G06F11/32
Foreign References:
US20050038827A12005-02-17
US20100014432A12010-01-21
US20070168696A12007-07-19
US20080148180A12008-06-19
US20110078106A12011-03-31
US20120173710A12012-07-05
Other References:
None
Attorney, Agent or Firm:
MINHAS, Sandip et al. (Attn: Patent Group Docketing One Microsoft Wa, Redmond Washington, US)
Download PDF:
Claims:
CLAIMS

1. A system comprising:

a processing device;

a storage device; and

a tunable predicate discovery component stored on the storage device,

wherein the processing device is configured to execute the tunable predicate discovery component as computer-executable instructions for:

receiving a diagnostic level selection from a user;

obtaining a data set for one or more data centers;

identifying performance anomalies in the data set that have anomaly scores within the diagnostic level selection;

determining predicates for the performance anomalies;

generating a ranked list of the predicates based on the anomaly scores; and

causing at least one of the predicates of the ranked list to be presented.

2. The system of claim 1, wherein the diagnostic level selection is related to a magnitude of the performance anomalies.

3. The system of claim 2, wherein the diagnostic level selection tunes the magnitude of the performance anomalies with respect to computational resources allotted to the identifying the performance anomalies.

4. The system of claim 1, wherein the ranked list includes an indication of the anomaly scores.

5. The system of claim 1, wherein the causing includes displaying the at least one of the predicates on a graphical user interface.

6. A method implemented by one or more processing devices, the method comprising:

obtaining a data set;

determining anomaly scores for anomalies of an attribute of interest in the data set; generating a ranked list of predicates based on the anomaly scores; and

causing at least one of the predicates of the ranked list to be presented.

7. The method of claim 6, wherein the method further comprises auto-tuning an amount of computational resources used to identify the anomalies. 8. The method of claim 6, wherein the predicates include conditions under which the anomalies occur.

9. The method of claim 6, wherein the attribute of interest is selected by a user.

10. The method of claim 6, wherein an individual anomaly score indicates a magnitude of an individual anomaly.

11. The method of claim 6, wherein the method further comprises identifying the anomalies in a selectably tunable manner via user input related to a magnitude of the anomalies.

12. The method of claim 6, wherein the method further comprises identifying the anomalies based on changes in distribution of values of the attribute of interest.

13. The method of claim 6, wherein the data set is derived from service logs describing performance of one or more data centers.

14. The method of claim 6, wherein the method further comprises identifying the anomalies based on changes in distribution of values of multiple attributes of interest.

15. The method of claim 6, wherein the method further comprises generating a graphical user interface (GUI) that displays a graphic of an individual anomaly relative to a baseline and at least one associated predicate.

Description:
PERFORMANCE ANOMALY DIAGNOSIS

BACKGROUND

[0001] Performance of complex systems can be difficult to manage, investigate, and/or improve. A cloud computing platform offering computational services is one example of a complex system. Customers of cloud computing platforms demand stringent performance and availability requirements. To be competitive, cloud computing platforms need to regularly improve their quality of service to meet customer demands. One aspect of improving the quality of service is based upon tracking various key performance indicators to quantify performance and availability. However, in the case of cloud computing platforms, a system can involve multiple independently developed components, often executing on diverse hardware configurations and across multiple data centers. This heterogeneity and system complexity can make tracking various key performance indicators and diagnosing of anomalies in system behavior both difficult and expensive. Tracking and diagnosis of anomalies in system behavior can be beneficial for management of a wide variety of complex systems and/or operations.

SUMMARY

[0002] The described implementations relate to tunable predicate discovery. One implementation is manifest as a method for obtaining a data set and determining anomaly scores for anomalies of an attribute of interest in the data set. The method can also generate a ranked list of predicates based on the anomaly scores and cause at least one of the predicates of the ranked list to be presented.

[0003] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.

BRIEF DESCRIPTION OF THE DRAWINGS

[0004] The accompanying drawings illustrate implementations of the concepts conveyed in the present patent. Features of the illustrated implementations can be more readily understood by reference to the following description taken in conjunction with the accompanying drawings. Like reference numbers in the various drawings are used wherever feasible to indicate like elements. Further, the left-most numeral of each reference number conveys the figure and associated discussion where the reference number is first introduced.

[0005] FIGS. 1 and 2 show exemplary systems in which the present concepts can be employed in accordance with some implementations.

[0006] FIGS. 3 and 4 show example predicate discovery results in accordance with some implementations.

[0007] FIG. 5 shows an example computer or computing device that can be configured to accomplish certain concepts in accordance with some implementations.

[0008] FIGS. 6 and 11-13 are flowcharts for accomplishing certain concepts in accordance with some implementations.

[0009] FIGS. 7-10 show graphs related to algorithms for accomplishing certain concepts in accordance with some implementations.

DETAILED DESCRIPTION

OVERVIEW

[00010] This discussion relates to tunable predicate discovery. In the disclosed implementations tunable predicate discovery concepts can be implemented to discover predicates (e.g., conditions, constraints) that identify an anomalous subset of data. For example, tunable predicate discovery concepts can be used to diagnose anomalies in a complex system, such as a cloud computing platform that offers computational services. Additionally, a level (e.g., magnitude) of anomaly can be selected (e.g., tuned) for diagnosis.

[00011] Generally speaking, predicates are conditions and/or constraints under which an anomaly (e.g., change in behavior relative to a baseline) occurs. In some cases, anomalies may be subtle and/or difficult to recognize (e.g., latent faults). Additionally or alternatively, a system may be highly complex and/or contain heterogeneous components, potentially making anomaly diagnosis very difficult. In the disclosed implementations, tunable predicate discovery can efficiently and rapidly discover predicates that indicate anomalies. In some cases, tunable predicate discovery can discover potentially significant but hard to detect anomalies, even for highly complex systems. For example, tunable predicate discovery can answer questions such as: under which conditions does service become slower, are servers more likely to fail, are customers more likely to churn? Discovery of the predicates can allow more rapid and efficient diagnosis of the anomalies. Tunable predicate discovery can provide a readily actionable result for a system manager. [00012] In the disclosed implementations, tunable predicate discovery may be applied to a data set from a system. The data set may include attributes and/or performance characteristics of the system. For example, the attributes of the system may include identification, location, and/or types of components in the system. In an example of a cloud services system, the performance characteristics might include time, latency, reliability, availability of components, hardware failure, software failure, return codes, etc. The performance characteristics can also be considered key performance indicators (KPIs). The data set from the system may also include anomalies (e.g., performance anomalies). The anomalies may be related to and/or evidenced in one or more of the attributes and/or the performance characteristics of the system.

[00013] In some implementations, tunable predicate discovery can be considered an automated system for mining service logs (e.g., cloud computing service logs) to identify anomalies. Tunable predicate discovery can include relatively efficient mining algorithms for detecting potentially significant anomalies in system behavior and/or performance. Tunable predicate discovery can also provide potential explanations for such anomalies, such as helping to formulate data-driven hypotheses as to the involved components and root causes. In the disclosed implementations, tunable predicate discovery may not rely on an explicit supervision signal for predicate discovery and/or anomaly detection. For example, a data set may not necessarily include failure data or a set of abnormal instances in a separate log. In the disclosed implementations, tunable predicate discovery can also be robust to outliers.

[00014] Furthermore, in the disclosed implementations, tunable predicate discovery can provide techniques to control computational overhead typically associated with robust statistics. For example, algorithms consistent with tunable predicate discovery concepts can address challenges that may be imposed by a size of a search space associated with a potentially complex system and the corresponding computational overhead.

TUNABLE PREDICATE DISCOVERY CASE STUDY

[00015] FIGS. 1-4 collectively illustrate an example of tunable predicate discovery. FIGS. 1-2 show an exemplary system 100 that is consistent with the disclosed implementations. FIGS. 3-4 show example results that can be obtained from applying tunable predicate discovery concepts to system 100.

[00016] As shown in FIG. 1, system 100 can be a cloud services system including a data center 102(1) and a data center 102(2). Note that different instances of drawing elements are distinguished by parenthetical references, e.g., 102(1) refers to a different data center than 102(2). When referring to multiple drawing elements collectively, the parenthetical will not be used, e.g., data centers 102 can refer to either or both of data center 102(1) or data center 102(2).

[00017] System 100 can also include a network 104 connecting numerous entities, including the data centers 102, a server operations center 106 having a monitoring system 108, a diagnostic device 110 having a tunable predicate discovery (TPD) component 112, and/or a client device 114 having an application interface 116.

[00018] Network 104 can include various wired and/or wireless networks and combinations thereof. For example, network 104 can include the public Internet as well as various private networks or portions thereof that connect any of the devices/data centers shown in FIG. 1. For the purposes of the following discussion, it is generally sufficient that network 104 provides connectivity between devices and/or data centers that share information.

[00019] In the example shown in FIG. 1, client device 114 can interact with an application 118 by communicating over network 104 with either data center 102(1) or data center 102(2). Application interface 116 can include logic for communicating with the application, e.g., formatting functionality, display functionality, etc. For example, client device 114 can be employed by an end user that wishes to use various features made available by the application. Example configurations of the data centers 102 will be discussed further relative to FIG. 2.

[00020] Server operations center 106 can generally include one or more server devices configured to monitor the individual data centers 102 for performance characteristics and/or network problems. Monitoring system 108 can monitor reliability of the system 100 as a whole and/or of individual components. For example, the monitoring system can execute on the server devices (FIG. 2) to monitor data centers 102(1) and 102(2). The monitoring system can also collect information in data sets, such as service logs.

[00021] FIG. 2 shows system 100 in closer detail, specifically showing an example data center network architecture for data center 102(1). In this case, data center 102(1) includes devices or components such as intrusion detection and prevention systems (IDPS) 200, core routers 202, virtual private networks (VPNs) 204, access routers 206, firewalls 208, load balancers 210, aggregation switches 212, Top-of-Rack (ToR) switches 214, and/or racks 216 of servers 218. System 100 may also include various other components, such as fans 220, which may be in racks 216 and/or in servers 218. Note that only one each of racks 216, servers 218, and fans 220 are designated and/or shown to avoid clutter on the drawing page. The components of system 100 can be connected by a network represented by connecting lines in FIG. 2. Furthermore, in some cases, servers 218 may be considered part of a cluster 222(1) or a cluster 222(2).

[00022] Generally speaking, one example of a key performance indicator (KPI) of interest to cloud service providers is latency (e.g., delay). For instance, latency can refer to request latency at which virtual machines are deployed. For purposes of this document, the latency can be expressed as percentiles, which might help to avoid skew from outliers that might develop using averages. Note that a KPI could relate to any of a variety of hardware and/or software issues that cause performance anomalies in system 100, such as failures, misconfigurations, protocol errors, environmental issues, or other malfunctions.

[00023] As an example, for purposes of explanation, assume that monitoring system 108 observes a latency regression in cluster 222(1) of data center 102(1). In this example, the latency regression is significant to cloud service operations, with latencies at the 70th percentile increasing from 7 minutes to 34 minutes. Subsequently, in this example, the monitoring system observes a similar latency regression in cluster 222(2) of data center 102(1).

[00024] In this case, the TPD component 112 can utilize information obtained by the monitoring system 108 to diagnose performance issues for system 100. Investigation of the information from the system can be considered data mining. The TPD component can identify performance anomalies in the information from the system and predicates under which the performance anomalies occur. In this case, example results of tunable predicate discovery are output as the graphs shown in FIGS. 3 and 4.

[00025] FIG. 3 illustrates a first example predicate discovery output result 300 from the TPD component 112 (FIG. 2). FIG. 3 shows a baseline (e.g., baseline latency), indicated at 302. FIG. 3 also shows an anomaly indicated at 304, which in this case is an anomalous latency increase over the baseline latency. FIG. 3 provides a predicate 306 for the anomalous latency increase, shown as "Server IP = A.X.Y.Z." In this case, the server 218 (FIG. 2) with IP address "A.X.Y.Z" is correlated to the anomalous latency increase over the respective baseline latency. Stated another way, the predicate 306 specifies an individual server 218 (FIG. 2) within cluster 222(1) (FIG. 2) that is experiencing increased latency.

[00026] Similarly, FIG. 4 illustrates a second predicate discovery output result 400 from the TPD component 112 (FIG. 2). FIG. 4 includes a baseline 402 (baseline latency) and an anomaly 404 (anomalous latency increase) over the baseline. FIG. 4 also includes a return code predicate 406 with a value of "2147023436." Predicate 406 is correlated to anomaly 404, the anomalous latency increase over the respective baseline latency. In this example, the return code value relates to an operating system (not shown) pre-fetch failure due to timeouts at the server 218 (FIG. 2).

[00027] In the example introduced above relative to FIGS. 1-4, a BIOS update was applied, first in cluster 222(1) and subsequently in cluster 222(2). The BIOS update resulted in low fan 220 speeds in certain situations, causing insufficient cooling and ultimately high temperatures. The high temperatures led to the CPUs of the servers 218 throttling clock speed to reduce heat output. As a result, CPU utilization could not reach a target of 100%, which resulted in the observed latencies. In this case, the performance anomalies (e.g., 304, 404) were not directly tied to a code check-in, the performance anomalies only surfaced with a fan configuration unique to a certain data center 102, and the regression had an unusual cause. These factors can cause the observed performance anomaly to be difficult to diagnose by traditional methods. However, the TPD component 112 can provide an efficient diagnosis, such as through the example predicate discovery results 300 and 400 shown in FIGS. 3 and 4.

[00028] Furthermore, in some implementations, predicate discovery can be tuned using a diagnostic level selection from a user. In some cases, the tuning can trade computational resources for quality of anomalies diagnosed. For example, a user may choose to allot additional computational resources to tunable predicate discovery to find relatively smaller performance anomalies. Alternatively, the user may choose to allot fewer computational resources to tunable predicate discovery to limit diagnosis to more significant performance anomalies. As shown in the example in FIG. 3, the server 218 (FIG. 2) with IP address "A.X.Y.Z" exhibited an increased latency of roughly 500 seconds at the 50% percentile. In some cases, tunable predicate discovery could be tuned by specifying diagnosis of larger or smaller performance anomalies, such as 1000 seconds, 200 seconds, etc.

[00029] Note that the various devices shown in system 100 are illustrated in FIGS. 1 and 2 with respect to logical roles that can be performed by the devices in operation of system 100. However, the geographical locations of the various devices are not necessarily reflected by system 100. For example, data centers 102(1) and/or 102(2) may be collocated with server operations center 106 and/or diagnostic device 110. As another example, the TPD component 112 and/or monitoring system 108 can be implemented on one or more devices inside an individual data center, such as on one or more racks (e.g., rack 216). Also, cluster 222 may be arranged a variety of ways. For example, a cluster of servers may not include all servers on a rack 216. Also, a cluster may include individual and/or multiple servers from multiple racks, data centers, etc. In addition, functionality described herein with respect to a particular device or devices can be distributed across multiple devices or combined on a single device.

[00030] Furthermore, note that FIG. 1 illustrates server operations center 106 as multiple server devices whereas diagnostic device 110 and client device 114 are illustrated as individual computing devices. This reflects one particular implementation, and other implementations may provide characterization functionality and/or client functionality as discussed herein via multiple devices. Likewise, server operations center and/or data center functionality as discussed herein may be performed by individual devices.

[00031] Further note that, in practice, there may be additional instances of each computing device mentioned herein, e.g., additional analysis devices, server operations centers, client devices, and data centers. As discussed in more detail below, each of the computing device(s) shown in FIG. 1 can include one or more processing devices, such as computer processors, executing instructions stored on one or more computer-readable storage media such as volatile or non-volatile memories, optical disks, hard drives, flash drives, etc.

[00032] While the examples above include data mining and processing data obtained from cloud computing logs and the like, tunable predicate discovery concepts can be applicable to other large datasets upon which some analytic processing is desired. As will be understood, the technology generalizes to analytics tasks in other domains in which robust statistics may be desired. As such, the present invention is not limited to any particular implementations, aspects, concepts, structures, functionalities, and/or examples described herein. Rather, any of the implementations, aspects, concepts, structures, functionalities, and/or examples described herein are non-limiting, and the present invention may be used in various ways that provide benefits and advantages in data mining, analytics, cloud computing datacenters, and/or distributed computing systems in general.

SPECIFIC TPD COMPONENT IMPLEMENTATION

[00033] FIG. 5 shows TPD component 112 embodied on diagnostic device 110. The diagnostic device is one example of a system that can be configured to accomplish certain concepts, as discussed in more detail below. In this case, the diagnostic device is illustrated as a desktop computer. The terms "computer" or "computing device" are used interchangeably, and as used herein can mean any type of device that has some amount of processing capability. While specific examples of computers are illustrated for purposes of explanation, other examples of such computers can include traditional computing devices, such as personal computers, any of the devices introduced relative to FIGS. 1-2, cell phones, smart phones, personal digital assistants, or any of a myriad of ever-evolving or yet to be developed types of devices. Further, a system can be manifest on a single computing device or distributed over multiple computing devices.

[00034] In this case, diagnostic device 110 can include an application layer 502, an operating system layer 504, and a hardware layer 506. The TPD component 112 can be manifest as a program or application of the application layer 502, among other configurations. In this example, the TPD component can include a tuning module 508, a predicate listing module 510, and an output module 512. The TPD component can process data, such as service logs, provided over network 104 by monitoring system 108. Alternatively, monitoring system 108 can populate a database 522 with data and the TPD component can process the data in the database.

[00035] The hardware layer 506 can include a processor 514, storage/memory (e.g., one or more computer-readable storage media) 516, a display device 518, and/or various other elements. For instance, the other elements can include input/output devices, optical disc readers, USB ports, etc.

[00036] Processor 514 can execute computer-readable instructions to provide a functionality, such as a TPD component functionality. Data and/or computer-readable instructions can be stored on storage/memory 516 and/or received from another source, such as optical storage device 520. The storage/memory 516 can include any one or more of volatile or non-volatile memory devices, hard drive storage devices, flash storage devices (e.g., memory sticks or memory cards), and/or optical storage devices (e.g., CDs, DVDs, etc.), among others.

[00037] Alternatively to the illustrated configuration of diagnostic device 110, the computer can employ a system on a chip (SOC) type design. In such a case, functionality provided by the computer can be integrated on a single SOC or multiple coupled SOCs. For instance, the computer can include shared resources and dedicated resources. An interface(s) can facilitate communication between the shared resources and the dedicated resources. As the name implies, dedicated resources can be thought of as including individual portions that are dedicated to achieving specific functionalities. Shared resources can be storage, processing units, etc., that can be used by multiple functionalities.

[00038] Generally, any of the functions described herein can be implemented using software, firmware, hardware (e.g., fixed-logic circuitry), or a combination of these implementations. The term "engine," "tool," "component," or "module" as used herein generally represent sof ware, firmware, hardware, whole devices or networks, or a combination thereof. In the case of a software implementation, for instance, these may represent program code that performs specified tasks when executed on a processor (e.g., CPU or CPUs). The program code can be stored in one or more computer-readable storage/memory devices, such as computer-readable storage media. The features and techniques of the component are platform-independent, meaning that they may be implemented on a variety of commercial computing platforms having a variety of processing configurations.

[00039] As used herein, the term "computer-readable media" and "computer- readable medium" can include signals and hardware. In contrast, the terms "computer- readable storage media" and "computer-readable storage medium" exclude signals. Computer-readable storage media can include "computer-readable storage devices". Examples of computer-readable storage devices include volatile storage media, such as RAM, and non-volatile storage media, such as hard drives, optical discs, and flash memory, among others.

[00040] In some implementations, the tuning module 508 can be configured to perform functionality relating to tuning predicate discovery for a data set that the TPD component 112 is investigating. For example, the tuning module can receive input from a user that tunes the predicate discovery. In some cases, the user input can be considered a diagnostic level selection. Some examples of user input related to tuning were discussed above relative to FIG. 3, including an amount of computational resources and/or a magnitude of performance anomaly. User input can also include a value for a baseline from which to measure anomalies. Alternatively, in some cases the tuning module can determine a baseline as a distribution across a data set. In another example, user input can include an amount of time to allot to the predicate discovery.

[00041] Another example of user input to the tuning module 508 can include a user specification of how many attributes of a data set to which the predicate discovery process should react. For instance, the user can ask the TPD component 112 to react to anomalies that involve two or more attributes of a data set (e.g., two or more columns of a data table, two or more rows of a data table, etc.). In another instance, the user could specify that the TPD component react to anomalies that affect a system longer than a threshold amount of time and/or more than a threshold percentage of time.

[00042] In some implementations, the tuning module 508 can consider availability of resources to tune the predicate discovery. For example, the tuning module can obtain input relating to currently available resources and auto-tune the predicate discovery based on the available resources. In another example, the tuning module can adjust the timing of the predicate discovery process based on temporal differences in availability of resources. For instance, the tuning module can delay the predicate discovery process in order to use computational resources at another time.

[00043] In some implementations, the predicate listing module 510 can be configured to perform functionality relating to listing predicates for a data set that the TPD component 112 is investigating. Listing the predicates can include identifying anomalies and discovering the predicates associated with the anomalies. The data set can be considered an example of input to the predicate listing module. Other input to the predicate listing module can include a user selection of an attribute of interest (e.g., key performance indicator) for the TPD component to target for anomaly detection, such as latency. In some cases, an attribute of interest may be represented by a column in a data table. The predicate listing module can use tunable predicate discovery techniques to investigate how the attribute of interest changes over time and/or under which conditions. When the predicate listing module finds a significant change in behavior of the attribute of interest from a baseline, in other words an anomaly, the predicate listing module can determine the associated predicates (conditions) for that anomaly, which identify the anomalous subset with the significant change. The predicates can be manifest in columns in a data table other than the column representing the attribute of interest. Note that the data table can contain numerical and/or non-numerical entries. For instance, a predicate can include a name or abbreviation for a data center.

[00044] In some cases, the predicate listing module 510 can receive information from the tuning module 508, such as a magnitude of anomaly to identify. The predicate listing module can also be configured to perform functionality relating to generating anomaly scores and/or ranking the anomalies using the anomaly scores. Functionality performed by the predicate listing module will be described further below relative to FIGS. 6-10, including specific techniques and/or algorithms that can be used for predicate discovery, scoring, etc. [00045] In some implementations, the output module 512 can be configured to perform functionality relating to inputs to and/or outputs from the tuning module 508 and/or the predicate listing module 510. For example, in some cases the output module can present a graphical user interface (GUI) to a user for the purpose of displaying information related to tuning the predicate discovery and/or diagnostic level selection. For instance, the information can include preset and/or starting values for a magnitude of anomaly to identify. The GUI can be used for collecting input from the user that can be used by the tuning module. For example, the user can enter parameters relating to tuning the predicate discovery via the GUI. The output module can also perform functionality relating to outputting predicate discovery results, such as an identification and/or listing of anomalies and/or predicate(s), an indication of a magnitude of an anomaly associated with the predicate(s) (e.g., anomaly scores), a ranked list of the anomalies and associated predicates, a graphic display including the predicate(s), etc. In one example, the output can resemble the graphs and associated text shown in results 300 and 400 in FIGS. 3 and 4. In another example, the output module can output a ranked list of anomalies and associated predicates that fall within a diagnostic level selection received from a user. In some cases, a system manager or analyst can look through the tunable predicate discovery results to determine which results to follow up on.

[00046] In the example of FIG. 5, the output module 512 can generate a graphical user interface (GUI) 524 from results obtained from the predicate listing module 510. GUI 524 illustrates a baseline 526, in this case a baseline deployment time, and an anomaly 528, in this case an increased deployment time. GUI 524 also shows two predicates 530, "OS Version = 2.176" and "Time > 10/11/13, 13:11:45," which are associated with the increased deployment time. In other words, in the example shown in FIG. 5, the TPD component 112 has determined that a certain code change (e.g., Operating System version 2.176) contributed to the increased deployment time after 13:11:45 on October 11, 2013. In this example, the TDP component was able to use a data set from monitoring system 108 to discover predicates 530 (e.g., the code change, the timing) underlying the significant increase in the duration of virtual machine (VM) deployments. The TDP component not only detected the anomaly 528, but also identified that the increased deployment time is most pronounced for the predicates including OS version 2.176, and started after '10/11/13 13:11:45'. With the predicates, a developer could then investigate code changes relevant to the operating system around the indicated time point. [00047] To summarize, several features that can be offered by the TPD component 112 are described above and below. These features can include tuning the predicate discovery process. Another feature can include discovery of predicates that identify an anomalous subset of data. A further feature, discussed in more detail below, can involve scoring and ranking the anomalies.

EXAMPLE TUNABLE PREDICATE DISCOVERY TECHNIQUES

[00048] FIG. 6 illustrates an example tunable predicate discovery method 600. Method 600 may be used with respect to providing robust diagnostics to detect performance anomalies, e.g., in cloud services.

[00049] In this case, at block 602, a cloud service can output cloud data, such as logs or the like that may be considered (or converted to) tables. At block 604, the data can be mined via a data mining engine in the form of various algorithms. The data mining can provide a dataset table (e.g., table, data set) at block 606, for example. At block 608, analytic processing in the form of various other algorithms can process the dataset table into results, at block 610, which may be used for detecting anomalies. The detected anomalies and/or associated predicates may in turn be used to diagnose problems and determine solutions with respect to the anomalies.

[00050] By way of example, consider a table that includes columns representing virtual machine deployment data including cluster name (e.g., location of deployment), time, operating system version, and latency. An attribute of interest to be evaluated for anomalies can be the latency, as virtual machine deployment latency issues can be significant. For instance, finding that a particular operating system at a particular location at a particular time is problematic with respect to deployment latency provides valuable information. Note however that a detected anomaly may be beneficial. For example, a significant improvement in latency duration relative to a given baseline may indicate that the baseline itself has potentially too high of a latency (and thus, for example, some change may have fixed a bug that was previously not identified). Alternatively or additionally, elements included in a data table and/or attributes of interest can include any of a variety of items, such as error rate at which things fail in a cluster, distribution of error messages, how much energy is consumed, etc.

[00051] Generally speaking, cloud services can use some form of measurement infrastructure that collects and compiles telemetry information in a suitable form for further analysis. For simplicity assume that the telemetry information can be maintained in a single relation R with attributes A1, ..., Ak. Each tuple in this relation can correspond to a single measurement of a particular action. The set of attributes can be partitioned into two non-overlapping sets A e and A m such that A e contains the set of attributes that describe the system environment under which actions are taken, and A m contains the set of attributes that each correspond to a performance indicator. An example of such a relation is shown in the following Table 1 :

Table 1

[00052] Each tuple in this relation can contain information pertaining to spawning a new virtual machine. For this relation the set A e comprises the attributes timestamp (Time), virtual machine type (VM Type), and the data center location (DataCenter) and the set Am contains the latency attribute (Latency).

[00053] With respect to anomalies, ∑(R i , A i ) can be some statistical property computed over values of the attribute -A i for all tuples in the relation R (e.g., a median). Given such a statistical property over a particular attribute -A i ∈ A m , an anomaly can be a subset of the measurements such that∑(S,-A i ) differs significantly from the baseline property defined by∑(B,.A i ) over a baseline set B. In the absence of a pre- specified set B, (e.g., last month's baseline which an enterprise considered normal), the system may use∑(R i ,-A i ) as the baseline measure. Predicates (denoted by Θ herein) can be conjunctions of equality predicates of the form A e = v or range predicates of the form v iow < A e < v high , where A e E Λ β , v; v iow and v high are constants, and < defines a total order over the domain of the attribute A e . Such predicates can effectively summarize the system environment under which the anomaly occurs and therefore, characterize the conditions which may be related to the cause of the anomaly. The environment attribute participating in a predicate can be referred to as a pivot attribute.

[00054] With respect to robustness, robust aggregates can be used. For example, for any subset 5 = σ θ (Κ), where σ is the relational selection operator, how much 5 differs from R with respect to one specific performance indicator A m ∈ <A m can be defined using suitable aggregate functions. In some cases only functions that are robust (denoted by∑ r ) to the effect of outliers are considered in this context, such as the median or other percentiles.

[00055] With respect to "scoring functions," the robust aggregates, as part of scoring functions, can be used to quantify the impact of an anomaly 5 with respect to an underlying baseline distribution. For simplicity, R is used as the baseline set; however, the approach can work identically when the baseline is specified separately (e.g., as last month's measurements). Impact may be measured in terms of the change in distribution between 5 and R for a given performance indicator attribute A m .

[00056] In one implementation, a scoring function can take the three parameters (R,S,A m ) as input and can output a single number used for ranking anomalies. Each scoring function can quantify at least two aspects of impact, including (a) how different is the anomaly in terms of the change in (the distribution of) A m , and (b) how many instances of operation/objects are affected by the anomaly. Note that these two factors can trade off against each other because if more points are included in an anomaly, the change in distribution is smaller, and vice versa. An anomaly covering all points in R would in turn have the baseline distribution and thus show no change at all.

[00057] To quantify the deviation in A m , a robust aggregation function∑ r can be used to compute aggregates for the attribute A m over all items in 5 as well as those in the baseline R. Subsequently, the degree of the anomaly can be measured as the difference between these two values; this difference can be denoted using the notation∑ r (S J - 4 m ) ~ ∑ r (R J - 4 m ). Note that the choice of∑ r as well as appropriate difference operator ~ depends on the scenario and the type of the attribute of interest. When A is of a numeric type,∑ r is typically a percentile and ~ the absolute difference between these. On the other hand, for non-numeric categorical attributes (such as error codes or the names of failing function calls), KL-Divergence (a measure of distance between probability distributions) may be used, for example. Here, the divergence can be computed between the probability distribution of values of A m in the baseline set (R) and the anomalous subset (5 = σ θ (R)). Note that the KL-Divergence is a robust measure by default, as each individual item cannot change the overall probability distribution disproportionately.

[00058] To quantify how many instances of operation/objects are affected by the anomaly, a function of the size of 5 can be used, which in practice, is the natural logarithm of |5|, giving the following scoring function: f(R.S,A m ) := (∑ r (s, A m ) ~∑ r (RM m )) x log|5|) where (∑ r (s J - 4 m ) ~∑ r (R J - 4 m )) is the deviation from the baseline and log|5| factors in the impact of the number of instances. Note that the use of the logarithm of the size of 5 (as opposed to using |5| outright) favors anomalies that result in a larger deviation from the baseline (but over a smaller number of instances). Notwithstanding, the algorithms described herein are also applicable when other functions of |5| are used to quantify the effect of the number of instances after some modifications.

[00059] Another technique is diversity, in which in order to avoid providing multiple similar explanations for the same anomalies or multiple explanations for the same set of anomalous measurements, a notion of diversity can be incorporated into the mining task. For instance, the two predicates v iow < A e < V high and v\ ovl < A e < V' high such that v iow ≈ v\ ovl and v high ≈ v' high , while different, can convey almost identical information. Presenting both the predicates to the user is unlikely to convey any additional information. To incorporate this notion of diversity, the framework supports the specification of a diversity function f div 1 , θ 2 ) {true, false} which returns true if the anomalies explained by the predicates θ 1 and θ 2 are diverse, and false otherwise. The mining algorithms described herein are independent of any specific diversity function.

[00060] While diversity may be user defined, a simple and meaningful diversity function is explained herein. Consider two atomic predicates, B x and θ 2 , defined over the same environment attribute A e . As explained earlier, the notion of diversity is intended to capture the degree of overlap between the two predicates. While there are multiple metrics to measure such overlap, such as the Jaccard-distance between σ θι (R) and σ 02 (R), an extreme form of diversity is to disallow any overlap, i.e., σ θ1 (R) Π σ 02 (R) = 0. For atomic predicates, this can be assumed as the default notion of diversity.

[00061] The same principle may be extrapolated to anomalies defined by a conjunction of many atomic predicates. For such multi-predicate anomalies, it is likely that only a subset of the predicates also induces a relatively high-scoring anomaly. Consider the following case, using an example "build version 2.17": if all deployments using build version 2.17 have abnormally high latency, then it is likely that the subset of deployments that use build version 2.17 and are deployed on cluster XY Z will also show high latencies. Therefore, unless the latency spike is specific to cluster XY Z, presenting an anomaly [Build = 2:17Λ Cluster = XY Z] in addition to the original anomaly [Build = 2:17] does not convey additional information and can be avoided to reduce redundant processing. Generalizing from the above, a default notion of diversity to multi-atom predicates can be defined as follows. Let be the set of environment attributes over which the atomic predicates of θ are defined. Two explanation predicates and θ 2 can be considered diverse, if and only if, either Α

Intuitively, the first condition can require each of the explanations to have at least one distinguishing attribute. The second condition can apply when the first condition does not, and similar to the atomic predicate case, can require an explanation for non-overlapping sets of measurements.

EXAMPLE TUNABLE PREDICATE DISCOVERY ALGORITHMS

[00062] In this section, example algorithms that can be used for tunable predicates discovery concepts will be described. In particular, the example algorithms can be used for the diverse anomaly mining task introduced above. In some implementations, the algorithms can extract predicates that identify the top-k highest-scoring diverse anomalies for a measurement log R. Algorithms for identifying anomalies may be defined by atomic predicates over a single attribute in A e , referred to as the pivot attribute. Also included are algorithms for anomalies with multiple pivot attributes.

[00063] The particular algorithm used for mining anomalies can depend on the type of pivot attribute (e.g., attribute of interest). Pivot attributes that have an inherent order over values, such as numerical and date-time data types, can be referred to as ordered pivots. Alternatively, attributes that enumerate values from a certain domain, such as cluster names and operating system versions, can be referred to as categorical pivots.

[00064] For ordered pivots, range predicates of the form v low < A e < v high can be extracted. For categorical pivots, equality predicates of the form A e = v, where A e is the pivot attribute, can be extracted. Note that identifying anomalies for categorical pivot attributes can be computationally straightforward because the problem can be reduced to performing a 'GROUP BY' operation over the pivot attribute followed by computing each group's aggregate score. Therefore, example algorithms for ordered pivots are described below.

[00065] In this case, note that A m denotes a performance indicator over which anomalies are to be detected, A e denotes a pivot attribute and denotes a notational shorthand for the range predicate V i < A e < Vj, where V i and Vj are the i th and th values of the pivot attribute in sorted order. Sg is used as a notational shorthand for σ θ (R). [00066] Single pivot anomalies may use an example Algorithm 1: Exhaustive Algorithm (e.g., naive algorithm) for ordered pivots (described further below). However, such a brute force approach may not scale well to very large datasets. To overcome this, additional algorithms may be provided. For example, Algorithm 2: Grid-Refinement can be faster than Algorithm 1 (e.g., 100 times faster), and can extract predicates such that the anomaly scores may be (at least) within a constant factor, a, of those mined exhaustively. An example Algorithm 3: Seed Expansion is also described, which may be even faster (e.g., 1000 times faster than Algorithm 1). Algorithm 3 is based on data characteristics of the data set, and can offer a performance guarantee. An example algorithm for multi-pivot mining is provided as Algorithm 4.

[00067] Algorithm 1. The exhaustive algorithm for identifying anomalies on ordered pivots can sort the items by the pivot attribute, and then score the subset of items within every pair of start and end-points. The computational complexity of this algorithm can depend on the cost of computing the scoring function. For a median-based scoring function, this cost can be 0(|σ θ (R)|), where σ explains the anomaly being scored. However, the cost of determining the median for an interval θ i(j+I) given the median for θ ij can be reduced to 0(log | σ θ I.J.(R)|), by maintaining the medians of the interval incrementally with two heaps, comprising a max-heap and a min-heap. This approach can also work for other percentiles; changes may only include the fraction of tuples in each heap. Given this incremental implementation of the scoring function, the cost of the exhaustive algorithm (for N = \ R | items) can become 0(N 2 log N).

[00068] Algorithm 2. Grid-refinement can be manifest as an algorithm that offers a principled way to potentially trade off the "accuracy" of the mined anomalies for efficiency. Instead of returning the potentially highest scoring anomaly, the algorithm can return an anomaly whose score can be within a factor a (e.g., a = 0.9) of the highest scoring anomaly. In return for relaxing the score constraint, this algorithm can perform orders of magnitude faster in practice. If a finer score is desired, a may be increased. The speedup seen by this algorithm is the result of exploiting properties typically found in data distributions seen in the context of cloud diagnostics. These properties include "small" anomalies, in which for most datasets, anomalies are expected to constitute a relatively small fraction of all the items. The exhaustive algorithm can spend a significant amount of computation time in ruling out intervals that resemble the baseline, and are therefore non-anomalous. In contrast, the grid-refinement algorithm can rule out large portions of the search space quickly by bounding the score of the anomalies in the search space.

[00069] Turning to the stability of robust statistics, for the data distributions typically seen in practice, robust statistics are relatively stable with respect to the addition/removal of a small number of points. FIG. 7 illustrates a graph 700 of an example latency distribution 702, and corresponding median 704. In general, a middle portion 706 of this distribution tends to be "flat", implying that the median does not change significantly in response to the insertion or deletion of k points (which can at most move the median by k points along the x-axis, corresponding to only a small change along the y-axis). This property of stability implies that the score of an anomaly v iow < A e < V high is expected to be approximately equal to that of an anomaly defined by v' iow < A e < V' h ig h if v iow ≈ v' low and V high ≈ V' high . The grid-refinement algorithm can exploit this property by using the score of one anomaly to compute tight upper bounds on the scores of anomalies with similar predicates.

[00070] The grid-refinement algorithm can use grids of various levels of coarseness to "zoom into" regions in the data containing high scoring anomalies. First, the algorithm can analyze the data at a coarse granularity, choosing the values of v iow and v high only from the points along the grid and computing upper bounds on the possible scores of anomalies found at finer granularity. Only for sub-regions where these upper bounds are sufficiently high, anomalies found at a finer grid resolution may be considered, repeating the process until an anomaly is discovered with a score within a factor of a of the potentially highest score of all unseen anomalies. Aspects of the grid-refinement process are illustrated with graph 800 in FIG. 8.

[00071] An example grid-refinement algorithm is shown as the ot-approximate grid- refinement algorithm below (Algorithm 2A). In this example, the ot-approximate grid- refinement algorithm maintains a priority queue of anomalies represented by 4-tuples (θ ij , s, u, g), where Qij is the interval, s is the score of the current interval, u is the upper bound on the score achievable through arbitrary refinement of the grid near the end-points of the interval [vi; vj], and g is the current grid size,

Algorithm 2A

[00072] The example grid-refinement algorithm dequeues anomalies from the priority queue in order of their upper bound on scores. If the current score is within an oc factor of the bound on the scores, then the current score is added to the result set after checking the diversity constraint. Otherwise, the interval is refined using the "zoom in" procedure shown in the example refinement procedure below in Algorithm 2B:

Algorithm 2B

[00073] During refinement of an interval, for each possible refined interval at a finer grid size, the score of the anomaly as well as an upper bound on the possible improvement achievable can be computed by "refining" the grid, i.e., the maximum score possible for an anomaly when using (a) an arbitrarily fine grid and (b) the endpoints v iow and v high being within one grid size of the original "coarse" pair of endpoints (see "Anomaly After Refinement" in FIG. 8). The algorithm can terminate once the top-k approximate anomalies are determined.

[00074] For correctness, a "BoundScore" function can provide a sound upper bound on the score of any given predicate, i.e., for any interval θ ij - at grid g, if Q re fined is the set of intervals obtained by refining θ ij - as shown in Algorithm 2B, then One such method of estimating the upper bound is shown for scoring functions using the median as the robust statistic of choice. Extending it to arbitrary percentiles can be trivial using a similar technique.

[00075] For example, let Sθ ij be an interval at grid size g for which the upper bound is to be estimated. The specific refinement procedure described above can restrict a potentially maximum deviation of the median to 2g points, since the refinement only allows addition of points by expansion of the interval by, at max, g points on either end of the interval. Let v k be the k th value in sorted order of the attribute A m among the points in S θiJ . Therefore, denotes the median value. Since the median for any refinement can at most deviate from the median by 2g points, the score for any refinement of the interval is bounded by For typical distributions, the change in

median value, and therefore the gap between the upper bounds and the (potentially best) actual score for an interval, can be expected to be relatively small due to the stability around medians illustrated in FIG. 7.

[00076] With respect to correctness, the grid-refinement algorithm can satisfy the invariant that an anomaly is added to the set of top-k anomalies if and only if the anomaly's score is within an oc factor of the highest scoring anomaly. Let S e be the first anomaly to be included in the top-k by the algorithm as shown in Algorithm 2A. Also, let Sg Pt be the highest scoring anomaly and Sg be an anomaly at a grid resolution of g. Let Ξβ be the anomaly which contains and has both endpoints at the grid with resolution

g. Since the algorithm dequeues anomalies according to upper bounds on scores, it is known that By soundness of the bounding function and the refinement

procedure, it can be inferred that

[00077] Algorithm 3. An example seed expansion algorithm will now be discussed. The grid-refinement algorithm can rely on the stability of medians property (see FIG. 7). However, distributions seen around much higher (or much lower) percentiles are often less stable. An algorithm for faster detection of anomalies aimed in particular at scoring functions based on these percentiles, or for fast analysis of very large data sets is described further for seed expansion. This algorithm offers a significantly lower asymptotic overhead (0(N 1 5 )) as well as significantly faster wall-clock runtime. However, as opposed to the grid-refinement algorithm, which can guarantee a constant approximation ratio, the scores of the anomalies mined by the seed expansion algorithm can be within a data-dependent factor of the optimal anomalies.

[00078] The intuition behind the seed expansion algorithm is based on anomalies for high/low percentiles typically containing extreme (i.e., relatively high or low) values for the performance indicators. To simplify exposition, an assumption can be made to seek anomalies corresponding to large performance indicator values. The seed expansion algorithm can first choose the top-VN number of points in order of value of the performance indicator; these points are called seed points. For each seed point a determination can be made whether it corresponds to an isolated transient anomaly (which may be ignored), or is part of a systemic anomaly (which is to be detected). In the former case, the seed point can be expected to be a local extremum surrounded (along the pivot axis) by many points that may roughly resemble the baseline distribution. In the latter case, further extreme measurement values can be expected in the neighborhood of the seed.

[00079] To avoid situations where potentially all the seed points chosen are transient anomalies, an initial smoothing step can be applied before choosing the seed values. Here, each value Vi of the performance indicator can be replaced with the median value among all values in an interval along the pivot-axis of size c and "centered" at v i ; then the largest value can be chosen among these. This way, single outlier points within a region of low values are not chosen as seeds, eliminating (single-point) transient anomalies from consideration.

[00080] Given any seed point identified by the index s with the pivot value v s , the algorithm can initialize a single-item anomaly with the predicate v iow = v s < A e < V high = v s and can try to expand this anomaly by adding points in each direction along the pivot axis. If the seed point is part of a systemic anomaly, the score of the resulting anomaly can be expected to grow with the expansion. On the other hand, if the seed corresponds to a transient anomaly, the score can be expected to decrease (eventually) as points resembling the background distribution are added. Seed expansion is generally illustrated in FIG. 9. FIG. 9 illustrates a graph 900, including a seed point 902. As shown in FIG. 9 the seed point can be expanded to the left, indicated at 904, and/or to the right, indicated at 906.

[00081] The procedure for expansion of a single seed point is shown below in Algorithm 3:

Algorithm 3

[00082] The procedure for expansion of a single seed point can expand a seed until an expansion does not result in an improvement in the anomaly score. This expansion procedure can be repeatedly invoked for seed points. Seed points which are already included in the expanded anomalies formed out of previous seed points can be excluded from consideration as seeds. The algorithm can maintain all expanded intervals in a sorted list from which the highest-scoring set of k diverse anomalies can be returned as the final result. [00083] The quality of the anomalies mined by the seed expansion algorithm depends on how easily distinguishable the anomalies are from the background distribution. In some implementations, two properties of the dataset can be used to quantify (e.g., score) this distinctiveness of anomalies. A first property can be the maximum gradient of the performance indicator attribute with respect to the pivot

attribute, denoted This measure can be computed after smoothing, effectively making this the potentially maximum gradient over any interval of size c. For a second property, be the average gradient between the median and the maximum

value. Also, let Then it can be shown that if S e is the best anomaly mined by

the seed expansion algorithm and S θ opt is the top scoring pattern mined by the exhaustive algorithm, then where f is the median based

scoring function and In some cases, for a distribution with a very

pronounced anomaly, the value of a is expected to be high Since Umax is expected to be high. This in turn implies that the approximation facto evaluates to a lower value

since the contribution of a to the denominator dominates. Therefore, as expected, if anomalies are more pronounced in a distribution, the algorithm can identify the anomalies more accurately, giving the desired behavior of identifying the potentially most prevalent anomalies in a highly scalable manner.

[00084] Algorithm 4. An example algorithm for multi-pivot mining will now be discussed. Anomalies can occur due to system conditions which may only be reliably captured by predicates over multiple attributes. For example, response times for operations may degrade only under high memory contention when there also are multiple active threads on a machine. A brute force approach for identifying such multi-attribute anomalies would be to check all combinations of predicates for all subsets of environment attributes, which is clearly computationally prohibitive. This computational hardness is not unique to the problem, but is an instance of a general class of problems observed in other domains, such as optimal decision tree construction. Therefore, a first approach can be to construct multi-pivot anomalies greedily. Shown below is a sampling and co- refinement based scheme for multi-pivot mining using a greedy mining procedure, GreedyMine(R,f,A m , k), which returns the top-k multi-pivot anomalies ordered by the scoring function / For example, θ c can be used to denote the predicates on the sampled data and θ r can be used to denote the predicates on the entire data.

Algorithm 4

[00085] In practice, the vast majority of anomalies can be detected well using greedy techniques. However, to detect anomalies that are not detected well with greedy techniques, an algorithm is proposed that co-refines pivots jointly across different attributes. Finally, the algorithm leverages a property typically seen in real-life data distributions (namely, a bound on the extent to which the score of the highest-scoring anomaly characterized by 1 predicates is reduced when only a subset of the predicates is considered) to provide a tractable algorithm that gives quality guarantees on the scores of the mined anomalies.

[00086] A purely greedy algorithm for mining anomalies may split a single anomaly into multiple anomalies due to lack of foresight into the potential refinement by joining with other pivots. For handling such corner cases, an example co-refinement strategy is presented: first the greedy mining algorithm can be run on a small random sample of the data with a weighted scoring function where each data point is weighted by the inverse sampling ratio. This can give an initial "rough" set of anomalies. Then these anomalies can be co-refined using the full data set as follows: an approach similar to the grid- refinement algorithm of gradually "zooming in" to determine the exact interval boundaries for each predicate can be adopted. However, instead of refining attributes one after the other, for each anomaly, potentially best intervals can be determined across all constituent pivot attributes at a particular grid-size before drilling down to the next grid level.

[00087] oc-approximate multi-pivot refinement will now be described. While computing the top-scoring anomalies for adversarial data distributions can be computationally prohibitive, properties typically seen in real-life data can be leveraged to obtain a tractable algorithm with absolute guarantees on the anomaly score. First, to illustrate these data properties, an example anomaly is considered which is best characterized by intervals along two different pivot attributes. FIG. 10 shows a heat-map representation 1002 of the anomalous measurement values with respect to the two pivot attributes (Pivot 1 and Pivot 2) for such an anomaly. FIG. 10 also shows two percentile distributions 1004 and 1006 for (predicates on) each of the pivot attributes when considered independently, and a third percentile distribution 1008 for when the pivot attributes are considered together. Clearly, the deviation between the anomaly median and the background distribution, observed when both the attributes are considered together, shifts towards higher percentiles when only one of pivots is considered. This is due to the addition of non-anomalous points to the anomaly. These non-anomalous points can only be filtered by pivoting on the secondary attribute. By limiting the extent to which this shift occurs, sound bounds can be provided for the improvement possible in anomaly scores.

[00088] Maximum Refinement Ratio: Given a multi-pivot anomaly delimited by / predicates over pivot attributes, the maximum refinement ratio is the largest constant y such that there exists an ordering of the predicates

[00089] Bounding multi-pivot anomaly scores will now be described. It can be assumed that for a given log relation R and a performance indicator attribute A m , the maximum refinement ratio γ is either known or is estimated conservatively (y = 1 being most conservative). Under this assumption, given an /-pivot anomaly S θi it is possible to get an estimate of the potential improvement in the anomaly score by pivoting on additional attributes. Let If the maximum number of attributes in any anomaly is

m, for any 1-attribute anomaly, the minimum size of an m-predicate anomaly formed by extending S θi has size at least For the particular case where the aggregation function is the median, the maximum score obtainable by extending S θi is then bounded by

[00090] This is because in the best case, all the points filtered by additional pivots are lower than the median value S θi and therefore cause a rightward shift of the median. As more predicates over pivots are added to the anomaly, this estimate becomes tighter.

[00091] As in the case of the single-pivot grid-refinement algorithm, by maintaining an upper bound over the best possible /-pivot (unseen) refinements for anomalies with fewer pivots, an approximate multi-pivot mining algorithm (similar to the a-approximate grid-refinement algorithm shown above, except for the refinement procedure and the initialization step) can be designed.

[00092] In some implementations, the above-described example techniques can be used singularly or in combination to accomplish tunable predicate discovery concepts. For example, a TPD component (e.g., TPD component 112) could select an algorithm dependent on a diagnostic level selection received from a user, or through auto-tuning described above relative to FIG. 5. In some cases, a blend of components of the example algorithms described above could be used by the TPD component. Of course, these examples are not meant to be exhaustive and/or limiting, and other techniques for tunable predicate discovery are considered.

METHODS

[00093] FIG. 11 illustrates a first flowchart of an example technique or method 1100 for tunable predicate discovery. In some implementations, method 1100 can be performed by a TPD component, such as TPD component 112 (see FIGS. 1, 2, and 5). Alternatively, the method could be performed by other devices and/or systems.

[00094] At block 1102 of FIG. 11, method 1100 can receive a diagnostic level selection from a user, such as through a GUI, as described above relative to FIG. 5. At block 1104, the method can obtain a data set for one or more data centers. At block 1106, the method can identify performance anomalies in the data set that have anomaly scores within the diagnostic level selection. In some implementations, the diagnostic level selection can be related to a magnitude of the performance anomalies. In some cases, the diagnostic level selection can tune the magnitude of the performance anomalies with respect to computational resources allotted to identifying the performance anomalies. [00095] At block 1108, method 1100 can determine predicates for the performance anomalies. For example, the method can determine conditions under which individual performance anomalies occur. At block 1110, the method can generate a ranked list of the predicates based on the anomaly scores. In some cases, the ranked list can include an indication of the anomaly scores. At block 1112, the method can cause at least one of the predicates of the ranked list to be presented. In some implementations, causing at least one of the predicates to be presented can include displaying the at least one of the predicates on a graphical user interface.

[00096] FIG. 12 illustrates a second flowchart of an example technique or method 1200 for tunable predicate discovery.

[00097] At block 1202, method 1200 can receive a data set. In some cases, the data set can be derived from service logs describing performance of one or more data centers. At block 1204, the method can identify performance anomalies in the data set. In some cases, the method can auto-tune an amount of computational resources used to identify the performance anomalies. In some cases, the method can identify the performance anomalies in a selectably tunable manner via user input related to a magnitude of the performance anomalies. In some cases, the method can identify the performance anomalies based on changes in distribution of values of an attribute of interest. The attribute of interest can be specified through user input. Alternatively, the attribute of interest may not be specified by the user. In other cases, the method can identify the performance anomalies based on changes in distribution of values of multiple attributes of interest.

[00098] At block 1206, method 1200 can generate a ranked list of predicates for the performance anomalies. For example, the predicates can include conditions under which the performance anomalies occur. In some cases, the method can determine anomaly scores for the performance anomalies. The method can also generate the ranked list of the predicates using the anomaly scores. For example, an individual anomaly score can indicate a magnitude of an individual performance anomaly. In some cases, generating the ranked list of predicates can include generating a graphical user interface (GUI) that displays the ranked list of the predicates. For example, the method can generate a GUI that displays a graphic of an individual performance anomaly relative to a baseline and at least one associated predicate.

[00099] FIG. 13 illustrates a third flowchart of an example technique or method 1300 for tunable predicate discovery. [000100] At block 1302, method 1300 can obtain a data set. At block 1304, method 1300 can determine anomaly scores for anomalies of an attribute of interest in the data set. In some cases, the attribute of interest can be selected by a user.

[000101] At block 1306, method 1300 can generate a ranked list of predicates based on the anomaly scores. In some cases, inclusion of individual predicates in the ranked list can be influenced by a level of the anomaly scores that is selected by a user. At block 1308, the method can cause at least one of the predicates of the ranked list to be presented. ADDITIONAL EXAMPLES

[000102] Example implementations are described above. Additional examples are described below. One example can receive a diagnostic level selection from a user. The example can obtain a data set for one or more data centers. The example can identify performance anomalies in the data set that have anomaly scores within the diagnostic level selection. The example can determine predicates for the performance anomalies. The example can generate a ranked list of the predicates based on the anomaly scores. The example can cause at least one of the predicates of the ranked list to be presented.

[000103] Another example includes any of the above and/or below examples where the diagnostic level selection is related to a magnitude of the performance anomalies.

[000104] Another example includes any of the above and/or below examples where the diagnostic level selection tunes the magnitude of the performance anomalies with respect to computational resources allotted to the identifying the performance anomalies.

[000105] Another example includes any of the above and/or below examples where the ranked list includes an indication of the anomaly scores.

[000106] Another example includes any of the above and/or below examples where the causing includes displaying the at least one of the predicates on a graphical user interface.

[000107] Another example can include a processing device, a storage device, and a tunable predicate discovery component stored on the storage device. The processing device can be configured to execute the tunable predicate discovery component as computer-executable instructions. The example can receive a data set. The example can identify performance anomalies in the data set. The example can generate a ranked list of predicates for the performance anomalies.

[000108] Another example includes any of the above and/or below examples where the instructions further comprise generating a graphical user interface (GUI) that displays the ranked list of the predicates. [000109] Another example includes any of the above and/or below examples where the instructions further comprise auto-tuning an amount of computational resources used to identify the performance anomalies.

[000110] Another example includes any of the above and/or below examples where the predicates include conditions under which the performance anomalies occur.

[000111] Another example includes any of the above and/or below examples further comprising determining anomaly scores for the performance anomalies.

[000112] Another example includes any of the above and/or below examples further comprising generating the ranked list of the predicates using the anomaly scores

[000113] Another example includes any of the above and/or below examples where an individual anomaly score indicates a magnitude of an individual performance anomaly.

[000114] Another example includes any of the above and/or below examples where the instructions further comprise identifying the performance anomalies in a selectably tunable manner via user input related to a magnitude of the performance anomalies.

[000115] Another example includes any of the above and/or below examples where the instructions further comprise identifying the performance anomalies based on changes in distribution of values of an attribute of interest.

[000116] Another example includes any of the above and/or below examples where the attribute of interest is specified through user input.

[000117] Another example includes any of the above and/or below examples further comprising identifying the performance anomalies based on changes in distribution of values of multiple attributes of interest.

[000118] Another example includes any of the above and/or below examples further comprising generating a graphical user interface (GUI) that displays a graphic of an individual performance anomaly relative to a baseline and at least one associated predicate.

[000119] Another example includes any of the above and/or below examples where the data set is derived from service logs describing performance of one or more data centers.

[000120] Another example can obtain a data set. The example can determine anomaly scores for anomalies of an attribute of interest in the data set. The example can generate a ranked list of predicates based on the anomaly scores. The example can cause at least one of the predicates of the ranked list to be presented. [000121] Another example includes any of the above and/or below examples where the attribute of interest is selected by a user.

[000122] Another example includes any of the above and/or below examples where inclusion of individual predicates in the ranked list is influenced by a level of the anomaly scores that is selected by a user.

CONCLUSION

[000123] The order in which the disclosed methods are described is not intended to be construed as a limitation, and any number of the described blocks can be combined in any order to implement the method, or an alternate method. Furthermore, the methods can be implemented in any suitable hardware, software, firmware, or combination thereof, such that a computing device can implement the method. In one case, the methods are stored on one or more computer-readable storage media as a set of instructions such that execution by a processor of a computing device causes the computing device to perform the method.

[000124] Although techniques, methods, devices, systems, etc., pertaining to tunable predicate discovery are described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described. Rather, the specific features and acts are disclosed as exemplary forms of implementing the claimed methods, devices, systems, etc.