Robust Detection of Lead-Lag Relationships in Lagged Multi-Factor Models

Yichi Zhang, Mihai Cucuringu, Alexander Y. Shestopaloff, Stefan Zohren

TL;DR

This paper introduces a novel clustering-driven methodology for robustly detecting lead-lag relationships in high-dimensional time series, which are crucial for understanding complex systems in finance and beyond. Their approach, by leveraging subsequence clustering and robust aggregation, demonstrates strong performance in identifying these relationships, outperforming traditional methods and leading to profitable trading strategies.

What Problem Does This Paper Address?

In many real-world systems, data is collected as high-dimensional, nonlinear time series. Understanding the relationships between these series is key to gaining insights for tasks like forecasting, control, and clustering. One particularly important but challenging relationship to detect is the "lead-lag" relationship, where one time series influences another with a time delay. While existing methods can identify these relationships, they often struggle with robustness, especially in high-dimensional settings with noisy data. This paper aims to bridge this gap by developing a more reliable and scalable method for detecting these lead-lag relationships in complex, lagged multi-factor models.

Methods

The core of the proposed methodology lies in a two-stage process:

  1. Subsequence Extraction and Clustering: The authors first create an "enlarged universe" of time series by extracting numerous overlapping subsequences (STS) from each original time series using a sliding window. This is a crucial step, as it allows for the comparison of many different temporal segments. They then apply clustering techniques, specifically K-means++ and spectral clustering, to group these similar STS. The idea is that STS belonging to the same cluster likely share underlying lead-lag dynamics. Various pairwise similarity measures, including nonlinear ones, are employed to facilitate this clustering.
  2. Robust Lead-Lag Estimation and Aggregation: Once the STS are clustered, lead-lag estimates are computed within each cluster. These estimates are then robustly aggregated across all clusters. This aggregation step is key to enhancing the identification of consistent relationships in the original, full time series. A "voting matrix" is introduced to filter out spurious relationships, requiring a certain number of consistent lag estimates across clusters for a relationship to be considered significant.

The authors also draw connections to the "multireference alignment" (MRA) problem, suggesting their approach can be viewed as a single-pass method for robust lead-lag detection, analogous to MRA's goal of aligning noisy, shifted signals.

Datasets

The paper evaluates its methodology on three types of financial datasets:

  • US Equities: A large dataset from Wharton's CRSP, containing 679 equities over approximately 5211 trading days.
  • ETFs: 14 Exchange Traded Funds from Wharton's CRSP, with 3324 trading days.
  • Futures Contracts: 52 futures contracts from Pinnacle Data Corp CLC, spanning 5166 trading days across various asset classes.

Additionally, they apply their method to an environmental dataset consisting of CO2 emissions data for 31 countries from 1990-2019, sourced from Climate Watch.

A benchmark using a sample cross-correlation function (CCF) is also used for comparison.

Key Insights and Ideas

  • Clustering as a Denoising Step: The paper frames clustering STS as an initial denoising step. By grouping similar subsequences, the method effectively filters out noise and focuses on the underlying temporal dependencies, making lead-lag detection more robust.
  • Aggregation for Consistency: Aggregating lead-lag estimates across multiple clusters is crucial. This ensures that identified relationships are not artifacts of a single cluster but are consistently observed across different groupings of STS, leading to more reliable results.
  • The Power of Subsequence Analysis: By breaking down long time series into smaller, overlapping subsequences, the method can capture lead-lag relationships that might be masked or averaged out in analyses of the entire series.
  • Broad Applicability: The successful application to both financial markets and environmental data suggests the methodology's generalizability to various high-dimensional time series problems.

Key Results

  • Synthetic Data: The proposed method reliably detects lead-lag relationships in simulated data from lagged multi-factor models, even in the presence of noise. The error matrices show near-zero values when the method accurately recovers ground truth lags.
  • Financial Markets:
    • The method generates promising Sharpe ratios, which are statistically significant when compared to the CCF benchmark.
  • Trading strategies based on the detected lead-lag relationships prove profitable, with the KM clustering approach often outperforming others in terms of metrics like Sharpe ratio and PnL.
  • For the equity data set, the proposed methods achieved Sharpe ratios of up to 0.892, significantly higher than the benchmark CCF's 0.675.
  • CO2 Emissions Data: The analysis of CO2 emissions data identified leading countries (e.g., Poland, Sweden) and lagging countries (e.g., Bulgaria, Estonia), providing insights consistent with existing literature and policy discussions.

Limitations and Future Work

  • Mixed Membership: The current work focuses on the "single membership" setting in lagged multi-factor models, where each time series is exposed to only one factor. The authors suggest extending the methodology to the more complex "mixed membership" setting for future research.
  • Alternative Clustering and Ranking: While K-means++ and spectral clustering were explored, the authors intend to experiment with other clustering methods and various ranking algorithms to further enhance the approach.
  • Momentum Reversal Strategies: The paper mentions exploring momentum reversal strategies as a future direction within the trading pipeline.
  • Portfolio Weighting: For financial applications, the current work uses equal weighting for portfolios of laggers. Fine-tuning these weights based on trading signals is identified as a potential area for improvement.

Summary updated

BibTeX
@misc{zhang2023robust,
  author = {Yichi Zhang and Mihai Cucuringu and Alexander Y. Shestopaloff and Stefan Zohren},
  title = {{Robust Detection of Lead-Lag Relationships in Lagged Multi-Factor Models}},
  year = {2023},
  eprint = {2305.06704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.06704},
}
Figure