Skip to main content
QUICK REVIEW

[Paper Review] Compact Trilinear Interaction for Visual Question Answering

Tuong Do, Thanh-Toan Do|arXiv (Cornell University)|Sep 26, 2019
Multimodal Machine Learning ApplicationsComputer Science42 references13 citations
TL;DR

This paper proposes a compact trilinear interaction (CTI) model that jointly learns high-level associations between image, question, and answer representations in Visual Question Answering (VQA), using PARALIND tensor decomposition to reduce computational complexity. The method achieves state-of-the-art performance on TDIUC, VQA-2.0, and Visual7W, with 72.3% accuracy on Visual7W using object-based features, and introduces knowledge distillation to adapt the trilinear model for free-form VQA inference.

ABSTRACT

In Visual Question Answering (VQA), answers have a great correlation with question meaning and visual contents. Thus, to selectively utilize image, question and answer information, we propose a novel trilinear interaction model which simultaneously learns high level associations between these three inputs. In addition, to overcome the interaction complexity, we introduce a multimodal tensor-based PARALIND decomposition which efficiently parameterizes trilinear interaction between the three inputs. Moreover, knowledge distillation is first time applied in Free-form Opened-ended VQA. It is not only for reducing the computational cost and required memory but also for transferring knowledge from trilinear interaction model to bilinear interaction model. The extensive experiments on benchmarking datasets TDIUC, VQA-2.0, and Visual7W show that the proposed compact trilinear interaction model achieves state-of-the-art results when using a single model on all three datasets.

Motivation & Objective

  • To address the lack of explicit joint modeling of image, question, and answer in existing VQA methods, which treat answers passively as classification targets.
  • To overcome the high computational and memory cost of full trilinear interactions between three modalities in VQA.
  • To enable effective application of trilinear interaction in free-form opened-ended VQA, where answers are not available at inference time.
  • To improve VQA performance by explicitly modeling high-level associations across all three inputs—image, question, and answer—simultaneously.

Proposed method

  • Proposes a compact trilinear interaction (CTI) layer that models interactions among image, question, and answer features via a trilinear form: $ z^T = (\mathcal{T} \times_1 \text{vec}(V)) \times_2 \text{vec}(Q) \times_3 \text{vec}(A) $, where $\mathcal{T}$ is a learnable tensor.
  • Applies PARALIND tensor decomposition to factorize the trilinear interaction tensor into smaller, low-rank components, reducing parameter count from ~2.2 trillion to ~33.69 million.
  • Introduces a parameter factorization strategy using low-rank matrices $W_{z_v}$, $W_{z_q}$, and $W_{z_a}$ to approximate the trilinear interaction efficiently.
  • Uses attention maps $\mathcal{M}$ computed via $\mathcal{M} = \sum_{r=1}^R \llbracket \mathcal{G}_r; V^T W_{v_r}, Q^T W_{q_r} \rrbracket $ to dynamically weight interactions between image and question regions.
  • Applies knowledge distillation to transfer knowledge from the trilinear model (trained with answers) to a bilinear model (inference-ready without answers), enabling deployment in free-form VQA.
  • Employs a two-stage training pipeline: first train the full CTI model with all three inputs, then distill its knowledge into a bilinear model for inference on test data.

Experimental results

Research questions

  • RQ1Can explicit joint modeling of image, question, and answer representations improve VQA performance compared to passive answer classification?
  • RQ2Can PARALIND tensor decomposition effectively reduce the computational and memory cost of trilinear interactions without sacrificing performance?
  • RQ3Can knowledge distillation successfully transfer knowledge from a trilinear model (requiring answers at training) to a bilinear model (usable in free-form VQA at inference)?
  • RQ4Does the proposed compact trilinear interaction outperform existing state-of-the-art methods on multiple benchmark VQA datasets?

Key findings

  • The proposed CTI model achieves 69.3% accuracy on the TDIUC test set, surpassing previous state-of-the-art methods such as BAN2 (67.5%) and STL (68.2%).
  • On the VQA-2.0 validation set, the CTI model achieves 69.3% top-1 accuracy, outperforming MCB (62.2%) and fPMC (66.0%).
  • On the Visual7W test set, the CTI model achieves 72.3% accuracy using object-based features (Bottom-up features), significantly improving upon the previous SOTA STL (68.2%) by 4.1 percentage points.
  • The PARALIND decomposition reduces the number of parameters in the trilinear interaction from approximately 2.2 trillion to 33.69 million, achieving a compression rate of about 65,280.
  • The knowledge distillation approach enables effective deployment of the trilinear model’s knowledge in a bilinear model, making it applicable to free-form VQA where answers are not available at test time.
  • The compact trilinear interaction generalizes BAN by extending its bilinear attention mechanism to include answer features and enabling joint learning across all three modalities.

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.