arXiv:2610.11740cs.LGOct 2026

Manuscript Offprint

arXiv:2610.11740

Correlational Training of Morphological Neural Networks

Konstantinos Fotopoulos, Petros Maragos

ABSTRACT

Neural networks are typically trained using first-order methods and back-propagation. It is unclear whether this approach is optimal for morphological layers whose weight Jacobians are sparse and whose resulting parameter gradients can be poor. In this work, we propose a novel weight update method for morphological neural networks inspired from the Multiplicative Weights Update (MWU) scheme. We view each morphological perceptron as an instance of the learning from experts' advice problem in logarithmic space, and use a correlation-based reward that favors inputs aligned with the desired output change, regardless of whether a strong gradient signal has reached their weight. We empirically evaluate our approach by training fully connected layers both as standalone models and as parts of larger transformer networks. Across nine benchmarks, correlational training yields improvements on eight, by up to 32.84 percentage points, while substantially reducing run-to-run variability 1^{1}.

Index Terms— morphological networks, sparse gradients, multiplicative weights update, exponentiated gradient

1. INTRODUCTION

First-order optimization methods such as stochastic gradient descent and back-propagation have enabled efficient training of typical neural networks predominantly based on matrix multiplications combined with nonlinear activations [1]. It is, however, not obvious that this approach is optimal for alternative architectures with sparse or otherwise poorly informative parameter Jacobians. Among them, morphological networks [2, 3, 4, 5] are of particular interest due to their lack of multiplications — making them potentially more inference-efficient than their linear counterparts — and their rich supporting theoretical foundation [6, 7, 8, 9]. These networks are based on the morphological operations of dilation and erosion, replacing addition by maximum and multiplication by addition. Modern architectures include the Min-max-plus network of [10] and MPM networks of [11], which are based on the representation theory of mathematical morphology [8, 12] and come with theoretical guarantees.

Morphological networks [13, Chap.4] are notoriously difficult to train. As shown in [14, 15, 11], this difficulty stems from the sparsity of their gradient signals. In addition, [11] argues that the non-informativeness of the gradient is also a limiting factor. [11] tackles this by using depth to allow the gradient signal to disperse across all variables of the input. However, in many modern applications the feed-forward components comprise very shallow blocks of the network; see for instance the fully connected layers of transformer blocks. From the representation theorem of mathematical morphology [8, 12], expressed in its discrete form [10, Thm. 4.2], we know that shallow networks of suprema of erosions should be expressive, as they are zeroth-order universal approximators. Although such networks can approximate function values, their derivatives need not approximate those of the target function, inhibiting efficient training. This leaves open the question: Can we reliably train shallow Min-max-plus networks despite the sparsity and non-informativeness of their gradient signals?

Normalization techniques and/or dropout [10, 16, 11] have been used to mitigate the issue. Smoothing techniques [17] change the forward operator so that ordinary chain-rule gradients become denser. We also work with a softened morphological operator, but rather than relying solely on the denser chain-rule gradients produced by smoothing, we replace the morphological weight update itself using a surrogate reward. Alternative optimization methods include the use of the convex-concave procedure for training dilation-erosion perceptrons [18] and min-max classifiers [19], but are limited to smaller networks. Our contributions are as follows:

• We frame the training of the weights of a softened morphological perceptron as a learning from experts’ advice problem in logarithmic space.

• We propose the first, to the best of our knowledge, correlation-based, MWU-inspired update for morphological weights that bypasses their sparse local Jacobian. In particular, we put forward a weight update method that rewards inputs that correlate well with the desired change in the output,

1^{1}Code available: https://github.com/kostfoto/Morph-MWU.git regardless of whether they see a strong gradient signal.

• We evaluate our method empirically by training fully connected layers both as stand-alone networks on simple classification tasks, and as components of larger transformers.

References (22)