Neighborhood Contrastive Transformer for Change Captioning

Yunbin Tu, Liang Li, Li Su, Ke Lu, Qingming Huang
3/6/2023
cs.CVcs.CLcs.MM

Official code: tuyunbin/NCT (13 stars, last commit 2023-08-30).

Abstract

Change captioning is to describe the semantic change between a pair of similar images in natural language. It is more challenging than general image captioning, because it requires capturing fine-grained change information while being immune to irrelevant viewpoint changes, and solving syntax ambiguity in change descriptions. In this paper, we propose a neighborhood contrastive transformer to improve the model's perceiving ability for various changes under different scenes and cognition ability for complex syntax structure. Concretely, we first design a neighboring feature aggregating to integrate neighboring context into each feature, which helps quickly locate the inconspicuous changes under the guidance of conspicuous referents. Then, we devise a common feature distilling to compare two images at neighborhood level and extract common properties from each image, so as to learn effective contrastive information between them. Finally, we introduce the explicit dependencies between words to calibrate the transformer decoder, which helps better understand complex syntax structure during training. Extensive experimental results demonstrate that the proposed method achieves the state-of-the-art performance on three public datasets with different change scenarios. The code is available at https://github.com/tuyunbin/NCT.

View on arXivView PDF

Code Implementations(1)

tuyunbin/NCTOfficial100%

[IEEE TMM 2023] This is the Pytorch code for our paper "Neighborhood Contrastive Transformer for Change Captioning".

130PythonFeb 27, 20233 years ago
change-captioningclevr-change-datasetclevr-dc-datasetimage-editing-request-dataset

Similar Papers

Cite this paper

@article{tu2023neighborhood,
  title  = {Neighborhood Contrastive Transformer for Change Captioning},
  author = {Yunbin Tu and Liang Li and Li Su and Ke Lu and Qingming Huang},
  year   = {2023},
  eprint = {2303.03171},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.03171v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.03171.svg)](https://codeofpaper.com/paper/2303.03171)

Discussion