Graph-Augmented Reasoning with Large Language Models for Tobacco Pest and Disease Management Siyu Li, Chenwei Song, Qi Zhou, Wan Zhou, Xinyi Liu Abstract This paper proposes a graph-augmented reasoning framework for tobacco pest and disease management that integrates structured domain knowledge into large language models. Building on GraphRAG, we construct a domain-specific knowledge graph and retrieve query-relevant subgraphs to provide relational evidence during answer generation. The framework adopts ChatGLM as the Transformer backbone with LoRA-based parameter-efficient fine-tuning, and employs a graph neural network to learn node representations that capture symptom-disease-treatment dependencies. By explicitly modeling diseases, symptoms, pesticides, and control measures as linked entities, the system supports evidence-aware retrieval beyond surface-level text similarity. Retrieved graph evidence is incorporated into the LLM input to guide generation toward domain-consistent recommendations and to mitigate hallucinated or inappropriate treatments. Experimental results show consistent improvements over text-only baselines, with the largest gains observed on multi-hop and comparative reasoning questions that require chaining multiple relations. 1 Introduction Tobacco is an important economic crop in southern China but is highly vulnerable to pests and diseases, which can substantially reduce yield and quality. Accurate diagnosis and timely selection of control measures are therefore critical for stable production and for avoiding unnecessary pesticide use. In practice, however, management decisions still rely heavily on expert experience and field observation, while relevant knowledge is scattered across manuals, extension guidelines, and research articles, making diagnosis and intervention slow, inconsistent, and difficult to scale. Knowledge graphs provide an explicit entity–relation structure for organizing dispersed agricultural knowledge, while large language models (LLMs) offer strong language understanding and flexible reasoning ( 9 ; 2 ; 12 ) . Their combination has become an effective paradigm for knowledge-intensive question answering and decision support ( 8 ; 18 ) . In tobacco pest–disease management, such integration is particularly appealing because key decisions require linking symptoms to diagnoses and diagnoses to appropriate treatments under practical constraints. Despite these advantages, LLMs often struggle with domain reasoning when relational dependencies are not explicitly modeled ( 11 ) . Prompt-based knowledge injection can be brittle, and text-only retrieval may surface relevant information without exposing the relations needed for multi-step reasoning. To address this limitation, we build on GraphRAG ( 4 ) and augment it with TransE embeddings ( 1 ) and a GCN ( 7 ) to better encode and exploit graph structure for downstream question answering. Our approach emphasizes explicit relational modeling beyond entity mentions, using graph embeddings and GCN-based aggregation to provide structured, query-focused context to the LLM. As shown in Table 1 , this design improves overall accuracy and yields the largest gains on multi-hop and comparative questions, where effective reasoning depends on chaining symptom–disease–treatment relations. 2 Related Work Knowledge Graphs for Agricultural Pest and Disease Control. Knowledge graphs have been widely used to organize agricultural pest–disease knowledge by linking entities (e.g., diseases, symptoms, treatments, and varieties) through explicit relations ( 9 ; 3 ) . Crop-specific graphs (including tobacco and wheat) have supported decision support and management applications ( 6 ) . Recent work also studies temporal reasoning on such graphs to model evolving outbreaks and progression ( 15 ; 16 ) . Large Language Models and Graph-Enhanced Reasoning. LLMs such as GPT-4 and LLaMA achieve strong generation and reasoning, but they still benefit from explicit structured knowledge when tasks require relational reasoning over entities ( 2 ; 12 ; 18 ) . GraphRAG integrates graph-structured retrieval with language modeling by encoding entities and relations (e.g., via graph embeddings and GNNs) and injecting them into the generation process ( 4 ) . Prior work shows that GCN/GAT-based node representations can guide LLMs to exploit relational paths and improve knowledge-intensive QA ( 7 ; 18 ; 8 ) . Related efforts further pursue tighter graph–LLM coupling for QA and commonsense reasoning ( 17 ; 13 ; 14 ) . Knowledge Graphs and LLMs in Agricultural Domains. Combining knowledge graphs with LLMs for tobacco pest–disease applications is still underexplored. Prior work largely centers on domain knowledge representation or vision/ML-based diagnosis ( 3 ) , while recent studies investigate LLMs for broader agricultural knowledge tasks ( 19 ) . We therefore study a GraphRAG-style integration to better leverage structured relations for tobacco-focused reasoning. 3 Methodology We build a GraphRAG-style pipeline for tobacco pest–disease question answering that tightly couples structured graph evidence with neural generation. The method combines domain knowledge graph construction, TransE/GCN representation learning, and an LLM decoder to produce grounded responses. Figure-level details are omitted here; we describe the components and their interfaces in the following subsections. 3.1 Knowledge Graph Construction We build a tobacco pest–disease knowledge graph by integrating information from agricultural literature, extension guidelines, and expert-curated resources. Nodes represent key entities (e.g., diseases, symptoms, pesticides, and field operations), while edges encode typed relations such as treatment-of , has-symptom , and prevention-of . Formally, we model the graph as a directed graph G=(V,E) , where V is the entity set and E is the relation set. Each fact is stored as a triple (h,r,t) , which provides a unified interface for embedding, neighborhood aggregation, and query-time retrieval. For instance, (tobacco mosaic disease, treated by, spraying antiviral agents) links a disease to a control method; similar triples connect symptoms to diagnoses and diagnoses to recommended interventions. 3.2 Graph Embedding with TransE We use TransE to embed entities and relations into a shared vector space, treating each relation as a translation operation. For a valid triple (h,r,t) , the embeddings are encouraged to satisfy \mathbf{h}+\mathbf{r}\approx\mathbf{t}. This simple geometry provides an efficient way to encode large sets of symbolic facts and serves as the initialization for subsequent GCN refinement. The training objective of TransE is defined as a margin-based ranking loss: \mathcal{L}=\sum_{(h,r,t)\in S}\sum_{(h^{\prime},r,t^{\prime})\in S^{\prime}}\ell(h,r,t,h^{\prime},t^{\prime}), \ell=\Big[\gamma+d(\mathbf{h}+\mathbf{r},\mathbf{t})-d(\mathbf{h^{\prime}}+\mathbf{r},\mathbf{t^{\prime}})\Big]_{+}. where S is the set of positive triples, S^{\prime} is the set of negative triples generated by randomly replacing the head or tail entity, \gamma is a margin hyperparameter, d(\cdot) denotes a distance function (e.g., L1 or L2 norm), and [\cdot]_{+} denotes the hinge loss. Negative sampling forces the model to separate true facts from plausible but incorrect alternatives. After training, entities and relations are represented as low-dimensional vectors that preserve relational semantics and support fast similarity-based retrieval. 3.3 Node Representation Learning with GCN To incorporate neighborhood structure beyond pairwise triples, we refine TransE embeddings with a Graph Convolutional Network (GCN). This step propagates information over the local subgraph, allowing each entity to encode both its own attributes and relational context. Let \mathbf{h}_{i}^{(l)} denote the representation of node i at the l -th GCN layer. The update rule of GCN is given by: \mathbf{h}_{i}^{(l+1)}=\sigma\left(\sum_{j\in\mathcal{N}(i)}\frac{1}{\sqrt{\deg(i)\deg(j)}}\mathbf{W}^{(l)}\mathbf{h}_{j}^{(l)}\right), where \mathcal{N}(i) denotes the set of neighboring nodes of i , \deg(i) is the degree of node i , \mathbf{W}^{(l)} is a trainable weight matrix, and \sigma(\cdot) is an activation function such as ReLU. The normalization term \frac{1}{\sqrt{\deg(i)\deg(j)}} is used to stabilize training and prevent numerical explosion. In practice, this operator can be viewed as a normalized message-passing step over adjacent entities. By stacking multiple GCN layers, the model aggregates multi-hop context so disease nodes can absorb signals from linked symptoms and control measures. These refined representations are later used as query-conditioned evidence in the GraphRAG fusion stage. 3.4 Integration with Large Language Models We use a Transformer-based LLM (e.g., ChatGLM/LLaMA) as the generative backbone. For an input sequence X=(x_{1},x_{2},\ldots,x_{n}), the model factorizes the likelihood in an autoregressive manner: P(X)=\prod_{i=1}^{n}p(x_{i}\mid x_{