arXiv:2611.12248cs.LGNov 2026

Manuscript Offprint

arXiv:2611.12248

A method to automatically discover symbolic local learning rules

Andrea Perin, Fabio Anselmi, Stephane Deny

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

Abstract

We present a general method for discovering symbolic local learning rules that can replace backpropagation, applicable, in principle, to any deep learning architecture and task. The method automatically discovers local loss functions specific to each layer by (1) constructing a dictionary of monomials of local tensor variables, inspired by Penrose diagram notation, (2) regressing over coefficients weighting these monomials to build layerwise polynomial losses whose gradients together minimize a target global loss. We test the method on classification, reconstruction, and self-supervised learning tasks with small multilayer networks and minimal datasets. Across all tasks, the discovered rules induce non-trivial interactions between layers, which lead to significant reductions in the corresponding global losses. Furthermore, the method selects sparse combinations of monomials, finding local rules that are more interpretable than those generated by MLP-based alternatives. The potential implications of our method range from energy-efficient deep learning to the discovery of biologically plausible learning mechanisms.

1 Introduction

The plausibility of backpropagation as a model of biological learning is disputed [e.g., Crick, 1989, Lillicrap et al., 2016, 2020, Richards et al., 2019], mainly because it demands sharing gradient information across all layers of deep networks at each update step. A more plausible candidate would have to be local and require limited information sharing across the network [Bredenberg et al., 2023]. From a machine learning perspective, local learning rules—when supported by suitable hardware [Momeni et al., 2025]—may offer practical advantages over standard backpropagation: they reduce cross-layer information transfer, enable layers to be updated in parallel, and may reduce energy costs in hardware settings where communication is a bottleneck.

Different approaches have been proposed to replace backpropagation with local learning rules. For simple problems and shallow networks, closed-form learning rules have been derived analytically [e.g., Oja, 1982, 1989, Hyvärinen and Oja, 1998, Pehlevan et al., 2015]. For more complex problems and deeper networks, hand-engineered local learning rules have shown empirical success in specific settings [e.g., Löwe et al., 2019, Xiong et al., 2020, Siddiqui et al., 2024, Zihan et al., 2026]. Methods have also been proposed to automatically discover effective local learning rules [e.g., Metz et al., 2019, Gu et al., 2019, Gregor, 2020, Tyulmankov et al., 2022, Metz et al., 2022, Shervani-Tabar and Rosenbaum, 2023, Confavreux et al., 2023]. Typically, these methods train auxiliary multi-layer perceptrons (MLPs) to implement local weight updates. They, however, do not produce interpretable equations for the learning rules, as MLPs perform highly non-linear and complex transformations of their inputs.

Here, we start from the observation that many classical local learning rules can be expressed as low-order polynomial functions of locally available variables, such as weights and pre- and post-synaptic

*Corresponding author: andrea.perin@aalto.fi. †Co-last authors.

Preprint.

activities. We postulate that, for more complex problems (deeper networks and complex tasks), approximate solutions also exist that are expressible as polynomials of accessible local variables. We design a method that turns the construction of local learning rules into a systematic, learnable procedure: for each layer, our method (1) automatically generates a dictionary of monomials of local tensor variables, leveraging a method known in physics as Penrose diagram notation, and (2) learns the coefficients weighting these elements to build polynomial local losses. The gradients of these losses induce local updates that together conspire to satisfy a target global objective. We demonstrate the feasibility of our approach on minimal problems of classification, reconstruction, and self-supervised learning.

References (40)