DONUT- Anomaly detection Algorithm ignores the relationship between sliding windows? The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsOpen source Anomaly Detection in PythonTools for automatic anomaly detection on a SQL table?How to train model to predict events 30 minutes prior, from multi-dimensionnal timeseriesAutoencoder for anomaly detection from feature vectorshow to compare different sets of time series dataHow would I apply anomaly detection to time series data in LSTM?How to use K-Means to detect users anomaly in Access ControlAnomaly Detection: Model Creation & ImplementationForecasting vs non-forecasting predition for time series anomaly detectionComparison between approaches for timeseries anomaly detection

Was credit for the black hole image misattributed?

How to prevent selfdestruct from another contract

Keeping a retro style to sci-fi spaceships?

University's motivation for having tenure-track positions

Working through the single responsibility principle (SRP) in Python when calls are expensive

How do I add random spotting to the same face in cycles?

Make it rain characters

Is every episode of "Where are my Pants?" identical?

How does ice melt when immersed in water

Grover's algorithm - DES circuit as oracle?

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

How can I protect witches in combat who wear limited clothing?

Didn't get enough time to take a Coding Test - what to do now?

Difference between "generating set" and free product?

How to delete random line from file using Unix command?

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Did the new image of black hole confirm the general theory of relativity?

Change bounding box of math glyphs in LuaTeX

How to test the equality of two Pearson correlation coefficients computed from the same sample?

Can withdrawing asylum be illegal?

What are these Gizmos at Izaña Atmospheric Research Center in Spain?

How to copy the contents of all files with a certain name into a new file?

Finding the path in a graph from A to B then back to A with a minimum of shared edges

When did F become S in typeography, and why?



DONUT- Anomaly detection Algorithm ignores the relationship between sliding windows?



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsOpen source Anomaly Detection in PythonTools for automatic anomaly detection on a SQL table?How to train model to predict events 30 minutes prior, from multi-dimensionnal timeseriesAutoencoder for anomaly detection from feature vectorshow to compare different sets of time series dataHow would I apply anomaly detection to time series data in LSTM?How to use K-Means to detect users anomaly in Access ControlAnomaly Detection: Model Creation & ImplementationForecasting vs non-forecasting predition for time series anomaly detectionComparison between approaches for timeseries anomaly detection










1












$begingroup$


I'm trying to understand the paper : https://netman.aiops.org/wp-content/uploads/2018/05/PID5338621.pdf about Robust and Rapid Clustering of KPIs for Large-Scale Anomaly Detection.



Clustering is done using ROCKA algorithm.



Steps:



1.) Preprocessing is conducted on the raw KPI data to remove amplitude differences and standardize data.



2.) In baseline extraction step, we reduce noises, remove the extreme values (which are likely anomalies), and extract underlying shapes, referred to as baselines, of KPIs. It's done by applying moving average with a small sliding window.



3.) Clustering is then conducted on the baselines of sampled KPIs, with robustness against phase shifts and noises.



4.) Finally, we calculate the centroid of each cluster, then assign the unlabeled KPIs by their distances to these centroids.



I understand ROCKA mechanism.



Now, i'm trying to understand DONUT algorithm which is applied for "Anomaly Detection".



How it works is :



DONUT applies sliding windows over the KPI to get short series x and tries to recognize what normal patterns x follows. The indicator is then calculated by the difference between reconstructed normal patterns and x to show the severity of anomalies.
In practice, a threshold should be selected for each KPI. A data point with an indicator value larger than the threshold is regarded as an anomaly.



Now my question is :



IT seems like DONUT is not robust enough against time information related anomalies. Meaning that it works on a set of sliding windows and it ignores the relationship between windows. So the window becomes a very critical parameter here. So it might generate high false positives. What I'm understanding wrong here?



Please help and make me understand how DONUT will capture the relationship between sliding windows.










share|improve this question











$endgroup$
















    1












    $begingroup$


    I'm trying to understand the paper : https://netman.aiops.org/wp-content/uploads/2018/05/PID5338621.pdf about Robust and Rapid Clustering of KPIs for Large-Scale Anomaly Detection.



    Clustering is done using ROCKA algorithm.



    Steps:



    1.) Preprocessing is conducted on the raw KPI data to remove amplitude differences and standardize data.



    2.) In baseline extraction step, we reduce noises, remove the extreme values (which are likely anomalies), and extract underlying shapes, referred to as baselines, of KPIs. It's done by applying moving average with a small sliding window.



    3.) Clustering is then conducted on the baselines of sampled KPIs, with robustness against phase shifts and noises.



    4.) Finally, we calculate the centroid of each cluster, then assign the unlabeled KPIs by their distances to these centroids.



    I understand ROCKA mechanism.



    Now, i'm trying to understand DONUT algorithm which is applied for "Anomaly Detection".



    How it works is :



    DONUT applies sliding windows over the KPI to get short series x and tries to recognize what normal patterns x follows. The indicator is then calculated by the difference between reconstructed normal patterns and x to show the severity of anomalies.
    In practice, a threshold should be selected for each KPI. A data point with an indicator value larger than the threshold is regarded as an anomaly.



    Now my question is :



    IT seems like DONUT is not robust enough against time information related anomalies. Meaning that it works on a set of sliding windows and it ignores the relationship between windows. So the window becomes a very critical parameter here. So it might generate high false positives. What I'm understanding wrong here?



    Please help and make me understand how DONUT will capture the relationship between sliding windows.










    share|improve this question











    $endgroup$














      1












      1








      1





      $begingroup$


      I'm trying to understand the paper : https://netman.aiops.org/wp-content/uploads/2018/05/PID5338621.pdf about Robust and Rapid Clustering of KPIs for Large-Scale Anomaly Detection.



      Clustering is done using ROCKA algorithm.



      Steps:



      1.) Preprocessing is conducted on the raw KPI data to remove amplitude differences and standardize data.



      2.) In baseline extraction step, we reduce noises, remove the extreme values (which are likely anomalies), and extract underlying shapes, referred to as baselines, of KPIs. It's done by applying moving average with a small sliding window.



      3.) Clustering is then conducted on the baselines of sampled KPIs, with robustness against phase shifts and noises.



      4.) Finally, we calculate the centroid of each cluster, then assign the unlabeled KPIs by their distances to these centroids.



      I understand ROCKA mechanism.



      Now, i'm trying to understand DONUT algorithm which is applied for "Anomaly Detection".



      How it works is :



      DONUT applies sliding windows over the KPI to get short series x and tries to recognize what normal patterns x follows. The indicator is then calculated by the difference between reconstructed normal patterns and x to show the severity of anomalies.
      In practice, a threshold should be selected for each KPI. A data point with an indicator value larger than the threshold is regarded as an anomaly.



      Now my question is :



      IT seems like DONUT is not robust enough against time information related anomalies. Meaning that it works on a set of sliding windows and it ignores the relationship between windows. So the window becomes a very critical parameter here. So it might generate high false positives. What I'm understanding wrong here?



      Please help and make me understand how DONUT will capture the relationship between sliding windows.










      share|improve this question











      $endgroup$




      I'm trying to understand the paper : https://netman.aiops.org/wp-content/uploads/2018/05/PID5338621.pdf about Robust and Rapid Clustering of KPIs for Large-Scale Anomaly Detection.



      Clustering is done using ROCKA algorithm.



      Steps:



      1.) Preprocessing is conducted on the raw KPI data to remove amplitude differences and standardize data.



      2.) In baseline extraction step, we reduce noises, remove the extreme values (which are likely anomalies), and extract underlying shapes, referred to as baselines, of KPIs. It's done by applying moving average with a small sliding window.



      3.) Clustering is then conducted on the baselines of sampled KPIs, with robustness against phase shifts and noises.



      4.) Finally, we calculate the centroid of each cluster, then assign the unlabeled KPIs by their distances to these centroids.



      I understand ROCKA mechanism.



      Now, i'm trying to understand DONUT algorithm which is applied for "Anomaly Detection".



      How it works is :



      DONUT applies sliding windows over the KPI to get short series x and tries to recognize what normal patterns x follows. The indicator is then calculated by the difference between reconstructed normal patterns and x to show the severity of anomalies.
      In practice, a threshold should be selected for each KPI. A data point with an indicator value larger than the threshold is regarded as an anomaly.



      Now my question is :



      IT seems like DONUT is not robust enough against time information related anomalies. Meaning that it works on a set of sliding windows and it ignores the relationship between windows. So the window becomes a very critical parameter here. So it might generate high false positives. What I'm understanding wrong here?



      Please help and make me understand how DONUT will capture the relationship between sliding windows.







      time-series clustering data anomaly-detection data-science-model






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 14 at 1:11







      zubug55

















      asked Feb 14 at 0:15









      zubug55zubug55

      112




      112




















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          The code is available on github and the sliding windows are actually not overlap. Below code from file donut/utils.py, method minibatch_slices_iterator:



          start = 0
          stop1 = (length // batch_size) * batch_size
          while start < stop1:
          yield slice(start, start + batch_size, 1)
          start += batch_size


          I haven't inspect deeper but maybe the windows are not related, as you said.






          share|improve this answer









          $endgroup$













            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "557"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f45544%2fdonut-anomaly-detection-algorithm-ignores-the-relationship-between-sliding-wind%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1












            $begingroup$

            The code is available on github and the sliding windows are actually not overlap. Below code from file donut/utils.py, method minibatch_slices_iterator:



            start = 0
            stop1 = (length // batch_size) * batch_size
            while start < stop1:
            yield slice(start, start + batch_size, 1)
            start += batch_size


            I haven't inspect deeper but maybe the windows are not related, as you said.






            share|improve this answer









            $endgroup$

















              1












              $begingroup$

              The code is available on github and the sliding windows are actually not overlap. Below code from file donut/utils.py, method minibatch_slices_iterator:



              start = 0
              stop1 = (length // batch_size) * batch_size
              while start < stop1:
              yield slice(start, start + batch_size, 1)
              start += batch_size


              I haven't inspect deeper but maybe the windows are not related, as you said.






              share|improve this answer









              $endgroup$















                1












                1








                1





                $begingroup$

                The code is available on github and the sliding windows are actually not overlap. Below code from file donut/utils.py, method minibatch_slices_iterator:



                start = 0
                stop1 = (length // batch_size) * batch_size
                while start < stop1:
                yield slice(start, start + batch_size, 1)
                start += batch_size


                I haven't inspect deeper but maybe the windows are not related, as you said.






                share|improve this answer









                $endgroup$



                The code is available on github and the sliding windows are actually not overlap. Below code from file donut/utils.py, method minibatch_slices_iterator:



                start = 0
                stop1 = (length // batch_size) * batch_size
                while start < stop1:
                yield slice(start, start + batch_size, 1)
                start += batch_size


                I haven't inspect deeper but maybe the windows are not related, as you said.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 2 at 5:42









                Duc NguyenDuc Nguyen

                111




                111



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Data Science Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f45544%2fdonut-anomaly-detection-algorithm-ignores-the-relationship-between-sliding-wind%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Adding axes to figuresAdding axes labels to LaTeX figuresLaTeX equivalent of ConTeXt buffersRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?adding axes to shapesAlign axes across subfiguresAdding figures with a certain orderLine up nested tikz enviroments or how to get rid of themAdding axes labels to LaTeX figures

                    Luettelo Yhdysvaltain laivaston lentotukialuksista Lähteet | Navigointivalikko

                    Gary (muusikko) Sisällysluettelo Historia | Rockin' High | Lähteet | Aiheesta muualla | NavigointivalikkoInfobox OKTuomas "Gary" Keskinen Ancaran kitaristiksiProjekti Rockin' High