Pre-Trained CNN Architecture for Transformer-Based Image Caption Generation Model
By: Amanuel Tafese Dufera
Potential Business Impact:
Computers describe pictures faster and better.
Automatic image captioning, a multifaceted task bridging computer vision and natural lan- guage processing, aims to generate descriptive textual content from visual input. While Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks have achieved significant advancements, they present limitations. The inherent sequential nature of RNNs leads to sluggish training and inference times. LSTMs further struggle with retaining information from earlier sequence elements when dealing with very long se- quences. This project presents a comprehensive guide to constructing and comprehending transformer models for image captioning. Transformers employ self-attention mechanisms, capturing both short- and long-range dependencies within the data. This facilitates efficient parallelization during both training and inference phases. We leverage the well-established Transformer architecture, recognized for its effectiveness in managing sequential data, and present a meticulous methodology. Utilizing the Flickr30k dataset, we conduct data pre- processing, construct a model architecture that integrates an EfficientNetB0 CNN for fea- ture extraction, and train the model with attention mechanisms incorporated. Our approach exemplifies the utilization of parallelization for efficient training and inference. You can find the project on GitHub.
Similar Papers
Attention-based transformer models for image captioning across languages: An in-depth survey and evaluation
CV and Pattern Recognition
Makes computers describe pictures in many languages.
A Novel Lightweight Transformer with Edge-Aware Fusion for Remote Sensing Image Captioning
CV and Pattern Recognition
Makes satellite pictures tell better stories.
Bridging Short- and Long-Term Dependencies: A CNN-Transformer Hybrid for Financial Time Series Forecasting
General Economics
Predicts stock prices better by seeing short and long trends.