- Rating
- 5
- Clarity
- 2
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper merges Generalized Teacher Forcing (GTF) with the Parallel Associative Scan approach of the recently proposed DEER algorithm. The goal is to combine the long-sequence scalability of DEER with the chaotic robustness of GTF. In practice, the method focuses on avoiding exploding gradients by damping the Jacobian in DEER's root-finding Newton subroutine.
Strengths and weaknesses
Strengths
- Training with long sequences is a popular and timely problem.
- Learning potentially chaotic dynamical systems may have a great impact on several scientific domains.
- I like the core original idea of using mixing prediction and teacher states to create a Jacobian-damping projector.
Weaknesses
- DEER remains infeasible for large because inverting the Jacobian matrix explicitly is infeasible for large . The key computational advantages are obtained by imposing a block-diagonal structure on the Jacobian. It is unclear if the proposed approach also needs such a structure. The authors should clarify this point better. They may also specify if there is a connection between the block-diagonal structure of the Jacobian used in the Newton root-finding iterations and the diagonal re-parametrization of the recurrence comes at a cost.
- Time complexity gains are on average. The authors do not address the problem of bad worst-case scenarios. In particular, they may clarify how chaoticity relates to the probability of diverging Newton iterations.
Questions
- Is the observation that the diagonal re-parametrization of the recurrence comes at a cost [...] and often prevents the model from learning accurate nonlinear dynamics new? In the paper, is this only shown by the experiment in Section 5.4? How does this relate to the proposed method?
- How does the structure of the Jacobian in the Newton root-finding iterations relate to the structure of the recursion matrix?
- What happens if a chaotic model is trained with DEER without GTF? Does this increase the average or worst-case convergence time? And what can be said about the average and worst-case runtimes of the proposed GTF-DEER combination? Are these and as for DEER?
- The proposed method focuses on nonlinear recurrence. What are the aims of introducing LSSM in Section 3.1.1? The teacher signal, , is observable in that case, while needs to be inferred in Eq. 6. Is this correct? How is obtained for general observation models? How is the invertibility of G guaranteed?
- Can physical models have exploding or vanishing gradients for causes unrelated to chaos? Does the proposed approach mitigate those effects, too?
- How are low-rank constraints manually enforced? Does this require a block-diagonal structure of the recurrence matrix?
Limitations
Yes, the authors outline the main limitations of their work in a dedicated section.
Paper formatting concerns
No
Final justification
I am happy with the authors' response and will keep my acceptance score.
We are most grateful for the referee's strong support and the important issues raised, requiring further clarification in the to-be-revised manuscript.
Weaknesses:
W1 (block-diagonal structure of Jacobians): Since RNNs in DSR are usually first-order Markov (a mathematical necessity for any model that aims to approximate the flow map of an underlying DS), the block-diagonal structure across T which makes DEER particularly efficient is naturally given qua model definition. This we will clarify in the revision. Regarding the other point, we assume the referee specifically means using diagonal Jacobians during the Newton iterations (quasi-DEER). For quasi-DEER, the block-diagonal structure of the residual Jacobian (Jr∈RTM×TM) remains, while model Jacobians JF∈RM×M on the sub-diagonal are now reduced to their diagonal diag(J)∈RM. While this speeds up individual Newton iterations, many more Newton iterations in total are now required for convergence (cf. Sect. 5.2, [1]) and the resulting gradients are only approximations of the true gradient (see Appx. D). We further show that this can lead to problems in terms of DSR performance in Sect. 5.2. However, the sentence the referee is referring to "[...] diagonal re-parametrization of the recurrence comes at a cost [...]." (see also reply to Q1), regards linear/structured SSMs, which we compare to in Sect. 5.4. For more details on this, please see our response to Q1.
W2 (time-complexity for worst case scenarios and chaoticity): For chaotic systems, loss gradients and therefore likewise the Jacobian norms in Eq. 14 will always necessarily diverge if left uncontrolled [2], which is precisely what GTF amends (see Appx. B,D). Hence, training a chaotic model only through DEER without GTF will lead to the worst-case convergence time of O(TlogT) (cf. [3]), and, moreover, will not produce any valid reconstructions on chaotic systems. The effect on convergence is implicit in Fig. 1B, since for α=0 (Eq. 6, 8), the model is effectively evaluated using only DEER. Regarding average and worst-case convergence times, the referee is correct that GTF-DEER inherits the scaling of DEER: If α is correctly determined such that the Jacobians converge, GTF-DEER enjoys O((logT)2) scaling, whereas too small values of α lead to Jacobian divergence and hence to the worst-case scaling of DEER of O(TlogT) (and at the same time to failed reconstructions). This is exactly the effect shown in Fig. 1B. We will make this more explicit in our revision.
Questions:
Table R3: LSSM parameterization comparison on the forced Lorenz-96 data set. DstspDE values denote mean ± SEM.
Q2 (relation between Jacobians in Newton iterations and recursion matrix): In the Newton root-finding, the model Jacobians (which govern the recursions locally), occur as the sub-diagonal blocks across time steps in the full residual Jacobian, Eq. 40. Hence, their structure is intimately related, as we will point out in the manuscript.
Q3 (training DEER without GTF): In essence, training on a chaotic DS using DEER but without GTF is hardly possible, as it always, inevitably will lead to diverging loss gradients as a consequence of the positive max. Lyapunov exponent in these systems (cf. [2]). So it is not just a matter of convergence time, but whether any useful reconstructions can be obtained at all. While this is theoretically proven [2], we will include an example in the revision which illustrates this divergence of loss gradients for DEER explicitly. Regarding convergence times, please see our reply to W2.
Q4 (aims of introducing LSSMs and observation model): LSSMs constitute the basic reference case here, as this is the class of RNN-type (recursive) models most widely used for computational efficiency. Since they are formulated as non-autonomous systems with nonlinear input gating, during runtime they can still emulate nonlinear DS despite the linear recursions in training, see Eq. 4. And yes, in LSSMs trained for DSR, the observations would be fed in directly, which however makes the implicit assumption that the observation model G is the identity (otherwise the inversion problem would be the same as in our GTF-DEER procedure, as the observations would need to be fed in as G−1(x) to project them into the model's latent space!). For RNNs trained through GTF, G does not need to be precisely invertible, often the pseudo-inverse or an approximation obtained through an encoder-decoder structure is used [2,6,7]. This may be valuable for readers to know, and we will add these thoughts to the revision.
Q5 (diverging gradients in non-chaotic systems): This is an interesting question. There may be systems with exponential growth which rush off to infinity (without being chaotic), but in practice most physical systems of interest are bounded, such that this can happen only locally in state space (and thus the situation is not that different from chaotic DS). Regardless, α can always be adjusted to strictly control exploding gradients, please see Prop. 2 in [6] (one trivial case is choosing α=1). Vanishing gradients, on the other hand, are handled through specific parameterizations/initializations of the recurrent model paired with a suitable regularization, such as the "Manifold Attractor Regularization" (MAR, [8]) which we used for our experiments (see Appx. E).
Q6 (enforcing low-rank constraints): No, a block-diagonal structure is not required. The low-rank constraint for the connectivity matrix of the shPLRNN is enforced by parameterizing W∈RM×M through a product of two rectangular matrices WL∈RM×r and WR∈Rr×M. This allows us to exactly control the rank r<M. For LSSMs, the low-rank constraint is imposed by the architecture itself, as the rank of the matrix U∈RM×N, through which data (or autonomously generated predictions) are fed (Eqs. 3 & 4), is limited by the dimensionality of the observations N, assuming N<M.
References:
[1] Gonzalez et al. Towards scalable and stable parallelization of nonlinear RNNs. Advances in Neural Information Processing Systems, 37:5817–5849, 2024.
[2] Mikhaeil et al. On the difficulty of learning chaotic dynamics with RNNs. Advances in Neural Information Processing Systems, 35:11297–11312, 2022.
[3] Gonzalez et al. Predictability enables parallelization of nonlinear state space models. Advances in Neural Information Processing Systems, 38, 19101-19147, 2026.
[4] Muca Cirone, et al. Theoretical foundations of deep selective state-space models. Advances in Neural Information Processing Systems, 37, 127226-127272, 2024.
[5] Ran-Milo et al. Provable Benefits of Complex Parameterizations for Structured State Space Models. Advances in Neural Information Processing Systems, 37, 115906-115939, 2024.
[6] Hess et al. Generalized Teacher Forcing for Learning Chaotic Dynamics. Proceedings of the 40th International Conference on Machine Learning, PMLR 202:13017-13049, 2023.
[7] Brenner et al. Integrating Multimodal Data for Joint Generative Modeling of Complex Dynamics. In International Conference on Machine Learning (pp. 4482-4516). PMLR, 2024.
[8] Schmidt et al. Identifying nonlinear dynamical systems with multiple time scales and long-range dependencies. International Conference on Learning Representations, 2021.