Enhancing Thai Rice Query Assistance through a Knowledge-Driven Approach Using GraphRAG

Main Article Content

Gampanut Soontontam
Tinnaphob Dindam
Adisorn Kheaksong
Kanabadee Srisomboon
Parinya Sanguansat

Abstract

Thai rice farmers face significant challenges accessing timely and accurate information for crucial decisions regarding variety selection, soil management, and adapting to climate change. While Retrieval-Augmented Generation (RAG) systems aim to provide information, traditional RAG often struggles with complex queries requiring interconnected knowledge and can yield generic or less relevant answers in specialized domains like agriculture due to its reliance on the semantic similarity of isolated text chunks. This paper introduces and evaluates GraphRAG, a knowledge graph-enhanced RAG approach, designed specifically to overcome these limitations and improve query assistance for Thai rice cultivation. The methodology involves constructing a knowledge graph from key Thai rice farming documents and integrating it with a large language model to provide context-aware responses, comparing its performance against a traditional RAG baseline. Results demonstrate GraphRAG’s superior effectiveness; user preference tests showed participants favored GraphRAG responses (52.9%) significantly more than traditional RAG (35.3%), particularly for complex queries requiring nuanced understanding. Quantitatively, GraphRAG showcased enhanced efficiency, reducing the average query response time by nearly 3 times (from 1.43 seconds for RAG to 0.41 seconds) and decreasing memory usage by over 50% (from 457.42 KB for RAG to 213.09 KB). This study concludes that GraphRAG offers a valuable approach for enhancing information retrieval accuracy, contextual understanding, and system efficiency in specialized, low-resource agricultural domains, highlighting its significance for providing better decision support to farmers.

Article Details

How to Cite
Soontontam, G., Dindam, T., Kheaksong, A., Srisomboon, K., & Sanguansat, P. (2025). Enhancing Thai Rice Query Assistance through a Knowledge-Driven Approach Using GraphRAG . INTERNATIONAL SCIENTIFIC JOURNAL OF ENGINEERING AND TECHNOLOGY (ISJET), 9(1), 19–30. retrieved from https://ph02.tci-thaijo.org/index.php/isjet/article/view/258104
Section
Research Article

References

D. S. Birla, K. Malik, M. Sainger, D. Chaudhary, R. Jaiwal, and P. K. Jaiwal, “Progress and challenges in improving the nutritional quality of rice (Oryza Sativa L.),” Crit. Rev. Food Sci. Nutr., vol. 57, no. 11, pp. 2455-2481, Jul. 2017.

R. Wassmann et al., “Climate change affecting rice production: The physiological and agronomic basis for possible adaptation strategies,” Adv. Agron., vol. 101, pp. 59-122, Oct. 2009.

K. Kiratiratanapruk et al., “Development of paddy rice seed classification process using machine learning techniques for automatic grading machine,” J. Sensors, vol. 2020, no. 1, p. 7041310, Jul. 2020.

P. P. Bhat, R. Prasad, K. Anil, and A. Jadhav, “The role of information and communication technology in enhancing the effectiveness of agricultural extension programs worldwide: A review,” J. Sci. Res. Rep., vol. 30, no. 7, pp. 963-976, Jul. 2024.

W. Nwankwo, C. P. Nwankwo, and A. Wilfred, “Leveraging on Artificial Intelligence to accelerate sustainable bioeconomy,” IUP J. Knowl. Manag. vol. 20, no. 2, pp. 35-59, Apr. 2022.

C. Ling et al., “Domain specialization as the key to make large language models disruptive: A comprehensive survey,” Journal of Economics and Management, vol. 46, 509-583, Dec. 2023.

Y. Huang and J. Huang, “A survey on retrieval-augmented text generation for large language models.” arXiv, 2024. [Online]. Available: https://arxiv.org/abs/2404.10981 [Accessed Apr. 2024].

S. Rezayi et al., “Exploring new frontiers in agricultural NLP: Investigating the potential of large language models for food applications,” IEEE Trans. Big Data, 2024.

Q. Zhang et al., “A survey of graph retrieval-augmented generation for customized large language models.” arXiv, 2025. [Online]. Available: https://arxiv.org/abs/2501.13958 [Accessed Jan. 2025].

B. Peng et al., “Graph retrieval-augmented generation: A survey.” arXiv, 2024. [Online]. Available: https://arxiv.org/abs/2408.08921 [Accessed Aug. 2024].

S. Ghane, R. Sawant, G. Supe, and C. Pichad, “LangchainIQ: Intelligent content and query processing,” Int. J. Manag. Technol. Soc. Sci. (IJMTS), vol. 9, no. 3, pp. 34-43, 2024.

ArangoDB, “ArangoDB’s GraphRAG Transforms Healthcare Data Management,”ArangoDB Blog, 2025. [Online]. Available: https://arangodb.com/2025/04/arangodbs-graphrag-trans forms-healthcare-data-management/ [Accessed Apr. 6, 2025].

T. Balarabe. “GraphRAG vs Traditional RAG: Knowledge Graphs for Accurate, Enhanced RAG Applications,” Medium.com, 2025. [Online]. Available: https://medium.com/@tahirbalarabe2/graphrag-vs-traditional-rag-knowledge-graphsfor-accurate-enhanced-rag-applications2cc4f6f9f4b4 [Accessed: Apr. 6, 2025].

A. N. Arifin, “Are Re-Ranking in retrieval-augmented generation methods impactful for small agriculture qa datasets? a small experiment,” BIO Web of Conf., vol. 167, pp. 1-6, Mar. 2025, https://doi.org/10.1051/biocon/202516701001

C. Pechsiri and R. Piriyakul, “Developing the UCKG-WHY-QA system,” in Proc. 7th Int. Conf. Comput. Converg. Technol.(ICCCT), IEEE, 2012, pp. 679-683.

Y. Xie, L. Jia, and J. Dai, “Construction of a traditional Chinese medicine Dao Yin science knowledge graph based on Neo4j,” in Proc. IEEE Int. Conf. Bioinf. Biomed. (BIBM), IEEE, 2023, pp. 4662-4666.

C. Johnpaul and T. Mathew, “A Cypher query based NoSQL data mining on protein datasets using Neo4j graph database,” in Proc. 4th Int. Conf. Adv. Comput. Commun. Syst. (ICACCS), IEEE, 2017, pp. 1-6.

R. Sapkota et al., “Multi-modal LLMs in agriculture: A comprehensive review,” TechRxiv. [Online]. Available: https://www.techrxiv.org/users/795986/articles/1224079-multi-modal-llms-in-agriculture-a-comprehensive-review [Accessed Sep. 2024].

Lettria, “10 rules for optimizing your GraphRAG strategies,” Lettria Blog, 2025. [Online]. Available: https://www.lettria.com/blogpost/10-rules-for-optimizing-your-graphragstrategies [Accessed Apr. 6, 2025].

AWS, “Improving Retrieval Augmented Generation accuracy with GraphRAG,” AWS Machine Learning Blog, 2025. [Online]. Available: https://aws.amazon.com/blogs/machine-leanding/improving-retrieval-augmented-generation-accuracywith-graphrag/ [Accessed Apr. 6, 2025].