Improve Retrieval-based Dialogue System via Syntax-Informed Attention

Tengtao Song, Nuo Chen, Ji Jiang, Zhihong Zhu, Yuexian Zou
3/12/2023
cs.AI

No confident code implementation found for this paper.

Abstract

Multi-turn response selection is a challenging task due to its high demands on efficient extraction of the matching features from abundant information provided by context utterances. Since incorporating syntactic information like dependency structures into neural models can promote a better understanding of the sentences, such a method has been widely used in NLP tasks. Though syntactic information helps models achieved pleasing results, its application in retrieval-based dialogue systems has not been fully explored. Meanwhile, previous works focus on intra-sentence syntax alone, which is far from satisfactory for the task of multi-turn response where dialogues usually contain multiple sentences. To this end, we propose SIA, Syntax-Informed Attention, considering both intra- and inter-sentence syntax information. While the former restricts attention scope to only between tokens and corresponding dependents in the syntax tree, the latter allows attention in cross-utterance pairs for those syntactically important tokens. We evaluate our method on three widely used benchmarks and experimental results demonstrate the general superiority of our method on dialogue response selection.

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{song2023improve,
  title  = {Improve Retrieval-based Dialogue System via Syntax-Informed Attention},
  author = {Tengtao Song and Nuo Chen and Ji Jiang and Zhihong Zhu and Yuexian Zou},
  year   = {2023},
  eprint = {2303.06605},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.06605v1}
}

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/2303.06605.svg)](https://codeofpaper.com/paper/2303.06605)

Discussion