arXiv:2611.07415eess.SYNov 2026

Manuscript Offprint

arXiv:2611.07415

Truncated backpropagation through time induces a two-sided gradient turnpike property

Julian D. Schiller, Matthias A. Müller

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Julian D. Schiller, Matthias A. Müller

Abstract— Truncated backpropagation through time reduces the computational burden of training recurrent models by restricting gradient computations to shorter temporal contexts. This induces two distinct boundary effects: missing past information perturbs the forward state evolution, while truncating the backward recursion omits future information. This motivates decoupling the interval over which gradient contributions are averaged for the parameter update from the surrounding temporal context over which they are computed. Under exponential decay of the state-transition Jacobians and mild regularity conditions, this leads to a two-sided gradient turnpike property: the error between truncated- and full-context gradient contributions decays exponentially with the distance from both context boundaries. We derive bounds for the averaged update gradient, yielding guarantees on gradient alignment and approximate full-context stationarity; under unbiased interval sampling and a Polyak–Lojasiewicz condition, these further imply a bound on the resulting optimality gap. Numerical experiments on the Wiener–Hammerstein benchmark illustrate the role of past and future context and the trade-off between predictive performance and computational cost.

I. INTRODUCTION

Recurrent models are widely used across various domains, including dynamical systems, time-series forecasting, and sequence learning [1–3]. Their recurrent state enables them to retain information from the past and thereby model temporal dependencies over long horizons. Training such models, however, requires accounting for the dependence of the loss on the recurrent state trajectory. The standard approach is backpropagation through time (BPTT), which computes gradients by unrolling the recurrent dynamics over the entire training sequence [4]. For long sequences, full BPTT can become computationally and memory intensive, motivating truncated backpropagation through time (TBPTT), where gradients are computed using only shorter segments of the training sequence [5–7].

A central consequence of truncation is that gradient computations are affected by the restricted temporal window on which they are performed. On the one hand, the recurrent state at the beginning of such a window generally differs from the state obtained by propagating the model over the complete preceding sequence. This motivates the use of a burn-in phase, in which additional past samples are processed before the loss is evaluated [8–10]. Related approaches in nonlinear system identification reconstruct the

initial state of a training subsequence from preceding input-output data [7,11]. On the other hand, the gradient contribution associated with a given time instant generally depends on losses occurring at later times through the backward recursion. Truncating this recursion at a fixed finite right boundary therefore also discards future loss information. Hence, truncated training naturally gives rise to two distinct boundary effects: one caused by missing past information in the forward state evolution and one caused by missing future information in the backward gradient computation.

Existing theoretical analyses have addressed these two effects largely separately. On the backward side, bounds on the bias introduced by truncating long-range gradient contributions in TBPTT are derived under a geometric decay condition and subsequently used to adapt the truncation horizon [12]. Related work obtains unbiased gradient estimators by randomizing the truncation length and appropriately reweighting the resulting gradient contributions [13]. On the forward side, contractive models imply that the influence of sufficiently remote past information decays with temporal distance [14], while our recent work shows how a finite burn-in phase can approximate full-sequence training under less restrictive finite-memory conditions [10]. To the best of our knowledge, however, existing results do not jointly quantify how missing past information in the forward path and missing future information in the backward path affect gradient computations for recurrent models. Importantly, these effects are coupled, as discrepancies in the forward state evolution also perturb the backward sensitivities.

The resulting two-sided structure is reminiscent of turn-pike phenomena in finite-horizon optimal control and estimation, where optimal trajectories remain close to distinguished reference trajectories over most of the horizon, with deviations concentrated near the initial and terminal boundaries [15–18]. Such turnpike properties have been established for states, inputs, outputs, and adjoint variables, and corresponding exponential characterizations typically consist of terms that decay with the distance from the horizon boundaries.

In the same spirit, we show that an analogous two-sided phenomenon arises directly at the level of gradient contributions in the training of nonlinear recurrent models with truncated temporal context. To capture the two boundary effects separately, we distinguish an update interval, over which gradient contributions are averaged to obtain the gradient used in the parameter update law, from a surrounding temporal context over which these contributions are computed. Under exponential decay of the state-transition Jacobians and mild regularity conditions, we show that the

This work was supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project number: 535860958. Julian D. Schiller and Matthias A. Müller are with the Leibniz University Hannover, Institute of Automatic Control, 30167 Hannover, Germany. schiller@irt.uni-hannover.de, mueller@irt.uni-hannover.de.

error between truncated- and full-context gradient contributions decays exponentially with the distance from both truncation boundaries. Consequently, extending the context into the past or future independently tightens the corresponding contribution to the gradient-error bound. This yields explicit bounds for the averaged gradient used in the parameter update law and, in turn, guarantees on gradient alignment and approximate full-context stationarity. Moreover, under unbiased interval sampling, these guarantees extend to the full training objective; combined with a Polyak-Łojasiewicz condition, this yields a bound on the optimality gap relative to the optimal value of the full-context loss. The theoretical findings are illustrated on a standard nonlinear system identification benchmark, highlighting how past and future context affect the accuracy and computational efficiency of truncated learning.

References (27)