Comparing RNN and Transformer Context Representations in the Czech Answer Selection Task


This publication doesn't include Faculty of Arts. It includes Faculty of Informatics. Official publication website can be found on


MEDVEĎ Marek HORÁK Aleš SABOL Radoslav

Year of publication 2022
Type Article in Proceedings
Conference Proceedings of the 14th International Conference on Agents and Artificial Intelligence (ICAART)
MU Faculty or unit

Faculty of Informatics

Keywords Question Answering; Answer Context; Answer Selection; Czech; Sentece Embeddings; RNN; BERT
Description Open domain question answering now inevitably builds upon advanced neural models processing large unstructured textual sources serving as a kind of underlying knowledge base. In case of non-mainstream highly- inflected languages, the state-of-the-art approaches lack large training datasets emphasizing the need for other improvement techniques. In this paper, we present detailed evaluation of a new technique employing various context representations in the answer selection task where the best answer sentence from a candidate document is identified as the most relevant to the human entered question. The input data here consists not only of each sentence in isolation but also of its preceding sentence(s) as the context. We compare seven different context representations including direct recurrent network (RNN) embeddings and several BERT-model based sentence embedding vectors. All experiments are evaluated with a new version 3.1 of the Czech question answering benchmark dataset SQAD wit h possible multiple correct answers as a new feature. The comparison shows that the BERT-based sentence embeddings are able to offer the best context representations reaching the mean average precision results of 83.39% which is a new best score for this dataset.
Related projects:

You are running an old browser version. We recommend updating your browser to its latest version.