Learning Correlation Space for Time Series

Total Page:16

File Type:pdf, Size:1020Kb

Learning Correlation Space for Time Series Learning Correlation Space for Time Series Han Qiu Hoang Thanh Lam Massachusetts Institute of Technology IBM Research Cambridge, MA, USA Dublin, Ireland [email protected] [email protected] Francesco Fusco Mathieu Sinn IBM Research IBM Research Dublin, Ireland Dublin, Ireland [email protected] [email protected] ABSTRACT We propose an approximation algorithm for efficient correlation search in time series data. In our method, we use Fourier transform and neural network to embed time series into a low-dimensional Euclidean space. The given space is learned such that time series correlation can be effectively approximated from Euclidean distance between corresponding embedded vectors. Therefore, search for correlated time series can be done using an index in the embedding space for efficient nearest neighbor search. Our theoretical analysis Figure 1: Solution Framework illustrates that our method’s accuracy can be guaranteed under certain regularity conditions. We further conduct experiments on real-world datasets and the results show that our method indeed outperforms the baseline solution. In particular, for approximation vectors. Indeed, people have shown that using only the first 5 coef- of correlation, our method reduces the approximation loss by a ficients of the DFT is enough to approximate the correlation among half in most test cases compared to the baseline solution. For top-k stock indices with high accuracy [42]. highest correlation search, our method improves the precision from Approximation of a time series using the first few coefficients 5% to 20% while the query time is similar to the baseline approach of its Fourier transformation can be considered as a dimension- query time. reduction method that maps long time series into a lower dimen- KEYWORDS sional space with minimal loss of information. An advantage of such dimension-reduction approaches is that they are unsupervised Time series, correlation search, Fourier transform, neural network methods and are independent from use-cases; therefore, they can ACM Reference Format: be used for many types of search queries simultaneously. However, Han Qiu, Hoang Thanh Lam, Francesco Fusco, and Mathieu Sinn. 2018. they might not be ideal for applications on particular use-cases Learning Correlation Space for Time Series. In Proceedings of ACM Confer- where the index is designed just for a specific type of query. ence (Conference’17). ACM, New York, NY, USA, 10 pages. https://doi.org/10. In practice, depending on situations we may serve different types 1145/nnnnnnn.nnnnnnn of search queries such as top-k highest correlation search [14], threshold-based (range) correlation search [2, 30] or even simple 1 INTRODUCTION approximation of the correlation between any pair of time series. Different objective function might be needed to optimize perfor- arXiv:1802.03628v3 [cs.LG] 15 May 2018 Given a massive number of time series, building a compact index of mance of different query types. For instance, for the first two query time series for efficient correlated time series search queries isan types it is important to preserve the order of the correlation in important research problem [2, 8]. The classic solutions [2, 30, 42] the approximation, while for the third one it is more important to in the literature use Discrete Fourier Transformation (DFT) to trans- minimize the approximation error. form time series into the frequency domain and approximate the To overcome such problems, in this paper we propose a general correlation using only the first few coefficients of the frequency framework to optimize query performance for specific combination of datasets and query types. The key idea behind this framework Permission to make digital or hard copies of part or all of this work for personal or is sketched in Figure 1. Denote s as a time series in the set S and classroom use is granted without fee provided that copies are not made or distributed s = DFT ¹sº as the discrete Fourier transformation of s. We use for profit or commercial advantage and that copies bear this notice and the full citation ¹·j º on the first page. Copyrights for third-party components of this work must be honored. a neural network f θ with parameters θ to map s into a low- For all other uses, contact the owner/author(s). dimensional space vector f ¹sjθº. This neural network tries to ap- Conference’17, July 2017, Washington, DC, USA proximate the correlation between a pair of time series s and r using © 2018 Copyright held by the owner/author(s). the Euclidean distance kf ¹sjθº − f ¹rjθºk on the embedding space ACM ISBN 978-x-xxxx-xxxx-x/YY/MM. 2 https://doi.org/10.1145/nnnnnnn.nnnnnnn f ¹Sº. We can then utilize classic nearest neighbor search algorithms Conference’17, July 2017, Washington, DC, USA Han Qiu, Hoang Thanh Lam, Francesco Fusco, and Mathieu Sinn Notations Meanings 2 BACKGROUND s;r;u time series Let s = »s1;s2; ··· ;sM ¼;r = »r1;r2; ··· ;rM ¼ be two time series. The s DFT of s Pearson correlation between r and s is defined as: s¯ Mean value of s 1 ÍM M j=1 sjrj − s¯r¯ σs Standard deviation of s corr¹s;rº = ; (1) sˆ Normalized series of s σs σr N + the set of all positive integers ÍM ÍM where s¯ = j=1 sj /M and r¯ = j=1 rj /M are the mean values of s M time series length q q and r, while σ = ÍM ¹s − s¯º2/M and σ = ÍM ¹r − r¯º2/M m embedding size s j=1 j r j=1 j k selection set size are the standard deviations. If we further define the l2-normalized » ··· ¼ η selection threshold vector of the time series s, sˆ = sˆ1;sˆ2; ;sˆM , as: F top-k selection set 1 sj − s¯ sj − s¯ sˆj = p = q ; (2) θ network parameters M σs ÍM 2 j=1¹sj − s¯º f ¹sjθº neural network with parameter θ ¹ º T − k − k2/ ρ query precision we can reduce corr s;r as sˆ rˆ = 1 sˆ rˆ 2 2. That is, the correla- δ query approximation gap tion between two time series can be expressed as a simple function ks − r k2 Euclidean distance between s and r on the corresponding l2-normalized time series. Therefore, in fol- dm¹s; rº Euclidean distance between s and r lowing discussion, we always consider l2-normalized version sˆ of a considering only the first m elements time series s. Table 1: Notations The scaled discrete Fourier transformation of the time series s, s = »s1; s2; ··· ; sM ¼, is defined as: M−1 1 Õ −2jl π i sj = p sl e M (3) M l=0 where i2 = −1. We use “scaled” here for the factor p1 , which made M on this embedding space to index time series and improve query s having the same scale as s. By the Parseval’s theorem [2, 34], T T ∗ efficiency. we have s r = s r and ksk2 = ksk2. We can then recover the We also notice that specific loss function is needed in training following property in the literature [30, 42]: T 2 the network to optimize performance of specific type of query. In • if corr¹s;rº = s r > 1 − ε /2 then dm¹s; rº < ε, where dm experiments, we will see that using the right loss function for a is the Euclidean distance mapped on the first m dimensions specific type of query is crucial in achieveving good results. There- M with m < 2 fore, in this paper we also propose relevant loss functions for all m aforementioned search query types. 2 Õ 2 dm¹»s1; s2; ··· ; sM ¼; »r1; r2; ··· ; rM ¼º = ksj − rj k2 : (4) In summary, the contributions of this work are listed as follows: j=1 • we propose a framework to approximate time series correla- Based on this property, authors in [2] develop a method to search 2 tion using a time series embedding method; for highest correlated time series in a database utilizing dm¹s; rº ≈ • we do theoretical analysis to show non-optimality of the 2 − 2 · corr¹s;rº. This method is considered as the baseline solution baseline approach from which it motivates this work. We in this paper. proposed appropriate loss function for each type of query and provide theoretical guarantee for these approaches; 3 PROBLEM FORMULATION • we conduct experiments on real-world datasets to show the Assume we are given a dataset of regular time series S 2 RM , effectiveness of our approach compared to the classic solu- where M 2 N + is a large number. By “regular” we mean that the tions [2]: our approach reduces the approximation error at time series are sampled from the same period and with the same least by a half in the experiments, and improves the precision frequency (and therefore, having same length). Some correlation for top-k correlation search from 5% to 20%; search problems can be formulated as follows: • we open the source code for reproducibility of our research1. Problem 1 (Top-k Correlation Search). Find a method F that for any given time series s 2 S and count k 2 N +, F¹s;kjSº provides The rest of the paper is organized as follows. We discuss back- a subset of S that includes the k highest correlated time series with ground of the paper in section 2. Three important problems are respect to s. More formally, formulated in section 3. In section 4 we show the non-optimality Õ of the baseline approach from which it motivates this work. We F¹s;kjSº = arg max corr¹s;rº fS0 jS0 ⊂S; jS0 j=k g also show theoretical guarantee of proposed loss functions for each r 2S0 (5) problem formulated in section 3.
Recommended publications
  • Kriging Prediction with Isotropic Matérn Correlations: Robustness
    Journal of Machine Learning Research 21 (2020) 1-38 Submitted 12/19; Revised 7/20; Published 9/20 Kriging Prediction with Isotropic Mat´ernCorrelations: Robustness and Experimental Designs Rui Tuo∗y [email protected] Wm Michael Barnes '64 Department of Industrial and Systems Engineering Texas A&M University College Station, TX 77843, USA Wenjia Wang∗ [email protected] The Hong Kong University of Science and Technology Clear Water Bay, Kowloon, Hong Kong Editor: Philipp Hennig Abstract This work investigates the prediction performance of the kriging predictors. We derive some error bounds for the prediction error in terms of non-asymptotic probability under the uniform metric and Lp metrics when the spectral densities of both the true and the imposed correlation functions decay algebraically. The Mat´ernfamily is a prominent class of correlation functions of this kind. Our analysis shows that, when the smoothness of the imposed correlation function exceeds that of the true correlation function, the prediction error becomes more sensitive to the space-filling property of the design points. In particular, the kriging predictor can still reach the optimal rate of convergence, if the experimental design scheme is quasi-uniform. Lower bounds of the kriging prediction error are also derived under the uniform metric and Lp metrics. An accurate characterization of this error is obtained, when an oversmoothed correlation function and a space-filling design is used. Keywords: Computer Experiments, Uncertainty Quantification, Scattered Data Approx- imation, Space-filling Designs, Bayesian Machine Learning 1. Introduction In contemporary mathematical modeling and data analysis, we often face the challenge of reconstructing smooth functions from scattered observations.
    [Show full text]
  • On Prediction Properties of Kriging: Uniform Error Bounds and Robustness
    On Prediction Properties of Kriging: Uniform Error Bounds and Robustness Wenjia Wang∗1, Rui Tuoy2 and C. F. Jeff Wuz3 1The Statistical and Applied Mathematical Sciences Institute, Durham, NC 27709, USA 2Department of Industrial and Systems Engineering, Texas A&M University, College Station, TX 77843, USA 3The H. Milton Stewart School of Industrial and Systems Engineering, Georgia Institute of Technology, Atlanta, GA 30332, USA Abstract Kriging based on Gaussian random fields is widely used in reconstructing unknown functions. The kriging method has pointwise predictive distributions which are com- putationally simple. However, in many applications one would like to predict for a range of untried points simultaneously. In this work we obtain some error bounds for the simple and universal kriging predictor under the uniform metric. It works for a scattered set of input points in an arbitrary dimension, and also covers the case where the covariance function of the Gaussian process is misspecified. These results lead to a better understanding of the rate of convergence of kriging under the Gaussian or the Matérn correlation functions, the relationship between space-filling designs and kriging models, and the robustness of the Matérn correlation functions. Keywords: Gaussian Process modeling; Uniform convergence; Space-filling designs; Radial arXiv:1710.06959v4 [math.ST] 19 Mar 2019 basis functions; Spatial statistics. ∗Wenjia Wang is a postdoctoral fellow in the Statistical and Applied Mathematical Sciences Institute, Durham, NC 27709, USA (Email: [email protected]); yRui Tuo is Assistant Professor in Department of Industrial and Systems Engineering, Texas A&M University, College Station, TX 77843, USA (Email: [email protected]); Tuo’s work is supported by NSF grant DMS 1564438 and NSFC grants 11501551, 11271355 and 11671386.
    [Show full text]
  • Rational Function Approximation
    Rational function approximation Rational function of degree N = n + m is written as p(x) p + p x + + p xn r(x) = = 0 1 ··· n q(x) q + q x + + q xm 0 1 ··· m Now we try to approximate a function f on an interval containing 0 using r(x). WLOG, we set q0 = 1, and will need to determine the N + 1 unknowns p0,..., pn, q1,..., qm. Numerical Analysis I – Xiaojing Ye, Math & Stat, Georgia State University 240 Pad´eapproximation The idea of Pad´eapproximation is to find r(x) such that f (k)(0) = r (k)(0), k = 0, 1,..., N This is an extension of Taylor series but in the rational form. i Denote the Maclaurin series expansion f (x) = i∞=0 ai x . Then i m i n i ∞ a x q x P p x f (x) r(x) = i=0 i i=0 i − i=0 i − q(x) P P P If we want f (k)(0) r (k)(0) = 0 for k = 0,..., N, we need the − numerator to have 0 as a root of multiplicity N + 1. Numerical Analysis I – Xiaojing Ye, Math & Stat, Georgia State University 241 Pad´eapproximation This turns out to be equivalent to k ai qk i = pk , k = 0, 1,..., N − Xi=0 for convenience we used convention p = = p = 0 and n+1 ··· N q = = q = 0. m+1 ··· N From these N + 1 equations, we can determine the N + 1 unknowns: p0, p1,..., pn, q1,..., qm Numerical Analysis I – Xiaojing Ye, Math & Stat, Georgia State University 242 Pad´eapproximation Example x Find the Pad´eapproximation to e− of degree 5 with n = 3 and m = 2.
    [Show full text]
  • Piecewise Linear Approximation of Streaming Time Series Data with Max-Error Guarantees
    Piecewise Linear Approximation of Streaming Time Series Data with Max-error Guarantees Ge Luo Ke Yi Siu-Wing Cheng Zhenguo Li Wei Fan Cheng He Yadong Mu HKUST Huawei Noah’s Ark Lab AT&T Labs Abstract—Given a time series S = ((x1; y1); (x2; y2);::: ) and f(xi) yi " for all i. This is because the `1=`2-error is a prescribed error bound ", the piecewise linear approximation ill-suitedj − forj ≤ online algorithms as it is a sum of errors over (PLA) problem with max-error guarantees is to construct a the entire time series. When the algorithm has no knowledge piecewise linear function f such that jf(xi) − yij ≤ " for all i. In addition, we would like to have an online algorithm that takes about the future, in particular the length of the time series n, the time series as the records arrive in a streaming fashion, and it is impossible to properly allocate the allowed error budget outputs the pieces of f on-the-fly. This problem has applications over time. Another advantage of the ` -error is that it gives wherever time series data is being continuously collected, but us a guarantee on any data record in1 the time series, while the data collection device has limited local buffer space and the ` =` -error only ensures that the “average” error is good communication bandwidth, so that the data has to be compressed 1 2 without a bound on any particular record. Admittedly, the ` - and sent back during the collection process. 1 Prior work addressed two versions of the problem, where error is sensitive to outliers, but one could remove them before either f consists of disjoint segments, or f is required to be feeding the stream to the PLA algorithm, and there is abundant a continuous piecewise linear function.
    [Show full text]
  • Rethinking Statistical Learning Theory: Learning Using Statistical Invariants
    Machine Learning (2019) 108:381–423 https://doi.org/10.1007/s10994-018-5742-0 Rethinking statistical learning theory: learning using statistical invariants Vladimir Vapnik1,2 · Rauf Izmailov3 Received: 2 April 2018 / Accepted: 25 June 2018 / Published online: 18 July 2018 © The Author(s) 2018 Abstract This paper introduces a new learning paradigm, called Learning Using Statistical Invariants (LUSI), which is different from the classical one. In a classical paradigm, the learning machine constructs a classification rule that minimizes the probability of expected error; it is data- driven model of learning. In the LUSI paradigm, in order to construct the desired classification function, a learning machine computes statistical invariants that are specific for the problem, and then minimizes the expected error in a way that preserves these invariants; it is thus both data- and invariant-driven learning. From a mathematical point of view, methods of the classical paradigm employ mechanisms of strong convergence of approximations to the desired function, whereas methods of the new paradigm employ both strong and weak convergence mechanisms. This can significantly increase the rate of convergence. Keywords Intelligent teacher · Privileged information · Support vector machine · Neural network · Classification · Learning theory · Regression · Conditional probability · Kernel function · Ill-Posed problem · Reproducing Kernel Hilbert space · Weak convergence Mathematics Subject Classification 68Q32 · 68T05 · 68T30 · 83C32 1 Introduction It is known that Teacher–Student interactions play an important role in human learning. An old Japanese proverb says “Better than thousand days of diligent study is one day with a great teacher.” What is it exactly that great Teachers do? This question remains unanswered.
    [Show full text]
  • Function Approximation with Mlps, Radial Basis Functions, and Support Vector Machines
    Table of Contents CHAPTER V- FUNCTION APPROXIMATION WITH MLPS, RADIAL BASIS FUNCTIONS, AND SUPPORT VECTOR MACHINES ..........................................................................................................................................3 1. INTRODUCTION................................................................................................................................4 2. FUNCTION APPROXIMATION ...........................................................................................................7 3. CHOICES FOR THE ELEMENTARY FUNCTIONS...................................................................................12 4. PROBABILISTIC INTERPRETATION OF THE MAPPINGS-NONLINEAR REGRESSION .................................23 5. TRAINING NEURAL NETWORKS FOR FUNCTION APPROXIMATION ......................................................24 6. HOW TO SELECT THE NUMBER OF BASES ........................................................................................28 7. APPLICATIONS OF RADIAL BASIS FUNCTIONS................................................................................38 8. SUPPORT VECTOR MACHINES........................................................................................................42 9. PROJECT: APPLICATIONS OF NEURAL NETWORKS AS FUNCTION APPROXIMATORS ...........................52 10. CONCLUSION ..............................................................................................................................59 CALCULATION OF THE ORTHONORMAL WEIGHTS ..................................................................................63
    [Show full text]
  • Uhm Ms 3812 R.Pdf
    UNIVERSITY OF HAWAI'I LIBRARY ADVANCED MARINE VEIDCLE PRODUCTS DATABASE -A PRELIMINARY DESIGN TOOL A THESIS SUBMITTED TO THE GRADUATE DMSION OF THE UNIVERSITY OF HAWAI'I IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE IN OCEAN ENGINEERING AUGUST 2003 By Kristen A.L.G. Woo Thesis Committee: Kwok Fai Cheung, ChaiIperson Hans-Jurgen Krock John C. Wiltshire ACKNOWLEDGEMENT I would like to thank my advisor Prof. Kwok Fai Cheung and the other committee members Prof. Hans-Jiirgen Krock and Dr. John Wiltshire for the time and effort they spent with me on this project. I would also like to thank the MHPCC staff, in particular, Mr. Scott Splean for their advice and comments on the advanced-marine-vehicle products database. Thanks are also due to Drs. Woei-Min Lin and JUll Li of SAIC for their advice on the neural network and preliminary ship design tools. I would also like to thank Mr. Yann Douyere for his help with MatLab. The work described in this thesis is a subset of the project "Environment for Design of Advanced Marine Vehicles and Operations Research" supported by the Office of Naval Research, Grant No. NOOOI4-02-1-0903. iii ABSTRACT The term advanced marine vehicle encompasses a broad category of ship designs typically referring to multihull ships such as catamarans, trimarans and SWATH (small waterplane area twin hull) ships, but also includes hovercrafts, SES (surface effect ships), hydrofoils, and advanced monohulls. This study develops an early stage design tool for advanced marine vehicles that provides principal particulars and additional parameters such as fuel capacity and propulsive power based on input ship requirements.
    [Show full text]
  • Rational Function Approximation
    Approximation Theory Pad´eApproximation Numerical Analysis and Computing Lecture Notes #13 — Approximation Theory — Rational Function Approximation Joe Mahaffy, [email protected] Department of Mathematics Dynamical Systems Group Computational Sciences Research Center San Diego State University San Diego, CA 92182-7720 http://www-rohan.sdsu.edu/∼jmahaffy Spring 2010 Joe Mahaffy, [email protected] Rational Function Approximation — (1/21) Approximation Theory Pad´eApproximation Outline 1 Approximation Theory Pros and Cons of Polynomial Approximation New Bag-of-Tricks: Rational Approximation Pad´eApproximation: Example #1 2 Pad´eApproximation Example #2 Finding the Optimal Pad´eApproximation Joe Mahaffy, [email protected] Rational Function Approximation — (2/21) Pros and Cons of Polynomial Approximation Approximation Theory New Bag-of-Tricks: Rational Approximation Pad´eApproximation Pad´eApproximation: Example #1 Polynomial Approximation: Pros and Cons. Advantages of Polynomial Approximation: [1] We can approximate any continuous function on a closed inter- val to within arbitrary tolerance. (Weierstrass approximation theorem) Joe Mahaffy, [email protected] Rational Function Approximation — (3/21) Pros and Cons of Polynomial Approximation Approximation Theory New Bag-of-Tricks: Rational Approximation Pad´eApproximation Pad´eApproximation: Example #1 Polynomial Approximation: Pros and Cons. Advantages of Polynomial Approximation: [1] We can approximate any continuous function on a closed inter- val to within arbitrary tolerance. (Weierstrass approximation theorem) [2] Easily evaluated at arbitrary values. (e.g. Horner’s method) Joe Mahaffy, [email protected] Rational Function Approximation — (3/21) Pros and Cons of Polynomial Approximation Approximation Theory New Bag-of-Tricks: Rational Approximation Pad´eApproximation Pad´eApproximation: Example #1 Polynomial Approximation: Pros and Cons. Advantages of Polynomial Approximation: [1] We can approximate any continuous function on a closed inter- val to within arbitrary tolerance.
    [Show full text]
  • Simplified Neural Networks Algorithms for Function Approximation and Regression
    SIMPLIFIED NEURAL NETWORKS ALGORITHMS FOR FUNCTION APPROXIMATION AND REGRESSION BOOSTING ON DISCRETE INPUT SPACES A THESIS SUBMITTED TO THE UNIVERSITY OF MANCHESTER FOR THE DEGREE OF DOCTOR OF PHILOSOPHY IN THE FACULTY OF ENGINEERING AND PHYSICAL SCIENCES 2010 By Syed Shabbir Haider School of Computer Science Table of Contents Abstract 9 Declaration 11 Copyright 12 Acknowledgements 13 1 Introduction 14 1.1 Neural Networks-A Brief Overview 14 1.2 Basic Terminology and Architectural Considerations 15 1.3 Real World Applications Of Neural Networks 22 1.4 The Problem Statement 23 1.5 Motivations Behind Initiation Of This Research 23 1.6 Research Objectives To Be Met 25 1.7 Main Contributions 26 1.8 Structure Of Thesis 27 1.9 Summary 28 2 Learning in Feedforward Neural Networks (FNN) 29 2.1 The Learning Process 29 2.1.1 Supervised Learning 30 2.1.2 Un-Supervised Learning 30 2.2.1 Graded (Reinforcement) Learning 31 2.2 Supervised Learning Laws for MLPs 32 2 2.2.1 The Perceptron Training Rule 32 2.2.2 The Widrow-Hoff Learning (Delta) Rule 34 2.3 Backpropagation Algorithm for MLPs 37 2.4 Special Issues in BP Learning and MLPs 39 2.4.1 Convergence, Stability and Plasticity 39 2.4.2 Selection of Hidden Layer Units (Activation Function) 40 2.4.3 When To Stop Training? 40 2.4.4 Local Minima 41 2.4.5 Number of Hidden Layers 41 2.4.6 Number of Hidden Units 42 2.4.7 Learning Rate and Momentum 43 2.4.8 The Training Style 43 2.4.9 Test, Training and Validation sets 44 2.5 Variants of BP Learning 45 2.6 Summary 47 3 Approximation Capabilities of FNNs and
    [Show full text]
  • Time Series Compression: a Survey
    1 Time series compression: a survey Giacomo Chiarot, Claudio Silvestri Abstract—The presence of smart objects is increasingly widespread and their ecosystem, also known as Internet of Things, is relevant in many different application scenarios. The huge amount of temporally annotated data produced by these smart devices demand for efficient techniques for transfer and storage of time series data. Compression techniques play an important role toward this goal and, despite the fact that standard compression methods could be used with some benefit, there exist several ones that specifically address the case of time series by exploiting their peculiarities to achieve a more effective compression and a more accurate decompression in the case of lossy compression techniques. This paper provides a state-of-the-art survey of the principal time series compression techniques, proposing a taxonomy to classify them considering their overall approach and their characteristics. Furthermore, we analyze the performances of the selected algorithms by discussing and comparing the experimental results that where provided in the original articles. The goal of this paper is to provide a comprehensive and homogeneous reconstruction of the state-of-the-art which is currently fragmented across many papers that use different notations and where the proposed methods are not organized according to a classification. Index Terms—Time series, Data Compaction and Compression, Internet of Things, State-of-the-art Survey, Sensor Data, Approximation, and Data Abstraction. F 1 INTRODUCTION IME series are relevant in several different contexts in the IoT). Further, these algorithms take advantage of the T and Internet of Things ecosystem (IoT) is among the peculiarities of time series produced by sensors, such as: most pervasive ones.
    [Show full text]
  • Deep Neural Network Approximation Theory
    Deep Neural Network Approximation Theory Dennis Elbrachter,¨ Dmytro Perekrestenko, Philipp Grohs, and Helmut Bolcskei¨ Abstract This paper develops fundamental limits of deep neural network learning by characterizing what is possible if no constraints are imposed on the learning algorithm and on the amount of training data. Concretely, we consider Kolmogorov-optimal approximation through deep neural networks with the guiding theme being a relation between the complexity of the function (class) to be approximated and the complexity of the approximating network in terms of connectivity and memory requirements for storing the network topology and the associated quantized weights. The theory we develop establishes that deep networks are Kolmogorov-optimal approximants for markedly different function classes, such as unit balls in Besov spaces and modulation spaces. In addition, deep networks provide exponential approximation accuracy—i.e., the approximation error decays exponentially in the number of nonzero weights in the network—of the multiplication operation, polynomials, sinusoidal functions, and certain smooth functions. Moreover, this holds true even for one-dimensional oscillatory textures and the Weierstrass function— a fractal function, neither of which has previously known methods achieving exponential approximation accuracy. We also show that in the approximation of sufficiently smooth functions finite-width deep networks require strictly smaller connectivity than finite-depth wide networks. I. INTRODUCTION Triggered by the availability of vast amounts of training data and drastic improvements in computing power, deep neural networks have become state-of-the-art technology for a wide range of practical machine learning tasks such as image classification [1], handwritten digit recognition [2], speech recognition [3], or game intelligence [4].
    [Show full text]
  • Modeling Periodic Functions for Time Series Analysis
    From: AAAI Technical Report WS-98-07. Compilation copyright © 1998, AAAI (www.aaai.org). All rights reserved. Modeling periodic functions for time series analysis Anish Biswas Department of Mathematics and Computer Science University of Tulsa 600 South College Avenue Tulsa, OK 74014 E-mail: [email protected] Abstract the model can be improved. Wehave also provided the convergence proof of the algorithm, which says that un- Timeseries problemsinvolve analysis of periodic functions for predicting the future. Aflexible re- der infinite sampling this method is guaranteed to give gression method should be able to dynamically accurate model and the level of accuracy is limited only select the appropriate model to fit the available by error due to truncation of the series. data. In this paper, we present a function ap- proximation scheme that can be used for model- Chebychev polynomials ing periodic functions using a series of orthogonal polynomials, named Chebychev polynomials. In Chebychev polynomials are a family of orthogonal poly- our approach, we obtain an estimate of the error nomials (Geronimus 1961). Any function f(x) may due to neglecting higher order polynomials and approximated by a weighted sum of these polynomial thus can flexibly select a polynomialmodel of the functions with an appropriate selection of the coeffi- proper order. Wealso showthat this approxima- cients. OO tion approachis stable in the presence of noise. a0 f(x) = -~ + E ai * 7](x) Keywords: Function approximation,Orthogonal poly- i=1 nomials where Introduction Analysis of time series data plays an important role and in finance and marketing. A model derived from past 2 F f(x) * 7](x) data can help to predict future behavior of the phe- ai=-zrJ_l ~-1---’-’~ dx.
    [Show full text]