Abstract

The world population is expected to reach over 9 billion by 2050, which will require an increase in agricultural and food production by 70% to fit the need, a serious challenge for the agri-food industry. Such requirement, in a context of resources scarcity, climate change, COVID-19 pandemic, and very harsh socioeconomic conjecture, is difficult to fulfill without the intervention of computational tools and forecasting strategy. Hereby, we report the importance of artificial intelligence and machine learning as a predictive multidisciplinary approach integration to improve the food and agriculture sector, yet with some limitations that should be considered by stakeholders.

1. Introduction

The estimation of the global food production must be increased by 60–110% to feed 9-10 billion of the population by 2050 [1, 2]. Thus, the sustainability of agriculture field is the key to guarantee food security and hunger eradication for the ever-growing population. In addition, due to the appearance of several food safety scandals and incidents in the food sector such as bovine spongiform encephalopathy and dioxin in poultry [3], a well-documented traceability system has become a requirement for quality control in the food chain. Moreover, weather and climate change conditions, together with the sustainable water management due to water scarcity, are crucial challenges in the next years. For these reasons, urgently, the establishment of a strategic shift from the current paradigm of enhanced agricultural productivity to agricultural sustainability is needed. To anticipate efficient solutions, helping farmers and stakeholders to enhance their decision by adopting sustainable agriculture practices is a crucial choice, especially the use of digital technologies including Internet of things (Iot), Artificial Intelligence (AI), and cloud computing. Additionally, the subsets of AI (machine and deep learning algorithms) combined with location intelligence technologies are extensively used. The goal of our review is to present the main applications of artificial intelligence and machine learning techniques in the agri-food sector.

2. Artificial Intelligence and Machine Learning Approach

The artificial intelligence (AI) is a creative tool that simulates the human intelligence and ability processes by machines, principally computer systems, robotics, and digital equipment [4]. Several applications of the AI include natural language processing (NLP) to comprehend human verbal communication as it is spoken, computer vision to see an analog-to-digital conversion such as video, and speech recognition and expert systems to simulate the judgment. The AI encoding is based on learning (acquire data and then create algorithms to turn them into actionable information), reasoning (choose the right algorithm to reach a preferred result), and self-correction (continually adjust designed algorithms and ensure that they provide the most accurate results) as three cognitive skills [5]. The AI technique is being used in several sectors which are seeing the fastest growth in the recent years such as finance, healthcare, retail, pharmaceutical research, intelligent process automation, and marketing. Machine learning (ML) is one of the central themes of AI and helps people to work more creatively and efficiently. In ML, statistical and mathematical methods are used to learn from datasets to make data-driven predictions/decisions. Several different methods exist for this. General distinction can be made by two systems; the first one is the symbolic approaches (the induced rules and the examples are explicitly represented) and the second one is the subsymbolic approaches (artificial neuronal networks: ANN). The ML approach is classified into three major tasks: supervised, unsupervised, and reinforcement learning. According to the supervised learning, the aim of this approach is to map the variables to the preferred output variable [6]. The predictive model is created using the labeled data with the prior knowledge of the input and the desired output variables. Algorithms used under supervised learning techniques are numerous, particularly, decision trees, Bayesian networks, and regression analysis. Concerning the unsupervised learning, it includes algorithms such as Artificial Neural Networks (ANNs), clustering, genetic algorithm, and deep learning and uses unlabeled datasets without prior knowledge of the input and output variables. In fact and as mentioned by Jordan and Mitchell [7], this case of unsupervised machine learning method establishes the hidden patterns by using the unlabeled dataset and is primarily used for dimensionality reduction and exploratory data analysis. According to the third category of ML task named the reinforcement learning, numerous algorithms are used for machine skill acquisition, robot navigation, and real-time decision making such as Q-learning and deep Q-learning. In this case of ML task, the learner interacts with the environment to collect information and the two steps of training and testing datasets are combined. The learner gets awarded for his actions with the environment leading to an exploration versus exploitation dilemma. The learner must explore new unknown actions to gain more information as compared to exploiting the information already collected [8]. Recently, AI technology has opened the doors of its implementation in the agri-food sector. In fact, AI approaches offer significant contributions and assistances to understanding a model’s identification, service creation, and the decision-making processes as support to the different agri-food’s applications and supply chain stages. The principal goal of AI in agriculture is to provide precision and forecasting decision in order to improve the productivity with resource preservation [4]; through this, AI tools propose algorithms to evaluate performance, classify patterns, and to predict unexpected problems or phenomena in order to solve comprehension problems in the agricultural field and for the identification of pests and its suitable method of treatment, as well as the management of the irrigation process and water consumption by setting up smart irrigation systems. Abiotic and biotic factors are being assessed through remote sensing and sensors in order to optimize crop and livestock management [4, 9]. In addition, the AI implementation and applications have enormous advantages which could revolutionize the agri-food sector and its related business. Firstly, AI provides more efficient ways to produce, harvest, and sell crops products as well as emphasis on checking defective crops and improving the potential for healthy crop production and also AI is being used in applications such as automated machine adjustments for weather forecasting and disease or pest identification with 98% accuracy. In fact, recently, Sujatha et al. [10] compared the performance of machine learning (ML) and deep learning (DL) methods to detect and identify the citrus plant leaf disease. They showed that the VGG-16 deep learning method gave the best result in terms of disease classification accuracy. Secondly, the progression in the AI technique has reinforced agro-based businesses to run more proficiently by improving crop management practices, thus helping many tech businesses invest in algorithms that are becoming useful in agriculture as well as by solving the contrasts farmers face such as climate variation and an infestation of pests and weeds that decreases yields. Indeed, Crane-Droesch [11] developed a novel modeling approach for augmenting parametric statistical models with deep neural networks, which we term semiparametric neural networks (SNNs), and by using data on corn yield from the US Midwest, they showed the outperformance of this approach in predicting yields of years withheld during model training compared to classical statistical methods and fully nonparametric neural networks. Thirdly, by using AI tools, farmers could be able to remain updated with the data related to weather forecasting and, therefore, predicted weather data help farmers to increase yields and profits without risking the crop, and as a result, after analyzing the generated data, AI allows the farmers to better understand and learn and then to take the precaution by implementing practices in order to make a punctual smart decision. In fact, Fente and Singh [12] collected different weather parameters (temperature, precipitation, wind speed, pressure, dew point visibility, and humidity) from the Indian climate data center and implemented a weather forecasting model by using a recurrent neural network (RNN) with the long-short-term memory (LSTM) technique. They concluded that the used technique gave high-accuracy results compared to other weather forecasting approaches. Fourthly, AI approaches are capable of monitoring soil health and management by conducting and identifying the possible defects and nutrient deficiencies in the soil either by image captured with the camera recognition tool or by deep learning based tool to analyse flora patterns in farms and to simultaneously understand soil defects, plant pests, and diseases. In fact, Suchithra and Pai [13] classified and predicted the soil fertility indices and pH levels of Kerala north central laterite Indian region soil by using the Extreme Learning Machine (ELM) technique with different activation functions such as hard limit, sine-squared, triangular basis, hyperbolic tangent, and gaussian radial basis. They revealed that the maximum performance (80% of the accuracy rate calculations in every problem) for four out of five problems was obtained with the Gaussian radical basis function followed by hyperbolic tangent. However, the best performance (90%) of the pH classification problem was given by the hyperbolic tangent, whereas the moderate values were given by the gaussian radial basis. Fifthly, an important functional benefit of the AI technology employment is the environmental protection by decreasing pesticide usage. For example and in order to manage weeds faster and with greater accuracy, AI techniques by implementing robotics, computer vision, and machine learning could help farmers to spray chemicals only where the weeds are; thus, this directly reduced the use of the chemical substance spraying on the whole field. Consequently, AI tools are helping farmers find more efficient actions to protect their crops from weeds. Finally, the practice of the advanced AI-based technologies has other advantages on the agri-food supply chain such as reducing employee training costs, reducing the time needed to solve problems, reducing the amount of human errors, reducing human intervention, and offering an automated good, accurate, and robust decision-making on the right time with low cost [14].

3. Artificial Intelligence Technology and Application to Improve Agriculture and Food Industries

Currently, the use of ML algorithms in the main four clusters (preproduction, production, processing, and distribution) of the agriculture supply chain is becoming more and more important [15]. In fact, in the preproduction step, the ML technologies are used, especially for the prediction of crop yield, soil properties, and irrigation requirements. In the next stage of the production phase, the ML could be used for disease detection and weather prediction. Concerning the third cluster of the processing phase, utilization of ML approaches is applied, especially to estimate of the production planning to reach a high and safe quality of the product. ML algorithms could be used also to the distribution cluster, especially in storage, transportation, and consumer analysis. The preproduction cluster is the initial step in the agriculture supply chain. It mainly concerns the prediction of crop yield, soil properties, and irrigation requirement. Many researchers report the importance of the crop yield production in order to better support plant management. In fact, by using as an input data (equipment requirements, nutrients, and fertilizers) in predicting efficient models based on ML algorithms, these precision agriculture tools aim to make stakeholders and farmers support ideal decision in crop yield forecasting and improve the smart farming practices. Recently, different ML algorithms are used for crop yield prediction such as the Bayesian network, regression, decision tree, clustering, deep learning, and ANN [1618]. According to the prediction of soil management properties, several ML algorithms are used in learning soil properties. Among them, the LS-SVM (least-squares support vector machine) method was used by Morellos et al. [19] to study 140 soil samples. Nahvi et al. [20] used the SaE (self-adpative evolutionary) ML algorithm to boost the performance of the extreme learning machine (ELM) architecture to estimate daily soil temperature. Additionally, Kumar et al. [21] proposed a novel method named the CSM (Crop Selection Method) to resolve crop selection problems and help improve net yield rate of crops over the season. In addition, Ben Ayed et al. [16] analyzed 18 worldwide table olive cultivars by using morphological, biological, and physicochemical parameters and the Bayesian network to study the influence of these parameters in tolerance, productivity, and oil content. They revealed that oil content was highly influenced by the tolerance of the crop. Another important parameter in the preproduction cluster is the irrigation management that plays a crucial role in affecting the quality and quantity of the crops. In fact, to achieve an effective irrigation system (better decision in when, where, and how much to irrigate), researchers used soil moisture data, precipitation data, evaporation data, and weather forecasts as input data for simulation and optimization of predicted models based on ML adequate algorithms [22]. In fact, Arvind et al. [23] demonstrated that using ML algorithm associated with other technologies such as sensors, Zigbee, and Arduino microcontroller was efficient for prediction and tackles drought situations. In addition, Cruz et al. [24] exploited the ANN feed-forward and back-propagation technologies to optimize the water resources in a smart farm. More recently, Choudhary et al. [25] used PLSR and other regression algorithms as an artificial intelligence tool combined with sensors for data collection and Internet of things hardware implementation to increase efficiency and economic feasibility.

The production cluster is the second phase in the agriculture supply chain. There are numerous parameters that affect and play a key role in the crop production step. Among them are the weather forecasts (sunlight, rainfall, humidity, etc.), crop protection against biotic stress factors (weeds and pathogens) and abiotic stress factors (nutrient and water deficiency), crop quality management, and harvesting. Many different ML algorithms are used to simulate effective models for weather prediction (ANN, deep learning, decision tree, ensemble learning, and instance-based learning) [26], for crop protection (clustering and regression) [27], ANN, deep learning [14], weed detection (ANN, decision tree, deep learning, and instance-based learning) [28], crop quality management (clustering and regression) [29], and harvesting (deep neural networks, data mining techniques such as k mean clustering, k nearest neighbor, ANN, and SVM) [30]. During the harvest stage which is the final horticultural stage after the ripening of the crops, ML algorithms are also used to predict the transformation of the fruit or crop color. In fact, many research teams used ML algorithms to predict the fruit ripening stages and fruit maturity such as Gao et al. [31] who achieved 98.6% classification accuracy when they used hyperspectral datasets and the AlexNet CNN deep learning model to classify the strawberry fruits into early-ripe and ripe stages. The processing cluster is the third stage in the agriculture supply chain. There are many types of processing techniques of agriculture products such as heating, cooling, milling, smoking, cooking, and drying. The choice of effective combined parameters in the processing stage results in a high quality and quantity of food product and, at the same time, avoiding overutilization of resources. To achieve this goal, several food industries use modern food processing technologies by installing software algorithms based on ML. Among the used ML algorithms, there are genetic algorithm, ANN, clustering, and Bayesian network [32]. In fact, Arora and Mangipudi [33] proposed support vector machine (SVM) classifier and artificial neural network (ANN) models to detect the presence of nitrosamine in the red meat food samples, and the obtained predictive modeling results revealed that the highest testing accuracy was obtained using the deep learning model. Additionally, Farah et al. [34] used differential scanning calorimetry combined with ML tools (such as gradient boosting machine, random forest, RF, multilayer perceptron, MLP, and GBM) to determine the milk characteristics and authenticity and to detect fraud. The most efficient results were obtained with GBM and MLP machine learning tools which were able to classify 100% of adulterated samples. The distribution cluster is the final step in the agriculture supply chain. This stage is the connection between food production and processing and the final use or final consumer. ML algorithms could be used in storage, transportation, consumer analytics, and inventory management. In transportation and storage steps, the mainly used algorithms are genetic algorithm, clustering, and regression. These predictive techniques aim to better preserve the food product quality, to ensure safe food products and to minimize the product damage by tracing the product [16]. For the consumer analytics, ML techniques such as deep learning and ANN are used in the food retailing phase for predicting consumer demand, perception, and buying behavior. For the inventory management, the use of ML genetic algorithms helps in predicting daily demand and to ensure that there are no inventory-related problems [35]. Examples of AI-applied technology are numerous in the agri-food sector, i.e., robotics and mechatronics [2], drones [2, 36], geographic information systems (GISs) [37], blockchain (BC) [38], and satellite guidance [2]. Miranda et al. [39] have reported and described these items as sensing, smart, and sustainable technologies, providing systematic process where connectivity, automation, precision, monitoring, and digitization are prevalent [4043]. Smart mechanization, robotics, and mechatronics in agriculture aim to reduce drudgery and minimize inputs using highly autonomous and intelligent machines [2]. From horse to tractor, robots, and intelligent vehicles, a revolutionary era has come for agriculture and food industry, from rudimentary to high efficiency of agriculture with the introduction of mechanization, innovative technologies, computerized analysis, and decision, improving farming activities and crop productivity [2]. Revolutionizing machines, often called “agribots,” are now used in agriculture for all kinds of activities, namely, soil preparation, seed sowing, weed and pest treatment, irrigation, fertilization, and ultimately, grain and fruit harvesting, minimizing effort and energy cost [2, 4447]. As a whole crop management, agricultural drones can be used starting from soil treatment (herbicide), going to sowing step, plant treatment (pesticide), and physiological control and observation, and ending with harvest time determination [2, 36, 4851]. Agricultural drones are now able to supply water, fertilizers, herbicides, and pesticides and even film, capture images, and generate maps in real time of plants and field in order to help farmers take management decision [2, 48, 5256]. Today, farmers use drones for livestock surveillance for monitoring illnesses, injuries, and even pregnancies [57]. In 2019, the worldwide agriculture drone market value was about USD one million and is expected to reach USD 3.7 million by 2027 [58], whereas the robot and agriculture drone market is projected to reach USD 23 billion by 2028 [59, 60]. Based on geospatial technology that relies on satellite, GIS is applied on several fields of agriculture: crop management, irrigation control, yield estimation, disease and weed control, farming automation, livestock monitoring, vegetation mapping, erosion, and land degradation forecast [37, 6168]. Application of GIS is, therefore, suitable in precision agriculture, real-time control, and raising awareness and significantly contributes to meet the needs of continuous rise in food demand. Blockchain is another technology that answers to consumer’s awareness about food origin, quality, and mainly, safety. BC affords transparency, trust, certification, and traceability of food product supply chain from farm to fork, where every single operation and data are timely registered, saved, encrypted, and secured, not in a single central server nor under a single control, but in a common platform database where every user could access and take part in transactions [38, 6979]. Such digital and computerized traceability of the whole food supply chain would allow detection of deficiency, contamination, and adulteration of the product, thus optimizing its quality and safety; therefore, a multitude of agencies, consortia, and platforms were born in this context [79]. In 2020, the worldwide market of BC in agri-food market size was about USD 133 million; it is estimated to grow and reach around USD 950 million by 2025 [69]. Satellite-guided technology applied to agriculture improved farm monitoring and aided mapping agricultural zones, soil management, crop husbandry, irrigation disease and weed control, yield estimation, and harvesting [2, 8088]. Hence, in the late 1900s, one single farmer was able to produce food grains for 128, actually, and in the future, through smart agriculture, this ratio will greatly increase [2].

4. Limits and Drawbacks of AI and ML

However, despite all these advantages, the AI technology has also some drawbacks representing challenges. Firstly, the most important social challenge is the unemployment that could be a threat; in fact, smart machines and robots could replace the majority of the repetitive works and tasks; thus, human interference is becoming less, which will cause a major problem in the employment standards. Other technological challenges, for instance, machines can do only those tasks which they are programmed or developed to do, and anything out of that they tend to crash or give irrelevant outputs could be a major backdrop. In addition, the high costs of creation and maintenance of the smart machines as well as the cleaver computers could be considered as technological limits of the AI technologies, especially that AI is updating every day which is why the hardware and software need to get updated with time to meet the latest requirements. Machines need repairing and maintenance which is expensive. The creation requires huge costs as they are very complex machines. Other issues related to these applications are their high cost that could increase the price of the products. Moreover, beyond the opportunities afforded by smart and computerized technologies, some risks and apprehensions could be posed for sustainability, particularly the massive energy consumption, e-waste problem, market concentration, job displacement, and even the ethical framework [79, 89].

5. Conclusions

The agriculture and food industries are one of the most vital fields for humanity. The first products of agriculture are used as inputs in several multiactor distributed supply chains, including four clusters or stages of the agriculture supply chain (preproduction, production, processing, and distribution) in order to reach the end user or consumer. Due to several challenges in the future for the agriculture and food sector and various factors such as climate change, population growth, technological progress, and the state of natural resources (water, etc.), it is urgent to use the digital technologies at different stages of agriculture supply chain such as automation of farm machinery, use of sensors and remote satellite data, artificial intelligence, machine learning for improved monitoring of crops, and water, for agriculture food product traceability. In the present study, we demonstrate the main applications of the AI and ML algorithms in different clusters of the agriculture supply chain and the unquestionable growing tendency in the adoption of these algorithms to improve food industries.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare no conflicts of interest.