Industrial multivariate time series prediction method and system based on dual-view mamba
By combining time-perspective reconstruction and variable-perspective encoding based on dual-perspective Mamba, the long-distance dependence and complex correlation problems in industrial multivariate time series forecasting in existing technologies are solved, achieving efficient and accurate forecasting results.
Patent Information
- Application Number
- CN202611051265.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-15
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to effectively capture long-distance dependencies, periodic changes, and complex relationships between variables when dealing with industrial multivariate time series forecasting, and they also suffer from high computational costs and limited applicability.
A dual-perspective Mamba-based approach is adopted, which constructs a variable-time segment token sequence through time-perspective recombination and variable-perspective encoding. The sequence is then encoded using bidirectional Mamba transformation on both the time and variable sides, and combined with an adaptive routing mechanism to perform information fusion to improve prediction performance.
It significantly improves the predictive ability of industrial multivariate time series, enhances the robustness and adaptability of the model to different scenarios, reduces computational complexity, and improves prediction accuracy and efficiency.
Smart Images

Figure CN123179262A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of artificial intelligence and industrial intelligent software technology, specifically to an industrial multivariate time series forecasting method and system based on dual-view Mamba. Background Technology
[0002] The rapid development of the Industrial Internet and intelligent manufacturing has led to the deployment of a large number of sensors and monitoring equipment in power systems, substations, and industrial production processes, accumulating massive amounts of multivariate time series data. Taking substations as an example, dozens or even hundreds of monitoring variables, such as transformer oil temperature, winding temperature, load current, voltage amplitude, harmonic content, and vibration signals, are continuously collected at a frequency of seconds or minutes, forming typical multivariate time series. Accurately predicting the future trends of these variables is of great engineering value for ensuring the safe and stable operation of the power system, optimizing equipment maintenance strategies, and reducing unplanned downtime losses. However, multivariate time series collected in industrial sites usually have the following significant characteristics: (1) a large number of variables that are coupled with each other, with complex causal relationships and dynamic correlations; (2) a long time span, with historical observation windows reaching several days, months, or even years; (3) both periodicity and trend, such as daily load cycles, weekly electricity consumption patterns, seasonal changes, and long-term aging trends; and (4) significant dynamic heterogeneity due to factors such as equipment operating condition switching and changes in the external environment.
[0003] Current research on multivariate time series forecasting can be mainly divided into sequence modeling methods based on recurrent neural networks (RNNs), attention modeling methods based on Transformers, lightweight modeling methods based on linear or multilayer perceptrons, and state-space modeling methods based on Mamba that have emerged in recent years. For RNN-based methods, the main idea is to progressively encode historical sequences through a recursive memory mechanism to obtain hidden state representations for future predictions. However, these methods are susceptible to long-term information forgetting in long-sequence forecasting tasks and are difficult to parallelize sufficiently, limiting their ability to handle long historical windows and complex multivariate relationships.
[0004] For Transformer-based methods, the main idea is to explicitly model the dependencies between time steps or variables through self-attention mechanisms. Some improved methods further introduce variable tokens, time segment partitioning, or specialized attention structures to enhance long-distance dependency modeling capabilities. These methods have been widely used in multivariate time series forecasting, but as sequence length and data complexity increase, the computational cost of attention becomes high, and attention distraction is prone to occur. Furthermore, overly complex attention structures limit their applicability in long sequences or resource-constrained scenarios.
[0005] For methods based on linear or multilayer perceptrons, the main idea is to use relatively simple linear mappings or feedforward networks to predict historical sequences. These methods have simple structures and low computational costs, and can achieve certain results in some prediction tasks. However, due to their relatively limited expressive power, they often struggle to maintain stable generalization ability when faced with complex nonlinear relationships, correlations between variables, and dynamic heterogeneity under different data scenarios.
[0006] Chinese invention application No. 202510121420.3 discloses a "Long-Term Time Series Prediction Method Using Dual-Path Mamba for Data Processing". The method includes: normalizing the input multivariate time series to obtain multivariate data; making the multivariate data channel-independent and mapping the data to the latent space; patching the data of each variable into non-overlapping subsequences; processing the partitioned time series through global and local dual-path Mamba, and then mapping the obtained global information into weights multiplied by local features and mapped to the length of the time series to be predicted, to obtain the final prediction result. Summary of the Invention
[0007] To address the technical problems existing in the background art mentioned above, this invention provides a method and system for industrial multivariate time series forecasting based on dual-view Mamba. The technical solution adopted by this invention is as follows: The first aspect of this invention provides a method for industrial multivariate time series forecasting based on dual-view Mamba, comprising the following steps: Acquire multivariate time series data, which includes historical observation data of multiple monitoring variables during the operation of industrial equipment; The multivariate time series data is reorganized from a time perspective. The historical sequence of each variable is divided into multiple time segments along the time dimension, and the time segments of different variables are rearranged according to the Mamba scan direction to construct a variable-time segment token sequence. The variable-time segment token sequence is encoded to obtain a time-perspective encoded representation; The temporal perspective encoding representation is extended by a variable perspective adaptive component expansion, and the representation of the feature variables is extended into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation. Adaptive routing is performed on the multi-component variable representation, and component information that matches the prediction task is retained based on the current data features to obtain the routed variable component representation; The routed variable component representation is concatenated with the original input projection representation, and then the information between variables is fused to obtain the variable perspective encoding representation; By integrating the representation of the feature variables with the variable perspective encoding representation, a multivariate prediction result for the future time window is output.
[0008] As a preferred embodiment, the historical observation data is represented as follows:
[0009] Where B represents the batch size, N represents the number of variables, and T represents the length of the historical observation window.
[0010] As a preferred embodiment, the variable-time segment token sequence is represented as follows:
[0011] Where P represents the number of time segments, and D represents the representation dimension of each time segment after mapping.
[0012] As a preferred embodiment, the time perspective encoding is represented as follows:
[0013] in, This indicates a bidirectional Mamba transform on the time side. ; [] indicates concatenation along the relevant dimensions of the variables. This indicates the operations of flattening, rearranging, and sorting. This represents the encoding result obtained from a time perspective.
[0014] As a preferred approach, the method of performing adaptive component extension of the time-perspective encoding representation to the variable perspective, and extending the representation of the feature variables into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation includes: The time perspective encoding representation After reorganization, the characteristic variables are represented as follows:
[0015] The representation of the feature variables is extended into three learnable component channels through a parameterized decomposition network. The extended intermediate component representation satisfies:
[0016] The specific operations of the parameterized decomposition network include: Input The dimension is expanded to four dimensions And perform broadcast multiplication with the learnable parameter matrix [1, E], that is, use E learnable scalar parameters to perform element-wise scaling and modulation on the D-dimensional representation vector of the feature variable, thereby transforming the single representation of a variable [ D[E,D] can be extended to represent E different components.
[0017] As a preferred approach, the method for adaptively routing the multi-component variable representation, and retaining component information that matches the prediction task based on the current data features, to obtain the routed variable component representation includes: The routing weights are calculated based on the representations of the aforementioned feature variables. The routing results are then combined with the variable decomposition results. The resulting variable component representations satisfy the following:
[0018] Where AR(·) represents the adaptive routing function, and VD(·) represents the variable decomposition function. This represents the combined operation between the routing result and the variable decomposition result; The specific operations of the adaptive routing selection include: Represent the variable level Input a linear layer network, compress its last dimension D to dimension E, and then normalize it using the Softmax function. Take the index of the maximum value among the normalized probability values as the class label Y, where Y∈{0,1,2,…,E}; Generate a mask based on the value of the category label Y, preserving the representation of the intermediate components. The larger the value of the category label Y in the first E component channels, the more component channels are retained, indicating that the variable needs richer components to express its temporal characteristics.
[0019] As a preferred embodiment, the variable perspective encoding representation satisfies:
[0020] in, This indicates a bidirectional Mamba transformation on the variable side. These are points collected from the raw data; Finally, the output will be... The data is then processed to ensure that the shape of the time-perspective encoding representation remains consistent. The final output of the variable-perspective encoding representation is as follows: .
[0021] As a preferred embodiment, a method for integrating the representation of the feature variables with the variable perspective encoding representation to output multivariate prediction results for future time windows includes: Representation of the feature variables and the variable perspective encoding representation Each input is performed into the feedforward network for feature transformation; The two transformed coded representations are weighted and fused or concatenated to obtain a comprehensive predictive representation. The comprehensive prediction representation is input into the prediction head network, which outputs the predicted values of each variable within the future time window.
[0022] A second aspect of the present invention provides an industrial multivariate time series forecasting system based on dual-view Mamba, the system comprising: The data acquisition module is used to acquire multivariate time series data, which includes historical observation data of multiple monitoring variables during the operation of industrial equipment; The time period segmentation module is used to reorganize the multivariate time series data from a time perspective, divide the historical sequence of each variable into multiple time segments along the time dimension, and rearrange the time segments of different variables according to the Mamba scan direction to construct a variable-time segment token sequence. A time-side bidirectional Mamba encoder is used to encode the variable-time segment token sequence and output a time-view encoded representation; An adaptive variable segmentation module is used to perform adaptive component expansion of the time-perspective encoded representation from a variable perspective. The representation of the feature variables is expanded into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation. Adaptive routing selection is performed on the multi-component variable representation to retain component information that matches the prediction task based on the current data features, thereby obtaining a routed variable component representation. A variable-side bidirectional Mamba encoder is used to concatenate the routed variable component representation with the original input projection representation and then fuse the information between variables to obtain a variable perspective encoded representation; The fusion prediction module is used to fuse the representation of the feature variables with the variable perspective encoding representation, and output the multivariate prediction result for the future time window.
[0023] A third aspect of the present invention provides a computer device, including a storage medium, a processor, and a computer program stored in the storage medium and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the aforementioned dual-view Mamba-based industrial multivariate time series forecasting method.
[0024] Compared with the prior art, the beneficial effects of this invention are: This invention divides the historical sequence of each variable into multiple time segments along the time dimension using a time period segmentation module, and rearranges the time segments of different variables according to the Mamba scan direction to construct a "variable-time segment token sequence". Simultaneously, it employs bidirectional Mamba on the time side to encode the recombined sequence in the state space, shortening the scan path for long-distance period segments, alleviating the problem of time information decay in long sequence prediction, and enhancing the ability to capture multi-periodic patterns in industrial data. By inputting the time-encoded variable representation into a parameterized decomposition network, it expands into multiple learnable component channels, decoupling time features from a variable perspective in multiple dimensions. This allows the state space to express variable features from multiple time attribute perspectives, improving the model's ability to represent complex nonlinear industrial time-series data. By introducing an adaptive routing mechanism, it dynamically filters component information matching the prediction task based on input features, enabling the model to adaptively adjust its modeling strategy according to changes in operating conditions, suppressing redundant components, and improving the robustness and adaptability of predictions. By concatenating the routed component representation with the original input projection and performing bidirectional Mamba on the input variable side to fuse information between variables, it achieves accurate modeling of bidirectional dependencies between variables with linear computational complexity, balancing efficiency and accuracy. By fusing the temporal and variable-side encoded representations after transformation through a feedforward network, a prediction result is generated. This allows the final prediction to simultaneously integrate temporal structure information and variable correlation information, thereby comprehensively improving the model's prediction performance for different industrial scenarios. Attached Figure Description
[0025] Figure 1 This embodiment provides a flowchart of an industrial multivariate time series forecasting method based on dual-view Mamba. Detailed Implementation The accompanying drawings are for illustrative purposes only and should not be construed as limiting the invention. It should be understood that the described embodiments are merely some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of the embodiments of this application.
[0026] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to limit the embodiments of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more of the associated listed items.
[0027] In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims. In the description of this application, it should be understood that the terms "first," "second," "third," etc., are used only to distinguish similar objects and are not necessarily used to describe a specific order or sequence, nor should they be construed as indicating or implying relative importance. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0028] Furthermore, in the description of this application, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. The invention will be further described below with reference to the accompanying drawings and embodiments.
[0029] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0030] Example 1 Please refer to Figure 1 This embodiment provides a method for industrial multivariate time series forecasting based on dual-view Mamba, including the following steps: S1: Obtain multivariate time series data, which includes historical observation data of multiple monitoring variables during the operation of industrial equipment; In one specific embodiment, the historical observation data is represented as follows:
[0031] Where B represents the batch size, N represents the number of variables, and T represents the length of the historical observation window.
[0032] S2: Reorganize the multivariate time series data from a time perspective, divide the historical sequence of each variable into multiple time segments along the time dimension, and rearrange the time segments of different variables according to the Mamba scan direction to construct a variable-time segment token sequence; In one specific embodiment, the variable-time-segment token sequence is represented as follows:
[0033] Where P represents the number of time segments, and D represents the representation dimension of each time segment after mapping.
[0034] It should be noted that by recombining time segments that are far apart in the original sequence through step S2, a closer information transmission relationship can be formed in the new scanned sequence, which helps Mamba to capture lag dependencies, periodic changes, and cross-variable time segment associations.
[0035] S3: Encode the variable-time segment token sequence to obtain a time-perspective encoded representation; In one specific embodiment, the time perspective encoding is represented as:
[0036] in, This indicates a bidirectional Mamba transform on the time side. ; [] indicates concatenation along the relevant dimensions of the variables. This indicates the operations of flattening, rearranging, and sorting. This represents the encoding result obtained from a time perspective.
[0037] Specifically, the time-side bidirectional Mamba transformation employs a bidirectional state-space scanning mechanism. Unlike conventional unidirectional recursion along the original time axis, this mechanism performs two state propagations—one forward and one backward—on the variable-time segment token sequence reorganized by the time period segmentation module. The forward scan accumulates the influence of historical time segments on the current segment, while the backward scan allows the current state to incorporate contextual information from subsequent time segments. Through this bidirectional scanning strategy targeting industrial time series segment tokens, the bidirectional state-space scanning mechanism effectively captures long-range lag dependencies within monitoring variables, the inherent multi-period variation patterns of industrial load, and the correlation information between cross-variable time segments, significantly mitigating the problem of time information being weakened during unidirectional state propagation in long-sequence forecasting.
[0038] It should be noted that step S3 embodies the first core processing method of the present invention: instead of simply letting Mamba recursively advance along the original time axis, it first uses time segment recombination to change the state propagation path, and then enhances the time-dependent expression capability through bidirectional state space encoding.
[0039] S4: Perform adaptive component expansion of the time-perspective encoded representation from a variable perspective, and expand the representation of the feature variables into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation; In one specific embodiment, the method of performing adaptive component extension of the time-perspective encoded representation by expanding the representation of feature variables into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation includes: The time perspective encoding representation After reorganization, the characteristic variables are represented as follows:
[0040] The representation of the feature variables is extended into three learnable component channels through a parameterized decomposition network. The extended intermediate component representation satisfies:
[0041] The specific operations of the parameterized decomposition network include: Input The dimension is expanded to four dimensions And perform broadcast multiplication with the learnable parameter matrix [1, E], that is, use E learnable scalar parameters to perform element-wise scaling and modulation on the D-dimensional representation vector of the feature variable, thereby transforming the single representation of a variable [ D The expression [E,D] is expanded to represent E different components. The three component channels are used to express different temporal attributes that may exist in the variables, such as trend, periodicity, and residual information. Unlike manually pre-setting the decomposition of seasonal or trend terms, the component representation of this invention is learned from the model parameters, thus adapting to the differences in temporal attributes in different datasets.
[0042] S5: Perform adaptive routing selection on the multi-component variable representation, retain component information that matches the prediction task based on the current data features, and obtain the routed variable component representation; In a specific embodiment, the method for adaptively routing the multi-component variable representation and retaining component information that matches the prediction task based on the current data features to obtain the routed variable component representation includes: The routing weights are calculated based on the representations of the aforementioned feature variables. The routing results are then combined with the variable decomposition results. The resulting variable component representations satisfy the following:
[0043] Where AR(·) represents the adaptive routing function, and VD(·) represents the variable decomposition function. This represents the combined operation between the routing result and the variable decomposition result; The specific operations of the adaptive routing selection include: Represent the variable level Input a linear layer network, compress its last dimension D to dimension E, and then normalize it using the Softmax function. Take the index of the maximum value among the normalized probability values as the class label Y, where Y∈{0,1,2,…,E}; Generate a mask based on the value of the category label Y, preserving the representation of the intermediate components. The larger the value of the category label Y in the first E component channels, the more component channels are retained, indicating that the variable needs richer components to express its temporal characteristics.
[0044] It should be noted that through step S5, the model can reorganize the representation of the current variable according to the time, retain the components that are more relevant to the prediction task, and reduce the impact of redundant or interfering components on the subsequent variable fusion.
[0045] S6: After splicing the routed variable component representation with the original input projection representation, perform inter-variable information fusion to obtain the variable perspective encoding representation; In one specific embodiment, the variable perspective encoding representation satisfies:
[0046] in, This indicates a bidirectional Mamba transformation on the variable side. These are points collected from the raw data; Finally, the output will be... The data is then processed to ensure that the shape of the time-perspective encoding representation remains consistent. The final output of the variable-perspective encoding representation is as follows: .
[0047] Specifically, the bidirectional Mamba transformation on the variable side employs a bidirectional state-space scanning mechanism. Unlike the conventional unidirectional propagation that only propagates along the original variable order, this mechanism performs two state propagations—one along the forward order and the other along the reverse order—on the comprehensive representation obtained by concatenating the variable component representation after adaptive routing and the projection of the original input. The forward scan is used to accumulate the influence of preceding variables on the current variable, while the reverse scan enables the current variable to incorporate contextual information from subsequent variables. Through this bidirectional variable scanning strategy for industrial multivariate sequences, the interdependencies between different monitoring variables, the causal transmission mechanisms prevalent in industrial systems, and the dynamic correlation patterns between variables can be effectively captured, significantly improving the model's ability to model complex coupling relationships in industrial equipment.
[0048] S7: Integrate the representation of the feature variables with the variable perspective encoding representation, and output the multivariate prediction result for the future time window; In one specific embodiment, a method for fusing the representation of the feature variables with the variable perspective encoding representation to output multivariate prediction results for future time windows includes: Representation of the feature variables and the variable perspective encoding representation Each input is performed into the feedforward network for feature transformation; The two transformed coded representations are weighted and fused or concatenated to obtain a comprehensive predictive representation. The comprehensive prediction representation is input into the prediction head network, which outputs the predicted values of each variable within the future time window.
[0049] It should be noted that, through the above method, the final prediction result utilizes both the historical time structure information provided by the time perspective and the variable components and variable correlation information provided by the variable perspective.
[0050] Example 2 This embodiment provides an industrial multivariate time series forecasting system based on dual-view Mamba, the system comprising: The data acquisition module is used to acquire multivariate time series data, which includes historical observation data of multiple monitoring variables during the operation of industrial equipment; The time period segmentation module is used to reorganize the multivariate time series data from a time perspective, divide the historical sequence of each variable into multiple time segments along the time dimension, and rearrange the time segments of different variables according to the Mamba scan direction to construct a variable-time segment token sequence. A time-side bidirectional Mamba encoder is used to encode the variable-time segment token sequence and output a time-view encoded representation; Specifically, the time-side bidirectional Mamba encoder employs a bidirectional state-space scanning mechanism. Unlike conventional unidirectional recursion along the original time axis, this encoder performs two state propagations—one forward and one backward—on the variable-time segment token sequence reorganized by the time period segmentation module. The forward scan accumulates the influence of historical time segments on the current segment, while the backward scan allows the current state to incorporate contextual information from subsequent time segments. Through this bidirectional scanning strategy targeting industrial time series segment tokens, the encoder effectively captures long-distance lag dependencies within monitored variables, the inherent multi-period variation patterns of industrial load, and the correlation information between cross-variable time segments, significantly mitigating the problem of time information being weakened during unidirectional state propagation in long-sequence prediction.
[0051] An adaptive variable segmentation module is used to perform adaptive component expansion of the time-perspective encoded representation from a variable perspective. The representation of the feature variables is expanded into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation. Adaptive routing selection is performed on the multi-component variable representation to retain component information that matches the prediction task based on the current data features, thereby obtaining a routed variable component representation. A variable-side bidirectional Mamba encoder is used to concatenate the routed variable component representation with the original input projection representation and then fuse the information between variables to obtain a variable perspective encoded representation; Specifically, the variable-side bidirectional Mamba encoder employs a bidirectional state-space scanning mechanism. Unlike conventional unidirectional propagation that only follows the original variable order, this encoder performs two state propagations—one along the forward order and the other in the reverse order—on the comprehensive representation obtained by concatenating the variable component representation after adaptive routing and the projection of the original input. The forward scan accumulates the influence of preceding variables on the current variable, while the reverse scan allows the current variable to incorporate contextual information from subsequent variables. Through this bidirectional variable scanning strategy for industrial multivariate sequences, the encoder effectively captures the interdependencies between different monitored variables, the causal transmission mechanisms prevalent in industrial systems, and the dynamic correlation patterns between variables, significantly improving the model's ability to model complex coupling relationships in industrial equipment.
[0052] The fusion prediction module is used to fuse the representation of the feature variables with the variable perspective encoding representation, and output the multivariate prediction result for the future time window.
[0053] Example 3 This embodiment provides a computer device, including a storage medium, a processor, and a computer program stored in the storage medium and executable by the processor. When the computer program is executed by the processor, it implements the steps of the industrial multivariate time series forecasting method based on dual-view Mamba described in Embodiment 1.
[0054] Example 4 This embodiment verifies and analyzes the method described in Embodiment 1, more specifically: This invention was tested on nine real multivariate time series datasets, including four ETT series datasets, Electricity, Exchange, Traffic, Weather, and Solar-Energy. In the experiments, iTransformer, PatchTST, DLinear, and S-Mamba were used as comparison methods. A consistent historical window of W=96, prediction length T∈{96,192,336,720}, segment size P=32, and step size S=16 were used.
[0055] Experiment A: Result Comparison As shown in Table 1, the experimental results demonstrate that CrossCutter performs stably on nine datasets, achieving superior results on the ETT system dataset and on highly periodic datasets such as Traffic, Electricity, and Solar-Energy. In the overall comparison, it achieves four best and five second-best MAE results. These results indicate that the temporal perspective of reorganization and the variable perspective of component modeling can synergistically enhance the model's adaptability to different data characteristics.
[0056] Table 1: Average experimental results of different models on 9 datasets
[0057] Experiment B: Ablation Analysis As shown in Table 2, the ablation experiments were conducted on the ETTm2, Weather, and Electricity datasets. Removing TPC, AVC, and adaptive routing sequentially all resulted in a decrease in model performance. The degradation was most pronounced on the Electricity dataset after removing TPC, and on the Weather dataset after removing AVC. Removing adaptive routing, however, indicates that the component selection mechanism plays a crucial role in modeling complex temporal attributes.
[0058] Table 2: CrossCutter Ablation Experiment Results
[0059] In summary, this invention proposes a dual-perspective Mamba-based method for industrial multivariate time series forecasting, addressing the shortcomings of existing Mamba-based time series forecasting methods that struggle to fully represent lags, periods, trends, and dynamic heterogeneity when directly scanning the original sequence or performing simple axis transpositions. Specifically, this invention uses a time period segmentation module to fragment and reassemble historical sequences from a time perspective, enabling the model to better capture lag dependencies, periodic variations, and cross-variable time segment correlations within variables. An adaptive variable segmentation module expands the time-side representation with learnable components from a variable perspective, and adaptive routing preserves component information matching current data features. Finally, bidirectional Mamba on the variable side and a prediction head fuse the encoding results from both the time and variable perspectives to output multivariate predicted values for future time windows. Experimental results demonstrate that this invention exhibits good prediction performance and adaptability on multiple real-world multivariate time series datasets, providing an effective solution for applying Mamba-based models to complex time series forecasting scenarios.
[0060] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the implementation of the present invention. Those skilled in the art can make other variations or modifications based on the above description. It is neither necessary nor possible to exhaustively describe all embodiments here. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the claims of the present invention.
Claims
1. A method for forecasting industrial multivariate time series based on dual-view Mamba, characterized in that, Includes the following steps: Acquire multivariate time series data, which includes historical observation data of multiple monitoring variables during the operation of industrial equipment; The multivariate time series data is reorganized from a time perspective. The historical sequence of each variable is divided into multiple time segments along the time dimension, and the time segments of different variables are rearranged according to the Mamba scan direction to construct a variable-time segment token sequence. The variable-time segment token sequence is encoded to obtain a time-perspective encoded representation; The temporal perspective encoding representation is extended by a variable perspective adaptive component expansion, and the representation of the feature variables is extended into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation. Adaptive routing is performed on the multi-component variable representation, and component information that matches the prediction task is retained based on the current data features to obtain the routed variable component representation; The routed variable component representation is concatenated with the original input projection representation, and then the information between variables is fused to obtain the variable perspective encoding representation; By integrating the representation of the feature variables with the variable perspective encoding representation, a multivariate prediction result for the future time window is output.
2. The industrial multivariate time series forecasting method based on dual-view Mamba as described in claim 1, characterized in that, The historical observation data is represented as follows: Where B represents the batch size, N represents the number of variables, and T represents the length of the historical observation window.
3. The industrial multivariate time series forecasting method based on dual-view Mamba as described in claim 2, characterized in that, The variable-time-segment token sequence is represented as follows: Where P represents the number of time segments, and D represents the representation dimension of each time segment after mapping.
4. The industrial multivariate time series forecasting method based on dual-view Mamba as described in claim 3, characterized in that, The time perspective encoding is represented as follows: in, This indicates a bidirectional Mamba transform on the time side. ; [] indicates concatenation along the relevant dimensions of the variables. This indicates the operations of flattening, rearranging, and sorting. This represents the encoding result obtained from a time perspective.
5. The industrial multivariate time series forecasting method based on dual-view Mamba as described in claim 4, characterized in that, The method for performing adaptive component extension of the time-perspective encoded representation from a variable perspective, and extending the representation of the feature variables into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation includes: The time perspective encoding representation After reorganization, the characteristic variables are represented as follows: The representation of the feature variables is extended into E learnable component channels through a parameterized decomposition network. The extended intermediate component representations satisfy the following: The specific operations of the parameterized decomposition network include: Input The dimension is expanded to four dimensions And it performs broadcast multiplication with the learnable parameter matrix [1,E], that is, it uses E learnable scalar parameters to scale and modulate the D-dimensional representation vector of the feature variable element by element, thereby expanding the single representation [D] of a variable into E different component representations [E,D].
6. The industrial multivariate time series forecasting method based on dual-view Mamba as described in claim 5, characterized in that, The method for adaptively routing the multi-component variable representation, and retaining component information that matches the prediction task based on the current data features, to obtain the routed variable component representation includes: The routing weights are calculated based on the representations of the aforementioned feature variables. The routing results are then combined with the variable decomposition results. The resulting variable component representations satisfy the following: Where AR(·) represents the adaptive routing function, and VD(·) represents the variable decomposition function. This represents the combined operation between the routing result and the variable decomposition result; The specific operations of the adaptive routing selection include: Represent the variable level Input a linear layer network, compress its last dimension D to dimension E, and then normalize it using the Softmax function. Take the index of the maximum value among the normalized probability values as the class label Y, where Y∈{0,1,2,…,E}; Generate a mask based on the value of the category label Y, preserving the representation of the intermediate components. The larger the value of the category label Y in the first E component channels, the more component channels are retained, indicating that the variable needs richer components to express its temporal characteristics.
7. The industrial multivariate time series forecasting method based on dual-view Mamba as described in claim 6, characterized in that, The variable perspective encoding represents the following: in, This indicates a bidirectional Mamba transformation on the variable side. These are points collected from the raw data; Finally, the output will be... The data is then processed to ensure that the shape of the time-perspective encoding representation remains consistent. The final output of the variable-perspective encoding representation is as follows: 。 8. The industrial multivariate time series forecasting method based on dual-view Mamba as described in claim 7, characterized in that, A method for fusing the representations of the feature variables with the variable perspective encoding representations to output multivariate prediction results for future time windows includes: Representation of the feature variables and the variable perspective encoding representation Each input is performed into the feedforward network for feature transformation; The two transformed coded representations are weighted and fused or concatenated to obtain a comprehensive predictive representation. The comprehensive prediction representation is input into the prediction head network, which outputs the predicted values of each variable within the future time window.
9. An industrial multivariate time series forecasting system based on dual-view Mamba, characterized in that, The system includes: The data acquisition module is used to acquire multivariate time series data, which includes historical observation data of multiple monitoring variables during the operation of industrial equipment; The time period segmentation module is used to reorganize the multivariate time series data from a time perspective, divide the historical sequence of each variable into multiple time segments along the time dimension, and rearrange the time segments of different variables according to the Mamba scan direction to construct a variable-time segment token sequence. A time-side bidirectional Mamba encoder is used to encode the variable-time segment token sequence and output a time-view encoded representation; An adaptive variable segmentation module is used to perform adaptive component expansion of the time-perspective encoded representation from a variable perspective. The representation of the feature variables is expanded into multiple learnable component channels through a parameterized decomposition network to obtain a multi-component variable representation. Adaptive routing selection is performed on the multi-component variable representation to retain component information that matches the prediction task based on the current data features, thereby obtaining a routed variable component representation. A variable-side bidirectional Mamba encoder is used to concatenate the routed variable component representation with the original input projection representation and then fuse the information between variables to obtain a variable perspective encoded representation; The fusion prediction module is used to fuse the representation of the feature variables with the variable perspective encoding representation, and output the multivariate prediction result for the future time window.
10. A computer device, characterized in that: The method includes a storage medium, a processor, and a computer program stored in the storage medium and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of a dual-view Mamba-based industrial multivariate time series forecasting method as described in any one of claims 1 to 8.
Citation Information
Patent Citations
A long-term time series forecasting method based on dual-path Mamba for data processing
CN119557605B
