Researchers led by Md. Bipul Hossen have developed and evaluated GAS-Net, an image captioning network that combines object spatial relationships, fine-grained visual attributes, and global scene context in a unified multimodal fusion framework. In a benchmark study published in the Journal of King Saud University Computer and Information Sciences, the team tested the model on MS COCO and Flickr30k. Under self-critical sequence training, GAS-Net achieved 39.4 BLEU-4 and 128.5 CIDEr on MS COCO, alongside 33.8 BLEU-4 and 73.6 CIDEr on Flickr30k. Across five repeated runs with different random seeds on MS COCO, GAS-Net recorded higher mean scores than the baseline Up-Down model on BLEU-4, METEOR, CIDEr, and SPICE, with paired t-tests showing statistically significant differences below a p-value of 0.05 across all four metrics.
The study addresses a persistent limitation in region-based image captioning systems. Conventional models rely heavily on local appearance features extracted from detected object regions, which capture what objects appear in an image but often miss how they are arranged, what properties they exhibit, and what environment surrounds them. As the authors note, distinguishing a man standing beside a horse from a man riding a horse requires spatial reasoning, describing a red bus or a sleeping dog depends on semantic attribute awareness, and disambiguating words such as bat or field often requires scene-level context. Although prior geometry-aware, attribute-aware, and scene-aware captioning models have targeted these cues, they frequently treat them in isolation or combine them through static concatenation that cannot adapt when one cue carries greater weight in a specific scene.
To integrate these complementary signals, the team implemented GAS-Net in PyTorch on top of a pretrained Faster R-CNN detector with a ResNet-101 backbone trained on Visual Genome. Kept frozen during captioning training, the detector extracts the top 36 object regions per image, supplying a 2048-dimensional visual feature vector and bounding-box coordinates for each region. The first specialized branch, the geometric attention module, computes pairwise spatial descriptors from those bounding boxes. Rather than using only unsigned coordinate magnitudes, the authors adopted a signed geometric representation that retains positive and negative horizontal and vertical offsets alongside logarithmic width and height ratios, allowing the network to distinguish left from right and above from below. After projecting these descriptors into a 512-dimensional embedding space, relation-aware aggregation weights informative spatial interactions instead of averaging all region pairs equally, then fuses the geometric context with region appearance features to guide visual attention.
The second and third attention branches extract semantic attributes and global scene cues using vocabularies built strictly from training-split captions, excluding validation and test captions from vocabulary construction, frequency filtering, and pseudo-label generation. For attributes, training captions undergo normalization, part-of-speech tagging for adjectives and relevant verb forms, removal of object-category words, frequency filtering with thresholds of five on MS COCO and three on Flickr30k, and TF-IDF ranking to capture descriptors such as red, wooden, sitting, and running. A multi-label classifier predicts attribute probabilities from mean-pooled visual features under binary cross-entropy loss, selecting the top ten attributes to embed and guide region attention. For scene context, a parallel training-only pipeline targets common nouns with frequency thresholds of ten on MS COCO and five on Flickr30k, then filters candidates via WordNet hypernyms linked to location, area, facility, structure, region, or place. A separate ImageNet-initialized ResNet-101 backbone trained on these pseudo-labels produces global scene features that modulate region attention.
Rather than merging the geometry, attribute, and scene attention vectors through simple summation or concatenation, GAS-Net integrates them through a two-stage multimodal fusion module. All three vectors are first projected into a shared 512-dimensional fusion space. In the first stage, cross-modal interaction computes pairwise interactions between geometry and attribute, geometry and scene, and attribute and scene features using element-wise multiplication and nonlinear projection, summing them into an interaction vector. In the second stage, triple gating attention applies learned sigmoid gates to each individual modality so the network can adaptively regulate spatial, attribute, and environmental contributions according to image content. The combined gated and interaction vector is injected into both layers of a two-layer Up-Down LSTM decoder, each with 1024 hidden units. Training runs in two stages on an NVIDIA GTX 1080 Ti GPU: 50 epochs of cross-entropy training with scheduled sampling and auxiliary attribute and scene losses weighted at 0.1 each, followed by up to 30 epochs of CIDEr-based self-critical sequence training and beam-search decoding with beam size three.
The team evaluated GAS-Net on the standard Karpathy splits of MS COCO (113,287 training, 5,000 validation, and 5,000 test images) and Flickr30k, with 29,000 training, 1,000 validation, and 1,000 test images, each paired with five human captions. Evaluation used five reference-based metrics (BLEU, METEOR, ROUGE-L, CIDEr, and SPICE) alongside CLIPScore, a reference-free metric measuring image-caption semantic compatibility. On MS COCO under cross-entropy training, GAS-Net reached 38.1 BLEU-4, 120.4 CIDEr, and 22.0 SPICE, outperforming the strongest region-aware baseline at 37.7 BLEU-4, Geo-TCAM at 37.1 BLEU-4 and 117.2 CIDEr, ADF and NPoSC-A3 at 36.8 BLEU-4, and all reported transformer-based models on cross-entropy CIDEr. Under reinforcement-learning fine-tuning, MS COCO performance rose to 39.4 BLEU-4, 128.5 CIDEr, 22.6 SPICE, and a CLIPScore of 76.3, matching the highest reported SPICE score while sitting slightly below VAT at 130.7 CIDEr. Against method-category averages on MS COCO, GAS-Net posted CIDEr gains from 0.8 percent over attribute-attention methods under SCST to 7.5 percent over scene-attention methods under cross-entropy training, though its SCST BLEU-2 score fell slightly below some category averages.
Results on the smaller Flickr30k dataset showed comparable generalization. Under cross-entropy training, GAS-Net achieved 30.9 BLEU-4, 54.8 BLEU-2, 51.1 ROUGE-L, 68.6 CIDEr, and 17.7 SPICE, outperforming ERS, SDVFR, and ADF on CIDEr by 3.5 to 4.3 points. After self-critical sequence training, scores reached 33.8 BLEU-4, matching the best-performing oracle model, alongside 25.4 METEOR, 53.9 ROUGE-L, 18.5 SPICE, and a CLIPScore of 73.8, while its 73.6 CIDEr score remained competitive but slightly below ERS at 74.6 and SDVFR at 73.8. Leave-one-out ablation experiments on MS COCO confirmed that each component contributed to final performance: relative to the full model, removing geometric attention lowered CIDEr by 2.6 points, removing attribute attention reduced it by 2.2 points, and removing scene attention caused a 1.9-point drop. Removing cross-modal interaction or triple gating attention reduced CIDEr by 0.7 and 0.8 points, respectively, while signed geometry with relation-aware aggregation outperformed unsigned and mean-aggregated variants on both benchmarks.
Qualitative examples, counterfactual tests, and attention visualizations illustrated how each branch shaped generated descriptions on MS COCO. In sample comparisons against the Up-Down baseline, GAS-Net corrected action errors, predicting walking across the street rather than riding and throwing rather than hitting, while incorporating fine-grained attributes such as orange and black or red shirt young boy, environmental details like dry grassy field near a dirt road, and multi-object phrases including pizza, salad, and drinks. In counterfactual tests selectively disabling individual branches, removing geometric attention weakened spatial descriptions, disabling attribute attention dropped object properties such as kayak color or luggage details, and removing scene attention narrowed captions toward local regions instead of broader settings. Word-by-word visual attention maps showed sharper localization than the baseline, concentrating on the hand, racket, and ball for hitting and the ground for court, while cross-caption textual attention heatmaps displayed more balanced alignment across object, attribute, and scene words.
The authors also profiled computational cost on a single NVIDIA GTX 1080 Ti GPU with a batch size of 32, excluding offline Faster R-CNN feature extraction. Compared with the Up-Down baseline’s 23.4 million parameters and 18.6 gigaflops, the captioning components of full GAS-Net contained 26.1 million parameters and required 21.2 gigaflops, using 5.1 gigabytes of GPU memory, 46.3 minutes per training epoch, and 34.1 milliseconds of inference latency per image. Among single-branch variants, attribute attention carried the highest reported compute load at 19.8 gigaflops. However, the paper flags an important accounting caveat: adding the separate ResNet-101 scene-classification backbone introduces roughly 42.5 million additional parameters, bringing the estimated total parameter count of full GAS-Net to 68.6 million. The authors note that these combined estimates require verification against the implementation and that the reported gigaflops, memory, training time, and latency reflect the original profiling setup rather than complete-model totals if the scene backbone was excluded.
Failure cases and stated study limitations highlight where GAS-Net still falls short. In cluttered MS COCO scenes, the model missed hard hats while generating an erroneous spatial relation of standing on a laptop, overlooked secondary context such as flowers near a window or factory smoke behind a train, missed a less visually salient cat alongside multiple dogs on a couch, and misread a dog’s position relative to shoes as well as a blue covering on a boat. More broadly, the architecture relies on predefined attention mechanisms, frozen pre-extracted region features, and auxiliary predictors that can propagate upstream errors, and it does not explicitly model temporal or causal relationships. Furthermore, the top-ten attribute count and beam size of three were selected through sensitivity analyses on the MS COCO test split, and overall evaluation relied primarily on automatic captioning metrics rather than systematic human evaluation of factual accuracy and semantic completeness.
Subject of Research: Multimodal image captioning using geometric, attribute, and scene-guided attention fusion
Article Title: GAS-Net: a context-enriched image captioning network with geometry, attribute, and scene-guided multimodal fusion
Article References: Hossen, M. B., Islam, M. R., Hossain, M. A., Rahman, M. S., & Rimi, N. N. (2026). GAS-Net: a context-enriched image captioning network with geometry, attribute, and scene-guided multimodal fusion. Journal of King Saud University Computer and Information Sciences, 38(10), Article 1102. https://doi.org/10.1007/s44443-026-01508-6
Image Credits: AI Generated
DOI: 10.1007/s44443-026-01508-6
Keywords: GAS-Net, image captioning, multimodal fusion, geometric attention, attribute attention, scene attention, cross-modal interaction, triple gating attention, Faster R-CNN, Up-Down LSTM, MS COCO, Flickr30k, self-critical sequence training, CIDEr, CLIPScore, Visual Genome, WordNet, beam search
News Source: Denise Maddox. (December 6, 2026). GAS-Net Improves Benchmark Image Captioning by Fusing Geometry, Attributes, and Scene. Scienmag.



