Skip to main content
QUICK REVIEW

[Paper Review] Image Captioning and Classification of Dangerous Situations

Octavio Arriaga, Paul G. Plöger|arXiv (Cornell University)|Nov 7, 2017
Multimodal Machine Learning ApplicationsComputer Science10 references4 citations
TL;DR

This paper introduces a novel deep learning framework that combines image captioning and anomaly detection for dangerous situations using a single image input. It proposes a CNN-LSTM-MLP architecture trained on a new dataset of 1,008 captioned images, achieving 97% classification accuracy and a METEOR score of 16.2, enabling robots to describe anomalies in natural language for improved situational awareness in real-world applications like healthcare and patrolling.

ABSTRACT

Current robot platforms are being employed to collaborate with humans in a wide range of domestic and industrial tasks. These environments require autonomous systems that are able to classify and communicate anomalous situations such as fires, injured persons, car accidents; or generally, any potentially dangerous situation for humans. In this paper we introduce an anomaly detection dataset for the purpose of robot applications as well as the design and implementation of a deep learning architecture that classifies and describes dangerous situations using only a single image as input. We report a classification accuracy of 97 % and METEOR score of 16.2. We will make the dataset publicly available after this paper is accepted.

Motivation & Objective

  • To address the lack of publicly available, real-world datasets for detecting dangerous situations in robotics applications.
  • To develop a unified deep learning architecture that classifies and describes anomalies in images using only a single input image.
  • To improve robotic situational awareness by generating natural language descriptions of anomalies, such as injuries, fires, or fights, rather than relying solely on binary or multi-class labels.
  • To demonstrate that full textual descriptions of anomalies provide more actionable information than simple classification labels.

Proposed method

  • The model uses a joint CNN-LSTM-MLP architecture, where a pre-trained GoogLeNet network extracts image features from the penultimate layer, producing a 2048-dimensional vector.
  • These image features are fed into a Long Short-Term Memory (LSTM) network to generate a sequence of words in natural language, forming a descriptive caption.
  • The language model is trained end-to-end to maximize the likelihood of ground-truth captions given the input image, using cross-entropy loss and stochastic gradient descent.
  • The training dataset consists of 1,008 captioned images from real-world scenarios, covering eight dangerous classes: broken windows, injured people, fights, explosions, car accidents, fire accidents, guns, and domestic violence.
  • The model is fine-tuned using a combination of the IAPR-2012 and the newly introduced anomaly detection (AD) dataset to improve generalization and performance.
  • A soft-target representation strategy is empirically explored to improve METEOR scores, suggesting that distributing probability mass across synonyms may outperform hard one-hot encoding in captioning tasks.

Experimental results

Research questions

  • RQ1Can a single deep learning model effectively classify and describe dangerous situations in images using only visual input?
  • RQ2Does generating full natural language descriptions of anomalies provide more actionable information than simple classification labels?
  • RQ3How does the choice of target representation (e.g., one-hot vs. soft-embedding) affect the performance of image captioning models, particularly in terms of METEOR score?
  • RQ4Can a unified architecture trained on a diverse, real-world anomaly dataset generalize across multiple dangerous scenarios such as fires, injuries, and violence?

Key findings

  • The proposed model achieves a classification accuracy of 97% on the anomaly detection task, demonstrating strong performance in identifying dangerous situations from a single image.
  • The model obtains a METEOR score of 16.2, indicating a reasonable level of semantic similarity between generated and reference captions.
  • Generated captions such as 'a man is holding a gun' and 'there is a woman with blood on the floor' demonstrate the model's ability to produce semantically rich, contextually relevant descriptions.
  • The model outperforms simple classification models by capturing not only the presence of an anomaly but also the nature of the event, such as 'a man is choking another man', which conveys critical behavioral context.
  • Empirical results show that the METEOR score peaks several epochs after the validation loss and accuracy reach their minimum, suggesting a disconnect between optimization objectives and human-aligned evaluation metrics.
  • The study identifies a potential improvement path by using soft-target representations (e.g., word embeddings or synonym distributions) to better align with the synonym-matching mechanism of the METEOR metric.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.