Manuscript Offprint
arXiv:2608.28974From Analytics to Tumor Boards: An Evidence-Linked Multi-Agent Workflow for Oncology Feature Extraction
Daniel Kang
Nimblemind
Michelle Hu
Nimblemind
Soorya Ram Shimgekar
Nimblemind
Shayan Vassef
Nimblemind
Yufan Wang
Nimblemind
Anit Kumar Sahu
Independent Researcher
Munmun De Choudhury
School of Interactive Computing, Georgia Institute of Technology
Vedant Das Swain
Department of Technology Management and Innovation, NYU Tandon School of Engineering, New York University
Christian Poellabauer
Florida International University
Li Yan Khor
Duke-NUS Medical School and Department of Anatomical Pathology, Singapore General Hospital
Koustuv Saha
University of Illinois Urbana-Champaign
Robert Wojciechowski
OncoLens
Elliot Kidd
OncoLens
Piyum Zonooz
Nimblemind
Navin Kumar
Nimblemind
Abstract
Clinically relevant oncology information is distributed across heterogeneous, longitudinal documentation, creating substantial abstraction burden and requiring accurate attribution across specimens, tumors, biomarkers, and time points, while manual cancer-registry abstraction can require 27.2 minutes per case, highlighting the need for scalable methods that preserve clinical context while converting documentation into structured data. We evaluate an oncology information-extraction workflow in which OncoLens supplies multi-source, oncology-aware document selection, aggregation, and normalization from integrated EHRs, while the NimbleMind Multi-Agent System (nMAS) is a configurable oncology information-extraction workflow that extracts clinically rel-
© D. Kang et al.
evant structured fields from fragmented oncology documentation. The extraction task uses a clinician-informed schema of 328 attributes spanning report metadata, diagnosis, staging, and cancer-type-specific information. nMAS separates clinician-defined field specifications from model execution and combines complexity-aware extraction, report-level consolidation, and source-grounded validation. The retrospective evaluation included 230 de-identified oncology documents from 40 patients and 418 clinician-reviewed document-field pairs containing 1,126 non-empty reference values. Evaluation focused on fields identified by clinicians as present in the source documents rather than exhaustively annotating all 328 schema fields. nMAS achieved a rank-weighted value-level precision of 82.6%, recall of 87.5%, and F1 of 85.0%, compared with an F1 of 66.4% for an independently implemented UMA-style MiniMax M2.5 comparator. These findings support the feasibility of using a configurable, source-grounded extraction workflow to convert fragmented oncology documentation into reusable structured data.
Keywords: Multi-Agent Systems, Medical Data Processing, Feature Identification and Enrichment, Data Extraction/Retrieval, Machine Learning Pipeline Optimization
1. Introduction
Electronic health records contain large volumes of clinically relevant information, but locating and transforming that information into structured, reusable data remains a substantial challenge across healthcare. In a previous study, physicians spent 49.2% of the office day on electronic health record (EHR) and desk work (Sinsky et al., 2016); in a large integrated health system, more than 12 million EHR search activities were recorded over approximately 13 months, and 75.6% of active physician users used the EHR search function (Ruppel et al., 2020). This information-retrieval challenge is particularly pronounced in oncology, where clinically important variables are distributed across heterogeneous documents and longitudinal episodes of care. A scoping review of 123 cancer NLP studies found that 47% used pathology reports, 35% used clinical notes, and 33% used radiology reports, illustrating the heterogeneity of source documents used in cancer information extraction (Wang et al., 2022). In practice, oncology abstraction may require integrat-
ing pathology reports, radiology reports, cytology reports, treatment histories, and clinical notes while preserving the context in which each finding was documented (Dahl et al., 2025; Gholipour et al., 2023). Relevant variables may describe tumor characteristics, staging, biomarkers, treatment context, disease progression, recurrence, and metastatic disease, and may be repeated, nested, multivalued, or temporally qualified. A single record may also contain multiple specimens, lesions, tumors, historical findings, or biomarker entries, requiring an extraction system not only to identify a clinical concept but also to associate it with the correct clinical object, time point, and disease context. These characteristics make reliable oncology abstraction a problem of attribution, contextual interpretation, and structured representation rather than entity recognition alone.
Existing clinical information-extraction approaches address parts of this problem but do not fully satisfy these requirements. Traditional systems are often developed for predefined variables, document types, or clinical domains and may require additional annotation, rules, or model adaptation when the requested extraction schema changes (Wang et al., 2018; Gao et al., 2018). Large language models provide greater flexibility for extracting newly specified attributes, but flexible prompting alone does not guarantee consistent handling of repeated entities, multivalued fields, temporal context, schema granularity, or supporting source evidence (Truhn et al., 2024; Wong et al., 2025). A configurable oncology extraction workflow must therefore accommodate changing field definitions while maintaining consistent report-level outputs and traceability to the underlying documentation.
To address this need, we evaluate the feature-extraction pathway of the Nimblemind Multi-Agent System (nMAS), a configurable framework for extracting structured oncology variables from heterogeneous clinical documents. The evaluated workflow uses a clinician-informed 328-field schema to identify and consolidate clinical information across reports, with extraction complexity determining the appropriate processing pathway and source-grounded validation linking outputs to supporting documentation. This schema can be extended without retraining models or rewriting extraction code. The tiered design matches extraction strategy to field complexity, combining deterministic pattern-based extraction for highly structured fields with increasingly contextual language-model-based extraction for more complex clinical information. Clinical context is preserved by accounting for document structure, repeated findings, and attribution across specimens, tumors, and clinical time points, such as distinguishing findings from separate specimens or historical from current disease information. We evaluate nMAS against an independently implemented UMA-style Mini-Max M2.5 comparator using clinician-reviewed document-field pairs and reference values. By converting distributed oncology information into reusable, source-linked structured variables, this workflow may reduce manual information-retrieval and data-assembly effort and support registry, quality-improvement, research, and multidisciplinary case-preparation workflows (Hammer et al., 2020).
Oncology intensifies these general abstraction challenges because clinically relevant information is distributed across heterogeneous and longitudinal documentation and may require integration of pathology, radiology, cytology, treatment, and clinical-note evidence (Gholipour et al., 2023; Dahl et al., 2025). In one hospital-based cancer-registry evaluation, mean manual abstraction time was 27.17 minutes per case and decreased to 15.07 minutes with an EMR-integrated abstraction system (Oak et al., 2026). A related information-assembly burden occurs in multidisciplinary tumor boards, where clinicians must reconcile pathology, radiology, staging, treatment, and longitudinal disease information before case discussion. A prospective study found that a digital tumor-board preparation platform reduced average preparation time by 23% (Hammer et al., 2020). These studies demonstrate that automation can reduce information-assembly burden,
while also highlighting the difficulty of oncology abstraction when clinically important variables remain distributed across heterogeneous source documents.
Approaches to Oncology Information Extraction. Existing clinical information-extraction approaches can address important subsets of the oncology abstraction problem. Rule-based systems can encode terminology, report sections, negation, regular expressions, and normalization rules and are well suited to fields with stable lexical, coded, or numeric evidence (Wang et al., 2018), but require manual maintenance as terminology, report structure, institutional conventions, or requested fields change.
Supervised and neural approaches provide contextual modeling for predefined clinical attributes, including hierarchical pathology structure and cancer attributes across report types and disease contexts (Gao et al., 2018, 2019; Park et al., 2021; Yoon et al., 2024). However, oncology information-extraction systems remain commonly tailored to specific cancer sites, document types, and predefined variables, limiting adaptation to new biomarkers, cancer-specific attributes, treatment context, and nested or repeated entities without additional annotation, retraining, or rule development (Gholipour et al., 2023; Dahl et al., 2025). Large language models offer greater flexibility through zero- and few-shot structured abstraction, with recent work evaluating proprietary and open-source models across histopathology and oncology tasks (Truhn et al., 2024; Balasubramanian et al., 2025; Grothey et al., 2025; Lu et al., 2026). Schema-conditioned approaches such as Universal Abstraction (UMA) further support configurable field-level extraction without task-specific models (Wong et al., 2025), while modular and agentic systems extend this paradigm through retrieval, field-specific extraction, validation, aggregation, and source-linked review (Gupta et al., 2025; Aal Abdulsalam et al., 2026). Together, these approaches demonstrate the potential of flexible LLM-based oncology abstraction, but a key challenge remains: adapting a single workflow to heterogeneous oncology fields with substantially different lexical, contextual, and cancer-specific reasoning requirements.
The motivation for nMAS is therefore not that existing approaches cannot be used in this setting, but that different oncology fields exhibit different evidence patterns and may benefit from different extraction mechanisms within the same configurable workflow. nMAS combines clinician-defined field specifications with complexity-aware routing across
NER/NLP-, smaller-language-model-, and larger-language-model-based extraction, followed by report-level consolidation and source-grounded validation. This design is intended to support heterogeneous and changing oncology schemas while allowing highly regular fields and context-dependent fields to be processed through different extraction strategies within a common output and validation framework.
3. Data
Dataset Overview. The retrospective evaluation dataset consists of 230 de-identified oncology documents from 40 patients, including pathology reports, radiology summaries, cytology reports, and oncology clinical notes. Data was from an academic medical center in REDACTED. All documents were de-identified before analysis, with direct patient identifiers removed or replaced by structured placeholders while preserving clinically relevant wording, section structure, diagnostic terminology, and contextual cues needed for extraction. Each document-level record contains the source report text and, where available, associated metadata such as document identifier, de-identified patient identifier, report type, oncology context, and review-workbook annotations. The reports span heterogeneous oncology documentation styles, including semi-structured synoptic pathology reports, free-text progress notes, imaging impressions, cytology narratives, and mixed-format clinical summaries. This variability introduces extraction challenges including long-context reasoning, section-specific interpretation, repeated specimens, negated findings, cancer-type-specific terminology, and normalization of numeric, categorical, date, and redacted-placeholder values. A representative de-identified oncology document excerpt and its corresponding structured field mappings are provided in §A.3.
Clinician-Informed Field Schema and Evaluation Surface. The extraction task is defined by a clinician-informed oncology field schema of 328 attributes spanning report metadata, diagnosis, staging, biomarkers, and cancer-type-specific fields, each with an expected value type, clinical description, and extraction guidance. Reference values were derived from clinician review workbooks, restricted to the reviewed, non-empty document-field pairs, yielding 418 pairs and 1,126 non-empty reference values after multivalue expansion. Evaluated fields were also assigned three clinician-defined importance ranks used

Figure 1: nMAS feature-extraction workflow. Requested fields are routed to NER-, SLM-, or LLM-based tiers, consolidated by FE-MUX, and source-validated before report-level output.
for rank-weighted evaluation, consistent with established practice in oncology data standards (Torous et al., 2021; Osterman et al., 2020) and with recent work weighting extraction evaluation metrics by field importance (Zhao et al., 2025). Full schema examples, evaluation-surface construction, and rank-weighting detail are provided in §A.1.
4. Method
Workflow Overview. As shown in Fig. 1, nMAS supports multiple clinical data-processing pathways (Wang et al., 2026), including feature engineering and feature extraction, only the feature-extraction pathway is evaluated in this study.
The feature-extraction pathway contains three complementary tiers. Fields with highly regular textual or coded evidence are routed to the NER/NLP-based tier, fields requiring bounded clinical interpretation to the smaller-language-model tier, and fields requiring broader contextual reasoning to the larger-language-model tier. The resulting field-level outputs are consolidated by the feature extraction multiplexer (FE-MUX) Agent and then checked by the Output Validation Agent for schema compliance and source grounding before the final structured output is returned.
Input Standardization and Field Preparation. Before extraction, each report was represented as de-identified clinical free text in a consistent textual format. Basic formatting variation, including line breaks, spacing, section separators, and repeated administrative headers, was normalized where appropriate. Clinically relevant content was preserved, including diagnostic text, synoptic pathology elements, imaging findings and impressions, staging statements, biomarker and ancillary-test results, specimen descriptions, treatment context, metastatic disease descriptions, negation, and structured redaction placeholders.
Each requested field was linked to an entry in the configurable oncology-specific FIELD_LIBRARY. Each entry defined the canonical field name, expected value type or structure, clinical description, example values, relevant document context, field-specific guardrails, and, where applicable, cancer-type-specific interpretation rules. General oncology fields applied across cancer types, whereas disease-specific fields were organized under breast, lung, ovarian, prostate, colorectal, lymphoma, and neuroendocrine categories. These field definitions guided prompt construction, extraction routing, output normalization, and source-grounded validation.
Table A2 shows representative field-library entries illustrating how target fields were paired with expected output formats and clinically informed extraction guidance.
Achievability Agent and Query Parsing. The Achievability Agent assessed whether the submitted inputs contained usable oncology document content and whether the requested task corresponded to a supported feature-extraction workflow. Requests with missing inputs, unreadable files, or unsupported extraction objectives were flagged before downstream
model calls were made. This step reduced the risk of producing unsupported values when the required input evidence or extraction objective was absent.
For supported extraction requests, the Query Parser resolved requested target field names against the configured oncology field library. Matched fields were mapped to their canonical schema names and associated metadata, including expected value type, clinical description, example values, category, and cancer-type-specific context where applicable. The parser also recorded unmatched or unresolved requested fields so that schema mismatches could be reviewed explicitly rather than silently ignored. Reference labels and review-workbook values were not used during request assessment or query parsing.
Section-Aware Context Construction. After query parsing, each report was segmented into common oncology document regions, including metadata, diagnosis, synoptic report, gross description, microscopic description, findings, impression, addendum, and comments. Conservative section-matching rules were used to avoid treating ordinary clinical sentences as section headings, and unmatched text was retained so that potentially relevant evidence was not discarded. Section and sentence boundaries were then used to localize supporting evidence and construct field-relevant context windows. For fields requiring broader interpretation, the extraction agents retained access to the complete source report rather than relying exclusively on the localized section.
Tiered Feature Extraction and Prompt Design. After query parsing and section-aware context construction, each supported field request was assigned to one of three extraction routes according to its expected evidence pattern and contextual requirements. Tier 1, the NER/NLP-based extraction tier, was used for fields supported primarily by direct lexical, coded, or highly regular textual evidence. This route included preprocessing, natural language processing or pattern-based extraction, and postprocessing to normalize the extracted value into the required field format.
Tier 2, the Small Language Model extraction tier, was used for bounded contextual extraction. Fields in this tier included structured or semi-structured clinical attributes for which the relevant evidence was usually localized, such as report metadata, staging context, tumor characteristics, margin status, specimen-level attributes, selected radiology findings, biomarkers, and cancer-type-specific pathology variables. When available, section cues were used to pro-vide the model with the most relevant report context while retaining the source text required for grounded extraction.
Tier 3, the Large Language Model extraction tier, was used for fields requiring broader contextual interpretation, repeated evidence structures, or more complex clinical synthesis. These included fields requiring interpretation across diagnosis, synoptic report, findings, impression, addendum, or biomarker sections, as well as fields requiring careful handling of negation, uncertainty, metastatic disease, progression, or cancer-type-specific clinical logic.
Model assignments were determined before the present oncology evaluation through engineering experiments using the same tiered nMAS workflow on a separate pathology information-extraction task. The broader candidate screening included the models ultimately selected for deployment, Qwen2.5-7B-Instruct and DeepSeek-V4-Flash, together with additional candidate models including GLM-5, Gemini 3.1 Pro, DeepSeek V3.2, Kimi K2 Thinking, and Qwen3-Next-80B (Yang et al., 2024; DeepSeek-AI, 2026; GLM-5 Team, 2026; Google, 2026; DeepSeek-AI, 2025; Moonshot AI, 2025; Qwen Team, 2025). Models were compared based on field-level extraction performance, structured-output reliability, source-text grounding, negation handling, and runtime efficiency. Following this screening, Qwen2.5-7B-Instruct was selected for Tier 2 and DeepSeek-V4-Flash was selected for Tier 3. The deployed models were subsequently fine-tuned on a separate proprietary multimodal clinical dataset before integration into the nMAS extraction workflow. The 40 oncology documents used in the present evaluation and their associated reference labels were not included in the fine-tuning data and were not used for model selection or prompt development.
The language-model extraction prompt combined the selected report context with the corresponding oncology field-library entries. These entries supplied the clinical definition, expected value type or structure, representative example values, relevant document context, and field-specific guardrails for each requested feature. Field-specific guardrails defined the extraction boundary for clinically nuanced variables, including the handling of negation, uncertainty, metastatic disease, progression, biomarker status, and cancer-type-specific pathology logic. For example, staging fields required explicit staging statements rather than inference from tumor size alone, biomarker fields were anchored to reported immuno-
histochemistry or molecular results, and metastatic-site fields required explicit evidence of metastatic disease while respecting negated mentions. The shared instruction required extraction only from information explicitly present in the source report, prohibited unsupported inference, and required structured JSON output with supporting source text when available. If a requested value was absent, unsupported, or not explicitly stated, the model was instructed to return NOT_FOUND.
The core oncology extraction instruction and a representative field-specific guardrail are provided in Appendix A.7.
Field-Specific In-Context Demonstrations and Guardrails. For the language-model extraction tiers, the oncology extraction prompts included a configured set of field-specific in-context mapping demonstrations. Each demonstration paired a short oncology report-style excerpt or clinical pattern with the expected schema mapping and a guardrail defining the relevant extraction boundary. The demonstrations addressed recurrent oncology extraction challenges, including diagnosis mapping, repeated cancer and biomarker indexing, tumor-size normalization, separation of staging components, biomarker result grouping, cancer-specific pathology interpretation, and collection-date extraction.
Field-specific guidance was also supplied through the oncology FIELD_LIBRARY. For each requested field, the field library provided clinical context, the expected value type or structure, representative example values, and guardrails defining the extraction boundary. These guardrails served as prompt-level constraints designed to limit unsupported inference, preserve negation and uncertainty, and reduce common false-positive patterns. The demonstrations and guardrails were supplied only to the language-model extraction tiers; the evaluated report-level reference values were not included in the extraction prompts. Representative examples are shown in Appendix Table A9.
Feature Extraction Multiplexing. Outputs from the active extraction tiers were passed to the Feature Extraction Multiplexer Agent (FE-MUX), which assembled field-level predictions into a single report-level structured record. The multiplexer consolidated available NER/NLP-, SLM-, and LLM-derived outputs for the requested fields and retained associated extraction metadata where available, including supporting source text, confidence information, dates, and explanatory notes. This step produced a unified
JSON representation for each report before downstream validation. Schema compliance and source-grounding checks were performed by the subsequent validation stage.
Output Validation and Generation. The Output Validation Agent assessed both output structure and source grounding before final generation. This step used deterministic string matching. For each retained field value, the reported supporting sentence was located in the original de-identified report, and the extracted value was checked for containment within that sentence. Each field was annotated with its match outcome rather than discarded, allowing downstream review to distinguish source-grounded values from those that could not be located verbatim in the report. Values marked as absent, unsupported, or NOT_FOUND were not subjected to evidence matching.
Validation also checked whether extracted values conformed to the expected field structure and whether clinically important boundaries were preserved, including negation, uncertainty, metastatic disease status, biomarker interpretation, and progression-related language. Missing, unsupported, or internally inconsistent outputs were flagged for review rather than accepted as fully grounded predictions. The generation stage then assembled the validated fields into structured report-level JSON outputs and reviewable audit files for downstream evaluation.
External UMA-Style Benchmark. We implemented an external comparator modeled after Universal Abstraction (UMA) (Wong et al., 2025), using one-attribute prompting to extract each target field independently. The comparator was evaluated on the same reviewed document-field pairs as nMAS, with reference values and nMAS outputs excluded from the prompts to prevent leakage. The final benchmark used MiniMax M2.5, and its outputs were normalized to the same evaluation format as nMAS before scoring. Additional details on model selection, prompting, and audit examples are provided in §A.4.
Evaluation Metrics. Gold-standard labels underwent external clinician review against source documents before evaluation. Value-level precision, recall, and F1 were computed over matched, unmatched predicted, and unmatched reference values (TP/FP/FN) within the reviewed, non-empty evaluation surface described above, and two complementary document-field recovery scores (strict and lenient) were also reported. Rank-weighted overall scores used the pre-
specified 43%/30%/27% weights for Ranks 1–3. Full formulas, the gold-standard reconciliation procedure, and detailed value normalization and matching procedures are provided in §A.1 and §A.5.
Ablation Study. To isolate the contribution of individual pipeline components, eleven conditions were evaluated on a held-out subset of 40 documents from 6 patients, the portion of the evaluation corpus that underwent formal audit and reconciliation against source documents. The small subset size reflects the cost of multi-annotator reconciliation at this confidence level. Conditions were run in either an isolated-extraction or full-pipeline configuration and scored with the same restricted, set-based matching methodology used for the main evaluation (§4, Appendix A.5). Full setup details and the condition list are given in Appendix A.6.
5. Results
Table 1 summarizes rank-stratified value-level extraction performance and document-field scores for nMAS and the UMA + MiniMax M2.5 comparator.
nMAS achieved rank-weighted value-level precision, recall, and F1 scores of 82.6%, 85.0%, and 87.5% respectively, computed over the reviewed, non-empty evaluation surface (§A.1) rather than the full 328-field schema. The strongest value-level performance was observed for Rank 3, with an F1 score of 88.8%, whereas Rank 2 had the lowest F1 score at 80.2%.
nMAS also achieved rank-weighted strict and lenient document-field scores of 88.0% and 94.1%, respectively. The higher lenient score indicates that some errors involved partial recovery of multivalued fields rather than complete failure to recover a reviewed reference value. These scores measure whether the extracted value matched the clinician-reviewed reference and whether the cited sentence was found in the source document. They do not check whether the cited sentence actually says what the extracted value claims, for example whether it reflects the wrong time point or a negated finding.
Compared with the external UMA + MiniMax M2.5 baseline, nMAS achieved a higher rank-weighted F1 score (85.0% vs. 66.4%) and outperformed the comparator across all three ranks. The largest absolute difference was observed for Rank 3, where nMAS achieved an F1 score of 88.8% compared with 65.7% for UMA + MiniMax.
Representative extraction outcomes are provided in Appendix Table A10. Additional examples from a
Table 1: Rank-stratified extraction performance for nMAS and the UMA + MiniMax M2.5 comparator. The rank-weighted overall score uses clinician-defined weights of 43%, 30%, and 27% for Ranks 1–3, respectively.
| Rank | Example Features | Reviewed Doc Fields | nMAS | UMA + MiniMax F1 | ||||
|---|---|---|---|---|---|---|---|---|
| Strict | Lenient | Precision | Recall | F1 | ||||
| Rank 1 | disease status; metastasis; treatment line | 215 | 89.7% | 97.3% | 82.4% | 89.8% | 85.9% | 72.6% |
| Rank 2 | recurrence flag; tumor size; site flags | 56 | 82.1% | 89.1% | 78.3% | 82.1% | 80.2% | 58.0% |
| Rank 3 | study date; modality; body region | 147 | 91.9% | 94.4% | 87.9% | 89.8% | 88.8% | 65.7% |
| Weighted overall | — | 418 | 88.0% | 94.1% | 82.6% | 87.5% | 85.0% | 66.4% |
qualitative review of selected nMAS outputs by clinicians are provided in Appendix Table A11, including further correct and incorrect extraction patterns. Recurring errors involved repeated-entity alignment, table-like assay interpretation, schema-granularity mismatches, and temporal disambiguation. In several cases, relevant evidence was identified but the output was incomplete, over-expanded, or represented at a different level of specificity from the reference value. Representative errors included a shared confusion of Oncotype DX component markers with the assay name, nMAS over-inclusion of a historical date, and comparator over-expansion of a single specimen label. The study-date example was one of the few cases in which the comparator outperformed nMAS.
Ablation Study Results. The ablation study evaluated eleven conditions plus two non-LLM floors on the 40-document ablation subset. Full results are provided in Appendix Table A8. The full-pipeline baseline (F1 48.9%) scored higher than the isolated baseline (F1 44.5%), but both remained well below the main evaluation's rank-weighted F1 of 85.0%. Among the tier-routing conditions, the unmodified production routing table scored lowest of the four, below random reassignment, inverted assignment, and forced Tier 3 routing.
6. Discussion
This study evaluated nMAS as a configurable extraction workflow for heterogeneous oncology documents. Across 418 reviewed document-field pairs containing 1,126 reference values, nMAS achieved a rank-weighted value-level F1 of 85.0%, compared
with 66.4% for the UMA-style MiniMax M2.5 comparator.
The observed extraction performance suggests that nMAS can pre-structure heterogeneous oncology information for downstream review, although the present study did not directly measure workflow efficiency. This distinction is important because prior oncology studies have shown measurable benefits when manual information assembly is reduced: an EMR-integrated registry system decreased mean abstraction time from 27.17 to 15.07 minutes per case (Oak et al., 2026), while a digital tumor-board platform reduced average case-preparation time by 23% (Hammer et al., 2020). These findings provide operational context for the potential value of structured, source-grounded extraction upstream of registry and multidisciplinary workflows.
The higher rank-weighted F1 observed for nMAS relative to the UMA-style comparator (85.0% vs. 66.4%) suggests that a configurable workflow may be useful when extraction requirements span fields with substantially different evidence patterns. The two systems differ in several respects beyond architecture, including model choice and fine-tuning, so this comparison reflects a system-level performance advantage rather than evidence that the multi-agent design itself drives the improvement. Rather than requiring a separate extraction pipeline for each target field, the schema-guided workflow provides a common mechanism for producing structured outputs with supporting source evidence. Whether this technical advantage translates into reductions in abstraction time, staffing burden, or cost should be evaluated prospectively.
The ablation study (Table A8) indicates that the production tier-routing table, a static, pre-authored lookup rather than a per-document signal, did not outperform simpler alternatives tested under the same full-pipeline configuration. Extraction batch size also showed a clear capacity-dependent effect: Tier 3 (DeepSeek-V4-Flash) tolerated all-fields-in-one-call with little cost, while Tier 2 (Qwen2.5-7B-Instruct) did not, indicating that batch-size configuration should be tuned per model rather than applied uniformly across tiers.
Several limitations qualify these findings. The evaluation included only 230 documents across 40 patients from a single institutional setting and was restricted to the reviewed, non-empty evaluation surface (§A.1) rather than an exhaustively annotated schema, limiting assessment of cross-institutional generalizability, specificity, true-negative performance, and false positives among unreviewed fields. The evaluation also measured whether a value matched the reference and whether its cited sentence was found in the source document, not whether that sentence's meaning actually supports the value, so a cited sentence sharing words with an incorrect value, such as one describing an earlier time point or a negated finding, would still pass. Assessing this evidence faithfulness, rather than presence, is an important direction for future work. nMAS and the UMA-style comparator also differed in model choice, prompting, context construction, extraction strategy, and output processing, so the observed performance difference should be interpreted at the complete-system level rather than as evidence for any individual component. Notably, nMAS's Tier 2 and Tier 3 models were fine-tuned on a separate proprietary clinical dataset while the comparator used an off-the-shelf model. Part of the observed performance gap may therefore reflect this difference in model adaptation rather than the extraction workflow design itself, and the comparison should not be read as isolating architecture from fine-tuning effects. The ablation study's single-call Tier 3 condition, which used the base, pre-fine-tuning model, provides a partial control for this difference, though prompt structure and underlying model choice still differ from the comparator. Additional, ablation-specific limitations are discussed in §A.6.
Future work should first evaluate larger multi-institutional cohorts using a prespecified extraction surface with exhaustive positive and negative annotation, together with matched-model ablations to iso-
late the effects of routing, field-specific guidance, FE-MUX, and validation. Methodologically, repeated specimens, tumors, lesions, biomarkers, and treatment events motivate explicit entity linking and temporal relation modeling, while table-like assays motivate stronger table- and report-structure-aware extraction. Structured decoding and schema-aware representations may further improve nested and multi-valued outputs, and exact-set evaluation could better quantify complete recovery of related values. Finally, prospective studies should assess source-evidence faithfulness and determine whether extraction improvements translate into reduced abstraction time, staffing burden, cost, and clinician workload in registry and multidisciplinary oncology workflows.
References
Abdulrahman Aal Abdulsalam, Adhari Al Zaabi, Riham Jeeballah, and Habiba El Keraby. A multi-agent open-source llm for structured cancer registry information extraction from pathology and medical reports. In BioNLP 2026, pages 531–551. Association for Computational Linguistics, 2026. doi: 10.18653/v1/2026.bionlp-1.43.
Amal A. Alzu'bi, Valerie J. M. Watzlaf, and Patty Sheridan. Electronic health record (ehr) abstraction. Perspectives in Health Information Management, 18:1g, 2021. Spring 2021.
Amazon Web Services. Minimax m2.5: Amazon bedrock model card. https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-minimax-minimax-m2-5.html, 2026a. Accessed: 2026-06-02.
Amazon Web Services. Models at a glance: Amazon bedrock. https://docs.aws.amazon.com/bedrock/latest/userguide/model-cards.html, 2026b. Accessed: 2026-06-02.
Jeya Balaji Balasubramanian, Daniel Adams, Ioannis Roxanis, Amy Berrington de Gonzalez, Penny Coulson, Jonas S Almeida, and Montserrat García-Closas. Leveraging large language models for structured information extraction from pathology reports. Journal of Pathology Informatics, page 100521, 2025. doi: 10.1016/j.jpi.2025.100521.
Simon Dahl, Martin Bøgsted, Tomer Sagi, and Charles Vesteghem. Performance of natural language processing for information extraction from electronic health records within cancer: systematic review. JMIR Medical Informatics, 13:e68707, 2025. doi: 10.2196/68707.
DeepSeek-AI. DeepSeek-V3.2: Pushing the frontier of open large language models. arXiv preprint arXiv:2512.02556, 2025.
DeepSeek-AI. DeepSeek-V4: Towards highly efficient million-token context intelligence. arXiv preprint arXiv:2606.19348, 2026. doi: 10.48550/arXiv.2606.19348.
Shang Gao, Michael T Young, John X Qiu, Hong-Jun Yoon, James Blair Christian, Paul A Fearn, Georgia D Tourassi, and Arvind Ramanathan. Hierarchical attention networks for information extraction from cancer pathology reports. Journal of the American Medical Informatics Association, 25(3):321–330, 2018. doi: 10.1093/jamia/ocx131.
Shang Gao, Michael T Young, John X Qiu, Hong-Jun Yoon, James Blair Christian, Paul A Fearn, Georgia D Tourassi, and Arvind Ramanathan. Classifying cancer pathology reports with hierarchical self-attention networks. Artificial Intelligence in Medicine, 101:101726, 2019. doi: 10.1016/j.artmed.2019.101726.
Maryam Gholipour, Reza Khajouei, Parastoo Amiri, Sadrieh Hajesmaeel Gohari, and Leila Ahmadian. Extracting cancer concepts from clinical notes using natural language processing: a systematic review. BMC bioinformatics, 24(1):405, 2023. doi:10.1186/s12859-023-05480-0.
GLM-5 Team. GLM-5: From vibe coding to agentic engineering. arXiv preprint arXiv:2602.15763, 2026.
Google. Gemini 3.1 Pro Preview. Google AI for Developers, 2026. URL https://ai.google.dev/gemini-api/docs/models/gemini-3.1-pro-preview. Accessed: Jun. 30, 2026.
Bastian Grothey, Jan Odenkirchen, Adnan Brkic, Birgid Schömig-Markiefka, Alexander Quaas, Reinhard Büttner, and Yuri Tolkach. Comprehensive testing of large language models for extraction of structured data in pathology. Communications Medicine, 5(1):96, 2025. doi: 10.1038/s43856-025-00808-8.
Shashi Kant Gupta, Arijeet Pramanik, Jerrin John Thomas, Regina Schwind, Lauren Wiener, Avi Raju, Jeremy Kornbluth, Yanshan Wang, Zhaohui Su, and Hrituraj Singh. Harmon-e: Hierarchical agentic reasoning for multimodal oncology notes to extract structured data, 2025.
Richard D. Hammer, Donna Fowler, Lincoln R. Sheets, Athanasios Siadimas, Chaohui Guo, and Matthew S. Prime. Digital tumor board solutions have significant impact on case preparation. JCO Clinical Cancer Informatics, 4:757–768, 2020. doi: 10.1200/CCI.20.00029.
Michelle Lu, Lijo Simpson, Anju Mathew, Olivia Lawson, and Robert Wojciechowski. Balancing cost and accuracy in large-scale extraction of HER2, ER and PR biomarker values from heterogeneous oncology documents using large language models, 2026. Poster presentation.
Microsoft. Azure openai in azure ai foundry models. https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models, 2026. Accessed: 2026-06-02.
Moonshot AI. Introducing Kimi K2 Thinking. Official model documentation, 2025. URL https://moonshotai.github.io/Kimi-K2/thinking.html. Accessed: Jun. 30, 2026.
Amey Oak, Sandhya Cheulkar, Sivaranjini K., Riya John, Meghaj Jadhav, Dhanvi Patil, Esha Dashmukhe, Ashwini Patil, Sachin Wankhade, Pragati Gode, Ajjimol Thakadiyil, Ganesh Balasubramanium, Gauravi Mishra, Rajesh Dikshit, Pankaj Chaturvedi, and Sudeep Gupta. Assessment of an EMR-integrated Onco-Insight hospital-based cancer registry system for data completeness and data entry turnaround time at a tertiary care cancer center in india. Frontiers in Oncology, 16:1852225, 2026. doi: 10.3389/fonc.2026.1852225.
Travis J. Osterman, May Terry, and Robert S. Miller. Improving cancer data interoperability: The promise of the minimal common oncology data elements (mCODE) initiative. JCO Clinical Cancer Informatics, 4:993–1001, 2020. doi: 10.1200/CCI.20.00059.
Briton Park, Nicholas Altieri, John DeNero, Anobel Y Odisho, and Bin Yu. Improving natural language information extraction from cancer pathology reports using transfer learning and zero-shot string similarity. JAMIA open, 4(3):ooab085, 2021.
Qwen Team. Qwen3-Next-80B-A3B. Official Qwen model release, 2025. URL https://qwen.ai/blog?from=research/latest-advancements-list&id=4074cca80393150c248e508aa62983f9cb7d27cd. Accessed: Jun. 30, 2026.
Halley Ruppel, Aashish Bhardwaj, Raj N. Manickam, Julia Adler-Milstein, Marc Flagg, Manuel Balleasca, and Vincent X. Liu. Assessment of electronic health record search patterns and practices by practitioners in a large integrated health care system. JAMA Network Open, 3(3):e200512, 2020. doi: 10.1001/jamanetworkopen.2020.0512.
Christine Sinsky, Lacey Colligan, Ling Li, Mirela Prgomet, Sam Reynolds, Lindsey Goeders, Johanna Westbrook, Michael Tutty, and George Blike. Allocation of physician time in ambulatory practice: A time and motion study in 4 specialties. Annals of Internal Medicine, 165(11):753-760, 2016. doi: 10.7326/M16-0961.
Vanda F. Torous, Ryan W. Simpson, Jyoti P. Balani, Alexander S. Baras, Mark A. Berman, Gene G. Birdsong, Giovanna A. Giannico, Gladell P. Paner, Jason R. Pettus, Zaibo Sessions, S. Joseph Sirintrapun, John R. Srigley, and Sarah Spencer. College of american pathologists cancer protocols: From optimizing cancer patient care to facilitating interoperable reporting and downstream data use. JCO Clinical Cancer Informatics, 5:47–55, 2021. doi:10.1200/CCI.20.00104.
Daniel Truhn, Chiara ML Loeffler, Gustav Müller-Franzes, Sven Nebelung, Katherine J Hewitt, Sebastian Brandner, Keno K Bressem, Sebastian Foersch, and Jakob Nikolas Kather. Extracting structured information from unstructured histopathology reports using generative pre-trained transformer 4 (gpt-4). The Journal of Pathology, 262(3):310–319, 2024.
Liwei Wang, Sunyang Fu, Andrew Wen, Xiaoyang Ruan, Huan He, Sijia Liu, Sungrim Moon, Michelle Mai, Irbaz B. Riaz, Nan Wang, Ping Yang, Hua Xu, Jeremy L. Warner, and Hongfang Liu. Assessment of electronic health record for cancer research and patient care through a scoping review of cancer natural language processing. JCO Clinical Cancer Informatics, 6:e2200006, 2022. doi:10.1200/CCI.22.00006.
Yanshan Wang, Liwei Wang, Majid Rastegar-Mojarad, Sungrim Moon, Feichen Shen, Naveed Afzal, Sijia Liu, Yuqun Zeng, Saeed Mehrabi, Sunghwan Sohn, et al. Clinical information extraction applications: a literature review. Journal of biomedical informatics, 77:34–49, 2018.
Yufan Wang, Anit Kumar Sahu, Yan Fei Ng, Daniel Kang, Shayan Vassef, Soorya Ram Shimgekar, Koustuv Saha, Piyum Zonooz, Navin Kumar, Chee Leong Cheng, and Li Yan Khor. Trust but verify: Evidence-linked multi-agent clinical information extraction in pathology. arXiv preprint arXiv:2607.06435, 2026. doi: 10.48550/arXiv.2607.06435.
Cliff Wong, Sam Preston, Qianchu Liu, Zelalem Gero, Jaspreet Bagga, Sheng Zhang, Shrey Jain, Theodore Zhao, Yu Gu, Yanbo Xu, et al. Universal abstraction: Harnessing frontier models to structure real-world data at scale. arXiv preprint arXiv:2502.00943, 2025. URL https://arxiv.org/abs/2502.00943.
An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chengyuan Li, Dayiheng Liu, Fei Huang, Haoran Wei, et al. Qwen2.5 Technical Report. arXiv preprint arXiv:2412.15115, 2024. doi: 10.48550/arXiv.2412.15115.
Hong-Jun Yoon, Hilda B Klasky, Andrew E Blanchard, J Blair Christian, Eric B Durbin, Xiao-Cheng Wu, Antoinette Stroup, Jennifer Doherty, Linda Coyle, Lynne Penberthy, et al. Development of message passing-based graph convolutional networks for classifying cancer pathology reports. BMC Medical Informatics and Decision Making, 24(Suppl 5):262, 2024. doi: 10.1186/s12911-024-02662-5.
Shuguang Zhao, Qiangzhong Feng, Zhiyang He, Peipei Sun, Yingying Wang, Xiaodong Tao, Xiaoliang Lu, Mei Cheng, Xin yue Wu, Yanyan Wang, and Wei Liang. EMRModel: A large language model for extracting medical consultation dialogues into structured medical records. arXiv preprint arXiv:2504.16448, 2025. doi: 10.48550/arXiv.2504.16448.
Appendix A. Supplementary Material
This appendix provides supplementary material supporting the oncology extraction workflow and evaluation described in the main text. It includes representative oncology field-library entries and source-to-schema mappings; details of the external UMA-style comparator, including model selection, prompting, and audit examples; representative nMAS extraction instructions and in-context demonstrations; detailed value normalization and matching procedures used for evaluation; and qualitative examples illustrating recurring extraction outcomes and error patterns for nMAS and the UMA + MiniMax M2.5 comparator.
A.1. Field Schema, Evaluation Surface, and Metric Detail
Clinician-Informed Field Schema. The extraction task is defined by a clinician-informed oncology field schema containing 328 attributes spanning report metadata, diagnosis, staging, tumor characteristics, biomarkers, imaging, treatment context, and cancer-type-specific fields. Each schema entry specifies a canonical feature name, expected value type, clinical description, example values, relevant document context, and, where applicable, cancer-specific interpretation rules. The schema supports configurable field-name-driven extraction while preserving cancer-specific guidance. The 328 attributes represent the full set of fields supported by the schema rather than fields expected in every document; field applicability and prevalence vary across the corpus, with common metadata fields occurring frequently and cancer-type-specific or specimen-level fields occurring less often. Representative schema fields are shown in Table A1.
Reference Standard and Evaluation Surface. Reference values were derived from clinician review workbooks associated with the de-identified oncology documents. Clinical reviewers were provided with the source documents and full 328-field schema and manually recorded values for fields identified as present in each document, independently of nMAS and the external comparator. Fields for which no value was recorded were not treated as confirmed negatives, as the absence of an entry does not distinguish between a field being absent from the document and not being identified during review. Accordingly, blank workbook cells were treated as unreviewed, and the primary evaluation was restricted to document-field pairs with non-empty clinician-reviewed refer-
Table A1: Representative oncology feature targets.
| Feature | Type | Example |
|---|---|---|
| Imaging Context | ||
| study_date | date | 2025-02-15 |
| modality | categorical | CT |
| body_region | text | Chest/Abdomen |
| Disease Status | ||
| overall_disease_status | categorical | progression |
| progression_flag | boolean | Y |
| Primary Tumor | ||
| primary_tumor_site | text | Right lung |
| primary_tumor_max_diameter_mm | integer | 32 |
| Nodal and Metastatic Disease | ||
| nodal_disease_present_flag | boolean | Y |
| distant_metastasis_present_flag | boolean | Y |
| metastatic_sites | text | Liver; lung |
| liver_metastases_present_flag | boolean | Y |
| lung_metastases_present_flag | boolean | Y |
| Treatment Context | ||
| treatment_context | categorical | on_treatment |
| inferred_line_of_therapy | integer | 2 |
| recurrence_suspected_flag | boolean | Y |
ence values. Candidate document-field pairs were initially surfaced by nMAS output and then confirmed through clinician review, which reached 94% agreement with the surfaced candidates. This evaluation surface was applied consistently to nMAS and the external baseline and contained 418 reviewed document-field pairs. Because the candidate fields originated from nMAS rather than an independent, exhaustive audit, some evaluation-surface bias may remain (see Limitations). After repeated and list-like fields were expanded, these pairs yielded 1,126 non-empty reference values for value-level evaluation.
Clinical Priority Metadata. The evaluated oncology fields were assigned to three importance ranks by senior clinicians involved in schema development, based on their relative importance to oncology practice. These clinician-defined ranks were used for rank-stratified performance analysis and for the rank-weighted overall evaluation. This approach of prioritizing clinical data elements by importance is consistent with established practice in oncology data standards (Torous et al., 2021; Osterman et al., 2020) and with recent work weighting extraction evaluation metrics by field importance (Zhao et al., 2025).
Evaluation Metrics Detail. Before model evaluation, the initial gold-standard labels underwent external review against the corresponding source documents, with reviewer agreement calculated as the proportion of reviewed labels matching the initial labels.
Evaluation was restricted to document-field pairs with non-empty clinician-reviewed reference values. Because the review workbooks did not exhaustively annotate the 328-field schema, blank cells were treated as unreviewed rather than confirmed negatives; predictions outside the reviewed evaluation surface were excluded, and true negatives were not reported. For each evaluated pair , let and denote the reference and predicted value sets, respectively.
Value-level performance was evaluated using precision, recall, and F1, with matched, unmatched predicted, and unmatched reference values counted as true positives (TP), false positives (FP), and false negatives (FN), respectively. Missing or invalid predictions were treated as empty predicted sets. Detailed value normalization and matching procedures are provided in §A.5.
Two complementary document-field recovery scores were also reported. Let denote the subset of reference values successfully matched by the model. The strict score measured the proportion of reference values recovered,
while the lenient score assigned full credit when at least one reference value was recovered:
Both scores included all reviewed document-field pairs, including those without a valid prediction; extra predicted values were penalized through value-level precision and F1.
For each clinician-assigned importance rank, TP, FP, and FN counts were pooled before calculating value-level metrics, while strict and lenient scores were averaged across document-field pairs. Rank-weighted metrics used prespecified weights of 43%, 30%, and 27% for Ranks 1, 2, and 3, respectively:
A.2. Representative Oncology Field-Library Entries
Table A2 provides representative entries from the oncology-specific field library used to define expected
Table A2: Representative entries from the oncology-specific field library.
| Field | Expected output | Clinical guidance |
|---|---|---|
| pathologic_stage | TNM or stage group | Use explicit staging statements; do not infer stage from tumor size alone. |
| histology | Tumor type | Extract from diagnosis or synoptic sections; preserve the clinically specific subtype when stated. |
| margin_status | Positive, negative, close, or not reported | Use surgical pathology margin statements; do not infer margin status from specimen orientation alone. |
| er_status | Positive, negative, equivocal, or not reported | Use biomarker or immunohistochemistry results and retain supporting source evidence when available. |
| metastatic_site | Anatomic site or not reported | Require explicit evidence of metastatic disease and preserve negated findings. |
| specimen_type | Documented specimen type, e.g., cytology, fine-needle aspiration, core biopsy, excision, or resection | Record the specific specimen type as documented, including cytology and fine-needle aspiration specimens. |
outputs and clinically informed extraction boundaries.
A.3. Representative Oncology Data Example
The following excerpt illustrates the type of heterogeneous oncology documentation processed in the study. Patient-identifying information is removed or represented using de-identified placeholders.
CT chest/abdomen/pelvis demonstrates interval increase in metastatic hepatic lesions, with the largest lesion measuring 32 mm, consistent with disease progression while the patient is receiving second-line therapy.
The excerpt supports several structured oncology variables, as illustrated in Table A3.
A.4. External UMA-Style Benchmark Details
Evaluation Setup. The external comparator was modeled after Universal Abstraction (UMA) (Wong et al., 2025) using a one-attribute prompting strategy. For each evaluated document-field pair, the model received the de-identified oncology report, one target field name, a concise field definition, the expected
| Target Field | Example Value |
|---|---|
| modality | CT |
| body_region | Chest/Abdomen/Pelvis |
| overall_disease_status | progression |
| metastatic_sites | Liver |
| inferred_line_of_therapy | 2 |
Table A3: Representative mapping from oncology source text to structured target fields.
value type, representative examples or guardrails where available, and a compact JSON output schema. The model was instructed to return the extracted value with supporting source evidence or an empty value set when the target attribute was absent or not explicitly supported by the report.
The comparator was evaluated on the same reviewed document-field pairs used for nMAS evaluation. The review workbook was used only to define the evaluation surface; clinician-reviewed reference values, nMAS outputs, and correctness indicators were excluded from comparator prompts. Comparator outputs were normalized into the same value-level evaluation format as nMAS outputs before scoring.
Model Selection. The final comparator used MiniMax M2.5 on Amazon Bedrock (Amazon Web Services, 2026a,b). Model selection was based on a five-document challenging-set pilot using the same one-attribute prompting format. Candidate models were compared on extraction performance, valid structured-output generation, source-evidence grounding, and runtime characteristics. Table A4 summarizes the pilot results.
MiniMax M2.5 was selected because it lay on the pilot performance–runtime Pareto frontier. It matched the Claude Opus 4.8 F1 score while processing attribute calls more than three times faster, was substantially faster than the top-F1 Claude Opus 4.7 run, and achieved higher F1 than the other faster Bedrock candidates.
UMA Prompting. The same one-attribute prompt structure was used across evaluated fields, with the target-specific descriptor and guidance substituted for each requested attribute. A representative MiniMax M2.5 prompt is shown below.

Table A5 provides representative target-attribute blocks inserted into the shared one-attribute prompt template.
Audit Examples. Raw model responses were retained together with normalized extracted values, allowing individual scoring decisions to be traced to model outputs and supporting source evidence. Representative examples are shown in Table A6.
These examples show how raw comparator responses, normalized feature-level outputs, and TP/F-P/FN scoring can be traced at the individual document-field level. The largest MiniMax errors generally arose from over-broad repeated-value extraction, mismatch between marker-specific and reference granularity, and missed values in long table-like panels rather than unsupported value generation.
A.5. Detailed Value Normalization and Matching
Value Normalization. Predicted and reference values were normalized using field-specific transformations before comparison. Text values underwent case folding and cleanup of extraneous whitespace and punctuation. Dates were converted to a consistent representation, Boolean values were standardized to a common representation, and numeric values underwent unit-aware normalization where applicable. These transformations were applied symmetrically to model predictions and reference values to distinguish formatting differences from substantive extraction errors.
Table A4: Five-document challenging-set pilot used to select the external UMA model. Bedrock and Azure model availability is documented by the respective provider model catalogs (Amazon Web Services, 2026b; Microsoft, 2026). Latency is reported as seconds per attribute call; throughput is reported as attribute calls per minute and documents per hour.
| Rank | Model | Provider | Valid/Err | Attr/min | Latency (s/attr) | Docs/hr | P | R | F1 | TP | FP | FN |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Claude Opus 4.7 | Bedrock | 191/0 | 3.60 | 16.66 | 5.66 | 0.566 | 0.539 | 0.552 | 103 | 79 | 88 |
| 2 | Claude Opus 4.8 | Bedrock | 191/0 | 2.48 | 24.15 | 3.90 | 0.564 | 0.508 | 0.534 | 97 | 75 | 94 |
| 3 | MiniMax M2.5 | Bedrock | 191/0 | 8.32 | 7.21 | 13.07 | 0.564 | 0.508 | 0.534 | 97 | 75 | 94 |
| 4 | Llama 4 Maverick 17B | Bedrock | 191/0 | 4.96 | 12.11 | 7.78 | 0.558 | 0.503 | 0.529 | 96 | 76 | 95 |
| 5 | GPT-4o | Azure | 190/1 | 52.91 | 1.13 | 83.10 | 0.508 | 0.508 | 0.508 | 97 | 94 | 94 |
| 6 | Nova Pro | Bedrock | 190/1 | 2.33 | 25.76 | 3.66 | 0.564 | 0.461 | 0.507 | 88 | 68 | 103 |
| 7 | GLM 5 | Bedrock | 191/0 | 8.95 | 6.70 | 14.06 | 0.557 | 0.461 | 0.504 | 88 | 70 | 103 |
| 8 | DeepSeek V3.2 | Bedrock | 191/0 | 6.10 | 9.84 | 9.58 | 0.587 | 0.440 | 0.503 | 84 | 59 | 107 |
| 9 | Nemotron 3 Super 120B A12B | Bedrock | 191/0 | 15.19 | 3.95 | 23.86 | 0.523 | 0.482 | 0.501 | 92 | 84 | 99 |
| 10 | GPT-5-mini | Azure | 647/0 | 14.72 | 4.08 | 6.82 | 0.475 | 0.503 | 0.489 | 96 | 106 | 95 |
| 11 | Gemma 3 12B IT | Bedrock | 191/0 | 6.59 | 9.10 | 10.35 | 0.472 | 0.482 | 0.477 | 92 | 103 | 99 |
| 12 | Qwen3 Next 80B A3B | Bedrock | 191/0 | 6.60 | 9.10 | 10.36 | 0.523 | 0.414 | 0.462 | 79 | 72 | 112 |
Table A5: Representative target-attribute blocks inserted into the same UMA one-attribute prompt template. The examples illustrate handling of coding values, repeated specimens, report metadata, and biomarker panels.
| Target attribute | Descriptor supplied to the model | Attribute-specific guidance |
|---|---|---|
| clinical.coding.icd10 | ICD-10 or diagnosis-code values documented in the report. Type: string list. Example: Z85.3. | Return each explicit ICD-10 code as a separate value; preserve punctuation and ordering from the source text; do not infer codes from diagnoses. |
| clinical.specimens.items[].label | Specimen part label associated with the reviewed specimen item. Type: string. Example: G. | Return only labels that directly identify the target specimen item, not every part label visible in the report. Evidence must include the specimen letter and local specimen description. |
| clinical.report.collectionDate | Collection date or dates associated with the clinical report. Type: date/string list. | Extract every explicitly stated collection date in repeated report blocks; avoid accession, received, signed, or historical comparison dates unless the field label says collection. |
| cancers[].clinical.biomarkers[].name | Biomarker, receptor, or IHC marker names stated in the cancer-specific panel. Type: string list. | Return marker names only, not result words. Include negative markers when the panel explicitly lists them, because absence of positivity is still a reported biomarker result. |
Repeated and List-Like Fields. Fields capable of containing multiple values were expanded into individual value instances before comparison. This included repeated entities and list-like outputs in which multiple clinically distinct values could occur within the same document-field pair. Expansion allowed each value to be evaluated independently rather than treating a multi-value field as a single string.
One-to-One Matching. Following normalization and expansion, predicted and reference values were matched one-to-one within each document-field pair.
Each predicted value could match at most one reference value, and each reference value could be matched by at most one prediction. This prevented duplicate predictions from receiving multiple matches against a single reference value.
Invalid and Missing Outputs. Model outputs that were missing, invalid, unsupported, or explicitly returned NOT_FOUND were treated as containing no extractable values. These outputs therefore could not produce a value-level match. The same normalization, expansion, and matching procedures were ap-
Table A6: MiniMax UMA audit examples showing raw JSON-style output, normalized final values, and scoring against reference values.
| Attribute | MiniMax JSON-style response excerpt | Final extracted value(s) | Reference value(s) | Score |
|---|---|---|---|---|
| clinical.coding.icdi0 | {value: Z85.3}; {value: N83.209} with evidence from the same diagnosis-code line. | Z85.3; N83.209 | N83.209; Z85.3 | TP=2, FP=0,FN=0 |
| disease_specific.lymphoma.thc().result | {value: C020 positive}; {value: C05 positive}; {value: C03 negative} with evidence from positive and negative IHC marker lists. | Six marker-specific result strings | positive; negative | TP=2, FP=4,FN=0 |
| clinical.specimens.items[].label | {value: A} through {value: G}, with evidence showing specimen parts A through G. | A--G | G | TP=1, FP=6,FN=0 |
| cancers[].clinical.biomarkers[].name | {value: ER}; {value: PR}; {value: p53}, with evidence from an IHC panel mentioning several additional negative markers. | ER; PR; p53 | ER; PR; p53; PAX8; WT1; OCT4;glypican 3; Napkin A; GATA3; p16 | TP=3, FP=0,FN=7 |
plied to nMAS and the external comparator to ensure that differences in performance reflected extraction rather than evaluation processing.
A.6. Full Ablation Study Results
The ablation study used the base, pre-fine-tuning Tier 2 (Qwen2.5-7B-Instruct) and Tier 3 (DeepSeek-V4-Flash) models, served independently of the main evaluation infrastructure, rather than the fine-tuned models deployed in the main evaluation (§4). Ablation results are therefore not directly comparable to the main-evaluation reference rows in Table A8 for this reason as well.
Each condition used one of two configurations. Isolated extraction called the Tier 2/Tier 3 extraction logic directly, without running the rest of the pipeline (document classification, achievability checking, feature-engineering multiplexing, output validation). Full pipeline executed the complete workflow, including Tier 1 NER/NLP extraction, achievability checking, feature-engineering multiplexing, and output validation. A baseline was evaluated in both configurations to measure the effect of the rest of the pipeline. The resulting conditions are referred to as the isolated baseline and full-pipeline baseline. All other conditions used the configuration relevant to the component under study.
Feature-to-tier assignment in the full pipeline is determined by exact-match lookup against a static, pre-authored routing table, not a per-document or per-instance signal. Table A7 lists the eleven ablation conditions, grouped by the mechanism each tests.
Table A8 reports precision, recall, and F1 for all eleven ablation conditions plus the two non-LLM floor conditions, evaluated on the held-out 40-document ablation subset.
The full-pipeline baseline scored higher than the isolated baseline (F1 48.9% vs. 44.5%), but both remained well below the main evaluation's rank-weighted F1 of 85.0%; the untested pipeline stages exercised only in the full-pipeline configuration are therefore not the primary explanation for that gap. Among the tier-routing conditions, the unmodified production routing table (full-pipeline baseline, F1 48.9%) scored lowest of the four, including relative to a random tier reassignment (50.2%), a deliberately inverted assignment (52.2%), and forced Tier 3 routing (59.7%).
The ablation study carries additional, separate limitations. It was conducted on a smaller 40-document, 6-patient subset of the evaluation corpus rather than the full 230-document cohort. The random and inverted tier-routing tables were each evaluated as a single draw rather than averaged over multiple resamplings, so the specific margins reported for those two conditions carry unquantified sampling variance. Neither the isolated nor full-pipeline ablation baseline closed the gap to the main evaluation's rank-weighted F1 of 85.0%, indicating that corpus size or corpus composition likely account for a substantial share of that gap in addition to, or instead of, any individually ablated mechanism.
A.7. Representative Oncology Extraction Prompt
The following prompt illustrates the shared extraction instruction and a representative field-specific guardrail used in the language-model extraction tiers.
| Prompt 1: Representative oncology extraction instruction |
|---|
| Use only information explicitly present in the oncology report. Do not infer missing facts. Interpret each requested target feature using the oncology field library, including |
Table A7: Ablation conditions tested, grouped by mechanism.
| Mechanism | Variants | Configuration |
|---|---|---|
| Non-LLM floors | GLiNER-BioMed: detected entities mapped directly to schema fields, no generative step. BioBERT extractive QA: each field reformulated as a spa n-extraction question. | N/A |
| Context truncation | Source documents shortened to 75%, 50%, and 25% of original length. | Isolated |
| Field-specification stripping | Bare: field name and type only. No in-context example: all guidance retained except the example value. | Isolated |
| Extraction batch size | Tier 2 (default 1/call): increased to 3, and to all fields in one call. Tier 3 (default 3/call): reduced to 1, and increased to all fe lds in one call. | Isolated |
| Sampling temperature | Increased from the production default of 0.0 to 0.7, two independent full-corpus replications. | Isolated |
| Tier-routing mechanism | Random reassignment: tier sizes preserved, fields shuffled across tiers.Inverted assignment: easiest fields routed to the hardest tier and vice versa.Forced Tier 3 routing: every field sent to Tier 3, bypassing Tier 1 and Tier 2. | Full pipeline |
Table A8: Ablation study results on the 40-document, 6-patient held-out subset (see Method, Ablation Study). The main-evaluation row is shown for orientation only and is not directly comparable to the ablation rows below it.
| Condition | Configuration | Precision | Recall | F1 |
|---|---|---|---|---|
| Main evaluation (230-doc corpus, reference only) | ||||
| nMAS (main evaluation) | Full pipeline | 82.6% | 87.5% | 85.0% |
| UMA + MiniMax M2.5 (main evaluation) | N/A | N/A | N/A | 66.4% |
| Baseline | ||||
| Isolated baseline | Isolated | 60.9% | 35.1% | 44.5% |
| Full-pipeline baseline | Full pipeline | 61.8% | 40.4% | 48.9% |
| Context truncation | ||||
| 75% of document length | Isolated | 62.3% | 33.4% | 43.5% |
| 50% of document length | Isolated | 57.9% | 28.7% | 38.4% |
| 25% of document length | Isolated | 52.3% | 19.8% | 28.7% |
| Field-specification stripping | ||||
| Bare (datapoint name and type only) | Isolated | 51.4% | 31.8% | 39.3% |
| No in-context example | Isolated | 61.2% | 36.2% | 45.5% |
| Extraction batch size | ||||
| Tier 2, batch size 3 (default 1) | Isolated | 61.8% | 34.8% | 44.5% |
| Tier 2, all fields in one call | Isolated | 59.5% | 21.1% | 31.1% |
| Tier 3, batch size 1 (default 3) | Isolated | 65.1% | 35.8% | 46.2% |
| Tier 3, all fields in one call | Isolated | 60.4% | 30.5% | 40.5% |
| Sampling temperature (0.7 vs. production default 0.0) | ||||
| Replication 1 | Isolated | 63.3% | 34.2% | 44.4% |
| Replication 2 | Isolated | 62.3% | 35.2% | 45.0% |
| Tier-routing mechanism | ||||
| Random routing | Full pipeline | 63.8% | 41.3% | 50.2% |
| Inverted routing | Full pipeline | 61.5% | 45.4% | 52.2% |
| Forced Tier 3 routing | Full pipeline | 64.4% | 55.6% | 59.7% |
| Non-LLM floors | ||||
| GLiNER-BioMed (NER floor) | N/A | 19.1% | 9.5% | 12.7% |
| BioBERT extractive QA floor | N/A | 22.1% | 1.7% | 3.2% |
its definition, expected value type, examples, document context, and clinical guardrails.
For each requested feature, return a structured JSON entry containing the extracted value, supporting source text when available, confidence score, and brief notes. If the requested value is absent, unsupported, or not explicitly stated in the report, return NOT_FOUND.
Target feature example: progression_flag
Clinical guardrail: assign a positive value only when the report explicitly states progression, interval increase, new metastatic disease, enlarging lesions, or worsening disease burden. Do not infer progression from an isolated measurement without comparison or explicit progression language.
Representative in-context mapping demonstrations are provided in Table A9.
A.8. Representative Extraction Outcomes and Error Patterns
Table A10 provides representative examples of correct extraction and recurring error patterns observed for nMAS and the UMA + MiniMax M2.5 comparator.
A.9. Additional Examples from a Qualitative Clinician Review
Table A11 provides additional representative examples from a qualitative review of selected nMAS outputs by clinicians, conducted separately from the reported evaluation. These examples are illustrative of recurring patterns and are not scored against the study's evaluation methodology.
Table A9: Representative oncology in-context mapping demonstrations and guardrails.
| Extraction Pattern | In-Context Example | Expected Field Mapping | Guardrail Demonstrated |
|---|---|---|---|
| Diagnosis mapping | “Invasive lobular carcinoma, grade 2.” | Map histology to invasive lobular carcinoma, grade to 2, and subtype to lobular when explicitly stated. | Use definitive diagnosis text; do not infer a histologic subtype unless explicitly stated. |
| Tumor size | “Largest tumor focus measures 0.5 cm.” | Map the greatest tumor dimension to 5 mm when the measurement explicitly refers to a tumor focus. | Do not use overall specimen size or measurements of unrelated lesions. |
| Biomarker grouping | “Estrogen receptor (ER), IHC: 95% positive, strong intensity.” | Create one ER biomarker entry containing the IHC method, positive result, 95% staining percentage, and strong intensity. | Keep attributes from the same biomarker mention within a single indexed biomarker entry. |
| HER2 result | “IHC HER2/neu score: 0 (negative).” | Map HER2/neu to the IHC method, score 0, and negative qualitative status. | Do not infer HER2 status when the assay result is absent or unclear. |
| Staging | “pT4N0M0G1.” | Map the explicitly stated pathologic components to pT4, N0, and M0, and map G1 separately to tumor grade when that field is requested. | Do not combine pathologic, clinical, and post-treatment staging, and do not treat grade as a TNM component. |
Table A10: Representative extraction outcomes and error patterns.
| Pattern | Attribute | Reference values and evidence | nMAS behavior | UMA + MiniMax behavior | Observation |
|---|---|---|---|---|---|
| Both correct | clinical.coding.icd10 | N83.209; 285.3; the evidence line contains codes for an ovarian cyst and a history of breast cancer. | ✓ N83.209; 285.3 | ✓ N83.209; 285.3 | Short coded values with explicit labels were reliably extracted by both systems after list expansion. |
| Both correct | disease_specific. lymphoma.ihc[].marker | CD20; CD5; CD23; CD3; CD10; cyclin D1; the evidence describes positive and negative marker panels. | ✓ all six markers | ✓ all six markers | When the target field requests marker names, both systems can parse compact IHC lists from diagnostic prose. |
| MiniMax over-expanded | clinical.specimens. items[] .label | G; the evidence begins "G) ... NEEDLE CORE BIOPSY". | ✓ G | X A→G | MiniMax identified the relevant specimen block but treated all visible part labels as target values, producing six FPs. nMAS preserved the granularity of the reviewed field. |
| MiniMax missed values | clinical.report. collectionDate | Four redacted collection dates in a multi-block report. | ✓ all four dates | X null | Repeated report blocks require the model to track multiple date labels. MiniMax abstained despite the presence of relevant date evidence in the report. |
| MiniMax partial recall | cancers[] .clinical. biomarkers[] .name | Ten-marker ovarian IHC panel: ER, PR, p53, PAX8, WT1, OCT4, glypican 3, Napsin A, GATA3, and p16. | ✓ all ten markers | X ER; PR; p53 | MiniMax extracted the most salient markers but missed seven negative or less prominent markers, resulting in seven FNs without additional FPs. |
| MiniMax granularity mismatch | disease_specific. lymphoma.ihc[] .result | The reference stores generic positive and negative values, whereas the evidence maps these results to individual markers. | ✓ positive; negative | X CD20 positive; CD5 positive; ... | MiniMax returned more specific marker-level strings, which were counted as FPs under the reference value granularity. This example illustrates a scoring and schema-alignment limitation. |
| Both incorrect | clinical. biomarkers[] .name | The Recurrence Score (RS) from an Oncotype DX recurrence-score table. | X HER2 | X ER; PR; HER2 | Both systems confused component assay genes with the assay name. Assay-level variables may require stronger table and report-type awareness. |
| UMA correct, nMAS over-included | study.date | One redacted study date. | X reference date plus extra historical date | ✓ single study date | In this example, one-attribute prompting produced a more conservative output than nMAS when the report contained competing historical dates. |
Table A11: Additional representative extraction outcomes from a qualitative review of selected nMAS outputs by clinicians.
| Outcome | Field(s) | Source excerpt | nMAS output | Note |
|---|---|---|---|---|
| Correct | pTNM, hormone receptors, HER2, grade, nodes, LVI | "TNM: pT1c, pN1a, cM0; ER Status: Positive; PR Status: Negative; HER2 Protein Overexpression (IHC): Negative: 1+; Nottingham Grade: G2; ...; Lymphovascular Invasion: Not Present" | ✓ pT1c, pN1a, cM0, ER positive, PR negative, HER2 negative | One dense semicolon-delimited block was decomposed into 11+ fieltamination, including keeping HER2 status separate from its own IHC score. |
| Correct | clinical.biomarkers[] .qualitat | Ambry genetics indicated moderate risk mutation in RET gene, a." | ✓ RET: mutation; PMS2: VUS | Two genes with two different result classifications in one sentented to separate biomarker entries. |
| Error | clinical.specimens.items[] .* Document contained two specimens: Part A ("left lower leg mass") and Part B ("left axillary contents level 1 and 2"). | X Part B only, across all five specimen fields | Reviewer: "reference is made only to specimen B." A single-specimen assumption caused one root cause to cascade across five related fields. | |
| Error | disease_specific.breast.her2.1 | Genis a gene expression assay for paty-stage breast cancer." | X negative | Reviewer noted this sentence states assay eligibility criteria, result, nMAS treated the criteria as the finding. |
| Error | clinical.biomarkers[] .qualitat | K4-67: 7% OF TUMOR CELLS." | X 7% OF TUMOR CELLS | Reviewer: a qualitative field should hold a category (e.g., "Low proliferation"), not the raw quantitative value. |