Discriminative question answering often overfit to datasets by catching any kinds of clue that leads to answer.
This paper suggests Generative Question Answering model(GQA) to generate both questions and answers given contexts. Though this paper applied the model on both QA and VQA tasks, following explanation would only focus on VQA task. The model uses Bayes’ rule to minimize the NLL of joint distribtion of questions and answers given context(images).
c is encoded through pretrained convolution model(Resnet101) with 32-dimension positional encoding. Answer prior() is simply calculated with fc on image features. The likelihood of the question() is modeled with conditional language model. Language model(question decoder) is modeled with several blocks of residual self attentive LSTM layers and GLU on the top.
At inference time, the answer maximizing the posterior() is returned which requires calculation of likelihood given all possible answers.
GQA showed comparable performance to other VQA models while showing interpretable attention map and word probabilities on the last layer.
Subscribe via RSS