A context-aware outdoor image captioning via scene-guided preprocessing and vision–language modeling
Vision–language captioning models produce fluent descriptions on curated benchmarks, but their quality drops sharply when images are captured under poor illumination, haze or sensor noise, and the environmental context that shapes outdoor descriptions remains implicit inside the model. This paper proposes a Scene-Guided Context Enhancement Module (SGCEM) for a ViT-GPT2 encoder–decoder captioner. SGCEM extracts four explicit, human-readable environmental descriptors (illumination, colour temperature, sky visibility and scene type), uses the illumination descriptor to drive an adaptive photometric correction of the input, and injects all descriptors into the decoder as categorical context tokens, so that captions are generated from \(P\left(Y\mid I,C\right)\) instead of \(P\left(Y\mid I\right)\) . All models, ablations and public baselines are evaluated under one protocol on the 5,000-image Karpathy MSCOCO test split and on Flickr30k, and every experiment was repeated in two independent runs. Under adverse capture conditions SGCEM is markedly more robust than the ViT-GPT2 baseline: CIDEr rises from 115.3 to 124.2 under low light (+ 8.9) and from 120.5 to 123.6 under fog (+ 3.1), and the average degradation falls from 8.7 to 3.5 CIDEr (− 60%). SGCEM also transfers better across datasets in both directions (MSCOCO → Flickr30k + 0.8, Flickr30k → Flickr30k + 1.2 and Flickr30k → MSCOCO + 0.5 CIDEr), is insensitive to ± 20% changes of its thresholds, and preserves hallucination rates and explanation faithfulness. With 121.8 CIDEr and 22.3 SPICE on clean MSCOCO images, it outperforms BLIP-base and BLIP-large by more than 10 CIDEr while requiring 2.4–7.4 × less computation.
Authors
- Deepak Sudhakar Dharrao (ORCID: https://orcid.org/0000-0002-2540-6942)
- Prashant Ahire (ORCID: https://orcid.org/0000-0002-8101-7087)
- Kapil Tajane (ORCID: https://orcid.org/0000-0002-6289-2193)
- Rahul Pitale (ORCID: https://orcid.org/0009-0005-3466-7342)
- Madhuri Dharrao (ORCID: https://orcid.org/0009-0000-6392-5930)
- Snehankita Majalekar
Institutions
- Symbiosis International (Deemed University) (IN)
- Savitribai Phule Pune University (IN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-12-01
- DOI
- https://doi.org/10.1038/s41598-026-82064-x
- Primary Topic
- Multimodal Machine Learning Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00