SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.04163 · IJCAI · 2024

MEDVOC: Vocabulary Adaptation for Fine-tuning Pre-trained Language Models on Medical Text Summarization

Niloy Ganguly, Gunjan Balde, Soumyadeep Roy, Mainack Mondal

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 6 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.04163.json · badge: /api/ran/2405.04163.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
gb-kgp/MEDVOC canonical (classifier label)
classifier basis: census
8 ran · 1 no recorded run
FunctionStatusWhere it lives
all_gather_list Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gb-kgp/MEDVOC/src/Model_Scripts/BertSumAbs_Modified_Scripts/src/distributed.py
pointer only (licence: NONE) · get_code("66575e439195e14f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

checkAllNum Ran
ran, violated the contract we drafted
gb-kgp/MEDVOC/src/Vocab_Scripts/GenerateCandidateWords/GenerateCandidateWords-BART.py
pointer only (licence: NONE) · get_code("7a7e9de09a2874c5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

has_repeat Ran
ran; our contract draft was wrong, not the code
gb-kgp/MEDVOC/src/Model_Scripts/BertSumAbs_Modified_Scripts/src/post_stats.py
pointer only (licence: NONE) · get_code("7b7669755eae20fe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

is_master Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gb-kgp/MEDVOC/src/Model_Scripts/BertSumAbs_Modified_Scripts/src/distributed.py
pointer only (licence: NONE) · get_code("b80220994c939e73")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

n_grams Ran
ran; our contract draft was wrong, not the code
gb-kgp/MEDVOC/src/Model_Scripts/BertSumAbs_Modified_Scripts/src/post_stats.py
pointer only (licence: NONE) · get_code("c3fcc4e906d8ecbd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

return_PAC_A Ran
ran; our contract draft was wrong, not the code
gb-kgp/MEDVOC/src/Vocab_Scripts/GenerateVocab-BART/GenerateSubwordsBART.py
pointer only (licence: NONE) · get_code("11abfb4819fe2527")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

rouge_results_to_str Ran
ran; our contract draft was wrong, not the code
gb-kgp/MEDVOC/src/Model_Scripts/BertSumAbs_Modified_Scripts/src/cal_rouge.py
pointer only (licence: NONE) · get_code("14b39c4dc7a42e40")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

str2bool Ran
ran, violated the contract we drafted
gb-kgp/MEDVOC/src/Model_Scripts/BertSumAbs_Modified_Scripts/src/post_stats.py
pointer only (licence: NONE) · get_code("f017532fc389cbfe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

retain_common_set Not yet run
unverified (harvested, no recorded run)
gb-kgp/MEDVOC/src/Vocab_Scripts/GenerateVocab-BART/GenerateSubwordsBART.py
pointer only (licence: NONE) · get_code("e3c19f394696636a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gb-kgp/MEDVOC when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 0 the same month, 1 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
str2bool 82 other papers
76 dated earlier, 6 later
1510.03055 (2015-10)
A Diversity-Promoting Objective Function for Neural Conversation Models
1703.06490 (2017-03)
Generating Multi-label Discrete Patient Records using Generative Adversarial Networks
1710.10467 (2017-10)
Generalized End-to-End Loss for Speaker Verification
and 79 more not named here
all_gather_list 5 other papers
5 dated earlier
1908.08345 (2019-08)
Text Summarization with Pretrained Encoders
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
and 2 more not named here
is_master 5 other papers
5 dated earlier
1908.08345 (2019-08)
Text Summarization with Pretrained Encoders
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
and 2 more not named here
rouge_results_to_str 5 other papers
5 dated earlier
1905.13164 (2019-05)
Hierarchical Transformers for Multi-Document Summarization
1908.08345 (2019-08)
Text Summarization with Pretrained Encoders
1910.14142 (2019-10)
Discourse-Aware Neural Extractive Text Summarization
and 2 more not named here
has_repeat 3 other papers
3 dated earlier
1908.08345 (2019-08)
Text Summarization with Pretrained Encoders
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews
n_grams 3 other papers
3 dated earlier
1908.08345 (2019-08)
Text Summarization with Pretrained Encoders
2004.14135 (2020-04)
BERT Fine-tuning For Arabic Text Summarization
aaai_16089 (2021 (year only))
Automated Lay Language Summarization of Biomedical Scientific Reviews

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

This work presents a dynamic vocabulary adaptation strategy, MEDVOC, for fine-tuning pretrained language models (PLMs) like BertSum-Abs, BART, and PEGASUS for improved medical text summarization. In contrast to existing domain adaptation approaches in summarization, MEDVOC treats vocabulary as an optimizable parameter and optimizes the PLM vocabulary based on fragment score conditioned only on the downstream task's reference summaries. Unlike previous works on vocabulary adaptation (limited only to classification tasks), optimizing vocabulary based on summarization tasks requires an extremely costly intermediate fine-tuning step on large summarization datasets. To that end, our novel fragment score-based hyperparameter search very significantly reduces this fine-tuning timefrom 450 days to less than 2 days on average. Furthermore, while previous works on vocabulary adaptation are often primarily tied to single PLMs, MEDVOC is designed to be deployable across multiple PLMs (with varying model vocabulary sizes, pre-training objectives, and model sizes) -bridging the limited vocabulary overlap between the biomedical literature domain and PLMs. MEDVOC outperforms baselines by 15.74% in terms of Rouge-L in zero-shot setting and shows gains of 17.29% in high Out-Of-Vocabulary (OOV) concentrations. Our human evaluation shows MEDVOC generates more faithful medical summaries (88% compared to 59% in baselines).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.04163")
get_code_for_paper("2405.04163")
have("2405.04163")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.04163.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.04163.svg)](https://syntology.ai/paper/2405.04163)

Connect an agent — have() is free.