Skip to content
Open access

Context-aware image captioning using cosine transformer attention and optimal vision transformer with improved walrus optimization algorithm

Aug 2026 · Scientific Reports · 0 citations

TL;DR

A new encoder-decoder architecture, that utilizes optimal vision transformer + attention to the transformer by using cosine distance in order to get more context by providing better mapping and outputs with better contextual details and flow of natural language, semantic fidelity.

Abstract

Automatic image captioning aims to acquire the learning of the correlation between the visual and the linguistic cognitive domain through the generation of descriptive captions with respect to input images. But it is affected by the semantic distance between image features and text, and problems in modeling fine-grained object interactions and contexts. We present a new encoder-decoder architecture, that utilizes optimal vision transformer + attention to the transformer by using cosine distance in order to get more context by providing better mapping. It relies on Inception-V3 to acquire fine-grained visual features and skip-gram features of the textual semantics. Another algorithm named improved walrus optimization dynamically updates the key hyperparameters to enhance convergence and performance. Experiments on the MS-COCO and Flickr8k datasets show that it is better than prior methods with BLEU-4 scores of 0.8864 and 0.8920, and higher performance gains in ROUGE, METEOR and CIDEr scores. In conclusion, the method outputs with better contextual details and flow of natural language, semantic fidelity. It is optimal in practice due to its cosine attention and adaptive tuning.

Read PDF

Similar papers

Open access Oct 2026

Voice-enhanced image caption generation with vision transformers and Google Cloud TTS

Today, when it comes to the digital world, engaging image captions are crucial to such industries as travel, where the strong visuals play a crucial role in attracting the audience. Nonetheless, manual captioning is both time-consuming and usually lacks the subtlety of a scene. The paper presents an AI-based model of...

Srujana Inturi, Vanitha Guda, M. V. K. Reddy · 0 citations
Conference Sep 2026

A New CLIP Based Domain-Specific Image-Text Alignment Approach for VQA and Image Captioning in Interpretation of Crowd Images

With the development of attention mechanisms and transformer architectures, multi-mode problems such as automated image annotation and visual question-and-answer can be solved with high performance. The difficulty of these types of problems varies depending on the domain to which the image data belongs and the semantic...

Turan Goktug Altundogan, Selen Gürbüz, M. Karakose · 0 citations
Open access Sep 2026

ConvNeXt-Driven Image Captioning in Hindi with Adaptive Attention and Transformer Decoder

This work presents a unified deep learning framework for automatic Hindi image caption generation in low-resource settings. The framework combines a ConvNeXt encoder, an SE-inspired adaptive attention module, and a Transformer decoder to improve visual representation learning and generate contextually relevant Hindi de...

Anjali Sharma, Mayank Aggarwal · 0 citations
Conference Open access Sep 2026

Auxiliary text-guided image restoration for image-text matching

A new ITM framework that improves the model's discriminative performance by focusing on localized core attributes and has a better robustness in handling highly similar hard negatives, which provides a new way to address cross-modal hard sample discrimination.

Ya-Ting Liu, Kuang-Rong Hao · 0 citations
Sep 2026

Difference-Aware Multi-Grained Feature Learning With Memory-Attended Joint Interaction Transformer for Image Difference Captioning.

Image Difference Captioning (IDC) aims to describe semantic changes between a pair of similar images using natural language. Most existing approaches rely on off-the-shelf visual backbones to extract features from image pairs. However, these backbones, pre-trained for single-image understanding, often struggle to captu...

Yun-Bin Tu, Liang Li, Li Su et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.