Komparasi Kinerja Model Image Captioning Berbasis Attention Berdasarkan Representasi Objek YOLOv8 Dan Faster R-CNN Object Detection
Performance Comparison Of Attention-Based Image Captioning Models Using Object Representations From YOLOv8 And Faster R-CNN Object Detection
Attention-based image captioning models generally rely on global CNN-based visual features that do not explicitly represent objects, leading to captions that may lack rich semantic detail. This study aims to explain the integration of YOLOv8 and Faster R-CNN object features into an attention-based image captioning model and to compare their performance against a baseline. This research employed a comparative quantitative experimental approach conducted computationally using Flickr8k, Flickr30k, and MS-COCO52K as data sources. The data were collected from public datasets, while the research instruments included Xception, YOLOv8, Faster R-CNN, Bahdanau Attention, GRU, and evaluation metrics such as BLEU 1-4, METEOR, ROUGE-L, CIDEr, and SPICE. Feature integration was implemented using the Dual-Projection Feature Fusion scheme, combining 100 spatial Xception features and 20 object features via independent Dense projections into a 256-dimensional space. A total of 54 experiments were conducted by combining three model scenarios, three hyperparameter configurations, two batch sizes, and three datasets. The results show that the Two-Stage Faster R-CNN scenario achieved better performance on small to medium-scale datasets, with the greatest improvement on Flickr30k at ΔCIDEr +0.0262. However, on MS-COCO52K, object-based scenarios showed reduced performance compared to the baseline. Config-3, with label smoothing ε=0.1 and a minimum teacher forcing of 40% using batch size 16, became the best configuration. Therefore, the effectiveness of object feature integration depends on dataset characteristics, whereas hyperparameter optimization yields a more consistent impact. Future research is recommended to use ROI visual features and the standard Karpathy split.