arXiv paper· machine learning (time series classification)· method paper

MomentQuant: an even more minimalist interval method with linear time complexity for time series classification

Johann Faouzi

cs.LG

Quick verdict

Adds Cornish-Fisher moment-based approx quantiles to Quant, cutting a log factor; rigorous and honest, gains modest (~1.8x faster transform, ~0.5pt accuracy).

Summary

This paper improves the transformation step of Quant, an interval-based time series classifier that extracts exact empirical quantiles from fixed dyadic intervals over four series representations. First, it derives a complete theoretical cost model (Theorems 1-18, proofs in Appendix A): total sorting costs Θ(d·l·log l) in the saturated regime, and a NumPy/Numba reimplementation runs roughly 2x faster than the PyTorch reference single-threaded (Table 1). Second, it proposes MomentQuant, which estimates quantiles from each interval's first four moments via the fourth-order Cornish-Fisher expansion in one linear pass, removing a log(l) factor for Θ(d·l) transformation. On 142 univariate UCR datasets (30 resamples), the approx mode transforms ~1.7-1.8x faster than the best exact variant (38.5s vs 64.8s, Table 4) at mean accuracy 0.8505 vs 0.8551 (Table 5). The paper is candid about costs: end-to-end speedups are only 1.06-1.21x (and 0.997x for medium-long series, Table 7) because classifier training dominates; quantile-level fidelity varies widely (medians 0.598-0.988, minima to -0.980, Table 8); the Cornish-Fisher validity domain is unchecked per interval; and the theoretical dispatch crossover disagrees with the calibrated heuristic by up to three orders of magnitude (Table 3). Limitations: timings from one M1 laptop, univariate UCR only, incremental practical payoff.

Review complete

Assessment at a glance

machine learning (time series classification)

4

risk flags identified

● high 0

● medium 2

● low 2

Reproducibility readinesshigh
Code & data availableyes
Review confidencehigh
AI text signal3/20 passages flagged
Deep research viableCode-reproducible

5 strengths · 5 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • Quant's transformation step costs Θ(d·l·log l) in the saturated regime, dominated by per-interval sorting (Theorem 8), a complexity the original paper did not establish.
  • A NumPy/Numba reimplementation of exact Quant is roughly 2x faster single-threaded than the PyTorch reference across l=512-32768 (Table 1).
  • Replacing sorted quantiles with Cornish-Fisher estimates from per-interval moments removes one log(l) factor, giving Θ(d·l) transformation complexity (Theorem 26, Remark 8).
  • Across 142 UCR datasets, the approx mode transforms ~1.7-1.8x faster than the best exact variant at a mean accuracy cost of ~0.005 (Tables 4-5).
  • The theoretically derived dispatch crossover is a valid functional form but disagrees with the calibrated practical threshold (by up to three orders of magnitude), so the calibrated threshold is used in the implementation (Table 3).

Strengths

  • Unusually rigorous theory with proofs

    Theorems 1-5 give exact combinatorics of Quant's interval layout (including width-1 edge cases, Theorem 5); Theorems 6-11 derive sort/extraction costs with explicit saturated vs unsaturated regime splits; full proofs in Appendix A.

  • Cost models validated against held-out measurements

    Table 2: holdout mean errors between -2.8% and +5.7% for four of five estimators (best: exact/samples at -1.5% mean, 1.8% sd), with honest reporting of the QuantFloat64 +15.4% systematic bias and worst cases to -68%/+38%.

  • Candid reporting of negative and inconvenient results

  • Fidelity analyzed at quantile level, not just downstream accuracy

  • High reproducibility

Weaknesses

  • Asymptotic win does not translate to end-to-end gains

  • Cornish-Fisher applied outside a verified validity domain

  • Numeric inconsistency between prose and Table 7

  • Single-machine timing evidence

  • No significance test reported for the headline approx-vs-exact comparison

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

This is a method-and-implementation paper improving the transformation step of **Quant** (Dempster et al., 2024), an interval-based time series classifier extracting exact empirical quantiles from fixed dyadic intervals over four series representations. Three claims are made: (i) a NumPy/Numba reimplementation of exact Quant is markedly faster than the PyTorch reference; (ii) replacing sorted quantiles with Cornish-Fisher estimates from per-interval moments removes a log(l) factor, yielding Θ(d·l) transformation complexity (Theorem 8 vs Theorem 26); (iii) the accuracy cost is tiny. All three are supported, with the caveat the paper itself surfaces: the asymptotic win applies to the transformation only, while end-to-end speedups are modest because tree training dominates.

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 5 strengths & 5 weaknesses, analyzed in detail
  • 4 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is MomentQuant?

MomentQuant is a faster variant of the Quant algorithm for time series classification. Quant computes exact quantile features from fixed dyadic intervals, which requires sorting each interval. MomentQuant instead estimates those quantiles from each interval's mean, variance, skewness and kurtosis via the Cornish-Fisher expansion, computed in one linear pass, removing a log factor from the transformation's time complexity.

How much faster is MomentQuant than Quant?

On the 142 UCR archive datasets, MomentQuant's approximate mode transforms data about 1.7-1.8x faster than the paper's best exact implementation (38.5s vs 64.8s, single-threaded), and the reimplementation of exact Quant alone is roughly 2x faster than the original PyTorch Quant. End-to-end gains that include classifier training are smaller, about 1.06-1.21x.

Does the quantile approximation hurt classification accuracy?

Barely, on average: over 142 UCR datasets with 30 resamples, mean accuracy is 0.8505 for the approximate mode versus 0.8551 for exact quantiles and the original Quant. However, individual quantile estimates can be poor — correlation with true quantiles has medians of 0.598-0.988 across six studied datasets and minima down to -0.980.

Is the code and data available?

Yes. The paper links a public GitHub repository (github.com/johannfaouzi/moment-quant) with reproduction instructions, and all experiments use the public UCR time series classification archive on a consumer laptop (Apple M1), so results are CPU-scale and independently reproducible.

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

  • The provided text is a sampled excerpt with three '[...sampling gap...]' regions (parts of Sections 5-6.3, part of Section 8.4/8.4.2, and part of the conclusion/appendix); all numbers cited here come from tables and prose present in the excerpt.
  • Figure contents (Figs 3-9) are only partially extractable (captions and axis labels); judgments about figure-level evidence rely on the surrounding prose describing them.

Go deeper on this paper

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
MomentQuant: an even more minimalist interval method with linear time complexity for time series classification | Evolve.Pub