{'fraction_non_alphanumeric': 0.029780564263322883, 'fraction_numerical': 0.001567398119122257, 'mean_word_length': 4.8577981651376145, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
A Dual Network Solution (DNS) for Lag-Free Time Series Forecasting

When it comes to time series forecasting, lag in the predicted sequence can be a predominant issue. Unfortunately, this is often overlooked in most of the time series literature as this does not contribute to a high prediction error (i.e. MSE). However, it leads to a rather poor forecast in terms of movement prediction in time series. In this article, we tackle this basic problem with a novel trend driven mechanism. Trend, defined as the inherent pattern of the data, is extracted here and utilized next to perform a lag-free forecasting. We propose a generic and light Dual Network Solution (DNS), where the first network predicts the trend and the second network utilizes that predicted trend along with its historical information to capture the dynamical behavior of the time series efficiently. DNS exhibits a substantially improved (≈10% better) performance compared to more complex and resource-intensive state-of-the- art algorithms in large scale regression problems. Apart from the traditional Mean Squared Error (MSE), we also propose a new Movement Prediction Metric or MPM (for detection of lag in time series) as a new complementary performance metric to evaluate the efficacy of DNS better.