IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0262463.html
   My bibliography  Save this article

A simple method for unsupervised anomaly detection: An application to Web time series data

Author

Listed:
  • Keisuke Yoshihara
  • Kei Takahashi

Abstract

We propose a simple anomaly detection method that is applicable to unlabeled time series data and is sufficiently tractable, even for non-technical entities, by using the density ratio estimation based on the state space model. Our detection rule is based on the ratio of log-likelihoods estimated by the dynamic linear model, i.e. the ratio of log-likelihood in our model to that in an over-dispersed model that we will call the NULL model. Using the Yahoo S5 data set and the Numenta Anomaly Benchmark data set, publicly available and commonly used benchmark data sets, we find that our method achieves better or comparable performance compared to the existing methods. The result implies that it is essential in time series anomaly detection to incorporate the specific information on time series data into the model. In addition, we apply the proposed method to unlabeled Web time series data, specifically, daily page view and average session duration data on an electronic commerce site that deals in insurance goods to show the applicability of our method to unlabeled real-world data. We find that the increase in page view caused by e-mail newsletter deliveries is less likely to contribute to completing an insurance contract. The result also suggests the importance of the simultaneous monitoring of more than one time series.

Suggested Citation

  • Keisuke Yoshihara & Kei Takahashi, 2022. "A simple method for unsupervised anomaly detection: An application to Web time series data," PLOS ONE, Public Library of Science, vol. 17(1), pages 1-25, January.
  • Handle: RePEc:plo:pone00:0262463
    DOI: 10.1371/journal.pone.0262463
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0262463
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0262463&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0262463?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Galeano, Pedro & Pena, Daniel & Tsay, Ruey S., 2006. "Outlier Detection in Multivariate Time Series by Projection Pursuit," Journal of the American Statistical Association, American Statistical Association, vol. 101, pages 654-669, June.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Grané, Aurea & Veiga, Helena, 2010. "Outliers in Garch models and the estimation of risk measures," DES - Working Papers. Statistics and Econometrics. WS ws100502, Universidad Carlos III de Madrid. Departamento de Estadística.
    2. Trucíos, Carlos & Mazzeu, João H.G. & Hotta, Luiz K. & Valls Pereira, Pedro L. & Hallin, Marc, 2021. "Robustness and the general dynamic factor model with infinite-dimensional space: Identification, estimation, and forecasting," International Journal of Forecasting, Elsevier, vol. 37(4), pages 1520-1534.
    3. Alonso, Andrés M. & Galeano, Pedro & Peña, Daniel, 2020. "A robust procedure to build dynamic factor models with cluster structure," Journal of Econometrics, Elsevier, vol. 216(1), pages 35-52.
    4. Galeano, Pedro, 2007. "The use of cumulative sums for detection of changepoints in the rate parameter of a Poisson Process," Computational Statistics & Data Analysis, Elsevier, vol. 51(12), pages 6151-6165, August.
    5. João A. Bastos & Jorge Caiado, 2021. "On the classification of financial data with domain agnostic features," Working Papers REM 2021/0185, ISEG - Lisbon School of Economics and Management, REM, Universidade de Lisboa.
    6. Gordon C. R. Kemp & Paulo M. D. C. Parente & J. M. C. Santos Silva, 2020. "Dynamic Vector Mode Regression," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 38(3), pages 647-661, July.
    7. Veiga, Helena, 2009. "Wavelet-based detection of outliers in volatility models," DES - Working Papers. Statistics and Econometrics. WS ws090403, Universidad Carlos III de Madrid. Departamento de Estadística.
    8. repec:esx:essedp:761 is not listed on IDEAS
    9. Grané, Aurea & Martín-Barragán, Belén & Veiga, Helena, 2014. "Outliers in multivariate Garch models," DES - Working Papers. Statistics and Econometrics. WS ws140503, Universidad Carlos III de Madrid. Departamento de Estadística.
    10. Muler, Nora & Yohai, V´ictor J., 2013. "Robust estimation for vector autoregressive models," Computational Statistics & Data Analysis, Elsevier, vol. 65(C), pages 68-79.
    11. Croux, Christophe & Gelper, Sarah & Mahieu, Koen, 2010. "Robust exponential smoothing of multivariate time series," Computational Statistics & Data Analysis, Elsevier, vol. 54(12), pages 2999-3006, December.
    12. Tadeusz Klecha & Daniel Kosiorowski & Dominik Mielczarek & Jerzy P. Rydlewski, 2018. "New Proposals of a Stress Measure in a Capital and its Robust Estimator," Papers 1802.03756, arXiv.org.
    13. Macdonald, Ryan, 2007. "Estimation de la PTF en présence de points aberrants et de points leviers : examen de l'ensemble de données KLEMS," Série de documents de recherche sur l'analyse économique (AE) 2007047f, Statistics Canada, Direction des études analytiques.
    14. Macdonald, Ryan, 2007. "Estimating TFP in the Presence of Outliers and Leverage Points: An Examination of the KLEMS Dataset," Economic Analysis (EA) Research Paper Series 2007047e, Statistics Canada, Analytical Studies Branch.
    15. Grané, Aurea & Veiga, Helena, 2010. "Wavelet-based detection of outliers in financial time series," Computational Statistics & Data Analysis, Elsevier, vol. 54(11), pages 2580-2593, November.
    16. Nicola Loperfido, 2023. "Kurtosis removal for data pre-processing," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 17(1), pages 239-267, March.
    17. Pedro Galeano & Daniel Peña, 2019. "Data science, big data and statistics," TEST: An Official Journal of the Spanish Society of Statistics and Operations Research, Springer;Sociedad de Estadística e Investigación Operativa, vol. 28(2), pages 289-329, June.
    18. Massimiliano Caporin & C. Vladimir Rodríguez-Caballero & Esther Ruiz, 2024. "The factor structure of exchange rates volatility: global and intermittent factors," Empirical Economics, Springer, vol. 67(1), pages 31-45, July.
    19. Francisco Javier Duque-Pintor & Manuel Jesús Fernández-Gómez & Alicia Troncoso & Francisco Martínez-Álvarez, 2016. "A New Methodology Based on Imbalanced Classification for Predicting Outliers in Electricity Demand Time Series," Energies, MDPI, vol. 9(9), pages 1-10, September.
    20. Fernandes, Leonardo H.S. & Silva, José W.L. & de Araujo, Fernando H.A. & Tabak, Benjamin M., 2023. "Multifractal cross-correlations between green bonds and financial assets," Finance Research Letters, Elsevier, vol. 53(C).

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0262463. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.