Paper deep dive
Retrieval Augmented Generation of Literature-derived Polymer Knowledge: The Example of a Biodegradable Polymer Expert System
Sonakshi Gupta, Akhlak Mahmood, Wei Xiong, Rampi Ramprasad
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 91%
Last extracted: 7/21/2026, 1:21:26 AM
Summary
This paper introduces the Polymer Literature Scholar, a retrieval-augmented generation (RAG) system designed for materials science, specifically focusing on polyhydroxyalkanoate (PHA) polymers. The authors develop and compare two retrieval pipelines: VectorRAG, which uses dense semantic embeddings for broad recall, and GraphRAG, which uses a structured knowledge graph for higher precision and interpretability. Using a corpus of over 1,000 PHA papers, the system demonstrates that tailored RAG approaches can provide reliable, evidence-grounded answers to complex scientific queries, reducing reliance on proprietary large language models.
Entities (10)
Relation Signals (7)
Polymer Literature Scholar â implements â VectorRAG
confidence 95% ¡ In this work, building on the framework illustrated in Fig. 1, we introduce the Polymer Literature Scholar... We develop and adapt two retrieval pipelines... VectorRAG and GraphRAG.
Polymer Literature Scholar â implements â GraphRAG
confidence 95% ¡ In this work, building on the framework illustrated in Fig. 1, we introduce the Polymer Literature Scholar... We develop and adapt two retrieval pipelines... VectorRAG and GraphRAG.
Polyhydroxyalkanoate (PHA) â issubjectof â Polymer Literature Scholar
confidence 92% ¡ Using over 1,000 polyhydroxyalkanoate (PHA) papers, we construct context-preserving paragraph embeddings...
VectorRAG â achieves â broader recall
confidence 90% ¡ The results show that GraphRAG achieves higher precision and interpretability, while VectorRAG provides broader recall...
GraphRAG â achieves â higher precision
confidence 90% ¡ The results show that GraphRAG achieves higher precision and interpretability, while VectorRAG provides broader recall...
Qwen3-Embedding-4B â isusedby â VectorRAG
confidence 90% ¡ These chunks are embedded using the Qwen3-Embedding-4B model to produce 3,584-dimensional dense vectors...
GraphRAG â supports â Multi-hop reasoning
confidence 88% ¡ This structured representation supports multi-hop reasoning, improves retrieval precision in domains with complex relational dependencies...
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Polymer literature contains a large and growing body of experimental knowledge, yet much of it is buried in unstructured text and inconsistent terminology, making systematic retrieval and reasoning difficult. Existing tools typically extract narrow, study-specific facts in isolation, failing to preserve the cross-study context required to answer broader scientific questions. Retrieval-augmented generation (RAG) offers a promising way to overcome this limitation by combining large language models (LLMs) with external retrieval, but its effectiveness depends strongly on how domain knowledge is represented. In this work, we develop two retrieval pipelines: a dense semantic vector-based approach (VectorRAG) and a graph-based approach (GraphRAG). Using over 1,000 polyhydroxyalkanoate (PHA) papers, we construct context-preserving paragraph embeddings and a canonicalized structured knowledge graph supporting entity disambiguation and multi-hop reasoning. We evaluate these pipelines through standard retrieval metrics, comparisons with general state-of-the-art systems such as GPT and Gemini, and qualitative validation by a domain chemist. The results show that GraphRAG achieves higher precision and interpretability, while VectorRAG provides broader recall, highlighting complementary trade-offs. Expert validation further confirms that the tailored pipelines, particularly GraphRAG, produce well-grounded, citation-reliable responses with strong domain relevance. By grounding every statement in evidence, these systems enable researchers to navigate the literature, compare findings across studies, and uncover patterns that are difficult to extract manually. More broadly, this work establishes a practical framework for building materials science assistants using curated corpora and retrieval design, reducing reliance on proprietary models while enabling trustworthy literature analysis at scale.
Tags
Links
- Source: https://arxiv.org/abs/2602.16650v1
- Canonical: https://arxiv.org/abs/2602.16650v1
Trouble viewing inline? Open PDF directly â
Full Text
65,074 characters extracted from source content.
Expand or collapse full text
Retrieval Augmented Generation of Literature-derived Polymer Knowledge: The Example of a Biodegradable Polymer Expert System Sonakshi Gupta, 1 Akhlak Mahmood, 2 Wei Xiong, 3 and Rampi Ramprasad 3,â 1 School of Computational Science and Engineering, Georgia Institute of Technology, 771 Ferst Drive NW, Atlanta 30332, GA, USA. 2 Matmerize, Inc., Atlanta 30308, GA, USA. 3 School of Materials Science and Engineering, Georgia Institute of Technology, 771 Ferst Drive NW, Atlanta, GA 30332, USA 1 arXiv:2602.16650v1 [cs.CE] 18 Feb 2026 Abstract Polymer literature contains a large and growing body of experimental knowledge, yet much of it is buried in unstructured text and reported with inconsistent terminology, making it difficult to re- trieve, compare, or reason over systematically. Existing tools often extract narrow, study-specific facts, without providing the integrated context needed to answer scientific questions that span multiple studies. Retrieval-augmented generation (RAG) offers a promising way to overcome this limitation by combining large language models (LLMs) with external retrieval, but its effectiveness depends strongly on how domain knowledge is represented. In this work, we develop and adapt two retrieval pipelines for a materials science corpus: a dense semantic vector-based approach (VectorRAG) and a graph-based approach (GraphRAG). Using over 1,000 polyhydroxyalkanoate (PHA) papers, we construct context-preserving paragraph embeddings and a canonicalized struc- tured knowledge graph that supports entity disambiguation and multi-hop reasoning. To evaluate these pipelines, we conduct extensive benchmarking using retrieval metrics, comparisons with gen- eral state-of-the-art systems such as GPT and Gemini, and qualitative validation by a domain chemist. The results show that GraphRAG achieves higher precision and interpretability, while VectorRAG provides broader recall, underscoring complementary trade-offs between the two ap- proaches. Expert validation further confirms that the tailored pipelines, particularly GraphRAG, produce well-grounded, citation-reliable responses with high domain relevance. By grounding every statement in explicit source evidence, these systems offer researchers a dependable way to navigate the literature, compare findings across studies, and uncover patterns that are difficult to extract manually. More broadly, this work demonstrates a practical path for developing scholarly assis- tants in materials science using curated corpora and retrieval design, reducing dependence on large proprietary models and enabling accessible, trustworthy literature analysis at scale. MAIN Data has long been recognized as a cornerstone of materials informatics [1â3], and this has become increasingly evident as recent advances in the field continue to rely on data- driven techniques. From algorithm design to autonomous discovery workflows, recent break- â rampi.ramprasad@mse.gatech.edu 2 throughs have been enabled not only by improvements in machine learning, but also by the availability of large, high-quality materials datasets. For many polymer systems, however, such datasets remain limited or unavailable. Instead, relevant information is primarily re- ported through a vast, heterogeneous, and largely unstructured body of literature that continues to expand at an unprecedented pace, with decades of scientific knowledge dis- persed across text, figures, and tables [4]. As a result, much of this information is difficult to retrieve, integrate across studies, or use effectively for scientific reasoning. Previous efforts have sought to tap into this reservoir [5â9], producing structured data that can support downstream tasks such as property prediction [10, 11], synthesis plan- ning [12, 13], and materials design [14, 15]. While these databases provide valuable static snapshots of extracted knowledge, they do not fully address how polymer scientists interact with the literature in practice. Scientific inquiry often requires dynamically retrieving ev- idence across studies, reconciling inconsistent terminology, and generating results reported under varying experimental contexts. Consequently, even seemingly straightforward ques- tions such as âWhat gas permeability values have been reported for polyhydroxyalkanoate films under different processing conditions?â or âWhat products form during PHB hydrolysis under acidic versus alkaline conditions?â cannot typically be answered by consulting a sin- gle paper or database record. Instead, addressing such queries requires identifying relevant experimental contexts and integrating fragmented findings reported across multiple sources, underscoring the need for systems that support literature-grounded reasoning rather than isolated fact extraction. An effective polymer literature scholar must therefore go beyond extraction to (i) retrieve relevant evidence across papers, (i) synthesize information while preserving experimental context, (i) appropriately defer when the literature does not provide sufficient evidence, and (iv) explicitly ground conclusions in verifiable source material so that domain experts can assess reliability and trustworthiness. Large language models (LLMs) offer powerful capabilities for synthesizing dispersed scien- tific information, owing to their ability to leverage knowledge learned from vast text corpora. However, a well-documented limitation of LLMs is hallucination, wherein they produce flu- ent and confident but factually incorrect statements [16, 17]. Recent work [18] shows that hallucinations arise because LLMs are optimized to complete text rather than to validate information, and standard training objectives reward confident answers even when the under- 3 Compare the physical properties of PHB and polypropylene? Why does PHB exhibit poor thermal stability during processing, and how can this issue be addressed? PHBâs physical properties are quite comparable to polypropylene in terms of mechanical and barrier properties. Melting temperature at approximately 178 °C ď . Crystallinity degree comparable to polypropylene ď . Glass transition temperature .... What strategies can be employed to restrict secondary crystallization in poly(3- hydroxybutyrate) PHB (polyhydroxybutyrate) exhibits poor thermal stability during processing primarily due to its low resistance to thermal degradation at elevated temperatures, particularly near and above its melting point, which is around 180 °C. This susceptibility to thermal degradation leads to significant decreases in thermal stability and can result in chain scission, drastically reducing molecular weight during processing ď . To address these thermal stability issues.... To restrict secondary crystallization in poly(3 hydroxybutyrate) (PHB),several strategies can be employed. Polymer Blending: Combining PHB with other polymer such as PBA To rPPC reduces crystallization and improves ductility ď . Additives& Nucleating Agents: Incorporation of nucleating agents helps limit secondary crystallization by modifying spherulitic morphology ď . Thermal & Mechanical Processing:.... Examples PHA corpus GraphRAG & VectorRAG Parsed text Response 1028 papers Polymer Literature Scholar 44,609 paragraphsLiterature-Grounded a b FIG. 1. (a) Overview of the retrieval-augmented generation (RAG) framework for literature- grounded question answering on PHAs. The curated PHA corpus, comprising 1,028 articles and 44,609 parsed paragraphs, serves as the shared knowledge base for both VectorRAG and GraphRAG retrieval pipelines. Retrieved contextual evidence from each pipeline is provided to a LLM to generate literature-grounded responses. (b) Example scientific queries and corresponding responses generated by the Polymer Literature Scholar. Responses are synthesized by aggregating evidence retrieved from multiple relevant studies within the PHA corpus, as indicated by the document symbol. lying evidence is weak. This behavior becomes particularly concerning in scientific settings, where incorrect statements can be difficult to detect without explicit grounding. To miti- gate hallucinations and improve reliability, researchers have explored a range of strategies, including prompt engineering, refining the modelâs output during generation, self-feedback mechanisms, and retrieval-augmented generation (RAG) approaches [19â22]. In RAG sys- 4 tems, models retrieve relevant information from trusted external sources and condition their responses on this evidence, reducing unsupported claims while improving transparency and traceability; making RAG particularly well suited for scientific domains. RAG methods have evolved rapidly in recent years, driven by advances that integrate retrieval more tightly with generation and enable models to incorporate external knowledge more effectively [23]. These developments have produced two prominent retrieval paradigms: vector-based dense retrieval and graph-based reasoning [24]. Vector-based RAG (Vector- RAG) represents information as dense embeddings in a high-dimensional space and retrieves semantically similar passages through similarity search, with extensive work focused on op- timizing chunking, embedding models, indexing, and scoring mechanisms [25]. Graph-based RAG (GraphRAG), in contrast, organizes knowledge as a network of interconnected entities and relations, enabling retrieval through graph traversal or subgraph extraction. This struc- tured representation supports multi-hop reasoning, improves retrieval precision in domains with complex relational dependencies, and produces evidence trails that are more inter- pretable [26]. Together, these complementary retrieval paradigms provide the foundations needed to support reliable and grounded LLM reasoning in materials science, where both accurate evidence retrieval and interpretable relational reasoning are essential. Adapting these retrieval strategies to materials science introduces unique challenges. Sci- entific text in the field is highly heterogeneous, marked by complex jargon, nested prop- ertyâcompositionâprocessing relationships, and inconsistencies in nomenclature. For exam- ple, the same polymer may be described as âPLA,â âpoly(lactic acid),â or âpolylactide,â making it harder to bring together and compare results reported across different studies. These challenges are particularly pronounced for polyhydroxyalkanoates (PHAs), a diverse and rapidly expanding family of biodegradable polymers of significant interest for sustain- able materials design [27]. As such, PHAs provide a compelling test case for evaluating complementary retrieval strategies such as VectorRAG and GraphRAG. In this work, building on the framework illustrated in Fig. 1, we introduce the Polymer Literature Scholar, a retrieval-augmented system designed to support literature-grounded reasoning for polymer science. We develop and systematically benchmark VectorRAG and GraphRAG pipelines on a curated corpus of over 1,000 full-text PHA articles, tailoring each approach to the domain. VectorRAG is adapted through domain-aware chunking and embedding strategies, and GraphRAG through robust entity extraction, normalization, and 5 canonicalization pipelines that support scalable graph reasoning. To systematically assess re- trieval quality and factual grounding, we curated a benchmark of 113 domain-expert evalua- tion questions focused on PHAs and conducted aqualitative expert analysis spanning general scientific queries, paper-specific questions, and multi-paper reasoning tasks. The responses generated by five representative systems: GraphRAG with GPT-4o-mini, GraphRAG with Llama-3.1-70B, VectorRAG with GPT-4o-mini, OpenAIâs built-in RAG with ChatGPT-5 (Web Search), and Googleâs built-in RAG with Gemini were evaluated based on content accuracy, citation completeness, and depth of scientific reasoning. To support practical use and expert assessment of the system, we also developed an interactive interface exposing both the VectorRAG and GraphRAG retrieval pipelines and their underlying evidence. This interface allows domain experts to query the system, inspect the retrieved paragraphs or knowledge graph tuples, verify evidence provenance, and assess the credibility and completeness of the generated responses. A key contribution of this work is demonstrating how state-of-the-art retrieval meth- ods can be adapted to build a reliable, domain-focused Polymer Literature Scholar using only a carefully curated corpus and modest computational resources, rather than the scale or expense typically associated with general-purpose foundation models. By presenting a transparent and reproducible retrieval-augmented framework, we show that reliable poly- mer literature reasoning does not require large proprietary models. Even with smaller, open-weight models, the system remains effective, explicitly grounds its answers in the lit- erature, and appropriately responds with âI do not knowâ when the available evidence is insufficient. Using PHAs as an illustrative example, we show how vector-based and graph- based retrieval can be aligned with the structure of polymer science literature. VectorRAG provides broad semantic coverage and captures paragraph level context effectively, while GraphRAG supports more structured, relationship aware reasoning across linked entities. Together, these approaches offer a grounded and interpretable basis for reasoning over com- plex and inconsistently reported polymer data, making literature-driven polymer research both practical and credible. 6 RESULTS AND DISCUSSION Overview of the Retrieval-Augmented Reasoning Pipelines Fig. 1 provides an overview of the Polymer Literature Scholar, a retrieval-augmented framework and interactive application designed to support scientific reasoning over the ex- perimental literature on PHAs. Rather than retrieving isolated facts, the system enables the synthesis of coherent, literature-grounded explanations that reflect how polymer proper- ties, processing behavior, and structureâproperty relationships are discussed and interpreted across multiple studies. As shown in Fig. 1a, the framework is built on a curated corpus of 1,028 full-text journal articles focused on PHA chemistry, processing, and properties. These articles are parsed into 44,609 paragraph-level text segments, which serve as the fundamental units of scientific evidence. This paragraph-level representation preserves experimental context that is central to how materials scientists reason about polymer behavior. To enable effective access to this literature, the Polymer Literature Scholar supports two complementary retrieval strategies: VectorRAG and GraphRAG. In the VectorRAG pipeline, paragraph-level text is embedded into a continuous semantic space, allowing retrieval of experimentally relevant passages even when similar concepts are described using different terminology across papers. In contrast, the GraphRAG pipeline organizes extracted entities such as polymer systems, processing steps, and measured prop- erties into a structured representation that explicitly captures relationships reported in the literature. This graph-based view enables reasoning across interconnected statements, al- lowing evidence to be integrated from multiple studies that collectively describe a material behavior or trend. During inference, a user interacts with the Polymer Literature Scholar through a devel- oped application interface by submitting a query. Relevant evidence is retrieved using either of the two retrieval pathway, and the resulting paragraphs or subgraphs are provided as con- textual input to a large language model. The model then synthesizes a response grounded in experimentally reported observations drawn directly from the PHA corpus, enabling users to obtain literature-supported explanations. Figure 1b illustrates representative example queries and responses generated through the 7 1. PHB as renewable feedstock for monomers: manufacturing and applications - Making C4-platform molecules from PHB: depolymerization routes - Pyrolysis PHB pyrolysis (thermal degradation under an inert atmosphere) may yield a multitude of different degradation products (e.g., ketenes, oligomers, propylene, or CA) [29]. While the precise temperature for effective pyrolysis depends on the origin of the PHB material, the usually targeted formation of CA typically involves temperatures between 170 and 290°C besides reduced pressure and/or treatment with inorganic bases (Table1 ) [20,28,30]. ... 2. PHB as renewable feedstock for monomers: manufacturing and applications - Making C4-platform molecules from PHB: depolymerization routes - Solvolysis Abiotic PHB hydrolysis into (R)-3-HBA and CA in water is typically done at 70â220°C with many examples showing enhanced rates with acids or bases [15,36]. ... Under acidic conditions, PHB hydrolysis predominantly produces crotonic acid (CA) and 3-hydroxybutyric acid (3HBA), with CA being the major product, particularly at higher concentrations of acid (e.g., 90% CA and 2% 3HBA in concentrated sulfuric acid). In contrast, under alkaline conditions, PHB hydrolysis yields a mixture of CA and 3HBA, with the ratio of CA to 3HBA depending on the concentration of hydroxide ions (OHâť) used, typically favoring a higher formation of both products as the concentration of NaOH increases.[1,2] What are the typical products of PHB hydrolysis under acidic versus alkaline conditions? EXTRACTED CONTEXT SECTIONS LLMâS RESPONSE + QUERY â˘â User query Query embedding Embedding model Top K Relevant context Grounded Response a b PHA corpus Parsed text Vector Database Embedding model 1028 papers 44,609 paragraphs Qwen3- Embedding-4B 10,665 embeddings Word embedding space Word embedding space Embeddings of section- based text chunks Highest cosine- similarity paragraph Query embedding d c VECTOR DATABASE GENERATION QUERY INTEPRETATION AND CONTEXT RETRIEVAL FIG. 2. VectorRAG workflow for literature-grounded question answering on PHAs. (a) Backend processing of the corpus, where full-text articles are parsed, contextually grouped into condensed text chunks, and embedded into a dense semantic space for similarity-based retrieval. (b) Retrieval-augmented inference, in which user queries are encoded in the same latent space and matched to the most semantically aligned text segments from the corpus. (c) Conceptual representation of the embedding space illustrating how relevant paragraphs are identified through cosine similarity between the query vector and its nearest neighbors. (d) Example of a represen- tative query showing retrieved literature passages and the corresponding grounded, citation-linked response generated by the language model. interface. Rather than citing a single source, each response reflects aggregated evidence from multiple relevant studies, as indicated by the document symbol in the figure. This mode of aggregation mirrors how materials scientists typically engage with the literature, by integrating observations across papers to develop a consensus understanding of mate- 8 rial behavior, while maintaining transparency about the evidentiary basis of each response. As a result, the framework allows scientists to query the literature in a way that aligns with experimental practice, enabling literature-grounded insights into polymer properties, processing considerations, and design choices that are difficult to obtain using conventional keyword search or database-driven tools. VectorRAG: Dense Semantic Retrieval Pipeline The VectorRAG framework represents the literature corpus in a high-dimensional seman- tic space capable of capturing contextual similarity across studies. As illustrated in Fig. 2, the workflow integrates three main components: knowledge base construction, semantic similarityâbased retrieval, and grounded answer generation. In the knowledge base construction stage (Fig. 2a), the 44,609 parsed paragraphs are grouped into context-preserving text chunks by concatenating adjacent paragraphs from the same section or subsection. This approach ensures that text segments describing related concepts such as synthesis steps and resulting properties remain contiguous, and results in 10,665 context-preserving text chunks. These chunks are embedded using the Qwen3- Embedding-4B model to produce 3,584-dimensional dense vectors, which are then stored in a relational vector database for efficient similarity-based retrieval. During query processing (Fig. 2bâc), a user query is embedded into the same vector space and compared with all corpus embeddings using cosine similarity. The number of retrieved segments (k) was varied between 2 and 8, with optimal grounding and response coherence observed at k = 8. The retrieved chunks are concatenated with the user query and provided to an LLM, which generates a literature-grounded response supported by explicit citations (Fig. 2d). This dense semantic retrieval approach effectively captures implicit conceptual relation- ships and broader narrative context, making it particularly effective for descriptive or ex- ploratory questions such as âWhat factors influence the crystallinity of PHBV copolymers?â However, at the same time, the unstructured nature of retrieved text can introduce redun- dancy and higher token utilization during inference. VectorRAG therefore provides a strong semantic retrieval baseline that complements the structured, relational reasoning capabilities of GraphRAG. 9 Under acidic conditions, the hydrolysis of PHB is enhanced [23], and generally, both acidic and basic media promote hydrolysis [33]. However, the specific products of hydrolysis under acidic conditions are not explicitly detailed in the provided triples. Under alkaline conditions, PHB hydrolysis yields a mixture of crotonic acid (CA) and (R)-3-hydroxybutyric acid (3-HBA), with CA making up 26% and 3-HBA making up 48% of the products [25]. Additionally, abiotic PHB hydrolysis produces (R)-3-HBA and CA [21]. Thus, the typical products of PHB hydrolysis under alkaline conditions are CA and 3-HBA, but the specific products under acidic conditions are not detailed in the provided information. Each line is a tuple in the format: <tuple_number>. <subject> <relation> <object> 1. abiotic PHB hydrolysis produces (R)-3-HBA and CA 2. abiotic PHB hydrolysis temperature_range 70C 3. acidic solutions enhance hydrolysis . 25. alkaline hydrolysis yields mixture of CA (26%) and 3- HBA (48%) . 33. strongly acidic and basic media promote hydrolysis What are the typical products of PHB hydrolysis under acidic versus alkaline conditions? QUERY EXTRACTED KNOWLEDGE GRAPH LLMâS RESPONSE PHA corpus 1028 papers Parsed text 44,609 paragraphs Entity Extraction 390,864 entities Entity Normalization 36,757 entities Postgres Database 3 armed PHBs 5 mg PHB Malleated PHB PHB- Ag PHB PHB + Word embedding space Word embedding space Cluster Size Top 10 canonical nodes by size ..... +882 variations a b c d ABCD.. User query Entity & Keyword Identification Retrieve Relevant Knowledge Graph String + Canonical Matching + Re-ranking Grounded Response KNOWLEDGE GRAPH GENERATION QUERY INTEPRETATION AND CONTEXT RETRIEVAL FIG. 3. GraphRAG workflow for knowledge graphâbased question answering on PHAs. (a) Backend processing of the corpus, where entities and relationships are extracted from literature, normalized, and stored as relational tuples in a relational database. (b) Retrieval and reasoning stage showing how user queries are decomposed into entityârelation pairs, matched to canonical entities, and re-ranked through a path-based scoring strategy to identify the most relevant sub- graphs for grounded response generation. (c) Example of entity canonicalization, where multiple related mentions (e.g., PHBâAg, maleated PHB, 3-armed PHB) are merged into a unified canonical node representing PHB. The accompanying bar plot highlights the top canonical entities ranked by cluster size, demonstrating how normalization improves graph connectivity and recall. (d) Repre- sentative example showing a user query, retrieved knowledge graph tuples, and the corresponding grounded response synthesized by the language model with supporting citations. 10 GraphRAG: Knowledge GraphâBased Retrieval Pipeline The GraphRAG framework restructures the parsed corpus into an explicit knowledge graph (KG), enabling interpretable, multi-hop reasoning across diverse relationships within scientific text. As illustrated in Fig. 3, the workflow comprises three main components: knowledge graph construction, query interpretation and retrieval, and grounded response generation. In the backend construction phase (Fig. 3a), the 44,609 parsed paragraphs are processed through an entity extraction and normalization pipeline, as described in the Methods section. Several LLMs were evaluated, including GPT-4o, GPT-4o-mini, GPT-4.1-mini, Llama-3.1- 70B, and Llama-3.3-70B, to assess how model choice influences tuple quality and downstream retrieval. Among these, GPT-4o-mini and Llama-3.1-70B produced the most reliable tuples and were therefore selected for the final pipeline. The extraction prompts and all variations tested during this stage are provided in the Supporting Information. Consequently, GPT-4o-mini extracted 390,864 relational tuples and Llama-3.1-70B ex- tracted 311,475 tuples. These tuples capture scientific relationships such as [PHB-has property-Tg] or [PHBV-synthesized with-hexanoate]. Because polymers and related entites often appear under multiple textual variants, an entity normalization step was in- troduced to merge equivalent mentions and increase graph connectivity. This was applied to merge equivalent mentions and render the graph more interconnected. This step yielded 36,757 canonical entities for GPT-4o-mini and 37,289 for Llama-3.1-70B, improving consis- tency and retrieval quality across the corpus. All resulting tuples were stored in a relational database, creating a structured, queryable representation of scientific knowledge derived from the PHA literature. During query processing (Fig. 3b), each user question is decomposed into its key entities and relations using an entity and keyword parser. GraphRAG retrieves relevant subgraphs by combining canonical entity matching with string and semantic similarity, as described in the Methods section. The retrieved tuples are then re-ranked through the path-reranking strategy and capped at a maximum subgraph size of 300 nodes. These subgraphs often contain multiple paths linking related entities, thereby enabling multi-hop reasoning across studies. For example, a query such as âHow does 3HV content affect the melting temperature of PHBV copolymers?â triggers traversal from PHBVâ 3HVâ Tm, retrieving all relevant 11 experimental contexts associated with this relationship. As shown in Fig. 3c, the graph consolidates textual variations into canonical nodes, where contextually related entities (e.g., â3-armed PHB,â âmalleated PHB,â and âPHBâAgâ) are unified under a single canonical entity, PHB. The right-hand panel of Fig. 3c highlights the top canonical nodes ranked by cluster size, corresponding to the most frequently discussed entities, such as PHB, PHBV blends, crystallization temperature, and degradation behavior. Finally, the retrieved subgraph context is concatenated with the user query and passed to the LLM for citation-grounded response generation (Fig. 3d). By representing evidence as explicit relational tuples, GraphRAG provides a transparent reasoning chain that en- hances explainability and traceability. Compared with VectorRAG, this structured retrieval paradigm emphasizes relational precision and reasoning depth, making it particularly effec- tive for mechanistic or comparative questions that require multi-hop inference across studies. Benchmarking and Evaluation Controlled Evaluation: Benchmarking Retrieval Fidelity As an initial test, a subset of 21 PHA-related DOIs was used to develop and optimize both retrieval pipelines. This controlled setup ensured that the RAG framework could effectively retrieve relevant information from a focused dataset where every paper was directly related to the query topics. A total of 113 questions were constructed manually after reviewing the full texts of these 21 DOIs to evaluate retrieval fidelity using the Recall and Accuracy metrics described in the Methods section. The 21 full-text articles were parsed into 943 paragraphs, which were embedded and stored in the vector database for the VectorRAG pipeline. In parallel, entity extraction and normalization produced 10,814 raw tuples, consolidated into 5,904 canonical entity nodes using GPT-4o-mini, and 8,744 raw tuples consolidated into 4,973 canonical nodes using Llama-3.1-70B, for the GraphRAG pipeline. These datasets formed the benchmark for testing retrieval precision and grounding quality prior to scaling up to the complete corpus. As shown in Table I, both retrieval pipelines performed exceptionally well on the focused 21-DOI test set, achieving near-perfect recall across all models. The high recall values in- dicate that, when the corpus is narrowly defined and thematically consistent, both dense 12 TABLE I. Controlled Evaluation: Reported metrics include recall, accuracy, and average per- query response time and cost for GraphRAG and VectorRAG on a subset of 21 PHA DOIs, using optimized context limits of 300 tuples and 8 paragraphs, respectively. Models Context limit Recall Accuracy Avg. response time (s) Avg. total cost ($) GraphRAG GPT-4o-mini300 tuples0.9820.9917.180.00097 Llama-3.1-70B300 tuples0.9910.99110.230.00000 VectorRAG GPT-4o-mini8 paragraphs 0.9731.00016.430.00186 Llama-3.1-70B 8 paragraphs 0.9731.00041.750.00000 (VectorRAG) and structured (GraphRAG) retrieval frameworks can successfully retrieve all relevant information. GraphRAG achieved faster retrieval and lower computational cost owing to its compact, relational representation, whereas VectorRAG exhibited higher la- tency primarily due to processing substantially longer text inputs, often approaching the 8,192-token context limit of the model. These results demonstrate that both pipelines can effectively ground model responses under controlled conditions and establish a reliable base- line for subsequent large-scale evaluations. Scaled Evaluation: Retrieval Performance at Corpus Scale To assess scalability and generalization beyond the controlled benchmark, both retrieval pipelines were evaluated on the complete PHA corpus comprising of 1,028 full-text journal articles. Performance was measured using recall and accuracy, complemented by average per-query response time and total inference cost to capture efficiency, as summarized in Table I. When scaled to the full corpus, both pipelines exhibited a decline in recall, reflecting the increased difficulty of retrieving the precise context as the search space expanded. The 13 reduction was more pronounced for VectorRAG, with a recall of 0.717, suggesting that dense semantic retrieval becomes less discriminative when the number of embeddings increases and contextual overlap grows. In contrast, GraphRAG maintained substantially higher recall, 0.938 with GPT-4o-mini, benefiting from its structured, entity-linked retrieval that confines searches to semantically consistent regions of the knowledge graph. Despite these differ- ences, the overall answer accuracy remained consistently high for both frameworks, approx- imately 0.96-0.97, indicating that even when the expected paragraph was not retrieved, the pipeline often produced correct, literature-grounded responses. This observation highlights that retrieval precision alone does not fully dictate downstream answer quality. Instead, GraphRAGâs relational representation provides greater robustness and interpretability at scale, underscoring the advantages of structured retrieval for large, heterogeneous scientific corpora. TABLE I. Evaluation at Scale: Reported metrics include recall, accuracy, and average per- query response time and cost for GraphRAG and VectorRAG on 1028 PHA DOIs, using optimized context limits of 300 tuples and 8 paragraphs, respectively. Models Context limit Recall Accuracy Avg. response time (s) Avg. total cost ($) GraphRAG GPT-4o-mini300 tuples0.9380.97334.140.00070 Llama-3.1-70B 300 tuples0.9030.96424.180.0 VectorRAG GPT-4o-mini 8 paragraphs 0.7170.96017.690.00184 Llama-3.1-70B 8 paragraphs 0.7170.96040.350.0 14 Qualitative and Expert Evaluation Detailed Analysis of Representative Queries To qualitatively assess retrieval and reasoning behavior, a set of representative polymer science questions were analyzed, as shown in Table I. The table presents side-by-side re- sponses from the GraphRAG and VectorRAG pipelines for questions spanning three distinct reasoning categories: mechanistic understanding, processâstructure correlation, and prop- erty comparison. In Query 1, both pipelines produced literature-consistent and chemically accurate an- swers. However, VectorRAG provided a more detailed mechanistic explanation by elaborat- ing on reaction conditions specifically under acidic and alkaline environments demonstrating its advantage when relevant information is captured at the paragraph level. In contrast, GraphRAG generated a concise but less comprehensive response; while correct, it omitted additional contextual details that would otherwise have contributed to a richer set of graph tuples. In Query 2, GraphRAG delivered a more structured and hierarchical explanation, iden- tifying five major categories of challenges in producing low-density PLA foams and citing relevant literature. This highlights its strength in multi-hop reasoning and information aggregation, linking dispersed evidence across multiple sources into a coherent narrative. The VectorRAG response, though factually accurate, was comparatively brief and lacked descriptive depth. In Query 3, VectorRAG outperformed GraphRAG by providing quantitative thermal and mechanical property data for P(3HB) and P(4HB). GraphRAGâs response, while limited in scope due to knowledge sparsity within the retrieved subgraph, remained fully factual and free from hallucination, reflecting a key advantage of graph-grounded reasoning in maintain- ing reliability even when coverage is incomplete. This again emphasizes VectorRAGâs ability to leverage paragraph-level semantic understanding to generate more detailed, context-rich answers. Overall, the complementary performance of the two pipelines underscores their distinct retrieval paradigms: GraphRAG enhances interpretability through structured reasoning and contextual aggregation while maintaining factual precision, whereas VectorRAG excels in 15 producing fluent, paragraph-level explanations when detailed textual information is present in the corpus. TABLE I: Qualitative comparison of GraphRAG and Vec- torRAG responses to representative polymer science ques- tions, illustrating differences in retrieval behavior, reasoning depth, and grounding style between the two pipelines. QuestionGraphRAG ResponseVectorRAG Response 1. What are the main monomeric products of abiotic PHB hydrolysis and under what conditions are they typically formed? The main monomeric products of abiotic PHB hydrolysis are (R)-3-HBA and CA [4]. This process typically occurs under conditions of 70â220°C [5]. The main monomeric products of abiotic PHB hydrolysis are D-(-)-3-hydroxybutyric acid (3HBA) and crotonic acid (CA). These products are typically formed under acidic or alkaline conditions, where the ester linkages in the polymer chain undergo hydrolysis. Specifically, at neutral pH (7.4), 3HB is a major intermediate product of PHB degradation [1]. Under acidic conditions (0.1â4.0 M H), 3HBA and CA are formed, with CA being the dominant monomeric product in highly concentrated acid solutions (80â98 wt% H2SO4) [2]. Conversely, alkaline conditions (0.1â4.0 M OH-) result in higher amounts of both 3HB and CA. 2. What challenges are associated with producing low-density PLA foams, and how can these be addressed? Producing low-density PLA foams presents several challenges, primarily related to the materialâs intrinsic properties and processing conditions. 1. Melt Strength and Elasticity: PLA exhibits low melt elasticity and low melt strength, which complicates the production of low-density foams. These properties can hinder the ability to achieve the desired foam structure during processing [211][212]. 2. Crystallinity and Foamability: High crystallinity in PLA can limit the expansion of the produced foam, reducing its foamability [200]. Additionally, slow crystallization kinetics contribute to the challenges in achieving uniform cell structures and desirable densities [266]. 3. Cell Structure Uniformity: Achieving uniform cell structures in large-scale settings is particularly challenging for low-density PLA foams. This uniformity is critical for maintaining consistent mechanical properties throughout the foam [213]. Producing low-density PLA foams is challenged by factors such as PLAâs poor melt strength and low melt elasticity, which lead to inadequate foaming behavior without modifications. Additionally, the crystallization behavior of PLA can hinder foaming, particularly at higher crystallization rates, which can prevent effective cell formation and growth. The CO 2 induced crystallization at high pressures can further complicate the foaming process by increasing crystalline regions that reduce foamability. These challenges can be addressed by blending PLA with polyhydroxybutyrate (PHBV), which improves the rheological properties and enhances foamability. PHBV acts as a nucleating agent for PLA, potentially leading to better cell structure and reduced density in the foams. 16 4. Surface-to-Volume Ratios: Producing foams with high surface-to-volume ratios is another challenge, as it impacts the foamâs overall performance and applications [214]. 5. Processing Variables: The interaction between material properties and processing conditions is crucial in determining foam characteristics. Variations in pressure, temperature, and the type of foaming agents used can significantly affect the final foam structure [220][250]. To address these challenges, several strategies could be employed: â Additives and Blending: Incorporating additives or blending PLA with other polymers, such as PHBV, can enhance the foaming properties and mechanical strength of the resulting foams [18][130]. Optimized Processing Techniques: Utilizing advanced processing techniques, such as film/foam coextrusion, may enhance the production of low-density PLA foams by allowing better control over processing parameters [21][264]. Adjusting the composition of the blend and optimizing processing conditions, such as foaming temperature and pressure, can also help achieve the desired foam properties while minimizing the adverse effects of crystallization and melt strength limitations [1][2][4][8]. 3. How do the physical and thermal properties of P(3HB) and P(4HB) differ and what are the implications of these differences for their potential applications? The knowledge graph does not provide specific details on the physical and thermal properties of P(3HB) and P(4HB) directly. However, it does mention the analysis of PHB, which is related to P(3HB) and has implications for thermal behavior and processing. 1. PHB (a homopolymer of 3HB) is analyzed by thermal analysis to understand its properties [4]. 2. The difference between melting and thermal degradation temperatures affects the processability of PHB production [20]. 3. Blending with other polymers can improve mechanical properties, flexibility/ductility, and processability of PHAs [14]. The physical and thermal properties of P(3HB) and P(4HB) differ significantly, which has implications for their potential applications. P(3HB) is a highly crystalline, water-insoluble polymer with a high Youngâs modulus (3.5 GPa) and low tensile strength (43 MPa). It is brittle, with an elongation at break of only 5%, making it less suitable for applications requiring flexibility [3]. Its melting temperature is around 180°C, and it possesses a glass transition temperature of approximately 4°C [5]. These characteristics limit its use primarily to applications where rigidity and stability are needed. 17 While these points provide some context about the thermal properties of PHB, they do not directly compare P(3HB) and P(4HB) or provide their specific physical properties and implications for applications. Therefore, there is insufficient information in the knowledge graph to answer the question regarding the differences between P(3HB) and P(4HB) and their implications comprehensively. In contrast, P(4HB) is a strong, malleable thermoplastic with a tensile strength comparable to polyethylene and an elongation at break of 100% [4]. This high elasticity makes P(4HB) suitable for applications requiring flexibility and resilience. Its thermal properties include a lower melting point of about 164°C and a glass transition temperature of 3°C [6], which allows for easier processing and adaptability in various applications. The differences in mechanical properties imply that while P(3HB) may be used in rigid applications, such as packaging or structural components, P(4HB) is better suited for applications requiring elasticity and flexibility, such as in biomedical devices or flexible films. Additionally, the ability to create copolymers, such as P(3HB-co-4HB), allows for tailored properties that can merge the strengths of both polymers for diverse applications [8]. Expert Validation To better understand how retrieval architecture influences reasoning quality, a domain chemist independently evaluated the performance of five retrievalâgeneration pipelines us- ing the developed interactive RAG interface. The analysis focused on how each system bal- ances factual grounding, contextual coverage, and citation reliability across different question types. The comparison included two variants of the GraphRAG framework built on GPT-4o-mini and Llama-3.1-70B, VectorRAG, ChatGPT-5 with Web Search, which integrates OpenAIâs in-built retrieval-augmented setup combining web evidence with citation tracing, and Gemini with Web Search, Googleâs corresponding RAG implementation that retrieves supporting content from online sources. Each model was tested on a three-tier question set, General, Paper-specific, and Multi-paper, designed to reflect the increasing complexity of scientific reasoning, from conceptual clarification to interpretation of individual studies and finally to synthesis across multiple publications. Details of the question set are provided in the 18 FIG. 4. Domain-expert evaluation of five RAG pipelines across General, Paper-specific, and Multi- paper questions. Scores reflect how well each system balanced factual grounding, contextual cover- age, and citation reliability. GraphRAG (GPT-4o-mini) and ChatGPT-5 with Web Search achieved the highest overall performance, with other pipelines showing moderate but consistent results. Supporting Information. For each answer, the expert assigned a score from one to ten, with five points allocated to content quality and factual correctness and five points allocated to citation quality and relevance. As shown in Figure 4, GraphRAG powered by GPT-4o-mini and ChatGPT-5 with Web Search achieved the highest overall scores, averaging between nine and ten across all question categories. Both demonstrated strong factual grounding, coherent reasoning, and reliable citation behavior. The GraphRAG variant built on Llama-3.1-70B scored slightly lower but maintained consistent factual precision, illustrating how language-model capacity influences the quality and completeness of the knowledge-graph tuples and subsequently the down- stream answer quality. VectorRAG and Gemini with Web Search produced moderate yet stable performance across all categories as well. A detailed comparison of representative responses is provided in the Supporting Information. Building on these results, the expert evaluation also revealed clear and consistent differ- ences in how each system reasons over the literature. GraphRAG, particularly when paired 19 with GPT-4o-mini, produced the most precise and well supported answers. Its responses were tightly anchored to the extracted relational evidence and showed very low rates of hallucination, a property that is essential for scientific use. ChatGPT-5, supported by web retrieval, generated more expansive narrative answers, reflecting its broader access to infor- mation, but its citations were sometimes less specific than those produced by the in house systems. VectorRAG performed well for questions that depend on paragraph level context, often supplying richer explanations when the needed information was concentrated in a few passages. Gemini offered wider coverage but less reliable referencing due to the variable quality of retrieved web sources. The GraphRAG with Llama-3.1-70B, although more lit- eral, still produced accurate and well grounded answers, demonstrating that the framework remains effective even with smaller open weight models. An additional and important observation was that the in-house pipelines routinely re- sponded with âI do not knowâ when the extracted knowledge did not contain sufficient information to answer the question. This behavior stood in contrast to the commercial sys- tems, which were more likely to provide speculative or incomplete answers. The tendency to abstain rather than hallucinate is particularly valuable for scientific applications, where incorrect claims can mislead downstream interpretation. Taken together, these results show that retrieval pipelines built on a carefully curated knowledge base and domain aware processing can match, and in several respects surpass, the performance of web driven proprietary systems. At the same time, they offer greater degree of transparency, scientific rigor, and substantially lower computational cost. Unlike commercial interfaces that often return links to entire articles, leaving users to manually locate the supporting evidence, the pipelines developed here provide precise evidence trails at the level of individual paragraphs or knowledge graph tuples. This reduces the effort required for verification, strengthens trust in the generated responses, and offers researchers a more reliable foundation for interpreting and analyzing the literature across the polymer domain. CONCLUSION Recent advances in LLMs have shown remarkable promise for scientific knowledge discov- ery, yet their usefulness ultimately depends on the quality and structure of the information 20 they draw from. This work demonstrates that a reliable literature scholar for polymer mate- rials does not require large proprietary systems or opaque retrieval engines. Instead, carefully curated corpora combined with domain-aware retrieval pipelines can provide a foundation that is both trustworthy and tailored to the scientific questions materials researchers need to ask. By focusing on PHAs as a representative case study, we show how state-of-the-art re- trieval methods can be adapted to reflect the structure and reporting practices of polymers literature. Dense semantic retrieval through VectorRAG and structured relational retrieval through GraphRAG both benefit from careful corpus construction, systematic transforma- tion of text, and robust entity normalization, which together create the basis required for LLMs to reason reliably over heterogeneous scientific content. These design choices make the resulting answers traceable, interpretable, and scientifically credible. The results also reveal a division of strengths across the two retrieval pipelines. Vector- RAG delivers broad semantic recall and rich paragraph-level context, making it effective for descriptive or exploratory questions. GraphRAG excels at multi-hop, relational reasoning with compact, interpretable evidence trails. At corpus scale, GraphRAG maintains higher recall and lower latency while VectorRAG often provides more detailed narrative answers when the relevant information is localized in text. Together, they highlight the value of combining complementary retrieval paradigms in a single workflow. Across controlled benchmarks and expert review, both pipelines achieve high accuracy, with GraphRAG in particular matching the performance of commercial web-connected RAG systems on domain questions while exhibiting more conservative, evidence-driven behavior and more consistent citations. In particular, the in-house pipelines more frequently defer with âI do not knowâ when the available literature does not support a definitive answer, reducing the risk of speculative or unsupported claims. At the same time, the study shows that conventional retrieval metrics such as recall cannot fully capture the scientific usefulness of a RAG system. Lower recall does not necessarily indicate weak grounding or limited relevance. Human expertise remains essential for determining whether retrieved context is truly relevant, whether reasoning chains are scientifically sound, and whether citations are complete and trustworthy. Taken together, this work provides a practical and reproducible pathway for developing cost-effective and transparent AI scholars tailored to the needs of the materials science com- 21 munity. By grounding model reasoning in curated evidence and exposing precise paragraph- level or relational evidence trails, the Polymer Literature Scholar framework strengthens trust in AI-generated responses and enables reliable synthesis of knowledge from an in- creasingly complex polymer literature. While demonstrated here for PHAs, the approach is broadly applicable to other materials domains where scientific insight depends on integrating fragmented and heterogeneous evidence. METHODS Corpus. Our literature corpus comprises âź 3 million documents obtained from pub- lishers including Elsevier, Wiley, Springer Nature, the American Chemical Society, and the Royal Society of Chemistry, covering articles published up to 2025. Details of the parsing pipeline are provided in [5]. To construct the PHA-specific corpus, we applied a keyword-based filter to the titles and abstracts of all articles, using PHA-relevant terms listed in the Supplementary Information. The filtered results were then manually verified, producing a final set of 1,028 PHA-relevant papers. The paragraphs were subsequently extracted from the full texts of these articles for downstream processing. Evaluation Metrics. Retrieval performance was evaluated using Recall@K, Recall PID@K and Accuracy. Recall@K is a standard metric in information retrieval for measuring the accuracy and ranking quality of retrieved results. It quantifies whether the expected ground-truth context paragraph appears among the top-K retrieved results. In scientific literature, relevant information is often distributed across multiple paragraphs within the same paper. As a result, Recall@K may underestimate retrieval performance when the correct paper is retrieved but the exact ground-truth paragraph is not. To address this limitation, we additionally report Recall PID@K, which considers a retrieval correct if any of the top-K retrieved contexts originate from the ground-truth paper, irrespective of the specific paragraph matched. Because both Recall@K and Recall PID@K focus solely on retrieval behavior, they may still underestimate the practical usefulness of a RAG system. We therefore also report Accuracy, defined as a binary (0/1) score assigned by a domain expert after assessing the 22 correctness and completeness of the generated answer with respect to the query. Recall@K. Recall@K measures whether the expected ground-truth paragraph P expected is included within the top-K retrieved paragraphs P retrieved : Recall@K =        1, if P expected â P retrieved [: K], 0, otherwise. (1) For N total queries, the mean Recall@K is: Mean Recall@K = 1 N N X i=1 Recall@K i .(2) Recall PID@K. Recall PID@K measures whether the paper containing the ground- truth paragraph, identified by its Paragraph ID (PID expected ), is included within the top-K retrieved papers (PID retrieved ): Recall PID@K =        1, if PID expected â PID retrieved [: K], 0, otherwise. (3) The mean Recall PID@K is computed analogously to Equation (2). Knowledge Graph Construction Phase Entity Extraction. Knowledge graph tuples were extracted from the corpus using LLMs via in-context learning. Each extracted tuple contains five fields: (subject, relation, object, reference_relation, reference_node). When available in the source text, explicit citations and figure/table references are also recorded. The optimized prompt used for tuple generation is provided in the Supplementary Information. Entity Canonicalization. To unify semantically equivalent entities among the ex- tracted tuples, 384-dimensional sentence embeddings were generated using the all-MiniLM-L6-v2 model from the SentenceTransformers library. A two-stage hybrid clustering strategy was employed to balance scalability and precision. First, MiniBatchKMeans was used to perform coarse-grained grouping of entities into 2,000 clusters. Within each cluster, Agglomera- tiveClustering with average linkage was applied to perform fine-grained merging based on a cosine distance threshold of 0.5. 23 For each resulting cluster, the canonical entity was selected using centroid-based ranking, where the entity closest to the cluster centroid was chosen as the representative label. For clusters dominated by numerical entities (defined as clusters with over 60% numeric content), a synthetic canonical label of the form numerical_value was assigned. This canonicaliza- tion step reduces vocabulary fragmentation while preserving semantic relationships, thereby improving graph connectivity and retrieval robustness. GraphRAG Retrieval Phase Query Preprocessing. User queries undergo a preprocessing step to extract domain- relevant terms and normalize textual variations prior to retrieval. Queries are first lowercased and processed using tokenization and lemmatization implemented with the NLTK frame- work. A custom regular expression pattern is then applied to identify domain-specific enti- ties, including polymer names, chemical formulas, composite material notations, and numer- ical values. Stop words are removed while preserving scientifically meaningful terms. This preprocessing standardizes query representations and facilitates robust matching against entities in the knowledge graph. String-Based Retrieval. String-based retrieval identifies candidate knowledge graph tuples through exact keyword matching. Regular expressions with word-boundary con- straints are applied to the subject, relation, and object fields of each tuple, with matching performed in a case-insensitive manner. Tuples containing all query keywords are priori- tized. If no such tuples are found, a relaxed matching strategy is applied, requiring at least two keyword matches. Retrieved tuples are ranked using a frequency based scoring scheme that prioritizes tuples matching a larger number of query terms. Canonical-Based Retrieval. To account for lexical variation in the literature, seman- tic retrieval is performed using canonical entity embeddings produced as part of the entity normalization step. Query terms are embedded using the all-MiniLM-L6-v2 model and compared against precomputed canonical entity embeddings using cosine similarity. Canon- ical entities exceeding a similarity threshold of 0.7 are retained, and all tuples containing these entities are retrieved. Exhaustive similarity comparison across the canonical entity set 24 ensures coverage of semantically related tuples that may not be captured through string- based matching alone. Hybrid Retrieval and Re-ranking. Hybrid retrieval integrates string-based and canonical-based matching to leverage both exact keyword overlap and semantic similar- ity. For each tuple, a hybrid score S hybrid is computed as a weighted combination of the string-match score S string and the canonical-match score S canonical : S hybrid = ι¡ S canonical + (1â Îą)¡ S string ,(4) where Îą = 0.7, reflecting greater emphasis on semantic similarity. Hybrid scores are minâmax normalized, and tuples with S hybrid below a threshold of Ď = 0.6 are filtered out. Path Re-ranking. The retained candidate tuples after hybrid matching are re-ranked using a cross-encoder model, cross-encoder/ms-marco-MiniLM-L-6-v2, which assigns a re- ranking score S rerank by jointly encoding each queryâtuple pair. Unlike entity-level matching, this path-level evaluation considers the complete relational path (subject, relation, object) in the context of the query, enabling the model to assess semantic coherence and relevance across the full tuple. This step improves retrieval precision by prioritizing tuples that more directly and collectively address the query. The final ranking score is computed as: S final = Ν¡ S rerank + (1â Îť)¡ S hybrid ,(5) where Îť = 0.7 biases the final ranking toward the context-aware re-ranking score. The number of tuples returned is controlled by the max_tuples parameter. To avoid prematurely discarding potentially relevant candidates, the cross-encoder evaluates up to four times max_tuples, normalizes the resulting scores to the range [0, 1], and retains the top max_tuples tuples. We evaluated max_tuples values between 300 and 500 and found that 300 provides the best balance between retrieval quality, computational cost, and inference latency. 25 VectorRAG Embedding Model. VectorRAG employs the Qwen/Qwen3-Embedding-4B model from the SentenceTransformers library to generate 2,560-dimensional embeddings for both the corpus and the user query. Corpus embeddings are pre-computed and stored in a PostgreSQL database for efficient retrieval. Text chunking strategy. Scientific articles are typically organized into major sections such as Introduction, Methods, Results and Discussion, and Conclusion, each of which may contain multiple hierarchical subsections. To preserve the scientific context during retrieval, paragraphs were combined based on this structural hierarchy. Specifically, all paragraphs belonging to the same first-level subsection (i.e., the lowest common subheading under a major section) were merged into a single chunk. This approach maintained the logical flow and coherence of scientific arguments within a section while optimizing semantic understanding and retrieval performance. DATA AVAILABILITY Data sharing is not applicable to this article as no new data was created or analyzed in this study. CODE AVAILABILITY The code used in this work can be found at https://github.com/Ramprasad-Group/RAG ACKNOWLEDGEMENT This work was supported by the Office of Naval Research through grants N00014-19-1- 2103 and N00014-20-1-2175. COMPETING INTERESTS The authors declare no competing interests. 26 SUPPORTING INFORMATION The online version of this article contains Supplementary Information available at https: //doi.org/ ⢠Optimized prompts for VectorRAG and GraphRAG components, LLM Benchmarking, Domain Expert Evaluation Questions etc. REFERENCES [1] A. Agrawal and A. Choudhary, Perspective: Materials informatics and big data: Realization of the âfourth paradigmâ of science in materials science, Apl Materials 4 (2016). [2] R. Ramprasad, R. Batra, G. Pilania, A. Mannodi-Kanakkithodi, and C. Kim, Machine learning in materials informatics: recent applications and prospects, npj Computational Materials 3, 54 (2017). [3] L. Himanen, A. Geurts, A. S. Foster, and P. Rinke, Data-driven materials science: status, challenges, and perspectives, Advanced Science 6, 1900808 (2019). [4] T. B. Martin and D. J. Audus, Emerging trends in machine learning: a polymer perspective, ACS Polymers Au 3, 239 (2023). [5] S. Gupta, A. Mahmood, P. Shetty, A. Adeboye, and R. Ramprasad, Data extraction from polymer literature using large language models, Communications materials 5, 269 (2024). [6] P. Shetty, A. C. Rajan, C. Kuenneth, S. Gupta, L. P. Panchumarti, L. Holm, C. Zhang, and R. Ramprasad, A general-purpose material property data extraction pipeline from large polymer corpora using natural language processing, npj Comput Mater 9, 1 (2023). [7] J. Cheung, Y. Zhuang, Y. Li, P. Shetty, W. Zhao, S. Grampurohit, R. Ramprasad, and C. Zhang, Polyie: A dataset of information extraction from polymer material scientific liter- ature, in Proceedings of the 2024 Conference of the North American Chapter of the Associa- tion for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers) (2024) p. 2370â2385. [8] P. Kalhor, N. Jung, S. Bräse, C. WĂśl, M. Tsotsalas, and P. Friederich, Functional material systems enabled by automated data extraction and machine learning, Advanced Functional Materials 34, 2302630 (2024). 27 [9] F. Bai, J. Kang, G. Stanovsky, D. Freitag, M. Dredze, and A. Ritter, Schema-driven informa- tion extraction from heterogeneous tables, in Findings of the Association for Computational Linguistics: EMNLP 2024 (2024) p. 10252â10273. [10] S. Gupta, A. Mahmood, S. Shukla, and R. Ramprasad, Benchmarking large language models for polymer property predictions, Macromolecular Rapid Communications , e00388 (2025). [11] K. Stergiou, C. Ntakolia, P. Varytis, E. Koumoulos, P. Karlsson, and S. Moustakidis, En- hancing property prediction and process optimization in building materials through machine learning: A review, Computational Materials Science 220, 112031 (2023). [12] L. Chen, J. Kern, J. P. Lightstone, and R. Ramprasad, Data-assisted polymer retrosynthesis planning, Applied Physics Reviews 8, 031405 (2021). [13] E. Kim, K. Huang, A. Saunders, A. McCallum, G. Ceder, and E. Olivetti, Materials synthe- sis insights from scientific literature via text extraction and machine learning, Chemistry of Materials 29, 9436 (2017). [14] A. Savit, H. Sahu, S. Shukla, W. Xiong, and R. Ramprasad, polybart: A chemical linguist for polymer property prediction and generative design, arXiv preprint arXiv:2506.04233 (2025). [15] H. Sahu, W. Xiong, A. Savit, S. S. Shukla, and R. Ramprasad, An encoder-decoder founda- tion chemical language model for generative polymer design, arXiv preprint arXiv:2510.18860 (2025). [16] I. Augenstein, T. Baldwin, M. Cha, T. Chakraborty, G. L. Ciampaglia, D. Corney, R. DiResta, E. Ferrara, S. Hale, A. Halevy, et al., Factuality challenges in the era of large language models and opportunities for fact-checking, Nature Machine Intelligence 6, 852 (2024). [17] A. Alansari and H. Luqman, Large language models hallucination: A comprehensive survey (2025), arXiv:2510.06265 [cs.CL]. [18] A. T. Kalai, O. Nachum, S. S. Vempala, and E. Zhang, Why language models hallucinate (2025), arXiv:2509.04664 [cs.CL]. [19] S. M. T. I. Tonmoy, S. M. M. Zaman, V. Jain, A. Rani, V. Rawte, A. Chadha, and A. Das, A comprehensive survey of hallucination mitigation techniques in large language models (2024), arXiv:2401.01313 [cs.CL]. [20] J.-W. Shim, Y.-J. Ju, J.-H. Park, and S.-W. Lee, Multi-stage prompt refinement for mitigating hallucinations in large language models (2025), arXiv:2510.12032 [cs.CL]. [21] A. Madaan, N. Tandon, P. Gupta, S. Hallinan, L. Gao, S. Wiegreffe, U. Alon, N. Dziri, S. Prab- 28 humoye, Y. Yang, S. Gupta, B. P. Majumder, K. Hermann, S. Welleck, A. Yazdanbakhsh, and P. Clark, Self-refine: Iterative refinement with self-feedback (2023), arXiv:2303.17651 [cs.CL]. [22] O. Ayala and P. Bechard, Reducing hallucination in structured outputs via retrieval- augmented generation, in Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 6: Industry Track) (Association for Computational Linguistics, 2024) p. 228â238. [23] W. Fan, Y. Ding, L. Ning, S. Wang, H. Li, D. Yin, T.-S. Chua, and Q. Li, A survey on rag meeting llms: Towards retrieval-augmented large language models (2024), arXiv:2405.06211 [cs.CL]. [24] S. Ahmad, Z. Nezami, M. Hafeez, and S. A. R. Zaidi, Benchmarking vector, graph and hybrid retrieval augmented generation (rag) pipelines for open radio access networks (oran), arXiv preprint arXiv:2507.03608 (2025). [25] S. Kukreja, T. Kumar, V. Bharate, A. Purohit, A. Dasgupta, and D. Guha, Performance eval- uation of vector embeddings with retrieval-augmented generation, in 2024 9th International Conference on Computer and Communication Systems (ICCCS) (2024) p. 333â340. [26] B. Peng, Y. Zhu, Y. Liu, X. Bo, H. Shi, C. Hong, Y. Zhang, and S. Tang, Graph retrieval- augmented generation: A survey (2024), arXiv:2408.08921 [cs.AI]. [27] K. Olonisakin, A. K. Mohanty, M. Thimmanagari, and M. Misra, Recent advances in biodegradable polymer blends and their biocomposites: a comprehensive review, Green Chem- istry 27, 11656 (2025). 29