Preprint
Article

This version is not peer-reviewed.

SERF: A Schema-Guided Evidence Retrieval Framework for Token-Efficient Structured Data Extraction from Scientific Literature

Submitted:

20 November 2026

Posted:

23 November 2026

You are already at the latest version

Abstract
Scientific literature contains rich experimental knowledge, but much of it remains embedded in unstructured PDFs, tables, figures, captions, and narrative text. Direct full-document prompting with large language models introduces excessive context, increasing token usage and weakening evidence traceability for structured extraction. This paper presents SERF, a Schema-guided Evidence Retrieval Framework for token-efficient structured data extraction from scientific literature. The framework parses scientific PDFs into section-aware semantic chunks, constructs a document-aware vocabulary to reduce terminology mismatch, and applies LLM-based query adaptation to expand schema field guides with source-specific aliases. The adapted guides then drive Bi-Encoder retrieval and Cross-Encoder reranking to select compact evidence for schema-constrained JSON generation. To improve completeness, SERF applies Section-Mapped Iterative Refilling, which recovers missing fields by searching likely source sections instead of reprocessing the full document. We evaluate SERF from both retrieval quality and end-to-end extraction quality. On PubMed RCT, a large sentence-level scientific abstract benchmark, SERF achieves stronger macro-level retrieval balance, demonstrating the effectiveness of two-stage schema-guided evidence selection. Field-wise results further show that SERF is effective at retrieving introductory, methodological, result-oriented, and conclusion-oriented evidence. In a domain-specific full-text extraction setting, SERF reduces average input tokens by 37% compared with full-document prompting while maintaining comparable completeness and matching judge-based precision. Compared with external extraction baselines, SERF achieves a better balance between token efficiency, extraction quality, and evidence traceability. These results show that SERF is an effective token-efficient procedure to convert unstructured scientific papers into standardized and machine-readable records while preserving compact and verifiable evidence support.
Keywords: 
;  ;  ;  

1. Introduction

Engineering and scientific research often relies on repeated experiments to understand how input conditions influence final performance. In domains such as materials processing, chemical synthesis, biomedical experimentation, and advanced manufacturing, trial-and-error exploration is costly, time-consuming, and difficult to scale. Although data-driven methods and machine learning can accelerate experimental optimization, their effectiveness depends on the availability of high-quality structured data [1]. Prior work in materials literature mining has also shown that large-scale scientific text contains latent materials knowledge that can be recovered through representation learning [2].
A large amount of experimental knowledge exists in scientific literature, including materials, methods, process parameters, experimental conditions, and measured properties. However, these data are usually embedded in unstructured PDFs, multi-column layouts, formulas, tables, figures, captions, and narrative descriptions. Manual extraction is possible, but it is inefficient, inconsistent, and difficult to scale across large scientific corpora.
Large language models have shown strong potential for scientific information extraction, but full-document prompting remains inefficient and difficult to verify [1,3,4]. Long scientific papers often contain substantial irrelevant context, which increases token usage and makes high-throughput extraction expensive. Excessive context can also dilute field-specific evidence, increasing the risk of unsupported or incorrectly mapped outputs. In addition, full-document extraction weakens traceability because extracted values are not explicitly linked to compact supporting evidence. Therefore, an effective extraction framework should first identify concise, relevant, and verifiable evidence before LLM-based structured generation.
To address this challenge, this paper proposes SERF, a Schema-guided Evidence Retrieval Framework for token-efficient structured data extraction from scientific literature. Scientific PDFs are parsed into semantic chunks using MinerU [5], and a document-aware n-gram vocabulary is constructed to adapt each schema field guide with document-specific aliases [6,7,8]. The adapted guides are then used as queries for encoder-based retrieval, which selects compact field-specific evidence for schema-constrained JSON generation [9,10,11]. To improve completeness, Section-Mapped Iterative Refilling revisits missing fields by searching likely source sections instead of reprocessing the full document. Schema skeleton enforcement ensures that the final output conforms to the predefined schema. Together, these components reduce LLM input context, filter irrelevant noise, preserve extraction completeness, and improve evidence traceability.
The contributions of this work are threefold. First, we propose a schema-guided field-level evidence retrieval framework that selects compact and traceable evidence before LLM-based structured generation, reducing the need for direct full-document prompting. Second, we introduce document-aware query adaptation and Section-Mapped Iterative Refilling to improve terminology alignment and recover missing fields under a limited-context setting. Third, we design a quality-aware evaluation protocol for structured scientific extraction, measuring completeness, judge precision, hallucination rate, evidence support, and token efficiency, and evaluate SERF through both internal ablation studies and external baseline comparisons.
Although SERF is domain-agnostic, it is evaluated on welding and joining literature involving SiC particle-reinforced aluminum matrix composites. This case study demonstrates how unstructured scientific papers can be converted into standardized, traceable, and machine-readable records for downstream data-driven analysis.

3. Data Pre-Processing

3.1. MinerU PDF Analysis

For the first input pre-processing phase of the workflow, this study employed MinerU as the document parsing and structural normalization component to convert raw scientific PDF papers into machine-readable Markdown and JSON representations [5]. Scientific document parsing and document understanding have also been studied through systems and models such as GROBID, Nougat, Docling, LayoutLM, Donut, and table extraction benchmarks such as PubTables-1M [22,23,24,25,26,27]. MinerU follows a multi-stage pipeline consisting of document preprocessing, content parsing, post-processing, and format conversion. During preprocessing, it uses PyMuPDF to read PDF files, filter unprocessable inputs, extract metadata such as page dimensions and language type, and distinguish between text-based and scanned PDFs.
For content parsing, MinerU adopts a multi-module strategy based on PDF-Extract-Kit. It first applies layout detection to identify structural regions, including titles, text blocks, figures, captions, tables, and formulas. Specialized modules are then used for different element types: PaddleOCR for text recognition, UniMERNet for formula recognition, and table recognition models such as TableMaster and StructEqTable for structured table extraction. Formula detection is performed before OCR to prevent mathematical expressions from being misrecognized as ordinary text, and OCR is applied at the detected text-block level to better preserve local reading order in multi-column documents.
After parsing, MinerU performs post-processing to resolve overlapping bounding boxes, remove irrelevant regions such as headers, footers, and page numbers, and reconstruct the logical reading order using layout position information. The processed intermediate representation is then exported as Markdown or JSON. In this study, these structured outputs provided the input foundation for paragraph chunking, semantic relevance scoring, and large language model-based structured information extraction.

3.2. Document Chunking and Metadata Normalization

After MinerU-based PDF parsing, an intermediate structural normalization stage was introduced to transform the layout-aware parsing output into retrieval-ready semantic units. Although MinerU provides structured document elements such as text blocks, titles, tables, figures, captions, and layout information, these elements are still not directly suitable for schema-oriented evidence retrieval. Therefore, the parsed content file was first converted into a unified internal block representation, where each block was associated with its page index, block type, textual content, section label, heading level, caption, table HTML, and image path when available.
The normalized blocks were then merged into paragraph-level chunks according to their document order and section context. During this process, non-informative regions such as page headers, footers, page numbers, references, and metadata-related sections were removed to reduce retrieval noise. The resulting chunks served as the basic semantic units for subsequent relevance scoring, allowing the retrieval module to operate on coherent paragraph-level evidence rather than fragmented layout blocks or the entire document.
In addition to text chunk construction, document-level and multimodal metadata were extracted at this stage. The paper title and author information were obtained directly from MinerU title and preamble blocks using rule-based heuristics, rather than being inferred by the large language model. This design reduces the risk of hallucinated bibliographic metadata. Figures and tables were also extracted and preliminarily categorized into results-related, process-related, or other groups based on caption keywords, table content, and surrounding section context. This classification provided additional structured cues for identifying experimental results and process-parameter information.
As shown in Figure 1, this stage bridges low-level PDF parsing and high-level semantic extraction. It converts MinerU’s layout-aware document representation into section-aware, paragraph-level, metadata-enriched chunks, thereby providing cleaner and more contextually coherent inputs for Bi-Encoder retrieval, Cross-Encoder reranking, and subsequent LLM-based structured information extraction.

3.3. TF-IDF and N-gram Based Vocabulary Construction with LLM Query Adaptation

Before Bi-Encoder retrieval, SERF constructs a document-aware vocabulary from the MinerU-parsed content to reduce the terminology mismatch between schema field descriptions and the target paper. This module is designed to be lightweight, interpretable, and domain-agnostic. Instead of relying on a manually defined domain dictionary, candidate terms are induced directly from paragraph chunks, section titles, captions, and table-related text.
The vocabulary construction process contains three steps: candidate generation, document-level importance scoring, and phrase association filtering. First, SERF extracts candidate terms using pattern-based rules, including numerical expressions with units, abbreviations, formula-like expressions, and hyphenated technical phrases. Since scientific terminology is often expressed as multi-word phrases rather than isolated words, SERF also extracts n-grams from the parsed text. An n-gram is a contiguous sequence of n tokens, such as a unigram, bigram, or trigram. This allows the system to capture phrase-level expressions such as “laser welding”, “tensile strength”, “cell viability”, or “reaction temperature”. Compared with isolated words, phrase-level expressions provide more precise retrieval cues and are more suitable for adapting schema field guides to the terminology of the source document.
Second, SERF ranks candidate terms using chunk-level TF-IDF. Each paragraph-level chunk is treated as a local document. For a term t in chunk c, the TF-IDF score is computed as
TF _ IDF ( t , c ) = TF ( t , c ) log 1 + N 1 + DF ( t ) + 1
where TF ( t , c ) denotes the frequency of term t in chunk c, N denotes the total number of chunks in the parsed document, and DF ( t ) denotes the number of chunks that contain t. The final document-level importance score of a candidate term is obtained by taking its maximum TF-IDF score across all chunks
S TF _ IDF ( t ) = max c ∈ D TF _ IDF ( t , c )
where D denotes the set of chunks in the document. This scoring strategy assigns higher weights to terms that are important in specific parts of the target paper while avoiding terms that are uniformly distributed across the entire document. TF-IDF and other statistical term-weighting methods remain widely used as interpretable baselines for keyword extraction and document representation [6]. Combining TF-IDF with n-gram features also provides a simple and effective way to capture phrase-level textual features [7].
Third, SERF applies PMI-based phrase association filtering to refine multi-word candidates. TF-IDF can identify terms that are important in a document, but it does not explicitly measure whether the words inside an n-gram form a stable expression. For example, a frequent phrase may receive a high TF-IDF score even if its component words are only weakly associated. To address this, SERF computes pointwise mutual information (PMI) for candidate bigrams. For a bigram ( w 1 , w 2 ) , PMI is defined as
PMI ( w 1 , w 2 ) = log 2 P ( w 1 , w 2 ) P ( w 1 ) P ( w 2 )
PMI measures whether two words co-occur more frequently than expected by chance and has been widely used for word association and collocation analysis [8]. High-PMI bigrams are more likely to represent stable technical expressions. For trigrams, SERF applies the same association principle by averaging the PMI scores of adjacent word pairs
PMI ( w 1 , w 2 , w 3 ) = 1 2 PMI ( w 1 , w 2 ) + PMI ( w 2 , w 3 )
Candidate n-grams with high TF-IDF scores and high PMI scores are retained as document-specific vocabulary terms. This follows the broader idea of automatic multi-word term recognition, where statistical importance and association signals are combined to identify domain-relevant expressions from specialized text [28].
The final document vocabulary consists of global terms, section-specific terms, caption terms, table terms, numerical-unit expressions, abbreviations, formula or symbol terms, and high-PMI phrases. This vocabulary is not directly used to expand the schema guide with all related terms. Instead, it serves as a source-grounded candidate pool for later query adaptation. This design avoids the common problem of query drift, where broadly related terms may change the original retrieval intent.
Given a schema field f i with its original guide description g i , and a document-specific vocabulary V d , the system performs LLM-based alias selection before rewriting the query. The LLM is asked to classify candidate vocabulary terms into five categories: alias, unit, context, schema example, and reject. A term is classified as an alias only if it is a direct synonym, abbreviation, surface form, or document-specific name of the target field. Terms that are merely topically related are classified as context and are not appended to the retrieval guide. Units and schema examples are also separated to avoid introducing overly broad or unsupported query terms.
Formally, the alias set for field f i is defined as
A i = AliasSelect LLM ( f i , g i , V d )
where A i ⊆ V d contains only document-specific aliases that directly correspond to the target field. The adapted guide is then constructed as
g ˜ i = Rewrite ( g i , A i )
If no reliable alias is identified, the original guide is kept unchanged. Otherwise, only the selected alias terms are appended to the guide as document-specific aliases. For example, for a field such as process.method.joining_method, terms such as “ultrafast laser welding” or “vacuum brazing” may be selected as aliases if they appear in the document. However, terms such as “welding speed” or “bending strength” are treated as contextual information rather than aliases because they do not represent the joining method itself.
The rewritten guide g ˜ i is then used as the query for Bi-Encoder retrieval
q i = E ( g ˜ i )
where E ( · ) denotes the sentence embedding model. In this way, TF-IDF and n-gram mining provide a lightweight document vocabulary, while LLM-based alias selection adapts each schema guide using only source-grounded terminology. This improves terminology alignment before evidence retrieval while preserving the original extraction intent and reducing the risk of query drift.

4. Schema-Guided Evidence Retrieval and Reranking

After paragraph-level chunk construction and guidance adaptation, SERF introduces a schema-guided evidence retrieval and reranking module to select field-relevant evidence before LLM-based extraction. A straightforward strategy is to concatenate all parsed paragraph chunks and feed the entire document into the LLM. Although this direct context feeding strategy preserves the full textual content, it also introduces substantial irrelevant information into the prompt. For long scientific papers, such full-document prompting increases input-token consumption, makes high-throughput extraction expensive, and may dilute the evidence needed for specific schema fields.
To address this limitation, SERF performs field-level evidence selection before structured generation. Instead of treating the document as a single monolithic context, each schema field is treated as an independent semantic query, and each paragraph chunk is treated as a candidate evidence passage. The goal is to retrieve a small set of compact and field-specific chunks that are most likely to contain the required information. These selected chunks are then provided to the LLM as evidence for schema-constrained JSON generation.
Formally, let the target schema contain a set of fields
F = { f 1 , f 2 , … , f m }
and let the parsed document be represented as a set of paragraph-level chunks
C = { c 1 , c 2 , … , c n }
Each field f i is associated with a natural-language field guide g i , which describes the expected information, possible value types, and extraction constraints for that field. SERF uses g i as a semantic query to search over the chunk set C . The retrieval objective is to identify a small evidence subset
E i ⊂ C
for each schema field f i , where E i contains the chunks most relevant to extracting the value of f i .
This field-level formulation differs from direct full-document prompting in two ways. First, the LLM receives only compact evidence related to each target field rather than the entire parsed document. Second, the extracted value can be traced back to the retrieved evidence chunks, improving interpretability and supporting later verification. Therefore, schema-guided evidence retrieval serves as a token-efficient intermediate step between document parsing and LLM-based structured extraction.

4.1. Bi-Encoder-Based Coarse Evidence Retrieval

The first retrieval stage uses a Bi-Encoder to perform efficient coarse-grained evidence retrieval over the full set of paragraph chunks. Let
F = { f i } i = 1 m
denote the set of schema fields, where each field f i is associated with a natural-language field guide g i from the extraction schema. After document-aware query adaptation, the original guide g i is rewritten as an adapted guide g ˜ i using document-specific aliases. Let
C = { c j } j = 1 n
denote the set of paragraph-level chunks obtained from the chunk construction stage.
The Bi-Encoder independently encodes each adapted field guide and each paragraph chunk into a shared dense semantic space
q i = E ( g ˜ i ) , d j = E ( c j )
where E ( · ) denotes the sentence embedding model, q i is the embedding of the adapted guide for schema field f i , and d j is the embedding of candidate chunk c j .
The semantic relevance between field f i and chunk c j is computed using cosine similarity
s i j bi = cos ( q i , d j ) = q i ⊤ d j ∥ q i ∥ ∥ d j ∥
For each schema field f i , all paragraph chunks are ranked according to s i j bi , and the top-K chunks are selected as the coarse evidence set
C i K = TopK c j ∈ C s i j bi
Here, C i K represents the candidate evidence chunks retrieved for schema field f i .
This independent encoding design follows the dense retrieval paradigm, where queries and passages are embedded separately to support efficient similarity search [9,10]. In SERF, adapted schema field guides act as retrieval queries, while paragraph-level chunks serve as candidate passages. Fields that can be obtained directly from document metadata, such as paper title and authors, are excluded from this retrieval stage to reduce unnecessary matching noise. Therefore, the Bi-Encoder functions as a high-recall evidence filter: it narrows the full document context into a smaller set of field-relevant candidate chunks, reduces the input context for subsequent LLM extraction, and provides an efficient candidate pool for Cross-Encoder reranking.

4.2. Cross-Encoder-Based Fine-Grained Evidence Reranking

The candidate chunks retrieved by the Bi-Encoder are further refined using a Cross-Encoder reranking module. Unlike the Bi-Encoder, which encodes schema field guides and document chunks independently, the Cross-Encoder jointly encodes each field–chunk pair and directly estimates its relevance. For each schema field f i and each candidate chunk c j ∈ C i K , the adapted field guide g ˜ i and the candidate chunk c j are concatenated into a single input sequence and processed by the Cross-Encoder
H i j = Enc CE [ CLS ] ; g ˜ i ; [ SEP ] ; c j ; [ SEP ]
where [ CLS ] and [ SEP ] denote special tokens used by the transformer encoder, and H i j denotes the sequence of hidden states produced by the Cross-Encoder. The hidden state corresponding to the [ CLS ] token is used as the joint representation of the field–chunk pair
z i j = H i j [ CLS ]
This representation summarizes the interaction between the adapted schema guide and the candidate chunk. Since both inputs are encoded within the same transformer forward pass, tokens from g ˜ i and c j can attend to each other. This allows the model to capture fine-grained matching signals that cannot be represented by independent embeddings alone. A learned prediction head is then applied to the joint representation to compute the Cross-Encoder relevance score
s i j ce = w ⊤ z i j + b
where w and b are learned parameters of the relevance scoring head. The resulting score s i j ce is used as a raw relevance logit for ranking candidate chunks. If a bounded relevance value is required, a sigmoid function can be applied to map the logit into the range [ 0 , 1 ] . Since this monotonic transformation does not change the ranking order, SERF directly reranks candidates according to s i j ce .
The final evidence set for each schema field is obtained by selecting the top-ranked chunks from the Bi-Encoder candidate set
C ^ i = TopK c j ∈ C i K s i j ce
Compared with direct context feeding, the final LLM input is no longer constructed from all parsed paragraph chunks. Instead, it is assembled from the target schema, a field-level relevance map, and the selected evidence chunks { C ^ i } i = 1 m . This design preserves field-specific evidence while reducing irrelevant context, thereby improving the reliability and traceability of schema-constrained information extraction. The Cross-Encoder reranking stage is particularly important for scientific literature extraction, where different schema fields may share similar terminology but require distinct evidence, such as material composition, welding parameters, microstructural observations, and mechanical properties.
In addition to chunk-level reranking, SERF performs sentence-level relevance scoring within each selected chunk to further localize field-specific evidence. Let
S j = { x j , t } t = 1 T j
denote the set of sentences contained in chunk c j . Each sentence x j , t is paired with the corresponding adapted field guide g ˜ i and scored by the same Cross-Encoder scoring function
h i , j , t = w ⊤ z i , j , t + b
where z i , j , t denotes the joint representation of the field–sentence pair [ g ˜ i ; x j , t ] . The sentence with the highest score is marked as the best-matching evidence, while other high-scoring sentences are marked as supporting evidence. These highlighted sentences are incorporated into the extraction prompt together with the relevance map and target JSON schema. By applying Bi-Encoder retrieval, Cross-Encoder reranking, and sentence-level evidence highlighting, SERF provides the LLM with compact, field-aligned, and interpretable evidence instead of the full document context [11].
As shown in Figure 2, SERF adopts a two-stage evidence selection strategy. The Bi-Encoder is used as a high-recall coarse retrieval component to reduce the full paragraph set into a compact candidate set, while the Cross-Encoder is used as a high-precision reranking component to refine field–chunk relevance and identify sentence-level evidence for downstream LLM extraction.

4.3. Section-Mapped Iterative Refilling

Although the initial Bi-Encoder and Cross-Encoder retrieval stages provide compact field-specific evidence for LLM-based extraction, some schema fields may still remain empty after the first extraction pass. This can occur when the supporting evidence is not included in the initial top-ranked chunks, when the information is expressed implicitly, or when the relevant evidence is distributed across distant sections, figure captions, or tables. Directly reprocessing the full document would increase token consumption and introduce additional irrelevant context. Therefore, SERF introduces a Section-Mapped Iterative Refilling mechanism to recover missing fields while preserving the limited-context design of the framework.
This mechanism is an iterative extension of the original retrieval-based extraction process. The core retrieval and extraction procedure remains unchanged: each target field is represented by a natural-language guide description, candidate chunks are retrieved by a Bi-Encoder, reranked by a Cross-Encoder, and then provided to the LLM for structured value generation. The key difference is that, during refilling, SERF first introduces a section-mapping step to narrow the search space before retrieval. Instead of searching over all paragraph-level chunks again, the system identifies the paper sections that are most likely to contain evidence for each missing field.
Given a missing field f i , its field guide g i , and the set of detected section titles
S = { s 1 , s 2 , … , s l }
the LLM is used to estimate and rank the relevance of each section to the missing field
S i r = Rank LLM ( f i , g i , S )
where S i r denotes the ranked section list for field f i . This step allows the framework to adapt to different document structures without relying on fixed manually defined section rules. For example, processing-related fields may be mapped to sections such as Experimental, Materials and Methods, or Welding Procedure, while microstructure and property-related fields may be mapped to Results, Discussion, or Characterization sections.
After section ranking, the candidate chunk pool is restricted to chunks that belong to the top-ranked sections
C i sec = c j ∈ C ∣ section ( c j ) ∈ TopR ( S i r )
where C i sec denotes the section-filtered candidate set and TopR ( S i r ) denotes the top-ranked sections selected for refilling. The Bi-Encoder then performs coarse retrieval only within this reduced candidate pool:
C i K , fill = TopK c j ∈ C i sec s i j bi
The retrieved candidates are subsequently reranked by the Cross-Encoder in the same way as the initial extraction stage
C ^ i fill = TopK c j ∈ C i K , fill s i j ce
The top evidence chunks and their most relevant sentences are then provided to the LLM together with the original field guide and the target schema constraint. During this step, the LLM is instructed to update only the missing field rather than regenerate the entire JSON record. If the newly generated value is supported by the retrieved evidence and conforms to the schema type constraint, it is inserted into the original JSON output; otherwise, the field remains empty.
This design keeps the refilling stage consistent with the original evidence retrieval mechanism while adding a section-aware constraint to improve search precision. By using the missing field as the query signal and the ranked sections as a restricted search region, SERF avoids full-document re-extraction and reduces unnecessary context expansion. In this way, Section-Mapped Iterative Refilling acts as a lightweight recovery step that improves extraction completeness while maintaining the framework’s token-efficient and evidence-traceable extraction strategy.

5. Experiments

5.1. Experimental Setup

The experiments are designed to evaluate SERF from two complementary perspectives: large-scale retrieval quality and sampling end-to-end structured extraction. Since schema-guided evidence retrieval is the core mechanism behind SERF’s token efficiency, we first evaluate whether schema field guides can retrieve field-aligned evidence from scientific text before downstream LLM extraction. We use PubMed RCT [29] as a large-scale sentence-level diagnostic benchmark, which contains more than 190,000 randomized controlled trial abstracts and over 2,000,000 labeled sentence-level evidence candidates. This setting directly evaluates whether SERF can retrieve evidence sentences whose rhetorical roles match the target schema fields.
After validating retrieval quality, we evaluate whether the retrieved compact evidence can support structured extraction from long full-text scientific documents. This sampling extraction setting uses a domain-specific corpus of scientific papers related to SiC particle-reinforced aluminum matrix composite welding and joining. The corpus covers multiple joining processes, including laser welding, laser-assisted joining, friction stir welding, vacuum brazing, diffusion bonding, and related solid-state or interlayer-based joining methods.
For the full-text extraction setting, each PDF is parsed by MinerU [5] and converted into semantic chunks with section, page, table, figure, and caption metadata. The extraction schema is defined in master_template.json and covers key information required for scientific process analysis, including material composition, reinforcement characteristics, joining method, process parameters, microstructure, defects, and mechanical properties. Each paper is converted into one schema-constrained JSON record.
Table 1 provides the basic dataset and output configuration used for the sampling full-text extraction experiments, including token-budget sensitivity analysis, sampling stability analysis, internal ablation, and external baseline comparison.

5.2. Implementation Details

Table 2 summarizes the software, model, and LLM configurations used in the experiments. The hardware platform is an Apple MacBook Air (model identifier Mac16,12) equipped with an M4 processor and 16 GB of unified memory, running macOS 26.3.1 and Python 3.14.1. Acceleration is strictly CPU-based, as no GPU or other specialized accelerator is available.

5.3. Evaluation Design and Metrics

The experiments are organized into five parts: large-scale sentence-level evidence retrieval on PubMed RCT, token-budget sensitivity analysis, sampling stability analysis, internal ablation, and external baseline comparison. These experiments evaluate SERF from complementary perspectives, including retrieval quality, extraction quality, token efficiency, robustness across sample sizes, component contribution, and evidence traceability.

5.3.1. Experiment 1: Large-Scale Evidence Retrieval on PubMed RCT

The first experiment evaluates whether schema-guided retrieval can locate field-aligned sentence evidence at large scale. This experiment directly examines the core mechanism behind SERF’s token efficiency: compact input prompts are constructed from limited field-specific evidence rather than by blindly truncating or feeding the full document. We use PubMed RCT [29] as a sentence-level scientific abstract benchmark and reformulate it as a field-level evidence retrieval task.
Each sentence in PubMed RCT is annotated with one of five rhetorical roles: BACKGROUND, OBJECTIVE, METHODS, RESULTS, and CONCLUSIONS. These labels allow automatic evaluation of whether a retrieved evidence sentence matches the target schema field. Each abstract sentence is treated as an evidence candidate, and each schema field is represented by a natural-language field guide. A retrieved sentence is considered correct if its gold rhetorical role matches the target schema field.
Since BACKGROUND and OBJECTIVE jointly represent the introductory function of an abstract and are not always both present, we merge them into a unified introduction field. The resulting four-field schema is:
F RCT = { introduction , methods , results , conclusions } .
The mapping from schema fields to PubMed RCT labels is defined as:
introduction ← { BACKGROUND , OBJECTIVE } , methods ← { METHODS } ,
results ← { RESULTS } , conclusions ← { CONCLUSIONS } .
For each abstract–field pair, evaluation is performed only when the corresponding gold role label is present in the abstract. If a target field is absent, that abstract–field pair is excluded from the denominator rather than being counted as a retrieval failure. For the introduction field, both BACKGROUND and OBJECTIVE sentences are treated as valid evidence.
To contextualize SERF’s retrieval performance, we compare it with independent non-training retrieval pipelines under the same schema-guided evidence retrieval setting. BM25 is used as the lexical retrieval baseline [30], where field guides are treated as queries and abstract sentences are treated as candidate documents. SBERT zero-shot retrieval is used as the dense semantic retrieval baseline [31], where field guides and candidate sentences are encoded into dense sentence embeddings and ranked by cosine similarity. All baselines use the same generic field guide template and retrieve the top-5 evidence sentences for each field. Therefore, the comparison isolates the effect of lexical matching, dense semantic similarity, and two-stage schema-guided reranking under a unified evidence retrieval protocol.
For a schema field f, let Top 5 ( f ) denote the top-5 sentences retrieved for that field, and let G ( f ) denote the set of gold evidence sentences whose rhetorical role corresponds to f. Hit@5 measures whether the top-5 retrieved evidence set contains at least one correct sentence:
Hit @ 5 ( f ) = I Top 5 ( f ) ∩ G ( f ) ≠ ∅ .
Because the number of gold sentences differs across fields and abstracts, we use adaptive Precision@5:
AdaptivePrecision @ 5 ( f ) = | Top 5 ( f ) ∩ G ( f ) | min ( 5 , | G ( f ) | ) .
Recall@5 measures the fraction of gold evidence sentences covered by the top-5 retrieval set:
Recall @ 5 ( f ) = | Top 5 ( f ) ∩ G ( f ) | | G ( f ) | .
F1@5 is the harmonic mean of adaptive Precision@5 and Recall@5:
F 1 @ 5 ( f ) = 2 · AdaptivePrecision @ 5 ( f ) · Recall @ 5 ( f ) AdaptivePrecision @ 5 ( f ) + Recall @ 5 ( f ) .
When both adaptive Precision@5 and Recall@5 are zero, F1@5 is defined as zero.
We report macro-average retrieval performance as the main retrieval result and field-wise retrieval performance as a diagnostic analysis. The macro-average result evaluates the overall ability of each retrieval pipeline to retrieve field-aligned sentence evidence, while the field-wise result shows which schema fields are easier or harder for retrieval. This design allows us to compare lexical retrieval, dense retrieval, and SERF’s two-stage schema-guided retrieval under the same evidence selection task.

5.3.2. Experiment 2: Token-Budget Sensitivity Analysis

The second experiment evaluates how the amount of retained prompt evidence affects downstream structured extraction. Since SERF constructs compact prompts by selecting field-specific evidence, the retained token budget directly controls the trade-off between context compression and evidence coverage. If the token budget is too small, relevant evidence for some schema fields may be missed. If the token budget is too large, the prompt becomes closer to full-document prompting and loses part of the token-efficiency advantage.
In this experiment, we run SERF under different retained evidence budgets and measure extraction completeness, judge precision, judge-estimated hallucination rate, average input tokens, and evidence support rate. The goal is to identify a balanced configuration that preserves high extraction completeness and precision while substantially reducing input tokens relative to full-document prompting.
Completeness measures the proportion of schema fields filled by the system:
Completeness = N filled N total ,
where N filled is the number of filled schema fields and N total is the total number of target schema fields.
Judge precision measures the proportion of extracted fields judged as correct and supported by the source document:
JudgePrecision = N correct N extracted ,
where N correct denotes the number of extracted fields that are consistent with the evidence, and N extracted denotes the number of filled fields.
The judge-estimated hallucination rate is defined as the proportion of extracted fields that are unsupported or inconsistent with the source evidence:
HallucinationRate = 1 − JudgePrecision .
Token reduction is computed by comparing the average input tokens of each method with the full-document baseline:
R token = 1 − T method T full ,
where T full is the average input token count of full-document prompting and T method is the average input token count of the compared method.
Evidence support rate measures whether extracted values can be linked to retrieved or source-grounded evidence:
SupportRate = N supported N extracted ,
where N supported denotes the number of extracted fields that can be linked to supporting evidence.

5.3.3. Experiment 3: Sampling Stability Analysis

The third experiment evaluates whether SERF produces stable extraction behavior across different sample sizes within the sampling full-text corpus. We randomly sample subsets of 10, 20, 30, and 40 papers, with three repetitions for each setting. For each subset, SERF is evaluated using the same schema, extraction pipeline, and evaluation metrics.
This experiment is designed to test whether the observed extraction quality is dominated by a small number of favorable papers or remains stable across different subsets of the corpus. We report average completeness, judge precision, judge-estimated hallucination rate, average input tokens, and evidence support rate across repetitions. Stable performance across subset sizes indicates that SERF’s extraction behavior is not highly sensitive to the particular sampled papers.

5.3.4. Experiment 4: Internal Ablation Study

The fourth experiment evaluates the contribution of each component in SERF. We compare four methods. M1: Full-document prompting directly provides the parsed full document text to the LLM for schema-constrained JSON extraction. M2: BE+CE uses the original schema field guides as retrieval queries and applies Bi-Encoder retrieval followed by Cross-Encoder reranking. The selected compact evidence is then provided to the LLM for JSON generation. M3: Adapted BE+CE further applies document-aware query adaptation, where schema field guides are expanded with document-specific aliases before retrieval. M4: Full framework includes document-aware query adaptation, Bi-Encoder retrieval, Cross-Encoder reranking, schema-constrained JSON generation, schema skeleton enforcement, and Section-Mapped Iterative Refilling for missing fields.
This ablation isolates the effect of retrieval, query adaptation, and iterative refilling. The comparison shows whether compact evidence retrieval alone is sufficient, whether document-aware query adaptation improves retrieval alignment, and whether Section-Mapped Iterative Refilling can recover missing fields under a limited-context setting. The same extraction-quality, token-efficiency, runtime, and evidence-traceability metrics are used across all ablation variants.

5.3.5. Experiment 5: External Baseline Comparison

The fifth experiment compares SERF with external open-source extraction pipelines. LangExtract represents a general-purpose source-grounded extraction pipeline that extracts structured information from unstructured text using LLMs with source grounding and visualization support [20]. KEP-style is based on the Knowledge Extraction Pipeline, which turns unstructured scientific text into structured knowledge using foundation models through paragraph classification and schema-based JSON extraction [21]. Both external baselines are evaluated using the same schema-level evaluation protocol as SERF.
This experiment evaluates whether SERF provides a better balance between token efficiency, extraction quality, and evidence traceability compared with existing extraction pipelines. Unlike the PubMed RCT retrieval experiment, which focuses only on sentence-level evidence retrieval, this comparison evaluates end-to-end structured extraction from full-text scientific papers. We report completeness, judge precision, judge-estimated hallucination rate, average input tokens, total runtime, token reduction, and evidence support rate.

5.4. Large-Scale Retrieval Quality on PubMed RCT

Since schema-guided evidence retrieval is the core mechanism behind SERF’s token efficiency, we first evaluate whether SERF can locate field-aligned evidence at large scale before assessing downstream structured extraction quality. This experiment focuses on the retrieval module rather than LLM generation. The goal is to verify that schema field guides can serve as effective retrieval targets for identifying compact evidence candidates from scientific text.
Table 3 reports the macro-average retrieval performance at K = 5 . The results show that BM25 achieves the highest Hit@5, indicating that lexical matching can often retrieve at least one sentence with the correct rhetorical role. However, its adaptive Precision@5 and F1@5 are substantially lower than those of SERF, suggesting that the retrieved top-5 set contains more off-field or less targeted sentences. SBERT improves over BM25 in precision and F1, showing the benefit of dense semantic matching, but its Hit@5 and Recall@5 remain lower than those of SERF. In contrast, SERF achieves the best overall balance, with the highest adaptive Precision@5 and F1@5 while maintaining high Hit@5 and Recall@5. This indicates that Cross-Encoder reranking helps SERF select a more field-aligned compact evidence set, rather than merely retrieving at least one correct sentence.
Figure 3 reports the field-wise retrieval performance of BM25, SBERT, and SERF at K = 5 . The results show that SERF provides the strongest overall balance across the four schema fields, but the relative advantages differ by field.
For introduction, SERF shows a large improvement over both BM25 and SBERT. BM25 and SBERT achieve similar performance, with F1@5 scores of 33.3% and 34.8%, respectively, while SERF reaches 66.4% F1@5. SERF also improves Hit@5 from approximately 53% to 80.3%. This result is important because introduction evidence is rhetorically broad and can include background, motivation, prior evidence, study objectives, and research aims. The strong improvement indicates that two-stage schema-guided retrieval is better able to recognize semantically diverse introductory evidence than lexical matching or single-stage dense similarity alone.
For methods, SERF achieves 96.5% Hit@5, 71.3% adaptive Precision@5, 67.4% Recall@5, and 69.0% F1@5. SBERT obtains a slightly higher Hit@5 of 96.7%, but SERF achieves better precision, recall, and F1. This suggests that dense retrieval can often retrieve at least one correct methods sentence, while Cross-Encoder reranking helps SERF produce a cleaner and more field-aligned top-5 evidence set.
For results, SERF achieves the best performance among all three methods, with 97.7% Hit@5, 77.0% adaptive Precision@5, 72.5% Recall@5, and 74.3% F1@5. This field is especially important for downstream structured extraction because result sentences often contain numerical values, measured outcomes, statistical comparisons, and observed findings. The improvement over BM25 and SBERT shows that SERF is more effective at selecting compact quantitative evidence.
For conclusions, BM25 achieves the highest field-wise performance, with 97.1% Hit@5 and 92.7% F1@5, while SERF reaches 94.3% Hit@5 and 86.9% F1@5. This indicates that conclusion sentences in PubMed RCT are often lexically explicit and therefore well captured by BM25. However, SERF still substantially outperforms SBERT on this field, suggesting that Cross-Encoder reranking remains effective for distinguishing final interpretations and summary claims from other abstract sentences.
Overall, the field-wise results show that SERF is especially beneficial for semantically broad or evidence-rich fields such as introduction, methods, and results. BM25 performs particularly well on conclusions, likely because conclusion sentences often contain explicit lexical cues. Across the macro-average metrics, SERF achieves the strongest overall balance, with higher adaptive Precision@5 and F1@5 than both BM25 and SBERT. These results support the use of schema-guided two-stage retrieval as the evidence selection module for constructing compact prompts in downstream structured extraction.

5.5. Token Budget Sensitivity

After evaluating the retrieval effectiveness, we analyze how the retained prompt evidence budget affects extraction quality. This experiment is conducted on the same sampling dataset by varying the amount of field-relevant evidence retained in the final extraction prompt. Different prompt budgets are obtained by changing the compactness of evidence rendering, including the number of retained evidence sentences, surrounding context length, and fallback chunk content. As shown in Figure 4, completeness generally increases as the average prompt token count grows, rising from 86.8% at 1,058 tokens to 95.9% at 5,615 tokens. This trend indicates that aggressive context compression mainly leads to missing-field errors, since insufficient evidence prevents the model from filling some schema fields.
The improvement becomes less pronounced once the prompt length reaches approximately 5,000 tokens. Around this range, SERF achieves high completeness while still using substantially fewer tokens than full-document prompting. For example, configurations near 4,933–5,615 average prompt tokens achieve 95.9% completeness, suggesting that a moderate evidence budget is sufficient to recover most extraction-relevant information. Therefore, we use the approximately 5,000-token setting as the balanced SERF configuration for the subsequent main experiments.
In contrast to completeness, judge precision remains relatively stable across different token budgets, fluctuating only within a narrow range from 91.1% to 93.5%. This suggests that increasing the retained evidence mainly improves schema coverage rather than introducing substantial new extraction errors. The additional context helps the model recover missing values while preserving reliable field mapping.
This analysis also demonstrates the configurability of SERF. Users can choose a smaller token budget when inference cost or throughput is the primary concern, or select a larger evidence budget when extraction completeness is more important. Thus, SERF provides a controllable trade-off between cost and coverage instead of enforcing a fixed prompt size for all extraction scenarios.

5.6. Sampling Stability Analysis

After identifying the balanced token budget, we further evaluate whether SERF produces stable results across different sample sizes. This experiment is conducted on the same sampling corpus using the balanced SERF configuration around the 5,000-token budget. We randomly sample subsets of 10, 20, 30, and 40 papers, and repeat each setting three times. The goal is to examine whether the observed extraction quality is robust across different subsets rather than being dominated by a small number of papers.
As shown in Figure 5, SERF exhibits stable performance across all tested sample sizes. Completeness remains consistently high, ranging from 95.9% to 97.0%, and the standard deviation decreases as the sample size increases. Judge precision also remains stable, ranging from 91.2% to 92.1% across the four settings. The average prompt token count stays around the selected balanced budget, varying between approximately 5,000 and 5,400 tokens.
These results indicate that the balanced SERF configuration is not highly sensitive to the particular subset of papers used for evaluation. The small variation in completeness and precision suggests that SERF provides stable extraction behavior across different sample sizes within the evaluated sampling corpus. This supports the reliability of the subsequent main experiments, where the full corpus is used for internal ablation and external baseline comparison.

5.7. Internal Ablation Results

Based on the token-budget sensitivity and sampling stability analyses, we use the balanced approximately 5,000-token SERF configuration for the main ablation study. Table 4 reports the internal ablation results on the sampling full-text scientific papers. The full-document baseline achieves the highest completeness of 97.7% and a judge precision of 90.2%, but it requires the largest input context among the internal methods. The BE+CE retrieval baseline substantially reduces average input tokens from 8,423 to 3,785, corresponding to a 55% reduction. However, its completeness drops to 78.3%, indicating that aggressive evidence compression can miss information required by some schema fields.
Document-aware query adaptation improves retrieval alignment. Compared with BE+CE, Adapted BE+CE increases completeness from 78.3% to 87.4% and improves judge precision from 85.7% to 89.0%. This suggests that document-specific aliases help reduce terminology mismatch between schema field descriptions and source documents.
The full framework achieves the best balance between token efficiency and extraction quality. Compared with full-document prompting, SERF reduces average input tokens from 8,423 to 5,270, corresponding to a 37% reduction, while maintaining comparable completeness at 96.4% and matching judge precision at 90.3%. The true hallucination rate is also comparable to full-document prompting, decreasing slightly from 9.8% to 9.7%. Although the full framework requires longer end-to-end time due to query adaptation, retrieval, reranking, and refilling, it preserves extraction quality under a substantially smaller input context.
Figure 6 visualizes the same ablation trend by comparing prompt tokens, completeness, and judge precision across the four internal methods.

5.8. External Baseline Comparison

Finally, we compare the balanced SERF configuration with two external open-source extraction baselines. Table 5 compares SERF with two external open-source extraction baselines. Since these baselines are not internal variants of the proposed method, they are reported separately from the ablation study. Token ratio and Δ values are computed relative to SERF.
LangExtract achieves slightly higher completeness than SERF, with 96.6% compared with 96.4%. However, its judge precision is substantially lower, decreasing from 90.3% to 81.4%, and its evidence support rate decreases from 91% to 68%. It also requires 1.71 times the average input tokens used by SERF. This indicates that source-grounded extraction can recover many candidate fields, but source grounding alone does not guarantee correct field mapping under a nested scientific schema.
The KEP-style baseline provides stronger schema-level reliability than LangExtract, achieving 88.9% judge precision and 92% evidence support. However, it requires substantially more input context, with an average of 25,866 tokens per paper, which is 4.91 times the input tokens used by SERF. Its completeness is also lower than SERF, decreasing from 96.4% to 92.5%. These results suggest that paragraph-level classification and schema-based extraction can provide useful scientific extraction behavior, but may introduce significant token overhead when applied to full papers.
Figure 7 visualizes the token-quality trade-off between SERF and the two external baselines. LangExtract achieves similar completeness but shows lower judge precision and evidence support, while KEP-style extraction requires substantially more input context. In contrast, SERF provides a more token-efficient extraction setting while maintaining competitive schema-level extraction quality. Overall, SERF achieves the best balance between token efficiency, extraction quality, and evidence traceability.

5.9. Discussion

The five-part evaluation provides complementary evidence for the effectiveness and practicality of SERF. The large-scale PubMed RCT retrieval experiment first validates the core mechanism behind SERF’s token efficiency. SERF does not reduce prompt length through arbitrary truncation. Instead, it uses schema fields as retrieval targets and constructs compact field-aligned evidence contexts before LLM-based extraction. Compared with lexical retrieval and single-stage dense retrieval baselines, SERF achieves a stronger overall balance between evidence coverage and evidence precision. This indicates that the two-stage retrieval design can produce a more field-aligned evidence set, rather than simply retrieving a broad set of partially relevant sentences.
The field-wise results further clarify the role of schema-guided retrieval. SERF is especially effective for fields that require semantic matching and evidence discrimination, such as introduction, methods, and results. The improvement on introduction suggests that Cross-Encoder reranking helps identify rhetorically diverse evidence such as background, motivation, objectives, and research aims. The strong performance on methods and results is particularly important for downstream scientific extraction, because these fields usually contain experimental design, process conditions, measurements, numerical outcomes, and observed findings. Although lexical retrieval remains competitive for conclusions, the overall retrieval results show that SERF provides a more reliable evidence selection mechanism for constructing compact prompts.
The token-budget sensitivity study then shows how retrieval quality affects downstream extraction. Extraction completeness is strongly affected by the amount of retained field-relevant evidence. When the prompt budget is too small, SERF may miss evidence required by some schema fields, leading to lower completeness. As the average prompt length increases, completeness improves and approaches saturation around the balanced token-budget setting. In contrast, judge precision remains relatively stable across different token budgets. This indicates that increasing the evidence budget mainly helps recover missing fields rather than introducing substantial new extraction errors. Therefore, the selected compact-evidence setting is used as the balanced SERF configuration in the main extraction experiments.
The sampling stability analysis further shows that this balanced configuration produces stable results across different subsets of the sampling full-text corpus. Across different sample sizes and repeated random samples, SERF maintains consistently high completeness and stable judge precision, while the average prompt token count remains close to the selected budget. This suggests that the observed extraction behavior is not dominated by a small number of favorable papers, but remains stable within the evaluated full-text extraction setting.
The internal ablation results show that each component contributes to the final performance of SERF. BE+CE retrieval substantially reduces the input context, but aggressive evidence compression can lower completeness when relevant information is missed by the initially retrieved chunks. Document-aware query adaptation improves retrieval alignment by incorporating source-specific terminology into schema field guides. Section-Mapped Iterative Refilling further recovers missing fields under a limited-context setting, allowing SERF to maintain completeness and judge precision comparable to full-document prompting while using substantially fewer input tokens.
The external baseline comparison shows that existing extraction pipelines face different limitations when applied to nested scientific schema extraction. LangExtract achieves high completeness but lower judge precision and evidence support, suggesting that source grounding alone does not guarantee correct field mapping under a complex schema. The KEP-style baseline provides stronger evidence support than LangExtract, but requires substantially more input context. In contrast, SERF combines schema-guided evidence retrieval, document-aware query adaptation, Cross-Encoder reranking, and section-mapped refilling to achieve a better balance between extraction quality, token efficiency, and evidence traceability.
Although SERF reduces LLM input tokens, it requires longer end-to-end processing time because of additional retrieval, reranking, query adaptation, and refilling steps. Therefore, the current implementation should be interpreted as token-efficient and evidence-traceable rather than faster in runtime. Since field-level retrieval and missing-field refilling are largely independent, future implementations can reduce runtime through parallel execution, confidence-based early stopping, and more efficient refilling strategies.
Overall, the experiments demonstrate that SERF provides a configurable and traceable alternative to full-document LLM extraction. The PubMed RCT experiment validates the retrieval mechanism at large scale, while the full-text extraction experiments show that retrieved compact evidence can support high-quality structured extraction from long scientific papers. Under the balanced setting, SERF substantially reduces input tokens while maintaining comparable completeness and judge-based precision relative to full-document prompting. These results suggest that SERF’s token efficiency comes from targeted evidence selection rather than information loss.

6. Conclusions

This paper presented SERF, a Schema-guided Evidence Retrieval Framework for token-efficient structured data extraction from scientific literature. SERF addresses the limitations of full-document LLM prompting by selecting compact, field-specific, and traceable evidence before schema-constrained JSON generation. The framework combines document-aware query adaptation, Bi-Encoder retrieval, Cross-Encoder reranking, sentence-level evidence highlighting, Section-Mapped Iterative Refilling, and schema skeleton enforcement to improve extraction reliability under a limited-context setting.
The experiments evaluate SERF from both retrieval quality and end-to-end extraction quality. The large-scale PubMed RCT diagnostic experiment shows that schema-guided retrieval can effectively locate field-aligned sentence evidence from scientific abstracts. Compared with lexical retrieval and single-stage dense retrieval baselines, SERF provides a stronger overall balance between evidence coverage and evidence precision, supporting the use of two-stage schema-guided retrieval as the evidence selection module. This validates the core mechanism of SERF: token efficiency is achieved by retrieving compact field-specific evidence before LLM-based generation, rather than by arbitrary context truncation.
The full-text extraction experiments further demonstrate that retrieved compact evidence can support structured extraction from long scientific papers. The token-budget sensitivity study shows that extraction completeness improves as more field-relevant evidence is retained, while judge precision remains relatively stable, supporting the use of a balanced compact-evidence configuration. The sampling stability analysis shows that SERF maintains stable extraction behavior across different random subsets of the corpus. The internal ablation study confirms that document-aware query adaptation and Section-Mapped Iterative Refilling contribute to retrieval alignment and missing-field recovery. Compared with full-document prompting, SERF substantially reduces average input tokens while maintaining comparable completeness and judge-based precision. Compared with external extraction baselines, SERF achieves a better balance between token efficiency, extraction quality, and evidence traceability.
These results show that schema-guided evidence retrieval is an effective strategy for converting unstructured scientific papers into standardized and machine-readable records. SERF also provides a configurable extraction framework, allowing users to trade inference cost for extraction coverage by adjusting the retained evidence budget. The current implementation should be interpreted as token-efficient and evidence-traceable rather than runtime-optimal, since retrieval, reranking, and refilling introduce additional processing overhead. Future work will focus on extending SERF to larger cross-domain full-text scientific corpora, improving runtime through parallel retrieval and confidence-based refilling, and incorporating stronger multimodal evidence extraction from tables, figures, and equations.

Data Availability Statement

The source code, extraction schema, experimental scripts, prompt templates, and visualization scripts used in this study are available upon reasonable request from the corresponding author.

Acknowledgments

The authors gratefully appreciate the anonymous reviewers for their valuable comments.

Appendix A. PubMed RCT Data Format and Field Guide Template

This section provides the data format and field guide template used in the PubMed RCT retrieval-quality experiment. The experiment reformulates PubMed RCT as a schema-guided sentence-level evidence retrieval task, where each abstract sentence is treated as an evidence candidate and each schema field is represented by a natural-language guide.

Appendix A.1. PubMed RCT Data Format

PubMed RCT is organized as a sentence-labeled abstract corpus. Each abstract begins with an abstract identifier, followed by multiple lines containing a rhetorical role label and a sentence. The original file format is:
  • ###<abstract_id>
  • LABEL<TAB>sentence
  • LABEL<TAB>sentence
  • ...
The label set contains five rhetorical roles:
  • BACKGROUND
  • OBJECTIVE
  • METHODS
  • RESULTS
  • CONCLUSIONS
For the retrieval experiment, each abstract is converted into a list of sentence-level evidence candidates:
  • {
  •   "abstract_id": "...",
  •   "sentences": [
  •     {
  •       "sentence_id": "abs_<id>_s0",
  •       "text": "...",
  •       "gold_label": "BACKGROUND"
  •     },
  •     {
  •       "sentence_id": "abs_<id>_s1",
  •       "text": "...",
  •       "gold_label": "METHODS"
  •     }
  •   ]
  • }
Each sentence is used as an independent retrieval candidate. During retrieval, the gold label is used only for evaluation and is never included in the model input. To provide lightweight non-label structural information, each candidate sentence is prepended with sentence index and relative-position metadata:
  • [sentence i of n; position=<early|middle|late>] sentence_text

Appendix A.2. PubMed RCT Field Guide Template

The following field guide template is used to represent schema fields in the PubMed RCT retrieval experiment. These guides are used as retrieval queries for schema-guided evidence retrieval.
Listing 1: Field guide template for PubMed RCT retrieval evaluation.
  • {
  •   "introduction": "Early abstract sentences that introduce the study context, motivation, unresolved problem, prior evidence, clinical or scientific background, or the main study aim. This field includes both background-style sentences and objective-style sentences. Common background cues include ’previous studies’, ’has been shown’, ’is unclear’, ’remains unknown’, ’limited evidence’, ’few studies’, ’is common’, ’is associated with’, and ’there is a need’. Common objective cues include ’to determine’, ’to evaluate’, ’to compare’, ’to assess’, ’to investigate’, ’to examine’, ’we aimed’, ’we tested whether’, ’the purpose of this study was’, and ’this study sought to’. These sentences usually appear at the beginning or early-middle part of the abstract, before detailed methods. Do not select sentences that mainly describe randomization procedures, participant allocation, outcome measurements, numerical findings, statistical comparisons, or final clinical interpretations.",
  •  
  •   "methods": "Middle abstract sentences that describe how the trial or study was conducted. They specify study design, setting, participants, eligibility criteria, sample size, randomization, intervention, control group, treatment arms, dosage, follow-up duration, endpoints, outcome measures, data collection, or statistical analysis. Common cues include ’randomized’, ’randomly assigned’, ’allocated’, ’double-blind’, ’placebo-controlled’, ’participants’, ’patients’, ’subjects’, ’received’, ’intervention’, ’control group’, ’primary endpoint’, ’secondary outcome’, ’follow-up’, ’measured’, ’assessed’, and ’analysis’. These sentences usually appear after the introduction and before results. Do not select sentences that mainly report treatment effects, p-values, confidence intervals, or final implications unless they are defining endpoints or measurements.",
  •  
  •   "results": "Middle or late-middle abstract sentences that report empirical findings, measured outcomes, or statistical results. They often contain numerical values, percentages, group comparisons, treatment effects, statistical significance, p-values, confidence intervals, odds ratios, hazard ratios, relative risks, mean differences, baseline comparisons, adverse events, or statements such as ’significantly improved’, ’reduced’, ’increased’, ’no significant difference’, ’was associated with’, or ’compared with’. These sentences usually appear after methods and before conclusions. Do not select sentences that only describe study design, eligibility criteria, endpoints, or final recommendations without reporting observed findings.",
  •  
  •   "conclusions": "Late abstract sentences that interpret the results and state the main takeaway, clinical implication, recommendation, limitation, or final claim of the study. They often contain phrases such as ’these findings suggest’, ’the results indicate’, ’we conclude’, ’this study demonstrates’, ’may be effective’, ’was well tolerated’, ’should be considered’, ’further studies are needed’, ’supports the use of’, ’does not support’, or ’is justified’. These sentences usually appear at the end of the abstract. Do not select sentences that merely report raw numerical outcomes, describe participants or procedures, or state the study aim without interpretation."
  • }

Appendix B. Extraction Schema Details

This section provides the extraction schema information of the extractions on sampling papers. SERF uses a predefined JSON schema to constrain structured extraction from scientific papers. The schema specifies both the target output structure and the natural-language guide associated with each field. During extraction, SERF removes the guide fields from the final output skeleton, but uses them as semantic field descriptions for document-aware query adaptation, Bi-Encoder retrieval, Cross-Encoder reranking, and schema-constrained JSON generation.
The schema used in the experiments contains four major groups: paper_meta, material, process, and results. These groups cover bibliographic metadata, composite material information, joining process information, process parameters, and mechanical results. Scalar fields are initialized as null, while list-valued fields are initialized as empty lists. This design allows the LLM to distinguish between missing scalar values and missing collections of experimental observations.
Table A1 summarizes the main schema groups and representative fields used in the experiments.
In addition to defining the output structure, the schema provides field-level guide descriptions. For example, the guide for process.method.joining_method describes possible joining methods such as fiber laser welding, friction stir welding, TIG welding, diffusion bonding, and vacuum brazing. These field guides serve as schema-level semantic queries in SERF. Before retrieval, SERF adapts the generic field guides using document-specific vocabulary extracted from the parsed paper. The adapted guides are then used to retrieve field-relevant evidence from the document. This design allows SERF to perform field-level evidence selection instead of relying on a single full-document prompt. It also improves output consistency by forcing the final extraction to match the predefined JSON skeleton exactly.
Table A1. Summary of the extraction schema used in SERF.
Table A1. Summary of the extraction schema used in SERF.
Schema Group Representative Fields Description
paper_meta title, authors Paper title and author information.
material.
matrix
alloy, form, nominal_composition Aluminum matrix alloy grade, heat-treatment condition, and chemical composition.
material.
reinforcement
type, size_um, fraction Ceramic reinforcement type, particle size, and volume or weight fraction.
material.
specimen
plate_thickness_mm, sample_dimensions_mm Plate thickness and sample dimensions used in the joining experiment.
process.
method
joining_method, heat_source, joint_type, groove_type Joining method, heat source, joint configuration, and groove preparation.
process.
equipment
equipment Welding or joining equipment model names and specifications.
process.
parameters
fixed, variable, tested_sets, optimal Fixed parameters, varied parameters, tested parameter combinations, and optimal settings.
results.
mechanical
tensile_strength_MPa, joint_efficiency_pct, wear_properties Mechanical performance results of welded or joined specimens.
results.
figures_tables
figures_tables Figure and table evidence related to process conditions or experimental results.
The full schema template is used consistently across all sampling papers in the experiments. Each paper is converted into one schema-constrained JSON record following the same output structure.

Appendix C. Prompt Templates

This section provides the main prompt templates used in SERF. The prompts are written in a template form, where bracketed variables such as {schema}, {evidence_chunks}, and {missing_fields} are filled automatically during execution. These prompts are included to improve reproducibility and clarify how SERF constrains the LLM to use only retrieved evidence and to output schema-consistent JSON records.

Appendix C.1. Document-Aware Query Adaptation Prompt

SERF first adapts the generic schema field guides to the terminology of the current paper. The goal is not to change the meaning of each field, but to enrich the retrieval query with paper-specific material names, process terms, measurement units, and common surface forms extracted from the document vocabulary.
Listing 2: Prompt template for document-aware query adaptation.
  • System:
  • You are a precise scientific terminology adapter. Output only JSON.
  •  
  • User:
  • You are a scientific information extraction assistant. A paper has been parsed and you need to adapt generic field descriptions to match the paper’s specific terminology.
  •  
  • PAPER CONTEXT:
  • {abstract_or_intro_excerpt}
  •  
  • DOMAIN VOCABULARY extracted from this paper:
  • - Key terms: {top_domain_terms}
  • - Materials: {material_terms}
  • - Methods: {method_terms}
  • - Measurements: {measurement_terms}
  • - Properties: {property_terms}
  •  
  • GENERIC FIELD DESCRIPTIONS to adapt:
  • {field_guides}
  •  
  • TASK:
  • Rewrite each field description to incorporate the paper’s specific terminology while keeping the original generic meaning. The rewritten description should:
  •  
  • 1. Use actual material names, method names, and units found in the paper.
  • 2. Include synonyms and variations that appear in the paper.
  • 3. Stay focused on the target data to extract, rather than background information.
  • 4. Be specific but not overly narrow.
  • 5. Preserve the original field keys exactly.
  •  
  • Output a valid JSON object with the same keys as the input field descriptions. Each value should be the adapted field description. Output ONLY valid JSON.

Appendix C.2. Schema-Constrained Extraction Prompt

After Bi-Encoder retrieval and Cross-Encoder reranking, SERF builds a compact extraction prompt from selected evidence chunks. Each chunk contains field annotations and sentence-level highlights. Sentences marked with * are the most relevant sentence-level evidence for a target field, while sentences marked with + are additional strong evidence. The LLM is instructed to extract only explicitly stated values and to produce JSON that exactly matches the predefined schema.
Listing 3: Prompt template for schema-constrained extraction.
  • System:
  • You are a precise data extraction engine for scientific papers on welding or joining of particle-reinforced aluminum matrix composites.
  •  
  • Rules:
  • 1. Extract ONLY data explicitly stated in the provided evidence.
  • 2. Do NOT infer, calculate, estimate, or generate values that are not present in the evidence.
  • 3. Use null for missing scalar fields.
  • 4. Use [] for missing list-valued fields.
  • 5. Sentences marked with * are the best matches for specific schema fields.
  • 6. Sentences marked with + are strong supporting evidence.
  • 7. Extract data from highlighted evidence first, but use surrounding evidence when necessary.
  • 8. Output valid JSON matching the schema EXACTLY.
  • 9. Do NOT add fields, keys, or properties that are not defined in the schema.
  • 10. If a piece of information has no matching field in the schema, discard it.
  • 11. Output JSON only. Do not include explanations.
  •  
  • User:
  • RELEVANCE MAP:
  • {relevance_map}
  •  
  • OUTPUT SCHEMA:
  • {schema}
  •  
  • EVIDENCE CHUNKS:
  • {evidence_chunks}
  •  
  • TASK:
  • Extract all explicitly supported data from the evidence into the output schema. Return one schema-constrained JSON object only.

Appendix C.3. Section-Mapped Missing-Field Refilling Prompt

SERF applies Section-Mapped Iterative Refilling when some schema fields remain empty after the first extraction pass. Empty fields are grouped by their top-level schema category and mapped to likely source sections, such as experimental, results, conclusions, or preamble. The LLM is then asked to refill only the listed missing fields from the targeted section text. To avoid overfilling, SERF accepts only high-confidence values with explicit evidence.
Listing 4: Prompt template for missing-field refilling.
  • System:
  • You are a data completeness checker for a scientific paper.
  •  
  • The first-pass extraction missed some fields. Re-read the provided text and fill ONLY the listed missing fields.
  •  
  • Rules:
  • 1. ONLY fill fields from the missing-field list.
  • 2. Do NOT add any other fields.
  • 3. Use the exact field paths from the missing-field list.
  • 4. Do NOT rename, rewrite, or create new field names.
  • 5. ONLY fill a field if the evidence explicitly states the value.
  • 6. Do NOT infer, estimate, calculate, or complete missing information from background knowledge.
  • 7. If the evidence is indirect, ambiguous, or only topically related, return null for that field.
  • 8. For each filled field, provide the extracted value, confidence level, and exact evidence sentence.
  • 9. Use confidence levels: high, medium, or low.
  • 10. Only high-confidence values will be accepted by the pipeline.
  • 11. Output valid JSON only.
  •  
  • User:
  • MISSING FIELDS:
  • {missing_fields}
  •  
  • TEXT TO SEARCH:
  • {section_text}
  •  
  • Return JSON in the following format:
  • {
  •   "field.path": {
  •     "value": ...,
  •     "confidence": "high",
  •     "evidence": "exact sentence from the text"
  •   },
  •   "field.path2": null
  • }
  •  
  • Output JSON only.

Appendix C.4. Judge Evaluation Prompt

To estimate extraction correctness and evidence support, SERF uses a judge prompt that compares extracted values against the source evidence. The judge is given the extracted field, the extracted value, and the supporting evidence. It determines whether the value is explicitly supported, partially supported, unsupported, or inconsistent with the source document.
Listing 5: Prompt template for judge-based evaluation.
  • System:
  • You are a strict scientific extraction evaluator. Your task is to judge whether an extracted schema value is supported by the provided source evidence.
  •  
  • Rules:
  • 1. Judge only based on the provided evidence.
  • 2. Do NOT use outside knowledge.
  • 3. A value is correct only if it is explicitly supported by the evidence.
  • 4. Mark the value as incorrect if it is inconsistent with the evidence.
  • 5. Mark the value as unsupported if the evidence does not contain enough information.
  • 6. Do NOT reward plausible but unstated information.
  • 7. Output valid JSON only.
  •  
  • User:
  • SCHEMA FIELD:
  • {field_path}
  •  
  • FIELD DESCRIPTION:
  • {field_guide}
  •  
  • EXTRACTED VALUE:
  • {extracted_value}
  •  
  • SOURCE EVIDENCE:
  • {evidence}
  •  
  • TASK:
  • Evaluate whether the extracted value is supported by the evidence.
  •  
  • Return JSON in the following format:
  • {
  •   "judgement": "correct" | "partially_supported" | "unsupported" | "incorrect",
  •   "evidence_support": true | false,
  •   "reason": "brief explanation",
  •   "matched_evidence": "exact supporting phrase or sentence, if any"
  • }

Appendix C.5. Prompt Design Rationale

The prompts are designed to enforce three constraints. First, all extraction and evaluation steps are evidence-grounded: the LLM is repeatedly instructed to use only the provided evidence and to avoid inference. Second, all outputs are schema-constrained: the extraction prompt requires the generated JSON to match the predefined schema exactly, and the refilling prompt allows updates only to explicitly listed missing fields. Third, the prompts preserve traceability by requiring sentence-level evidence during refilling and judge evaluation. These constraints reduce unsupported generation and make the extraction process auditable.

Appendix D. Document-Aware Query Adaptation Example

This section provides a qualitative example of document-aware query adaptation. The example is taken from a paper on Al4C3-free joining of SiCp/Al composites achieved via ultrafast laser welding. SERF first builds a document-aware vocabulary from the parsed paper, including high-PMI phrases, numeric-unit terms, abbreviations, and formula or symbol terms. Representative terms include ultrafast laser, ultrafast laser welding, laser welding, laser power, welding speed, four-point bending, strength MPa, bending strength MPa, SiCp/Al, and ZL102.
The extracted vocabulary is then used to adapt generic schema field guides. The goal is not to change the semantic meaning of a field, but to append document-specific aliases that improve retrieval alignment. Examples are shown below.

Appendix D.1. Example 1: Joining Method

Field: process.method.joining_method
Original guide.
The specific welding or joining method used in this study, such as fiber laser welding, CO2 laser welding, friction stir welding, TIG welding, MIG welding, laser-TIG hybrid welding, electron beam welding, diffusion bonding, vacuum brazing, or resistance spot welding.
Document-specific aliases.
ultrafast laser welding; ZL102 vacuum brazing; laser welding
Adapted guide.
The specific welding or joining method used in this study, such as fiber laser welding, CO2 laser welding, friction stir welding, TIG welding, MIG welding, laser-TIG hybrid welding, electron beam welding, diffusion bonding, vacuum brazing, or resistance spot welding. Document-specific aliases: ultrafast laser welding, ZL102 vacuum brazing, laser welding.

Appendix D.2. Example 2: Heat Source

Field: process.method.heat_source
Original guide.
The energy source or heat source equipment and its rated power, such as IPG fiber laser 15 kW, YAG laser 6 kW, TIG arc 200 A, or FSW tool with 25 mm shoulder.
Document-specific aliases.
laser power
Adapted guide.
The energy source or heat source equipment and its rated power, such as IPG fiber laser 15 kW, YAG laser 6 kW, TIG arc 200 A, or FSW tool with 25 mm shoulder. Document-specific aliases: laser power.

Appendix D.3. Example 3: Variable Process Parameters

Field: process.parameters.variable
Original guide.
Welding process parameters that were intentionally varied across different experimental groups, such as welding speed varied from 80 to 120 mm/s, laser power changed between 10–20 kW.
Document-specific aliases.
ultrafast laser welding; laser welding; laser power; welding speed
Adapted guide.
Welding process parameters that were intentionally varied across different experimental groups, such as welding speed varied from 80 to 120 mm/s, laser power changed between 10–20 kW. Document-specific aliases: ultrafast laser welding, laser welding, laser power, welding speed.

Appendix D.4. Example 4: Mechanical Strength

Field: results.mechanical.tensile_strength_MPa
Original guide.
The ultimate tensile strength of the welded joint measured in MPa, such as tensile strength of 285 MPa, UTS reached 363.7 MPa, or average tensile value 320 ± 15 MPa.
Document-specific aliases.
strength MPa; strength MPa shape; bending strength MPa
Adapted guide.
The ultimate tensile strength of the welded joint measured in MPa, such as tensile strength of 285 MPa, UTS reached 363.7 MPa, or average tensile value 320 ± 15 MPa. Document-specific aliases: strength MPa, strength MPa shape, bending strength MPa.
This example illustrates how document-aware query adaptation reduces terminology mismatch between schema fields and source documents. The original guides describe the desired information in general terms, while the adapted guides preserve the same meaning but add paper-specific aliases. These adapted guides are then used as retrieval queries for Bi-Encoder retrieval and Cross-Encoder reranking, improving the likelihood that field-relevant evidence is selected under a limited prompt budget.

Appendix E. Example of Schema-Guided Evidence Retrieval

This section provides a qualitative example of schema-guided evidence retrieval. The example corresponds to the schema field process.method.joining_method. The source paper discusses ultrafast laser welding of SiCp/Al composites and compares the process with brazing or soldering-based joining methods. SERF first uses the schema field guide as a semantic query and retrieves paragraph-level evidence related to the joining method, laser power, welding speed, and joint strength. It then applies Cross-Encoder reranking to identify the most relevant sentence-level evidence within the retrieved context.
Figure A1 shows the retrieved evidence example. Yellow highlights indicate the paragraph-level evidence selected by the Bi-Encoder retrieval stage, while orange highlights indicate the most field-relevant sentence identified by Cross-Encoder reranking. The example shows that SERF can localize compact evidence about joining method and process conditions without feeding the full paper into the LLM.
Figure A1. Example of schema-guided evidence retrieval for the field process.method.joining_method. Yellow highlights indicate evidence regions retrieved by the Bi-Encoder stage, while orange highlights indicate the most relevant sentence-level evidence selected by Cross-Encoder reranking. The example demonstrates that SERF can select compact and traceable field-specific evidence before schema-constrained JSON extraction.
Figure A1. Example of schema-guided evidence retrieval for the field process.method.joining_method. Yellow highlights indicate evidence regions retrieved by the Bi-Encoder stage, while orange highlights indicate the most relevant sentence-level evidence selected by Cross-Encoder reranking. The example demonstrates that SERF can select compact and traceable field-specific evidence before schema-constrained JSON extraction.
Preprints 245301 g0a1
This example illustrates the role of the two-stage retrieval design in SERF. The Bi-Encoder efficiently narrows the full document into a small set of field-relevant chunks, while the Cross-Encoder performs finer-grained relevance estimation over the retrieved candidates. The resulting evidence is both compact and traceable, allowing the LLM to perform schema-constrained extraction with less irrelevant context than full-document prompting.

References

  1. Dagdelen, J.; Dunn, A.; Lee, S.; Walker, N.; Rosen, A. S.; Ceder, G.; Persson, K. A.; Jain, A. Structured information extraction from scientific text with large language models. Nat. Commun. 2024, vol. 15(no. 1), Art. no. 1418. [Google Scholar] [CrossRef]
  2. Tshitoyan, V.; Dagdelen, J.; Weston, L.; Dunn, A.; Rong, Z.; Kononova, O.; Persson, K. A.; Ceder, G.; Jain, A. Unsupervised word embeddings capture latent knowledge from materials science literature. Nature 2019, vol. 571, 95–98. [Google Scholar] [CrossRef]
  3. Li, S.; Sadekar, A.; Self, N.; Su, Y.; Andersland, L.; Chaplin, M.; Zhang, A.; Yang, H.; Henderson, J. B.; Wigginton, K.; Marr, L.; Murali, T. M.; Ramakrishnan, N. Exploring LLMs for scientific information extraction using the SciEx framework. arXiv 2025, arXiv:2512.10004. [Google Scholar]
  4. Wang, X.; Raj, A.; Luebbe, M.; Wen, H.; Xu, S.; Lu, K. Reliable end-to-end material information extraction from the literature with source-tracked multi-stage large language models. arXiv 2025, arXiv:2510.05142. [Google Scholar]
  5. Wang, B.; Xu, C.; Zhao, X.; Ouyang, L.; Wu, F.; Zhao, Z.; Xu, R.; Liu, K.; Qu, Y.; Shang, F.; Zhang, B.; Wei, L.; Sui, Z.; Li, W.; Shi, B.; Qiao, Y.; Lin, D.; He, C. MinerU: An open-source solution for precise document content extraction. arXiv 2024, arXiv:2409.18839. [Google Scholar]
  6. Ushio, A.; Liberatore, F.; Camacho-Collados, J. “Back to the basics: A quantitative analysis of statistical and graph-based term weighting schemes for keyword extraction,” in Proc. Conf. Empirical Methods in Natural Language Processing, 2021, pp. 8069–8082.
  7. Setiawan, Y. The optimization of n-gram feature extraction based on term frequency-inverse document frequency. Data Sci. J. 2024, vol. 23,, Art. no. 31. [Google Scholar]
  8. Church, K. W.; Hanks, P. Word association norms, mutual information, and lexicography. Comput. Linguist. 1990, vol. 16(no. 1), 22–29. [Google Scholar]
  9. Reimers, N.; Gurevych, I. “Sentence-BERT: Sentence embeddings using Siamese BERT-networks,” in Proc. Conf. Empirical Methods in Natural Language Processing and Int. Joint Conf. Natural Language Processing, 2019, pp. 3982–3992.
  10. Karpukhin, V.; Oguz, B.; Min, S.; Lewis, P.; Wu, L.; Edunov, S.; Chen, D.; Yih, W.-T. “Dense passage retrieval for open-domain question answering,” in Proc. Conf. Empirical Methods in Natural Language Processing, 2020, pp. 6769–6781.
  11. Nogueira, R.; Cho, K. Passage re-ranking with BERT. arXiv 2019, arXiv:1901.04085. [Google Scholar]
  12. Lo, K.; Wang, L. L.; Neumann, M.; Kinney, R.; Weld, D. S. “S2ORC: The Semantic Scholar Open Research Corpus,” in Proc. Annu. Meeting of the Association for Computational Linguistics, 2020, pp. 4969–4983.
  13. Jain, S.; van Zuylen, M.; Hajishirzi, H.; Beltagy, I. “SciREX: A challenge dataset for document-level information extraction,” in Proc. Annu. Meeting of the Association for Computational Linguistics, 2020, pp. 7506–7516.
  14. Wadden, D.; Wennberg, U.; Luan, Y.; Hajishirzi, H. “Entity, relation, and event extraction with contextualized span representations,” in Proc. Conf. Empirical Methods in Natural Language Processing and Int. Joint Conf. Natural Language Processing, 2019, pp. 5784–5789.
  15. Swain, M. C.; Cole, J. M. ChemDataExtractor: A toolkit for automated extraction of chemical information from the scientific literature. J. Chem. Inf. Model. 2016, vol. 56(no. 10), 1894–1904. [Google Scholar] [CrossRef]
  16. Beltagy, I.; Lo, K.; Cohan, A. “SciBERT: A pretrained language model for scientific text,” in Proc. Conf. Empirical Methods in Natural Language Processing and Int. Joint Conf. Natural Language Processing, 2019, pp. 3615–3620.
  17. Gupta, T.; Zaki, M.; Krishnan, N. M. A.; Mausam. MatSciBERT: A materials domain language model for text mining and information extraction. npj Comput. Mater. 2022, vol. 8, Art. no. 102. [Google Scholar] [CrossRef]
  18. Xie, T.; Zhang, H.; Wang, S.; Wan, Y.; Razzak, I.; Kit, C.; Zhang, W.; Hoex, B. ByteScience: Bridging unstructured scientific literature and structured data with auto fine-tuned large language model in token granularity. arXiv 2024, arXiv:2411.12000. [Google Scholar]
  19. Lewis, P.; Perez, E.; Piktus, A.; Petroni, F.; Karpukhin, V.; Goyal, N.; Küttler, H.; Lewis, M.; Yih, W.-t.; Rocktäschel, T.; Riedel, S.; Kiela, D. “Retrieval-augmented generation for knowledge-intensive NLP tasks,” in Advances in Neural Information Processing Systems, 2020.
  20. Google. “LangExtract: A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization,” GitHub repository, 2025. [Online]. Available: https://github.com/google/langextract.
  21. IBM. “Knowledge Extraction Pipeline (KEP): A scalable pipeline for turning unstructured scientific text into structured knowledge with foundation models,” GitHub repository, 2025. [Online]. Available: https://github.com/IBM/kep.
  22. Lopez, P. “GROBID: Combining automatic bibliographic data recognition and term extraction for scholarship publications,” in Proc. European Conf. Research and Advanced Technology for Digital Libraries, 2009, pp. 473–474.
  23. Blecher, L.; Cucurull, G.; Scialom, T.; Stojnic, R. Nougat: Neural optical understanding for academic documents. arXiv 2023, arXiv:2308.13418. [Google Scholar]
  24. Auer, C.; Lysak, M.; Nassar, A.; Dolfi, M.; Livathinos, N.; Vagenas, P.; Ramis, C. B.; Omenetti, M.; Lindlbauer, F.; Dinkla, K.; Mishra, L.; Kim, Y.; Gupta, S.; de Lima, R. T.; Weber, V.; Morin, L.; Meijer, I.; Kuropiatnyk, V.; Staar, P. W. J. Docling technical report. arXiv 2024, arXiv:2408.09869. [Google Scholar]
  25. Xu, Y.; Li, M.; Cui, L.; Huang, S.; Wei, F.; Zhou, M. “LayoutLM: Pre-training of text and layout for document image understanding,” in Proc. ACM SIGKDD Int. Conf. Knowledge Discovery and Data Mining, 2020, pp. 1192–1200.
  26. Kim, G.; Hong, T.; Yim, M.; Nam, J.; Park, J.; Yim, J.; Hwang, W.; Yun, S.; Han, D.; Park, S. “OCR-free document understanding transformer,” in Proc. European Conf. Computer Vision, 2022, pp. 498–517.
  27. Smock, B.; Pesala, R.; Abraham, R. “PubTables-1M: Towards comprehensive table extraction from unstructured documents,” in Proc. IEEE/CVF Conf. Computer Vision and Pattern Recognition, 2022, pp. 4634–4642.
  28. Frantzi, K.; Ananiadou, S.; Mima, H. Automatic recognition of multi-word terms: The C-value/NC-value method. Int. J. Digit. Libr. 2000, vol. 3(no. 2), 115–130. [Google Scholar] [CrossRef]
  29. Dernoncourt, F.; Lee, J. Y. “PubMed 200k RCT: A dataset for sequential sentence classification in medical abstracts,” in Proc. Int. Joint Conf. Natural Language Processing, 2017, pp. 308–313.
  30. Robertson, S.; Zaragoza, H. The probabilistic relevance framework: BM25 and beyond. Found. Trends Inf. Retr. 2009, vol. 3(no. 4), 333–389. [Google Scholar]
  31. Reimers, N.; Gurevych, I. “Sentence-BERT: Sentence embeddings using Siamese BERT-networks,” in Proc. Conf. Empirical Methods in Natural Language Processing and Int. Joint Conf. Natural Language Processing (EMNLP-IJCNLP), 2019, pp. 3982–3992.
Figure 1. Workflow of layout-aware chunk construction after MinerU parsing. The MinerU output is filtered and normalized into structured blocks, which are then merged into section-aware semantic chunks. Metadata and figure/table information are extracted in parallel to support downstream retrieval, reranking, and LLM-based extraction.
Figure 1. Workflow of layout-aware chunk construction after MinerU parsing. The MinerU output is filtered and normalized into structured blocks, which are then merged into section-aware semantic chunks. Metadata and figure/table information are extracted in parallel to support downstream retrieval, reranking, and LLM-based extraction.
Preprints 245301 g001
Figure 2. Workflow of schema-guided evidence retrieval and reranking. The Bi-Encoder first performs efficient coarse-grained retrieval by independently encoding schema fields and paragraph-level chunks into dense representations and selecting top candidate chunks. The Cross-Encoder then jointly encodes each field–chunk pair for fine-grained reranking. Finally, sentence-level relevance scoring highlights the most field-relevant evidence sentences, which are assembled into a prompt-ready evidence set for LLM-based structured extraction.
Figure 2. Workflow of schema-guided evidence retrieval and reranking. The Bi-Encoder first performs efficient coarse-grained retrieval by independently encoding schema fields and paragraph-level chunks into dense representations and selecting top candidate chunks. The Cross-Encoder then jointly encodes each field–chunk pair for fine-grained reranking. Finally, sentence-level relevance scoring highlights the most field-relevant evidence sentences, which are assembled into a prompt-ready evidence set for LLM-based structured extraction.
Preprints 245301 g002
Figure 3. Field-wise PubMed RCT evidence retrieval performance
Figure 3. Field-wise PubMed RCT evidence retrieval performance
Preprints 245301 g003
Figure 4. Token-budget sensitivity on sample scientific papers. Completeness generally increases with the average prompt token count and approaches saturation around the 5,000-token range, while judge precision remains relatively stable. This indicates that SERF allows users to trade inference cost for extraction coverage by adjusting the retained evidence budget.
Figure 4. Token-budget sensitivity on sample scientific papers. Completeness generally increases with the average prompt token count and approaches saturation around the 5,000-token range, while judge precision remains relatively stable. This indicates that SERF allows users to trade inference cost for extraction coverage by adjusting the retained evidence budget.
Preprints 245301 g004
Figure 5. Sampling stability analysis on the sampling dataset. SERF is evaluated on randomly sampled subsets with N = 10 , 20, 30, and 40 papers, with three repetitions for each setting. Completeness and precision remain stable across different sample sizes, while the average prompt token count stays around the balanced 5,000-token budget.
Figure 5. Sampling stability analysis on the sampling dataset. SERF is evaluated on randomly sampled subsets with N = 10 , 20, 30, and 40 papers, with three repetitions for each setting. Completeness and precision remain stable across different sample sizes, while the average prompt token count stays around the balanced 5,000-token budget.
Preprints 245301 g005
Figure 6. Internal ablation trends of SERF on sampling scientific papers. Bars show the average prompt tokens, while the green and red curves show completeness and judge precision, respectively. The figure illustrates that BE+CE greatly reduces the input context but lowers completeness, query adaptation partially recovers extraction quality, and the full framework further restores completeness while maintaining a substantially smaller prompt than full-document prompting.
Figure 6. Internal ablation trends of SERF on sampling scientific papers. Bars show the average prompt tokens, while the green and red curves show completeness and judge precision, respectively. The figure illustrates that BE+CE greatly reduces the input context but lowers completeness, query adaptation partially recovers extraction quality, and the full framework further restores completeness while maintaining a substantially smaller prompt than full-document prompting.
Preprints 245301 g006
Figure 7. External baseline comparison on sampling scientific papers. Bars show the token ratio relative to SERF, while the curves show completeness, judge precision, and evidence support. SERF uses the smallest input context while maintaining competitive completeness and evidence support compared with external extraction baselines.
Figure 7. External baseline comparison on sampling scientific papers. Bars show the token ratio relative to SERF, while the curves show completeness, judge precision, and evidence support. SERF uses the smallest input context while maintaining competitive completeness and evidence support compared with external extraction baselines.
Preprints 245301 g007
Table 1. Sampling full-text extraction dataset statistics.
Table 1. Sampling full-text extraction dataset statistics.
Item Value
Number of papers 43
Document type Full-text scientific papers
Parser MinerU
Schema master_template.json
Domain SiCp/Al welding and joining
Output format Schema-constrained JSON
Table 2. Software, model, and LLM configuration.
Table 2. Software, model, and LLM configuration.
Item Configuration
PDF parser MinerU API server
Bi-Encoder all-MiniLM-L6-v2
Embedding dimension 384
Cross-Encoder ms-marco-MiniLM-L-6-v2
LLM model deepseek-chat
Response format JSON mode
Extraction temperature 0.05
Adaptation/refill temperature 0.1
Runtime metric LLM time + retrieval time
Table 3. Macro-average sentence-level evidence retrieval performance on PubMed RCT.
Table 3. Macro-average sentence-level evidence retrieval performance on PubMed RCT.
Method Hit@5 Precision@5 Recall@5 F1@5
BM25 96.1% 38.7% 73.1% 46.6%
SBERT 75.2% 51.4% 49.5% 50.2%
SERF 92.2% 75.5% 73.3% 74.2%
Table 4. Internal ablation results on sampling scientific papers.
Table 4. Internal ablation results on sampling scientific papers.
Method Avg. Tokens Reduction LLM Retrieval Total Completeness Judge Prec. Halluc. Ev. Support
M1: Full-document 8,423 – 5.7s 0.0s 5.7s 97.7% 90.2% 9.8% 93%
M2: BE+CE 3,785 55% 3.5s 9.3s 12.9s 78.3% 85.7% 14.3% 95%
M3: Adapted BE+CE 5,172 39% 3.9s 14.9s 18.8s 87.4% 89.0% 11.0% 93%
M4: Full framework 5,270 37% 13.2s 20.8s 34.0s 96.4% 90.3% 9.7% 91%
Table 5. External baseline comparison on sampling scientific papers. Token ratio and Δ values are computed relative to SERF.
Table 5. External baseline comparison on sampling scientific papers. Token ratio and Δ values are computed relative to SERF.
Method Avg. Tokens Token Ratio Δ Tokens Total Time Completeness Δ Comp. Judge Prec. Δ Judge Ev. Support
SERF 5,270 1.00× – 34.0s 96.4% – 90.3% – 91%
LangExtract 8,990 1.71× +3,720 17.8s 96.6% +0.2 81.4% -8.9 68%
KEP-style 25,866 4.91× +20,596 31.7s 92.5% -3.9 88.9% -1.4 92%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.