Machine Learning for Temporal Data in Finance: Challenges and Opportunities

Jason D. Wittenbach, Brian d'Alessandro, C. Bayan BrussarXiv 2020

The financial services (FS) industry is fundamentally defined by temporal data, yet many machine learning applications still rely on static snapshots or rigid uniform assumptions. This paper, presented at the KDD-MLF 2020 workshop by researchers from Capital One, provides a high-level overview of the intersection between modern machine learning and the complex temporal data that characterizes the industry.

The Challenge of Temporal Richness

In the financial sector, data sources range from bank transactions and website clickstreams to macroeconomic indicators. Despite this abundance, practitioners often default to suboptimal processing methods that fail to capture the "temporal richness" of the data:

  1. Aggressive Flattening: Computing rough aggregates over a window (e.g., "total spend in the last 30 days"), which discards the precise timing of events.
  2. Uniform Assumptions: Treating data as if it occurs at fixed intervals, even when the underlying events—like credit card swipes—happen at irregular, "bursty" times.
Comparison of uniform continuous series versus irregularly sampled series, highlighting the difficulty in modeling real-world financial events.

The challenge lies in building models that can ingest raw, multi-modal, and irregularly timed data streams without losing the predictive power hidden in the timing itself.

Methodological Innovations

The paper categorizes recent research into three primary methodological buckets designed to move beyond these limitations:

1. Uniform Time Series Hybrids

For data that is regularly sampled (like GDP), hybrid models have shown significant success. The authors highlight the M4 competition winner, which combined classical Holt-Winters statistical smoothing with Recurrent Neural Networks (RNNs) to outperform pure statistical or pure ML approaches by nearly 10%.

2. Non-Uniform Event Streams

To handle irregular transaction data, the paper discusses several advanced techniques:

  • Augmented RNNs: Utilizing binary masks to indicate missing data or adding "time-since-last-event" as a feature.
  • Decay Mechanisms: Modifying RNNs so the hidden state decays exponentially between events, reflecting the idea that older information becomes less relevant over time.
  • Neural ODEs: A newer approach that treats the hidden state of a network as a continuous-time differential equation, allowing for natural modeling of events at any point in time.

3. Multi-Modal Fusion

Techniques borrowed from computer vision and NLP, such as attention mechanisms, are used to align different data types—such as a customer’s behavioral clickstream with their financial transaction history.

Datasets and Benchmarks

As a survey and position paper, the work synthesizes existing benchmarks rather than introducing new ones. It references the M4 Competition dataset for univariate forecasting and historical commodity prices, such as coffee, to illustrate the long history and volatility of financial modeling.

Historical monthly coffee prices (Arabica) from 1960 to 2020, representing a classic long-term financial time series.

Key Insights and Regulatory Hurdles

A critical insight for the FS industry is informative missingness: the absence of an event is often as important as the event itself. For example, if a customer stops transacting, that "missing" data point is a strong signal for churn or a change in financial health.

However, moving from discrete-time steps to continuous-time models introduces significant Model Governance challenges. In highly regulated industries, accurate "black box" temporal models may be unusable if they cannot be audited for Fair Lending compliance. As models move away from explicit features toward raw data streams, detecting "proxies" for protected classes becomes significantly harder.

Conclusion

While the tools to handle complex temporal data are emerging, the financial industry must balance technical progress with the practical realities of regulation and interpretability. The shift toward continuous-time modeling represents a paradigm shift that better matches the reality of financial markets and human behavior.

Summary updated

BibTeX
@misc{wittenbach2020machine,
  author = {Jason D. Wittenbach and Brian d'Alessandro and C. Bayan Bruss},
  title = {{Machine Learning for Temporal Data in Finance: Challenges and Opportunities}},
  year = {2020},
  eprint = {2009.05636},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.05636},
}
Figure