AI-optimized farming system slashes energy use, boosts precision agriculture accuracy to 98.6%

Modern agriculture increasingly depends on Internet of Things (IoT)-enabled wireless sensor networks (WSNs) to automate decisions about irrigation, energy usage, and resource allocation. However, challenges such as high energy consumption, sensor overload, and limited processing power have made real-time optimization difficult in large-scale deployments. These issues are especially pronounced in data-rich environments where low-latency, adaptive scheduling is essential.


CO-EDP, VisionRICO-EDP, VisionRI | Updated: 05-06-2025 18:37 IST | Created: 05-06-2025 18:37 IST
AI-optimized farming system slashes energy use, boosts precision agriculture accuracy to 98.6%
Representative Image. Credit: ChatGPT

A new AI-driven system designed to optimize energy use and resource allocation in smart agriculture has demonstrated superior performance over conventional machine learning models, according to a 2025 peer-reviewed study. The study, titled “Smart Agriculture Resource Allocation and Energy Optimization Using Bidirectional Long Short-Term Memory with Ant Colony Optimization (Bi-LSTM–ACO),” was published in Frontiers in Communications and Networks.

Developed by researchers at SRM Institute of Science and Technology, the system integrates bidirectional long short-term memory (Bi-LSTM) neural networks with ant colony optimization (ACO) to manage wireless sensor networks in precision agriculture. By processing real-time environmental data, including temperature, humidity, soil moisture, and water usage, the hybrid model enhances scheduling, reduces latency, and minimizes energy waste across agricultural IoT networks.

What problems does the Bi-LSTM–ACO system solve in agriculture?

Modern agriculture increasingly depends on Internet of Things (IoT)-enabled wireless sensor networks (WSNs) to automate decisions about irrigation, energy usage, and resource allocation. However, challenges such as high energy consumption, sensor overload, and limited processing power have made real-time optimization difficult in large-scale deployments. These issues are especially pronounced in data-rich environments where low-latency, adaptive scheduling is essential.

To address these constraints, the study proposes a two-pronged model. First, Bi-LSTM is used to analyze time-series data and make sequential predictions about energy needs and system behavior. Second, ACO, a metaheuristic inspired by the foraging behavior of ants, is used to fine-tune Bi-LSTM hyperparameters and optimize sensor operation routes. This dual strategy allows the system to identify the most energy-efficient paths for data transmission while preserving prediction accuracy.

The system architecture includes preprocessing using Z-score normalization, feature extraction via Principal Component Analysis (PCA), and feature selection through Particle Swarm Optimization (PSO). Together, these modules reduce computational overhead and help the model focus only on the most relevant data signals.

How well does the Bi-LSTM–ACO system perform compared to other models?

The model achieved an accuracy of 98.61%, a precision of 92.16%, a recall of 98.06%, and an F1 score of 91.41%, surpassing standard models such as LSTM, GRU, MLP, CNN-LSTM, and even standalone Bi-LSTM without ACO. According to comparative benchmarks in the study, the closest competitors were GRU and CNN-LSTM models, which posted F1 scores of 89.61% and 89.46% respectively.

Performance gains were attributed to the dynamic parameter optimization provided by the ACO algorithm. The Bi-LSTM component captures both forward and backward temporal dependencies in sensor data, allowing for a more comprehensive understanding of environmental trends. Meanwhile, ACO dynamically adjusts learning rates, dropout ratios, and LSTM unit configurations to maximize predictive reliability and minimize energy consumption.

Additionally, the model was tested against other optimization strategies, such as genetic algorithms (GA), gray wolf optimization (GWO), and PSO, using the same Bi-LSTM base. ACO consistently outperformed the alternatives across all key metrics. In five-fold cross-validation tests, the model maintained an average training accuracy of 98.19% and validation accuracy of 98.20%, confirming its generalizability and robustness across different data subsets.

What are the practical implications for smart farming?

The proposed Bi-LSTM–ACO framework is designed for real-world implementation in smart agriculture systems that require autonomous, data-driven control. Its most immediate application is in precision irrigation, where it can help determine when and how much to water crops based on real-time soil and weather data. This capability is crucial for conserving water and reducing energy expenditures linked to pump operation and sensor communication.

Sensor nodes equipped with temperature, humidity, and moisture sensors collect data in the field and transmit it to an IoT cloud platform such as Adafruit IO. The trained Bi-LSTM–ACO model then predicts resource needs and communicates actuation commands, like turning water pumps on or off, with minimal delay and energy cost. Over time, this results in lower system-wide energy usage, extended sensor lifespans, and improved agricultural productivity.

The use of dimensionality reduction (via PCA) and feature selection (via PSO) ensures that the model is scalable and can be adapted for large-scale farm operations without incurring prohibitive computational costs. The framework also provides a structured methodology for future enhancements, such as integrating communication-aware scheduling, adapting to denser sensor networks, and mitigating path-loss effects in wireless communication.

  • FIRST PUBLISHED IN:
  • Devdiscourse
Give Feedback