An autoencoder wavelet based deep neural network with attention mechanism for multistep prediction of plant growth

Bashar Alhnaity, Stefanos Kollias, Georgios Leontidis, Shouyong Jiang, Bert Schamp, Simon PearsonarXiv 2020

TL;DR

The paper introduces WT-ED-LSTM-AM, a hybrid deep learning architecture that combines wavelet transforms, LSTM encoder-decoders, and attention mechanisms for multi-step prediction of plant growth. By accurately forecasting plant Stem Diameter Variations (SDV) up to 12 hours ahead, the model successfully mitigates the classic problem of error accumulation in long-term time series forecasting, paving the way for more precise, data-driven climate control in smart greenhouses.

What Problem Does This Paper Address?

In smart agriculture, tracking plant growth dynamics in real time is essential for optimizing irrigation and climate control. A key physiological indicator of a plant's water status and growth is its Stem Diameter Variation (SDV)—the microscopic shrinkage and expansion of the stem during day-and-night cycles.

While predicting SDV just one hour into the future (one-step-ahead forecasting) is relatively straightforward, growers benefit far more from knowing trends several hours in advance (multi-step-ahead forecasting). However, multi-step forecasting is notoriously difficult because time-series models typically suffer from error accumulation: a tiny mistake in predicting hour one cascades into massive inaccuracies by hour twelve. Furthermore, plant biosystems are highly complex, dynamic, and sensitive to noisy environmental fluctuations, causing traditional shallow machine learning models to hit a performance bottleneck.

Methods

To tackle noise and error propagation, the authors propose a five-step deep learning pipeline called WT-ED-LSTM-AM:

  1. Wavelet Transformation (WT): The raw, noisy time-series data is decomposed using a Daubechies (db2) wavelet into low-frequency approximations and high-frequency details. This filters out environmental noise while preserving the underlying signal trend.
  2. LSTM Encoder-Decoder (ED): Inspired by unsupervised video representation learning, a pre-trained two-layer LSTM encoder compresses the cleaned time-series data into a compact embedding vector. A decoder then learns to reconstruct the input signal from this embedding, ensuring the network extracts highly representative features.
  3. LSTM Forecasting Layer: The learned embeddings are fed into a subsequent LSTM network designed to capture the temporal dynamics of the sequence.
  4. Attention Mechanism (AM): An attention layer is integrated across the internal LSTM layers. Instead of relying blindly on the final hidden state, the attention mechanism calculates "attention scores" to dynamically focus on the most critical historical time segments.
  5. Output Layer: A final single-layer neural network maps the attention-weighted context vector to the final multi-step SDV predictions.

Datasets

The model was trained and evaluated on a real-world agricultural dataset:

  • Ficus Plant Dataset: Data was collected from Ficus benjamina plants over a cultivation period starting in March 2016 at the Ornamental Plant Research Centre (PCS) in Destelbergen, Belgium.
  • Sensors & Features: Stem diameter was continuously tracked using highly sensitive Linear Variable Displacement Transducer (LVDT) sensors. The dataset also included greenhouse microclimate variables: Photosynthetic Active Radiation (PAR), $\text{CO}_2$ concentration, temperature, and relative humidity.
  • Setup: The data was formatted into hourly variation rates and split into 70% training, 10% validation, and 20% testing sets.

Key Insights and Ideas

  • Denoising is a Prerequisite for Biological Data: Raw biological data is inherently messy. The authors demonstrate that applying a Wavelet Transform to isolate noise before feeding data into a neural network drastically improves downstream model fitting.
  • Embeddings Beat Raw Sequences: Rather than forecasting directly from raw sensor inputs, using an encoder-decoder architecture to extract unsupervised sequence embeddings provides a much more robust foundation for long-term predictions.
  • Attention Tames Cascading Errors: The attention mechanism acts as a safety net against error accumulation. By allowing the network to look back at specific, highly relevant past states during a multi-hour forecast, it maintains accuracy even at a 12-hour horizon.

Key Results

The proposed WT-ED-LSTM-AM model was tested against standard baselines—including Support Vector Regression (SVR), Random Forest (RFR), Multi-Layer Perceptrons (MLP), standard LSTMs, and Gated Recurrent Units (GRU)—across 1-hour, 6-hour, and 12-hour forecasting horizons.

  • Superior Accuracy: The proposed model consistently achieved the lowest error across all metrics (RMSE, MAE, and MAPE).
  • 1-Hour Ahead: Achieved a Root Mean Squared Error (RMSE) of 0.0026 and a Mean Absolute Percentage Error (MAPE) of 2.14% (outperforming the standard LSTM's RMSE of 0.0031 and MAPE of 3.27%).
  • 12-Hours Ahead: Maintained an impressive RMSE of 0.0029 and a MAPE of 1.35% (compared to standard LSTM's RMSE of 0.0054 and MAPE of 1.60%).
  • Ablation Proof: Removing the wavelet component (ED-LSTM-AM) or the attention mechanism (WT-ED-LSTM) caused performance to drop, proving that both denoising and attention are vital to the architecture's success.
  • Peak Capture: Qualitatively, the model successfully predicted sharp, sudden physiological spikes in plant data where all baseline models completely failed.

Limitations and Future Work

The primary limitation of the current architecture is that it is entirely data-driven, relying purely on statistical patterns captured by sensors. It lacks an understanding of actual biological or physical laws.

For future work, the authors plan to merge this data-driven deep learning pipeline with knowledge-based (symbolic) AI models. By combining sub-symbolic neural networks with symbolic rules that govern plant physics and greenhouse thermodynamics, they hope to create an even more contextual and robust forecasting framework.

Summary updated

BibTeX
@misc{alhnaity2020autoencoder,
  author = {Bashar Alhnaity and Stefanos Kollias and Georgios Leontidis and Shouyong Jiang and Bert Schamp and Simon Pearson},
  title = {{An autoencoder wavelet based deep neural network with attention mechanism for multistep prediction of plant growth}},
  year = {2020},
  eprint = {2012.04041},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.04041},
}
Figure