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

잘린 시간 역전파는 양측 기울기 턴파이크 성질을 유도한다

Julian D. Schiller, Matthias A. Müller · arXiv · 2026년 11월 5일

- **연구 문제** 순환 모델의 절단 역전파 학습에서 과거 정보와 미래 정보가 빠지는 두 경계 효과가 기울기 오차에 어떻게 나타나는지가 문제입니다.
- **연구 방법** 절단 문맥에서 계산한 기울기 기여를 전체 문맥 기울기와 비교하고, 과거와 미래 문맥 확장에 대해 지수적 상계를 유도합니다.
- **주요 결과** 기울기 오차는 과거 경계와 미래 경계에서 각각 지수적으로 감소하며, Wiener–Hammerstein 벤치마크에서 T\_P=T\_F=40인 TBPTT는 BPTT에 가까운 테스트 성능을 학습 시간 약 5.7배 감소와 함께 보입니다.

## 절단 학습에서 생기는 두 경계 효과

순환 모델을 긴 시퀀스에서 학습할 때 backpropagation through time(BPTT)은 전체 시퀀스에 걸쳐 기울기를 계산하므로 계산량과 메모리 부담이 커집니다. 이를 줄이기 위해 truncated backpropagation through time(TBPTT)은 기울기 계산을 더 짧은 시간 문맥으로 제한합니다.

이때 두 가지 경계 효과가 생깁니다. 문맥의 시작점에서는 과거 입력을 처리하지 않아 전방 상태가 전체 시퀀스 전파 결과와 달라집니다. 문맥의 끝점에서는 역방향 재귀를 끊어 미래 손실 정보가 기울기에서 빠집니다. 기존 분석은 이 두 효과를 주로 따로 다루었습니다. 이 논문은 두 효과가 함께 기울기 기여에 미치는 영향을 분석하고, 과거와 미래 경계에서 기울기 오차가 지수적으로 감소하는 두 방향 turnpike 성질을 보입니다.

## 두 문맥 구간과 절단 기울기

분석 대상은 업데이트 구간 U=\[a,b\]와 이를 포함하는 문맥 구간 C=\[r,s\]입니다. 과거 확장 T\_P=a−r과 미래 확장 T\_F=s−b로 문맥의 양쪽 확장을 정의합니다. 각 시점의 절단 기울기는 문맥 C 안에서 0으로 초기화한 순방향 시뮬레이션과 제한된 역방향 민감도 재귀로 계산됩니다. 업데이트에는 U 안의 국소 기울기만 평균하여 사용하므로, 문맥은 넓게 두고 평균 구간은 따로 조절할 수 있습니다.

전체 문맥 기울기 g\_t와 절단 기울기 ĝ\_t는 같은 파라미터 기여를 비교합니다. 두 기울기의 차이는 전방 상태 오차와 역방향 민감도 오차로 나뉘어 상계됩니다. 이 분해가 이후 정리의 바탕이 됩니다.

## 두 방향 기울기 turnpike 정리

가정 2는 모델 궤적을 따라 평가한 상태 전이 Jacobian이 시간 거리에 따라 지수적으로 감소한다고 요구합니다. 개별 단계의 Jacobian은 확장될 수 있지만, 같은 입력 열에서 초기 상태 차이가 지수적으로 잊히는 성질을 뜻합니다. 가정 1, 2, 3 아래에서 정리 1은 각 시점 t∈U에 대해 다음 상계를 제시합니다.

\\\\(\\\\\|\\\\hat g\_t(\\\\theta)-g\_t(\\\\theta)\\\\\|\\\\le K\_P\\\\rho^{t-r}+K\_F\\\\rho^{s-t}\\\\)

이 상계에서 첫 항은 과거 경계 r로부터의 거리에 따라, 둘째 항은 미래 경계 s로부터의 거리에 따라 감소합니다. 따름정리 2는 T\_P, T\_F와 업데이트 구간 길이 \|U\|를 이용해 평균 업데이트 기울기 오차를 \\\\(\\\\epsilon\_G(T\_P,T\_F,\|U\|)=\\\\frac{1}{1-\\\\rho}\\\\cdot\\\\frac{K\_P\\\\rho^{T\_P}+K\_F\\\\rho^{T\_F}}{\|U\|}\\\\)로 상계합니다. 따라서 과거 문맥, 미래 문맥, 업데이트 구간 길이가 서로 다른 축으로 기울기 오차를 줄입니다.

## 기울기 정렬과 최적성 격차

명제 1은 기울기 오차 상계 ε\_G가 주어졌을 때 두 영역을 구분합니다. \\\\(\\\\\|\\\\hat G\_U\\\\\|\>\\\\epsilon\_G\\\\)이면 절단 기울기와 전체 문맥 기울기는 양의 정렬 관계에 있으며, 그 각도는 \\\\(\\\\arcsin(\\\\epsilon\_G/\\\\\|\\\\hat G\_U\\\\\|)\\\\)로 상계됩니다. \\\\(\\\\\|\\\\hat G\_U\\\\\|\\\\le\\\\delta\\\\)이면 전체 문맥 기울기 노름은 δ+ε\_G 이하입니다.

샘플링이 무편향일 때 따름정리 3은 기대 절단 기울기와 전체 손실 기울기의 차이를 ε\_G 이하로 묶습니다. 여기에 Polyak–Łojasiewicz 조건이 더해지면 \\\\(L(\\\\theta)-V^\*\\\\le(\\\\delta+\\\\epsilon\_G)^2/(2\\\\mu)\\\\)를 얻습니다. 이 최적성 격차 결과는 PL 조건과 무편향 샘플링을 함께 가정한 조건부 결과입니다.

## 기울기 오차의 수치 검증

수치 실험은 Wiener–Hammerstein 벤치마크에서 16개 상태를 가진 vanilla RNN을 사용합니다. 학습 데이터는 80,000개, 검증 데이터는 20,000개로 나뉩니다. 다섯 개의 BPTT 기준 파라미터화에서 T\_P, T\_F를 0, 5, 10, 20, 40으로 바꾸어 기울기 오차를 측정합니다.

그림 2는 대칭 문맥 길이에서 고정 구간 U=\[a,b\]의 지점별 기울기 차이를 보여 줍니다. 짧은 문맥에서는 두 경계 근처에 큰 오차가 나타나고, 문맥을 늘리면 오차가 낮은 내부 영역이 넓어집니다. 이는 정리 1의 두 지수 항이 내부로 감쇠하는 구조와 일치합니다.

![Figure 2: Pointwise discrepancy between the full and truncated-context gradi- ent contributions evaluated over a fixed intervalU= \[a, b\]for symmetric context l…](https://refivu.com/papers/1b2af639-0cbf-4eaf-b24e-c0464217322a/figures/figure-a9732075765db078adbbb05447d48e13.png?thumb=512)

**Fig. 2** : Pointwise discrepancy between the full and truncated-context gradi- ent contributions evaluated over a fixed intervalU= \[a, b\]for symmetric context lengths. Increasing the context length exponentially attenuates the boundary effects and thereby extends the interior region in which the truncated-context gradient contributions closely approximate their full- context counterparts.

[원문](https://arxiv.org/abs/2611.07415v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Julian D. Schiller, Matthias A. Müller · Truncated backpropagation through time induces a two-sided gradient turnpike property · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

그림 3은 (T\_P,T\_F) 격자에서 업데이트 기울기 차이의 중앙값을 보여 줍니다. 각 조합마다 다섯 파라미터화에서 같은 20개 업데이트 구간을 평가하여 100개 차이의 중앙값을 취합니다. 중앙값 오차는 (0,0)에서 1.33이고 (40,40)에서 0.012로 줄어들어 약 110배 감소합니다. 과거 문맥을 늘리면 오차가 꾸준히 줄고, 미래 문맥의 효과는 과거 쪽 전방 오차가 충분히 줄어든 뒤에 두드러집니다. 저자들은 이를 전방 궤적 오차가 후방 민감도도 흔드는 결합 구조로 해석합니다.

![Figure 3: Median absolute discrepancy between the full and truncated-context update gradients as a function of the past and future context lengths. Values are…](https://refivu.com/papers/1b2af639-0cbf-4eaf-b24e-c0464217322a/figures/figure-ce34d5d17d482668e9874010d8b15a6e.png?thumb=512)

**Fig. 3** : Median absolute discrepancy between the full and truncated-context update gradients as a function of the past and future context lengths. Values are aggregated over 20 common update intervals for each of the five reference parameterizations. Larger two-sided context substantially improves the full-context-gradient approximation.

[원문](https://arxiv.org/abs/2611.07415v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Julian D. Schiller, Matthias A. Müller · Truncated backpropagation through time induces a two-sided gradient turnpike property · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

가정 2의 수치 검사는 샘플링한 초기 상태와 다중 시작 국소 최적화로 k+20 단계 흐름 Jacobian의 제곱 노름 최댓값을 추정합니다. 다섯 파라미터화에서 찾은 최댓값은 0.9708이며, 이는 수치적 지지이지 증명이 아닙니다.

## 고정 학습 예산에서의 성능과 비용

학습 비교는 고정 예산 5,000번의 Adam 업데이트로 수행합니다. BPTT는 \|U\|=1,000을, TBPTT는 \|U\|=50과 미니배치 크기 4를 사용합니다. 두 방법 모두 검증 손실이 가장 낮은 체크포인트를 선택합니다.

대칭 문맥 T\_e=40에서 TBPTT의 학습 RMSE 0.02691과 테스트 RMSE 0.02622는 seed 짝지은 BPTT 기준의 각각 1.11배와 1.12배입니다. 같은 설정에서 학습 시간은 약 5.7배 감소합니다. 문맥 길이에 따른 성능은 단조롭지 않습니다. T\_P=T\_F=20의 학습 RMSE는 T\_P=T\_F=10보다 나쁘게 나타납니다. 저자들은 이를 기울기 근사 자체의 문제보다 학습 예산, 확률성, 비볼록성의 영향으로 해석합니다.

## 해석의 범위와 한계

가정 2의 지지는 다섯 파라미터화에 대한 수치 검사이며 증명이 아닙니다. Lipschitz 조건과 유계 조건은 특정 부드러운 모델과 유계 입력에서 성립하는 조건으로 제시되며, PL 조건은 일반적인 비선형 학습 문제에서 보장되지 않습니다. 따라서 최적성 격차 결과는 PL 조건과 무편향 샘플링이 성립하는 경우에 한정됩니다.

실험은 하나의 벤치마크와 하나의 vanilla RNN 구성에 한정됩니다. 고정 예산에서 T\_P=T\_F=20이 T\_P=T\_F=10보다 나쁜 결과는 이 실험 조건에서 관찰된 것입니다. 이를 문맥이 길수록 항상 성능이 나빠진다는 결론으로 확장하지 않습니다.

## 논문 정보

- **저자**: Julian D. Schiller, Matthias A. Müller
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 5일
- **등록일**: 2026년 11월 6일
- **수정일**: 2026년 11월 5일
- **버전**: v1
- **arXiv**: 2611.07415
- **분류**: eess.SY · cs.LG · math.OC
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.07415v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.07415v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

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.

## 원문 인용

Julian D. Schiller, Matthias A. Müller (2026). Truncated backpropagation through time induces a two-sided gradient turnpike property. arXiv:2611.07415v1. https://arxiv.org/abs/2611.07415v1

**BibTeX**

```
@misc{schiller2026truncated,
  title = {{Truncated backpropagation through time induces a two-sided gradient turnpike property}},
  author = {Julian D. Schiller and Matthias A. Müller},
  year = {2026},
  eprint = {2611.07415},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.07415v1}
}
```

## 이 논문의 용어

- [Adam](https://refivu.com/terms/0e9ad0199e08-adam)
- [RMSE](https://refivu.com/terms/ad2579cf164a-rmse)
- [SGD](https://refivu.com/terms/96a2d83e44ca-sgd)
- [Backpropagation Through Time](https://refivu.com/terms/46e13bff8275-backpropagation-through-time)
- [Lagrangian](https://refivu.com/terms/9315da0bd4c2-lagrangian)
- [truncated backpropagation through time](https://refivu.com/terms/e873452387c0-truncated-backpropagation-through-time)

## 다른 논문 해설

- [Scaling Laws for SAE Training Data](https://refivu.com/papers/249b7e3f-d71b-4d39-8746-62a5f00e639c-scaling-laws-for-sae-training-data.md)
- [Decoupled Weight Decay Regularization](https://refivu.com/papers/19eca1c5-1291-475b-a58c-daedbe769654-decoupled-weight-decay-regularization.md)
- [Annealing Optimization for Progressive Learning with Stochastic Approximation](https://refivu.com/papers/d8fdcefb-d5fa-4c59-94b4-9e92c1fd1e11-annealing-optimization-for-progressive-learning-with.md)
- [Reliable Prediction Errors for Deep Neural Networks Using Test-Time Dropout](https://refivu.com/papers/0c1610db-8ca1-4952-86d2-8ede3d25ea1d-reliable-prediction-errors-for-deep-neural-networks-using.md)
- [Generalizing to Unseen Domains: A Survey on Domain Generalization](https://refivu.com/papers/d6aa63bc-3ab4-4a9e-91bf-ef0365bed5aa-generalizing-to-unseen-domains-a-survey-on-domain.md)
- [Self-Directed Online Machine Learning for Topology Optimization](https://refivu.com/papers/255f9cd4-fbbb-4647-b808-1c800380666f-self-directed-online-machine-learning-for-topology.md)
- [Test-Time Self-Play: Scaling without a Verifier](https://refivu.com/papers/d874b334-fefc-42a9-a731-60302efa34e0-test-time-self-play-scaling-without-a-verifier.md)
- [When Scores Conflict with Preferences: Pre-Alignment Diagnosis and Adaptive Correction of Constraint Drift in DPO](https://refivu.com/papers/6cbeb739-265d-47af-8a79-477c3e972730-when-scores-conflict-with-preferences-pre-alignment.md)
- [Rigorously Certified Neural-Network Computation of Nonlinear Water Waves at Near-Machine Precision](https://refivu.com/papers/e9a7e7e8-33ad-44f5-b914-b1e3a6f1493f-rigorously-certified-neural-network-computation-of-nonlinear.md)
- [StreamLTT: Risk Certification for Policy Selection under Stream Dependence](https://refivu.com/papers/0de37a88-82da-4aaf-be15-ff25f342e2ee-streamltt-risk-certification-for-policy-selection-under.md)
- [How Should Agents See Code? Rethinking Code Representations for Agentic Software Engineering](https://refivu.com/papers/a030cfdc-f4fa-4334-a174-8b6cfc1a2460-how-should-agents-see-code-rethinking-code-representations.md)
- [Efficient Closure Learning in Dynamical Systems: A Comparison of Data-Assimilated and Embedded Approaches](https://refivu.com/papers/1111e81a-ea62-4c7c-95b6-311134d3988f-efficient-closure-learning-in-dynamical-systems-a-comparison.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/1b2af639-0cbf-4eaf-b24e-c0464217322a-truncated-backpropagation-through-time-induces-a-two-sided)
