paper-with-me

Papers

tspDB: Time Series Predict DB

2019-03-17 · Anish Agarwal, Abdullah Alomar, Devavrat Shah

A major bottleneck of the current Machine Learning (ML) workflow is the time consuming, error prone engineering required to get data from a datastore or a database (DB) to the point an ML algorithm can be applied to it. Hence, we explore the feasibility of directly integrating prediction functionality on top of a data store or DB. Such a system ideally: (i) provides an intuitive prediction query interface which alleviates the unwieldy data engineering; (ii) provides state-of-the-art statistical accuracy while ensuring incremental model update, low model training time and low latency for making predictions. As the main contribution we explicitly instantiate a proof-of-concept, tspDB, which directly integrates with PostgreSQL. We rigorously test tspDB's statistical and computational performance against the state-of-the-art time series algorithms, including a Long-Short-Term-Memory (LSTM) neural network and DeepAR (industry standard deep learning library by Amazon). Statistically, on standard time series benchmarks, tspDB outperforms LSTM and DeepAR with 1.1-1.3x higher relative accuracy. Computationally, tspDB is 59-62x and 94-95x faster compared to LSTM and DeepAR in terms of median ML model training time and prediction query latency, respectively. Further, compared to PostgreSQL's bulk insert time and its SELECT query latency, tspDB is slower only by 1.3x and 2.6x respectively. That is, tspDB is a real-time prediction system in that its model training / prediction query time is similar to just inserting / reading data from a DB. As an algorithmic contribution, we introduce an incremental multivariate matrix factorization based time series method, which tspDB is built off. We show this method also allows one to produce reliable prediction intervals by accurately estimating the time-varying variance of a time series, thereby addressing an important problem in time series analysis.

📄 PDF Abstract BibTeX arXiv:1903.07097

Code (0)

등록된 구현이 없습니다.

Tasks

ImputationPredictionPrediction IntervalsTime SeriesTime Series AnalysisTime Series Prediction

Similar Papers 제목 키워드 기반

Prediction of hierarchical time series using structured regularization and its application to artificial neural networks

2020-07-30 · Tomokaze Shiratori, Ken Kobayashi, Yuichi Takano

This paper discusses the prediction of hierarchical time series, where each upper-level time series is calculated by summing appropriate lower-level time series. Forecasts for such hierarchical time series should be cohe…

Computational EfficiencyPredictionTime SeriesTime Series Analysis+1

Self-Interpretable Time Series Prediction with Counterfactual Explanations

2023-06-09 · Jingquan Yan, Hao Wang

Interpretable time series prediction is crucial for safety-critical areas such as healthcare and autonomous driving. Most existing methods focus on interpreting predictions by assigning important scores to segments of ti…

Autonomous DrivingcounterfactualCounterfactual InferencePrediction+2

Conformal Prediction for Time Series with Modern Hopfield Networks

2023-03-22 · NeurIPS 2023 11 · Andreas Auer, Martin Gauch, Daniel Klotz, Sepp Hochreiter

To quantify uncertainty, conformal prediction methods are gaining continuously more interest and have already been successfully applied to various domains. However, they are difficult to apply to time series as the autoc…

Conformal PredictionPredictionTime Series

TimeCAP: Learning to Contextualize, Augment, and Predict Time Series Events with Large Language Model Agents

2025-02-17 · Geon Lee, Wenchao Yu, Kijung Shin, Wei Cheng 외

Time series data is essential in various applications, including climate modeling, healthcare monitoring, and financial analytics. Understanding the contextual information associated with real-world time series data is o…

Language ModelingLanguage ModellingLarge Language ModelTime Series

Conformal Prediction for Time-series Forecasting with Change Points

2025-09-02 · Sophia Sun, Rose Yu arxiv

Conformal prediction has been explored as a general and efficient way to provide uncertainty quantification for time series. However, current methods struggle to handle time series data with change points - sudden shifts…