{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T17:48:50Z","timestamp":1795196930258,"version":"4.10.3"},"reference-count":36,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2019,12,6]],"date-time":"2019-12-06T00:00:00Z","timestamp":1575590400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Database Syst."],"published-print":{"date-parts":[[2019,12,31]]},"abstract":"<jats:p>To maintain the accuracy of supervised learning models in the presence of evolving data streams, we provide temporally biased sampling schemes that weight recent data most heavily, with inclusion probabilities for a given data item decaying over time according to a specified \u201cdecay function.\u201d We then periodically retrain the models on the current sample. This approach speeds up the training process relative to training on all of the data. Moreover, time-biasing lets the models adapt to recent changes in the data while\u2014unlike in a sliding-window approach\u2014still keeping some old data to ensure robustness in the face of temporary fluctuations and periodicities in the data values. In addition, the sampling-based approach allows existing analytic algorithms for static data to be applied to dynamic streaming data essentially without change. We provide and analyze both a simple sampling scheme (Targeted-Size Time-Biased Sampling (T-TBS)) that probabilistically maintains a target sample size and a novel reservoir-based scheme (Reservoir-Based Time-Biased Sampling (R-TBS)) that is the first to provide both control over the decay rate and a guaranteed upper bound on the sample size. If the decay function is exponential, then control over the decay rate is complete, and R-TBS maximizes both expected sample size and sample-size stability. For general decay functions, the actual item inclusion probabilities can be made arbitrarily close to the nominal probabilities, and we provide a scheme that allows a tradeoff between sample footprint and sample-size stability. R-TBS rests on the notion of a \u201cfractional sample\u201d and allows for data arrival rates that are unknown and time varying (unlike T-TBS). The R-TBS and T-TBS schemes are of independent interest, extending the known set of unequal-probability sampling schemes. We discuss distributed implementation strategies; experiments in Spark illuminate the performance and scalability of the algorithms, and show that our approach can increase machine learning robustness in the face of evolving data.<\/jats:p>","DOI":"10.1145\/3360903","type":"journal-article","created":{"date-parts":[[2019,12,9]],"date-time":"2019-12-09T13:35:27Z","timestamp":1575898527000},"page":"1-45","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["General Temporally Biased Sampling Schemes for Online Model Management"],"prefix":"10.1145","volume":"44","author":[{"given":"Brian","family":"Hentschel","sequence":"first","affiliation":[{"name":"Harvard University, Cambridge, Massachusetts, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Peter J.","family":"Haas","sequence":"additional","affiliation":[{"name":"University of Massachusetts Amherst, Amherst, Massachusetts, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yuanyuan","family":"Tian","sequence":"additional","affiliation":[{"name":"IBM Research Almaden, San Jose, California, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2019,12,6]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"Charu C. Aggarwal. 2006. On biased reservoir sampling in the presence of stream evolution. In VLDB. VLDB Endowment 607--618.  Charu C. Aggarwal. 2006. On biased reservoir sampling in the presence of stream evolution. In VLDB. VLDB Endowment 607--618."},{"key":"e_1_2_2_2_1","doi-asserted-by":"crossref","unstructured":"Noga Alon Nick Duffield Carsten Lund and Mikkel Thorup. 2005. Estimating arbitrary subset sums with few probes. In PODS. ACM 317--325.  Noga Alon Nick Duffield Carsten Lund and Mikkel Thorup. 2005. Estimating arbitrary subset sums with few probes. In PODS. ACM 317--325.","DOI":"10.1145\/1065167.1065209"},{"key":"e_1_2_2_3_1","doi-asserted-by":"crossref","unstructured":"Peter Bailis Edward Gan Samuel Madden Deepak Narayanan Kexin Rong and Sahaana Suri. 2017. MacroBase: Prioritizing attention in fast data. In SIGMOD. 541--556.  Peter Bailis Edward Gan Samuel Madden Deepak Narayanan Kexin Rong and Sahaana Suri. 2017. MacroBase: Prioritizing attention in fast data. In SIGMOD. 541--556.","DOI":"10.1145\/3035918.3035928"},{"key":"e_1_2_2_4_1","volume-title":"Probability and Measure","author":"Billingsley Patrick","unstructured":"Patrick Billingsley . 1995. Probability and Measure ( 3 rd ed.). Wiley . Patrick Billingsley. 1995. Probability and Measure (3rd ed.). Wiley.","edition":"3"},{"key":"e_1_2_2_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4757-3124-8"},{"key":"e_1_2_2_6_1","unstructured":"Gert Cauwenberghs and Tomaso Poggio. 2000. Incremental and decremental support vector machine learning. In NIPS. 388--394.  Gert Cauwenberghs and Tomaso Poggio. 2000. Incremental and decremental support vector machine learning. In NIPS. 388--394."},{"key":"e_1_2_2_7_1","volume-title":"A general purpose unequal probability sampling plan. Biometrika","author":"Chao M. T.","year":"1982","unstructured":"M. T. Chao . 1982. A general purpose unequal probability sampling plan. Biometrika ( 1982 ), 653--656. M. T. Chao. 1982. A general purpose unequal probability sampling plan. Biometrika (1982), 653--656."},{"key":"e_1_2_2_8_1","doi-asserted-by":"publisher","DOI":"10.1137\/10079817X"},{"key":"e_1_2_2_9_1","doi-asserted-by":"publisher","DOI":"10.5555\/1139720.1712365"},{"key":"e_1_2_2_10_1","volume-title":"Exponentially decayed aggregates on data streams","author":"Cormode Graham","unstructured":"Graham Cormode , Flip Korn , and Srikanta Tirthapura . 2008. Exponentially decayed aggregates on data streams . In ICDE. IEEE , 1379--1381. Graham Cormode, Flip Korn, and Srikanta Tirthapura. 2008. Exponentially decayed aggregates on data streams. In ICDE. IEEE, 1379--1381."},{"key":"e_1_2_2_11_1","volume-title":"Forward decay: A practical time decay model for streaming systems","author":"Cormode Graham","unstructured":"Graham Cormode , Vladislav Shkapenyuk , Divesh Srivastava , and Bojian Xu. 2009. Forward decay: A practical time decay model for streaming systems . In ICDE. IEEE , 138--149. Graham Cormode, Vladislav Shkapenyuk, Divesh Srivastava, and Bojian Xu. 2009. Forward decay: A practical time decay model for streaming systems. In ICDE. IEEE, 138--149."},{"key":"e_1_2_2_12_1","volume-title":"Jordan","author":"Crankshaw Daniel","year":"2015","unstructured":"Daniel Crankshaw , Peter Bailis , Joseph E. Gonzalez , Haoyuan Li , Zhao Zhang , Michael J. Franklin , Ali Ghodsi , and Michael I . Jordan . 2015 . The missing piece in complex analytics: Low latency, scalable model management and serving with velox. In CIDR. Daniel Crankshaw, Peter Bailis, Joseph E. Gonzalez, Haoyuan Li, Zhao Zhang, Michael J. Franklin, Ali Ghodsi, and Michael I. Jordan. 2015. The missing piece in complex analytics: Low latency, scalable model management and serving with velox. In CIDR."},{"key":"e_1_2_2_13_1","volume-title":"Weighted random sampling over data streams","author":"Efraimidis Pavlos S.","unstructured":"Pavlos S. Efraimidis . 2015. Weighted random sampling over data streams . In Algorithms, Probability, Networks, and Games, Christos D. Zaroliagis, Grammati E. Pantziou, and Spyros C. Kontogiannis (Eds.). Springer , 183--195. Pavlos S. Efraimidis. 2015. Weighted random sampling over data streams. In Algorithms, Probability, Networks, and Games, Christos D. Zaroliagis, Grammati E. Pantziou, and Spyros C. Kontogiannis (Eds.). Springer, 183--195."},{"key":"e_1_2_2_14_1","doi-asserted-by":"publisher","DOI":"10.5555\/1138831.1711169"},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/2523813"},{"key":"e_1_2_2_16_1","doi-asserted-by":"crossref","unstructured":"Rainer Gemulla and Wolfgang Lehner. 2008. Sampling time-based sliding windows in bounded space. In SIGMOD. 379--392.  Rainer Gemulla and Wolfgang Lehner. 2008. Sampling time-based sliding windows in bounded space. In SIGMOD. 379--392.","DOI":"10.1145\/1376616.1376657"},{"key":"e_1_2_2_17_1","volume-title":"Efficient jump ahead for 2-linear random number generators. INFORMS J. Comput. 20(3)","author":"Haramoto Hiroshi","year":"2008","unstructured":"Hiroshi Haramoto , Makoto Matsumoto , Takuji Nishimura , Fran\u00e7ois Panneton , and Pierre L\u2019Ecuyer . 2008. Efficient jump ahead for 2-linear random number generators. INFORMS J. Comput. 20(3) ( 2008 ), 385--390. Hiroshi Haramoto, Makoto Matsumoto, Takuji Nishimura, Fran\u00e7ois Panneton, and Pierre L\u2019Ecuyer. 2008. Efficient jump ahead for 2-linear random number generators. INFORMS J. Comput. 20(3) (2008), 385--390."},{"key":"e_1_2_2_18_1","unstructured":"Brian Hentschel Peter J. Haas and Yuanyuan Tian. 2018. Temporally-biased sampling for online model management. In EDBT. 109--120.  Brian Hentschel Peter J. Haas and Yuanyuan Tian. 2018. Temporally-biased sampling for online model management. In EDBT. 109--120."},{"key":"e_1_2_2_19_1","doi-asserted-by":"publisher","DOI":"10.1080\/01621459.1963.10500830"},{"key":"e_1_2_2_20_1","unstructured":"Ioannis Katakis Grigorios Tsoumakas and Ioannis Vlahavas. 2008. An ensemble of classifiers for coping with recurring contexts in data streams. In ECAI. 763--764.  Ioannis Katakis Grigorios Tsoumakas and Ioannis Vlahavas. 2008. An ensemble of classifiers for coping with recurring contexts in data streams. In ECAI. 763--764."},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.5555\/1293831.1293836"},{"key":"e_1_2_2_22_1","volume-title":"The Art of Computer Programming, Volume 2: Seminumerical Algorithms","author":"Knuth D. E.","unstructured":"D. E. Knuth . 1998. The Art of Computer Programming, Volume 2: Seminumerical Algorithms ( 3 rd ed.). Addison-Wesley . D. E. Knuth. 1998. The Art of Computer Programming, Volume 2: Seminumerical Algorithms (3rd ed.). Addison-Wesley.","edition":"3"},{"key":"e_1_2_2_23_1","first-page":"133","article-title":"A method of sample selection providing unbiased ratio estimates","volume":"33","author":"Lahiri D. B.","year":"1951","unstructured":"D. B. Lahiri . 1951 . A method of sample selection providing unbiased ratio estimates . Bull. Intl. Statist. Inst. 33 (1951), 133 -- 140 . D. B. Lahiri. 1951. A method of sample selection providing unbiased ratio estimates. Bull. Intl. Statist. Inst. 33 (1951), 133--140.","journal-title":"Bull. Intl. Statist. Inst."},{"key":"e_1_2_2_24_1","volume-title":"UCI Machine Learning Repository. Retrieved on","author":"Lichman M.","year":"2017","unstructured":"M. Lichman . 2013. UCI Machine Learning Repository. Retrieved on 10 Aug , 2017 from http:\/\/archive.ics.uci.edu\/ml. M. Lichman. 2013. UCI Machine Learning Repository. Retrieved on 10 Aug, 2017 from http:\/\/archive.ics.uci.edu\/ml."},{"key":"e_1_2_2_25_1","doi-asserted-by":"crossref","unstructured":"A. I. McLeod and D. R. Bellhouse. 1983. A convenient algorithm for drawing a simple random sample. 32 (1983) 182--184.  A. I. McLeod and D. R. Bellhouse. 1983. A convenient algorithm for drawing a simple random sample. 32 (1983) 182--184.","DOI":"10.2307\/2347297"},{"key":"e_1_2_2_26_1","volume-title":"Quantitative Risk Management: Concepts, Techniques and Tools","author":"McNeil Alexander J.","unstructured":"Alexander J. McNeil , R\u00fcdiger Frey , and Paul Embrechts . 2015. Quantitative Risk Management: Concepts, Techniques and Tools ( 2 nd ed.). Princeton University Press . Alexander J. McNeil, R\u00fcdiger Frey, and Paul Embrechts. 2015. Quantitative Risk Management: Concepts, Techniques and Tools (2nd ed.). Princeton University Press.","edition":"2"},{"key":"e_1_2_2_27_1","unstructured":"Memcached. 2017. Memcached - A Distributed Memory Object Caching System. Retrieved 2017-07-13 from https:\/\/memcached.org.  Memcached. 2017. Memcached - A Distributed Memory Object Caching System. Retrieved 2017-07-13 from https:\/\/memcached.org."},{"key":"e_1_2_2_28_1","doi-asserted-by":"publisher","DOI":"10.1214\/aoap\/1177005204"},{"key":"e_1_2_2_29_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF00140664"},{"key":"e_1_2_2_30_1","unstructured":"Zhengping Qian Yong He Chunzhi Su Zhuojie Wu Hongyu Zhu Taizhi Zhang Lidong Zhou Yuan Yu and Zheng Zhang. 2013. TimeStream: Reliable stream computation in the cloud. In EuroSys.  Zhengping Qian Yong He Chunzhi Su Zhuojie Wu Hongyu Zhu Taizhi Zhang Lidong Zhou Yuan Yu and Zheng Zhang. 2013. TimeStream: Reliable stream computation in the cloud. In EuroSys."},{"key":"e_1_2_2_31_1","unstructured":"Redis. 2017. Redis. Retrieved 2017-07-13 from https:\/\/redis.io.  Redis. 2017. Redis. Retrieved 2017-07-13 from https:\/\/redis.io."},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/301677.301685"},{"key":"e_1_2_2_33_1","volume-title":"An Interactive Deep Dive into the Kaggle Data Science Survey. Retrieved on","author":"Rajkumar Kaggle Sudalai","year":"2017","unstructured":"Kaggle Sudalai Rajkumar . 2017. An Interactive Deep Dive into the Kaggle Data Science Survey. Retrieved on 7 July , 2017 from https:\/\/www.kaggle.com\/sudalairajkumar\/an-interactive-deep-dive-into-survey-results. Kaggle Sudalai Rajkumar. 2017. An Interactive Deep Dive into the Kaggle Data Science Survey. Retrieved on 7 July, 2017 from https:\/\/www.kaggle.com\/sudalairajkumar\/an-interactive-deep-dive-into-survey-results."},{"key":"e_1_2_2_34_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10796-014-9489-2"},{"key":"e_1_2_2_35_1","volume-title":"Haas","author":"Xie Wenlei","year":"2015","unstructured":"Wenlei Xie , Yuanyuan Tian , Yannis Sismanis , Andrey Balmin , and Peter J . Haas . 2015 . Dynamic interaction graphs with probabilistic edge decay. In ICDE. 1143--1154. Wenlei Xie, Yuanyuan Tian, Yannis Sismanis, Andrey Balmin, and Peter J. Haas. 2015. Dynamic interaction graphs with probabilistic edge decay. In ICDE. 1143--1154."},{"key":"e_1_2_2_36_1","doi-asserted-by":"crossref","unstructured":"Matei Zaharia Tathagata Das Haoyuan Li Timothy Hunter Scott Shenker and Ion Stoica. 2013. Discretized streams: Fault-tolerant streaming computation at scale. In SOSP.  Matei Zaharia Tathagata Das Haoyuan Li Timothy Hunter Scott Shenker and Ion Stoica. 2013. Discretized streams: Fault-tolerant streaming computation at scale. In SOSP.","DOI":"10.1145\/2517349.2522737"}],"container-title":["ACM Transactions on Database Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3360903","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3360903","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T23:44:37Z","timestamp":1750203877000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3360903"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,12,6]]},"references-count":36,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2019,12,31]]}},"alternative-id":["10.1145\/3360903"],"URL":"https:\/\/doi.org\/10.1145\/3360903","relation":{},"ISSN":["0362-5915","1557-4644"],"issn-type":[{"value":"0362-5915","type":"print"},{"value":"1557-4644","type":"electronic"}],"subject":[],"published":{"date-parts":[[2019,12,6]]},"assertion":[{"value":"2018-10-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2019-08-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2019-12-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}