---
title: "SarcEmp - Fine-tuning DialoGPT for Sarcasm and Empathy (2024)"
description: "Open-domain chatbots trained on large conversational data tend to answer in a flat, neutral voice. 10 references."
authors: ["Mohammed Rizwan"]
year: 2024
venue: "Proceedings of the 1st Workshop on Simulating Conversational Intelligence in Chat (SCI-CHAT 2024)"
source: "https://aclanthology.org/2024.scichat-1.6/"
doi: "10.18653/v1/2024.scichat-1.6"
licence: "CC BY 4.0 (ACL Anthology)"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/rizwan-2024-sarcemp-fine-tuning-dialogpt-sarcasm/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/rizwan-2024-sarcemp-fine-tuning-dialogpt-sarcasm/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2024](https://md.research.elamur.ai/free/en/papers/2024/page/14/) / SarcEmp - Fine-tuning DialoGPT for Sarcasm and Empathy

# SarcEmp - Fine-tuning DialoGPT for Sarcasm and Empathy

**Authors:** Mohammed Rizwan · **Year:** 2024 · **Venue:** Proceedings of the 1st Workshop on Simulating Conversational Intelligence in Chat (SCI-CHAT 2024) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/2024.scichat-1.6/) · [PDF](https://aclanthology.org/2024.scichat-1.6.pdf) · [DOI 10.18653/v1/2024.scichat-1.6](https://doi.org/10.18653/v1/2024.scichat-1.6) · [OpenAlex](https://openalex.org/W7126398638)

**Citations:** 0 citations (OpenAlex, 2026-10-14)

## Summary
Open-domain chatbots trained on large conversational data tend to answer in a flat, neutral voice. They often miss the user's emotional state and rarely show humour. This short workshop paper tries to give such a model two extra qualities, sarcasm and empathy, by fine-tuning DialoGPT, a GPT-2-based dialogue model pre-trained on Reddit. The author combines two public resources: the Self-Annotated Reddit Corpus (SARC), filtered to its sarcastic replies, and Empathetic Dialogues, where a speaker describes an emotional situation and a listener replies. Both are mapped to a shared context/response format, mixed and shuffled, and split 60/40 into train and test. The resulting model, SarcEmp, reaches a training perplexity of about 3. On 1000 random samples from Empathetic Dialogues, ConvAI2 and DailyDialog it scores roughly on par with the baseline across perplexity, F1, loss and token accuracy. The author concedes that the automatic-metric differences are small and that human evaluation, which the paper does not include, is still needed. The work matters mainly as a simple recipe for adding affective style to a pre-trained dialogue model.

## Key points
- Base model: DialoGPT (GPT-2 architecture). The paper describes DialoGPT's maximum mutual information (MMI) reranking, which uses a backward model to push down bland replies.
- Data: about 1.3 million self-annotated sarcastic Reddit comments from SARC, marked with the "/s" tag, plus about 25,000 Empathetic Dialogues conversations covering emotions such as afraid, proud, joyful and angry.
- Preprocessing:
  - SARC parent comments become the context and the replies become the response.
  - Empathetic Dialogues prompts become the context and the utterances become the response.
  - Each pair is joined into one string with an end-of-string token, shuffled with Pandas, and split 60% train / 40% test.
- Results: training perplexity is 2.996. Evaluation uses 1000 random examples each from Empathetic Dialogues, ConvAI2 and DailyDialog, with perplexity, F1, loss and token accuracy. The fine-tuned model is close to the baseline and slightly better in some cells.
- Limitations: there is no human evaluation and no direct measure of whether outputs are actually sarcastic or empathetic.

## Interesting ideas
- Self-annotation markers that authors add themselves, such as Reddit's "/s", act as free, large-scale labels for a hard pragmatic phenomenon without paid annotation.
- Sarcasm in SARC is defined relative to the parent comment, so the preceding utterance is treated as essential context rather than optional.
- Converting two very different corpora into one shared context→response schema lets a single model learn from both.
- After fine-tuning on new styles, the model is checked on unrelated held-out dialogue sets to confirm it did not get worse.
- DialoGPT's MMI step uses a backward model that tries to recover the source from the reply, which penalises generic answers.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (frames): a "/s"-style author marker could seed silver labels for the irony component in prag, provided that negative controls check the marker is not too noisy.
- **I2** (frames): irony and implicature rules in prag could compare the frames of the reply against the frames of the prior turn, flagging contradictions between literal content and situation as candidate irony.
- **I3** (learn): mapping heterogeneous dialogue or QA sources into one explicit schema before training would make silver data from different origins comparable and easier to audit.
- **I4** (learn): every new repair rule or teacher-tier dataset could be validated on untouched corpora as a regression control, not only on the target domain.
- **I5** (back): generated text could be re-parsed into a meaning graph and compared with the original graph, preferring outputs that round-trip with the least information loss.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

📚 Shelves (6): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 16,667 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 16,194 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 16,039 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 15,891 works · [💭 Psychology](https://md.research.elamur.ai/free/en/shelves/psychology/) · 1,552 works · [💭 Experimental and Cognitive Psychology](https://md.research.elamur.ai/free/en/shelves/psychology/experimental-and-cognitive-psychology/) · 870 works

🧭 Topics (1): [😊 Sentiment & emotion](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/) · 972 works

## Cite

Cite as: Mohammed Rizwan. 2024. SarcEmp - Fine-tuning DialoGPT for Sarcasm and Empathy. Proceedings of the 1st Workshop on Simulating Conversational Intelligence in Chat (SCI-CHAT 2024).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{rizwan2024sarcemp,
  title = {{SarcEmp - Fine-tuning DialoGPT for Sarcasm and Empathy}},
  author = {Mohammed Rizwan},
  booktitle = {Proceedings of the 1st Workshop on Simulating Conversational Intelligence in Chat (SCI-CHAT 2024)},
  year = {2024},
  doi = {10.18653/v1/2024.scichat-1.6},
  url = {https://doi.org/10.18653/v1/2024.scichat-1.6}
}
```

- [← previous Robustness of GPT Large Language Models on Natural Language Processing Tasks](https://md.research.elamur.ai/free/en/papers/chen-2024-robustness-gpt-large/)
- [next → Self-Repair in Tigrinya: Trouble Sources, Mechanisms and Solutions](https://md.research.elamur.ai/free/en/papers/asgede-2024-self-repair-tigrinya-trouble-sources/)
- [↑ back to papers of 2024](https://md.research.elamur.ai/free/en/papers/2024/page/14/)

## References

10 references, 5 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Michel Galley et.al. Yizhe Zhang, Siqi Sun. Dialogpt : Large-scale generative pre-training for conversational response generation. 2020. et al. Dmitry Davidov, Oren Tsur. Semi-supervised recognition of sarcastic sentences in twitter and amazon. 2010. — [Semi-Supervised Recognition of Sarcasm in Twitter and Amazon](https://md.research.elamur.ai/free/en/papers/davidov-2010-semi-supervised-recognition-sarcasm-twitter/)
2. Yanran Li, Hui Su, Xiaoyu Shen, Wenjie Li, Ziqiang Cao, and Shuzi Niu. [Dailydialog: A manually labelled multi-turn dialogue dataset](https://md.research.elamur.ai/free/en/papers/li-2017-dailydialog-manually-labelled-multi-turn/), 2017. [↗](https://doi.org/10.48550/arxiv.1710.03957)
3. Maynard and Greenwood. [Who cares about sarcastic tweets? investigating the impact of sarcasm on sentiment analysis](https://md.research.elamur.ai/free/en/papers/maynard-2014-who-cares-about-sarcastic-tweets/). 2014.
4. Anders Søgaard et al. Bjarke Felbo, Alan Mis-love. Using millions of emoji occurrences to learn any-domain representations for detecting sentiment, emotion and sarcasm. 2020. [find](https://scholar.google.com/scholar?q=Anders+S%C3%B8gaard+et+al%2E+Bjarke+Felbo%2C+Alan+Mis%2Dlove%2E+Using+millions+of+emoji+occurrences+to+learn+any%2Ddomain+representations+for+detecting+sentiment%2C+emotion+and+sarcasm%2E+2020%2E)
5. Quoc Le. et al. Oriol Vinyals. [A neural conversational model](https://md.research.elamur.ai/free/en/papers/vinyals-2015-neural-conversational-model/). 2015.
6. Jack Urbanek et al. Saizheng Zhang, Emily Dinan. [Personalizing dialogue agents: I have a dog, do you have pets too?](https://md.research.elamur.ai/free/en/papers/zhang-2018-personalizing-dialogue-agents-i-have/) 2018. [↗](https://doi.org/10.48550/arxiv.1801.07243)
7. Chandra Khatri, Behnam Hedayatnia, and Rahul Goel et al. Detecting offensive content in open-domain conversations using two stage semi-supervision, 2018. [find](https://scholar.google.com/scholar?q=Chandra+Khatri%2C+Behnam+Hedayatnia%2C+and+Rahul+Goel+et+al%2E+Detecting+offensive+content+in+open%2Ddomain+conversations+using+two+stage+semi%2Dsupervision%2C+2018%2E)
8. Hugh Murrell Devin Pelser. Deep and dense sarcasm detection. 2019. [↗](https://doi.org/10.48550/arxiv.1911.07474)
9. Margaret Li et al. Hannah Rashkin, Eric Michael Smith. Towards empathetic open-domain conversation models: a new benchmark and dataset. 2019. [find](https://scholar.google.com/scholar?q=Margaret+Li+et+al%2E+Hannah+Rashkin%2C+Eric+Michael+Smith%2E+Towards+empathetic+open%2Ddomain+conversation+models%3A+a+new+benchmark+and+dataset%2E+2019%2E)
10. Tim Salimans Ilya Sutskever Alec Radford, Karthik Narasimhan. Improving language understanding by generative pre-training. 2018. [find](https://scholar.google.com/scholar?q=Tim+Salimans+Ilya+Sutskever+Alec+Radford%2C+Karthik+Narasimhan%2E+Improving+language+understanding+by+generative+pre%2Dtraining%2E+2018%2E)

*Updated 1 November 2026*
