Pattern Analysis and Applications Computer Vision and Pattern Recognition
Elliptic-WKV: learned edge-stopping propagation for hyperspectral image classification
Abstract
Dense hyperspectral classification requires global spectral–spatial context and sharp class boundaries at once, and the two requirements pull against each other. Recurrent weighted key–value (RWKV) backbones deliver the first at linear cost but obtain the second only through gates applied after mixing has already occurred. This article shows that the bidirectional WKV operator used by such backbones is exactly a normalised convolution with the Green’s function of a constant-coefficient screened-Poisson operator on the raster path, an identity verified numerically to within $$\:1.3\times\:{10}^{-15}$$ that is, the largest absolute difference, over 27 independent parameter settings, between the output of the bidirectional WKV operator and the output of the elliptic solve it is claimed to equal, so the figure is a machine-precision check on an exact algebraic identity and not an approximation error. Propagation is therefore one-dimensional, blind to image content, and unable to stop at a material edge, so the correct generalisation is forced rather than invented. Elliptic-WKV replaces the path Laplacian with a learned four-connected lattice Laplacian whose edge conductances are driven by the spectral angle between neighbouring spectra, and replaces constant decay with per-pixel screening. The operator is a symmetric M-matrix for every parameter value. Well-posedness, a discrete maximum principle and a cut-conductance bound on cross-boundary leakage therefore hold by construction rather than by tuning, and bidirectional WKV is recovered exactly as one point of its parameter space. A multigrid hierarchy with harmonic conductance restriction keeps thin barriers intact across stages and predicts at native resolution. Across three benchmarks the operator cuts the cross-boundary kernel mass at a boundary pixel from 42 to 52% to 6–26%, and its advantage over the strongest baseline widens by roughly an order of magnitude when evaluation moves from random to spatially disjoint sampling.