Learning Compact Representations of Agricultural Fields: A Study of Variational Autoencoders Variants for Aerial Drone Imagery

Authors:

Abstract
The integration of aerial drone imagery into precision agriculture enables large-scale, high-resolution monitoring of crop conditions but also introduces challenges due to the dimensionality and variability of visual data. Variational Autoencoders (VAEs) and their variants provide a promising framework for learning compact latent representations that preserve meaningful crop features while reducing computational complexity. In this work, we investigate the suitability of VAE-based architectures for analyzing aerial imagery of pineapple fields. Using a dataset of approximately 5000 drone-acquired images, we evaluate reconstruction fidelity, robustness to noise, and the structure of latent spaces across different VAE variants, including VQVAE and $\beta$-VAE. Our analysis demonstrates that VAEs not only capture fine-grained plant features but also enable latentspace clustering that separates foreground (pineapple plants) from background (soil, vegetation, and other elements). These findings highlight the potential of VAE-derived representations for supporting downstream tasks such as plant counting, yield estimation, and stress detection. By releasing both dataset and code at https://github.com/imagine-laboratory/VAE, we aim to establish a reproducible benchmark for generative models in agricultural monitoring, advancing data-driven approaches for sustainable pineapple cultivation.
Funding Information
  • Universidad de Costa Rica