Enhancing language models with selective masking for thematic and misinformation classification in a One Health context

• Two-phase pipeline for domain adaptation and fine-tuning of language models. • Fine-tuning for classification tasks using a small amount of labeled data. • Novel selective masking strategies: SM-Lex-TFIDF and SM-NonLex-TFIDF. • Improved performance in thematic and misinformation classification in One Health. • A summary mapping each strategy to its most effective context. The objective of this paper is to address the scarcity of labeled textual data and improve the performance of language models in classification tasks within a One Health context by using small domain-specific labeled corpora. To address these challenges, we propose a two-phase training pipeline for language models, in which the first phase involves post-training guided by selective masking (SM) strategies to adapt the model to a specific domain. For this purpose, we propose two novel masking strategies: SM-Lex-TFIDF, which masks domain lexicon terms with high TF-IDF (term frequency-inverse document frequency) values, and SM-NonLex-TFIDF, which masks non-domain lexicon terms with high TF-IDF values. The second phase focuses on fine-tuning the model for the target classification task using small amounts of labeled data. To demonstrate the effectiveness of our approach, we focus on two related application areas within the One Health context, i.e., (i) thematic content in integrated health, covering the biomedical, plant health, and syndromic surveillance domains, and (ii) epidemic misinformation, to achieve improved One Health monitoring. We conduct extensive evaluations to assess the performance of our approach using three language models: BERT Base , SciBERT, and BioBERT. Additionally, we compare our method with low-resource LLM-based approaches, including zero/few-shot classification. Experimental results demonstrate significant improvements in the performance of the language models across classification tasks in both targeted areas, even with limited labeled data. Our approach outperforms zero/few-shot classification using LLaMA-3.1-8B and Mistral-7B in four out of the five datasets evaluated. Furthermore, we provide a summary mapping each strategy to its most effective context.

Authors

Institutions

Publication Details

Journal
Expert Systems with Applications
Published
2026-04-06
DOI
https://doi.org/10.1016/j.eswa.2026.132345
Primary Topic
Misinformation and Its Impacts
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing language models with selective masking for thematic and misinformation classification in a One Health context

Sarah Valentin, Najlae Idrissi, Mathieu ROCHE, Youssef Mahdoubi
Expert Systems with Applications
Misinformation and Its Impacts
article

Enhancing language models with selective masking for thematic and misinformation classification in a One Health context

Sarah Valentin, Najlae Idrissi, Mathieu ROCHE, Youssef Mahdoubi
article en

Abstract

• Two-phase pipeline for domain adaptation and fine-tuning of language models. • Fine-tuning for classification tasks using a small amount of labeled data. • Novel selective masking strategies: SM-Lex-TFIDF and SM-NonLex-TFIDF. • Improved performance in thematic and misinformation classification in One Health. • A summary mapping each strategy to its most effective context. The objective of this paper is to address the scarcity of labeled textual data and improve the performance of language models in classification tasks within a One Health context by using small domain-specific labeled corpora. To address these challenges, we propose a two-phase training pipeline for language models, in which the first phase involves post-training guided by selective masking (SM) strategies to adapt the model to a specific domain. For this purpose, we propose two novel masking strategies: SM-Lex-TFIDF, which masks domain lexicon terms with high TF-IDF (term frequency-inverse document frequency) values, and SM-NonLex-TFIDF, which masks non-domain lexicon terms with high TF-IDF values. The second phase focuses on fine-tuning the model for the target classification task using small amounts of labeled data. To demonstrate the effectiveness of our approach, we focus on two related application areas within the One Health context, i.e., (i) thematic content in integrated health, covering the biomedical, plant health, and syndromic surveillance domains, and (ii) epidemic misinformation, to achieve improved One Health monitoring. We conduct extensive evaluations to assess the performance of our approach using three language models: BERT Base , SciBERT, and BioBERT. Additionally, we compare our method with low-resource LLM-based approaches, including zero/few-shot classification. Experimental results demonstrate significant improvements in the performance of the language models across classification tasks in both targeted areas, even with limited labeled data. Our approach outperforms zero/few-shot classification using LLaMA-3.1-8B and Mistral-7B in four out of the five datasets evaluated. Furthermore, we provide a summary mapping each strategy to its most effective context.

Expert Systems with ApplicationsVol. 322
Centre National de la Recherche Scientifique (FR), Centre de Coopération Internationale en Recherche Agronomique pour le Développement (FR), Université de Montpellier (FR), AgroParisTech (FR), Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement (FR), Université Sultan Moulay Slimane (MA)
Agence Nationale de la Recherche, Centre National pour la Recherche Scientifique et Technique
Reduced inequalities
Openalex Percentile: Top 29%
Misinformation and Its Impacts
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.