ACL2020

Crossing Variational Autoencoders for Answer Retrieval

Wenhao Yu, Lingfei Wu, Qingkai Zeng, Shu Tao, Yu Deng, Meng Jiang

22 citations

Abstract

Answer retrieval is to find the most aligned answer from a large set of candidates given a question. Learning vector representations of questions/answers is the key factor. Questionanswer alignment and question/answer semantics are two important signals for learning the representations. Existing methods learned semantic representations with dual encoders or dual variational auto-encoders. The semantic information was learned from language models or question-to-question (answer-to-answer) generative processes. However, the alignment and semantics were too separate to capture the aligned semantics between question and answer. In this work, we propose to cross variational auto-encoders by generating questions with aligned answers and generating answers with aligned questions. Experiments show that our method outperforms the state-of-theart answer retrieval method on SQuAD. Question Answer ๐‘(๐‘ฆ|๐‘ง ! , ๐‘ง " ) ๐‘(๐‘ž|๐‘ง ! ) ๐‘(๐‘Ž|๐‘ง " ) ๐‘ง ! ๐‘(๐‘ง ! ) Encoder ๐‘(๐‘ง ! |๐‘ž) ๐‘ง " ๐‘(๐‘ง " ) ๐‘(๐‘ง " |๐‘Ž) Question Answer Decoder ๐‘(๐‘ž|๐’› ๐’‚ ) ๐‘(๐‘Ž|๐’› ๐’’ ) ๐‘(๐‘ฆ|๐‘ง ! , ๐‘ง " ) ๐‘(๐‘ฆ|๐‘ง ! , ๐‘ง " ) Question Answer Question Answer Decoder Encoder Encoder Decoder Decoder Encoder ๐‘(๐‘ง ! |๐‘ž) ๐‘(๐‘ง " |๐‘Ž)