US20170372207A1 - Anomaly detection for non-stationary data - Google Patents
Anomaly detection for non-stationary data Download PDFInfo
- Publication number
- US20170372207A1 US20170372207A1 US15/640,191 US201715640191A US2017372207A1 US 20170372207 A1 US20170372207 A1 US 20170372207A1 US 201715640191 A US201715640191 A US 201715640191A US 2017372207 A1 US2017372207 A1 US 2017372207A1
- Authority
- US
- United States
- Prior art keywords
- time series
- data point
- actual data
- additional
- initial time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N5/00—Computing arrangements using knowledge-based models
- G06N5/04—Inference or reasoning models
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G06N99/005—
Definitions
- the present application relates generally to the technical field of data processing, and, in one specific example, to detecting anomalies in time series data corresponding to processes executing on one or more servers.
- Various computer systems such as electronic commerce (e-commerce) systems or network-based publication systems (e.g., eBay, Amazon, or Craigslist), which facilitate exchanges of items (e.g., goods or services) between users, may include many (e.g., millions or billions) of processes executing on one or more servers. Each of these processes may have one or more data inputs and one or more data outputs. Furthermore, input and output data in such systems may be non-stationary data. For example, data generated by a set of processes for a first locale may have statistical properties that vary from data generated by the same set of processes for a second locale. Given the complexity of such systems, determining their overall health may be well outside the purview of human operators.
- FIG. 1 is a network diagram depicting a client-server system within which various example embodiments may be deployed.
- FIG. 2 is a block diagram illustrating multiple server applications that, in various example embodiments, are provided as part of the networked system of FIG. 1 .
- FIG. 3 is an example embodiment of a method of determining a health of a complex system.
- FIG. 4 is an example embodiment of a method of detecting anomalies with respect to a computer process executing within a complex system.
- FIG. 5 is a block diagram illustrating an example anomaly detection daily process.
- FIG. 6 is an example user interface of a graphical user interface for representing a health of particular computer process executing within a complex system.
- FIG. 7 is a block diagram of machine in the example form of a computer system within which instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed.
- An electronic commerce system may be a complex system having input-output behavior that is difficult to quantify.
- the overall health of the system can be quantified at least in the sense that the overall health is reflected by the output of the system's data-generating processes.
- the health of a complex system may be reflected by the data it generates.
- various facets of system health may be reflected by data (e.g., time series data) corresponding to various data categories, such as the financial, behavioral, clickstream-derived, and server-derived categories.
- broad-impact events such as a change to Google's SEO algorithm, may affect data in many, if not all, categories of data of an electronic commerce system.
- anomalies in system health are manifested in data.
- Such anomalies may be of a positive (business-enhancing) or negative (business-degrading) nature.
- Detecting anomalies in system health may be the first step towards attenuating their negative business impact, stimulating their positive business impact, and understanding their underlying root causes.
- an anomaly detection system may continuously monitor data produced by each of the system's data-generating processes.
- an e-commerce system has billions of data-generating processes. Working with such a large quantity of data sets may be outside of the purview of human operators, which raises the need for automation. Further, any process that continuously monitors billions of data sets should have an implementation that is massively scalable. More subtly, the data-generating processes themselves may produce data with diverse characteristics; this issue raises the need for anomaly detection algorithms which are data-adaptive. Thus, the back-end of an anomaly-detection system must be driven by an anomaly detection algorithm that is automated, massively scalable, and data-adaptive.
- the anomaly-detection system should be data-adaptive.
- a challenge to devising such a system is that the data-adaptation may need to occur within a given data set, not just across multiple data sets.
- a given data set may have statistical properties that vary across local time regimes.
- the data (and its corresponding data-generating process) is non-stationary.
- Non-stationarity complicates our approach to anomaly detection, since the notion of “statistical equilibrium” must also be time-adaptive.
- the anomaly-detection system is designed to seamlessly handle non-stationarity by integrating data from multiple local time regimes.
- the anomaly-detection system is, fundamentally, a statistical test for anomalies. In the statistical realm, there must be a threshold set that describes the amount of expected false anomaly detections.
- the anomaly-detection system is designed to minimize the number of expected false anomaly detections (e.g., by combining data from a battery of different prediction algorithms).
- a method of detecting anomalies in a time series is disclosed.
- a training time series corresponding to a process is extracted from the initial time series. Outlying data points in the training time series are modified based on predetermined acceptability criteria.
- a plurality of prediction methods are trained using the training time series and predictions (e.g., one-step-ahead predictions) are obtained using the estimated parameters for each prediction method. Prediction errors are then computed. It is determined whether a data point is anomalous based on a determination of whether the corresponding prediction error is statistically different than the immediate prediction error history of a given length relative to that data point. The final determination is based on a combination of the information from the plurality of prediction methods.
- This method and various embodiments disclosed herein may be implemented as a computer system having one or more modules (e.g., hardware modules or software modules). This method and various embodiments disclosed herein may be embodied as instructions stored on a machine-readable medium that, when executed by a processor, cause the processor to perform the method.
- FIG. 1 is a network diagram depicting a system 100 within which various example embodiments may be deployed.
- a networked system 102 in the example forms of a network-based marketplace or other publication system, provides server-side functionality, via a network 104 (e.g., the Internet or Wide Area Network (WAN)) to one or more clients machines 110 .
- FIG. 1 illustrates client application(s) 112 on the client machines 110 .
- client application(s) 112 may include a web browser application, such as the Internet Explorer browser developed by Microsoft Corporation of Redmond, Washington or other application supported by an operating system of the device, such as Windows, iOS or Android operating systems.
- Each of the client application(s) 112 may include a software application module (e.g., a plug-in, add-in, or macro) that adds a specific service or feature to a larger system.
- An API server 114 and a web server 116 are coupled to, and provide programmatic and web interfaces respectively to, one or more application servers 118 .
- the application servers 118 host one or more server application(s) 120 .
- the application servers 118 are, in turn, shown to be coupled to one or more database servers 124 that facilitate access to one or more databases 126 or data stores.
- the applications 120 may provide a number of marketplace functions and services to users that access the networked system 102 . While the applications 120 are shown in FIG. 1 to form part of the networked system 102 , in alternative embodiments, the various applications 120 may form part of a service that is separate and distinct from the networked system 102 .
- FIG. 1 depicts machines 110 as being coupled to a single networked system 102 , it will be readily apparent to one skilled in the art that client machines 110 , as well as client applications 112 , may be coupled to multiple networked systems, such as payment applications associated with multiple payment processors or acquiring banks (e.g., PayPal, Visa, MasterCard, and American Express).
- client machines 110 may be coupled to multiple networked systems, such as payment applications associated with multiple payment processors or acquiring banks (e.g., PayPal, Visa, MasterCard, and American Express).
- Web applications executing on the client machine(s) 110 may access the various applications 120 via the web interface supported by the web server 116 .
- native applications executing on the client machine(s) 110 may access the various services and functions provided by the applications 120 via the programmatic interface provided by the API server 114 .
- An example of one of the client application(s) 112 may be a seller application (e.g., the TurboLister application developed by eBay Inc., of San Jose, Calif.) that enables sellers to author and manage listings on the networked system 102 in an off-line manner, and to perform batch-mode communications between the client application(s) 112 and the networked system 102 .
- Other examples of client application(s) 112 may be third-party applications.
- the third-party applications may, utilizing information retrieved from the networked system 102 , support one or more features or functions on a website hosted by the third party.
- the third-party website may, for example, provide one or more promotional, marketplace or payment functions that are supported by the relevant applications of the networked system 102 .
- FIG. 2 is a block diagram illustrating multiple server applications 120 that, in various example embodiments, are provided as part of the networked system 102 .
- the server applications 120 may be hosted on dedicated or shared server machines (not shown) that are communicatively coupled to enable communications between server machines.
- the server applications 120 themselves are communicatively coupled (e.g., via appropriate interfaces) to each other and to various data sources, so as to allow information to be passed between the server applications 120 and thereby to share and access common data.
- the server applications 120 may furthermore access one or more databases 126 via the database servers 124 .
- the networked system 102 may provide a number of publishing, listing and price-setting mechanisms whereby a seller may list (or publish information concerning) goods or services for sale, a buyer can express interest in or indicate a desire to purchase such goods or services, and a price can be set for a transaction pertaining to the goods or services.
- the server applications 120 are shown to include at least one publication application 200 and one or more auction applications 202 which support auction-format listing and price setting mechanisms (e.g., English, Dutch, Vickrey, Chinese, Double, Reverse auctions etc.).
- the various auction applications 202 may also provide a number of features in support of such auction-format listings, such as a reserve price feature whereby a seller may specify a reserve price in connection with a listing and a proxy-bidding feature whereby a bidder may invoke automated proxy bidding.
- a reserve price feature whereby a seller may specify a reserve price in connection with a listing
- a proxy-bidding feature whereby a bidder may invoke automated proxy bidding.
- a number of fixed-price applications 204 support fixed-price listing formats (e.g., the traditional classified advertisement-type listing or a catalogue listing) and buyout-type listings.
- buyout-type listings e.g., including the Buy-It-Now (BIN) technology developed by eBay Inc., of San Jose, Calif.
- BIN Buy-It-Now
- auction-format listings may be offered in conjunction with auction-format listings, and allow a buyer to purchase goods or services, which are also being offered for sale via an auction, for a fixed-price that is typically higher than the starting price of the auction.
- Store applications 206 allow a seller to group listings within a “virtual” store, which may be branded and otherwise personalized by and for the seller. Such a virtual store may also offer promotions, incentives and features that are specific and personalized to a relevant seller.
- Reputation applications 208 allow users that transact, utilizing the networked system 102 , to establish, build and maintain reputations, which may be made available and published to potential trading partners.
- the reputation applications 208 allow a user (e.g., through feedback provided by other transaction partners) to establish a reputation within the networked system 102 over time. Other potential trading partners may then reference such a reputation for the purposes of assessing credibility and trustworthiness.
- Personalization applications 210 allow users of the networked system 102 to personalize various aspects of their interactions with the networked system 102 . For example a user may, utilizing an appropriate personalization application 210 , create a personalized reference page at which information regarding transactions to which the user is (or has been) a party may be viewed. Further, a personalization application 210 may enable a user to personalize listings and other aspects of their interactions with the networked system 102 and other parties.
- the networked system 102 may support a number of marketplaces that are customized, for example, for specific geographic regions. For instance, a version of the networked system 102 may be customized for the United Kingdom, whereas another version of the networked system 102 may be customized for the United States. Each of these versions may operate as an independent marketplace, or may be customized (or internationalized) presentations of a common underlying marketplace.
- the networked system 102 may accordingly include a number of internationalization applications 212 that customize information (and/or the presentation of information) by the networked system 102 according to predetermined criteria (e.g., geographic, demographic or marketplace criteria). For example, the internationalization applications 212 may be used to support the customization of information for a number of regional websites that are operated by the networked system 102 and that are accessible via respective web servers 116 .
- Navigation of the networked system 102 may be facilitated by one or more navigation applications 214 .
- a search application (as an example of a navigation application) may enable keyword searches of listings published via the networked system 102 .
- a browse application may allow users to browse various category, catalogue, or inventory data structures according to which listings may be classified within the networked system 102 .
- Various other navigation applications may be provided to supplement the search and browsing applications.
- the marketplace applications 120 may include one or more imaging applications 216 , which users may utilize to upload images for inclusion within listings.
- An imaging application 216 also operates to incorporate images within viewed listings.
- the imaging applications 216 may also support one or more promotional features, such as image galleries that are presented to potential buyers. For example, sellers may pay an additional fee to have an image included within a gallery of images for promoted items.
- Listing creation applications 218 allow sellers to conveniently author listings pertaining to goods or services that they wish to transact via the networked system 102
- listing management applications 220 allow sellers to manage such listings. Specifically, where a particular or predetermined seller has authored and/or published a large number of listings, the management of such listings may present a challenge.
- the listing management applications 220 provide a number of features (e.g., auto-relisting, inventory level monitors, etc.) to assist the seller in managing such listings.
- the listing creation application 218 and listing management applications 220 may allow sellers to manage listing in bulk (e.g., in a single operation, such as by an uploading of a file) and provide templates for sellers to manage category-specific, vendor-specific, or general-type-specific (e.g., catalog or ticket) listings.
- One or more post-listing management applications 222 also assist sellers with a number of activities that typically occur post-listing. For example, upon completion of an auction facilitated by one or more auction applications 202 , a seller may wish to leave feedback regarding a particular or predetermined buyer. To this end, a post-listing management application 222 may provide an interface to one or more reputation applications 208 , so as to allow the seller to conveniently provide feedback regarding multiple buyers to the reputation applications 208 .
- Dispute resolution applications 224 provide mechanisms whereby disputes arising between transacting parties may be resolved.
- the dispute resolution applications 224 may provide guided procedures whereby the parties are guided through a number of operations in an attempt to settle a dispute. In the event that the dispute cannot be settled via the guided procedures, the dispute may be escalated to a third-party mediator or arbitrator.
- a number of fraud prevention applications 226 implement fraud detection and prevention mechanisms to reduce the occurrence of fraud within the networked system 102 .
- Messaging applications 228 are responsible for the generation and delivery of messages to users of the networked system 102 . These messages may, for example, advise users regarding the status of listings at the networked system 102 (e.g., providing “outbid” notices to bidders during an auction process or providing promotional and merchandising information to users). Respective messaging applications 228 may utilize any one of a number of message delivery networks and platforms to deliver messages to users.
- messaging applications 228 may deliver electronic mail (e-mail), instant message (IM), Short Message Service (SMS), text, facsimile, or voice (e.g., Voice over IP (VoIP)) messages via the wired (e.g., the Internet), Plain Old Telephone Service (POTS), or wireless (e.g., mobile, cellular, WiFi, WiMAX) networks.
- e-mail electronic mail
- IM instant message
- SMS Short Message Service
- text e.g., text
- facsimile e.g., facsimile
- voice e.g., Voice over IP (VoIP)
- POTS Plain Old Telephone Service
- wireless e.g., mobile, cellular, WiFi, WiMAX
- Merchandising applications 230 support various merchandising functions that are made available to sellers to enable sellers to increase sales via the networked system 102 .
- the merchandising applications 230 also operate the various merchandising features that may be invoked by sellers, and may monitor and track the success of merchandising strategies employed by sellers.
- the networked system 102 itself, or one or more parties that transact via the networked system 102 may operate loyalty programs that are supported by one or more loyalty/promotion applications 232 . For example, a buyer may earn loyalty or promotions points for each transaction established and/or concluded with a particular or predetermined seller, and may be offered a reward for which accumulated loyalty points can be redeemed.
- Each of the server application(s) 120 may be associated with one or more computer processes, each having one or more sets of output data.
- One or more anomaly detection application(s) 152 executing on or more anomaly detection machine(s) 150 may be configured to detect anomalies in the system 100 , as described in more detail below.
- FIG. 3 is an example embodiment of a method 300 of determining a health of a system, such as the system 100 of FIG. 1 .
- the method 300 may be implemented by one or more of the anomaly detection application(s) 152 .
- the method implements a framework for detecting anomalies in time series data.
- the method 300 may process one or a multitude of time series such that it processes one of such time series at a time for one time point.
- the method 300 can then be repeated for every time point within a time duration of interest, in order, from the farthest time point to the latest.
- a time series S e.g., an initial time series
- the preparatory stage is concerned with data preprocessing.
- a training time series corresponding to a predetermined or particular data-generating process is received such that this training time series, say T, of length n where n is smaller than t, contains data elements from S corresponding to time points from (t ⁇ n) to (t ⁇ 1) in the initial time series.
- the training time series may be further modified by implementing a process to ensure that the time series T adheres to specific predetermined standards.
- the training stage operates using data contained in the time series T.
- this stage selects locally optimal parameters for each of a prescribed set of prediction methods (e.g., one-step prediction methods).
- the training stage is used to assess certain statistical properties for each member of the set of the prediction methods specifically based on the time series T selected during operation 302 corresponding to the time point t of interest.
- the prediction stage functions use the locally optimal statistical properties generated in operation 304 for each member of the set of prediction methods to generate predictions (e.g., one-step ahead predictions) for each member of the set of prediction methods corresponding to time point t for the time series S.
- the anomaly detection stage identifies a potential anomaly in time series S at time point t.
- the actual (measured) data at time point t is compared with the predictions from operation 306 and a statistical test is applied to the differences between the predicted and actual data. The results of this test are used to flag the data at time point t as anomalous or not.
- this procedure is consistent with the intuitive notion that anomalies are “unpredictable” and it is able to identify when the underlying data-generating processes are operating outside of their usual state.
- FIG. 4 is an example embodiment of a method 400 of detecting anomalies with respect to a complex system, such as the system 100 of FIG. 1 .
- the method 400 may be implemented by one or more of the anomaly detection application(s) 152 .
- the method 400 is implemented such that it is executed for each time series of interest and for the entire time duration of interest, one time point at a time.
- the data given is a time series S, indexed from time point 1 to M, and comprised of observations X(1), X(2), . . . , X(M).
- the time duration of interest is from time point P to time point M (the end). So, the anomaly detection process starts with time point P.
- a training time series T of training length N is extracted from S such that it contains data elements from time point (P ⁇ N) to time point (P ⁇ 1).
- N is significantly less than M.
- outlying data points in the time series T are capped.
- data pre-processing operations may be applied to the training time series to bring identified outliers to within the values of other data values.
- the training time series T is used to generate the parameters for each of a plurality of prediction methods. For example, the following steps may be performed: using the training time series T to estimate the parameters of each of q different pre-selected prediction methods (e.g., to ensure that each of the prediction methods is trained to use locally-optimal parameters); and applying the q different prediction methods obtain q different prediction values (e.g., one-step ahead prediction values): Y(P, 1), Y(P, 2), . . . , Y(P, q).
- q different prediction values e.g., one-step ahead prediction values
- each of the prediction methods produces one step-ahead prediction errors which are independent and normally distributed, when regarded as random variables.
- parameters of the normal distribution may also be determined, including the mean and variance.
- the normal distribution and associated parameters may be determined for each of a number of preselected prediction methods.
- q prediction error time series of length L (for time points from (P ⁇ L) to (P ⁇ 1) where P is smaller than L) corresponding to the q prediction methods applied in the context on time series S in the past, are extracted.
- These prediction error time series are the result of the operation 400 for historical time points, i.e., time points older than P.
- the prediction errors E(P ⁇ L, j), E(P ⁇ 1, j) computed in the past comprise L samples of a normally distributed random variable with mean ⁇ (j) and standard deviation ⁇ (j).
- a distance between each E(P, j) and the fitted multivariate normal joint probability distribution is measured (e.g., using the Mahalanobis distance). If the distances computed exceed a predetermined threshold, the time index P is marked as containing an anomaly.
- operations 402 to 410 may then be repeated from time periods P to M.
- a user interface facilitates data exploration and provides a visual indication of whether the data point of interest in the time series S is anomalous. For example, as shown in FIG. 6 , the time series data corresponding to a process is presented in a user interface and anomalous data points in the data series are flagged.
- FIG. 5 is a block diagram illustrating an example anomaly detection daily process 500 (the time interval between consecutive time points in this specific embodiment is 1 day).
- the anomaly detection daily process 500 may be implemented daily by one or more of the anomaly detection application(s) 152 .
- the process is built to: process millions of time series; accept a data feed from an external data source and append the incremental daily data (pertaining to the latest date for which the time series data are available) to the data source within the embodiment (system); process all the time series and detect whether the latest date appended has anomalies and for which time series.
- a scheduler/controller application manages (1) kicking off a first process 504 (e.g., a database process) to ingest incremental data and (2) kicking off a second process 514 (e.g., a statistical process) to process the incremental data for anomaly detection.
- a first process 504 e.g., a database process
- a second process 514 e.g., a statistical process
- one or more database tables are accessed or updated with the latest update of incremental daily data.
- the accessed or updated tables may include raw data , output data already processed by the statistical process at an earlier time period or other (e.g., configuration) information.
- all the time series in the embodiment are appended with their respective data elements corresponding to the latest date (the date being processed).
- These time series are further grouped together into logical units of work (LUWs).
- a LUW can be defined as a group of individual time series combined together based on some predetermined criteria to be processed together. The criteria could be related to the logic stemming from the nature of the data or it be could a random grouping purely for the purpose of streamlining the amount of data and work passed on to the statistical engine in one request.
- a list of logical units of work (LUWs) are retrieved.
- a first set of data is retrieved which contains the data for all the time series which are a part of a specific LUW (e.g., a 3-year output data history up until yesterday for all time series in a given logical unit of work (LUW)).
- LUW logical unit of work
- a different set of data is retrieved for all the time series in a specific LUW (e.g., an output data history for 1 year up until yesterday for all time series in a given LUW).
- the set of data also includes the processed information written at a previous time point for the time series in the LUW of interest by operation 514 .
- a master program in the statistical engine manages the execution of the anomaly detection procedures for all LUWs.
- the master program in operation 514 distributes the processing of LUWs across a large number of worker programs such that each worker program processes 1 LUW and runs operation 516 for that LUW independently on an individual processing thread or processing core.
- the worker program moves on to process the next LUW only once it has finished processing the first LUW.
- the worker program(s) receives LUW actuals data (e.g., using stored procedure B, operation 510 ). Additionally, for each LUW, the worker program(s) run predictions, such as (a) multiple linear regression-based (MLR-based) one-day-ahead prediction for today, (b) MLR-based two-day-ahead prediction for tomorrow, (c) MLR-based one-day-ahead prediction for today using seven-day moving average (MA), (d) a proprietary prediction method, such as EMD-spectral prediction (ESP)-based one-day-ahead prediction for today, (c) or other prediction methods, such as dynamic linear model (DLM), wavelet-based model, empirical mode decomposition (EMD)-based model, or non-stationary ESP model.
- MLR-based multiple linear regression-based
- MLR-based two-day-ahead prediction for tomorrow MLR-based MLR-based one-day-ahead prediction for today using seven-day moving average (MA)
- ESP EMD-spectral prediction
- the worker program(s) receive previously processed output (prediction and residual) history (e.g., 1 year of residuals) using stored procedure C (operation 512 ), calculates residuals and anomaly detection related metrics for yesterday, and, at 518 , write back processed information for yesterday, today, and tomorrow to the output table using stored procedure D.
- a graphical user interface may then be generated to visually present the information in the output table (e.g., see FIG. 6 ).
- FIG. 6 is an example user interface 600 of a graphical user interface for representing a health of particular process executing within a complex system, such as the system 100 of FIG. 1 .
- data points of a time series corresponding to a selected process may be presented in graph.
- the data points correspond to the gross merchandise volume (GMV) in an e-commerce system in the U.S. for products in an electronics/cell phones & accessories category.
- GMV gross merchandise volume
- a one-day MLR model of data points is displayed over a sixth-month time period.
- Anomalous data points are flagged (e.g., with a graphical indicator corresponding to the position of the data point within the time series).
- the identification of the anomalous data points is based on an analysis of the data points with respect to a combination of a plurality of data models (e.g., the 1-day MLR model, the one-day MLR model on seven-day MA, the two-day MLR model, and a proprietary model, as described above.
- the anomalies may be magnified for visual comparison between the actual values and the predicted values.
- a relative strength of each detected anomaly may also be indicated (e.g., by indicators having different sizes or different colors or different shapes etc. to visually distinguish them based on strength level).
- Modules may constitute either software modules (e.g., code embodied on a machine-readable medium or in a transmission signal) or hardware modules.
- a hardware module is a tangible unit capable of performing certain operations and may be configured or arranged in a certain manner.
- one or more computer systems e.g., a standalone, client or server computer system
- one or more hardware modules of a computer system e.g., a processor or a group of processors
- software e.g., an application or application portion
- a hardware module may be implemented mechanically or electronically.
- a hardware module may comprise dedicated circuitry or logic that is permanently configured (e.g., as a special-purpose processor, such as a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC)) to perform certain operations.
- a hardware module may also comprise programmable logic or circuitry (e.g., as encompassed within a general-purpose processor or other programmable processor) that is temporarily configured by software to perform certain operations. It will be appreciated that the decision to implement a hardware module mechanically, in dedicated and permanently configured circuitry, or in temporarily configured circuitry (e.g., configured by software) may be driven by cost and time considerations.
- the term “hardware module” should be understood to encompass a tangible entity, be that an entity that is physically constructed, permanently configured (e.g., hardwired) or temporarily configured (e.g., programmed) to operate in a certain manner and/or to perform certain operations described herein.
- hardware modules are temporarily configured (e.g., programmed)
- each of the hardware modules need not be configured or instantiated at any one instance in time.
- the hardware modules comprise a general-purpose processor configured using software
- the general-purpose processor may be configured as respective different hardware modules at different times.
- Software may accordingly configure a processor, for example, to constitute a particular hardware module at one instance of time and to constitute a different hardware module at a different instance of time.
- Hardware modules can provide information to, and receive information from, other hardware modules. Accordingly, the described hardware modules may be regarded as being communicatively coupled. Where multiple of such hardware modules exist contemporaneously, communications may be achieved through signal transmission (e.g., over appropriate circuits and buses) that connect the hardware modules. In embodiments in which multiple hardware modules are configured or instantiated at different times, communications between such hardware modules may be achieved, for example, through the storage and retrieval of information in memory structures to which the multiple hardware modules have access. For example, one hardware module may perform an operation and store the output of that operation in a memory device to which it is communicatively coupled. A further hardware module may then, at a later time, access the memory device to retrieve and process the stored output. Hardware modules may also initiate communications with input or output devices and can operate on a resource (e.g., a collection of information).
- a resource e.g., a collection of information
- processors may be temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, such processors may constitute processor-implemented modules that operate to perform one or more operations or functions.
- the modules referred to herein may, in some example embodiments, comprise processor-implemented modules.
- the methods described herein may be at least partially processor-implemented. For example, at least some of the operations of a method may be performed by one or more processors or processor-implemented modules. The performance of certain of the operations may be distributed among the one or more processors, not only residing within a single machine, but deployed across a number of machines. In some example embodiments, the processor or processors may be located in a single location (e.g., within a home environment, an office environment or as a server farm), while in other embodiments the processors may be distributed across a number of locations.
- the one or more processors may also operate to support performance of the relevant operations in a “cloud computing” environment or as a “software as a service” (SaaS). For example, at least some of the operations may be performed by a group of computers (as examples of machines including processors), these operations being accessible via a network (e.g., the network 104 of FIG. 1 ) and via one or more appropriate interfaces (e.g., APIs).
- SaaS software as a service
- Example embodiments may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them.
- Example embodiments may be implemented using a computer program product, e.g., a computer program tangibly embodied in an information carrier, e.g., in a machine-readable medium for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers.
- a computer program can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, subroutine, or other unit suitable for use in a computing environment.
- a computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.
- operations may be performed by one or more programmable processors executing a computer program to perform functions by operating on input data and generating output.
- Method operations can also be performed by, and apparatus of example embodiments may be implemented as, special purpose logic circuitry (e.g., a FPGA or an ASIC).
- the computing system can include clients and servers.
- a client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
- both hardware and software architectures require consideration. Specifically, it will be appreciated that the choice of whether to implement certain functionality in permanently configured hardware (e.g., an ASIC), in temporarily configured hardware (e.g., a combination of software and a programmable processor), or a combination of permanently and temporarily configured hardware may be a design choice.
- hardware e.g., machine
- software architectures that may be deployed, in various example embodiments.
- FIG. 7 is a block diagram of machine in the example form of a computer system 1800 within which instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed.
- the machine operates as a standalone device or may be connected (e.g., networked) to other machines.
- the machine may operate in the capacity of a server or a client machine in server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment.
- the machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a Personal Digital Assistant (PDA), a cellular telephone, a web appliance, a network router, switch or bridge, or any machine capable of executing instructions (sequential or otherwise) that specify actions to be taken by that machine.
- PC personal computer
- PDA Personal Digital Assistant
- STB set-top box
- WPA Personal Digital Assistant
- a cellular telephone a web appliance
- network router switch or bridge
- machine any machine capable of executing instructions (sequential or otherwise) that specify actions to be taken by that machine.
- machine shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.
- the example computer system 1800 includes a processor 1802 (e.g., a central processing unit (CPU), a graphics processing unit (GPU) or both), a main memory 1804 and a static memory 1806 , which communicate with each other via a bus 1808 .
- the computer system 1800 may further include a video display unit 1810 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)).
- the computer system 1800 also includes an alphanumeric input device 1812 (e.g., a keyboard), a user interface (UI) navigation (or cursor control) device 1814 (e.g., a mouse), a storage unit 1816 , a signal generation device 1818 (e.g., a speaker) and a network interface device 1820 .
- an alphanumeric input device 1812 e.g., a keyboard
- UI user interface
- cursor control device 1814 e.g., a mouse
- storage unit 1816 e.g., a storage unit 1816
- signal generation device 1818 e.g., a speaker
- network interface device 1820 e.g., a network interface device
- the storage unit 1816 includes a machine-readable medium 1822 on which is stored one or more sets of data structures and instructions 1824 (e.g., software) embodying or utilized by any one or more of the methodologies or functions described herein.
- the instructions 1824 may also reside, completely or at least partially, within the main memory 1804 and/or within the processor 1802 during execution thereof by the computer system 1800 , the main memory 1804 and the processor 1802 also constituting machine-readable media.
- the instructions 1824 may also reside, completely or at least partially, within the static memory 1806 .
- machine-readable medium 1822 is shown in an example embodiment to be a single medium, the term “machine-readable medium” may include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more instructions 1824 or data structures.
- the term “machine-readable medium” shall also be taken to include any tangible medium that is capable of storing, encoding or carrying instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present embodiments, or that is capable of storing, encoding or carrying data structures utilized by or associated with such instructions.
- the term “machine-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media.
- machine-readable media include non-volatile memory, including by way of example semiconductor memory devices, e.g., Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and compact disc-read-only memory (CD-ROM) and digital versatile disc (or digital video disc) read-only memory (DVD-ROM) disks.
- semiconductor memory devices e.g., Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), and flash memory devices
- EPROM Erasable Programmable Read-Only Memory
- EEPROM Electrically Erasable Programmable Read-Only Memory
- flash memory devices e.g., electrically Erasable Programmable Read-Only Memory (EEPROM), and flash memory devices
- magnetic disks such as internal hard disks and removable disks
- a “tangible machine-readable medium” may refer to a single storage apparatus or device, as well as “cloud-based” storage systems or storage networks that include multiple storage apparatus or devices.
- the tangible machine-readable medium is non-transitory in that it does not embody a propagating signal.
- labeling the tangible machine-readable medium as “non-transitory” should not be construed to mean that the medium is incapable of movement—the medium should be considered as being transportable from one physical location to another.
- the machine-readable medium since the machine-readable medium is tangible, the medium may be considered to be a machine-readable device.
- the instructions 1824 may further be transmitted or received over a communications network 1826 using a transmission medium.
- the instructions 1824 may be transmitted using the network interface device 1820 and any one of a number of well-known transfer protocols (e.g., HTTP).
- Examples of communication networks include a LAN, a WAN, the Internet, mobile telephone networks, POTS networks, and wireless data networks (e.g., WiFi and WiMax networks).
- the term “transmission medium” shall be taken to include any intangible medium capable of storing, encoding or carrying instructions for execution by the machine, and includes digital or analog communications signals or other intangible media to facilitate communication of such software.
- the network 1826 may be one of the networks 104 .
- inventive subject matter may be referred to herein, individually and/or collectively, by the term “invention” merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed.
- inventive concept merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Medical Informatics (AREA)
- Debugging And Monitoring (AREA)
Abstract
A method of detecting anomalies in a time series is disclosed. A training time series corresponding to a process is extracted from an initial time series corresponding to the process, the training time series including a subset of the initial time series. Outlier data points in the training time series are modified based on predetermined acceptability criteria. A plurality of prediction methods are trained using the training time series. An actual data point corresponding to the initial time series is received. The plurality of prediction methods are used to determine a set of predicted data points corresponding to the actual data point. It is determined whether the actual data point is anomalous based on a calculation of whether each of the set of predicted data points is statistically different from the actual data point.
Description
- This application is a continuation of U.S. patent application Ser. No. 14/588,355, filed on Dec. 31, 2014, which is incorporated herein by reference in its entirety.
- The present application relates generally to the technical field of data processing, and, in one specific example, to detecting anomalies in time series data corresponding to processes executing on one or more servers.
- Various computer systems, such as electronic commerce (e-commerce) systems or network-based publication systems (e.g., eBay, Amazon, or Craigslist), which facilitate exchanges of items (e.g., goods or services) between users, may include many (e.g., millions or billions) of processes executing on one or more servers. Each of these processes may have one or more data inputs and one or more data outputs. Furthermore, input and output data in such systems may be non-stationary data. For example, data generated by a set of processes for a first locale may have statistical properties that vary from data generated by the same set of processes for a second locale. Given the complexity of such systems, determining their overall health may be well outside the purview of human operators.
- Some embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings.
-
FIG. 1 is a network diagram depicting a client-server system within which various example embodiments may be deployed. -
FIG. 2 is a block diagram illustrating multiple server applications that, in various example embodiments, are provided as part of the networked system ofFIG. 1 . -
FIG. 3 is an example embodiment of a method of determining a health of a complex system. -
FIG. 4 is an example embodiment of a method of detecting anomalies with respect to a computer process executing within a complex system. -
FIG. 5 is a block diagram illustrating an example anomaly detection daily process. -
FIG. 6 is an example user interface of a graphical user interface for representing a health of particular computer process executing within a complex system. -
FIG. 7 is a block diagram of machine in the example form of a computer system within which instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed. - In the following description, for purposes of explanation, numerous specific details are set forth in order to provide an understanding of various embodiments of the present subject matter. It will be evident, however, to those skilled in the art that various embodiments may be practiced without these specific details.
- An electronic commerce system may be a complex system having input-output behavior that is difficult to quantify. However, the overall health of the system can be quantified at least in the sense that the overall health is reflected by the output of the system's data-generating processes. In other words, the health of a complex system may be reflected by the data it generates. For example, various facets of system health may be reflected by data (e.g., time series data) corresponding to various data categories, such as the financial, behavioral, clickstream-derived, and server-derived categories. For example, it is not hard to imagine that broad-impact events, such as a change to Google's SEO algorithm, may affect data in many, if not all, categories of data of an electronic commerce system. On the other hand, events with a narrower impact, such as code bugs or targeted cyber-attacks, may only affect data belonging to a specific category of data. Regardless of the scope of the impact, anomalies in system health are manifested in data. Such anomalies may be of a positive (business-enhancing) or negative (business-degrading) nature.
- Detecting anomalies in system health may be the first step towards attenuating their negative business impact, stimulating their positive business impact, and understanding their underlying root causes. To this end, an anomaly detection system may continuously monitor data produced by each of the system's data-generating processes.
- In some embodiments, an e-commerce system has billions of data-generating processes. Working with such a large quantity of data sets may be outside of the purview of human operators, which raises the need for automation. Further, any process that continuously monitors billions of data sets should have an implementation that is massively scalable. More subtly, the data-generating processes themselves may produce data with diverse characteristics; this issue raises the need for anomaly detection algorithms which are data-adaptive. Thus, the back-end of an anomaly-detection system must be driven by an anomaly detection algorithm that is automated, massively scalable, and data-adaptive.
- To make the notion of an anomaly more precise, we first define what it means for the system to be in normal health. To this end, we make the following operational definition: The system is in normal health if each of its data-generating processes is in a state of statistical equilibrium. Under this definition, an anomaly is a deviation of one of the system's data-generating processes from statistical equilibrium. In practice, an anomaly in a particular data-generating process will be evident from the data it generates.
- As indicated above, the anomaly-detection system should be data-adaptive. A challenge to devising such a system is that the data-adaptation may need to occur within a given data set, not just across multiple data sets. For example, a given data set may have statistical properties that vary across local time regimes. In this case, we say that the data (and its corresponding data-generating process) is non-stationary. Non-stationarity complicates our approach to anomaly detection, since the notion of “statistical equilibrium” must also be time-adaptive. The anomaly-detection system is designed to seamlessly handle non-stationarity by integrating data from multiple local time regimes.
- In various embodiments, the anomaly-detection system is, fundamentally, a statistical test for anomalies. In the statistical realm, there must be a threshold set that describes the amount of expected false anomaly detections. The anomaly-detection system is designed to minimize the number of expected false anomaly detections (e.g., by combining data from a battery of different prediction algorithms).
- A method of detecting anomalies in a time series is disclosed. A training time series corresponding to a process is extracted from the initial time series. Outlying data points in the training time series are modified based on predetermined acceptability criteria. A plurality of prediction methods are trained using the training time series and predictions (e.g., one-step-ahead predictions) are obtained using the estimated parameters for each prediction method. Prediction errors are then computed. It is determined whether a data point is anomalous based on a determination of whether the corresponding prediction error is statistically different than the immediate prediction error history of a given length relative to that data point. The final determination is based on a combination of the information from the plurality of prediction methods.
- This method and various embodiments disclosed herein may be implemented as a computer system having one or more modules (e.g., hardware modules or software modules). This method and various embodiments disclosed herein may be embodied as instructions stored on a machine-readable medium that, when executed by a processor, cause the processor to perform the method.
-
FIG. 1 is a network diagram depicting asystem 100 within which various example embodiments may be deployed. Anetworked system 102, in the example forms of a network-based marketplace or other publication system, provides server-side functionality, via a network 104 (e.g., the Internet or Wide Area Network (WAN)) to one ormore clients machines 110.FIG. 1 illustrates client application(s) 112 on theclient machines 110. Examples of client application(s) 112 may include a web browser application, such as the Internet Explorer browser developed by Microsoft Corporation of Redmond, Washington or other application supported by an operating system of the device, such as Windows, iOS or Android operating systems. Each of the client application(s) 112 may include a software application module (e.g., a plug-in, add-in, or macro) that adds a specific service or feature to a larger system. - An
API server 114 and aweb server 116 are coupled to, and provide programmatic and web interfaces respectively to, one ormore application servers 118. Theapplication servers 118 host one or more server application(s) 120. Theapplication servers 118 are, in turn, shown to be coupled to one ormore database servers 124 that facilitate access to one ormore databases 126 or data stores. - The
applications 120 may provide a number of marketplace functions and services to users that access thenetworked system 102. While theapplications 120 are shown inFIG. 1 to form part of thenetworked system 102, in alternative embodiments, thevarious applications 120 may form part of a service that is separate and distinct from thenetworked system 102. - Further, while the
system 100 shown inFIG. 1 employs a client-server architecture, various embodiments are, of course, not limited to such an architecture, and could equally well find application in a distributed, or peer-to-peer, architecture system, for example. Thevarious server applications 120 could also be implemented as standalone software programs, which do not necessarily have networking capabilities. Additionally, althoughFIG. 1 depictsmachines 110 as being coupled to a singlenetworked system 102, it will be readily apparent to one skilled in the art thatclient machines 110, as well asclient applications 112, may be coupled to multiple networked systems, such as payment applications associated with multiple payment processors or acquiring banks (e.g., PayPal, Visa, MasterCard, and American Express). - Web applications executing on the client machine(s) 110 may access the
various applications 120 via the web interface supported by theweb server 116. Similarly, native applications executing on the client machine(s) 110 may access the various services and functions provided by theapplications 120 via the programmatic interface provided by theAPI server 114. An example of one of the client application(s) 112 may be a seller application (e.g., the TurboLister application developed by eBay Inc., of San Jose, Calif.) that enables sellers to author and manage listings on thenetworked system 102 in an off-line manner, and to perform batch-mode communications between the client application(s) 112 and thenetworked system 102. Other examples of client application(s) 112 may be third-party applications. For example, the third-party applications may, utilizing information retrieved from thenetworked system 102, support one or more features or functions on a website hosted by the third party. The third-party website may, for example, provide one or more promotional, marketplace or payment functions that are supported by the relevant applications of thenetworked system 102. -
FIG. 2 is a block diagram illustratingmultiple server applications 120 that, in various example embodiments, are provided as part of thenetworked system 102. Theserver applications 120 may be hosted on dedicated or shared server machines (not shown) that are communicatively coupled to enable communications between server machines. Theserver applications 120 themselves are communicatively coupled (e.g., via appropriate interfaces) to each other and to various data sources, so as to allow information to be passed between theserver applications 120 and thereby to share and access common data. Theserver applications 120 may furthermore access one ormore databases 126 via thedatabase servers 124. - The
networked system 102 may provide a number of publishing, listing and price-setting mechanisms whereby a seller may list (or publish information concerning) goods or services for sale, a buyer can express interest in or indicate a desire to purchase such goods or services, and a price can be set for a transaction pertaining to the goods or services. To this end, theserver applications 120 are shown to include at least one publication application 200 and one ormore auction applications 202 which support auction-format listing and price setting mechanisms (e.g., English, Dutch, Vickrey, Chinese, Double, Reverse auctions etc.). Thevarious auction applications 202 may also provide a number of features in support of such auction-format listings, such as a reserve price feature whereby a seller may specify a reserve price in connection with a listing and a proxy-bidding feature whereby a bidder may invoke automated proxy bidding. - A number of fixed-
price applications 204 support fixed-price listing formats (e.g., the traditional classified advertisement-type listing or a catalogue listing) and buyout-type listings. Specifically, buyout-type listings (e.g., including the Buy-It-Now (BIN) technology developed by eBay Inc., of San Jose, Calif.) may be offered in conjunction with auction-format listings, and allow a buyer to purchase goods or services, which are also being offered for sale via an auction, for a fixed-price that is typically higher than the starting price of the auction. -
Store applications 206 allow a seller to group listings within a “virtual” store, which may be branded and otherwise personalized by and for the seller. Such a virtual store may also offer promotions, incentives and features that are specific and personalized to a relevant seller. -
Reputation applications 208 allow users that transact, utilizing thenetworked system 102, to establish, build and maintain reputations, which may be made available and published to potential trading partners. Consider that where, for example, thenetworked system 102 supports person-to-person trading, users may otherwise have no history or other reference information whereby the trustworthiness and credibility of potential trading partners may be assessed. Thereputation applications 208 allow a user (e.g., through feedback provided by other transaction partners) to establish a reputation within thenetworked system 102 over time. Other potential trading partners may then reference such a reputation for the purposes of assessing credibility and trustworthiness. -
Personalization applications 210 allow users of thenetworked system 102 to personalize various aspects of their interactions with thenetworked system 102. For example a user may, utilizing anappropriate personalization application 210, create a personalized reference page at which information regarding transactions to which the user is (or has been) a party may be viewed. Further, apersonalization application 210 may enable a user to personalize listings and other aspects of their interactions with thenetworked system 102 and other parties. - The
networked system 102 may support a number of marketplaces that are customized, for example, for specific geographic regions. For instance, a version of thenetworked system 102 may be customized for the United Kingdom, whereas another version of thenetworked system 102 may be customized for the United States. Each of these versions may operate as an independent marketplace, or may be customized (or internationalized) presentations of a common underlying marketplace. Thenetworked system 102 may accordingly include a number ofinternationalization applications 212 that customize information (and/or the presentation of information) by thenetworked system 102 according to predetermined criteria (e.g., geographic, demographic or marketplace criteria). For example, theinternationalization applications 212 may be used to support the customization of information for a number of regional websites that are operated by thenetworked system 102 and that are accessible viarespective web servers 116. - Navigation of the
networked system 102 may be facilitated by one ormore navigation applications 214. For example, a search application (as an example of a navigation application) may enable keyword searches of listings published via thenetworked system 102. A browse application may allow users to browse various category, catalogue, or inventory data structures according to which listings may be classified within thenetworked system 102. Various other navigation applications may be provided to supplement the search and browsing applications. - In order to make listings available via the
networked system 102 as visually informing and attractive as possible, themarketplace applications 120 may include one ormore imaging applications 216, which users may utilize to upload images for inclusion within listings. Animaging application 216 also operates to incorporate images within viewed listings. Theimaging applications 216 may also support one or more promotional features, such as image galleries that are presented to potential buyers. For example, sellers may pay an additional fee to have an image included within a gallery of images for promoted items. -
Listing creation applications 218 allow sellers to conveniently author listings pertaining to goods or services that they wish to transact via thenetworked system 102, andlisting management applications 220 allow sellers to manage such listings. Specifically, where a particular or predetermined seller has authored and/or published a large number of listings, the management of such listings may present a challenge. Thelisting management applications 220 provide a number of features (e.g., auto-relisting, inventory level monitors, etc.) to assist the seller in managing such listings. Thelisting creation application 218 andlisting management applications 220 may allow sellers to manage listing in bulk (e.g., in a single operation, such as by an uploading of a file) and provide templates for sellers to manage category-specific, vendor-specific, or general-type-specific (e.g., catalog or ticket) listings. One or morepost-listing management applications 222 also assist sellers with a number of activities that typically occur post-listing. For example, upon completion of an auction facilitated by one ormore auction applications 202, a seller may wish to leave feedback regarding a particular or predetermined buyer. To this end, apost-listing management application 222 may provide an interface to one ormore reputation applications 208, so as to allow the seller to conveniently provide feedback regarding multiple buyers to thereputation applications 208. -
Dispute resolution applications 224 provide mechanisms whereby disputes arising between transacting parties may be resolved. For example, thedispute resolution applications 224 may provide guided procedures whereby the parties are guided through a number of operations in an attempt to settle a dispute. In the event that the dispute cannot be settled via the guided procedures, the dispute may be escalated to a third-party mediator or arbitrator. - A number of
fraud prevention applications 226 implement fraud detection and prevention mechanisms to reduce the occurrence of fraud within thenetworked system 102. -
Messaging applications 228 are responsible for the generation and delivery of messages to users of thenetworked system 102. These messages may, for example, advise users regarding the status of listings at the networked system 102 (e.g., providing “outbid” notices to bidders during an auction process or providing promotional and merchandising information to users).Respective messaging applications 228 may utilize any one of a number of message delivery networks and platforms to deliver messages to users. For example,messaging applications 228 may deliver electronic mail (e-mail), instant message (IM), Short Message Service (SMS), text, facsimile, or voice (e.g., Voice over IP (VoIP)) messages via the wired (e.g., the Internet), Plain Old Telephone Service (POTS), or wireless (e.g., mobile, cellular, WiFi, WiMAX) networks. -
Merchandising applications 230 support various merchandising functions that are made available to sellers to enable sellers to increase sales via thenetworked system 102. Themerchandising applications 230 also operate the various merchandising features that may be invoked by sellers, and may monitor and track the success of merchandising strategies employed by sellers. - The
networked system 102 itself, or one or more parties that transact via thenetworked system 102, may operate loyalty programs that are supported by one or more loyalty/promotion applications 232. For example, a buyer may earn loyalty or promotions points for each transaction established and/or concluded with a particular or predetermined seller, and may be offered a reward for which accumulated loyalty points can be redeemed. - Each of the server application(s) 120 may be associated with one or more computer processes, each having one or more sets of output data. One or more anomaly detection application(s) 152 executing on or more anomaly detection machine(s) 150 may be configured to detect anomalies in the
system 100, as described in more detail below. -
FIG. 3 is an example embodiment of amethod 300 of determining a health of a system, such as thesystem 100 ofFIG. 1 . In various embodiments, themethod 300 may be implemented by one or more of the anomaly detection application(s) 152. In various embodiments, the method implements a framework for detecting anomalies in time series data. - In various embodiments, the
method 300 may process one or a multitude of time series such that it processes one of such time series at a time for one time point. Themethod 300 can then be repeated for every time point within a time duration of interest, in order, from the farthest time point to the latest. While processing a time series S (e.g., an initial time series) for time point t, at 302, the preparatory stage is concerned with data preprocessing. A training time series corresponding to a predetermined or particular data-generating process is received such that this training time series, say T, of length n where n is smaller than t, contains data elements from S corresponding to time points from (t−n) to (t−1) in the initial time series. In various embodiments, the training time series may be further modified by implementing a process to ensure that the time series T adheres to specific predetermined standards. - At
operation 304, the training stage operates using data contained in the time series T. In various embodiments, this stage selects locally optimal parameters for each of a prescribed set of prediction methods (e.g., one-step prediction methods). In this way, the training stage is used to assess certain statistical properties for each member of the set of the prediction methods specifically based on the time series T selected duringoperation 302 corresponding to the time point t of interest. - At
operation 306, the prediction stage functions use the locally optimal statistical properties generated inoperation 304 for each member of the set of prediction methods to generate predictions (e.g., one-step ahead predictions) for each member of the set of prediction methods corresponding to time point t for the time series S. - At
operation 308, the anomaly detection stage identifies a potential anomaly in time series S at time point t. The actual (measured) data at time point t is compared with the predictions fromoperation 306 and a statistical test is applied to the differences between the predicted and actual data. The results of this test are used to flag the data at time point t as anomalous or not. Overall, this procedure is consistent with the intuitive notion that anomalies are “unpredictable” and it is able to identify when the underlying data-generating processes are operating outside of their usual state. -
FIG. 4 is an example embodiment of amethod 400 of detecting anomalies with respect to a complex system, such as thesystem 100 ofFIG. 1 . In various embodiments, themethod 400 may be implemented by one or more of the anomaly detection application(s) 152. - In this embodiment, the
method 400 is implemented such that it is executed for each time series of interest and for the entire time duration of interest, one time point at a time. For example, suppose that the data given is a time series S, indexed fromtime point 1 to M, and comprised of observations X(1), X(2), . . . , X(M). Also, assume the time duration of interest is from time point P to time point M (the end). So, the anomaly detection process starts with time point P. - At
operation 402, a training time series T of training length N is extracted from S such that it contains data elements from time point (P−N) to time point (P−1). In various embodiments, it is assumed that N is significantly less than M. - At
operation 404, outlying data points in the time series T are capped. For example, data pre-processing operations may be applied to the training time series to bring identified outliers to within the values of other data values. - At
operation 406, the training time series T is used to generate the parameters for each of a plurality of prediction methods. For example, the following steps may be performed: using the training time series T to estimate the parameters of each of q different pre-selected prediction methods (e.g., to ensure that each of the prediction methods is trained to use locally-optimal parameters); and applying the q different prediction methods obtain q different prediction values (e.g., one-step ahead prediction values): Y(P, 1), Y(P, 2), . . . , Y(P, q). - Thus, q prediction values may be produced for time point P. From these prediction values, q prediction errors may be computed such that: E(P, j)=Y(P, j)−X(P) where j varies from 1 to q. In various embodiments, these prediction errors may quantify the deviations of the prediction values from their corresponding measured values within S.
- Thus, in various embodiments, it is assumed that each of the prediction methods produces one step-ahead prediction errors which are independent and normally distributed, when regarded as random variables. In various embodiments, parameters of the normal distribution may also be determined, including the mean and variance. Furthermore, in various embodiments, the normal distribution and associated parameters may be determined for each of a number of preselected prediction methods.
- At
operation 408, q prediction error time series of length L (for time points from (P−L) to (P−1) where P is smaller than L) corresponding to the q prediction methods applied in the context on time series S in the past, are extracted. These prediction error time series are the result of theoperation 400 for historical time points, i.e., time points older than P. - At
operation 410, it is determined whether data point at time point P is anomalous. For example, for a specific prediction method (identified by index j), the prediction errors E(P−L, j), E(P−1, j) computed in the past comprise L samples of a normally distributed random variable with mean μ(j) and standard deviation σ(j). A multivariate normal joint probability distribution is then fitted with mean μ=(μ(1), . . . μ(j)) and standard deviation σ=(σ(1), . . . , σ(j)) assuming the q different prediction methods produce independent prediction errors. A distance between each E(P, j) and the fitted multivariate normal joint probability distribution is measured (e.g., using the Mahalanobis distance). If the distances computed exceed a predetermined threshold, the time index P is marked as containing an anomaly. - At
operation 412,operations 402 to 410 may then be repeated from time periods P to M. - At
operation 414, a user interface facilitates data exploration and provides a visual indication of whether the data point of interest in the time series S is anomalous. For example, as shown inFIG. 6 , the time series data corresponding to a process is presented in a user interface and anomalous data points in the data series are flagged. -
FIG. 5 is a block diagram illustrating an example anomaly detection daily process 500 (the time interval between consecutive time points in this specific embodiment is 1 day). In various embodiments, the anomaly detectiondaily process 500 may be implemented daily by one or more of the anomaly detection application(s) 152. In this specific embodiment, the process is built to: process millions of time series; accept a data feed from an external data source and append the incremental daily data (pertaining to the latest date for which the time series data are available) to the data source within the embodiment (system); process all the time series and detect whether the latest date appended has anomalies and for which time series. Atoperation 502, a scheduler/controller application manages (1) kicking off a first process 504 (e.g., a database process) to ingest incremental data and (2) kicking off a second process 514 (e.g., a statistical process) to process the incremental data for anomaly detection. - At
operation 506, one or more database tables are accessed or updated with the latest update of incremental daily data. The accessed or updated tables may include raw data , output data already processed by the statistical process at an earlier time period or other (e.g., configuration) information. As a result of this update, all the time series in the embodiment are appended with their respective data elements corresponding to the latest date (the date being processed). These time series are further grouped together into logical units of work (LUWs). A LUW can be defined as a group of individual time series combined together based on some predetermined criteria to be processed together. The criteria could be related to the logic stemming from the nature of the data or it be could a random grouping purely for the purpose of streamlining the amount of data and work passed on to the statistical engine in one request. - At
operation 508, according to a first procedure (e.g., stored procedure A), a list of logical units of work (LUWs) are retrieved. - At
operation 510, according to a second procedure (e.g., stored procedure B), a first set of data is retrieved which contains the data for all the time series which are a part of a specific LUW (e.g., a 3-year output data history up until yesterday for all time series in a given logical unit of work (LUW)). - At operation 512, according to a third procedure (e.g., stored procedure C), a different set of data is retrieved for all the time series in a specific LUW (e.g., an output data history for 1 year up until yesterday for all time series in a given LUW). The set of data also includes the processed information written at a previous time point for the time series in the LUW of interest by
operation 514. - At
operation 514, a master program in the statistical engine manages the execution of the anomaly detection procedures for all LUWs. The master program inoperation 514 distributes the processing of LUWs across a large number of worker programs such that each worker program processes 1 LUW and runsoperation 516 for that LUW independently on an individual processing thread or processing core. The worker program moves on to process the next LUW only once it has finished processing the first LUW. - At
operation 516, which is each executed independently on a separate processing thread or processing core, for a given LUW, the worker program(s) receives LUW actuals data (e.g., using stored procedure B, operation 510). Additionally, for each LUW, the worker program(s) run predictions, such as (a) multiple linear regression-based (MLR-based) one-day-ahead prediction for today, (b) MLR-based two-day-ahead prediction for tomorrow, (c) MLR-based one-day-ahead prediction for today using seven-day moving average (MA), (d) a proprietary prediction method, such as EMD-spectral prediction (ESP)-based one-day-ahead prediction for today, (c) or other prediction methods, such as dynamic linear model (DLM), wavelet-based model, empirical mode decomposition (EMD)-based model, or non-stationary ESP model. - Furthermore, the worker program(s) receive previously processed output (prediction and residual) history (e.g., 1 year of residuals) using stored procedure C (operation 512), calculates residuals and anomaly detection related metrics for yesterday, and, at 518, write back processed information for yesterday, today, and tomorrow to the output table using stored procedure D. A graphical user interface may then be generated to visually present the information in the output table (e.g., see
FIG. 6 ). -
FIG. 6 is anexample user interface 600 of a graphical user interface for representing a health of particular process executing within a complex system, such as thesystem 100 ofFIG. 1 . In various embodiments, data points of a time series corresponding to a selected process may be presented in graph. Here, the data points correspond to the gross merchandise volume (GMV) in an e-commerce system in the U.S. for products in an electronics/cell phones & accessories category. A one-day MLR model of data points is displayed over a sixth-month time period. Anomalous data points are flagged (e.g., with a graphical indicator corresponding to the position of the data point within the time series). In various embodiments, the identification of the anomalous data points is based on an analysis of the data points with respect to a combination of a plurality of data models (e.g., the 1-day MLR model, the one-day MLR model on seven-day MA, the two-day MLR model, and a proprietary model, as described above. In various embodiments, the anomalies may be magnified for visual comparison between the actual values and the predicted values. A relative strength of each detected anomaly may also be indicated (e.g., by indicators having different sizes or different colors or different shapes etc. to visually distinguish them based on strength level). - Certain embodiments are described herein as including logic or a number of components, modules, or mechanisms. Modules may constitute either software modules (e.g., code embodied on a machine-readable medium or in a transmission signal) or hardware modules. A hardware module is a tangible unit capable of performing certain operations and may be configured or arranged in a certain manner. In example embodiments, one or more computer systems (e.g., a standalone, client or server computer system) or one or more hardware modules of a computer system (e.g., a processor or a group of processors) may be configured by software (e.g., an application or application portion) as a hardware module that operates to perform certain operations as described herein.
- In various embodiments, a hardware module may be implemented mechanically or electronically. For example, a hardware module may comprise dedicated circuitry or logic that is permanently configured (e.g., as a special-purpose processor, such as a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC)) to perform certain operations. A hardware module may also comprise programmable logic or circuitry (e.g., as encompassed within a general-purpose processor or other programmable processor) that is temporarily configured by software to perform certain operations. It will be appreciated that the decision to implement a hardware module mechanically, in dedicated and permanently configured circuitry, or in temporarily configured circuitry (e.g., configured by software) may be driven by cost and time considerations.
- Accordingly, the term “hardware module” should be understood to encompass a tangible entity, be that an entity that is physically constructed, permanently configured (e.g., hardwired) or temporarily configured (e.g., programmed) to operate in a certain manner and/or to perform certain operations described herein. Considering embodiments in which hardware modules are temporarily configured (e.g., programmed), each of the hardware modules need not be configured or instantiated at any one instance in time. For example, where the hardware modules comprise a general-purpose processor configured using software, the general-purpose processor may be configured as respective different hardware modules at different times. Software may accordingly configure a processor, for example, to constitute a particular hardware module at one instance of time and to constitute a different hardware module at a different instance of time.
- Hardware modules can provide information to, and receive information from, other hardware modules. Accordingly, the described hardware modules may be regarded as being communicatively coupled. Where multiple of such hardware modules exist contemporaneously, communications may be achieved through signal transmission (e.g., over appropriate circuits and buses) that connect the hardware modules. In embodiments in which multiple hardware modules are configured or instantiated at different times, communications between such hardware modules may be achieved, for example, through the storage and retrieval of information in memory structures to which the multiple hardware modules have access. For example, one hardware module may perform an operation and store the output of that operation in a memory device to which it is communicatively coupled. A further hardware module may then, at a later time, access the memory device to retrieve and process the stored output. Hardware modules may also initiate communications with input or output devices and can operate on a resource (e.g., a collection of information).
- The various operations of example methods described herein may be performed, at least partially, by one or more processors that are temporarily configured (e.g., by software) or permanently configured to perform the relevant operations. Whether temporarily or permanently configured, such processors may constitute processor-implemented modules that operate to perform one or more operations or functions. The modules referred to herein may, in some example embodiments, comprise processor-implemented modules.
- Similarly, the methods described herein may be at least partially processor-implemented. For example, at least some of the operations of a method may be performed by one or more processors or processor-implemented modules. The performance of certain of the operations may be distributed among the one or more processors, not only residing within a single machine, but deployed across a number of machines. In some example embodiments, the processor or processors may be located in a single location (e.g., within a home environment, an office environment or as a server farm), while in other embodiments the processors may be distributed across a number of locations.
- The one or more processors may also operate to support performance of the relevant operations in a “cloud computing” environment or as a “software as a service” (SaaS). For example, at least some of the operations may be performed by a group of computers (as examples of machines including processors), these operations being accessible via a network (e.g., the
network 104 ofFIG. 1 ) and via one or more appropriate interfaces (e.g., APIs). - Example embodiments may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Example embodiments may be implemented using a computer program product, e.g., a computer program tangibly embodied in an information carrier, e.g., in a machine-readable medium for execution by, or to control the operation of, data processing apparatus, e.g., a programmable processor, a computer, or multiple computers.
- A computer program can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, subroutine, or other unit suitable for use in a computing environment. A computer program can be deployed to be executed on one computer or on multiple computers at one site or distributed across multiple sites and interconnected by a communication network.
- In example embodiments, operations may be performed by one or more programmable processors executing a computer program to perform functions by operating on input data and generating output. Method operations can also be performed by, and apparatus of example embodiments may be implemented as, special purpose logic circuitry (e.g., a FPGA or an ASIC).
- The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. In embodiments deploying a programmable computing system, it will be appreciated that both hardware and software architectures require consideration. Specifically, it will be appreciated that the choice of whether to implement certain functionality in permanently configured hardware (e.g., an ASIC), in temporarily configured hardware (e.g., a combination of software and a programmable processor), or a combination of permanently and temporarily configured hardware may be a design choice. Below are set out hardware (e.g., machine) and software architectures that may be deployed, in various example embodiments.
-
FIG. 7 is a block diagram of machine in the example form of acomputer system 1800 within which instructions for causing the machine to perform any one or more of the methodologies discussed herein may be executed. In alternative embodiments, the machine operates as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine may operate in the capacity of a server or a client machine in server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment. The machine may be a personal computer (PC), a tablet PC, a set-top box (STB), a Personal Digital Assistant (PDA), a cellular telephone, a web appliance, a network router, switch or bridge, or any machine capable of executing instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while only a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein. - The
example computer system 1800 includes a processor 1802 (e.g., a central processing unit (CPU), a graphics processing unit (GPU) or both), amain memory 1804 and astatic memory 1806, which communicate with each other via abus 1808. Thecomputer system 1800 may further include a video display unit 1810 (e.g., a liquid crystal display (LCD) or a cathode ray tube (CRT)). Thecomputer system 1800 also includes an alphanumeric input device 1812 (e.g., a keyboard), a user interface (UI) navigation (or cursor control) device 1814 (e.g., a mouse), astorage unit 1816, a signal generation device 1818 (e.g., a speaker) and anetwork interface device 1820. - The
storage unit 1816 includes a machine-readable medium 1822 on which is stored one or more sets of data structures and instructions 1824 (e.g., software) embodying or utilized by any one or more of the methodologies or functions described herein. Theinstructions 1824 may also reside, completely or at least partially, within themain memory 1804 and/or within theprocessor 1802 during execution thereof by thecomputer system 1800, themain memory 1804 and theprocessor 1802 also constituting machine-readable media. Theinstructions 1824 may also reside, completely or at least partially, within thestatic memory 1806. - While the machine-
readable medium 1822 is shown in an example embodiment to be a single medium, the term “machine-readable medium” may include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one ormore instructions 1824 or data structures. The term “machine-readable medium” shall also be taken to include any tangible medium that is capable of storing, encoding or carrying instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present embodiments, or that is capable of storing, encoding or carrying data structures utilized by or associated with such instructions. The term “machine-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, and optical and magnetic media. Specific examples of machine-readable media include non-volatile memory, including by way of example semiconductor memory devices, e.g., Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and compact disc-read-only memory (CD-ROM) and digital versatile disc (or digital video disc) read-only memory (DVD-ROM) disks. - Accordingly, a “tangible machine-readable medium” may refer to a single storage apparatus or device, as well as “cloud-based” storage systems or storage networks that include multiple storage apparatus or devices. Furthermore, the tangible machine-readable medium is non-transitory in that it does not embody a propagating signal. However, labeling the tangible machine-readable medium as “non-transitory” should not be construed to mean that the medium is incapable of movement—the medium should be considered as being transportable from one physical location to another. Additionally, since the machine-readable medium is tangible, the medium may be considered to be a machine-readable device.
- The
instructions 1824 may further be transmitted or received over acommunications network 1826 using a transmission medium. Theinstructions 1824 may be transmitted using thenetwork interface device 1820 and any one of a number of well-known transfer protocols (e.g., HTTP). Examples of communication networks include a LAN, a WAN, the Internet, mobile telephone networks, POTS networks, and wireless data networks (e.g., WiFi and WiMax networks). The term “transmission medium” shall be taken to include any intangible medium capable of storing, encoding or carrying instructions for execution by the machine, and includes digital or analog communications signals or other intangible media to facilitate communication of such software. Thenetwork 1826 may be one of thenetworks 104. - Although an embodiment has been described with reference to specific example embodiments, it will be evident that various modifications and changes may be made to these embodiments without departing from the broader spirit and scope of the present disclosure. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense. The accompanying drawings that form a part hereof, show by way of illustration, and not of limitation, specific embodiments in which the subject matter may be practiced. The embodiments illustrated are described in sufficient detail to enable those skilled in the art to practice the teachings disclosed herein. Other embodiments may be utilized and derived therefrom, such that structural and logical substitutions and changes may be made without departing from the scope of this disclosure. This Detailed Description, therefore, is not to be taken in a limiting sense, and the scope of various embodiments is defined only by the appended claims, along with the full range of equivalents to which such claims are entitled.
- Such embodiments of the inventive subject matter may be referred to herein, individually and/or collectively, by the term “invention” merely for convenience and without intending to voluntarily limit the scope of this application to any single invention or inventive concept if more than one is in fact disclosed. Thus, although specific embodiments have been illustrated and described herein, it should be appreciated that any arrangement calculated to achieve the same purpose may be substituted for the specific embodiments shown. This disclosure is intended to cover any and all adaptations or variations of various embodiments. Combinations of the above embodiments, and other embodiments not specifically described herein, will be apparent to those of skill in the art upon reviewing the above description.
Claims (20)
1. A system comprising:
one or more computer processors;
one or more computer memories;
one or more modules incorporated into the one or more computer memories, the one or more modules configuring the one or more computer processors to perform operations, the operations comprising:
extracting a training time series corresponding to a process from an initial time series corresponding to the process;
modifying outlier data points in the training time series based on predetermined acceptability criteria;
training a plurality of prediction methods using the training time series;
receiving an actual data point corresponding to the initial time series;
using the plurality of prediction methods to determine a set of predicted data points corresponding to the actual data point of the initial time series;
determining whether the actual data point is anomalous based on a calculation of whether each of the set of predicted data points is statistically different from the actual data point; and
receiving an additional actual data point corresponding to the initial time series and extracting an additional training time series from the initial time series based on the additional actual data point.
2. The system of claim 1 , wherein the calculation of whether each of the set of predicted data points is statistically different from the actual data point includes a determination that the Mahalanobis distance between the prediction error and the fitted multivariate normal joint probability distribution of each of the set of predicted data points is within a specified range.
3. The system of claim 1 , wherein the additional actual data point corresponds to the initial time series and the operations further comprise extracting an additional training time series having the length offset by an additional index prior to a last data point of the initial time series the additional index reflecting a relative position of the actual data point to the additional actual data point.
4. The system of claim 1 , further comprising selecting the combination of each of the plurality of prediction methods to minimize a number of false anomaly detections.
5. The system of claim 1 , further comprising representing the determination of whether the actual data point is anomalous in a graphical user interface, the representing including providing a strength of the determination.
6. The system of claim 5 , wherein the strength of the determination is based on a number of the plurality of prediction methods that indicate an anomaly with respect to the data point.
7. The system of claim 1 , wherein the training time series represents a window of the initial time series that is recent in relation to the actual data point.
8. A method comprising:
extracting a training time series corresponding to a process from an initial time series corresponding to the process;
modifying outlier data points in the training time series based on predetermined acceptability criteria;
training a plurality of prediction methods using the training time series;
receiving an actual data point corresponding to the initial time series;
using the plurality of prediction methods to determine a set of predicted data points corresponding to the actual data point of the initial time series;
determining whether the actual data point is anomalous based on a calculation of whether each of the set of predicted data points is statistically different from the actual data point; and
receiving an additional actual data point corresponding to the initial time series and extracting an additional training time series from the initial time series based on the additional actual data point.
9. The method of claim 8 , wherein the calculation of whether each of the set of predicted data points is statistically different from the actual data point includes a determination that the Mahalanobis distance between the prediction error and the fitted multivariate normal joint probability distribution of each of the set of predicted data points is within a specified range.
10. The method of claim 8 , wherein additional actual data point corresponds to the initial time series and the method further comprises extracting an additional training time series having the length offset by an additional index prior to a last data point of the initial time series the additional index reflecting a relative position of the actual data point to the additional actual data point.
11. The method of claim 8 , further comprising selecting the combination of each of the plurality of prediction methods to minimize a number of false anomaly detections.
12. The method of claim 8 , further comprising representing the determination of whether the actual data point is anomalous in a graphical user interface, the representing including providing a strength of the determination.
13. The method of claim 12 , wherein the strength of the determination is based on a number of the plurality of prediction methods that indicate an anomaly with respect to the data point.
14. The method of claim 8 , wherein the training time series represents a window of the initial time series that is recent in relation to the actual data point.
15. A non-transitory machine readable medium comprising a set of instructions that, when executed by a processor, causes the processor to perform operations, the operations comprising:
extracting a training time series corresponding to a process from an initial time series corresponding to the process;
modifying outlier data points in the training time series based on predetermined acceptability criteria;
training a plurality of prediction methods using the training time series;
receiving an actual data point corresponding to the initial time series;
using the plurality of prediction methods to determine a set of predicted data points corresponding to the actual data point of the initial time series;
determining whether the actual data point is anomalous based on a calculation of whether each of the set of predicted data points is statistically different from the actual data point; and
receiving an additional actual data point corresponding to the initial time series and extracting an additional training time series from the initial time series based on the additional actual data point.
16. The non-transitory machine readable medium of claim 15 , wherein the calculation of whether each of the set of predicted data points is statistically different from the actual data point includes a determination that the Mahalanobis distance between the prediction error and the fitted multivariate normal joint probability distribution of each of the set of predicted data points is within a specified range.
17. The non-transitory machine readable medium of claim 15 , wherein the additional actual data point corresponds to the initial time series and the operations further comprise extracting an additional training time series having the length offset by an additional index prior to a last data point of the initial time series the additional index reflecting a relative position of the actual data point to the additional actual data point.
18. The non-transitory machine readable medium of claim 15 , the operations further comprising selecting the combination of each of the plurality of prediction methods to minimize a number of false anomaly detections.
19. The non-transitory machine readable medium of claim 15 , the operations further comprising representing the determination of whether the actual data point is anomalous in a graphical user interface, the representing including providing a strength of the determination.
20. The non-transitory machine readable medium of claim 19 , wherein the strength of the determination is based on a number of the plurality of prediction methods that indicate an anomaly with respect to the data point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/640,191 US20170372207A1 (en) | 2014-12-31 | 2017-06-30 | Anomaly detection for non-stationary data |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/588,355 US10445644B2 (en) | 2014-12-31 | 2014-12-31 | Anomaly detection for non-stationary data |
US15/640,191 US20170372207A1 (en) | 2014-12-31 | 2017-06-30 | Anomaly detection for non-stationary data |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/588,355 Continuation US10445644B2 (en) | 2014-12-31 | 2014-12-31 | Anomaly detection for non-stationary data |
Publications (1)
Publication Number | Publication Date |
---|---|
US20170372207A1 true US20170372207A1 (en) | 2017-12-28 |
Family
ID=56164597
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/588,355 Active 2036-04-27 US10445644B2 (en) | 2014-12-31 | 2014-12-31 | Anomaly detection for non-stationary data |
US15/640,191 Abandoned US20170372207A1 (en) | 2014-12-31 | 2017-06-30 | Anomaly detection for non-stationary data |
US16/569,181 Pending US20200082284A1 (en) | 2014-12-31 | 2019-09-12 | Anomaly detection for non-stationary data |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/588,355 Active 2036-04-27 US10445644B2 (en) | 2014-12-31 | 2014-12-31 | Anomaly detection for non-stationary data |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/569,181 Pending US20200082284A1 (en) | 2014-12-31 | 2019-09-12 | Anomaly detection for non-stationary data |
Country Status (1)
Country | Link |
---|---|
US (3) | US10445644B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10445644B2 (en) | 2014-12-31 | 2019-10-15 | Ebay Inc. | Anomaly detection for non-stationary data |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2016204068B2 (en) * | 2015-06-17 | 2017-02-16 | Accenture Global Services Limited | Data acceleration |
US10452665B2 (en) * | 2017-06-20 | 2019-10-22 | Vmware, Inc. | Methods and systems to reduce time series data and detect outliers |
CN111143973B (en) * | 2019-12-05 | 2021-01-26 | 云南电网有限责任公司玉溪供电局 | Valve-regulated lead-acid storage battery degradation trend prediction method based on Gauss process regression |
US20210209486A1 (en) * | 2020-01-08 | 2021-07-08 | Intuit Inc. | System and method for anomaly detection for time series data |
US11539719B2 (en) * | 2020-06-08 | 2022-12-27 | Bank Of America Corporation | Target aware adaptive application for anomaly detection at the network edge |
US20220027750A1 (en) * | 2020-07-22 | 2022-01-27 | Paypal, Inc. | Real-time modification of risk models based on feature stability |
CN114218164A (en) * | 2021-12-17 | 2022-03-22 | 微梦创科网络科技(中国)有限公司 | Data anomaly detection method and system based on time sequence vector retrieval |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5938501A (en) | 1996-02-20 | 1999-08-17 | Wedin International, Inc. | Multi-axis processing machine and method for forming the interior and exterior surfaces of aquatic vehicles |
US6816786B2 (en) * | 2000-04-18 | 2004-11-09 | Devrie S Intriligator | Space weather prediction system and method |
EP1350199A4 (en) | 2000-10-27 | 2006-12-20 | Manugistics Inc | Supply chain demand forecasting and planning |
US6862558B2 (en) | 2001-02-14 | 2005-03-01 | The United States Of America As Represented By The Administrator Of The National Aeronautics And Space Administration | Empirical mode decomposition for analyzing acoustical signals |
US7251589B1 (en) | 2005-05-09 | 2007-07-31 | Sas Institute Inc. | Computer-implemented system and method for generating forecasts |
US20100138919A1 (en) * | 2006-11-03 | 2010-06-03 | Tao Peng | System and process for detecting anomalous network traffic |
US8224622B2 (en) * | 2009-07-27 | 2012-07-17 | Telefonaktiebolaget L M Ericsson (Publ) | Method and apparatus for distribution-independent outlier detection in streaming data |
US10404556B2 (en) * | 2012-06-22 | 2019-09-03 | Microsoft Technology Licensing, Llc | Methods and computer program products for correlation analysis of network traffic in a network device |
US9177222B2 (en) * | 2012-11-05 | 2015-11-03 | Mitutoyo Corporation | Edge measurement video tool and interface including automatic parameter set alternatives |
US20150073894A1 (en) * | 2013-09-06 | 2015-03-12 | Metamarkets Group Inc. | Suspect Anomaly Detection and Presentation within Context |
KR101964092B1 (en) | 2014-08-01 | 2019-04-02 | (주)엘지하우시스 | Hard coating composition containing polytetrafluoroethylene, hard coating layer and flooring including the same |
US20160140584A1 (en) | 2014-11-17 | 2016-05-19 | Ebay Inc. | EMD-Spectral Prediction (ESP) |
US10445644B2 (en) | 2014-12-31 | 2019-10-15 | Ebay Inc. | Anomaly detection for non-stationary data |
-
2014
- 2014-12-31 US US14/588,355 patent/US10445644B2/en active Active
-
2017
- 2017-06-30 US US15/640,191 patent/US20170372207A1/en not_active Abandoned
-
2019
- 2019-09-12 US US16/569,181 patent/US20200082284A1/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10445644B2 (en) | 2014-12-31 | 2019-10-15 | Ebay Inc. | Anomaly detection for non-stationary data |
Also Published As
Publication number | Publication date |
---|---|
US10445644B2 (en) | 2019-10-15 |
US20200082284A1 (en) | 2020-03-12 |
US20160189041A1 (en) | 2016-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200082284A1 (en) | Anomaly detection for non-stationary data | |
US11143543B2 (en) | Smart cabinet | |
US11307949B2 (en) | Decreasing downtime of computer systems using predictive detection | |
US12056172B2 (en) | Mining textual feedback | |
US20160012124A1 (en) | Methods for automatic query translation | |
US20160034909A1 (en) | Incorporating green scores into an e-commerce system | |
US20200356908A1 (en) | Integrating event-planning services into a payment system | |
US9754211B2 (en) | Incrementality modeling | |
US9741039B2 (en) | Click modeling for ecommerce | |
US20150161635A1 (en) | Dynamic price elasticity in unstructured marketplace data | |
US20150170098A1 (en) | Personalizing delivery choices | |
US11055760B2 (en) | Product schematics collection and projection | |
US20160092893A1 (en) | System, method, and apparatus for predicting item characteristic popularity | |
US20230259996A1 (en) | In-list search results page for price research | |
US20210133862A1 (en) | Real-time signals on buyer demand to drive aspect adoption by sellers | |
US9552608B2 (en) | Managing duplication of content items across multiple content item lists | |
US10650004B2 (en) | Self-guided verification of an item | |
US20160188545A1 (en) | Reusable content units | |
US20180150848A1 (en) | Reducing overhead associated with large-scale purchasing | |
US20210334843A1 (en) | Automatically embedding digital data in a message and capturing analytics for the digital data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STPP | Information on status: patent application and granting procedure in general |
Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION |
|
AS | Assignment |
Owner name: EBAY INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:MOGHTADERI, AZADEH;BAWA, GAGANDEEP SINGH;SCHWARZBACH, DAVID;SIGNING DATES FROM 20150114 TO 20150116;REEL/FRAME:045571/0076 |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
STPP | Information on status: patent application and granting procedure in general |
Free format text: NON FINAL ACTION MAILED |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |