Source-linked AI summary

Efficient Bayesian Inference for Multivariate Factor Stochastic Volatility Models

Gregor Kastner, Sylvia Frühwirth-Schnatter, Hedibert Freitas Lopes

arXiv:1602.08154v3stat.COecon.EMstat.APstat.ME

TL;DR

Bayesian MCMC can be computationally burdensome for medium- to high-dimensional factor stochastic-volatility models. The paper adds shallow and deep interweaving strategies to the sampler, reporting efficiency gains of 100-fold or more in simulations and a real-world application.

  • Problem

    Bayesian MCMC is an efficient estimation approach for medium- to high-dimensional problems, but it carries substantial computational burden when the number of assets is moderate to large.

    Source: §1 · p. 2
  • Method

    The authors combine univariate stochastic-volatility updates and a regression Gibbs sampler with two ASIS interweaving strategies based on alternative parameterizations.

    Source: §1 · p. 3, §6 · p. 27
  • Results

    Sampling efficiency improves by a factor of 100 and more in extensive simulations and a real-world example.

    Source: §1 · p. 3
  • Takeaways & Limitations

    In the exchange-rate case study, outliers are captured by idiosyncratic stochastic-volatility components, and four interpretable factors drive joint-correlation dynamics alongside idiosyncratic volatilities.

    Source: §6 · p. 27

    Models with volatility-in-mean effects or return-volatility correlations require more involved estimation methods and are outside the paper's scope.

    Source: §6 · p. 28

Abstract

from arXiv · show

We discuss efficient Bayesian estimation of dynamic covariance matrices in multivariate time series through a factor stochastic volatility model. In particular, we propose two interweaving strategies (Yu and Meng, Journal of Computational and Graphical Statistics, 20(3), 531-570, 2011) to substantially accelerate convergence and mixing of standard MCMC approaches. Similar to marginal data augmentation techniques, the proposed acceleration procedures exploit non-identifiability issues which frequently arise in factor models. Our new interweaving strategies are easy to implement and come at almost no extra computational cost; nevertheless, they can boost estimation efficiency by several orders of magnitude as is shown in extensive simulation studies. To conclude, the application of our algorithm to a 26-dimensional exchange rate data set illustrates the superior performance of the new approach for real-world data.

1 Introduction

Multivariate financial time series motivate models that capture changing covariance while managing the quadratic growth of pairwise co-movements. The paper combines a factor stochastic-volatility model with interweaving strategies to make Bayesian MCMC inference more efficient.

1 Introduction

  • Dynamic factor stochastic-volatility models address the need to jointly model many co-varying series while reducing dimensionality through latent factors.The factors have time-varying variances that drive multivariate dynamics.Source: §1 · p. 2
  • Factor stochastic-volatility models extend standard factor pricing models by allowing multivariate volatility dynamics to vary over time.The passage situates applications in financial econometrics, including asset allocation and asset pricing.Source: §1 · p. 2
  • Bayesian MCMC is presented as an efficient estimator for medium- to high-dimensional problems, but its computational burden grows substantial when asset counts are moderate to large.The paper outlines the sections on model specification, estimation, simulation, exchange-rate application, and conclusions.Source: §1 · pp. 2–3
  • The paper combines efficient univariate stochastic-volatility updates with a regression Gibbs sampler and interweaving strategies to improve Bayesian inference.The authors report sampling-efficiency gains by a factor of 100 and more across simulations and a real-world example.Source: §1 · pp. 2–3

2 The Multivariate Factor Stochastic Volatility Model

The model uses latent factors with stochastic volatility to represent time-varying covariance parsimoniously while retaining series-specific volatility. Its identification choices address factor rotation, scaling, ordering, and sign ambiguities.

2 The Multivariate Factor Stochastic Volatility Model

  • The factor stochastic-volatility model reduces a high-dimensional observation space to orthogonal latent factors while allowing both factors and idiosyncratic deviations to have time-varying variances.This structure supports time-varying volatility co-movement and robustness to irregularities in the series.Source: §2 · p. 3

2.1 Model Specification

  • Conditional on latent volatilities, the observation covariance is driven by factor variances because the idiosyncratic variance matrix is diagonal.The factor and idiosyncratic variances are modeled through latent log-volatility processes, whose logarithms follow independent AR(1) processes.Source: §2.1 · p. 4

2.2 Identification Issues

  • Identification requires addressing factor rotation, column switching, scale, and sign; triangular loading restrictions prevent rotation and switching but impose order dependence.The authors leave diagonal loadings unrestricted, fix factor-volatility levels to identify scale, and handle sign switches after sampling.Source: §2.2 · pp. 5–6

3 Bayesian Inference

The Bayesian sampler combines proper priors and standard full conditional updates with two ASIS interweaving strategies. The strategies exploit alternative parameterizations to improve mixing, with deep interweaving affecting factor volatilities as well as factors and loadings.

3.1 Prior Distributions

  • The authors choose proper priors for the univariate stochastic-volatility processes, including independent priors for their level, persistence, and volatility parameters.The level has a normal prior and the transformed persistence parameter has a beta prior.Source: §3 · p. 6, §3.1 · p. 6

3.2 Full Conditional MCMC estimation

  • The baseline sampler augments the model with latent volatilities and factors, then updates volatility processes, loading rows, and factors through full conditional steps.Conditional on factors and loadings, the volatility updates reduce to univariate stochastic-volatility updates; conditional on volatilities, loadings and factors have multivariate normal updates.Source: §3.2 · pp. 7–8
  • Adding the interweaving step boosts MCMC dramatically in simulations and exchange-rate data, particularly for deep interweaving.The standard full conditional sampler can mix so poorly that its output becomes practically useless, while the proposed procedure avoids a more involved per-iteration Metropolis-Hastings update.Source: §3.2 · pp. 8–9

3.3 Boosting Full Conditional MCMC through Interweaving

  • ASIS resamples parameters conditional on latent variables in an alternative parameterization, combining data-augmentation schemes that can work efficiently in different parameter-space regions.The paper applies shallow and deep interweaving to the factor stochastic-volatility model.Source: §3.3 · p. 10

3.3.1 Shallow and Deep Interweaving

  • Shallow interweaving changes factors and loadings but leaves volatilities untouched, whereas deep interweaving also updates factor volatilities and is more effective for boosting MCMC.Shallow interweaving is conditionally conjugate and can also apply to static factor models.Source: §3.3 · p. 10, §3.3.1 · pp. 11–12

3.3.2 Sampling the scaling parameters in the alternative representations

  • Scaling parameters are resampled using a generalized inverse Gaussian draw when the posterior has that form, or an independence Metropolis-Hastings update for a non-standard density.The GIGrvg package's C/C++ interface makes the re-updating negligible in overall computation time.Source: §3.3.2 · pp. 13–14

4 Simulation Study

The simulation study compares standard, shallow-interwoven, and deep-interwoven samplers across repeated data-generating processes. Interweaving improves sampling efficiency, with deep interweaving yielding the largest reported gains, while predictive scores identify the two-factor model as appropriate.

4 Simulation Study

  • The simulation repeats data generation and estimation 100 times for 10 series, two factors, and 1,000 observations per run.Each run obtains 5,100,000 draws, discarding 100,000 as burn-in.Source: §4 · pp. 14–15
  • Deep interweaving mixes quickly with hardly visible autocorrelation, unlike the standard sampler and, to a lesser extent, shallow interweaving.The empirical autocorrelation for deep interweaving decays quickly, while visible autocorrelation remains at large lags for the other samplers.Source: §4 · pp. 15–16, Figure 1 · p. 15
  • Across repeated simulated datasets, shallow interweaving improves efficiency by about five-fold consistently, while deep-interweaving inefficiency factors are less clearly correlated across datasets.The comparison uses 100 generated datasets with identical underlying parameters.Source: §4 · pp. 16–17, Figure 2 · p. 16
  • Shallow interweaving improves loading-matrix efficiency around two- to eight-fold, while deep interweaving delivers gains up to around 400-fold over the standard sampler.These are average inefficiency-factor comparisons across 100 runs.Source: Table 1 · p. 17, §4 · p. 18
  • Factor and factor log-variance inefficiencies may be affected by poor loading-matrix mixing, while the reported volatility-parameter inefficiencies are not substantially affected.The study reports inefficiency factors for the final two factors and their log-variances.Source: §4 · p. 18, Table 2
  • Predictive scores rise most when adding the first factor, peak at two factors, and remain almost constant with three or more.Underfitting predicts substantially worse, whereas overfitting with extra factors hardly harms prediction; the exercise identifies the true two-factor model.Source: §4 · pp. 18–19, Figure 3 · p. 18

5 Application to Exchange Rate Data

The 26-series EUR exchange-rate application compares unrestricted factor models with lower-triangular constraints and examines posterior factor volatilities, loadings, volatilities, and correlations. The analysis favors unrestricted models for predictive fit, while higher-factor loadings can be difficult to identify.

5 Application to Exchange Rate Data

  • The analysis uses 26 daily EUR exchange rates over 2,649 demeaned log returns and retains extreme observations including the CHF and RUB episodes.The series span April 1, 2005 to August 6, 2015; the sampler is tested on the data as-is.Source: §5 · pp. 19–20

5.1 Model Specification

  • For a given factor count, unrestricted models have higher log predictive Bayes factors than lower-triangular models; constrained models’ gains flatten as factors are added.The constrained models’ Bayes factors nevertheless increase with factor count; higher-order loadings can be difficult to identify, motivating the four-factor model used for detailed discussion.Source: §5.1 · pp. 20–21, Figure 4 · p. 21

5.2 Posterior Factor Volatilities and their Loadings

  • The four-factor interpretation associates factor 1 with USD, CNY, and HKD; factor 2 with ZAR and Eastern European currencies; factor 3 with AUD and NZD; and factor 4 with Tiger Cub currencies.Factor 2’s log-variance is less persistent and more volatile than factor 1’s, while factor 1 rises after the 2008 crisis and again in late 2014.Source: §5.2 · pp. 22–24, Figure 5 · p. 23, Figure 6 · p. 23

5.3 Posterior Volatilities and Correlations

  • During 2008–09, pegged European currencies show low volatility, while KRW, ZAR, IDR, JPY, and TRY are among the most volatile; currency volatilities share a common trend.USD correlations are nearly one for CNY and HKD, fall from about 0.9 to 0.4 for RUB, and rise from about 0.5 to 0.9 for THB.Source: §5.3 · pp. 24, 26, 27, Figure 7 · p. 25, Figure 8 · p. 26

6 Conclusion and Outlook

The paper concludes that interweaving equivalent parameterizations improves MCMC mixing, particularly for factor loadings, in dynamic covariance estimation. Its exchange-rate case study demonstrates an interpretable four-factor structure, while some volatility-dependent extensions remain outside the paper’s scope.

6 Conclusion and Outlook

  • Interweaving equivalent parameterizations improves posterior-draw mixing, especially for factor loadings, in a fully automatic method requiring no manual tuning.The approach addresses dynamic covariance and correlation estimation using a low-dimensional latent factor structure with stochastic volatility.Source: §6 · p. 27
  • The 26-series exchange-rate case study captures outliers through idiosyncratic stochastic volatilities and yields four interpretable factors: USD/CNY, Eastern Europe, commodity currencies, and Tiger Cub economies.USD pairwise correlations range from almost perfect for CNY and HKD to slightly negative for PLN and HUF, with time-dependent variability.Source: §6 · pp. 27–28
  • The approach generalizes straightforwardly to models that independently model the mean, but volatility-in-mean and leverage extensions require more involved estimation and are outside this paper’s scope.The conclusion expresses hope, rather than demonstrating, similar interweaving effects for those extensions.Source: §6 · p. 28

SUPPLEMENTARY MATERIAL

  • Supplementary materials provide sampling-step details, factorstochvol package information, simulation parameter values, and additional exchange-rate results.The materials also include a video of the time-varying conditional correlation matrix and replication code.Source: SUPPLEMENTARY MATERIAL · pp. 28–29

A.1 Details on Updating the Volatilities

The volatility updates decompose into m+r independent univariate stochastic-volatility models, using augmented data with the observation equation. The implementation uses stochvol routines, with direct access to the update function for the reported results.

  • Updating the latent log-variances and their parameters requires m+r independent updates, each using augmented data from the corresponding stochastic-volatility equation.Source: §A.1 · p. 30
  • Each component is a univariate stochastic-volatility model, for which the sampler uses the stochvol implementation of Kastner and Frühwirth-Schnatter (2014).Source: §A.1 · p. 30
  • The reported results use direct access to the update function rather than its R-level interface.Source: §A.1 · p. 31

A.2 Details on Sampling the Loadings

Loadings and factors are sampled through Bayesian regression updates, while a posterior sign-identification rule aligns the loadings for interpretation.

A.2 Details on Sampling the Loadings

  • A.2 samples each loading row independently through a Gibbs update for a Bayesian regression with heteroscedastic errors and normalized observations.Source: §A.2 · p. 31

A.3 Details on Sampling the Factors

  • A.3 samples each time-specific factor from a standard Bayesian regression using normalized observations and an m × r design matrix.Source: §A.3 · pp. 31–32

A.4 Sign Identification

  • For each factor, the series with the largest minimum absolute posterior MCMC draw after burn-in is assigned a positive sign, determining the signs of all other loadings on that factor.For exchange rate data, USD, ZAR, AUD, and MYR identify factors 1–4, respectively.Source: §A.4 · p. 32

A.5 A Note on Implementation

The implementation addresses the computational demands of high-dimensional MCMC with compiled code and optimized memory access, while retaining an R interface.

  • MCMC iterations are intrinsically sequential, and storing large numbers of latent-variable draws also makes memory access an implementation concern.Source: §A.5 · p. 32
  • The implementation uses high-performance C and C++ code with RcppArmadillo and Armadillo linear-algebra routines.Source: §A.5 · p. 33
  • The code is bundled as the factorstochvol R package for ease of use.Source: §A.5 · p. 33

B Simulation Study

The simulation study’s data-generating parameter values are listed in Table B.1.

C Application to Exchange Rate Data

This section supplements the exchange-rate application with visualizations of the data, USD pairwise correlations, and unrestricted factor loadings, plus inefficiency-factor estimates for interwoven samplers.

C Application to Exchange Rate Data

Loading 1602.08154v3…