Comparison of Fine-tuned and Frozen BiomedCLIP Encoders for Image Captioning of Cervical VIA Images with LSTM and BiLSTM Decoders
Visual Inspection with Acetic Acid (VIA) is a low-cost cervical cancer screening method, but its interpretation depends on the examiner and is often subjective. Existing artificial intelligence models for VIA images mostly output class labels or lesion areas without stating the visual findings behind the decision. This study applies image captioning to describe the findings in a VIA image as a sentence and examines which component most affects caption quality. Four configurations were built by combining two encoder treatments, a fine-tuned and a frozen BiomedCLIP encoder, with two decoders, Long Short-Term Memory (LSTM) and Bidirectional LSTM (BiLSTM). The dataset consists of 185 image–caption pairs from the IARC Image Bank VIA, split by stratification into 166 training and 19 test pairs. Caption quality was measured with BLEU, METEOR, ROUGE-L, and CIDEr, supported by the cosine similarity between test image features and the conclusion accuracy against a majority-class baseline. The fine-tuned encoder with the BiLSTM decoder achieved the highest scores, with a BLEU-4 of 74.98, METEOR of 83.77, ROUGE-L of 80.70, and CIDEr of 7.0212. The frozen encoder produced nearly uniform features, with a cosine similarity of 0.7634 compared with 0.2192 after fine-tuning, and generated only one or two distinct sentences across 19 test images. Its conclusion accuracy was 47.06%, below the baseline of 52.94%, whereas the fine-tuned encoder reached 70.59%. These results indicate that encoder fine-tuning is the main factor in captioning VIA images, while the choice between LSTM and BiLSTM has a smaller effect.
Authors
- Siti Nurmaini (ORCID: https://orcid.org/0000-0002-8024-2952)
- Tengku Kevin Juldianto
- Firdaus
Institutions
- Sriwijaya University (ID)
Publication Details
- Journal
- Teknika
- Published
- 2026-11-24
- DOI
- https://doi.org/10.34148/teknika.v15i3.1593
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00