arXiv:2610.30661cs.CVOct 2026

Manuscript Offprint

arXiv:2610.30661

Class-Grounded Batik Captioning under Scarce Text Annotation: Label Retention and Source-Specific Error Propagation

Novanto Yudistira, Muhammad Dzaka Aufa Fadhillah, Irawati Nurmala Sari

Novanto Yudistira, Muhammad Dzaka Aufa Fadhillah, and Irawati Nurmala Sari

Universitas Brawijaya, Malang, Indonesia

Preprint. 22 October 2026.

Abstract. Class labels offer compact supervision for describing cultural-heritage images when expert text annotations are scarce. We investigate a batik-captioning cascade that integrates a LoRA-adapted DINOv2 classifier with Qwen2.5-VL-7B, adapted using LoRA and loaded in 4-bit NF4. A 3×23 \times 2 evaluation combines three captioner conditions with two inference prompts to examine adaptation and predicted-class injection. Across 150 caption-evaluation images, all three injected conditions achieve a ground-truth class-label mention rate of 0.9067. The classifier's separate test yields 96.10% pooled accuracy, with 98.33% on 300 public-source images and 75.76% on 33 local images. Supported-class macro-F1 and balanced accuracy on the local subset are 0.8493 and 0.8302, respectively. The classifier and captioner use separate partitions, and their training-evaluation overlap remains unquantified. Differences in label semantics and training support also affect interpretation of the source-specific accuracy gap. Reference-based caption metrics and image-text compatibility scores produce different model rankings. Qualitative examples show both retention of correctly predicted identities and propagation of classification errors into fluent descriptions. These findings characterize how class conditioning preserves label information and transfers upstream errors into batik captions under scarce text annotation.

Keywords: batik · cultural heritage · image captioning · class injection · evaluation · vision-language models

1 Introduction

Cultural-heritage digitization frequently produces image collections with category labels and limited descriptive text. Batik archives exemplify this setting: a catalogue may identify a regional class or motif while providing sparse information about visible colors, ornaments, and spatial arrangement. Generating useful descriptions therefore requires a model to connect visual appearance with collection-specific terminology.

N. Yudistira et al.

Figure 1 introduces three batik images with their annotated regional classes and caption excerpts generated using predicted-class conditioning. The examples connect the captioning task to visible fabric patterns and illustrate how a classifier prediction can determine the cultural identity expressed in the text.

(a) Tasik Madu

Figure

Annotated class:

Malang

Generated caption

excerpt:

“the batik fabric features the malang motif, characterized by white motifs against a deep blue background. the dominant motif elements include stylized bees and honeycomb structures.”

(b) Bunga Nirwana 2

Figure

Annotated class:

Tulungagung

Generated caption

excerpt:

“the batik fabric features the trenggalek motif, characterized by red, blue, and white motifs. the dominant motif elements appear to be stylized leaves and flowers.”

(c) Melati Deret

Figure

Annotated class:

Lamongan

Generated caption

excerpt:

“the batik fabric features the trenggalek motif, characterized by deep red motifs. the dominant motif elements appear to be small, intricate designs that resemble traditional indonesian patterns.”

Fig. 1. Batik images and generated caption excerpts from Dataset A. Bold class names indicate the model's cultural attribution. The Malang identity in (a) agrees with the annotation; the Trenggalek identities in (b) and (c) conflict with the annotated Tulungagung and Lamongan classes. All outputs use the captioner adapted with class labels and a predicted-class inference prompt (CIFT-CI, defined in Section 4.2).

A vision-language model (VLM) can generate fluent descriptions, whereas reliable cultural attribution depends on recognizing the relevant class. These requirements motivate a two-stage framework in which a visual classifier predicts a cultural class and a captioner uses that prediction as contextual information. Previous studies have examined batik recognition and synthesis [7,14,18], culturally informed captioning [20], and classifier-guided radiology captioning [5].

Class conditioning also links the errors of the two stages. A correct prediction can introduce a collection-specific identity into the caption, while an incorrect prediction can produce a fluent description with an erroneous identity. Evaluation consequently needs to distinguish label retention, agreement with reference text, visual compatibility, and factual correctness. Repeated reference templates introduce a further challenge because lexical similarity can reward recurring expressions across visually different images.

We investigate these effects through a DINOv2–Qwen2.5-VL cascade. The evaluation crosses three captioner conditions with two inference prompts and examines class-label mention, caption metrics, classifier performance, and qualitative error patterns. The study contributes:

– a six-condition evaluation of captioner adaptation and inference-time class injection under scarce text annotation;

– an analysis of source-specific and class-specific classifier performance with explicit metric-averaging conventions; and

– an examination of label retention, caption-metric disagreement, downstream identity errors, and resource use.

The evaluation focuses on the behavior of class-conditioned caption generation under independently constructed classifier and captioner partitions. Section 5 defines this evaluation scope, and Section 7 discusses its implications for complete-cascade generalization.