Online Generalized Method of Moments for Time Series

arXiv:2502.00751 · stat.ME, econ.EM · Submitted 2025-02-02 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Statistics. The day in statistics: methods, theory and the inference under them.

Tom: We're looking at the paper: "Online Generalized Method of Moments for Time Series".

Paper summary: Lu: So, to wrap up, "Online Generalized Method of Moments for Time Series" is presenting a robust online version of classical GMM that keeps asymptotic efficiency while drastically cutting down the time complexity and memory needed <ref:two thousand five hundred two point zero zero seven five one#pg7.

Jane: The authors are aiming for broad applicability in econometrics and statistics, showing that this explicit update framework works well with temporal dependence <ref:2502.00751#pg3>. It's about making these powerful tools usable in the modern big data era where data is constantly arriving >

Tom: The core message is that you can get the statistical rigor of offline GMM without the massive computational cost, which is a huge win for anyone building real-time systems <ref:two thousand five hundred two point zero zero seven five one#pg1.

Meng: From my side, I'm still looking at the trade-offs. The paper notes that the computational cost of OGMM is slightly higher because of that recursive long-run variance estimation <ref:2502.00751#pg44>, but they say it enables autocorrelation-robust inference in dependent models >

Lu: They also point out their limitations, specifically that the computational cost is a bit higher due to the recursive long-run variance estimation, and they mention that future research could look into extending this to high dimensionality or handling finite dimensional parameters with a nuisance function <ref:two thousand five hundred two point zero zero seven five one#pg26.

Jane: So, while it's a big step forward in efficiency, the work is still looking toward things like higher dimensions and even time-varying parameters, meaning this is a strong foundation for what comes next >

Conclusion: Jane: So, we're wrapping up on "Online Generalized Method of Moments for Time Series." Essentially, this paper introduces an online method for analyzing streaming data that keeps up with the flow <ref:two thousand five hundred two point zero zero seven five one#pg1.

Tom: Right, so it’s taking something from offline methods—GMM—and making it work when data is constantly coming in, which is a huge deal for real-time systems because those offline methods take forever to rerun <ref:two thousand five hundred two point zero zero seven five one#pg1.

Lu: The main thing here is that they’ve built an explicit update framework instead of an implicit one, which means we can actually get updated estimates as the data streams in, and they claim it keeps the same efficiency as the traditional offline methods <ref:two thousand five hundred two point zero zero seven five one#pg3.

Meng: But what about the cost? I’m looking at this and seeing that they still need to estimate those long-run variances recursively, so it's not a totally free method to run in production right now <ref:two thousand five hundred two point zero zero seven five one#pg44.

Jane: So, the authors are really pushing for this because they show it’s consistent and asymptotically normal under all those assumptions, which is what we need for serious statistical work <ref:two thousand five hundred two point zero zero seven five one#pg31.

Tom: I mean, the title itself says "Online Generalized Method of Moments," which just means they took a very standard math tool and adapted it to handle time series that are generated serially, not just static data sets <ref:two thousand five hundred two point zero zero seven five one#pg1.

Lu: And what I find interesting is how the authors tackle the computational headaches, like figuring out how to update moments when the function isn't linear with respect to our parameters <ref:two thousand five hundred two point zero zero seven five one#pg6.

Jane: It’s about making complex statistical inference accessible for data that never stops arriving, which is a big shift in how we think about these kinds of problems <ref:two thousand five hundred two point zero zero seven five one#pg38.

Meng: For me, the implication is that if you're dealing with things like sensor calibration or volatility modeling where you need immediate feedback on new data batches, this framework could seriously cut down the processing time <ref:two thousand five hundred two point zero zero seven five one#pg6.

University of Illinois at Urbana-Champaign · The Chinese University of Hong Kong · Washington University in St. Louis

stat.ME, econ.EM

Submitted: 2025-02-02

Updated: 2026-12-01

Comments: 76 pages, 10 figures, 6 tables

Code: https://github.com/hemanlmf/gmwm

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 91/100

The gist: Online learning has gained popularity in recent years due to the urgent need to analyse large-scale streaming data…

Key concepts

Online Generalized Method of Moments (OGMM)
An explicitly updated estimation method designed for time series where data arrives sequentially. It uses first-order Taylor approximations and lagged linearization to update the parameter estimate at each step, contrasting with implicitly updated methods.
Time Complexity Improvement
The primary gain of OGMM is a vast improvement in computational efficiency compared to traditional offline GMM. This reduction in time complexity and memory requirements makes it practical for analyzing large volumes of streaming data.
Semiparametric Efficiency
OGMM achieves the same asymptotic efficiency as offline GMM and implicitly updated renewable estimators. It achieves this by employing an optimal weighting matrix derived from the online long-run variance estimator, ensuring statistical accuracy in dependent models.

Terminology

Summary

Online learning has gained popularity in recent years due to the urgent need to analyse large-scale streaming data, which can be collected in perpetuity and serially dependent. p. 0<ref:2502.00751#pg1, Online Generalized Method of Moments for Time Series>. p. 0 p. 0 p. 0 p. 0 p. 0 p. 0 p. 0 This motivates us to develop the online generalized method of moments (OGMM), an explicitly updated estimation and inference framework in the time series setting. p. 0<ref:2502.00751#pg1, Online Generalized Method of Moments for Time Series>. The OGMM inherits many properties of offline GMM, such as its broad applicability to many problems in econometrics and statistics, natural accommodation for over-identification, and achievement of semiparametric efficiency under temporal dependence. p. 0<ref:2502.00751#pg1, Online Generalized Method of Moments for Time Series>. As an online method, the key gain relative to offline GMM is the vast improvement in time complexity and memory requirement. p. 0<ref:2502.00751#pg1, Online Generalized Method of Moments for Time Series>.

Framework Development

The OGMM framework is developed by using the first-order Taylor approximation and a lagged linearization (i.e., a linearization step with the OGMM estimator obtained at the previous step plugged in) to derive an explicitly updated estimator in contrast to implicitly updated renewable estimators. p. 1<ref:2502.00751#pg2, Online Generalized Method of Moments for Time Series>. p. 0 p. 0 To achieve semiparametric efficiency, the framework employs the optimal weighting matrix by inverting the online long-run variance estimator in Leung and Chan (2025). p. 2<ref:2502.00751#pg3>. The major contributions include developing an online GMM estimator that is consistent, asymptotically normal, and achieves the same asymptotic efficiency as offline GMM and implicitly updated renewable estimators. p. 2<ref:2502.00751#pg3>.

Computational Challenges Addressed

The methodology addresses three computational challenges faced by GMM in an online setting.<ref:2502.00751#pg6>. These challenges include:

  1. Moment computation, where the sample moment cannot be updated online when the function is nonlinear in theta. p. 5<ref:2502.00751#pg6>. This is solved by deriving an online moment using a first-order Taylor approximation. p. 5<ref:2502.00751#pg6>.

  2. Stable computation, where solving optimization problems or fixed-point equations for every new data batch may be undesirable. p. 5<ref:2502.00751#pg7>. This is stabilized by estimating V and U using lagged estimates of the parameter. p. 6<ref:2502.00751#pg7>.

  3. Weighting matrix computation, where the choice of W is crucial for statistical efficiency. p. 6<ref:2502.00751#pg8>. The paper recommends updating W using an online nonparametric estimator based on a kernel function to yield both statistical efficiency and autocorrelation robustness. p. 7<ref:2502.00751#pg8>.

Asymptotic Theory and Consistency

The asymptotic theory establishes the consistency of the OGMM estimator under various assumptions.<ref:2502.00751#pg13>. Theorem 1 proves that under Assumptions 1–9, the estimator converges to the true parameter as min(n1,. p. 6.., nb) → ∞ <ref:2502. p. 0 p. 000751#pg30>. Theorem 2 establishes asymptotic normality, showing that the estimator converges to a normal distribution with variance HΣH⊺ as min(n1,. p. 2.., nb) → ∞ <ref:2502.00751#pg31>. The condition ni = o(N2i-1) for i = 2,. p. 2.., b appears to be new and mild and is needed to control the Taylor approximation error of explicit updates in OGMM.<ref:2502.00751#pg31>.

Simulation Results and Applications

Numerical simulations demonstrate the finite-sample performance of OGMM compared to existing methods across various applications.<ref:2502.00751#pg39>. In online instrumental variables regression, OGMM shows lower mean squared errors and better coverage rates than SGMM in moderately large samples. p. 2<ref:2502.00751#pg41>. For anomaly detection, OGMM O is expected to be sensitive to model misspecification only, confirming its robustness when replacing offline statistics with online counterparts. p. 0<ref:2502.00751#pg43>. The framework is applied successfully in stochastic volatility modelling and inertial sensor calibration, where OGMM LS vastly improves computational efficiency compared to the traditional approach. p. 0<ref:2502.00751#pg6>.

Conclusion and Future Directions

The paper concludes that the OGMM framework is a robust online version of classical GMM that preserves asymptotic efficiency while significantly reducing time complexity and memory requirements.<ref:2502.00751#pg7>. Future research topics include developing an online version of GMM to accommodate high dimensionality, extending it to handle the estimation of a finite dimensional parameter with a nuisance function, and allowing for time-varying parameter or local stationarity in streaming time series. p. 1<ref:2502.00751#pg26>. The authors also note that the computational cost of OGMM is slightly higher due to recursive long-run variance estimation, but it enables autocorrelation-robust inference in dependent models. p. 2<ref:2502.00751#pg44>.

Acknowledgments

Chan was supported in part by grants GRF-14306421 and GRF-14307922 provided by the Research Grants Council of HKSAR.<ref:2502.00751#pg38>. Shao would like to acknowledge partial financial support from National Science Foundation DMS-2210002 and DMS-2412833.<ref:2502.00751#pg38>.

References

Ackerberg, D., Chen, X., Hahn, J. and Liao, Z. (2014) Asymptotic efficiency of semiparametric two-step GMM. p. 2<ref:2502.00751#pg38>. Andrews, D. p. 3 W. K. (1991) Heteroskedasticity and autocorrelation consistent covariance matrix estimation. p. 2<ref:2502.00751#pg38>. Belloni, A., Chernozhukov, V., Chetverikov, D., Hansen, C. p. 0 and Kato, K. (2018) Highdimensional econometrics and regularized GMM. p. 0<ref:2502.00751#pg38>. Bollerslev, T., Patton, A. J. and Quaedvlieg, R. (2016) Exploiting the errors: A simple approach for improved volatility forecasting. p. 3<ref:2502.00751#pg38>. de Castro, L. p. 9, Galvao, A. F., Kaplan, D. M. and Liu, X. (2019) Smoothed GMM for quantile models. p. 9<ref:2502.00751#pg38>. Chan, K. W. and Yau, C. p. 3 Y. (2016) New recursive estimators of the time-average variance constant. p. 3<ref:2502.00751#pg38>. Chauss´e, P. (2010) Computing generalized method of moments and generalized empirical likelihood with R. p. 1<ref:2502.00751#pg38>. Chen, X., Lee, J. D., Tong, X. T. and Zhang, Y. (2020) Statistical inference for model parameters in stochastic gradient descent. p. 6<ref:2502.00751#pg38>. Chen, X., Lee, S., Liao, Y., Seo, M. H., Shin, Y. and Song, M. p. 1 (2023) SGMM: Stochastic approximation to generalized method of moments. p. 1<ref:2502.00751#pg38>. Chen, X. and Liao, Z. (2015) Sieve semiparametric two-step GMM under weak dependence. p. 0<ref:2502.00751#pg38>. Chen, X., Liu, W. and Zhang, Y. (2019) Quantile regression under memory constraint. p. 9<ref:2502.00751#pg38>. Guerrier, S., Skaloud, J., Stebler, Y. and Victoria-Feser, M.-P. (2013) Wavelet-variancebased estimation for composite stochastic processes. p. 0<ref:2502.00751#pg44>. Hall, A. R. (2000) Covariance matrix estimation and the power of the overidentifying restrictions test. p. 0<ref:2502.00751#pg38>. Hall, A. R. and Sen, A. (1999) Structural stability testing in models estimated by generalized method of moments. p. 0<ref:2502.00751#pg38>. Hansen, L. P. (1982) Large sample properties of generalized method of moments estimators. p. 1<ref:2502.00751#pg38>. Jiang, R. and Yu, K. (2022) Renewable quantile regression for streaming data sets. p. 4<ref:2502.00751#pg38>. Koenker, R. (2005) Quantile Regression. p. 1<ref:2502.00751#pg38>. Lee, S., Liao, Y., Seo, M. H. and Shin, Y. (2022) Fast and robust online inference with stochastic gradient descent via random scaling. p. 6<ref:2502.00751#pg38>. Leung, M. F. and Chan, K. p. 2 W. (2025) Principles of statistical inference in online problems. p. 0<ref:2502.00751#pg38>. Leung, M. F., Chan, K. W. and Shao, X. (2025) Supplement to “online generalized method of moments for time series” <ref:2502. p. 000751#pg38>. Luo, L. and Song, P. p. 1 p. 1 X.-K. (2020) Renewable estimation and incremental inference in generalized linear models with streaming data sets. p. 1<ref:2502.00751#pg38>. Luo, L., Wang, J. and Hector, E. C. (2023) Statistical inference for streamed longitudinal data. p. 1<ref:2502.00751#pg38>. Luo, L., Zhou, L. and Song, P. X.-K. (2022) Real-time regression analysis of streaming clustered data with possible abnormal data batches. p. 4<ref:2502.00751#pg38>. Meketon, M. p. 3 S. and Schmeiser, B. p. 3 (1984) Overlapping batch means: something for nothing? p. 3 In Proceedings of the Winter Simulation Conference, WSC ’84. p. 8<ref:2502.00751#pg38>. Newey, W. K. and McFadden, D. (1994) Large sample estimation and hypothesis testing. p. 3<ref:2502.00751#pg38>. Parzen, E. (1957). On consistent estimates of the spectrum of a stationary time series. p. 2<ref:2502.00751#pg38>. Pascalau, R. and Poirier, R. (2023) Increasing the information content of realized volatility forecasts. p. 0<ref:2502.00751#pg38>. Polyak, B. T. and Juditsky, A. p. 3 B. (1992) Acceleration of stochastic approximation by averaging. p. 3<ref:2502.00751#pg38>. Robbins, H. p. 1 and Monro, S. p. 1 (1951). A stochastic approximation method. p. 1<ref:2502.00751#pg38>. Schifano, E. p. 1 D., Wu, J., Wang, C., Yan, J. and Chen, M. p. 1-H. (2016) Online updating of statistical inference in the big data setting. p. 0<ref:2502.00751#pg38>. Stebler, Y., Guerrier, S., Skaloud, J. and Victoria-Feser, M.-P. (2014) Generalized method of wavelet moments for inertial navigation filter design. p. 0<ref:2502.00751#pg38>. Sun, X., Wang, H., Cai, C., Yao, M. and Wang, K. (2024) Online renewable smooth quantile regression. p. 4<ref:2502.00751#pg39>. Toulis, P. and Airoldi, E. p. 1 M. (2017) Asymptotic and finite-sample properties of estimators based on stochastic gradients. p. 3<ref:2502.00751#pg38>. Welford, B. p. 7 P. (1962) Note on a method for calculating corrected sums of squares and products. p. 1<ref:2502.00751#pg38>. Wu, W. B. (2009) Recursive estimation of time-average variance constants. p. 3<ref:2502.00751#pg38>. Zhu, W., Chen, X. and Wu, W. B. (2023) Online covariance matrix estimation in stochastic gradient descent. p. 6<ref:2502.00751#pg38>.

Pruning redundant reasoning tokens

The paper develops the online generalized method of moments (OGMM), an explicitly updated estimation and inference framework in the time series setting.<ref:2502.00751#pg1, Online Generalized Method of Moments for Time Series>. This framework is designed to be computationally efficient while preserving statistical properties of its offline counterparts. p. 1<ref:2502.00751#pg1, Online Generalized Method of Moments for Time Series>. The key gain relative to offline GMM is the vast improvement in time complexity and memory requirement. p. 0<ref:2502.00751#pg1, Online Generalized Method of Moments for Time Series>.

How the training signal is built

The OGMM estimator is derived using a first-order Taylor approximation and a lagged linearization (i.e., a linearization step with the OGMM estimator obtained at the previous step plugged in) to create an explicitly updated estimator. p. 1<ref:2502.00751#pg2, Online Generalized Method of Moments for Time Series>. The framework achieves semiparametric efficiency by employing the optimal weighting matrix by inverting the online long-run variance estimator. p. 2<ref:2502.00751#pg3>.

Where the gains come from

The OGMM provides several improvements over existing methods:

  1. It is autocorrelation-robust by handling serial dependence in a nonparametric fashion. p. 2 p. 2<ref:2502.00751#pg3>.

  2. It achieves the same asymptotic efficiency as offline GMM and implicitly updated renewable estimators. p. 2<ref:2502.00751#pg3>.

  3. It is autocorrelation-robust by handling serial dependence in a nonparametric fashion.<ref:2502.00751#pg4>.

  4. It offers improved versions of online Sargan–Hansen and structural stability tests that do not suffer from considerable size distortion nor require historical raw data. p. 2<ref:2502.00751#pg3>.

Inference and Testing

The paper extends GMM concepts to various statistical methods as special cases, including online one-step estimation, online least squares, online quantile regression, and online instrumental variables regression.<ref:2502.00751#pg3>. For inference under the OGMM framework, natural statistics are proposed to replace offline counterparts from the GMM literature. p. 9<ref:2502.00751#pg3>. The online Sargan–Hansen test statistic is proposed as a natural online test statistic that does not suffer from autocorrelation-robustness issues when using the full-sample estimator. p. 3<ref:2502.00751#pg10>.

Methodological Details

The implementation involves an iterative algorithm (Algorithm 3.1) where the parameter update is derived from a fixed-point equation. p. 5<ref:2502.00751#pg7>. The final estimator is given by the explicit formula ˆθb,OGMM = −(Vˆ ⊺b Wˆ Vˆb)−1Vˆ ⊺b Wˆ Uhat b. p. 6<ref:2502.00751#pg7>. The computational complexity is analyzed, showing that OGMM is at least O(nbpq + pq 2) in time and O(nbq + q 2) in space, which is competitive with offline GMM. p. 8<ref:2502.00751#pg9, Online Generalized Method of Moments for Time Series>. p. 0

Application Examples

The paper presents applications in stochastic volatility modelling and inertial sensor calibration.<ref:2502.00751#pg6>. The OGMM LS method vastly improves the computational efficiency of the rolling approach by reducing its computing time by approximately 160 times. p. 0<ref:2502.00751#pg41>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Online estimation of GMM allows for explicit updates using a first-order Taylor approximation, which improves time complexity and memory requirements compared to offline GMM by achieving an explicitly updated estimator in contrast to implicitly updated renewable estimators.

  2. The OGMM framework is autocorrelation robust by handling serial dependence in a nonparametric fashion through the online estimation of the optimal weighting matrix, which achieves semiparametric efficiency without requiring tuning parameters like learning rates.

  3. Improved versions of online Sargan–Hansen and structural stability tests can be proposed that do not suffer from considerable size distortion nor require historical raw data, as shown by following the work of Chen et al. (2023) and Luo et al. (2022).

  4. The OGMM framework can be used to conduct online one-step estimation, online least squares, online quantile regression, and online instrumental variables regression as special cases due to the broad framework of GMM.

  5. Online inference procedures can be implemented by replacing offline statistics with their counterparts from Algorithm 3.1, allowing for the preservation of statistical properties in classical inferential procedures while improving computational efficiency.

  6. For stochastic volatility modelling, OGMM can be used to update rolling approaches, offering a vastly improved computational efficiency compared to traditional methods and enabling more accurate forecasts by incorporating intraday information.

  7. In inertial sensor calibration problems, OGMM can be extended using the generalized method of wavelet moments (GMWM) to provide online estimates for parameters such as noise variance and correlation structure while maintaining autocorrelation robustness.

Sources

Related papers