Manuscript Offprint
arXiv:2610.26283Trust Your Targets: Is Target Propagation Block-Diagonal Gauss-Newton?
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Target propagation (TP) is a backpropagation alternative in which local targets carry the global learning signal. Prior works claim that TP performs Gauss-Newton (GN) optimisation on these targets, but the correspondence has only been established under unrealistic assumptions where hitting them exactly is trivial. Practical variants instead descend on a least-squares problem via a single gradient step. In this paper, we rederive TP from a trust region under an implicit, previously unexamined norm, and introduce CGTP (Conjugate Gradient Target Propagation), which uses conjugate gradients to solve the layer-local subproblems in parallel. A single adaptive parameter jointly controls this trust region and a matching bound on the weight update; KFAC emerges exactly as the special case where the per-sample Jacobians are replaced by their batch mean, giving its factored damping a variational grounding. On MNIST and Fashion-MNIST MLPs, CGTP matches the accuracy of ADAM and KFAC while needing orders of magnitude fewer outer iterations than ADAM (about 10x fewer backward-pass-equivalents overall), while remaining stable across depth.
1 INTRODUCTION
End-to-end backpropagation paired with first-order optimizers (Kingma & Ba, 2014) is the de facto standard for training neural networks. Despite its remarkable effectiveness, backpropagation-based learning imposes a sequential dependency whereby each layer's gradient depends on every subsequent layer's. Consequently, error signals must propagate fully backward before updates can begin, which is known as the update locking problem (Jaderberg et al., 2017). This dependency increasingly limits layer-parallel training (Wang et al., 2021), and has motivated a family of local learning methods that allow layers to perform optimization steps independently against local objectives. These methods span a spectrum: greedy supervised approaches (Belilovsky et al., 2019) achieve full layer independence but suffer from information collapse (Wang et al., 2021). Conversely, predictive coding methods (Millidge et al., 2021) simulate global feedback through iterative inference, justified by the free-energy principle (Friston & Kiebel, 2009). Target propagation (TP) (Lee et al., 2015) sits between these global communication extremes: local targets are inferred via a single pass through an approximate inverse, which in principle enables parallel layerwise optimization. However, to realize the benefits of this decoupled optimization, the local objectives must be theoretically sound. While greedy and predictive-coding methods can be derived from information-theoretic or variational principles (Tishby & Zaslavsky, 2015; Friston & Kiebel, 2009), TP's primary theoretical justification is through a loose analogy to Gauss-Newton (GN) optimization (Meulemans et al., 2020) that is built on assumptions that frequently break down in practice.
The existing proofs that connect TP to GN rely on several assumptions that diverge drastically from practice: they assume batch sizes of 1, single-layer updates, a regression objective, strictly invertible layers, and an infinitesimal step size . Two of these are particularly damaging. First, the infinitesimal- requirement defeats the purpose of a second-order method, which is sought for its faster convergence. Second, the assumption of strictly invertible layers forces practical TP variants to increasingly rely on inexact inverses, via autoencoders (Lee et al., 2015), or in the extreme case fixed random feedback weights Shibuya et al. (2023). This requires expensive feedback-weight training loops and more iterations to converge. Relying on many propagation phases especially runs counter to the goals of a local algorithm: since the targets are derived through a propagation phase, we should endeavour to minimize the number of propagation phases altogether.
The result is a striking mismatch: TP is theoretically motivated as approximate GN, yet its dominant practical variants distance themselves from GN at every step. The local loss - the squared-error reconstruction objective each layer minimizes against its target - is treated as a means to an end: a single gradient step toward a target whose theoretical role is only loosely justified. We argue that this is a missed opportunity: if TP is genuinely a form of Gauss-Newton, then taking the local subproblem seriously - ie reaching the minimum - should yield the convergence advantages over first-order methods seen in modern BP-based second-order optimizers (e.g., K-FAC (Martens & Grosse, 2015), SHAMPOO (Gupta et al., 2018)), but crucially, without the update-locking bottleneck.
In this paper, we give TP a rigorous grounding as a sequence of local trust-region subproblems, which we then solve with a second-order method. Our specific contributions are as follows:
• (C1) A rigorous derivation of TP under the trust-region framework. Prior TP-GN equivalence proofs rely on a set of restrictive assumptions, typically left implicit or deferred to appendices. We collect these explicitly (Table 1), and relax each in turn. We derive TP from a linearly constrained least-squares subproblem via a linearized change of variables, accommodating classification objectives, multi-layer updates, finite step sizes, and non-invertible layers (Sections 3.1-3.2). Two decoupling theorems - one via norm choice, one via a simplicial representation - yield interpretable, local subproblems whose unconstrained optima recover the regularized-inverse TP update.
• (C2) A conjugate gradient solver, with KFAC as a special case. KKT analysis of the constrained per-layer subproblem shows that the targets must be fit in the curvature-induced metric, not the Euclidean one, explaining why a naive second-order fit of the TP loss fails (Section 4.1). The null-space method reduces each layer to a positive definite system in the weights, solved in parallel by CG after a single backward pass (Section 4.3). Averaging the per-sample curvatures recovers KFAC with factored damping exactly (Corollary 12).
• (C3) Proof-of-concept validation. On MNIST and Fashion-MNIST, CGTP matches Adam, KFAC and the strongest TP variants in accuracy with orders of magnitude fewer outer iterations (Table 2), though at higher cost per iteration (Table 3), while remaining stable across depth (Figure 3).
2.1 PRELIMINARY: CLASSICAL TARGET PROPAGATION
In this section, we briefly review the common presentation of TP. Consider a dataset of samples. We fit an -layer feedforward multilayer perceptron (MLP) computing:
The output is trained to minimize the per-sample loss . To assign credit, TP begins by defining a target for the output via a gradient step on the loss:
where is a step size and denotes the (generalized) residual. The composite mapping are then approximately inverted to compute intermediate targets . These targets define a layer-local regression problem, from which parameter gradients are derived:
2.2 CLASSICAL TARGET PROPAGATION AS HYBRID GAUSS NEWTON
The connection between the GN method and TP, as presented in such works as (Jaderberg et al., 2016; Meulemans et al., 2020; Roulet & Harchaoui, 2023) requires several assumptions to draw formal
Table 1: Assumptions invoked by prior proofs of the TP-GN equivalence
| Assumption | Relaxed in |
|---|---|
| 21: Infinitesimal step size | Section 3: Trust-region radius |
| 22: regression loss | Section 3.1: Generalized surrogate loss |
| 23: Single-layer updates | Section 3.2: Norm-penalties |
| 24: Strictly invertible layers | Section 3.2: Norm-penalties, Section 4.2: Simplicial decoupling |
| 25: Mini-batch of size 1 | Section 4.1: Constrained activation space |
equivalence, which we collect in Table 1. Let denote the composite map from to , with Jacobian . GN is a second-order method applied to least-squares problems (22). Consider the following objective, for inferring the optimal target of a single (23) intermediate layer for a single datapoint (25):
A GN step proceeds by linearizing around the current and solving the resulting linear least-squares problem. Writing the residual as , the GN update is
If is invertible (24), then so is the Jacobian, and the above simplifies to:
Let us return to the TP loss from Equation 3, considered as a function of the intermediate activation . In the limit that the step-size (21), a Taylor expansion on the TP gradient yields:
By the inverse function theorem, the Jacobian of is the inverse of the Jacobian of . As such:
which demonstrates the equivalence. Crucially, this is not a GN step on the weights. TP as presented in (Meulemans et al., 2020) is a hybrid algorithm: a GN step infers local targets, and a gradient descent step converts those targets into a weight update. The theory for a full TP-based GN update on the weights (Bengio, 2020; Meulemans et al., 2020) has been developed only in the single-datapoint case (25), where any inferred target is exactly realizable and the TP step coincides with a full GN step up to a positive scalar. The remainder of this paper relaxes each of these assumptions in turn.
3 GENERALISING TARGET PROPAGATION VIA TRUST-REGION METHODS
The classical presentation of TP uses a single parameter () to control both the approximation fidelity and step size. Trust-Regions (TR) methods separate these roles, permitting accelerated optimization even with poor approximations. One constructs a local quadratic model of the objective, takes a step that approximately minimizes within a radius , and then accepts/rejects the step based on the ratio between the predicted reduction (in ) and the reduction of the true loss. The radius adapts based on : a successful step extends it, a failed step contracts it.
In what follows we generalise TP within this framework, and relax the remaining assumptions in the proof of Section 2.2. Section 3.1 identifies the loss that TP approximates, clarifying its role as a surrogate for general loss functions (22), and how its fidelity is measured through the trust-region ratio . Section 3.2 demonstrates that a principled choice of trust-region metric naturally accommodates the multi-layer setting (23) and non-invertible layers (24).
3.1 RELAXING 22 VIA CONVEX SURROGATES
Adopting the Trust Region framework for TP requires identifying which objective it is trying to approximate. We propose that the TP loss in Equation 3 can be viewed as a surrogate of the true objective , insofar as (see Supp B):
The key observation is that the objectives used to train neural networks are commonly convex functions of the outputs. As such, the vanishing of is a sufficient condition for optimality of the network, motivating the following general surrogate loss:
Here, denotes a choice of norm appropriate to the problem. Letting denote the generalized residual, we consider the result of applying a perturbation to the pre-activation of layer at the point . Taylor expanding, we have:
We then obtain the following subproblem:
Definition 1 (Generalized Gauss-Newton Subproblem for the Pre-Activations). For a general objective , the surrogate loss may be approximated as a weighted least-squares subproblem:
The improvement ratio is then calculated by comparing (measured) and (predicted).
3.2 RELAXING 213 AND 214 VIA A PRINCIPLED CHOICE OF TRUST-REGION METRIC
Prior works generalize the single-layer result of Definition 1 to the multi-layer setting by appealing to the common empirical approximation of a block-diagonal Gauss-Newton matrix (Meulemans et al., 2020). In this section, we show that achieving layer decoupling requires no such approximation - only a principled choice of metric. The key observation is that the multi-layer problem is typically underdetermined. Let denote the stacked Jacobian and the stacked perturbation, as follows:
Henceforth we drop the out, denoting . The natural generalization of Definition 1 is:
Note that, if each , the joint perturbation across layers introduces unknowns against only residuals, and so there are infinitely many solutions. In the trust region setting, a unique solution may be fixed via a norm constraint \|\Delta z_n\|_B_n < \Delta, for choice of metric . The following theorem highlights a specific family of norms that natively decouples the layers:
Theorem 2 (Egalitarian Norm-Induced Layer Separation). Let be a Lagrange multiplier, and consider the penalty form of the norm constraint for metric :
Then, if the metric is egalitarian (ie satisfies ), the unconstrained solution for the layer perturbation is:
Where denotes the regularized target, and is given by:
Proof. The identity block in makes it surjective (Lemma 14), so that for any the normal equations factor as (operator) . The egalitarian block requirement is then chosen to coincide with the classical TP update. Full details in Supp C.1.
Remark 3 (Recovering Classical TP as the Low-Trust Limit in an Egalitarian Newton Norm). As , choosing penalty norm , the regularized target of 17 approaches the Classical TP target of 9 with .
Remark 4 (Interpretation of the Egalitarian Norm). Theorem 2 has a natural reading: no single layer should dominate the others in its contribution to the regularized objective. This is structurally similar to the scale-invariant diagonal damping used in classical Levenberg-Marquardt (LM) (Nocedal & Wright, 2006). Furthermore, the pseudo-inverse leaves unperturbed those direction of the pre-activations that the layer discards. Supp C.2 makes this construction explicit for the output layer.
4 BEYOND CLASSICAL TP: SECOND-ORDER METHODS ON THE LOCAL SUBPROBLEM
Having relaxed Assumptions 21-24, we now address 25, and the prospect of deriving GN updates from the TP loss. The hybrid route of prior works (a single gradient step on the weights) is naturally read as the low-trust regime of our framework. Where previous approaches assess (and adapt) approximate inverses through reconstruction, the trust-region formulation calibrates trust through utility. A second-order step is licensed when reductions in the subproblem align with reduction in the true loss. It then seems a simple matter to apply a second-order optimiser to equation 3: the Hessian is block diagonal, and the Newton step yields the familiar least-squares fit. We will show in this section that doing so is not straightforward. The primary difficulty is one of feasibility: equation 3 assesses attainability of the local targets a Euclidean norm. When 25 holds, the targets are exactly realisable and so the choice of metric is irrelevant. For larger batch sizes, this choice of proves decisive.
To this end, in Section 4.1, we extend our trust-region subproblem to incorporate feasibility constraints. The KKT conditions reveal the necessity of measuring fit using the metric induced by curvature. The numerical cost of the KKT solution motivates a majorization-minimization decomposition of that metric (Section 4.2), yielding new local losses that generalize equation 3 and admit second-order optimizers (Section 4.3). We then damp the weight updates to combat overfitting (Section 4.4), recovering KFAC as a corollary when samples are replaced by their batch average.
4.1 KKT CONDITIONS FOR THE CONSTRAINED SUBPROBLEM
The natural generalisation of the subproblem of Equation 15 is to simply sum across datapoints. This constitutes independent least-squares problems, whose minimisers are available in closed form via Theorem 2. However, such solutions are not necessarily feasible: the model architecture constrains the space of pre-activations to satisfy for some (here, indicates augmentation by ones). Note, the constraint requires only that exists: it does not commit us to any particular choice. Hence, to retain the pre-activations as the principal optimisation variables, we must incorporate the following constraint:
Lemma 5 (Feasibility of perturbations (layer version)). Let and . There exists satisfying if and only if each column of lies in . Equivalently,
where is the orthogonal projector onto .
Proof. The equation holds column-wise: each column of is a linear combination of the columns of with coefficients given by the corresponding column of . Such a linear combination exists if and only if the column lies in , which is equivalent to vanishing under projection onto its orthogonal complement.
Remark 6 (Classical TP as Projected Gradient Descent). The classical TP weight update, when applied to the inputs , is effectively a projection of the targets into via (Supp C.3).
Lemma 5 holds at the level of a single layer. In what follows we require a constraint acting on all layers at once, after stacking across datapoints. This will keep the per-sample subproblems block-diagonal, but distributes the layer constraint across the stacked vector. This new constraint is expressed in the following Lemma (proof in Supp C.4):
Lemma 7 (Feasibility of perturbations (stacked version)). Let the stacked pre-activations be denoted , and let be defined such that . Then the layer feasibility operators of Lemma 5 may stated as , where
We are now ready to examine the constrained subproblem.
Theorem 8 (Solution of the Joint Constrained Subproblem). Let denote the Hessian of the per-datapoint subproblem, and its regularisation. The unconstrained problems are uncoupled across datapoints, so we define the stacked subproblem Hessian . Finally, let denote the stacked unconstrained minimiser of equation 17. Then, up to an additive constant in , the constrained joint subproblem is:
The optimal perturbations are then given by projecting onto ker in the metric induced by :
The proof follows from KKT analysis (Supp C.5). The naive Newton step on Equation 3, by contrast, is a Euclidean projection: it treats all directions in space on equal footing. When is singular, directions in its null space leave the local loss exactly unchanged, so the constraint can be satisfied by routing the correction through this null space at zero cost; damping replaces "zero cost" with "low cost," graded by proximity to the null space, but the cheap subspace persists. The Euclidean projection has no access to this structure and generically pays for directions the curvature metric would have obtained for free.
Unfortunately, computing equation 22 directly is not feasible. The Schur complement is dense and of dimension . The product inherits neither the block diagonal structure of nor the Kronecker structure of , making the cross-layer couplings unavoidable and thus prohibitive at practical scale.
4.2 LOCAL SURROGATES THROUGH SIMPLICIAL RELAXATIONS
Section 3 recovered the TP update by choosing a block-diagonal norm, which resolves the under-determination of the multi-layer subproblem and yields layer-separable targets. The curvature, however, remains coupled across layers. This suffices for inferring local targets, but not hitting them with a second-order method. In this section we separate the curvature itself, replacing the subproblem with a layer-local surrogate that majorises it.
Consider, for each datapoint , a set of scalars with , and the family of perturbations satisfying . By inspection, this family minimises the subproblem in the absence of constraints: the final layer residual is simply split across the -layers, and the local residual may be fit exactly. This perspective enables us to identify a principled decomposition which generalises to the constrained setting. It is encapsulated in the following theorem:
Theorem 9 (Layer-separable majorization). Let and let lie in the interior of the simplex. Then the following is a majorizer of at every value of
Furthermore, in the presence of a regulariser , the following sequence converges to the minimum of the local subproblem:
(A)
(B)
(24) where and .
Proof. Write and apply Jensen's inequality to . The main result is then alternating minimisation after proving that \widehat{m}_n(\Delta z_n; \alpha_n) + \frac{1}{2} \lambda \|\Delta z_n\|_B_n^2 is convex (Supp C.6).
Note that any on the simplex yields a valid subproblem (equation 23). We list several approximations in Supp D.3, all of which. empirically, converge faster than the uniform baseline .
4.3 NULL-SPACE METHODS ON THE LOCAL SURROGATE
The per-layer surrogate of Theorem 9 is significantly smaller than the full multi-layer subproblem of Theorem 8, but its Hessian still lacks the structure that would admit the closed-form KKT solution of Supp C.5. While the Schur complement is expensive to form, its components -block-diagonal Hessian and the Kronecker-structured projector - admit cheap matrix-vector products. Hence, methods like conjugate gradient (CG) are a natural choice of solver, as they only require the action of each component (Nocedal & Wright, 2006). Though one may use projected CG to optimise directly, the bi-level approach of the null-space method is more memory efficient. As in Classical TP, we identify local targets via the inversion in Theorem 9. The null-space of the constraint is then simply , and we minimise the reduced system, which is a weighted least-squares fit:
The gradient is . To proceed, we define the linear operator , and use CG to solve:
4.4 PREVENTING OVERFITTING WITH ADAPTIVE WEIGHT DECAY
Solving the local subproblem to high accuracy is not uniformly beneficial. Though CGTP reduces training loss far faster than first-order baselines, its validation error begins to rise after a small number of outer iterations, leading to a performance gap when compared to BP+ADAM. It is easy to see the cause: while the trust region bounds the magnitude permissible , it does nothing to bound , which can be arbitrarily large whenever is poorly conditioned. In this section, we suggest an adaptive strategy for controlling the conditioning.
Choice of norm. Phase one fixes a metric on pre-activation space: solving the damped subproblem declares that the effective local geometry of is rather than the Euclidean one. Any quantity that maps into pre-activation space should be measured accordingly. A weight perturbation is a linear map from the metric space to , and its size is its operator (Hilbert-Schmidt) norm between those two inner-product spaces:
When second term is the ordinary weight decay, while the first term controls a local Lipschitz constant that penalizes overall model sensitivity.
Regularization Strength. Each phase now has its own constraint: during inference, is controlled by an LM rule on the reduction ratio, whereas is to be enforced during the second weight-fitting phase. Independently adapting a second radius would leave us with a two-trust-region problem, which, while being well-studied, introduces additional complexity (Ai &
Zhang, 2009; Bienstock, 2014). We instead observe that our constraint sets are both convex and have non-zero intersection ( lies in the interior of both), and may thus use a single trust-region parameter to limit the weight perturbation to the intersection. This leads us to the following definitions, and the resulting CG system (Proof in Supp C.7, full listing in Algorithm 2).
Theorem 10 (Single-parameter coupling of the two trust regions). Fix a layer and suppress the layer index. Let be fixed radii and a trust parameter, and set
with , so that the damping of the pre-activation bound is also the metric of the weight bound. With
the ellipsoid is inscribed in , and penalising it with the single multiplier gives
Its unique minimiser solves
Corollary 11 (General pre-activation norm). Theorem 10 holds with the pre-activation bound measured in per-sample norms , upon replacing by in , by \sum_n \|\Delta W^\top u_n\|_B_n^2 in , and by with . The CG system becomes
Proof. Identical to that of Theorem 10, replacing by in the pre-activation penalty and by in the weight metric. Positive definiteness of follows from .
Corollary 12 (Exact recovery of KFAC). Suppose the per-sample metrics are replaced by their batch average, for all . Then is Kronecker-structured,
and the solution of equation 33 is
5 EXPERIMENTS
Datasets and architecture. We evaluate on two low-dimensional classification benchmarks: MNIST (LeCun & Cortes, 2010) and Fashion-MNIST (Xiao et al., 2017). All models are fully connected networks with tanh nonlinearities, a softmax output layer, and cross-entropy loss. Unless otherwise specified, networks have depth 5 with 256 hidden units. As an ablation, we consider four variants of trust-region target propagation:
• GDTP: Gradient descent step on the Euclidan subproblem (equation 58). We tune the learning rate, batch size, and Tikhonov dampening for the inverse of .
• EucGTP: Naive fit of the targets (no curvature). Same parameters as GDTP, minus learning rate.
Table 2: Error and convergence cost, in backward-pass equivalents. Outer iterations are counted to the error threshold noted in each column header. × denotes failure to reach threshold. N/A indicates result is not reported by source.
| alg | F-MNIST | MNIST | ||||||
|---|---|---|---|---|---|---|---|---|
| final err | outer @ 0.13 | /it | total | final err | outer @ 0.05 | /it total | ||
| ADAM | .111 ± .000 | 25,667 ± 4509 | 1 | 25.7k | .019 ± .000 | 7333 ± 577 | 1 7.3k | |
| KFAC | .108 ± .002 | 2700 ± 500 | 1 | 2.7k | .018 ± .001 | 467 ± 58 | 1 467 | |
| DRL-lin. | .111 ± .004 | N/A | N/A | N/A | .020 ± .008 | N/A | N/A N/A | |
| TJML | .114 ± .001 | 1468 ± 724 | 1 | 1.5k | .018 ± .001 | 1377 ± 756 | 1 1.4k | |
| TPRI | .152 ± .004 | × | × | × | .061 ± .003 | × | × | × |
| GDTP | .147 ± .000 | × | × | × | .092 ± .000 | × | × | × |
| EucTP | .146 ± .002 | × | × | × | .054 ± .002 | × | × | × |
| CGTP (no WD) | .113 ± .000 | 15.0 ± 0.0 | 201 | 3.0k | .037 ± .001 | 23.3 ± 2.9 | 201 4.7k | |
| CGTP | .109 ± .002 | 6.67 ± 0.58 | 201 | 1.3k | .019 ± .001 | 3.67 ± 0.58 | 201 738 | |
-
CGTP (no WD)(Section 4.3): CG without weight decay. An outer iteration costs one backward pass (to form , ) and up to max_iter= 100 CG iterations (one JVP + one VJP).
-
CGTP (Section 4.4): automatically adjusted weight decay.
Additionally, we benchmark against five baselines: two general optimisers and three TP variants.
-
BP+Adam: standard end-to-end training. We tune the learning rate and batch size.
-
KFAC: (Martens & Grosse, 2015) an approximation of Natural Gradients using Kronecker-Factored approximations. We tune the batch size, the exponential decay weight, and the initial value of the trust-region penalty parameter .
-
DRL (Meulemans et al., 2020): difference reconstruction loss. A TP variant that learns autoencoder-style inverses with a reconstruction loss specifically to make DTP recover Gauss-Newton targets. We use the same architecture as in (Meulemans et al., 2020) and report the published error.
-
TPRI (Roulet & Harchaoui, 2023): compute targets using a product of layer-wise Tikhonov-regularized Jacobian inversesl weights are updated by SGD on the standard local reconstruction loss. We tune the regularization strength, batch size, learning rate, and momentum.
-
TJML (Bao et al., 2024): a Jacobian matching loss yields closed-form approximate inverses (transposed weights for linear layers, analytically derived dual activation-function). Closed-form inverse introduces no hyperparameters; we tune the batch size, learning rate, and momentum,
Table 2 reports final test error and iteration to milestone for each run, where each method is compared at its own tuned batch size, aggregated over three runs. Note that KFAC and ADAM tend to favour smaller batch sizes, whereas CGTP favours larger ones (as per-sample curvature is only informative when the batch size is large enough to estimate it). Figure 1 shows BP, KFAC, and CGTP at matched batch size, where the order is preserved but the milestone margins change. More results (such as depth and parameter sensitivity analysis) can be found in Supp D, and more detailed discussions of Related Works can be found in Supp A.
6 CONCLUSION
We show that the correspondence between target propagation and Gauss–Newton optimization, previously established only where hitting the targets is trivial, extends to the general case once realization is treated as a trust-region problem in the targets’ own metric. Classical TP is a single gradient step under this metric; solving it by conjugate gradient yields CGTP, and sharing curvature across samples recovers KFAC’s factored damping exactly. Layers are solved independently and in parallel after one backward pass. On MNIST and Fashion-MNIST MLPs, CGTP matches Adam and KFAC in accuracy with an order of magnitude fewer outer iterations. Our experiments are proof-of-concept, restricted to small MLPs; extending to the stochastic setting, structured architectures, and principled preconditioning for ill-conditioned problems such as PINNs are natural next steps.
AI TOOL DECLARATION
In this work, we used generative AI tools primarily for fine-tuning and validation:
• Derivations were submitted to Claude to check for errors, and fixes devised where they were raised. Examples abound: the indexing scheme of Lemma 5 was previously incorrect (the correction verified through a simple numpy script), and the previous definition of in Section 3.2 only held for invertible layers, leading to the correction term in equation 52).
• Our code was profiled and optimised using Claude code tools: for example, the push through identity was adopted in several places, in addition to certain refactors that flagged bottlenecks introduce by logging, and permitted acceleration through use of pytorch compilation tools.
We take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
REFERENCES
Wenbao Ai and Shuzhong Zhang. Strong duality for the cdt subproblem: A necessary and sufficient condition. SIAM Journal on Optimization, 19(4):1735–1756, 2009. doi: 10.1137/07070601X. URL https://doi.org/10.1137/07070601X.
Yanhao Bao, Tatsukichi Shibuya, Ikuro Sato, Rei Kawakami, and Nakamasa Inoue. Efficient target propagation by deriving analytical solution. Proceedings of the AAAI Conference on Artificial Intelligence, 38(10):11016–11023, March 2024. ISSN 2159-5399. doi: 10.1609/aaai.v38i10.28977. URL http://dx.doi.org/10.1609/aaai.v38i10.28977.
Sergey Bartunov, Adam Santoro, Blake A. Richards, Luke Marris, Geoffrey E. Hinton, and Timothy P. Lillicrap. Assessing the scalability of biologically-motivated deep learning algorithms and architectures. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, NIPS'18, pp. 9390–9400, 2018.
Eugene Belilovsky, Michael Eickenberg, and Edouard Oyallon. Greedy layerwise learning can scale to imagenet. In International conference on machine learning, pp. 583–593. PMLR, 2019.
Yoshua Bengio. Deriving differential target propagation from iterating approximate inverses. arXiv preprint arXiv:2007.15139, 2020.
Frederik Benzing. Gradient Descent on Neurons and its Link to Approximate Second-Order Optimization. arXiv e-prints, art. arXiv:2201.12250, January 2022. doi: 10.48550/arXiv.2201.12250.
Daniel Bienstock. A note on polynomial solvability of the CDT problem. arXiv e-prints, art. arXiv:1406.6429, June 2014. doi: 10.48550/arXiv.1406.6429.
Sheng-Wei Chen, Chun-Nan Chou, and Edward Chang. Bda-pch: Block-diagonal approximation of positive-curvature hessian for training neural networks. 02 2018. doi: 10.48550/arXiv.1802.06502.
Maxence M Ernoult, Fabrice Normandin, Abhinav Moudgil, Sean Spinney, Eugene Belilovsky, Irina Rish, Blake Richards, and Yoshua Bengio. Towards scaling difference target propagation by learning backprop targets. In International Conference on Machine Learning, pp. 5968–5987. PMLR, 2022.
Karl Friston and Stefan Kiebel. Predictive coding under the free-energy principle. Philosophical transactions of the Royal Society B: Biological sciences, 364(1521):1211, 2009.
Vineet Gupta, Tomer Koren, and Yoram Singer. Shampoo: Preconditioned stochastic tensor optimization. In Jennifer Dy and Andreas Krause (eds.), Proceedings of the 35th International Conference on Machine Learning, volume 80 of Proceedings of Machine Learning Research, pp. 1842–1850. PMLR, 10–15 Jul 2018. URL https://proceedings.mlr.press/v80/gupta18a.html.
Max Jaderberg, Wojciech Marian Czarnecki, Simon Osindero, Oriol Vinyals, Alex Graves, and Koray Kavukcuoglu. Decoupled neural interfaces using synthetic gradients. CoRR, abs/1608.05343, 2016. URL http://arxiv.org/abs/1608.05343.
Max Jaderberg, Wojciech Marian Czarnecki, Simon Osindero, Oriol Vinyals, Alex Graves, David Silver, and Koray Kavukcuoglu. Decoupled neural interfaces using synthetic gradients. In International conference on machine learning, pp. 1627–1635. PMLR, 2017.
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. 2014. doi:10.48550/ARXIV.1412.6980. URL https://arxiv.org/abs/1412.6980.
Yann LeCun and Corinna Cortes. MNIST handwritten digit database. 2010. URL http://yann.lecun.com/exdb/mnist/.
Dong-Hyun Lee, Saizheng Zhang, Asja Fischer, and Yoshua Bengio. Difference target propagation. In Joint european conference on machine learning and knowledge discovery in databases, pp. 498–515. Springer, 2015.
James Martens and Roger Grosse. Optimizing neural networks with kronecker-factored approximate curvature. In International conference on machine learning, pp. 2408–2417. PMLR, 2015.
Alexander Meulemans, Francesco Carzaniga, Johan Suykens, João Sacramento, and Benjamin F Grewe. A theoretical framework for target propagation. Advances in Neural Information Processing Systems, 33:20024–20036, 2020.
Beren Millidge, Anil Seth, and Christopher L Buckley. Predictive coding: a theoretical and experimental review. arXiv preprint arXiv:2107.12979, 2021.
Jorge Nocedal and Stephen J. Wright. Numerical optimization. Springer series in operations research and financial engineering. Springer, New York, NY, 2. ed. edition, 2006. ISBN 978-0-387-30303-1.
Arild Nøkland. Direct feedback alignment provides learning in deep neural networks. In Neural Information Processing Systems, 2016. URL https://api.semanticscholar.org/CorpusID:2843914.
Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Köpf, Edward Yang, Zach DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. PyTorch: an imperative style, high-performance deep learning library. Curran Associates Inc., Red Hook, NY, USA, 2019.
Vincent Roulet and Zaid Harchaoui. Target propagation via regularized inversion. Transactions on Machine Learning Research, 2023.
Tatsukichi Shibuya, Nakamasa Inoue, Rei Kawakami, and Ikuro Sato. Fixed-weight difference target propagation. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 37, pp. 9811–9819, 2023.
Naftali Tishby and Noga Zaslavsky. Deep learning and the information bottleneck principle. In 2015 ieee information theory workshop (itw), pp. 1–5. Ieee, 2015.
Pauli Virtanen, Ralf Gommers, Travis E. Oliphant, Matt Haberland, Tyler Reddy, David Cournapeau, Evgeni Burovski, Pearu Peterson, Warren Weckesser, Jonathan Bright, Stéfan J. van der Walt, Matthew Brett, Joshua Wilson, K. Jarrod Millman, Nikolay Mayorov, Andrew R. J. Nelson, Eric Jones, Robert Kern, Eric Larson, C J Carey, Ilhan Polat, Yu Feng, Eric W. Moore, Jake VanderPlas, Denis Laxalde, Josef Perktold, Robert Cimrman, Ian Henriksen, E. A. Quintero, Charles R. Harris, Anne M. Archibald, Antônio H. Ribeiro, Fabian Pedregosa, Paul van Mulbregt, and SciPy 1.0 Contributors. SciPy 1.0: Fundamental Algorithms for Scientific Computing in Python. Nature Methods, 17:261–272, 2020. doi: 10.1038/s41592-019-0686-2.
Yulin Wang, Zanlin Ni, Shiji Song, Le Yang, and Gao Huang. Revisiting locally supervised learning: an alternative to end-to-end training. arXiv preprint arXiv:2101.10832, 2021.
Han Xiao, Kashif Rasul, and Roland Vollgraf. Fashion-mnist: a novel image dataset for benchmarking machine learning algorithms. arXiv preprint arXiv:1708.07747, 2017.
SUPPLEMENTARY MATERIALS
A Related Work 12
B What do the TP losses mean? 13
C Proofs and Extended Remarks 13
C.1 Proof of Theorem 2: Norm-Induced Layer Separation 13
C.2 Remark: Handling Non-Invertible Output Layers 15
C.3 Classical TP as Projected Gradient Descent 15
C.4 Proof of Lemma 7: Feasibility of stacked perturbations 16
C.5 Proof of Theorem 8: KKT Conditions for the Constrained Subproblem 16
C.6 Proof of Theorem 9: Simplicial Decomposition of the Global Subproblem 17
C.7 Proof of Theorem 10: Single-parameter coupling of the two trust regions 19
C.8 Proof of Corollary 12: Exact recovery of KFAC 20
D Additional Experimental Details 20
D.1 Settings 20
D.2 Compute Requirements 21
D.3 Simplex Schemes 21
D.4 Ablation Studies 23
E Algorithm Listings 26
A RELATED WORK
Practical TP variants. Among backprop alternatives, the TP literature is comparatively sparse, in part due to the overhead historically associated with the method. The requirement of approximate inverses is restrictive: the canonical approach of training layerwise autoencoders introduces many iterations of feedback-weight training between forward updates, additional per-layer learning rates, and instability that worsens with depth (Bartunov et al., 2018). What's more, these approaches have weaker theoretical grounding, as it is difficult to characterize how close feedback functions are to the true Jacobian inverse. Much subsequent work has focused on eliminating or simplifying these feedback weights. (Meulemans et al., 2020) examines direct feedback pathways with similarities to DFA (Nøkland, 2016); FW-DTP (Shibuya et al., 2023) pushes this further, arguing that DTP regularizes strongly enough that even a fixed random feedback matrix suffices. Our work is closer in spirit to (Roulet & Harchaoui, 2023), which leverages autograd to compute the true Jacobian and employ a linearized version of Target Propagation. We extend this direction by embedding the inversion in a trust-region framework, separating the inverse's fidelity from its utility as a step-direction estimator. The inner-loop iterations our method incurs are spent solving a subproblem that approximates the true objective, rather than training feedback parameters that are discarded after training.
TP and Gauss-Newton. The connection between TP and Gauss-Newton was first made by (Bengio, 2020) and given more rigorous treatment by (Meulemans et al., 2020), whose proof we recount in Section 2.2. Subsequent work has largely retreated from the GN framing. (Roulet & Harchaoui, 2023) attempt to leverage the differential prescription but raise several objections to the proof in their appendix, ultimately focusing on RNN training and concluding that GN is unlikely to explain TP's empirical success. Other recent work abandons the GN connection entirely: LDRL (Ernoult et al., 2022) aims to reproduce BP gradients directly, achieving competitive results on CIFAR-style benchmarks, while (Bao et al., 2024) derive closed-form feedback functions via a Jacobian-matching loss. Both rely on alignment with BP gradients - positive but imperfect - which limits convergence speed by construction. We take the GN connection more seriously: solving the local subproblem properly turns TP from a method that can approximate BP into one that can potentially outpace it.
Second-order optimization. A range of works have applied second-order machinery to training deep networks. Block-diagonal approximations of the curvature matrix are common, supported by empirical evidence (Martens & Grosse, 2015; Gupta et al., 2018; Chen et al., 2018), and our work is closest in spirit to KFAC (Martens & Grosse, 2015), which targets the Gauss-Newton approximation and uses Levenberg-Marquardt-style damping. Our derivation differs in its treatment of this block-diagonal structure: rather than assume it, we obtain it as an upper bound on the Gauss-Newton subproblem via Theorem 9. KFAC is itself derived as a special case of our setup in Corollary 12. A connection between TP and KFAC was previously suggested in (Benzing, 2022) based on superficial similarity in their appearance. Our work rigorously establishes this connection.
B WHAT DO THE TP LOSSES MEAN?
The conventional presentation of Section 2.1 is operationally complete: it specifies how to compute targets and how to update weights. This subsection examines several choices that the presentation leaves implicit, and that bear on the theoretical status of the local subproblem. We surface them because they motivate the framing adopted in subsequent sections (and in particular, the surrogate loss of Section 3.1).
First, we consider why Equation equation 2 makes for a sensible target. In backpropagation, the weights are the principal optimization variable. Under backpropagation, the gradients are computed via the chain rule, and the weight update aggregates the per-sample loss gradients:
Target propagation takes a different approach, promoting the intermediate pre-activations as principal. To this end, note that the per-sample gradient vanishes as . A gradient descent step on the outputs , as in Equation 2, is one way to drive this.
With the output targets specified, we turn towards the hidden layers. As these are connected to the output by an invertible map, the natural choice for an intermediate target is the inverse image. We can make this intuition more rigorous as follows: with the downstream targets fixed, a natural loss function for is the following:
Note, by comparison with equation 37, that . If has a corresponding inverse , the above may be re-written:
If the composite function is -Lipschitz, then we may bound the above loss as follows:
We recognize the norm on the right-hand side as - implying that the local TP loss, for is an upper bound on the BP loss for the targets.
C PROOFS AND EXTENDED REMARKS
C.1 PROOF OF THEOREM 2: NORM-INDUCED LAYER SEPARATION
Recall the setup of the multi-layer subproblem from Section 3.2: let denote the stacked Jacobian and the stacked perturbation, as follows:
The regularised, multi-layer subproblem is given by:
In the derivation to come, we will require the following definition and lemma:
Definition 13 (S-Regularised Residual). Given the residual , output Hessian , output metric , Lagrange multiplier , and a choice of PD matrix , the S-regularised residual is:
Lemma 14 (Properties of the full Jacobian). is surjective; furthermore, for any , the matrix is positive definite.
Proof. For any , the first block of is simply , due to the identity matrix in 14. Hence, , and thus .
We are now in a position to prove the theorem. Taking the gradient of 16 with respect to , we obtain the normal equations:
Left multiplying by :
Then, by Lemma14, exists, and we have (using Definition 13):
Accordingly, any choice of metric is sufficient to separate the layers. However, in what follows, we will see that a diagonal holds additional advantages. To this end, re-examine the normal equations in 44, and consider the ansatz for some . Substituting into the left-hand-side of 44:
This equals the right side of 44 when . Therefore, an alternative (and by uniqueness, equivalent) expression for the minimiser is:
is the backpropagated regularised target, and acts as a preconditioner. Block diagonality of ensures this feasible to compute. The computation of also simplifies:
To proceed, observe that, if we consider perturbations , the matrix represents the covariance of - ie the pushforward of the prior covariance at the output. Thus, beyond numerical convenience, the choice suggests every target-space direction equally likely a priori, hence we refer to it as the egalitarian prior.
In the invertible case, it is clear that the following choice achieves S = I:
Any choice of on the simplex will work. The TP literature commonly makes the uniform choice . When the layers are not invertible, we include a small regularisation term as follows:
C.2 REMARK: HANDLING NON-INVERTIBLE OUTPUT LAYERS
A standard deep neural network has a characteristic shape: let denote the input dimension, the dimension of the intermediate activations, and the output dimension, with the common ordering . The first layer is non-invertible (it maps -dimensional inputs to -dimensional activations), but this poses no difficulty for our derivation, since we never propagate corrective targets to the input. The output layer is the genuine concern: collapses the -dimensional activation space onto outputs, with implying a large null space. The output map deletes substantial information about the activations, and we must specify how to handle this asymmetry.
Our strategy is to make the deleted information manifest. Decompose the output weight as via the singular value decomposition, with partitioned into the active singular values and the trailing zero block. The columns of split correspondingly into : components of the input lying in are mapped to the output, while components in are mapped to zero. The latter are precisely the directions in activation space that the output map deletes.
We make these directions explicit by augmenting the forward map:
where records the components that the original output map discards, and is a mask that suppresses the bias on the augmented coordinates. The augmented map is invertible by construction: is orthogonal, the upper block is the original output map, and the lower-block identity preserves the previously-deleted directions.
The corresponding inverse problem for the activation perturbation is then
The solution to this inverse problem is
where denotes the pseudoinverse of . Accommodating non-invertible layers thus reduces to specifying - a prescription for how to update the components of the activation that the loss does not directly constrain. We adopt the simplest choice, , equivalent to using the pseudoinverse of the original (unaugmented) forward map: in directions where the loss offers no corrective feedback, leave the activation unchanged.
C.3 CLASSICAL TP AS PROJECTED GRADIENT DESCENT
Differentiating the per-datapoint reconstruction loss with respect to gives
Since and , the residual collapses to . Summing over and folding the bias into yields, in matrix form,
The induced pre-activation perturbation is
which lies in and therefore satisfies by Lemma 5.
C.4 PROOF OF LEMMA 7: FEASIBILITY OF STACKED PERTURBATIONS
For each datapoint, stack the perturbations of all layers,
and stack these across the batch, . In this ordering the curvature is block-diagonal, with . Let select the block of layer , so that and . The constraint of Lemma 5 for layer then reads
Since the select disjoint blocks, for and , the operators are mutually orthogonal projectors, and their sum
is itself an orthogonal projector on . The constraints for all layers are therefore equivalent to the single condition .
C.5 PROOF OF THEOREM 8: KKT CONDITIONS FOR THE CONSTRAINED SUBPROBLEM
This appendix collects the KKT analysis of constrained quadratic minimization with linear equality constraints, and applies it to the multi-layer subproblem of Theorem 8. The generic result is standard (Nocedal & Wright, 2006); we state and prove it here for completeness, since it is invoked at several points in the main text.
Lemma 15 (KKT solution for equality-constrained quadratics). Let be symmetric positive definite, have full row rank, and be given. The unique minimizer of
is
The matrix is the Schur complement of the KKT system; it is invertible under the stated assumptions.
Proof. The Lagrangian of equation 62 is
Stationarity with respect to x gives
Substituting into the feasibility constraint :
where invertibility of follows from and having full row rank. Substituting back yields equation 63. Uniqueness follows from strict convexity of the objective on the affine feasible set.
Remark 16 (Geometric interpretation). The right-hand side of equation 63 is the projection of onto ker in the inner product . When , this reduces to the standard Euclidean projection . For , the projection is in the metric induced by , and is the unique minimizer of the -weighted distance to over the feasible set.
C.6 PROOF OF THEOREM 9: SIMPLICIAL DECOMPOSITION OF THE GLOBAL SUBPROBLEM
Motivation: Recall the unregularised multi-layer subproblem from 15:
Let be a set of layer-weight which lie in the interior of an simplex, such that:
It’s clear from substitution that any layer perturbations satisfying
will reduce to 0. The difficulty lies when we have non-zero and we minimize the of 2. As we will see, this will complicate the relationship between and .
Lemma 17 (A Majoriser on the GN Subproblem). Let lie on the simplex. Then the following is a majoriser of the un-regularised subproblem in Theorem 2:
Proof. Bounded above Because , we may write and regroup the argument of the norm as a convex combination:
The map v \mapsto \|v\|_M_n^2 is convex (and strictly so when ) so we may apply Jensen's inequality as follows:
Thus, the coupling is removed. Expanding each term:
Then, summing over , using the fact that :
Tangency in value
(73)
Tangency in gradient Differentiating the -th term of :
At the origin, this is simply:
(76)
Now that the layers may be treated separately, we introduce the trust-region framework through a Levenberg-Marquardt penalty. This leads to the following definition:
Definition 18 (Regularised Layer-Local Subproblem). Given the layer weight , Lagrange multiplier , and the block-diagonal metric of Theorem 2, the layer-local subproblem is:
By completing the square in the above definition, we may read off additional objects of note:
Curvature
(79)
Minimiser
(80)
Residual
(81)
Remark 19 (Interpretation of the ). : The layer weights enable us to distribute a single trust-region parameter across the different layers and datapoints.
The residual holds particular relevance: it is error that remains unaccounted for by the minimiser , and so the optimal perturbations will be found by choosing in the simplex that minimise . Unfortunately, the relationship between and is too complex to find a closed-form solution, and so we must resort to iterative methods. To this end, we prove the following lemma:
Lemma 20 (Convexity of the Regularised Layer-Local Subproblem). For , , and , is jointly convex in on .
Proof. From 70, Q is a sum over three terms:
(i)
(ii)
(iii)
Each term is jointly convex in :
• (i) is affine.
• (ii) For ,
which is a pointwise supremum of functions affine in .
• (iii) is a convex quadratic in alone, since .
Thus, since the sum of jointly convex functions is jointly convex, Q is jointly convex.
The joint convexity of suggests that a simple alternating minimisation scheme can be used to find the optimal and . The optimal for fixed may be read off from the completed-square in 80. For fixed , we make use of the following Lemma:
Lemma 21 (Optimal layer weights given fixed pre-activation perturbations). The optimal as a function of is given by:
Proof. Let be a Lagrange multiplier enforcing , and consider the Lagrangian:
Taking the derivative with respect to , we have:
Thus:
Now, performing the sum over :
Hence, finally:
We now prove that alternating minimisation can solve the subproblem:
Lemma 22 (Convergence of Alternating Minimisation). The sequence below converges to the minimum of :
(A)
(B)
Proof. Step (A) is the exact minimiser of : over for fixed . Step (B) is the exact minimizer of : over in the simplex for fixed . Denoting the -th iterates, the algorithm is monotonically non-increasing.
The sequence is bounded below by , and so it converges.
C.7 PROOF OF THEOREM 10: SINGLE-PARAMETER COUPLING OF THE TWO TRUST REGIONS
Throughout, , are the rows of , and we write for the pre-activation change induced on datapoint .
Inscription. Both and are nonnegative. If , then , and likewise , so . Minimising the local objective over the inscribed ellipsoid is a convex problem in which is strictly feasible; by Slater's condition strong duality holds, and its Lagrangian with multiplier is, up to a constant, the penalised objective .
The penalty. By the definitions in equation 29 and equation 30,
which gives the first line of equation 31.
Completing the square. Let . Expanding the -th summand and adding its share of the pre-activation penalty,
since the cross term carries the factor . This quadratic is minimised at , and because ,
Summing over and collecting the terms independent of into the constant gives the second line of equation 31.
Stationarity. Write . Perturbing changes by , so the first-order change in is . By symmetry of , the first-order change in is . Setting the gradient to zero,
where the last equality uses and the symmetry of . This is equation 33.
Uniqueness. For any V,
since and . The same expression is symmetric in its two arguments, so is symmetric positive definite in the Frobenius inner product. Hence is strictly convex, and its unique minimiser is the unique solution of equation 33.
C.8 PROOF OF CORROLLARY 12: EXACT RECOVERY OF KFAC
Substituting into equation 33,
Both factors are symmetric positive definite, so the system is solved by left-multiplying by and right-multiplying by . The right-hand side is unchanged by the substitution, since it is the true gradient for any choice of per-sample metric.
D ADDITIONAL EXPERIMENTAL DETAILS
D.1 SETTINGS
In this section, we recount additional experimental details that were not described in the main body of the paper. Our models are implemented using PyTorch (Paszke et al., 2019), and trained using NVIDIA RTX A6000 48GB GPUs.
General Training Details All second order methods were trained over 15 epochs, and all first-order methods (including the TP variants from the literature) were given 30 epochs. We reserve 10% of the training set as a validation set. The test errors are reported at the epoch with the best validation error. In all experiments, we denote the batch-size as fractions (so that a batch-size of 0.1 translates to 10% of the training dataset). Hyperparameters are tuned via Bayesian optimization on wandb against validation accuracy, with three seeds per configuration; we report the test error of the configuration with the best validation accuracy.
Trust Region Settings The exact trust region algorithm is given as a listing in Algorithm 1, where SOLVE is replaced by the strategy specified by KFAC, GDTP, EucTP, CGTP (no WD), or CGTP. We use the common values that are default in standard packages (Virtanen et al., 2020): a stringency of 0.15, acceptance/success thresholds of 0.25 and 0.75, a growth factor of 2 and a shrink factor of 0.25. The regularization strength is clipped to lie within 1e-5 and 1024.
Subproblem norm Each of the trust regions methods take, as subproblem norm, . For softmax cross-entropy classification problems (like those considered in the experiments), is not invertible. We combat this by adding a small, constant penalty on the magnitude of the model outputs, set to , which amounts to Tikhonov regularisation .
Preconditioned Conjugate Gradient We perform an ablation study (Table 4) incorporating preconditioners into our CG algorithm. Preconditioners are desirable because they can enable faster convergence, enabling us to get competitive results with a smaller number in cg iterations. We precondition with the averaged operator rather than a per-sample alternative. Beyond its Kronecker structure, this choice is the one consistent with the null-space elimination of Section 4.3 as it commutes with with the constraint operator. The general preconditioned CG algorithm is shared in Algorithm 2. Ultimately, however, we find that using preconditioners results in worse performance, and the gap is related to the choice of simplex scheme (Supp D.3).
Custom KFAC implementation KFAC here is our own implementation. Per Corollary 12, KFAC is exactly recovered from CGTP when the per-sample Jacobians are replaced by their batch mean. To ensure a fair comparison, we use the same trust-region adaptation as CGTP rather than periodic-inversion schedule of (Martens & Grosse, 2015). Likewise, we invert every step. This is more expensive per-step than a scheduled inversion but negligible relative to a network backward pass. We use a uniform simplex scheme to decouple the layer subproblems.
D.2 COMPUTE REQUIREMENTS
| Method | Batch size | Peak VRAM (mb) | FLOPs / step | Total Wall Clock (10 epochs) |
|---|---|---|---|---|
| BP+ADAM | 0.01 | 103.49 | 1.08 GFLOP | 6m 11s |
| KFAC | 0.1 | 660.40 | 93.8 GFLOP | 6m 24s |
| CGTP | 0.1 | 3210.10 | 1.16 TFLOP | 6m 47s |
Table 3: Resource comparison between BP+ADAM and CGTP
While we emphasise that our implementation is an unoptimised proof-of-concept, we include runtime statistics in Table 3, computed over a profiling run (10 epochs, batch sizes as listed) to measure per-step cost. Per step, CGTP uses roughly 12x the FLOPs of KFAC and 1000x those of Adam, because each outer iteration runs up to 100 CG iterations. These inner solves are independent across layers, so in a layer-parallel implementation they need not add to wall-clock time in proportion to depth; our implementation solves layers sequentially. Finally, other factors already favour our approach, e.g. reduced host-device data movement, since a batch is loaded to the GPU once and reused across all inner-loop iterations.
D.3 SIMPLEX SCHEMES
Theorem 9 describes how the multi-layer subproblem may be decomposed into non-interacting parts, and how alternating minimisation to find the optimal set of layer weights that maximises the expected decrease. Unfortunately, while updating for fixed can be done locally, updating the requires a global synchronisation step across layers. To this end, we perform an aggressively truncated alternating minimisation sequence: we initialise according to one of the strategies shared below, and then use this to take one -step. These are the alphas that then enter into our CG solver, and an ablation is shown in Table 4.
The strategies are as follows:
- Uniform: No -step. We simply initialise .
-
Unit : We consider , and approximate .
-
Large : In the limit of large , the regulariser dominates, so that .
Table 4: Numerical comparison of the test error and number of iterations to reach a given test error for the different simplex schemes. Hyperparameters for each algorithm were optimised for validation error.
| Preconditioner | Simplex Scheme | Test Score | milestone@0.13 |
| False | Large | ||
| False | Uniform | ||
| False | Unit | ||
| True | Large | ||
| True | Uniform | ||
| True | Unit |
D.4 ABLATION STUDIES
This subsection contains:
• Figure 1: compares test error between ADAM, KFAC, and CGTP at equal batch size.
• Figure 2: grid over batch size and max CG iterations, validation error (MNIST). Batch size matters most.
• Figure 3: test error against network depth (Fashion-MNIST), supporting the stability-across-depth claim.
• Figure 4: training and test curves for varying batch size, max CG iterations fixed at 100 (Fashion-MNIST).
• Figure 5: training and test curves for varying max CG iterations at batch size 0.1 (Fashion-MNIST). Small training gains, little effect on test error once large enough batch-size reached.

Figure 1: Comparing convergence of different optimisers at batch size 0.1 (Fashion-MNIST). CGTP hits the 0.13 score milestone after 7 batches. BP hits it at 50 batches, and KFAC does not reach it.

Figure 2: Results of a grid search over max CG iterations and batch size on validation error (MNIST dataset). By far the batch size has the biggest impact on model performance, due to its importance in estimating curvature (training curves may be seen in Figure4). However, even with a poor curvature estimate, increasing the max cg iter can improve performance - though its impact is diminished once sufficient batch size is reached.

Figure 3: A graph of the impact of network depth on test error (Fashion-MNIST). In comparison with methods such as TPRI, CGTP is stable across depth. This is likely due to the difference between the regularised composite Jacobian, and the product of regularised layer Jacobians.

Figure 4: Varying the batch size at fixed max cg iter (Fashion MNIST): We keep the max cg iter fixed at 100, and vary the batch size for CGTP. Larger batches result drastically accelerated learning, which is also reflected in the test error (with diminishing returns). This highlights a known phenomenon of second order optimizers, as they need larger batch sizes to get better second order estimates of the curvature.

Figure 5: Varying the max cg iter at fixed batch size (Fashion-MNIST): We keep the batch sized fixed at batch size 0.1 for CGTP. We see small improvements in terms of learning speed on the train set, but this does little for the test error.
E ALGORITHM LISTINGS
We include these listings for completeness. The trust-region update (Algorithm 1) and the preconditioned conjugate gradient solver (Algorithm 2) are standard and adapted from (Nocedal & Wright, 2006); what is specific to this work is the subproblem they are applied to (Sections 3- 4).
Algorithm 1 Trust-region outer loop with a pluggable subproblem solver (SOLVE)
Require: parameters ; initial damping ; solver SOLVE; stringency , thresholds , ; factors , ; bounds
1: for each outer iteration do 2: Draw a batch; forward pass; one backward pass to form only global communication 3: Supp. D.3 4: for each layer in parallel do 5: GDTP, CGTP, KFAC, ... 6: end for 7: pred , where 8: obsd 9: Compute performance ratio 10: if then 11: otherwise reject the step 12: end if 13: if then 14: 15: else if then 16: 17: end if 18: end for
Algorithm 2 Preconditioned conjugate gradient for the layer- realisation problem
Require: inputs with rows ; per-sample , , , , ; trust parameter ; preconditioner damping ; tolerance ; iteration budget
Ensure: approximate solution of equation 26
1: function APPLYG(V) , matrix-free 2: 3: for do 4: one JVP, one VJP 5: end for 6: return 7: end function
8: function PRECOND(R) inverse of 9: return two Cholesky solves 10: end function
11: for all ; 12: ; 13: for all targets 14: warm start, or 15: ; ; ; 16: for do 17: if then break 18: end if 19: 20: 21: ; 22: ; 23: ; 24: end for 25: return