{"id":1019391,"date":"2024-04-01T11:22:36","date_gmt":"2024-04-01T18:22:36","guid":{"rendered":"https:\/\/www.microsoft.com\/en-us\/research\/?post_type=msr-blog-post&p=1019391"},"modified":"2024-04-01T11:30:47","modified_gmt":"2024-04-01T18:30:47","slug":"generative-ai-in-agriculture","status":"publish","type":"msr-blog-post","link":"https:\/\/www.microsoft.com\/en-us\/research\/articles\/generative-ai-in-agriculture\/","title":{"rendered":"Generative AI in agriculture"},"content":{"rendered":"\n
\n\t\n\t
\n\t\t
\n\t\t\t

Personas in agriculture<\/h2>\n\n\n\n
\n
\n
\"farmer<\/figure>\n\n\n\n
<\/div>\n\n\n\n

Farmer<\/h4>\n\n\n\n

Decision making for seeds, purchases, and management<\/p>\n<\/div>\n\n\n\n

\n
\"agro<\/figure>\n\n\n\n
<\/div>\n\n\n\n

Input provider \/ Agronomist<\/h4>\n\n\n\n

Communicate with farmer & advisories, input purchase decisions<\/p>\n<\/div>\n\n\n\n

\n
\"person<\/figure>\n\n\n\n
<\/div>\n\n\n\n

Consumer<\/h4>\n\n\n\n

Nutrition and organic, sustainable produce<\/p>\n<\/div>\n\n\n\n

\n
\"agro<\/figure>\n\n\n\n
<\/div>\n\n\n\n

CPG\/Retailer<\/h4>\n\n\n\n

Purchasing decisions, sustainability<\/p>\n<\/div>\n<\/div>\n\n\n\n

\n
\n
\"supply<\/figure>\n\n\n\n
<\/div>\n\n\n\n

Food manufacturing \/ Supply chain<\/h4>\n\n\n\n

Coordinate with farmers on prices and food standards<\/p>\n<\/div>\n\n\n\n

\n
\"bank<\/figure>\n\n\n\n
<\/div>\n\n\n\n

Banker<\/h4>\n\n\n\n

Communicate with farmers about loans and insurance<\/p>\n<\/div>\n\n\n\n

\n
\"institution<\/figure>\n\n\n\n
<\/div>\n\n\n\n

Policy maker<\/h4>\n\n\n\n

Make policy documents accessible to farmers<\/p>\n<\/div>\n\n\n\n

\n
\"data<\/figure>\n\n\n\n
<\/div>\n\n\n\n

Researcher \/ Data scientist<\/h4>\n\n\n\n

AI workflow automation<\/p>\n<\/div>\n<\/div>\t\t<\/div>\n\t<\/div>\n\n\t<\/div>\n\n\n\n

Customizing LLMs<\/h3>\n\n\n\n
\n
\n
\"GenAI<\/figure>\n\n\n\n
<\/div>\n\n\n\n

Agronomist exam<\/h4>\n\n\n\n

One of the challenges in the agriculture sector is the lack of qualified agronomists who can provide expert advice on crop production and protection. To address this gap, Microsoft Research conducted a study that evaluates the performance of LLMs like GPT-4 in answering agriculture-related questions from certification exams in Brazil, India, and the USA. The results show that GPT-4 can achieve high scores on these exams, demonstrating its ability to understand and generate domain-specific knowledge. The study also suggests that LLMs can be used as an agronomist assistant, providing guidance and feedback to farmers and students.<\/p>\n\n\n\n

\n
Read the paper<\/a><\/div>\n<\/div>\n<\/div>\n\n\n\n
\n
\"GenAI<\/figure>\n\n\n\n
<\/div>\n\n\n\n

RAG vs Fine-Tuning: A case study on agriculture<\/h4>\n\n\n\n

Another challenge in applying LLMs to agriculture is the scarcity of domain-specific data that can enhance the models’ performance and accuracy. To overcome this limitation, Microsoft Research explored two techniques to augment LLMs with additional localized data, focusing on agriculture: fine-tuning and Retrieval-Augmented Generation (RAG). Fine-tuning involves training the LLMs on a subset of data that is relevant to the target domain, while RAG involves retrieving relevant documents from a large corpus and using them as context for the LLMs. The study compares and contrasts these techniques on multiple popular LLMs, including Llama2-13B, GPT-3.5, and GPT-4, and evaluates their performance on various tasks, such as question answering, text summarization, and text generation. The study also discusses the implications of these techniques on the LLMs’ generalization and robustness.<\/p>\n\n\n\n

\n
Read the paper<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n

Small Language Models and Edge<\/h3>\n\n\n\n
\"GenAI<\/figure>\n\n\n\n

A third challenge in leveraging LLMs for agriculture is the dependency on internet connectivity and cloud computing, which may not be available or reliable in remote or rural areas. To address this challenge, Microsoft Research has been exploring the deployment of LLMs on edge devices, such as smartphones, tablets, or laptops, that can allow for faster processing and response times, as well as the ability to operate in environments with limited or no internet connectivity. One such example is a farmer with no connectivity running LLM on a tractor or sprayer and using it to answer queries based on the manuals instead of flipping through hundreds of pages. This is just an example of the work that Microsoft Research has been doing to enable LLMs on the Edge.<\/p>\n\n\n\n

<\/div>\n\n\n\n

Multi-modal GenAI<\/h3>\n\n\n\n
\"GenAI<\/figure>\n\n\n\n

A fourth challenge in applying LLMs to agriculture is the multi-modality of data that can enhance the models’ performance and accuracy which involves the integration of multiple types of data, such as text, images, video, satellite and audio to improve AI models’ understanding and decision-making. This is particularly useful in the agriculture industry, where data can come in various forms, such as weather reports, satellite images of crops, and audio recordings of livestock. By integrating these different types of data, multi-modal LLMs can provide more accurate and comprehensive insights and recommendations for farmers and agronomists. For example, a multi-modal LLM could analyze satellite images of a field to identify areas of drought or pest infestation, and then generate a report with recommendations for irrigation or pesticide application. This is just one example of the potential applications of multi-modal LLMs in agriculture.<\/p>\n\n\n\n

<\/div>\n","protected":false},"excerpt":{"rendered":"

Using GenAI in agriculture can help address the specific queries of different personas within the Agri-Food ecosystem, from farmers and policymakers, consumer, retailers to financial service providers and sustainability consultants.<\/p>\n","protected":false},"author":42735,"featured_media":1020099,"template":"","meta":{"msr-url-field":"","msr-podcast-episode":"","msrModifiedDate":"","msrModifiedDateEnabled":false,"ep_exclude_from_search":false,"_classifai_error":"","msr-content-parent":1018536,"footnotes":""},"research-area":[],"msr-locale":[268875],"msr-post-option":[],"class_list":["post-1019391","msr-blog-post","type-msr-blog-post","status-publish","has-post-thumbnail","hentry","msr-locale-en_us"],"msr_assoc_parent":{"id":1018536,"type":"project"},"_links":{"self":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-blog-post\/1019391"}],"collection":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-blog-post"}],"about":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/types\/msr-blog-post"}],"author":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/users\/42735"}],"version-history":[{"count":28,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-blog-post\/1019391\/revisions"}],"predecessor-version":[{"id":1020480,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-blog-post\/1019391\/revisions\/1020480"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media\/1020099"}],"wp:attachment":[{"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/media?parent=1019391"}],"wp:term":[{"taxonomy":"msr-research-area","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/research-area?post=1019391"},{"taxonomy":"msr-locale","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-locale?post=1019391"},{"taxonomy":"msr-post-option","embeddable":true,"href":"https:\/\/www.microsoft.com\/en-us\/research\/wp-json\/wp\/v2\/msr-post-option?post=1019391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}