Bayesian Context Trees: Modelling and exact inference for discrete time series
Not on the map. Why?
Abstract (arXiv)
We develop a new Bayesian modelling framework for the class of higher-order, variable-memory Markov chains, and introduce an associated collection of methodological tools for exact inference with discrete time series. We show that a version of the context tree weighting algorithm can compute the prior predictive likelihood exactly (averaged over both models and parameters), and two related algorithms are introduced, which identify the a posteriori most likely models and compute their exact posterior probabilities. All three algorithms are deterministic and have linear-time complexity. A family of variable-dimension Markov chain Monte Carlo samplers is also provided, facilitating further exploration of the posterior. The performance of the proposed methods in model selection, Markov order estimation and prediction is illustrated through simulation experiments and real-world applications with data from finance, genetics, neuroscience, and animal communication. The associated algorithms are implemented in the R package BCT.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 3; 2022: 3; 2023: 1; 2024: 2; 2025: 0; 2026: 3.
12 papers.
- 2021Probability Distribution on Full Rooted Treescited by 9
- 2023The Bayesian Context Trees State Space Model for time series modelling and forecastingcited by 2
- 2024An Information-Theoretic Approach to Understanding Transformers' In-Context Learning of Variable-Order Markov Chainscited by 2
- 2026Soft Bayesian Context Tree Models for Real-Valued Time Seriescited by 2
- 2021Context-tree weighting for real-valued time series: Bayesian inference with hierarchical mixture modelscited by 1
- 2022Change-point Detection and Segmentation of Discrete Data using Bayesian Context Treescited by 1
- 2021Detecting Renewal States in Chains of Variable Length via Intrinsic Bayes Factorscited by 0
- 2022Probability Distribution on Rooted Treescited by 0
- 2022Fitting Sparse Markov Models to Categorical Time Series Using Convex Clusteringcited by 0
- 2024Approximate learning of parsimonious Bayesian context treescited by 0
- 2026Variable Splitting Binary Tree Models Based on Bayesian Context Tree Models for Time Series Segmentationcited by 0
- 2026Stringological sequence prediction I: efficient algorithms for predicting highly repetitive sequencescited by 0
- 2026Stringological sequence prediction I: efficient algorithms for predicting highly repetitive sequences27 Mar 2026
- 2026Variable Splitting Binary Tree Models Based on Bayesian Context Tree Models for Time Series Segmentation22 Jan 2026
- 2026Soft Bayesian Context Tree Models for Real-Valued Time Series16 Jan 2026
- 2024An Information-Theoretic Approach to Understanding Transformers' In-Context Learning of Variable-Order Markov Chains7 Oct 2024
- 2024Approximate learning of parsimonious Bayesian context trees27 Jul 2024
- 2023The Bayesian Context Trees State Space Model for time series modelling and forecasting2 Aug 2023
- 2022Change-point Detection and Segmentation of Discrete Data using Bayesian Context Trees8 Mar 2022
- 2022Fitting Sparse Markov Models to Categorical Time Series Using Convex Clustering11 Feb 2022
- 2022Probability Distribution on Rooted Trees24 Jan 2022
- 2021Detecting Renewal States in Chains of Variable Length via Intrinsic Bayes Factors14 Oct 2021
- 2021Probability Distribution on Full Rooted Trees27 Sep 2021
- 2021Context-tree weighting for real-valued time series: Bayesian inference with hierarchical mixture models6 Jun 2021