---
title: "Evaluation of LLMs in Medical Text Summarization: The Role of"
description: "A study of how medical vocabulary and word splitting affect the accuracy and faithfulness of summaries generated from biomedical abstracts."
canonical: "https://research.elamur.ai/free/en/papers/balde-2025-evaluation-llms-medical-text-summarization/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/balde-2025-evaluation-llms-medical-text-summarization/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Evaluation of LLMs in Medical Text Summarization: The Role of Vocabulary Adaptation in High OOV Settings

# Evaluation of LLMs in Medical Text Summarization: The Role of Vocabulary Adaptation in High OOV Settings

Paper · 2025 · Gunjan Balde, Soumyadeep Roy, Mainack Mondal et al.

**Authors:** Gunjan Balde, [Soumyadeep Roy](https://md.research.elamur.ai/free/en/authors/soumyadeep-roy/), Mainack Mondal and [Niloy Ganguly](https://md.research.elamur.ai/free/en/authors/niloy-ganguly/) · **Year:** 2025 · **Venue:** Findings of the Association for Computational Linguistics: ACL 2025 · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **6** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/balde-2025-evaluation-llms-medical-text-summarization/cited-by/) · Findings of the Association for Computational Linguistics: ACL 2025 · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.findings-acl.1179/)
- [PDF](https://aclanthology.org/2025.findings-acl.1179.pdf)
- [DOI 10.18653/v1/2025.findings-acl.1179](https://doi.org/10.18653/v1/2025.findings-acl.1179)

## Summary

A medical summary can hinge on a term that a general-purpose language system breaks into several pieces. The answer can also require a term that does not appear anywhere in the text being summarized. Balde and colleagues ask how well systems handle these cases in query-focused [text summarization](https://md.research.elamur.ai/free/en/concepts/text-summarization/). In their benchmark, the system reads a biomedical question and accompanying material from PubMed, then writes a short answer grounded in that material. The authors examine performance on the full test sets and on subsets where medical words are heavily fragmented or where many words in the human-written answer are absent from the input. The subset results show difficulties that a dataset-wide score can conceal.

The study treats the way text is split into units as a part of the system that can be adapted. The authors compare the behavior of four general-purpose [large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/) and find that the medical collection produces more fragmented words than a news collection under every original tokenizer they test. Llama-3.1 shows this pattern in spite of a vocabulary of 128K tokens. The authors compare three ways to expand the vocabulary and two schedules for training the system on PubMed abstracts after the expansion. Their ScafFix method can recognize selected medical entries directly, avoiding intermediate entries that a conventional sequence of pairwise merges may require. A separate baseline receives further medical training with its original vocabulary, so the study can ask what expansion adds beyond exposure to the domain.

For Llama-2 and Llama-3.1, at least one of the two newer vocabulary variants beats the unadapted baseline in seven out of eight comparisons on the paper’s combined ROUGE-L measure. That measure averages the full-test result with results for selected difficult subsets. On the full test sets alone, the corresponding count is 5 out of 8. The clearest advantages over further training with an unchanged vocabulary occur in the high-novelty subsets, where a vocabulary variant beats that baseline in all 8 comparisons reported for the two Llama systems. Results vary across architectures and input formats. The gains extend to several comparisons on Qwen2, while the paper reports far fewer on Mistral.

Medical reviewers also compare ScafFix with the original system on a small sample with substantial medical word fragmentation. They judge 93.34% of ScafFix summaries faithful to the input, compared with 83.34% for the original system, and give ScafFix more high relevance ratings. The comparison tests the combined effect of vocabulary expansion and further training. It complements the automatic measurements, which score agreement with a reference answer and can reward an output that contains an unsupported detail. The study’s strongest evidence concerns when vocabulary adaptation helps on these biomedical benchmarks, particularly when reference answers are hard to reproduce by drawing directly on the source wording.

## Deep dive: Evaluation of LLMs in Medical Text Summarization: The Role of Vocabulary Adaptation in High OOV Settings

A study of how medical vocabulary and word splitting affect the accuracy and faithfulness of summaries generated from biomedical abstracts. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A short answer still has to carry the evidence

The task begins with a question, which determines what deserves space in the answer. An abstract can describe the study population, the design, several outcomes and the authors’ interpretation. A question about a diagnostic comparison makes some of that material central and leaves other details peripheral. The benchmark asks for a summary that selects the relevant evidence and expresses it as an answer. It brings together [question answering](https://md.research.elamur.ai/free/en/concepts/question-answering/) and summarization, since the output needs to address a particular information need while condensing the accompanying text.

A useful answer can be more direct than any single sentence in its source. The important outcome may appear near the end of an abstract, after sentences that introduce the study. A reference answer can also express the outcome in terms that the abstract does not use. The paper gives disease names as an example of words that can appear in a desired answer even when the source presents the information from which the term would have to be inferred. This creates a separate difficulty from finding a sentence worth retaining. The system has to decide what the evidence means for the question and how to put that meaning into words.

The earlier clinical summarization work discussed by the authors had already shown how much could be achieved by putting examples in the prompt. An example demonstrates how a question and source are turned into a summary. The system can use these demonstrations during generation with its parameters held fixed, a form of [few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/). The paper also describes earlier uses of parameter-efficient [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/), including QLoRA, as a way to adapt systems whose parameter counts make a full update expensive. That prior work gave the authors a generation procedure to build on. Their question concerns a property that a score averaged over a test set can leave obscure: how the procedure fares when the vocabulary demands are unusually difficult. [Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarization](https://md.research.elamur.ai/free/en/papers/veen-2023-adapted-large-language-models-outperform/) · [QLoRA](https://md.research.elamur.ai/free/en/papers/dettmers-2023-qlora-efficient-finetuning-quantized-llms/)

#### Fragmentation and novelty describe different demands

A tokenizer converts text into units that a system can process. Its vocabulary is the inventory of units it can use, and its segmentation rules determine which ones it uses for a particular input. A term can be entirely expressible in that inventory while still requiring several less familiar pieces. The paper uses out-of-vocabulary, or OOV, in this operational sense. It counts a medical word as fragmented once the tokenizer needs more than a single unit, then separately tracks a more severe class that needs more than three. Understanding this definition is important because an OOV term can still appear in a generated answer. The question is how the system has to represent it on the way in and assemble it on the way out. [Tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/)

The authors identify different possible consequences on the two sides of the task. On input, pieces can cut across a meaningful boundary within a word, leaving the system to reconstruct a medical expression from fragments. On output, a word that requires several pieces also requires a sequence of generation decisions. A difficulty on either side could surface as a weaker summary. The study therefore tracks fragmented words separately in the material supplied to the system and in the desired answer. A hard input and a hard output can occur together, but the benchmark can group examples by either property.

Novelty uses a different comparison. It asks whether a word in the reference summary appears in the source for that particular example. The same term might be novel in one question–document pair and copied directly from the input in another. Its novelty can therefore change while its segmentation stays the same. Conversely, a word that is present in the input may still be broken into a long sequence of pieces. By measuring both properties, the authors can look for cases where adaptation helps with wording missing from the source as well as cases where existing medical wording is awkwardly segmented.

The motivation for testing even the larger vocabularies follows from how those vocabularies are populated. A larger inventory can include more pieces overall while leaving particular medical terms fragmented. The authors examine general-purpose systems with markedly different inventory sizes because they want to know whether specialized coverage remains an issue when there is already room for many entries. The comparison is within English. The mismatch arises from the difference between general text and expert writing, a distinction from much of the earlier vocabulary-expansion work the paper discusses.

#### How earlier work approached the mismatch

The paper traces the concern about medical fragmentation to earlier findings on clinical concept extraction and lexical segmentation. In its account, studies of clinical entities had already documented unfavourable splits, and work on medical datasets had suggested that both the vocabulary and additional training on relevant text could matter. The authors also describe BioBART and BioMistral as examples of generative systems designed for biomedical work. These strands of research provide two routes into the problem: develop systems for the domain, or begin with a general system and change how domain text is represented and learned. [BioMistral](https://md.research.elamur.ai/free/en/papers/labrak-2024-biomistral-collection-open-source-pretrained/)

Vocabulary expansion itself had also been studied on other architectures and tasks. The paper discusses earlier applications to classification, translation and summarization. MEDVOC is the direct methodological predecessor in this study. It proposed choosing additions for medical summarization using both a collection of PubMed abstracts and the vocabulary needs of the target dataset. Moving that procedure to the systems examined here raises a concrete question about what the newly added entries will do. An addition can improve the segmentation of medical text across a broad collection but still be absent from the training answers for a particular summarization task. The authors make that distinction part of their comparison.

Other studies cited in the paper had explored specialized inventory selection for Chinese text, encoding changes for Chinese Llama systems, and vocabulary expansion together with knowledge distillation for biomedical tasks. The paper presents these as related ways of addressing a mismatch between a fixed inventory and the text a system needs to process. It also discusses prior work on task-adaptive tokenization for long-form generation. The distinguishing choice in this benchmark is to connect vocabulary interventions to an evaluation that explicitly concentrates examples with high fragmentation or novelty. [Efficient and Effective Text Encoding for Chinese LLaMA and Alpaca](https://md.research.elamur.ai/free/en/papers/cui-2023-efficient-effective-text-encoding-chinese/)

The authors use the idea of continual pretraining to connect tokenizer changes to actual generation. Adding an entry gives the system a new unit it can read and produce. It also needs a learned representation for that unit and experience using it in context. Continued training on medical prose gives the new entries a chance to acquire that function, and it can help the original vocabulary too. This is why the paper compares adapted vocabularies with a baseline that gets additional medical text under the same broad training objective. [Don’t Stop Pretraining](https://md.research.elamur.ai/free/en/papers/gururangan-2020-don-t-stop-pretraining-adapt/)

### The method, step by step

#### From medical text to a tested vocabulary

The study starts from the original base versions of Llama-2, Mistral, Qwen2 and Llama-3.1. For a system and a target task, the authors construct candidate additions, choose a vocabulary configuration, initialize the new entries and continue training on biomedical abstracts. For evaluation, the system is shown examples of the target task in its prompt and generates a summary for a held-out question and source. The paper scores the result against a reference, both across the test set and within subsets defined by the properties of the input or reference. The authors also release the benchmark code.

The vocabulary construction and the subsequent training are distinct decisions. The first decides which pieces the system can recognize as entries. The second concerns how it learns to use them. The benchmark groups candidate generation and selection together as a vocabulary intervention, then varies the training schedule. The original vocabulary and the continued-training baseline provide reference points for interpreting those choices.

From vocabulary construction to medical summary evaluation The steps in order.

Candidate construction draws on two sources. The PubMed Abstract Collection, abbreviated PAC, provides broad biomedical text. The target task provides language specific to the application, including the wording used in its training summaries. The two sources give an entry different grounds for inclusion. A PAC candidate reflects how medical language is written across abstracts. A target-task candidate reflects the demands of a particular summarization dataset. The continued-training sample comes from PAC as well, but sampling documents for that step is a separate operation from using PAC as a source of vocabulary candidates.

#### MEDVOC and MEDVOC-LLM

MEDVOC begins with medical words that the original tokenizer fragments. It constructs candidate inventories using PAC and the target dataset. It then searches possible configurations for the added inventory in the intersection of the two candidate vocabularies. Its criterion is the fragment score, which measures the average number of pieces used to represent a word. A score can fall when several often encountered words become simpler to segment, even if some other words retain their original splits.

The paper gives the fragment score as a verbal definition. It can be written as follows.

```
F(C, V) = (∑ᵢ |Tᵥ(wᵢ)|) / N
```

F is the fragment score. C is the corpus over which the score is measured, and V is the tokenizer vocabulary. The index i runs over the word occurrences being measured. The word at index i is wᵢ, and N is the number of occurrences in the average. Tᵥ is the tokenizer using V. The bars around its output count how many pieces it produces for the word, and ∑ᵢ sums those counts before division by N. A lower value means that a word in the measured collection usually takes fewer pieces. The paper adopts this measure from earlier work on how segmentation quality varies across tokenizers. [How Good Is Your Tokenizer?](https://md.research.elamur.ai/free/en/papers/rust-2021-how-good-is-your-tokenizer/)

The search takes inventory size into account. The authors describe selecting a configuration close to the optimum to avoid favouring an excessively large vocabulary. The procedure treats the score as a guide to segmentation, rather than as a prediction of summarization quality. A proposed inventory can make the text shorter in token units and still contain entries that the system seldom needs in the target answers. This difference between compression and task use motivates the next variant.

MEDVOC-LLM cleans the inventory produced by MEDVOC. One category of removed entries consists of PAC-derived additions that never appear in the target task’s training references. The reasoning is that those entries have no observed role in the wording of the answers the task is designed to elicit. Removing them focuses the inventory on evidence of actual use in the downstream setting. This criterion is based on the training references, so an unusual word known only from a held-out answer does not supply the stated reason to retain it.

A second category contains additions that combine numerals with punctuation in ways that conflict with the tokenization scheme used by the Llama systems. The paper points out that these tokenizers separate digits. An entry can thus be a plausible character string to select from a corpus while being a poor match for the rules under which the inventory is used. MEDVOC-LLM applies both filters as part of the same intervention. Its comparisons with MEDVOC measure the effect of the resulting vocabulary as a whole.

#### ScafFix and the intermediate entries it avoids

The third method changes the route by which a selected term becomes usable. In ordinary byte-pair encoding, a merge combines a pair of existing pieces. If a term is represented by a longer chain, adding it through successive merges can require an intermediate piece along the way. The paper illustrates this with *cholesterol*. The relevant point is that a prefix-like intermediate entry has to exist before the final merge can make the intended term available. Once the tokenizer can use the entire term, the intermediate piece can become uncommon. The authors call such entries scaffolding tokens. [Subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/)

The authors observe an overall addition of 20% extra intermediate entries for Llama-3.1 under the conventional construction they discuss. They argue that seldom-used additions may remain undertrained. The concern is about the allocation of vocabulary and training exposure. The entries that were needed to build a merge chain can be different from the entries frequently emitted after the chain is in place. A useful complete medical term can thus come with vocabulary entries whose main job was to make that term reachable under the existing merge rules.

ScafFix starts with the candidate medical words themselves and skips the initial construction of candidate sub-words. Candidates are ordered by frequency. The quota in this procedure is set to 500, and the search considers entries in steps of 50. ScafFix then uses the MEDVOC-style search with fragment score as its selection criterion. Choosing an inventory in this way still leaves the problem of making it accessible to the tokenizer without recreating the unwanted merge chain.

The solution is AdaptBPE, a prior tokenization scheme by the authors. During segmentation, it checks for a direct match to an added entry and tries longer matches first. It preserves the matching span. Ordinary iterative pair merges can then operate on the unprotected remainder. A selected entry can be present in the middle of a larger expression, so direct matching need not make the entire expression a single token. It lets an added unit remain intact even when the surrounding material still has to be split.

The paper illustrates the distinction with *inhibitory* and *antibacterial*. Under the base tokenizer, a split can cross the boundary of the recognizable units inside the word. With ScafFix, pieces such as *inhibitor* or *bacteria* can remain available as segments. The resulting segmentation can even use more pieces for an individual example while putting the boundaries in different places. These examples make the method’s purpose easier to see. A count of pieces describes how fragmented a corpus is on average. The identity and boundaries of the pieces describe what the system is given to work with in an individual word. [Morphology](https://md.research.elamur.ai/free/en/concepts/morphology/)

#### Learning to read and generate the new entries

Each added entry receives an initial vector, called an embedding, derived from the existing pieces the original tokenizer used to represent it. The authors take their average. This makes the starting representation depend on the system’s existing treatment of the string. Continued pretraining can then change that representation as the entry occurs in biomedical text. It can also update the representations used when the system predicts which unit should appear next. [Word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/)

```
e(t) = (∑ⱼ e(sⱼ)) / m
```

Here t is the added token and e(t) is its initial embedding. The index j runs through the original segmentation of t. The symbol sⱼ is the existing token at position j, e(sⱼ) is its embedding, and m is the number of existing tokens in that segmentation. The sum adds the vectors, and division by m takes their arithmetic mean. The rule specifies the starting point for training.

The objective after initialization is next-token prediction on biomedical prose. At a position in an abstract, the system assigns probabilities to possible next tokens given the preceding ones. Training rewards a higher probability for the token that actually follows. The paper describes the loss as negative log-likelihood. At the level of a prediction position, that objective can be expressed as follows.

```
ℓᵢ = −log pθ(xᵢ | x₍₍<ᵢ₎₎)
```

The symbol ℓᵢ is the loss at position i, and xᵢ is the observed token at that position. The notation x₍₍\<ᵢ₎₎ denotes the sequence of tokens before i. The expression pθ is the next-token probability under the system’s current parameters θ, and the vertical bar means that this probability is conditioned on that preceding sequence. The logarithm is written log. Taking its negative makes the loss smaller when the probability assigned to the observed token is larger. In this training step, the desired continuation comes from the abstract itself. The separate examples in the summarization prompt supply the task format at generation time.

To limit the amount of updating needed, the authors use low-rank adapters, or LoRA. These add trainable changes to existing linear transformations while the weights of the underlying layers stay fixed. The study applies the adapters to the query, key, value and output projections in self-attention and to the gate, up and down projections in the feed-forward blocks. Across the comparison, LoRA rank is 32 and alpha is 64. Rank determines the dimension used to parameterize the update, and alpha is the scaling setting used for the adapter. Training takes place on one A100 40 GB GPU. [LoRA](https://md.research.elamur.ai/free/en/papers/hu-2021-lora-low-rank-adaptation-large/)

#### Two schedules for the same adaptation task

In the schedule called End-to-End, the input and output embedding layers and the LoRA adapters are trainable together from the start. The base layers remain frozen. For the benchmark, this schedule trains for 5 epochs. The paper’s name for the schedule refers to joint training of the selected components. The main network weights remain fixed throughout.

In Two-Stage training, the embedding layers have a period to adjust while the adapters are frozen. That first phase runs for 2 epochs on 10K PAC samples. In the next phase, the authors train both the embeddings and the adapters for 3 epochs on 20K PAC samples. The idea behind the initial phase is to give the new token representations time to adjust before the adapter parameters start changing along with them. The authors motivate it as a way to stabilize training and avoid tying the adaptation too closely to the initial embedding space.

The continued-training sample size is itself a practical choice. PAC contains 312K documents in the implementation discussion. The authors explore samples of 10K, 20K, 50K and 100K. They report comparable performance at 20K and 100K, with training taking 6 hours at 20K and roughly 40 hrs at 100K. They therefore use randomly selected PAC documents at the smaller of those two settings for the main continued-training procedure. The paper specifies a global batch size of 32, a batch size on the device of 8, gradient accumulation of 4 and a learning rate of 1e − 4.

#### Generation and construction of the difficult subsets

At inference time, the system receives demonstrations selected from the training split of the downstream task. The authors use PubMedBERT to compute similarity to the held-out example and choose demonstrations on that basis. Each example gives a question, a document and the associated summary. After these demonstrations, the prompt supplies the new question and source, with the summary left for the system to generate. The instruction asks for a concise, question-relevant answer of roughly 100 words. The system uses greedy decoding, selecting the highest-scoring available token at each step.

The prompt brings a different kind of domain information from the continued training. Continued training exposes the system to biomedical usage, including the contexts in which new entries appear. The demonstrations show how the target task pairs questions and evidence with answers. The benchmark uses both, so an effect from the altered vocabulary is measured in a setting where the system already has examples to guide the structure and wording of its answer.

The authors identify five difficult settings. Difficult SD selects inputs with a high concentration of medical words split into more than three pieces, and Difficult RS applies the same criterion to the reference summaries. All SD and All RS instead use the broader class of medical words that take more than one piece. Novel RS selects reference summaries with a high concentration of unigrams absent from their sources. A unigram is a single word considered on its own for this comparison. The standard selection described in the paper takes the top ten percentile for the property in question. [N-gram](https://md.research.elamur.ai/free/en/concepts/n-gram/)

Because the fragmentation measures depend on tokenization, they describe difficulty relative to a tokenizer. The dataset statistics accordingly give separate values for the Llama tokenizers. Novelty compares source and reference wording and identifies a different subset, which can overlap with the fragmentation subsets. The group labels are applied for evaluation. The generator receives the question, source and demonstrations, and the reference helps determine afterward which class of example its output belongs to.

### Experiments and results

#### Three datasets and two forms of biomedical evidence

All the benchmarks ask a system to answer a query by summarizing relevant biomedical material. In PubMedQA, the source includes the question and a PubMed abstract. The study uses the long answer as the reference summary. The dataset contains 1000 human-annotated examples, and the paper reports a test set of 500. This is a setting in which a succinct answer can express the study’s implication more directly than the abstract’s introduction. [PubMedQA](https://md.research.elamur.ai/free/en/papers/jin-2019-pubmedqa-dataset-biomedical-research-question/)

EBM is a single-document task. Its input pairs a biomedical question with an abstract, and its expected output is a concise answer based on that context. The test set contains 424 examples. The authors report that EBM has the longest reference summaries among the datasets they compare. Its unigram novelty is 47.15%, the highest in the dataset comparison. For the generator, that means there is substantial scope for the reference to express the answer in vocabulary absent from the input.

BioASQ uses the Phase-B query-focused task of BioASQ-9B. The ideal answer serves as the reference. The authors test two input variants. BioASQ-M supplies full abstracts and has 963 test examples. BioASQ-S supplies selected snippets and has 496 test examples. A snippet input already draws attention to passages deemed relevant to the question. The benchmark comparison is also across test sets of different sizes, which matters when interpreting any difference as a consequence of changing input format.

The paper reports markedly different novelty for those BioASQ settings. BioASQ-M has 42.58% unigram novelty, and BioASQ-S has 4.11%. PubMedQA is at 41.32%. The BioASQ-S figure helps explain why the authors investigate extractiveness separately from segmentation. A reference can reuse many of the words in the input while containing many segmented medical expressions. That setting can still present copying and selection challenges, but it offers a different test of vocabulary adaptation from a summary whose target wording is mostly absent from the source.

#### The systems and what the scores measure

The starting checkpoints are the 7B variants of Llama-2, Mistral and Qwen2 and the 8B variant of Llama-3.1. Llama-2 and Mistral are described as having vocabularies around 32K tokens. Llama-3.1 has 128K and Qwen2 has 151K. The main results concentrate on Llama-2 and Llama-3.1, with Mistral and Qwen2 given fuller treatment in the appendix. This gives the analysis examples of originally smaller and larger inventories. The architectures themselves also differ, so vocabulary size is one characteristic of the comparison. [Llama 2](https://md.research.elamur.ai/free/en/papers/touvron-2023-llama-2-open-foundation-fine/) · [Mistral 7B](https://md.research.elamur.ai/free/en/papers/jiang-2023-mistral-7b/) · [The Llama 3 Herd of Models](https://md.research.elamur.ai/free/en/papers/grattafiori-2024-llama-3-herd-models/)

BASE is the original checkpoint with its original vocabulary and no further training on PAC. CPT-Only keeps the same vocabulary but continues pretraining on biomedical abstracts. The vocabulary variants change the inventory and also receive continued training. A comparison against BASE captures the change from the original system to the adapted system as used in the experiment. A comparison against CPT-Only is more informative about whether the vocabulary intervention adds something beyond continued medical training.

The primary automatic metric is ROUGE-L, reported as Rouge-L or R-L in the paper. It measures word-sequence overlap with the reference through a longest common subsequence. A subsequence keeps words in the same relative order while allowing intervening words to be skipped. This lets the metric recognize ordered material shared by summaries even if their sentences differ. The authors use it as an indicator of how informative and coherent a generated answer is. It is an indirect measure, since the calculation rewards agreement with the reference wording.

The second automatic metric is Concept-Score, abbreviated CSr. QuickUMLS identifies medical concepts in the reference and generated summaries, and the score measures their overlap. This shifts attention from strings of words to the medical concepts they express. The authors treat this as a proxy for faithfulness. The benchmark’s human review examines a different relation directly: whether the summary’s claims are supported by the actual input. A concept score based on a reference can reward use of a relevant medical term even when context around that term changes the claim. That is why the distinction between the two forms of evaluation matters.

#### The medical corpus produces more fragmentation

The initial tokenizer comparison uses CNN-DailyMail as the general-domain collection and PAC as the medical collection. Llama-2 has a fragment score of 1.23 on CNN-DailyMail and 1.45 on PAC. For Mistral, the corresponding scores are 1.17 and 1.41. Llama-3.1 scores 1.07 on CNN-DailyMail and 1.21 on PAC. Qwen2 scores 1.28 and 1.46. In every pair, the average number of pieces per word is higher on the biomedical collection.

The same pattern appears when counting words that take more than three pieces. For Llama-3.1, the share is 12% on CNN-DailyMail and 25% on PAC. For Qwen2, it is 17% on CNN-DailyMail and 28% on PAC. Looking at the tail of the distribution alongside the average shows that the difference includes words with substantial fragmentation. It also shows why the study includes systems whose vocabularies are already large. Both of the larger inventories leave a greater share of heavily split words on PAC than on the news comparison.

The target datasets differ in how much of this difficulty sits in the expected answer. The paper identifies BioASQ as the family with the highest OOV concentration in its dataset comparison. The narrower, severe-fragmentation measure also varies with the occurrence being measured. For instance, for BioASQ-M under Llama-2 it is 9.12% in the source documents and 11.04% in the reference summaries. Under Llama-3.1 it is 5.55% in the sources and 7.09% in the references. Those figures concern words split more than three times in the paper’s terminology for the table, which the evaluation defines as taking more than three tokens. They put the input and output burdens on the same scale while keeping the tokenizer fixed within each comparison.

#### Full-test scores and difficult-subset scores tell different stories

The paper’s main results select the best reported performance from the two continued-training variants. Its Overall column averages four quantities: the full-test score, Difficult RS, Difficult SD and Novel RS. Under that composite, the better of MEDVOC-LLM and ScafFix beats BASE in 7 out of 8 Llama system and dataset comparisons. The outstanding case is Llama-2 on EBM. When the calculation uses only the full test sets, the paper reports that at least one of the two methods beats BASE in 5 out of 8 comparisons. The respective counts answer different questions about the benchmark.

The full-test analysis reports average improvements over BASE of 3.68% for Llama-2 and 4.57% for Llama-3.1. ScafFix supplies more of the winning full-test settings than MEDVOC-LLM in that analysis. The paper also reports that ScafFix beats CPT-Only in six out of eight full-test comparisons, with a margin of 2.97%. These aggregate descriptions sit alongside cases in which continued training alone is a strong competitor. One example is the Llama-2 result on PubMedQA.

Llama-2 vocabulary settings on the PubMedQA full test set ScafFix leads the full-test comparison, with continued training alone ahead of the other vocabulary variants.

**The numbers**

| System or setting | ROUGE-L |
| --- | --- |
| BASE | 26.33 |
| CPT-Only | 27.12 |
| MEDVOC | 26.50 |
| MEDVOC-LLM | 26.90 |
| ScafFix (this paper) | 27.61 |

The PubMedQA ordering shows why both baselines belong in the experiment. Every configuration in the chart that beats BASE accomplishes something the original checkpoint misses on this metric. Among the vocabulary methods, only ScafFix exceeds the score of CPT-Only in this full-test comparison. A headline that reported wins over the original checkpoint would group improvements with different implications for the value of changing the inventory.

The high-novelty comparison is stronger for vocabulary adaptation. In the Llama results, the authors report that CPT-Only improves on BASE in 4 out of 8 high-novelty settings. At least one adapted vocabulary improves on CPT-Only in all 8. The authors separately report a best-variant win over BASE in 6 out of 8 high-novelty settings. For settings in that analysis where gains over BASE are observed, the reported average improvements are 11.92% for Llama-2 and 18.03% for Llama-3.1. EBM under Llama-3.1 provides a concrete case where both continued training and the best vocabulary method help.

Llama-3.1 vocabulary settings on the EBM high-novelty subset ScafFix has the highest reference-overlap score on EBM examples with high reference novelty.

**The numbers**

| System or setting | ROUGE-L |
| --- | --- |
| BASE | 11.37 |
| CPT-Only | 13.33 |
| MEDVOC | 12.17 |
| MEDVOC-LLM | 13.04 |
| ScafFix (this paper) | 13.80 |

On the narrow high-OOV subsets involving heavily fragmented words in the source or reference, the paper reports a similar advantage with a different leading method. CPT-Only improves on BASE in 11 out of 16 comparisons. At least one vocabulary strategy improves on CPT-Only in 13 out of 16. The better of MEDVOC-LLM and ScafFix improves on BASE in 14 out of 16, with reported average improvements of 8.74% for Llama-2 and 14.64% for Llama-3.1 in this analysis. The authors name MEDVOC-LLM as the strongest variant across these high-OOV settings and ScafFix as the strongest across the high-novelty settings.

For Concept-Score, the main figure averages results across Difficult SD, Difficult RS and Novel RS for PubMedQA, EBM and BioASQ-M. At least one vocabulary adaptation improves on BASE in 5 out of 6 system and dataset comparisons. The exception reported in the main discussion is Llama-3.1 on PubMedQA. The figure reports average improvements across the datasets of 18.75% for Llama-2 and 14.82% for Llama-3.1. This gives a view of whether the summaries cover more of the target medical concepts on the chosen difficult subsets, independent of the headline ROUGE-L comparison.

The appendix comparisons also show how uneven the transfer across systems can be. For Qwen2, at least one vocabulary adaptation improves on both BASE and CPT-Only in 7 out of 12 comparisons on the highlighted difficult subsets. The main results discussion reports such an improvement for Mistral in one out of 12. Both systems also show weak results for vocabulary expansion on BioASQ-S, where reference wording is often already available in the input. The benchmark therefore offers an instance of useful transfer to another system and a much weaker case under a different starting point.

#### Judgments from medical reviewers

The authors select 30 held-out examples with higher medical OOV concentration across the three datasets and two systems used for this part of the study. Medical reviewers compare summaries generated by BASE and ScafFix after End-to-End continued training. The appendix reports that 9 experts were recruited. Presentation order was randomized, system identities were hidden and each summary pair received judgments from three reviewers. The reviewers rated relevance and coherence on a scale from 1 to 5. They made a binary judgment of faithfulness.

Relevance asks whether the summary contains information pertinent to the question and its context. Coherence concerns how the sentences fit together. For faithfulness, the reviewer checks factual claims, figures and other details against the source. A claim a reviewer knows to be true can still fail this test if the input is insufficient to verify it. That instruction makes source grounding central to the human evaluation.

Medical reviewers’ faithfulness judgments on high-OOV test examples Reviewers judged a larger share of ScafFix summaries faithful to their inputs.

**The numbers**

| System or setting | Faithful summaries % |
| --- | --- |
| BASE | 83.34 |
| ScafFix, End-to-End training (this paper) | 93.34 |

The reviewers also give a relevance rating of at least 4 to 93.34% of ScafFix outputs, compared with 70% of BASE outputs. The paper describes higher coherence for ScafFix in the same evaluation. These judgments make the answer quality differences tangible. They concern a small sample selected for high fragmentation, and the comparison uses BASE as the reference point. The results show how the complete adapted setup performed on those examples.

### What the ablations show

#### Continued medical training accounts for part of the gain

The paper’s main component comparison puts BASE, CPT-Only and the vocabulary-adapted systems side by side. Keeping the original vocabulary while training on PAC already changes performance. This matters particularly in the high-OOV subsets, where the authors observe CPT-Only improvements in many comparisons. A system can therefore become better at handling biomedical text while keeping the sequence of pieces in which the text is represented. Learning something more about how those pieces are used in context is available even if their boundaries stay fixed.

The advantage of the vocabulary variants over CPT-Only on many difficult subsets establishes that continued training on its own does not account for every performance gain in the benchmark. The strongest reported pattern is for high reference novelty. These answers contain wording that is less available for direct reuse from the source, and the best vocabulary variant frequently improves the reference-overlap score in those settings. The comparison supports a task-level advantage for the adapted configurations. It cannot trace a particular generated word to its new embedding or determine how much of a score change came from reading the source more effectively.

The EBM results under Llama-2 show a dependence on the evaluation subset. In Difficult RS, where the reference contains many heavily fragmented words, BASE scores 16.00 ROUGE-L and CPT-Only scores 15.87. The best reported MEDVOC-LLM and ScafFix scores for that subset are both 14.71. On Novel RS for the same system and dataset in the main comparison, BASE scores 11.20 and MEDVOC-LLM scores 12.90. Different subsets therefore expose different behaviours of the same adaptation. Concentration of heavily split reference words is a useful axis for finding challenging cases, with gains still contingent on the system and task.

#### Smaller vocabularies and better segmentation need separate measurements

The comparison between MEDVOC and MEDVOC-LLM tests two inventory filters together. The restricted vocabulary omits entries unused in the target training references and entries with unsuitable combinations of digits and punctuation. Its strength on several difficult OOV subsets supports the use of a more selective inventory for this benchmark. Since both kinds of entries are removed at once, the results give no individual effect estimate for either filter. They also leave open which specific retained terms contribute most to the downstream gain.

ScafFix changes both inventory construction and matching at inference. The paper reports a 29.19% fragment-score reduction over BASE for ScafFix in its analysis of the added vocabularies. It also reports that ScafFix achieves its reduction with the fewest additions among the vocabulary strategies. The comparison makes inventory size and fragmentation measurable in their own right. A method can leave the system with a compact expansion even when another method attains a lower fragment score by using a larger one.

This point is visible in the PubMedQA vocabulary comparison for Llama-3.1. The original vocabulary, shown under CPT-Only, contains 128,256 entries. The inventory is 129,078 with MEDVOC, 128,808 with MEDVOC-LLM and 128,456 with ScafFix. The corresponding fragment scores on medical OOV words are 2.29 for the unchanged vocabulary, 1.21 for MEDVOC, 1.25 for MEDVOC-LLM and 1.31 for ScafFix. ScafFix uses the smallest expanded vocabulary in that comparison. MEDVOC attains the lowest fragment score. The two measurements describe a tradeoff that would disappear if success were reported solely in terms of added vocabulary size or solely in terms of average segmentation length.

The authors connect the small expansion to the omission of seldom-used scaffolding entries. Their tokenization examples show that direct matching can preserve recognizable units within medical words. They propose that fewer undertrained entries make the continued-training phase less noisy. Downstream results are consistent with that interpretation in several settings, but the intervention redesigns multiple parts of the pipeline at once. The paper observes inventory contents, segmentation and summary scores. It leaves the proposed causal chain through training noise as an explanation for those observations.

#### The training schedules favour different starting systems

The schedule comparison asks whether the new embedding layers should first adjust on their own or train with the adapters from the beginning. The appendix identifies Two-Stage as the best schedule overall for Llama-2 and End-to-End as the best for Llama-3.1. It also identifies End-to-End as best for Qwen2 and generally for Mistral, with EBM as the Mistral exception. These preferences matter because a vocabulary addition is used alongside a particular adaptation schedule. A method can be helped or hindered by how the rest of the trainable components respond to the new entries.

At the level of individual cases, an overall schedule preference can conceal a reversal or a tie. For instance, ScafFix on Llama-3.1 in the PubMedQA high-novelty subset gets 22.22 ROUGE-L with End-to-End training and 21.16 with Two-Stage. In BioASQ-M, Llama-3.1 with MEDVOC-LLM gets 27.27 on Difficult RS with End-to-End and 29.03 with Two-Stage. The staged procedure can therefore help a configuration even on a system for which the appendix favours joint training in its overall account.

The schedules differ in when the adapters are allowed to update and in the amount and arrangement of data used in each phase. The comparison establishes how the specified training recipes behave. The explanation that an initial embedding-only phase leads to steadier learning remains a motivation, since the benchmark’s primary evidence is downstream performance. It does not provide a separate measure of how embedding stability changes during training.

#### Where copying is already a strong option

The authors examine the BioASQ-M examples on which ScafFix and BASE differ in ROUGE-L. They compare the characteristics of examples where BASE wins with those where ScafFix wins. The respective groups contain 512 and 444 data points in the appendix’s description of the comparison. This analysis conditions on the outcome and asks what kinds of sources and references characterize the two groups.

For Llama-2, source–reference overlap is 38.17 in the BASE-winning group and 35.65 in the ScafFix-winning group. Novel-RS concentration is 40.65% in the BASE-winning group and 41.92% in the ScafFix-winning group. The group in which ScafFix wins also has a higher concentration of heavily fragmented reference words, 10.77% compared with 9.78%. Llama-3.1 shows the same directions in the appendix table. Its source–reference overlap values are 39.52 where BASE wins and 34.27 where ScafFix wins.

The authors interpret the higher overlap in the BASE-winning group as evidence that many of those answers can be inferred more readily from source wording. A system that is already good at selecting or copying a relevant phrase has less room to benefit from a vocabulary change in those cases. The groups also differ in novelty and fragmentation. Their joint movement helps explain why the paper’s findings on a nominally high-novelty dataset can still vary widely from one example to another. The grouping is retrospective, so it shows an association with success and leaves prospective prediction of when to use each configuration untested.

BioASQ-S offers another view of how a split definition affects the result. Its overall unigram novelty is unusually low in the benchmark, and the threshold for its top-ten-percentile novelty subset was 35%. The authors also examine the subset under a 60% threshold based on the high-novelty values for EBM and PubMedQA. Vocabulary adaptation beats BASE in the BioASQ-S high-novelty setting under that alternative threshold. A percentile groups the relatively difficult examples within a dataset. A shared absolute threshold selects for a more comparable degree of the measured property across datasets. In this case, the choice changes the account of how ScafFix fares on high novelty.

#### A better automatic score can conceal a changed claim

The paper gives paired outputs for examples from EBM and PubMedQA. The EBM example asks about preventing migraine in children. BASE reports the broad result regarding self-hypnosis. ScafFix adds study design and quantitative detail, raising ROUGE-L from 24.10 to 40.00 for that example. Its version also expresses the attack frequencies as monthly values, while the abstract describes the comparison using a multi-month period. The increase in overlap accompanies a change in the unit of the reported outcome. That difference is consequential in a summary of study evidence.

The PubMedQA example asks about serum pancreatic lipase and serum amylase for acute pancreatitis. BASE largely follows the opening of the abstract. ScafFix gives a short comparative answer and uses the term *biomarker*, which the BASE output omits. Its ROUGE-L is 76.47, compared with 29.17 for BASE. The adapted wording comes closer to the form of the reference. It also describes the advantage in terms of sensitivity and specificity, whereas the displayed source comparison reports an area under a curve. These examples help explain why generating a more relevant phrase and preserving the exact scope of the source claim need to be assessed together.

### Limitations

#### Limits the authors identify

The authors state that hardware constraints kept them from testing substantially larger variants, including 13B and 70B. The benchmark therefore concerns the base checkpoints and parameter sizes actually evaluated. The presence of a larger tokenizer vocabulary in one of those systems addresses an inventory-size question within the tested group. It leaves the interaction between parameter scale, medical training and vocabulary expansion open at larger scales.

The authors also stress that their continued-pretraining results use LoRA. The underlying network remains frozen, with the specified trainable components carrying the adaptation. Full fine-tuning would give the network more ways to change its internal handling of medical text, with or without a new vocabulary. The study provides no direct basis for transferring the observed ranking of vocabulary methods and schedules to that training regime.

The paper’s ethics discussion limits the practical interpretation of its faithfulness gains. Generated text can contain claims that cannot be verified from the source. The authors argue that the evaluated summaries require a separate safety assessment before public deployment in healthcare. The medical review addresses relevance, coherence and factual consistency for a benchmark sample. A healthcare deployment would involve a wider range of inputs and consequences than those assessments cover.

#### Limits visible in the design

Every main benchmark concerns English biomedical question answering from abstracts or abstract snippets. The experiment gives a direct picture of the selected summarization tasks. Its findings about vocabulary coverage and useful segmentation may motivate questions in other settings, but the paper supplies no corresponding measurements on such inputs as complete clinical records or longer collections of medical evidence. Its generation results also come from a specific prompting and decoding procedure. Both the retrieved demonstrations and the choice of a greedy continuation can influence what wording appears.

The difficult subsets are useful diagnostic groups with boundaries determined by the evaluation procedure. High fragmentation is partly a property of the tokenizer used to measure it. High novelty is a property of the reference in relation to the source. A user of a deployed system does not have the reference in advance, so the Novel RS and Difficult RS results do not themselves supply a rule for routing a new case to an adapted configuration. They tell the reader which types of held-out examples benefited once the intended answers were known.

Differences between the challenging subsets and the full test sets also mix several properties. A biomedical question whose answer is hard to phrase may differ in evidence structure, source length or degree of reference overlap. The BioASQ-M error analysis shows some of these properties varying together. The experiment does not manipulate fragmentation while holding the texts and all their other properties constant. Its results establish performance associations in the defined subsets and the effects of swapping whole system configurations.

The headline combined score gives equal representation in its average to the full-test result and the selected difficult-subset results. This construction makes difficult cases visible. A single example can belong to the full set and to more than one difficult subset, so the composite has a different interpretation from an average across independent sets of test examples. The paper also reports results chosen from different continued-training recipes. A team selecting one fixed recipe ahead of time would need its expected performance under that choice, for which the schedule-specific comparisons are more relevant than a best-setting aggregate.

Both automatic metrics compare generated summaries with references. ROUGE-L can reward accurately reused wording, a useful paraphrase that preserves some word order, or a phrase with a subtle factual change. Concept-Score can track whether the answer names the relevant medical concepts, while a claim’s accuracy depends on the relations, qualifications and quantitative details around them. The illustrative summaries make these concerns concrete. Novelty on its own is similarly limited as an indicator of reasoning. It counts output words absent from the source, and a change in wording can meet that criterion without requiring additional domain inference.

The human review examines grounding directly, but its scope is narrow. It uses a selected pool of 30 examples with high medical fragmentation and compares ScafFix with BASE. Because the adapted system also continued training on PAC, the human judgments cannot distinguish the benefit of better segmentation from the benefit of continued medical training. An expert comparison with CPT-Only would address a different question, namely whether reviewers can detect an added benefit when both systems have received that training. The study supports the reported improvement for the compared configurations on the selected pool.

Vocabulary expansion also changes several things together. MEDVOC-LLM applies both filters at once. ScafFix changes candidate construction and how the tokenizer recognizes the additions. The training comparisons then change which parameters are updated at different times. The controlled baselines help localize gains to the adapted configurations, and the fragment-score and vocabulary-size analysis describe concrete differences between them. Assigning the gains to preserved morphological boundaries, reduced scaffolding, or better learning of particular terms would require evidence that separates those mechanisms.

Finally, the cross-system results limit any general conclusion about large vocabularies or adaptation. The medical-versus-news comparison supports the finding that large inventories can still fragment expert terminology. The summarization comparisons show that reducing this mismatch can help and that measured benefits vary. Qwen2 and Mistral illustrate that variation, with substantially different rates of improvement across the difficult subsets. A large starting inventory leaves room for specialized improvements, while the usefulness of any particular expansion depends on the vocabulary procedure, training recipe and summarization setting.

### What came after

One later citing work, from 2026, addresses efficient tokenizer adaptation after pretraining. Its title places the emphasis on teaching an existing tokenizer new words. That is the stage of the medical summarization study at which ScafFix adds selected entries and recognizes them without needing the full chain of intermediate merges. Balde and colleagues use downstream medical summaries to judge the value of changing an existing inventory. The later work can be situated alongside that question as a study of adaptation efficiency. The citation alone leaves its use of ScafFix, AdaptBPE and the medical benchmark undetermined. [Teaching Old Tokenizers New Words: Efficient Tokenizer Adaptation for Pretrained Models](https://md.research.elamur.ai/free/en/papers/purason-2026-teaching-old-tokenizers-new-words/)

The other 2026 citing work concerns structural knowledge in domain-specific systems. Its title identifies morpheme-aware KV aggregation as its approach. The point of contact is the internal structure of specialized words. The medical summarization paper illustrates what happens when a tokenizer cuts across a meaningful boundary, and how a vocabulary intervention can preserve more recognizable parts. The later title frames the structural question around morpheme-aware aggregation. That puts the citation in a related line of inquiry about how systems handle expert vocabulary, with the relationship to the earlier benchmark’s particular methods and findings unspecified. [Mitigating Structural Knowledge Collapse in Domain-Specific LLMs via Morpheme-Aware KV-Aggregation](https://md.research.elamur.ai/free/en/papers/si-2026-mitigating-structural-knowledge-collapse-domain/)

## Cite

Cite as Gunjan Balde, Soumyadeep Roy, Mainack Mondal and Niloy Ganguly. 2025. Evaluation of LLMs in Medical Text Summarization: The Role of Vocabulary Adaptation in High OOV Settings. Findings of the Association for Computational Linguistics: ACL 2025.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2025.findings-acl.1179](https://doi.org/10.18653/v1/2025.findings-acl.1179)

```bibtex
@inproceedings{balde2025evaluation,
  title = {{Evaluation of LLMs in Medical Text Summarization: The Role of Vocabulary Adaptation in High OOV Settings}},
  author = {Gunjan Balde, Soumyadeep Roy, Mainack Mondal and Niloy Ganguly},
  booktitle = {Findings of the Association for Computational Linguistics: ACL 2025},
  year = {2025},
  doi = {10.18653/v1/2025.findings-acl.1179},
  url = {https://doi.org/10.18653/v1/2025.findings-acl.1179}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
