An Empirical Study on Context Length for Open-Domain Dialog Generation

Xinyi Shen, Zuoquan Lin
8/31/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Transformer-based open-domain dialog models have become increasingly popular in recent years. These models typically represent context as a concatenation of a dialog history. However, there is no criterion to decide how many utterances should be kept adequate in a context. We try to figure out how the choice of context length affects the model. We experiment on three questions from coarse to fine: (i) Does longer context help model training? (ii) Is it necessary to change the training context length when dealing with dialogs of different context lengths? (iii) Do different dialog samples have the same preference for context length? Our experimental results show that context length, an often overlooked setting, deserves attention when implementing Transformer-based dialog models.

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. 1 weaker match is hidden by default — 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{shen2024empirical,
  title  = {An Empirical Study on Context Length for Open-Domain Dialog Generation},
  author = {Xinyi Shen and Zuoquan Lin},
  year   = {2024},
  eprint = {2409.00315},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.00315v1}
}

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

Discussion