SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.10960 · ACL · 2024

ESCoT: Towards Interpretable Emotional Support Dialogue Systems

Xinjie Zhang, Qin Jin, Li Zhou, Jinming Zhao, Tenggan Zhang

arXiv · PDF · Open in the Atlas

Code that ran

7 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2406.10960.json · badge: /api/ran/2406.10960.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
thu-coai/Emotional-Support-Conversation canonical (classifier label)
classifier basis: census
5 ran · 0 no recorded run
TeigenZhang/ESCoT canonical (classifier label)
classifier basis: census
2 ran · 0 no recorded run
FunctionStatusWhere it lives
chars_token_ratio Ran
ran, honoured the contract we drafted
TeigenZhang/ESCoT/supervised_finetuning_cot.py
pointer only (licence: NONE) · get_code("997bd5441237c02b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TeigenZhang/ESCoT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gelu Ran
ran, honoured the contract we drafted
thu-coai/Emotional-Support-Conversation/codes/src/transformers/activations_tf.py
pointer only (licence: NOASSERTION) · get_code("4158ac7257c02b11")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, thu-coai/Emotional-Support-Conversation (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gelu_fast Ran
ran; our contract draft was wrong, not the code
thu-coai/Emotional-Support-Conversation/codes/src/transformers/activations.py
pointer only (licence: NONE) · get_code("a4475703ff58ecf9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-coai/Emotional-Support-Conversation when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gelu_new Ran
ran; our contract draft was wrong, not the code
thu-coai/Emotional-Support-Conversation/codes/src/transformers/activations.py
pointer only (licence: NONE); the stored copy get_code serves, from astro-jon/LCWL, is pointer only (licence: NONE) · get_code("45bb87451230d5e8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, thu-coai/Emotional-Support-Conversation when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

gelu_new Ran
ran, honoured the contract we drafted
thu-coai/Emotional-Support-Conversation/codes/src/transformers/activations_tf.py
pointer only (licence: NOASSERTION) · get_code("b01a23b01774f91e")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, thu-coai/Emotional-Support-Conversation (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

mish Ran
ran; our contract draft was wrong, not the code
thu-coai/Emotional-Support-Conversation/codes/src/transformers/activations.py
pointer only (licence: NOASSERTION) · get_code("f889d53c68539013")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, thu-coai/Emotional-Support-Conversation (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

prepare_sample_text Ran
ran; our contract draft was wrong, not the code
TeigenZhang/ESCoT/supervised_finetuning_cot.py
pointer only (licence: NONE) · get_code("b660a6bb2cfcc092")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, TeigenZhang/ESCoT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 2 later) and 2 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
gelu_new 24 other papers
23 dated earlier, 1 later
2004.10964 (2020-04)
Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
2104.08066 (2021-04)
Effect of Visual Extensions on Natural Language Understanding in Vision-and-Language Models
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
and 21 more not named here
gelu_fast 22 other papers
21 dated earlier, 1 later
2010.03957 (2020-10)
Transformers for Modeling Physical Systems
2104.08066 (2021-04)
Effect of Visual Extensions on Natural Language Understanding in Vision-and-Language Models
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
and 19 more not named here
mish 4 other papers
4 dated earlier
2104.08066 (2021-04)
Effect of Visual Extensions on Natural Language Understanding in Vision-and-Language Models
2107.00910 (2021-07)
Learned Token Pruning for Transformers
2109.03808 (2021-09)
Smelting Gold and Silver for Improved Multilingual AMR-to-Text Generation
and 1 more not named here
gelu 3 other papers
3 dated earlier
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
2106.00420 (2021-06)
Dialogue-oriented Pre-training
2401.10487 (2024-01)
Generative Dense Retrieval: Memory Can Be a Burden
gelu_new 3 other papers
3 dated earlier
2104.08400 (2021-04)
Structure-Aware Abstractive Conversation Summarization via Discourse and Action Graphs
2106.00420 (2021-06)
Dialogue-oriented Pre-training
2401.10487 (2024-01)
Generative Dense Retrieval: Memory Can Be a Burden

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Understanding the reason for emotional support response is crucial for establishing connections between users and emotional support dialogue systems. Previous works mostly focus on generating better responses but ignore interpretability, which is extremely important for constructing reliable dialogue systems. To empower the system with better interpretability, we propose an emotional support response generation scheme, named Emotion-Focused and Strategy-Driven Chain-of-Thought (ESCoT), mimicking the process of identifying, understanding, and regulating emotions. Specially, we construct a new dataset with ESCoT in two steps: (1) Dialogue Generation where we first generate diverse conversation situations, then enhance dialogue generation using richer emotional support strategies based on these situations; (2) Chain Supplement where we focus on supplementing selected dialogues with elements such as emotion, stimulus, appraisal, and strategy reason, forming the manually verified chains. Additionally, we further develop a model to generate dialogue responses with better interpretability. We also conduct extensive experiments and human evaluations to validate the effectiveness of the proposed ESCoT and generated dialogue responses. Our data and code are available at https://github.com/TeigenZhang/ESCoT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.10960")
get_code_for_paper("2406.10960")
have("2406.10960")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2406.10960.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2406.10960.svg)](https://syntology.ai/paper/2406.10960)

Connect an agent — have() is free.