Skip to main content
Article
100%
HD

Image captioning tackles turning a photo into a sentence that tells its story. Traditional models focus on the most obvious objects, ignoring background and minor details. The new approach merges ResNet, LSTM and a topic module based on Faster R-CNN. ResNet extracts fine visual features, sharpening the description of each element. LSTM handles the sequential context, making sentences smoother and more coherent. The topic component identifies multiple themes in the scene, guiding the generation of varied captions. Thus the system goes beyond the main subject, also including background or barely visible objects. Tests on MSCOCO show a jump in higher-order BLEU scores and a marked improvement in CIDEr, a semantic consistency metric. In practice, the network can narrate a photo like an attentive observer, noticing both the protagonist and surrounding elements. This progress opens doors to richer applications: assistants for the visually impaired, automatic catalogues, and content for augmented reality. The future of AI in vision looks increasingly able to grasp the world’s complexity.

Bonus
100%
HD

The proposed model follows a multi‑stage pipeline. First, a ResNet‑101 network pre‑trained on ImageNet provides high‑resolution activation maps. These maps are fed into a modified Faster R‑CNN, whose role is to generate region proposals for both large objects and smaller or background elements. Each proposal is linked to a feature vector that, through adaptive pooling, is reduced to a manageable size. In parallel, a topic‑modeling module, inspired by Latent Dirichlet Allocation (LDA) but adapted to the multimodal domain, analyzes both visual features and previously generated textual sequences. The outcome is a set of probability distributions over K topics, where K is empirically set (typically 5‑10). These distributions guide a conditioned LSTM decoder: the LSTM's initial hidden state is a concatenation of the global context vector (average of ResNet features) and the selected topic vector. During training, the combined loss includes a cross‑entropy term for sentence generation and a KL‑divergence penalty to maintain topic coherence. Optimization uses Adam with a decaying learning rate and warm‑up. Results on MSCOCO show a CIDEr increase of about 12 points over comparable baselines, indicating higher semantic fidelity. Qualitative analysis reveals captions often mention secondary objects, such as β€œa cat on the windowsill” or β€œa bike leaning against the wall,” demonstrating the model's ability to overcome the bias toward the main subject.

Ask AI

Explore key aspects of this story with 3 quick insights

Source

Authors:
Jui-Feng YehKuei-Mei LinChun-Chieh Chen
Date Published:
Original Article www.mdpi.com
Fact-check verified on 22/12/2025
Read our Editorial Guidelines & AI Ethics Policy
Creative Commons License CC BY-NC-SA 4.0

Keep exploring

Discover the full archive of science bites or head back to home

Riconnessione al server... Aggiornamento della sessione in corso
Connessione interrotta Impossibile stabilire il collegamento
Sessione aggiornata Ricarica per visualizzare i contenuti