Toy example of the proposed method
We understand that DSSM might be relatively new to some reviewers, having been proposed only a few years ago and primarily applied to sequential data. However, it is a well-established attention-drawing network rooted in linear system theory, demonstrating superior performance on sequences with continuous properties. Similar to how other works have developed structured pruning for specific models like the diffusion model (G. Fang et al. [2023]), our work offers a network optimization method tailored to DSSMs.
To illustrate DSSM and its pruning, we present an explicit time-domain toy example evaluating state importance. Consider a simple single-input single-output (SISO) system with a four-dimensional state vector parameterized and trained in a DSSM layer. The numerical values in the matrices represent the layer’s training parameters, totaling 12 in this example.
**Example system of a DSSM layer**
$x_{k+1}=\begin{bmatrix}0.9&&& \\\ &0.7&& \\\ &&0.5& \\\ &&&0.3\end{bmatrix}x_k+\begin{bmatrix}1 \\\ 1 \\\ 1 \\\ 1 \end{bmatrix}u_k$
$y_{k}=\begin{bmatrix}1&1&1&1\end{bmatrix}x_k$
Assuming the input consistently comes in as 1 and $x_{-1}=[0,0,0,0]$, the state and output of the given system would be as follows:
| | Input $u_k$ | State $x_k$ | Output $y_k$ |
| - | - | - | - |
| $k=0$ | $1$ | $[1,1,1,1]$ | $4$ |
| $k=1$ | $1$ | $[1.9,1.7,1.5,1.3]$ | $6.4$ |
| $k=2$ | $1$ | $[2.71,2.19,1.75,1.39]$ | $8.04$ |
As the state-output matrix is $[1,1,1,1]$, the state directly contributes to the output. Although the diagonal terms $\lambda_i$ are linear, e.g., 0.9, 0.7, 0.5, 0.3, their contributions to the output show nonlinear differences, e.g., 2.71, 2.19, 1.75, 1.39. This nonlinearity occurs because each state component, influenced by the diagonal term, decays at different rates, leading to varying impacts on the output.
Thus, we learn that the magnitude of $\lambda_i$ alone cannot fully determine the relative importance of each state. When the $B$ and $C$ matrices vary from this simple example, their effects must also be considered. Moreover, since DSSM processes sequence data, not one-shot data, the analysis of how the model processes data can be more intuitive and comprehensive in the frequency domain. As explained in the Response to Reviewer y832, the $\mathcal{H}\_{\infty}$ norm measures the maximum frequency-domain gain of each subsystem, and the proposed method even considers the contribution of each layer to the entire model.
Specifically, $\mathcal{H}\_{\infty}$ and LAST scores can evaluate the importance of each state (subsystem) in the previous example system, as follows:
| State | $\mathcal{H}\_{\infty}$ score | LAST score |
| - | - | - |
| $\lambda_0$ | $(1\cdot 1)/(1-0.9)^2=100$ | $100/100=1$ |
| $\lambda_1$ | $(1\cdot 1)/(1-0.7)^2=11.11$ | $11.11/(11.11+100)=0.099$ |
| $\lambda_2$ | $(1\cdot 1)/(1-0.5)^2=4$ | $4/(4+11.11+100)=0.034$ |
| $\lambda_3$ | $(1\cdot 1)/(1-0.3)^2=2.04$ | $2.04/(2.04+4+11.11+100)=0.017$ |
For both methods, insignificant states can be identified by their smaller scores, allowing us to prune the corresponding parameters. Although not explicitly demonstrated in this example, the LAST score is particularly useful when dealing with multiple DSSM layers, as it enables the comparison of states across different layers by evaluating the relative contribution of each subsystem to the entire model.
Consequently, by pruning the two insignificant states (i.e., pruning 6 corresponding parameters), the resulting pruned DSSM reduces the total number of parameters by 6, as shown below.
$x_{k+1}=\begin{bmatrix}0.9& \\\ &0.7\end{bmatrix}x_k+\begin{bmatrix}1 \\\ 1\end{bmatrix}u_k$
$y_{k}=\begin{bmatrix}1&1\end{bmatrix}x_k$
---
G. Fang et al. Structural pruning for diffusion models. In *Advances in Neural Information Processing Systems*, 2023.