MSSA: الانتباه المبسط المدفوع بالذاكرة والمقاييس المحسنة لتوليد تسميات الصور MSSA: memory-driven and simplified scaled attention for enhanced image captioning

شارك:
المجلة: Scientific Reports، المجلد: 16، العدد: 1
DOI: https://doi.org/10.1038/s41598-026-40164-8
PMID: https://pubmed.ncbi.nlm.nih.gov/41748656
تاريخ النشر: 2026-02-26
المؤلف: Mohammad Alamgir Hossain وآخرون
الموضوع الرئيسي: تطبيقات تعلم الآلة متعددة الوسائط

نظرة عامة

تقدم الورقة إطارًا جديدًا لتوليد تسميات الصور يسمى الانتباه المبني على الذاكرة والمبسط (MSSA)، والذي يهدف إلى تحسين التكامل متعدد الوسائط وتوليد التسميات. يستخدم MSSA استخراج الميزات متعددة الوسائط الموسعة، ويشمل مجموعة شاملة من الميزات مثل الخصائص الهندسية، واللون، والملمس، والحواف، وخصائص مجال التردد. تعزز مجموعة الميزات المتنوعة هذه فهم المشاهد البصرية المعقدة. يستخدم الإطار آليتين رئيسيتين: الانتباه المبني على الذاكرة (MDA)، الذي يقوم بتحسين محاذاة العناصر البصرية والنصية بشكل تكراري باستخدام نهج ذاكرة قائم على LSTM، والانتباه المبسط (SSA)، الذي يقوم بنمذجة التفاعلات المكانية والدلالية والسياقية بكفاءة.

تشير النتائج من التجارب الواسعة على مجموعة بيانات COCO إلى أن MSSA يحقق أداءً رائدًا في المجال عبر مقاييس مختلفة، بما في ذلك BLEU، METEOR، ROUGE-L، CIDEr، وSPICE، متفوقًا على المعايير المعروفة مثل X-LAN وMeshed-Memory. تؤكد دراسات الإزالة مساهمات كل مكون، بينما تظهر التحليلات النوعية قدرة MSSA على توليد تسميات مفصلة ودقيقة سياقيًا، خاصة في السياقات المكانية المعقدة. تقترح الورقة اتجاهات بحث مستقبلية، بما في ذلك دمج نماذج الرؤية-اللغة المدربة مسبقًا، وتوليد تسميات متعددة اللغات، وتطوير نسخ خفيفة الوزن للتطبيقات في الوقت الحقيقي. بشكل عام، يؤسس MSSA بنية قوية لتكامل الميزات متعددة الوسائط وتوليد التسميات، مما يمهد الطريق للتقدم في توليد تسميات الصور والحقول ذات الصلة.

مقدمة

تناقش مقدمة الورقة البحثية أهمية توليد تسميات الصور في رؤية الكمبيوتر، والتي تتضمن إنشاء أوصاف باللغة الطبيعية من المحتوى البصري. استخدمت الطرق المبكرة الشبكات العصبية التلافيفية (CNNs) لاستخراج الميزات والشبكات العصبية المتكررة (RNNs) لتوليد النص، لكنها واجهت صعوبة في محاذاة التفاصيل البصرية المعقدة مع التسميات المولدة. أدت مقدمة آليات الانتباه إلى تحسين كبير، مما سمح للنماذج بالتركيز على مناطق معينة من الصورة أثناء توليد النص. ومع ذلك، غالبًا ما تفشل آليات الانتباه التقليدية، التي تستخدم تمثيلات خطية، في التقاط العلاقات المعقدة وغير الخطية الموجودة في الصور المعقدة.

للتغلب على هذه القيود، تقدم الورقة إطار الانتباه المبني على الذاكرة والمبسط (MSSA)، الذي يعزز تكامل الميزات متعددة الوسائط لتوليد تسميات الصور. يتناول MSSA تحديات الأخطاء المبكرة في الانتباه، وميزات المناطق المزعجة، والحاجة إلى تأصيل دقيق بين الكلمات والمناطق. يتضمن ثلاث ابتكارات رئيسية: إثراء أوصاف المناطق بإشارات منخفضة المستوى لتقليل الغموض، وتحسين محاذاة الكلمات والمناطق بشكل تكراري من خلال ذاكرة قائمة على LSTM، وتبسيط آلية الانتباه من خلال إزالة التحكم غير الضروري على مستوى القناة. تهدف هذه التقدمات إلى تحسين قدرة النموذج ودقته في توليد التسميات لمحتوى بصري متنوع.

طرق

في هذا القسم، أجرى المؤلفون دراسة إزالة لتقييم مساهمات المكونات المختلفة داخل إطار الانتباه الدلالي متعدد الوسائط (MSSA)، باستخدام مجموعة اختبار COCO Karpathy خلال مرحلة تحسين CIDEr. دمجت الدراسة بشكل متتابع ثلاث تحسينات: الميزات متعددة الوسائط الموسعة، وآلية الانتباه المبني على الذاكرة (MDA)، ووحدة الانتباه المبسط (SSA)، مع تقييم تأثيراتها على أداء التسمية مقارنة بنموذج أساسي استخدم فقط الميزات البصرية من Faster R-CNN ومفكك LSTM.

تشير النتائج، الملخصة في الجدول 10، إلى أن كل إضافة حسنت الأداء بشكل كبير عبر مقاييس متعددة، بما في ذلك BLEU@N، METEOR، ROUGE-L، CIDEr، وSPICE. على وجه التحديد، حسنت إدخال الميزات متعددة الوسائط الموسعة غنى أوصاف الصور، بينما حسنت آلية MDA بشكل ملحوظ محاذاة الميزات، مما أدى إلى زيادات في درجات CIDEr وSPICE. قدمت وحدة SSA أكبر المكاسب، حيث رفعت BLEU@4 من 39.0 إلى 40.0 وCIDEr من 129.7 إلى 131.4، مما يؤكد دورها الحاسم في تعزيز كل من الطلاقة والعمق الدلالي في التسميات المولدة. تؤكد هذه النتائج خيارات تصميم إطار MSSA وتظهر تفوقه على النسخ الأبسط.

نقاش

تسلط قسم النقاش في الورقة البحثية الضوء على التقدمات التي قدمها إطار MSSA في توليد تسميات الصور، مع التركيز على ثلاث ابتكارات رئيسية: استخراج الميزات متعددة الوسائط الموسعة، والانتباه المبني على الذاكرة (MDA)، والانتباه المبسط (SSA). يعزز الإطار الطرق التقليدية من خلال دمج مجموعة أوسع من ميزات الصورة—مثل الأوصاف الهندسية، والملمس، والحواف، وخصائص مجال التردد—مما يسمح بفهم أكثر دقة للصور المعقدة. تسهل مجموعة الميزات الشاملة قدرة النموذج على التقاط كل من الإشارات البصرية العالمية والمحلية، وهو أمر حاسم لتحليل الصور بدقة تحتوي على عدة كائنات وتفاعلات.

تقوم آلية MDA، التي تستخدم شبكات الذاكرة طويلة وقصيرة المدى (LSTM)، بتحسين محاذاة الميزات البصرية والنصية بشكل تكراري، مع التركيز ديناميكيًا على الجوانب الأكثر صلة بالصورة والنص في كل خطوة من خطوات فك التشفير. تقلل هذه الطريقة التكرارية من الأخطاء المبكرة في الانتباه وتعزز متانة النموذج في توليد تسميات متماسكة. بالإضافة إلى ذلك، تبسط آلية SSA عملية الانتباه من خلال استخدام الانتباه القائم على ضرب النقاط المقاسة دون التحكم المعقد، مما يحسن الكفاءة مع الحفاظ على اختيار مكاني دقيق لمناطق الاهتمام (RoIs). بشكل جماعي، تؤدي هذه الابتكارات إلى إطار أكثر مرونة ودقة سياقيًا لتوليد تسميات الصور، مما ينتج تسميات غنية دلاليًا ومتوافقة بشكل أفضل مع المحتوى البصري. تقدم الورقة أدلة تجريبية تدعم هذه الادعاءات من خلال مقارنات لمقاييس أداء النموذج، مثل المعلمات، وFLOPs، وزمن الاستدلال.

Journal: Scientific Reports, Volume: 16, Issue: 1
DOI: https://doi.org/10.1038/s41598-026-40164-8
PMID: https://pubmed.ncbi.nlm.nih.gov/41748656
Publication Date: 2026-02-26
Author(s): Mohammad Alamgir Hossain et al.
Primary Topic: Multimodal Machine Learning Applications

Overview

The paper presents a novel framework for image captioning called Memory-Driven and Simplified Scaled Attention (MSSA), which aims to improve multimodal integration and caption generation. MSSA utilizes Extended Multimodal Feature Extraction, incorporating a comprehensive set of features such as geometric, color, texture, edge, and frequency-domain characteristics. This diverse feature set enhances the understanding of complex visual scenes. The framework employs two primary mechanisms: Memory-Driven Attention (MDA), which iteratively refines the alignment of visual and textual elements using an LSTM-based memory approach, and Simplified Scaled Attention (SSA), which efficiently models spatial, semantic, and contextual interactions.

The results from extensive experiments on the COCO dataset indicate that MSSA achieves state-of-the-art performance across various metrics, including BLEU, METEOR, ROUGE-L, CIDEr, and SPICE, outperforming established baselines like X-LAN and Meshed-Memory. Ablation studies validate the contributions of each component, while qualitative analyses demonstrate MSSA’s capability to generate detailed and contextually accurate captions, especially in complex spatial contexts. The paper suggests future research directions, including the integration of large pre-trained vision-language models, multilingual captioning, and the development of lightweight variants for real-time applications. Overall, MSSA establishes a robust architecture for multimodal feature integration and caption generation, paving the way for advancements in image captioning and related fields.

Introduction

The introduction of the research paper discusses the significance of image captioning in computer vision, which involves generating natural language descriptions from visual content. Early methods employed Convolutional Neural Networks (CNNs) for feature extraction and Recurrent Neural Networks (RNNs) for text generation, but struggled with aligning complex visual details with generated captions. The introduction of attention mechanisms marked a significant improvement, allowing models to focus on specific image regions during text generation. However, traditional attention mechanisms, which utilize linear representations, often fail to capture the intricate, non-linear relationships present in complex images.

To overcome these limitations, the paper introduces the Memory-Driven and Simplified Scaled Attention (MSSA) framework, which enhances multimodal feature integration for image captioning. MSSA addresses the challenges of early attention mistakes, noisy region features, and the need for fine-grained region-word grounding. It incorporates three key innovations: enriching region descriptors with low-level cues to reduce ambiguity, iteratively refining region-word alignment through an LSTM-based memory, and simplifying the attention mechanism by eliminating unnecessary channel-wise gating. These advancements aim to improve the model’s adaptability and accuracy in generating captions for diverse visual content.

Methods

In this section, the authors conducted an ablation study to assess the contributions of various components within the Multimodal Semantic Attention (MSSA) framework, utilizing the COCO Karpathy test split during the CIDEr optimization phase. The study sequentially integrated three enhancements: Extended Multimodal Features, the Memory-Driven Attention (MDA) mechanism, and the Simplified Scaled Attention (SSA) module, evaluating their effects on captioning performance against a baseline model that utilized only visual features from Faster R-CNN and an LSTM decoder.

The results, summarized in Table 10, indicate that each addition significantly improved performance across multiple metrics, including BLEU@N, METEOR, ROUGE-L, CIDEr, and SPICE. Specifically, the introduction of Extended Multimodal Features enhanced the richness of visual descriptors, while the MDA mechanism notably improved feature alignment, leading to increases in CIDEr and SPICE scores. The SSA module provided the most substantial gains, raising BLEU@4 from 39.0 to 40.0 and CIDEr from 129.7 to 131.4, thereby affirming its critical role in enhancing both fluency and semantic depth in generated captions. These findings validate the design choices of the MSSA framework and demonstrate its superiority over simpler variants.

Discussion

The discussion section of the research paper highlights the advancements introduced by the MSSA framework in image captioning, emphasizing three key innovations: extended multimodal feature extraction, Memory-Driven Attention (MDA), and Simplified Scaled Attention (SSA). The framework enhances traditional methods by integrating a wider array of image features—such as geometric, texture, edge, and frequency-domain descriptors—allowing for a more nuanced understanding of complex images. This comprehensive feature set facilitates the model’s ability to capture both global and local visual cues, which is critical for accurately analyzing images with multiple objects and interactions.

The MDA mechanism, which employs Long Short-Term Memory (LSTM) networks, iteratively refines the alignment between visual and textual features, dynamically focusing on the most relevant aspects of the image and text at each decoding step. This iterative approach mitigates early misattention and enhances the robustness of the model in generating coherent captions. Additionally, the SSA mechanism simplifies the attention process by utilizing scaled dot-product attention without complex gating, improving efficiency while maintaining precise spatial selection of Regions of Interest (RoIs). Collectively, these innovations lead to a more flexible and contextually accurate framework for image captioning, resulting in captions that are semantically rich and better aligned with the visual content. The paper provides empirical evidence supporting these claims through comparisons of model performance metrics, such as parameters, FLOPs, and inference latency.