[Paper Review] Long-term series forecasting with Query Selector -- efficient model of sparse attention
This paper proposes QuerySelector, a deterministic sparse attention mechanism for efficient long-term time series forecasting. By selecting key historical steps via a learnable selector, it reduces computational complexity while maintaining high accuracy, outperforming LSTM-based models on business process event logs with 74.3% and 79.0% accuracy on Helpdesk and BPI Challenge 2012 datasets, respectively.
Various modifications of TRANSFORMER were recently used to solve time-series forecasting problem. We propose Query Selector - an efficient, deterministic algorithm for sparse attention matrix. Experiments show it achieves state-of-the art results on ETT, Helpdesk and BPI'12 datasets.
Motivation & Objective
- Address the computational inefficiency of standard self-attention in long-sequence time series forecasting.
- Develop a deterministic, sparse attention mechanism to reduce FLOPs without relying on random sampling.
- Improve forecasting accuracy on long-term sequences by focusing attention on structurally meaningful historical steps.
- Outperform existing deep learning models, particularly LSTMs, on real-world business process event log datasets.
- Enable scalable, efficient attention-based modeling suitable for industrial-scale time series forecasting.
Proposed method
- Introduce a learnable query selector that identifies and attends to only the most relevant historical time steps in a sequence.
- Replace full self-attention with a sparse attention matrix where only selected key steps are used as memory for each query.
- Use a differentiable selector network to dynamically choose which past tokens to attend to, based on input context.
- Maintain full sequence modeling capability while drastically reducing FLOPs by limiting attention to a fixed number of selected steps.
- Train the model end-to-end using standard sequence-to-sequence objectives with cross-entropy loss for event type prediction.
- Apply the method to event log forecasting tasks, where the goal is to predict the next activity type in a business process trace.
Experimental results
Research questions
- RQ1Can a deterministic, learnable sparse attention mechanism outperform standard full-attention and recurrent models in long-term time series forecasting?
- RQ2How does the QuerySelector mechanism improve computational efficiency while preserving predictive accuracy on long sequences?
- RQ3To what extent can sparse attention based on structural selection of historical steps improve forecasting on real-world business process logs?
- RQ4Does QuerySelector achieve state-of-the-art performance compared to LSTM-based models on event log forecasting benchmarks?
- RQ5How robust is the method across different types of time series, particularly in low-frequency, sparse, and structured event logs?
Key findings
- QuerySelector achieved 74.3% accuracy on the Helpdesk dataset, surpassing the best LSTM result reported in [Tax et al., 2017].
- On the BPI Challenge 2012 dataset, QuerySelector reached 79.0% accuracy, outperforming the best LSTM performance of 76.00%.
- The method significantly reduces computational cost by limiting attention to a small, learned subset of historical steps.
- The deterministic selection mechanism avoids the variance and instability associated with random sparse attention methods.
- The model generalizes well across different types of business process logs, including those with complex, non-periodic patterns.
- Empirical results confirm that focusing on structurally meaningful historical steps improves long-term forecasting performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.