The Normalized Difference Layer: A Differentiable Spectral Index Formulation for Deep Learning

Ali Lotfi, Adam Carter, Mohammad Meysami, Thuan Ha, Kwabena Nketia +1 more
1/11/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Normalized difference indices have been a staple in remote sensing for decades. They stay reliable under lighting changes produce bounded values and connect well to biophysical signals. Even so, they are usually treated as a fixed pre processing step with coefficients set to one, which limits how well they can adapt to a specific learning task. In this study, we introduce the Normalized Difference Layer that is a differentiable neural network module. The proposed method keeps the classical idea but learns the band coefficients from data. We present a complete mathematical framework for integrating this layer into deep learning architectures that uses softplus reparameterization to ensure positive coefficients and bounded denominators. We describe forward and backward pass algorithms enabling end to end training through backpropagation. This approach preserves the key benefits of normalized differences, namely illumination invariance and outputs bounded to $[-1,1]$ while allowing gradient descent to discover task specific band weightings. We extend the method to work with signed inputs, so the layer can be stacked inside larger architectures. Experiments show that models using this layer reach similar classification accuracy to standard multilayer perceptrons while using about 75\% fewer parameters. They also handle multiplicative noise well, at 10\% noise accuracy drops only 0.17\% versus 3.03\% for baseline MLPs. The learned coefficient patterns stay consistent across different depths.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lotfi2026normalized,
  title  = {The Normalized Difference Layer: A Differentiable Spectral Index Formulation for Deep Learning},
  author = {Ali Lotfi and Adam Carter and Mohammad Meysami and Thuan Ha and Kwabena Nketia and Steve Shirtliffe},
  year   = {2026},
  eprint = {2601.06777},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.06777v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.06777.svg)](https://codeofpaper.com/paper/2601.06777)

Discussion