Adaptively Clustering Neighbor Elements for Image-Text Generation

📅 2023-01-05
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the problem of poor text coherence in image-to-text generation, arising from insufficient alignment between visual and linguistic elements. To this end, we propose the Adaptive Clustering Fusion (ACF) model. Methodologically, ACF introduces a soft, learnable clustering window into the self-attention mechanism, enabling layer-wise hierarchical clustering of visual patches and text tokens—thereby implicitly establishing object-region–phrase alignment. Furthermore, it incorporates a data-driven dynamic clustering matrix that jointly models the visual encoder and language decoder, embedding cross-modal hierarchical knowledge into a parse-tree structure. Evaluated on image captioning and visual question answering, ACF substantially outperforms most state-of-the-art methods and achieves performance comparable to certain large-scale pretrained models. These results validate the effectiveness and generalizability of implicit hierarchical alignment for multimodal representation learning.
📝 Abstract
We propose a novel Transformer-based image-to-text generation model termed as extbf{ACF} that adaptively clusters vision patches into object regions and language words into phrases to implicitly learn object-phrase alignments for better visual-text coherence. To achieve this, we design a novel self-attention layer that applies self-attention over the elements in a local cluster window instead of the whole sequence. The window size is softly decided by a clustering matrix that is calculated by the current input data and thus this process is adaptive. By stacking these revised self-attention layers to construct ACF, the small clusters in the lower layers can be grouped into a bigger cluster, eg vision/language. ACF clusters small objects/phrases into bigger ones. In this gradual clustering process, a parsing tree is generated which embeds the hierarchical knowledge of the input sequence. As a result, by using ACF to build the vision encoder and language decoder, the hierarchical object-phrase alignments are embedded and then transferred from vision to language domains in two popular image-to-text tasks: Image captioning and Visual Question Answering. The experiment results demonstrate the effectiveness of ACF, which outperforms most SOTA captioning and VQA models and achieves comparable scores compared with some large-scale pre-trained models. Our code is available href{https://github.com/ZihuaEvan/ACFModel/}{[here]}.
Problem

Research questions and friction points this paper is trying to address.

Adaptively clusters vision patches into object regions
Implicitly learns object-phrase alignments for coherence
Builds hierarchical knowledge through gradual clustering process
Innovation

Methods, ideas, or system contributions that make the work stand out.

Adaptive clustering of vision patches and language words
Self-attention layer with local cluster windows
Hierarchical object-phrase alignment transfer
🔎 Similar Papers
No similar papers found.
Zihua Wang
Zihua Wang
PhD student of Southeast University
computer science
X
Xu Yang
School of Computer Science and Engineering, Key Lab of Computer Network and Information Integration (Ministry of Education), Southeast University, Nanjing 211189, China
H
Hanwang Zhang
School of Computer Science and Engineering, Nanyang Technological University, Singapore
H
Haiyang Xu
DAMO Academy, Alibaba Group
M
Mingshi Yan
DAMO Academy, Alibaba Group
F
Feisi Huang
DAMO Academy, Alibaba Group
Y
Yu Zhang
School of Computer Science and Engineering, Key Lab of Computer Network and Information Integration (Ministry of Education), Southeast University, Nanjing 211189, China