Anomaly detection for time-series data has been viewed widely in many practical applications and caused lots of research interests. A popular solution based on deep learning techniques is first building an anomaly detection model by offline learning on a specific training data and subsequently utilizing the model to detect anomalies in the online setting. On the one hand, previous works have introduced a plenty of learning methods for building anomaly detection models, but it is well known that no one can perform best in all settings. Therefore, there is usually high demand for collecting multiple detection models in practical applications. On the other hand, in view of the limited computing resources in many online anomaly detection applications, it is almost impossible to run multiple detection models simultaneously due to the high time cost. Then, a natural idea is to enhance the general anomaly detection procedure with an effective mechanism for selecting proper models to avoid the high cost caused by executing too many detection models. Previous works focusing on the recommendation either are time inefficient or usually show weak performance, suffering from the missing labels and heterogeneous data characteristics met in real applications. Therefore, it is highly needed to design effective recommendation methods for automatically choosing anomaly detection models. Motivated by the technical challenges, a novel recommendation method for anomaly detection models is proposed in this article. First, a model recommendation framework based on the concept of detectability is introduced, where the detectability of an anomaly detection model is defined using a fine-grained strategy for comparing data characteristics. Then, based on efficient techniques for computing detectability, an efficient model recommendation algorithm is designed. Finally, extensive experimental results are produced on real time series and typical anomaly detection methods, and show that the proposed method is both effective and efficient.
Due to the limitation on computational power of existing computers, the polynomial time does not works for identifying the tractable problems in big data computing. This paper adopts the sublinear time as the new tractable standard to recognize the tractability in big data computing, and the random-access Turing machine is used as the computational model to characterize the problems that are tractable on big data. First, two pure-tractable classes are first proposed. One is the class $\mathrm{PL}$ consisting of the problems that can be solved in polylogarithmic time by a RATM. The another one is the class $\mathrm{ST}$ including all the problems that can be solved in sublinear time by a RATM. The structure of the two pure-tractable classes is deeply investigated and they are proved $\mathrm{PL^i} \subsetneq \mathrm{PL^{i+1}}$ and $\mathrm{PL} \subsetneq \mathrm{ST}$. Then, two pseudo-tractable classes, $\mathrm{PTR}$ and $\mathrm{PTE}$, are proposed. $\mathrm{PTR}$ consists of all the problems that can solved by a RATM in sublinear time after a PTIME preprocessing by reducing the size of input dataset. $\mathrm{PTE}$ includes all the problems that can solved by a RATM in sublinear time after a PTIME preprocessing by extending the size of input dataset. The relations among the two pseudo-tractable classes and other complexity classes are investigated and they are proved that $\mathrm{PT} \subseteq \mathrm{P}$, $\sqcap'\mathrm{T^0_Q} \subsetneq \mathrm{PTR^0_Q}$ and $\mathrm{PT_P} = \mathrm{P}$.