---
title: Multi-Scale Decomposable Mixing (MDM)
url: https://www.emergentmind.com/topics/multi-scale-decomposable-mixing-mdm
type: topic
---

# Multi-Scale Decomposable Mixing (MDM)

Searching arXiv for the cited MDM papers and closely related work.
arXiv.search query: id:2509.24700 OR id:2406.03751 OR id:2505.08199 OR id:2405.14616
Multi-Scale Decomposable Mixing (MDM) denotes a family of multiscale representation mechanisms for temporal data in which an input sequence is decomposed into multiple resolutions and then re-mixed through learnable mappings so that coarse and fine temporal structure can be used jointly. In recent arXiv literature, the term appears explicitly in time-series forecasting and sEEG-based speech decoding, and it is also closely aligned with decomposable multiscale mixing formulations such as TimeMixer’s Past-Decomposable-Mixing and Future-Multipredictor-Mixing blocks. Across these instantiations, the recurring idea is to construct a temporal pyramid by repeated average pooling or granularity-specific predictors, then propagate information across scales through residual MLP-style transformations, often before downstream dependency modeling or inference-time adaptation [2406.03751] [2509.24700] [2405.14616].

## 1. Scope of the concept and major instantiations

MDM is not presented as a single canonical block across the literature. In the AMD framework for time series forecasting, MDM sits at the entrance of the model and “peel[s] apart a raw multivariate time series into its constituent temporal patterns at different resolutions and then re-stitch[es] them into an enhanced residual representation” [2406.03751]. In the sEEG speech-decoding framework, the Multi-Scale Decomposable Mixing module likewise sits “at the very front of the network” and extracts “a hierarchy of temporal features from the raw multi-channel sEEG time series” before tokenization and Transformer processing [2509.24700]. TimeMixer describes a related decomposable multiscale mechanism in which seasonal and trend components are mixed in opposite directions across scales, and MDMixer extends the multiscale idea through dual-branch decomposition, parallel predictors, iterative mixing, and channel-adaptive weighting [2405.14616] [2505.08199].

| Setting | Scale construction | Distinctive mechanism |
|---|---|---|
| AMD [2406.03751] | Repeated average downsampling with factor $d$ | Channel-wise top-down residual MLP mixing |
| sEEG speech decoding [2509.24700] | Three-level temporal pyramid via 1-D average pooling | Low-rank residual MLP hierarchy before Transformer |
| TimeMixer [2405.14616] | Iterated average-pooling by factor $2$ | Seasonal fine$\rightarrow$coarse and trend coarse$\rightarrow$fine mixing |
| MDMixer [2505.08199] | Parallel multi-granularity forecasting heads | Iterative coarse$\rightarrow$fine fusion with channel-wise gating |

This suggests that MDM is best understood as a design pattern centered on explicit multiscale temporal factorization and re-composition, rather than as a fixed, universally standardized operator.

## 2. Core computational pattern: temporal pyramids and residual remixing

A minimal MDM formulation begins from a temporal pyramid. In AMD, with input history $X \in \mathbb{R}^{C \times L}$, the model performs an $h$-level decomposition with downsampling factor $d$. Channel-wise, $\tau_1^{(c)} = x^{(c)} \in \mathbb{R}^{L}$ and, for $i = 2,\dots,h$,
$$
\tau_i^{(c)} = \mathrm{AvgPool}_d(\tau_{i-1}^{(c)}) \in \mathbb{R}^{\lfloor L/d^{i-1} \rfloor}.
$$
Top-down residual mixing then updates
$$
\tau_i^{(c)} \leftarrow \tau_i^{(c)} + \mathrm{MLP}_i(\tau_{i+1}^{(c)}), \qquad i=h-1,h-2,\dots,1,
$$
and the finest-scale output $u^{(c)} = \tau_1^{(c)}$ is stacked into $U \in \mathbb{R}^{C \times L}$ [2406.03751].

The sEEG formulation is structurally similar but expressed in matrix form. For one trial, the preprocessed multi-channel signal is $\tau^1 \in \mathbb{R}^{T \times C}$. A pyramid of $H$ scales $\{\tau^1,\tau^2,\dots,\tau^H\}$ is formed using 1-D average pooling along the time axis,
$$
\tau^i = \mathrm{AvgPool}(\tau^{i-1}; k,s), \qquad i=2,\dots,H,
$$
with kernel size $k=2$ and stride $s=2$ by default. Mixed features $\xi^i$ are defined by
$$
\xi^H = \tau^H, \qquad \xi^i = \tau^i + \mathrm{MLP}_r(\xi^{i+1}), \quad i=H-1,\dots,1,
$$
where
$$
\mathrm{MLP}_r(x) = W_2 \cdot \mathrm{GELU}(W_1 \cdot x + b_1) + b_2.
$$
Here $W_1 \in \mathbb{R}^{(rC)\times C}$ and $W_2 \in \mathbb{R}^{C \times (rC)}$, so the MLP preserves the channel dimension at each time step; in the reported implementation, $C=192$ after an initial $1\times1$ projection and $r=0.25$, giving inner dimension $rC=48$ [2509.24700].

Several implementation choices recur in these formulations. Average pooling supplies the scale hierarchy; residual additions preserve fine-scale signals while injecting coarse-scale context; and the mixing blocks are intentionally lightweight. In AMD, each $\mathrm{MLP}_i$ is a two-layer feedforward network with hidden dimension matching its input length. In the sEEG module, the MLP is low-rank, two-layer, uses GELU, has no dropout, employs no dilation, and includes no positional encoding inside MDM because position is handled afterward by the Transformer. The sEEG paper further states that no additional gating or explicit normalization is employed inside MDM beyond any batch-norm or layer-norm already configured inside the linear layers [2406.03751] [2509.24700].

## 3. Extensions of MDM: decomposition, directional mixing, and adaptive fusion

Some MDM-family models move beyond a plain temporal pyramid and embed decomposition directly into the multiscale operator. TimeMixer first forms $M+1$ scales by iterated average pooling. At each scale $m$ and layer $\ell$, it decomposes the scale-specific feature $x_m^\ell(t) \in \mathbb{R}^d$ into trend and seasonal components by a moving-average filter:
$$
t_m^\ell(t) = \frac{1}{2\omega+1}\sum_{j=-\omega}^{\omega} x_m^\ell(t+j), \qquad
s_m^\ell(t) = x_m^\ell(t) - t_m^\ell(t).
$$
Its Past-Decomposable-Mixing block then performs seasonal mixing in the fine-to-coarse direction,
$$
s_m^\ell \leftarrow s_m^\ell + \mathrm{BU}_m(s_{m-1}^\ell),
$$
and trend mixing in the coarse-to-fine direction,
$$
t_m^\ell \leftarrow t_m^\ell + \mathrm{TD}_m(t_{m+1}^\ell),
$$
before residual fusion through a channel-wise feed-forward layer [2405.14616].

MDMixer introduces a different elaboration. It begins with reversible instance normalization (RevIN), then extracts trend and seasonal components by a moving-average filter,
$$
X^t = \mathrm{AvgPool}(\mathrm{Padding}(X)), \qquad X^s = X - X^t,
$$
and routes them into separate “Linear-based” and “MLP-based” subnetworks. It divides each branch into patches, embeds them, and uses a Multi-Granularity Parallel Predictor (MPP) to produce scale-specific forecasts of lengths $G_i = g \cdot i$ with base granularity unit $g = F/H$. These are fused through a Multi-Granularity Iterative Mixer (MIM),
$$
Y_i^s = Z_i^s + M_i^s(Y_{i-1}^s), \qquad
Y_i^t = Z_i^t + M_i^t(Y_{i-1}^t), \qquad
Y_i = Y_i^s + Y_i^t,
$$
and then combined by an Adaptive Multi-Granularity Weighting Gate (AMWG) whose weights are normalized channel-wise across heads by softmax [2505.08199].

These variants clarify that “decomposable” in MDM can refer to at least two related operations. In AMD and the sEEG model, decomposition primarily means explicit multiresolution factorization followed by top-down remixing. In TimeMixer and MDMixer, decomposition is strengthened by separating trend and seasonal structure and, in MDMixer, by allowing channel-specific weighting of granularities. A plausible implication is that later MDM-family systems treat multiscale mixing not merely as hierarchical resampling, but as a controlled interaction among heterogeneous temporal components.

## 4. Role within end-to-end architectures

In AMD, MDM is the front-end module and produces the enriched feature map $U \in \mathbb{R}^{C \times L}$. That output is passed to the Dual Dependency Interaction (DDI) block, which chops $U$ into patches along the time axis, applies temporal MLPs and optional cross-channel MLPs scaled by $\beta$, and re-assembles the result into $V \in \mathbb{R}^{C \times L}$. Adaptive Multi-predictor Synthesis (AMS) then uses each channel’s $U[c]$ to compute selector weights through a noisy-gating TopK+Softmax network and uses $V[c]$ as inputs to an array of $m$ small predictors, yielding the final forecast $\hat y^{(c)} = \sum_{j=1}^m S_j \cdot \mathrm{Predictor}_j(V[c])$ [2406.03751].

In the sEEG speech-decoding framework, the finest-scale mixed feature $\xi^1 \in \mathbb{R}^{T \times C}$ is the direct output of MDM. The model then chops $\xi^1$ into fixed-length, non-overlapping temporal patches of length $p=16$ samples, projects each patch to a 512-dimensional token, adds a learnable class token, and feeds the sequence into an 8-layer Transformer encoder. All normalization layers across the network, including those inside $\mathrm{MLP}_r$ if present, are subject to source-free online test-time adaptation via Tent. At inference time, only the affine parameters $(\gamma,\beta)$ of each norm layer are updated to minimize prediction entropy,
$$
H(p) = -\sum_c p_c \log p_c,
$$
so that MDM’s feature statistics can shift slightly to match the test distribution without modifying other weights [2509.24700].

TimeMixer places multiscale decomposition and remixing at the core of both past extraction and future prediction. After $L$ PDM layers operate on the multiscale set $X^{L} = \{x_0^L,\dots,x_M^L\}$, the model attaches one small predictor per scale,
$$
\hat y_m = \mathrm{Predictor}_m(x_m^L) \in \mathbb{R}^{F \times C},
$$
and sums them to obtain the final forecast,
$$
\hat y = \sum_{m=0}^{M} \hat y_m.
$$
The Future-Multipredictor-Mixing block is therefore not separate from the multiscale philosophy; it is the forecasting-stage counterpart that aggregates complementary predictive capabilities from fine and coarse observations [2405.14616].

## 5. Objectives, supervision, and implementation regimes

MDM itself is commonly trained without an MDM-specific auxiliary loss. In the sEEG model, there is no separate $\mathcal{L}_{\mathrm{MDM}}$ term. The full network is trained end-to-end with standard cross-entropy for word classification,
$$
\mathcal{L}_{\mathrm{CE}} = -\sum_{t=1}^{N} y_t \cdot \log p_t,
$$
plus a layer-wise self-distillation regularizer from Zhang et al. 2021,
$$
\mathcal{L}_{\mathrm{SD}} = \sum_{\ell=1}^{L-1} \mathrm{KL}\!\left(\mathrm{softmax}(z^{(\ell)}/T_s)\,\|\,\mathrm{softmax}(z^{(L)}/T_s)\right).
$$
The MDM-specific hyperparameters are fixed throughout the reported experiments: $H=3$ scales, pooling window and stride both equal to $2$, channel dimension $192$ after the initial projection, bottleneck ratio $r=0.25$, and no positional encoding inside MDM [2509.24700].

AMD likewise treats MDM as a purely feed-forward representational stage rather than as a separately supervised module. The paper states that layer normalization is applied downstream in DDI, and that inserting batch- or layer-norm inside MDM was found unnecessary. Its emphasis is architectural: MDM provides a multi-scale residual representation that downstream blocks exploit for dependency modeling and adaptive synthesis [2406.03751].

MDMixer adopts a more explicitly multi-output supervision scheme. With final prediction $\hat Y_{\mathrm{final}} \in \mathbb{R}^{C \times F}$ and ground truth $Y^\* \in \mathbb{R}^{C \times F}$, the primary loss is
$$
L_{\mathrm{main}} = \|\hat Y_{\mathrm{final}} - Y^\*\|_1.
$$
Each intermediate scale is aligned with a downsampled target through
$$
L_{\mathrm{align}}^i = \|Y_i - Y_i^\*\|_1,
$$
and the total loss is
$$
L_{\mathrm{total}} = L_{\mathrm{main}} + \alpha \cdot \frac{1}{H}\sum_{i=1}^{H} L_{\mathrm{align}}^i,
$$
with $\alpha=0.01$ by default. The training setup uses AdamW with learning rate $10^{-2}$ or $10^{-3}$, look-back $T=96$, horizons $F \in \{96,192,336,720\}$, hidden size $64$ or $128$ on large datasets, patch length $P=32$, stride $16$, $H=8$ heads, and reports the mean over three runs with different seeds [2505.08199].

TimeMixer uses an $L_2$ loss on the final forecast, Adam optimization, learning rate approximately $10^{-2}$ for long-term forecasting or $10^{-3}$ for short-term forecasting, batch size $8$–$128$, and $10$–$50$ epochs. Its description states that there is no extra gating or normalization beyond standard weight decay, and inference is a single forward pass outputting $\hat y$ [2405.14616].

## 6. Empirical evidence, ablations, and interpretive issues

The strongest direct evidence for the utility of MDM comes from ablation studies that isolate or partially isolate the multiscale mixing component. In the sEEG benchmark, evaluated in a strict subject-dependent setting on the 12-subject DU-IN benchmark, the DU-IN baseline achieves a mean accuracy of $52.02\%$ on subjects 06–12. Adding self-distillation raises this to $54.03\%$; adding MDM together with self-distillation yields $57.63\%$; and the full system with Tent reaches $61.28\%$. For subject 10, performance rises from $27.02\%$ for DU-IN to $37.89\%$ for the full MDM-Tent pipeline, with roughly $+5.6$ absolute points ascribed to MDM alone in the $+\mathrm{SD}+\mathrm{MDM}$ ablation. The paper further states that, in the full 12-subject average, “MDM-Tent” outperforms “DU-IN” by $4$–$10\%$ absolute on nearly every subject [2509.24700].

AMD reports a sensitivity study on ETTm1 in which removing MDM by setting the number of downsampling layers $h=0$ yields MSE values $\{0.292, 0.333, 0.371, 0.431\}$ for forecast horizons $T=\{96,192,336,720\}$. Introducing $h=3, d=2$ lowers these to $\{0.283, 0.322, 0.360, 0.421\}$, a relative reduction of $2$–$4\%$. As a plugin study, adding MDM + AMS to DLinear and MTS-Mixers on Weather reduces average MSE by $6.46\%$ for DLinear and by $1.38\%$ for MTS-Mixers, while memory and per-iteration training time remain “virtually unchanged.” The complete AMD system is reported to train in $17$ ms/iter and use $1.35$ GB on Weather $(L=512, T=96)$ [2406.03751].

MDMixer reports that, on eight standard LTSF benchmarks, it reduces MAE by $4.64\%$ over TimeMixer and by $4.10\%$ over iTransformer, with average MSE improvement of $2.50\%$ and MAE improvement of $4.64\%$ compared to TimeMixer. In a dual-branch ablation, grafting its MLP trend branch onto DLinear yields an extra approximately $6.3\%$ MSE gain, while analogous grafts for RLinear and NLinear yield $4$–$5\%$ gains. An ablation of MPP, MIM, AMWG, and the alignment loss on ETTm1 and Weather shows that removing any component degrades MSE/MAE by $10$–$25\%$. Its interpretability analysis on Electricity visualizes a sparse $W \in \mathbb{R}^{H \times C}$ matrix in which most channels place heavy weight on head $1$ and head $H$, while different channels emphasize different intermediate heads [2505.08199].

TimeMixer reports average benchmark improvements including Solar-Energy MSE $0.216$ with a $-24.7\%$ change versus PatchTST $0.287$, Weather MSE $0.240$ with a $-9.4\%$ change versus PatchTST $0.265$, ETTm1 MSE $0.381$ versus PatchTST $0.406$, PEMS03 MAE $14.63$ versus SCINet $15.97$, and M4 weighted OWA $0.840$ versus TimesNet $0.851$. Its efficiency discussion states that, because each PDM mixing and Predictor is a small MLP of size $O(T_m \cdot d^2)$ and $\sum_m T_m = O(P)$, TimeMixer scales as $O(P \cdot d^2)$ in time and memory; on ETTh1 with $P=192$, it uses approximately $1$ GiB GPU versus PatchTST approximately $1.9$ GiB, and $0.007$ s/it versus $0.018$ s/it. Ablations report that removing FMM raises error by approximately $10$–$15\%$, removing BU or TD mixing also degrades performance by $10$–$25\%$, and reversing the mixing directions fails [2405.14616].

Two recurring interpretive points follow from these results. First, MDM is repeatedly associated with robustness to heterogeneous temporal structure, whether phrased as “stable multi-timescale representations” in sEEG decoding or as disentangling “slow, large-magnitude trends and faster, higher-frequency fluctuations” in forecasting [2509.24700] [2406.03751]. Second, the empirical record does not support the misconception that multiscale decomposition alone is sufficient. The highest-performing systems combine MDM-style mixing with additional mechanisms such as self-distillation and Tent in sEEG, DDI and AMS in AMD, FMM in TimeMixer, or AMWG and alignment loss in MDMixer. In that sense, the literature presents MDM as a foundational front-end or backbone principle whose effect is amplified by complementary modules rather than as an isolated universal solution.

Source: https://www.emergentmind.com/topics/multi-scale-decomposable-mixing-mdm