EmpDG
EmpDG generates empathetic dialogue replies using dialogue-level and token-level emotion signals.
Language · 293 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Language
- Parameters
- 30.4M
- Operations
- 293
- Framework
- PyTorch
- Recurrent
- No
- Published
- COLING 2020
- Cited by
- 142 (as of 24 October 2026)
- Authors
- Qintong Li, Hongshen Chen, Zhaochun Ren and others
- Source
- GitHub: qtli/EmpDG
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16430
- Graph hash
- bcbd84f6a1c00e339ef66a278e97cf0594a76301e071fb2ee504899503de47d5
- Skeleton hash
- 010e54ea25b93592ca1eb64106f33ffbdb8a34e1a64ec59442e777cbf99d4a8e
- Architecture hash
- d8f1bb7067999fdf4cf17bca588dea15cb0f26602b0a8930bc3e57dca2e7167b
- Diagram SHA-256
- a568c5b6096beafaf77990ec19c01a79e2feca41d6f917ee266ac0b4b2cb3e1c
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
EmpDG is a dialogue model built to generate empathetic replies, meaning replies that are sensitive to the emotion a user has expressed. The paper describes it as a multi-resolution adversarial model. It uses emotion at two levels, a coarse one for the whole dialogue and a fine-grained one for individual tokens, and the token level helps capture the nuances of user emotion.
The generator is an encoder-decoder implemented with Transformer layers. One encoder handles the semantic context, and another transformer encoder with a different set of parameters encodes the emotional context. The coarse dialogue-level emotions come from the 32 emotion labels that the dataset provides. To add a training signal for the generator, the authors design two CNN-based discriminators, a semantic one and an emotional one. The discriminators are optimized by minimizing the Wasserstein-1 distance.
Training begins with pre-training, after which the generator and the discriminators are trained in alternation. The evaluation dataset contains about 25k one-to-one open-domain conversations. In the paper's ablation, removing the discriminators causes a large drop in the scores of the distinct metrics.
Key idea. EmpDG combines dialogue-level and token-level emotion signals in a Transformer generator and trains it against two discriminators that use the user's next utterance as feedback.
- EmpDG
- empathetic dialogue generation
- empathetic response generation
- multi-resolution emotion
- interactive adversarial learning
- dialogue system
- emotion-aware dialogue
- user feedback
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{li2020empdgmultiresolutioninteractiveempathetic,
title={EmpDG: Multiresolution Interactive Empathetic Dialogue Generation},
author={Qintong Li and Hongshen Chen and Zhaochun Ren and Pengjie Ren and Zhaopeng Tu and Zhumin Chen},
year={2020},
eprint={1911.08698},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/1911.08698},
}