- Rating
- 4
- Clarity
- 3
- Confidence
- 5
- Originality
- 3
- Quality
- 2
- Significance
- 2
Read review
Summary
K-prop: Deep Online Learning by Backpropagating Temporal Kernels The authors present K-Prop, a novel algorithm to train recurrent neural networks in an gradient-based, online fashion while overcoming the O(n^4) scaling of RTRL. To frame it simply: They introduce an RTRL approximation that makes RTRL computationally tractable while making gradients inexact. This work thus falls in line with a lot of past works, particularly from the neuromorphic domain, e.g. e-prop or OSTL. Key claims of the paper are: online and local learning algorithm for deep networks on par with BPTT/RTRL (perfect gradient methods), algorithm particularly suited for analog computing.
Strengths and weaknesses
-
Merits of the work: - Mathematical derivations are sound, although the notation is a bit confusing. Figure 2 is particularly helpful for illustrating the main point of the work. - Experimental design and evaluation strategies are sound and well chosen and well above the typical NeurIPS threshold. I want to emphasize the value of Figure 3 in particular. The cosine similarity plot is great.
- The work selected experiments that are in agreement with literature such as Bohnstingl et al. and Bellec et al.
- The idea of multiple traces coexisting is not novel, but algorithmically well illustrated.
- The work selected experiments that are in agreement with literature such as Bohnstingl et al. and Bellec et al.
-
Gaps to be addressed:
- The experimental evaluation is insufficient to support the claims of the authors. Particularly, the authors repeatedly emphasize the performance equivalence of BPTT. However, this claim mostly rests on two of the simplest ML benchmarks in existence, MNIST1D and CartPole. This is weak if any evidence to support the claims. Furthermore, the experiments itself were executed on a tiny 5 layer architecture with (1-6-6-6-2) neurons. While it is impressive that the model works under these conditions, it does not reflect the practical reality of larger benchmarks and better generalization which scale mostly with layer depth and layer width. These scalings introduce significant additional problems into model training, in particular when training with gradient approximations. As the authors correctly pointed out, the errors made by the approximations compound during the propagation. This gets even worse when the network is scaled up and effects like covariate shift and numerical issues become relevant. I can only strongly urge the authors to perform experiments at scale to better support their arguments. However, my intuition is that this algorithm will suffer the same fate as all other approximations such as OSTL: at scale, performance of these approximation methods collapses exactly due to the aforementioned reason. If the authors provide experiments to counter this claim I am willing to put a strong accept as such an algorithm will be of major interest for the neuromorphic community.
- Regarding choice of datasets: There needs to be more experiments. There are plenty of other datasets that contain a relevant temporal axis that can be investigated, such as DVS-128 by IBM, Google Speech Commands etc. For the RL part I am wondering why only the simplest one, CartPole, was investigated. OpenAI Gymnasium allows a quick scaleup to train on other tasks as well and for the given small architecture, this would be a matter of minutes, even on a home computer.
- Ln 164: surrogate derivative should have been ablated for at least one other choice...
- To my understanding, the approach as derived works only for the leaky integrator. This is a very simple neuron type. Other approaches such as e-prop easily scale to other neuron types with multiple compartments and more intricate dynamics. The current derivation presented in this paper does not offer a simple path to making this more general. What is worse, the way the approximations are introduced is by hand. The implementation to my understanding completely implements the gradient pass by hand and is not automatized which makes scaling to other frameworks or larger experiments a pain. In contrast, e-prop and consorts can be simply implemented with a standard BPTT pass and a stop_grad on the recurrence, which at least enables large-scale investigations of stability, even though the computational benefits can't be harnessed.
- O(n^4) to O(n^2) is theoretically demonstrated, but never practically with runtime and memory measurements, i.e. need to demonstrate O(1) over O(T) memory scaling etc. This goes in line with the criticism above
- Ln 210 ctd.: Only one stddev is reported, but needs at least two --> probably results will then be in 96 pm 2% which puts the work on the same performance
- Stability of the learning algorithm is especially important for analog hardware since there, values can be heavily quantized and noisy. Furthermore, there is drift noise over time. The authors make an offhand remark that the algorithm is well-suited for analog hardware, but provide no experimental evidence of this which demonstrates the noise robustness to solidify this claim.
-
What needs to be done for changing the score (weak accept):
- Ideally more and larger experiments, but i acknowledge that this might not be possible
- Ablate the choice of the surrogate.
- At least a couple of RL control experiments with sligthly more neurons (this could be done very easily)
- Report experiments for 2 stddev if not already done, i.e. 95% confidence intervals
- Give an account of how to generalize the derivation to other neuron types, ideally with a practical example.
- Elaborate on the analog computing part. Some experimental evidence (e.g. add appropriate noise to the simulations for the already done ) is required.
-
Other Recommendations:
- No labels in figure 6b, add them
- Drop figure 6 a - everyone knows the cartpole
- Ln 164 surrogate derivative should have been ablated for at least one other choice...
-
Final claim: The author is not in any way affiliated with the e-prop/OSTL line of work in any way.
Questions
- How to generalize to other neuron types?
- How can the process of deriving the eligibility traces be automatized? This is relevant for large-scale applications
Limitations
The authors have not fully addressed the limitations of their work. See my above criticisms.
Paper formatting concerns
None.
Final justification
Authors have addressed all my concerns. However there is still a lack of experimental evaluation on very large models that is hard to do in the limited amount of time. I am very happy about the noise-robustness experiments.
Meta-review
The paper is currently leaning towards rejection.
While reviewers find the motivation strong and view K-prop as a potentially creative approach to online learning, there are several standing concerns: