arXiv:2610.30007cs.CVOct 2026

Manuscript Offprint

arXiv:2610.30007

Multiclass Boundary Refinement with Neural Cellular Automata for Remote Sensing Land Cover Segmentation

Pascoassis Souza Santos Meira, Gilson Antonio Giraldi, Rafael Duarte Coelho dos Santos

Abstract

Semantic segmentation of remote sensing imagery often places class boundaries a few pixels away from where they truly lie, and this position error is concentrated in the thin band measured by Boundary IoU (BIoU). We treat boundary refinement as the iterated application of a small learned local rule: the Boundary Refinement Neural Cellular Automaton (BRNCA), that starts from the class probabilities of a frozen, pre-trained segmenter and corrects them cell by cell. We generalise the binary rNCA to the multiclass case by keeping the visible channels on the probability simplex through an Aitchison (log-space) update and by adding free hidden channels. The best configuration improves the mean BIoU over the base segmenter by 2.36 points (from 46.63 to 48.99). The gain is concentrated on the irregular woodland class (+8.5 points BIoU); this suggests that position error is correlated with the fractal dimension of the class boundaries.

1 Introduction

Land use and land cover (LULC) maps underpin the monitoring of territorial change and evidence-based environmental policy. In remote sensing, producing them is a multiclass semantic segmentation problem: every pixel receives exactly one of several categories, so every region is delimited by the boundaries it shares with its neighbours, and the quality of the map depends directly on where those boundaries are placed. Modern segmenters, from convolutional networks [7, 15] to Vision Transformers [4] and foundation-model encoders [11, 14], are good at deciding what a region is and less reliable at deciding its boundary.

We distinguish two kinds of error (Figure 1). A semantic error assigns a whole region to the wrong class. A position error occurs when the interiors of two neighbouring regions are classified correctly but the decision boundary separating them is displaced with respect to the true one. Global metrics such as IoU mix both effects and are dominated by interiors. Boundary IoU (BIoU) [3] restricts the computation to a narrow band around the annotated boundary and therefore isolates position error; its complement, Interior IoU (IIoU), measures the remainder of each region. State-of-the-art segmenters typically score a much lower BIoU than IoU [3], demonstrating that boundary refinement remains an open challenge.

Two further obstacles are specific to remote sensing. First, the contours of natural classes (vegetation, rock, water) are highly irregular and can be characterised by fractal dimension [9, 19]. Second, a segmenter sees the scene through a finite window (the raster crop, the backbone patch, the convolution kernel or attention window) that is much smaller than the continuous scene it represents. We quantify the first obstacle through the fractal dimension of the class boundaries (Section 4.1) and address the second with local, iterated refinement.

Figure

Figure 1: Position and semantic errors in a real segmentation. Left: input image; middle: error regions overlaid on it; right: error regions alone. Position errors are thin slivers along region contours; the large light-green blob is a semantic error (sparse vegetation predicted over an area of dense vegetation).

Cellular automata (CA) [17, 21] apply one simple rule uniformly to the immediate neighbourhood of every cell. Such a rule works at the native image resolution, and can be directed to the boundary, leaving interior decisions that are already correct untouched. A Neural Cellular Automaton (NCA) [10] parametrises the rule with a small neural network and trains it by back-propagation through time (BPTT) [20]; unrolling the automaton's time steps, it can be seen as a recurrent residual convolutional network. rNCA [16] showed that an NCA can repair binary segmentation masks. Here we generalise the idea to multiclass segmentation with the Boundary Refinement Neural Cellular Automaton (BRNCA) and ask a deliberately narrow question: what is the smallest NCA that moves boundaries to the right place?