EEE-QA: Exploring Effective and Efficient Question-Answer Representations

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hu, Zhanghao, Yang, Yijun, Xu, Junjie, Qiu, Yifu, Chen, Pinzhen
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916145903173632
author Hu, Zhanghao
Yang, Yijun
Xu, Junjie
Qiu, Yifu
Chen, Pinzhen
author_facet Hu, Zhanghao
Yang, Yijun
Xu, Junjie
Qiu, Yifu
Chen, Pinzhen
contents Current approaches to question answering rely on pre-trained language models (PLMs) like RoBERTa. This work challenges the existing question-answer encoding convention and explores finer representations. We begin with testing various pooling methods compared to using the begin-of-sentence token as a question representation for better quality. Next, we explore opportunities to simultaneously embed all answer candidates with the question. This enables cross-reference between answer choices and improves inference throughput via reduced memory usage. Despite their simplicity and effectiveness, these methods have yet to be widely studied in current frameworks. We experiment with different PLMs, and with and without the integration of knowledge graphs. Results prove that the memory efficacy of the proposed techniques with little sacrifice in performance. Practically, our work enhances 38-100% throughput with 26-65% speedups on consumer-grade GPUs by allowing for considerably larger batch sizes. Our work sends a message to the community with promising directions in both representation quality and efficiency for the question-answering task in natural language processing.
format Preprint
id arxiv_https___arxiv_org_abs_2403_02176
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle EEE-QA: Exploring Effective and Efficient Question-Answer Representations
Hu, Zhanghao
Yang, Yijun
Xu, Junjie
Qiu, Yifu
Chen, Pinzhen
Computation and Language
Current approaches to question answering rely on pre-trained language models (PLMs) like RoBERTa. This work challenges the existing question-answer encoding convention and explores finer representations. We begin with testing various pooling methods compared to using the begin-of-sentence token as a question representation for better quality. Next, we explore opportunities to simultaneously embed all answer candidates with the question. This enables cross-reference between answer choices and improves inference throughput via reduced memory usage. Despite their simplicity and effectiveness, these methods have yet to be widely studied in current frameworks. We experiment with different PLMs, and with and without the integration of knowledge graphs. Results prove that the memory efficacy of the proposed techniques with little sacrifice in performance. Practically, our work enhances 38-100% throughput with 26-65% speedups on consumer-grade GPUs by allowing for considerably larger batch sizes. Our work sends a message to the community with promising directions in both representation quality and efficiency for the question-answering task in natural language processing.
title EEE-QA: Exploring Effective and Efficient Question-Answer Representations
topic Computation and Language
url https://arxiv.org/abs/2403.02176