Position Matters! Empirical Study of Order Effect in Knowledge-grounded Dialogue

Hsuan Su, Shachi H Kumar, Sahisnu Mazumder, Wenda Chen, Ramesh Manuvinakurike +5 more
2/12/2023
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

Abstract

With the power of large pretrained language models, various research works have integrated knowledge into dialogue systems. The traditional techniques treat knowledge as part of the input sequence for the dialogue system, prepending a set of knowledge statements in front of dialogue history. However, such a mechanism forces knowledge sets to be concatenated in an ordered manner, making models implicitly pay imbalanced attention to the sets during training. In this paper, we first investigate how the order of the knowledge set can influence autoregressive dialogue systems' responses. We conduct experiments on two commonly used dialogue datasets with two types of transformer-based models and find that models view the input knowledge unequally. To this end, we propose a simple and novel technique to alleviate the order effect by modifying the position embeddings of knowledge input in these models. With the proposed position embedding method, the experimental results show that each knowledge statement is uniformly considered to generate responses.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{su2023position,
  title  = {Position Matters! Empirical Study of Order Effect in Knowledge-grounded Dialogue},
  author = {Hsuan Su and Shachi H Kumar and Sahisnu Mazumder and Wenda Chen and Ramesh Manuvinakurike and Eda Okur and Saurav Sahay and Lama Nachman and Shang-Tse Chen and Hung-yi Lee},
  year   = {2023},
  eprint = {2302.05888},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.05888v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.05888.svg)](https://codeofpaper.com/paper/2302.05888)

Discussion