Neuroevolution of Self-Attention Over Proto-Objects
Rafael C. Pinto, Anderson R. Tavares
TL;DR
The paper addresses the computational burden of attention in vision-based reinforcement learning by replacing patch-based attention with proto-objects derived from segmentation as attention tokens. It introduces a five-stage proto-object attentional agent (convolution, quantization, segmentation, attention, control) optimized with CMA-ES, selecting a single proto-object to feed an LSTM controller. Results on Car Racing and Doom Take Cover show competitive or superior performance with 62% fewer parameters and substantially faster training, highlighting the efficiency of semantically rich bottlenecks. The work demonstrates the feasibility of neuroevolutionary approaches to non-differentiable components and discusses future directions toward differentiable training, memory-decoupled controllers, and scalability to real-world images.
Abstract
Proto-objects - image regions that share common visual properties - offer a promising alternative to traditional attention mechanisms based on rectangular-shaped image patches in neural networks. Although previous work demonstrated that evolving a patch-based hard-attention module alongside a controller network could achieve state-of-the-art performance in visual reinforcement learning tasks, our approach leverages image segmentation to work with higher-level features. By operating on proto-objects rather than fixed patches, we significantly reduce the representational complexity: each image decomposes into fewer proto-objects than regular patches, and each proto-object can be efficiently encoded as a compact feature vector. This enables a substantially smaller self-attention module that processes richer semantic information. Our experiments demonstrate that this proto-object-based approach matches or exceeds the state-of-the-art performance of patch-based implementations with 62% less parameters and 2.6 times less training time.
