---
title: "TOOL-ED — paper by Cao et al. (2025) — summary and ideas"
description: "TOOL-ED tests when a dialogue system should consult commonsense knowledge to write an empathetic reply, and when it should answer directly."
canonical: "https://research.elamur.ai/free/en/papers/cao-2025-tool-ed-enhancing-empathetic-response/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/cao-2025-tool-ed-enhancing-empathetic-response/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / TOOL-ED: Enhancing Empathetic Response Generation with the Tool Calling Capability of LLM

# TOOL-ED: Enhancing Empathetic Response Generation with the Tool Calling Capability of LLM

Paper · 2025 · Huiying Cao, Yiqun Zhang, Shi Feng et al.

**Authors:** Huiying Cao, [Yiqun Zhang](https://md.research.elamur.ai/free/en/authors/yiqun-zhang/), [Shi Feng](https://md.research.elamur.ai/free/en/authors/shi-feng/), [Xiaocui Yang](https://md.research.elamur.ai/free/en/authors/xiaocui-yang/), [Daling Wang](https://md.research.elamur.ai/free/en/authors/daling-wang/) and [Yifei Zhang](https://md.research.elamur.ai/free/en/authors/yifei-zhang/) · **Year:** 2025 · **Venue:** Proceedings of the 31st International Conference on Computational Linguistics · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[Cited by **5** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/cao-2025-tool-ed-enhancing-empathetic-response/cited-by/) · Proceedings of the 31st International Conference on Computational Linguistics · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.coling-main.355/)
- [PDF](https://aclanthology.org/2025.coling-main.355.pdf)

## Summary

An ordinary greeting and a disclosure about feeling scrutinized in job interviews can appear in the same conversation. The greeting is easy to answer on its own. The disclosure may call for a closer reading of what the speaker finds upsetting. Cao and colleagues ask whether a system can learn to tell those situations apart and consult an outside source of commonsense inferences when it might help. Their Emotional Knowledge Tool Calling framework, or EKTC, treats that decision as part of writing a reply. It gives the system a choice between answering directly and asking for information about possible causes, intentions, feelings or reactions. The returned information goes back into the conversation history before the system writes what the user sees.

To teach this behavior, the authors build TOOL-ED from the Empathetic Dialogue dataset, which they call ED. They keep the original listener replies and add examples of tool use before some of them. LLaMA3-70B helps build those examples in two passes. In the first pass, it considers the conversation and decides whether consulting the tool makes sense. In the second, it checks whether the actual output from COMET, a source of commonsense inferences, fits the original reply. Only calls that pass both checks enter TOOL-ED. The authors then fine-tune Vicuna-7B and Qwen1.5-14B on the resulting dialogues so that each can learn both ways of continuing a conversation.

On the ED test set, training with TOOL-ED generally improves agreement with reference replies compared with fine-tuning on ED alone. For Qwen with COMET, BLEU-4 rises from 0.0317 to 0.036, while BERTScore goes from 0.8760 to 0.8765. Human evaluators prefer the COMET-assisted replies for empathy in 61.3% of comparisons with ordinary fine-tuning for Qwen and 72.3% for Vicuna. The results vary by criterion and comparison, and some settings without the framework produce more varied wording. Replacing COMET with CICERO at test time gives broadly similar automatic scores, showing that the trained systems can use either of the two knowledge sources through the same interface.

The comparisons that change the training procedure help explain the result. Asking COMET for information on every turn gives worse reference-agreement scores than the complete framework. Keeping only the first annotation pass also produces systems that call more often, while the full procedure generally does better on measures such as ROUGE and BERTScore. Together, these results support selective use of outside inferences for replies in ED. They leave open how the approach would work with several tools available at once, or in conversations where the person receiving the reply can respond and say whether it helped.

## Deep dive: TOOL-ED: Enhancing Empathetic Response Generation with the Tool Calling Capability of LLM

TOOL-ED tests when a dialogue system should consult commonsense knowledge to write an empathetic reply, and when it should answer directly. · about 32 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### What a listener has to infer

An empathetic response has to make sense as the next turn of a conversation. It also has to register what the preceding turn means to the person who said it. In the paper’s job-interview example, the speaker describes feeling uncomfortable under close examination. The listener can recognize interview anxiety, but the reason for the discomfort matters too. An answer that acknowledges the pressure of being examined addresses something more specific than an answer that treats the interview as an ordinary appointment. The authors study this problem as one of recognizing a speaker’s perspective and emotional state well enough to write an appropriate reply.

Some of what a listener needs is already explicit in the wording. In other cases, the event is clear while the speaker’s motive, an underlying cause or an emotional consequence has to be inferred. The paper places this distinction at the center of its account of empathy. A system may have to connect the event being described to the speaker’s likely reaction, or distinguish the speaker’s purpose in telling the story from the purpose of an action within it. These are different kinds of context, even when they are expressed in the same short turn. The research falls within work on [dialogue systems](https://md.research.elamur.ai/free/en/topics/dialogue-systems/) and [sentiment and emotion](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/).

The authors describe several earlier approaches to making this information useful. Some identify an emotion or extract signals associated with it. The Mixture of Empathetic Listeners approach, for instance, produces a distribution over emotions, giving the system a way to represent the emotional reading of a conversation. Other approaches use cues at different levels, such as signals from particular words alongside a reading of the conversation as a whole. The paper also describes systems that try to reflect the speaker’s emotion to varying degrees, or use smaller specialist systems to help a larger generator focus on the prominent emotional cues. These approaches differ in how they obtain and use evidence about the speaker’s state. [MoEL](https://md.research.elamur.ai/free/en/papers/lin-2019-moel-mixture-empathetic-listeners/)

Another line of work supplies information the speaker left implicit. The paper discusses earlier dialogue systems that bring in commonsense information from external resources, some with graph-based structures. It also describes work with pretrained generators that adds contextual examples, designs prompts, or combines the generator with smaller systems. An external resource can put a plausible explanation or reaction into words so that the generator can take it into account. COMET, which the authors use in their own method, belongs to this line of work. It produces commonsense inferences conditioned on an event or context and on a specified relationship. [Knowledge graphs](https://md.research.elamur.ai/free/en/concepts/knowledge-graph/) and [COMET](https://md.research.elamur.ai/free/en/papers/bosselut-2019-comet-commonsense-transformers-automatic-knowledge/)

#### When more information can get in the way

A useful inference has a particular job in a particular conversation. An inference about why someone undertook an action might clarify the story. An inference about how they felt might help the listener recognize what needs acknowledgment. A greeting can be continued naturally without either kind of explanation. The authors worry that bringing in external knowledge at every opportunity makes a dialogue system dependent on a fixed source and exposes it to information that has little bearing on the next turn. The question is how to make assistance available while giving the system control over when to use it.

The paper discusses that question against a broader background of improving answers from pretrained text generators. It points to work in which examples in the input or an explicit intermediate reasoning process can help with a task. It also describes work that supplies outside information to help a system with inferences about emotions and intentions. The authors mention hallucination in motivating that work. In this setting, the concern includes a reply being built on an interpretation with weak support in the conversation. The paper’s response is to control the introduction of additional information. Its evaluation centers on the resulting replies and on patterns of tool use. [Chain-of-Thought Prompting](https://md.research.elamur.ai/free/en/papers/wei-2022-chain-thought-prompting-elicits-reasoning/) and [Survey of Hallucination in Natural Language Generation](https://md.research.elamur.ai/free/en/papers/ji-2022-survey-hallucination-natural-language-generation/)

Tool learning supplies the general mechanism for giving a system this control. In the paper’s account, one strand of previous work relies on systems already capable of working with external interfaces. Another teaches a particular pattern of tool use with supervised examples. The authors describe work that combines different resources, including visual processing, search and executable functions. They also discuss systems trained on examples involving interface specifications, and mathematical reasoning systems that consult computing tools during problem solving. Such work supplies precedents for separating the production of a request, execution of the requested operation and use of its result. [Tool Learning with Foundation Models](https://md.research.elamur.ai/free/en/papers/qin-2023-tool-learning-foundation-models/) and [Chameleon](https://md.research.elamur.ai/free/en/papers/lu-2023-chameleon-plug-play-compositional-reasoning/)

Empathetic dialogue makes the initial decision less explicit. A user who asks for a calculation gives the system a task that may naturally suggest a computing tool. A speaker sharing anxiety about an interview may be telling a story, looking for acknowledgment, or opening a discussion. The turn is unlikely to name the kind of outside inference that would help the listener. Even the strength of an emotion, which the authors explicitly consider during annotation, is only part of the decision. An intense feeling may already be clear from the wording. A more understated remark could need interpretation because its significance depends on what came before.

EKTC applies the supervised approach to this situation. The examples teach the generator how to ask for an inference and furnish instances where it should go straight to the response. This requires a training corpus that records more than a conversation partner’s words. It has to represent a decision about external assistance, the request sent out, the information brought back and the reply that follows. The existing ED corpus supplies the conversations and replies. The EKTC construction procedure supplies the intermediate actions.

### The method, step by step

#### From a dialogue to a training example

The authors begin with conversations from ED. The task is to continue the dialogue as the listener after reading the available turns. As described in the prompt used for tool learning, the speaker starts from an assigned emotion and a personally described situation. The listener encounters the story as it is told in conversation. The assigned label and the initial situation description are hidden from the listener in the task setup. This arrangement makes the conversational wording the evidence from which to recognize and acknowledge what the speaker is feeling.

The original listener turn serves as the reference reply throughout construction. The authors add material before it when they have an example of useful tool use. For a turn that stays on the direct route, the dialogue leads straight to that reply. On a turn chosen for tool use, the training record includes a call and its result before the same reference reply. This structure teaches a practical distinction. A call is a request for information made during generation, whereas the listener’s text is what continues the conversation.

The workflow has a data-building stage and a later stage in which a trained system uses the interface. During construction, the authors can examine a recorded listener response and decide which traces to keep. At test time, the listener’s next turn is precisely what the system has to produce. It sees the dialogue so far and must decide whether a request for outside information should precede its reply. The separate stages therefore give the procedure a way to use hindsight to prepare examples while preserving the prediction task at evaluation.

How EKTC builds examples and uses them The steps in order.

#### What the call returns

The authors package a commonsense source behind an interface called EmotionKnowledgebase. The documented input is a required field named `prompt`, which carries text from the conversation. The caller supplies the text to interpret. The service associates that text with a set of relation types and returns its inferences. A relation type tells the source what aspect of the text to consider. For example, it can ask about the person’s reaction or a precondition for the event instead of asking for an open-ended explanation of the entire exchange.

```
observation = EmotionKnowledgebase(C)
```

Here `C` is the supplied conversation context. `EmotionKnowledgebase` names the callable interface, and parentheses enclose its argument. `observation` is the information returned by the call and made available to the generator. The equals sign defines that observation as the result of passing `C` to the interface.

COMET BART is the source used to build the main TOOL-ED examples. The paper identifies it as a version trained on ATOMIC 2020. It generates an inference for each of the relation types the authors request. The relevant distinctions include what someone needed before an event, what they might want afterward, what effect the event had on them and how they might react. The tool therefore receives pieces of output with specific purposes. An event’s effect and a person’s reaction can both matter to an empathetic reply, even though they are separate requests to the service. [COMET-ATOMIC 2020](https://md.research.elamur.ai/free/en/papers/hwang-2020-comet-atomic-2020-symbolic-neural/)

```
resultᵣ = COMET_BART(C, r)
```

`resultᵣ` is the inference generated for the relation `r`. The subscript `ᵣ` associates the result with that relation. `COMET_BART` is the implementation that takes `C`, the dialogue context, and `r`, the requested relation, as its arguments. The comma separates those two inputs, and the equals sign assigns the returned inference to `resultᵣ`.

```
observation = ⊕ᵣ∈ᴿ resultᵣ
```

`observation` is the combined tool output. The operator `⊕` joins the separate `resultᵣ` values. The range `r ∈ R` means that a result is included for each relation `r` that belongs to the set `R`. The paper’s formula lists that set as `xContent`, `xNeed`, `xWant`, `xEffect` and `xReact`. Its annotation prompts use `xIntent` for the first slot and describe it as the person’s intent before the event. The other prompts describe `xNeed` as what the person would need for the event to happen, `xWant` as a subsequent desire, `xEffect` as a consequence for the person, and `xReact` as the person’s response to the event. The difference in the first label leaves its exact implementation naming unclear in the paper.

The authors also wrap CICERO in the same kind of interface. This source can supply contextual explanations involving causes, possible subsequent events, motivations and reactions. Because the service handles its own relation inventory, the system writing the reply can request the same general kind of operation without having been trained on a trace that names each CICERO relation. The source behind the call changes while the request and return pattern stays the same.

```
resultᵣ = CICERO(C, r)
```

`CICERO` is the alternative inference source. It takes `C`, the conversation context, and `r`, a relation to consider. `resultᵣ` again names the inference returned for that relation. The equals sign defines the result, and the parentheses contain the two inputs separated by a comma.

```
observation = ⊕ᵣ∈ᴿ resultᵣ
```

The combination works as it does for COMET BART. `observation` is the joined output, `⊕` combines the individual results, and `r ∈ R` ranges over the relations in the set `R`. Here `R` contains `Cause`, `SubEv`, `Motiv` and `React`. These stand for cause, subsequent event, motivation and reaction, respectively. Each `resultᵣ` supplies the inference corresponding to its own `r`.

The tool’s output is additional text the generator can consider. The relation names organize the questions posed to the commonsense source. They do not turn its conjectures into observed facts about the speaker. A possible motive can help a listener interpret a remark even if the final reply only acknowledges a feeling. This distinction explains why the data-building procedure checks usefulness against a reply and why the returned observation occupies its own role in the trace.

#### How the authors choose which calls to keep

The first pass assigns LLaMA3-70B the role of Annotator. The authors give it a description of empathetic dialogue, a description of the available inferences, and instructions to consider emotional intensity. Its prompt includes the dialogue context, the current user utterance and the existing assistant response. The task is to judge whether using the tool makes sense at that point in the conversation. The prompt requests a reason and a decision with a yes-or-no result.

Giving the Annotator the recorded reply changes what this judgment means. It can evaluate whether a tool would have been useful in the light of how a listener actually responded. For example, it can consider whether recognizing a likely emotional reaction helps account for the recorded listener turn. During inference, the system faces the forward version of this problem. It has the user’s words and previous dialogue to work with while the listener’s next turn is still missing.

When the Annotator selects a candidate, the construction process calls COMET. The output becomes the object of the second judgment. The authors again use LLaMA3-70B, now in the role of Reflector, to assess the relevance of the actual observation to the reference reply. The Reflector sees the conversation, the reply and the returned knowledge. Its prompt asks it to consider causal consistency, consistency of intent and emotional consistency before deciding whether the generated information is sufficiently related to what the listener said.

These checks address different ways a plausible inference can miss the point. A proposed cause may be reasonable in everyday life and still fit poorly with the events as described. An inferred intention may connect to the general situation while assigning the speaker a goal the conversation gives little reason to assume. An emotional inference may identify a plausible reaction to that kind of event while fitting the particular speaker’s words poorly. The Reflector gives the construction process a chance to discard such an observation after seeing what the tool actually produced. The Annotator’s earlier decision concerns the promise of a call before its result is available.

Accepted instances get a structured action and an observation before the original answer. A rejected candidate leaves the direct dialogue continuation in place. The source conversation and reference reply give both types of example their targets. The paper reports a tool-call rate of 26.46% for the training data. That figure describes the result of the labeling and filtering process for this corpus. It is distinct from the invocation rates of the systems later evaluated, which depend on what those systems choose to generate.

#### What a completed trace looks like

The dataset example in the appendix starts with a greeting followed by an ordinary direct answer. The next user turn changes the subject to interviews and the discomfort of being scrutinized. Before the listener’s answer to that turn, the trace has a call whose `prompt` includes the preceding exchange and the interview disclosure. Its observation includes an employment-related goal and nervousness. The listener’s recorded reply offers reassurance and encourages preparation. This trace shows how the same conversation can include an ordinary reply on one turn and outside assistance on another.

The example also shows that the tool output and final reply have different forms and roles. The output can contain short pieces of information, such as a possible goal or emotional reaction. The assistant speaks in a conversational sentence addressed to the user. It can incorporate the gist of a tool result without reproducing the returned terms verbatim. Since the original ED reply is kept during construction, examples of this kind show coexistence between an inference and a suitable target reply. They do not record an ED listener seeing the observation and then composing a response around it.

The paper illustrates calls with a structured action name and action input, and its dataset example uses a JSON representation containing a name and arguments. In one illustration, the text passed to the tool is the user’s latest utterance. In the interview trace, it is a role-labeled stretch of conversation. Both examples use dialogue text as the argument. The paper gives the general formal definition in terms of the conversation context and illustrates how that context can be serialized in a concrete call.

#### How training represents the decision

The authors use low-rank adaptation, or LoRA, to fine-tune Vicuna-7B and Qwen1.5-14B on TOOL-ED. LoRA is the adaptation method used to train the existing generators for this output format. The training supervision comes from the reconstructed sequences. The examples give the system a target for a direct answer, or a call and a subsequent answer after the service’s observation. This puts the choice of whether to produce a call into the same sequence prediction task as the generation of a listener reply. [Fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) and [LoRA](https://md.research.elamur.ai/free/en/papers/hu-2021-lora-low-rank-adaptation-large/)

The paper describes a dialogue sequence as follows.

```
U = [u₁, u₂, …, uₙ]
```

`U` is the sequence, each `u` with a subscript is an entry at the indicated position, and `n` is the length of the sequence. The square brackets enclose the entries in order, with commas separating them and the ellipsis standing for the intervening entries. The entries can have the user, assistant, `function_call` or `observation` role. The role determines whether an entry is spoken dialogue, a request to the service or the result of that request.

```
C = [u₁, u₂, …, uₙ₋₁]
```

`C` is the preceding dialogue context in the paper’s notation. The `u` entries are indexed as above, and `n−1` is the index immediately before the last entry. The ellipsis covers the intervening positions. The formal description calls `C` the user and assistant utterances. In the tool-assisted inference description, the generator also receives the observation in its history before producing the final answer. Thus both the ordinary turn sequence and the augmented history appear in the paper’s account.

```
uₜ ∼ Pθ(· | C)
```

`uₜ` is the output at step `t`, given the preceding context `C`. `Pθ` is the conditional probability distribution defined by the dialogue generator with parameters `θ`. The dot is a placeholder for a possible output, and the vertical bar means the distribution is conditioned on `C`. The relation `∼` says that the output is described by that distribution. The different possible outputs include the format for a tool call and the format for ordinary text.

```
Lₚ = −∑ₜᴺ log P(uₜ | C, θ)
```

`Lₚ` is the prediction loss given for the task. The summation `∑` adds the terms indexed by `t`, with `N` indicating the upper limit shown in the paper. The equation leaves the lower limit and the exact scope of `N` implicit. For each included step, `P(uₜ | C, θ)` is the probability assigned to the target output `uₜ` by the generator with parameters `θ`, given context `C`. `log` takes its logarithm. The minus sign makes low probabilities for recorded targets contribute larger loss. The objective can therefore reward generating the expected kind of continuation as well as its content. The paper gives one prediction loss for the tool-based task.

#### What happens on a new turn

At inference, the generator encounters the current dialogue and produces the next output in an action-and-observation format inspired by ReAct. If it writes an ordinary assistant message, that is the next turn. If it emits an action, the output includes the tool name and the input text. The application executes the call, appends the result as an observation, and gives the augmented history back to the generator. The listener reply follows. The goal is to make an external interpretation available at a specific point while retaining the same overall task of answering the speaker. [ReAct](https://md.research.elamur.ai/free/en/papers/yao-2022-react-synergizing-reasoning-acting-language/)

In the deployed sequence described by the paper, the call decision comes from the fine-tuned generator. The Annotator and Reflector belong to the preparation of the examples. The Reflector’s check against a recorded response has no direct equivalent on a live turn, because the reply has yet to be written. Its influence at that point comes from the examples it selected. In the plug-in experiment, the authors substitute CICERO for COMET at the service interface and use the same trained generator. The paper makes both the EKTC code and the TOOL-ED dataset part of the research contribution, and states that the code is available.

### Experiments and results

#### What the comparisons hold in common

The paper describes ED as containing 33,090 dialogues with corresponding contexts and 32 emotion labels. TOOL-ED uses dialogues from that corpus and adds the selected intermediate actions. The implementation section gives a training, validation and test split of 8:1:1 for both ED and TOOL-ED. The construction section also describes randomly taking 10% of the training set for validation. These are the two split descriptions the paper gives, without specifying how they fit together. The reported response-generation comparisons are on the ED test set.

Training uses the LLaMA-Factory framework and NVIDIA A6000 48G GPUs. The experiment is organized around Vicuna-7B and Qwen1.5-14B. For each, the authors test the starting system, a one-example prompting setup, and ordinary LoRA fine-tuning on ED formatted as dialogue. They then test LoRA fine-tuning on TOOL-ED with COMET at inference, and the same tool-trained system with CICERO behind the interface. The ordinary fine-tuned version is the closest comparison for the full approach. It receives task-specific training on the original conversations and targets, while the TOOL-ED version also learns from inserted actions and observations.

The one-example version answers after being shown a demonstration. It allows the authors to compare an input-side way of adapting the starting system with adaptation through a training corpus. The untouched starting version gives a baseline for how that system responds without either change. These comparisons are useful for locating the effect of task-specific training. A good score against a starting system leaves open whether the benefit comes from the tool procedure or from having learned to answer ED conversations. The ordinary ED fine-tuning comparison addresses that question more directly. [Few-shot learning](https://md.research.elamur.ai/free/en/concepts/few-shot-learning/)

The authors also reproduce earlier empathetic dialogue systems using their released code and recommended settings. CEM brings in commonsense knowledge, while KEMP uses emotional cues from external graphs. EmpDG combines sentiment analysis at different levels with an adversarial training procedure. HEF uses a smaller system to help identify prominent emotions. The remaining comparisons include IAMM, which pays attention to associated words, MOEL, which represents emotional responses through a distribution, and MIME, which groups emotions by polarity and varies how closely replies mirror the user’s emotion. These comparisons place EKTC alongside approaches that emphasize different parts of the empathy task.

#### What the automatic scores measure

The paper reports several measures of similarity to the listener response written for ED. BLEU measures agreement in patterns of words. The different orders in the reported series count patterns of different lengths, so a change in BLEU-4 concerns longer matching sequences than a change in BLEU-1. ROUGE also measures textual agreement and is reported at several orders, including ROUGE-L. These scores help characterize how closely a generated reply resembles the dataset’s answer. Different appropriate replies to the same speaker can express their acknowledgment in different words. [BLEU score](https://md.research.elamur.ai/free/en/concepts/bleu/) and [N-grams](https://md.research.elamur.ai/free/en/concepts/n-gram/)

BERTScore compares representations of words in the generated and reference answers using cosine similarity. In practice, this gives credit for similarity that the exact word sequences used by overlap measures can miss. It still compares to the same recorded answer. Distinct scores address a different property. Distinct-1 concerns diversity at the level of individual words, while Distinct-2 examines word pairs. These measures can move independently of reference agreement. A system might generate a greater variety of word pairs while matching the original replies less closely.

Taken together, the automatic measures characterize several properties of the generated text. They do not directly verify whether the system’s reasoning about the speaker was correct. A reply may accidentally overlap with the reference, or match its meaning while omitting an acknowledgment a person would value. Conversely, a person might prefer a response that departs from the reference. The authors add side-by-side judgments to address some of the qualities that overlap and diversity leave unresolved.

#### Agreement with the original replies

Qwen’s BLEU-4 results illustrate the main sequence of comparisons. On the ED test set, the starting system scores 0.0077, and the one-example version scores 0.0078. Ordinary fine-tuning brings it to 0.0317. The TOOL-ED-trained version scores 0.036 with COMET and 0.0352 with CICERO. That progression assigns much of the observed movement on this metric to adapting Qwen to the dialogue task. Learning from TOOL-ED gives a further improvement under either tool configuration.

Qwen configurations on the ED test set, BLEU-4 Fine-tuning improves reference overlap and the COMET-assisted configuration scores highest.

**The numbers**

| System or setting | BLEU-4 |
| --- | --- |
| Qwen base | 0.0077 |
| Qwen with one example | 0.0078 |
| Qwen fine-tuned on ED | 0.0317 |
| Qwen with TOOL-ED and CICERO (this paper) | 0.0352 |
| Qwen with TOOL-ED and COMET | 0.036 |

The same Qwen comparison can be read through metrics that respond to other properties of a reply. On the ED test set, ordinary fine-tuning gives BERTScore of 0.8760. The TOOL-ED systems reach 0.8765 with COMET and 0.8766 with CICERO. On ROUGE-L, ordinary fine-tuning yields 0.1696, while COMET gives 0.1793 and CICERO gives 0.1768. The tool variants therefore look close on embedding similarity, and the COMET variant has the stronger ROUGE-L result. Qwen with COMET also reaches 0.0579 on ROUGE-2, against 0.0483 for ordinary fine-tuning and 0.0563 for CICERO.

Vicuna shows a similar improvement at several orders of reference agreement. On ED test BLEU-4, ordinary fine-tuning gives 0.0316. The configuration trained on TOOL-ED scores 0.0339 with COMET and 0.0341 with CICERO. In ROUGE-L, the corresponding results are 0.1561 for ordinary fine-tuning, 0.1735 for COMET and 0.1732 for CICERO. Vicuna’s BERTScore is 0.8723 after fine-tuning on ED, 0.8755 with TOOL-ED and COMET, and 0.8751 with TOOL-ED and CICERO. These results show gains with either implementation of the tool.

Some measures favor other settings. Vicuna fine-tuned on regular ED scores 0.1935 on test BLEU-1, ahead of the COMET-assisted version at 0.1859 and the CICERO-assisted version at 0.1877. That ordering coexists with gains for the tool variants on BLEU-4. A system can become somewhat better at producing longer sequences found in references while returning fewer of the individual words favored by the unigram metric. The table provides separate evidence for each pattern of agreement.

The comparisons with earlier systems show a similar mix. MIME has ED test BLEU-1 of 0.2182. Qwen with COMET scores 0.1936 on the same measure. On BLEU-4, MIME has 0.02796 while Qwen with COMET has 0.036. IAMM’s reported BERTScore is 0.8633, compared with 0.8765 for Qwen with COMET. EmpDG, whose BLEU-4 is 0.0316, gives a point of comparison close to the systems fine-tuned on ordinary ED on that measure. The tool-based approach fares well across many of the reported comparisons, with the strength of the result depending on which measure is used.

#### Diversity and the change of tool

The diversity scores complicate a simple ranking. On ED test Distinct-2, the base Vicuna scores 0.1833. The TOOL-ED variants score 0.1453 with COMET and 0.1447 with CICERO. The ordinary ED fine-tuned version scores 0.1424. Accordingly the two tool-assisted versions show somewhat more variety than ordinary fine-tuning on this metric and less than the starting system. For Qwen, the one-example setting scores 0.1904 and the ordinary fine-tuned setting scores 0.1172. The COMET and CICERO versions fall between them at 0.1358 and 0.1395.

The authors suggest that placing returned information in the history may constrain how much conversation fits in the input and thereby affect diversity. The scores describe a change in word patterns. The table does not directly measure that proposed route from the amount of supplied history to the diversity of the answer. In the context of the evaluation, a more varied output can still do a poor job of reflecting the particular conversation, and a less varied output can earn stronger reference agreement. The authors treat the diversity movement as a tradeoff to interpret alongside the rest of the evidence.

The tool substitution is a different comparison from switching between ordinary training and TOOL-ED. The generator has already learned when and how to ask for help from traces containing COMET results. At inference, the authors connect the same interface to CICERO. The automatic scores remain in a similar range across the two tools on both Vicuna and Qwen. Individual results favor different tools. For example, CICERO gives the higher Vicuna BLEU-4, while COMET gives the higher Vicuna BERTScore. The strongest direct conclusion is that both tested sources can supply useful information through the same interface for this task, including the one whose output was absent from the main training examples.

#### How people compared the replies

For the human evaluation, the paper reports randomly selecting 100 conversation samples and recruiting three researchers with expertise in emotional dialogue systems, excluding the paper’s authors. The evaluators compare answers to the same context. They can award a win, record a loss, or mark a tie if the answers are close. The reported win, tie and loss rates are expressed from the perspective of the COMET-assisted system. The result tables include comparisons against both the starting system and the ordinary ED fine-tuned counterpart for Qwen and Vicuna.

The criteria break down the judgment. Empathy concerns how well the reply recognizes the speaker’s emotions and intentions and responds appropriately. Informativity asks whether it supplies something of value. Fluency concerns natural and smooth expression. Consistency combines clarity, concision and staying on the topic of the conversation. These judgments can diverge on the same pair of answers. A well-phrased reply may still add little, and an informative reply may address the situation in a way that sounds awkward.

Against Qwen fine-tuned on ED, Qwen with COMET wins 61.3% of the human empathy comparisons, ties 32.7% and loses 6.0%. Its consistency win rate is 63.7%, with 24.0% ties and 12.3% losses. It records a 52.0% win rate for informativity and a 60.0% win rate for fluency. Thus the evaluations favor the full system across the criteria in this pairing, while also showing that the preference is more pronounced for some aspects of the answer.

Against Vicuna fine-tuned on ED, the tool-assisted Vicuna wins 72.3% of the empathy comparisons, ties 22.3% and loses 5.3%. The fluency result is 67.0% wins, 29.7% ties and 3.3% losses. The consistency win rate is 67.7%, and the informativity win rate is 53.3%. These pairings matter because both sides have been adapted to ED. The evaluators are comparing a reply produced after training on the reconstructed traces with one produced after training on the ordinary dialogue records.

The comparisons with untuned systems are more uneven than a single empathy figure would suggest. Against base Qwen, Qwen with COMET wins 64.0% for empathy. On fluency, it wins 17.0%, with 71.3% ties and 11.7% losses. Against base Vicuna, Vicuna with COMET gets 57.7% empathy wins, but the informativity comparison gives it 15.7% wins, 45.0% ties and 39.3% losses. A stronger showing on recognition of emotion can therefore coexist with little perceived fluency gain, or with fewer replies judged more informative, depending on the baseline and the criterion.

#### What GPT-4 preferred

The authors also ask GPT-4 to judge the COMET versions against the corresponding generators fine-tuned on the original ED corpus. The prompts frame the comparison separately for empathy, consistency and fluency. The empathy criteria include understanding the depth of the speaker’s feelings and expressing a warm, sincere response. The consistency prompt asks about relevance to the history and accurate treatment of its key points. The fluency prompt asks about grammar, coherence and natural expression. Each prompt requires a binary decision. The human protocol allows ties. [GPT-4 Technical Report](https://md.research.elamur.ai/free/en/papers/openai-2023-gpt-4-technical-report/)

For Qwen with COMET, GPT-4 selects the tool-assisted reply in 71% of empathy comparisons, 86% for consistency and 87% for fluency. For Vicuna with COMET, the respective preference rates are 77%, 83% and 90%. These preferences point in the same direction as the human comparisons with ordinary fine-tuning. The percentages are specific to their respective protocols. In particular, the binary procedure assigns a preference even when the human evaluation would have allowed an evaluator to leave the pair tied. The human and automated comparisons thus provide complementary evidence about the replies, with different questions about how strongly one is preferred to the other.

### What the ablations show

#### Calling on every turn

The complete framework both teaches a call decision and filters training traces against the original reply. The paper asks what happens when the system uses external information more routinely. One ablation includes COMET on each dialogue round, using a prompt to obtain relevant commonsense knowledge. This comparison tests the practical alternative that motivates the paper. If simply providing more inferences were enough to get the same result, always providing them would be a plausible way to handle the task.

The reported differences are substantial on several reference-based metrics. On ED test BERTScore, Qwen with COMET on every turn scores 0.8473, compared with 0.8765 for Qwen with the complete framework and COMET. The analogous Vicuna scores are 0.8455 and 0.8755. On Qwen’s ED test ROUGE-L, supplying COMET every turn gives 0.1143, while the full configuration gives 0.1793. The Vicuna comparison on the same measure is 0.0974 for every-round knowledge and 0.1735 for the complete COMET setting in the ablation table.

The every-round setups do have higher diversity on some measures. For Qwen, the ED test Distinct-2 result is 0.2114 with every-round COMET and 0.1358 with full EKTC and COMET. For Vicuna, the corresponding figures are 0.2188 and 0.1453. The greater variety of word pairs accompanies weaker reference agreement. This gives a concrete sense of what the paper means when it says additional knowledge can add noise. More material enters the generation process, and the replies show a wider range of word combinations but less resemblance to the target answers.

The authors interpret this result as evidence for choosing the timing of calls. The comparison supports that interpretation at the level of the tested configurations. It also changes how the information is supplied, from a prompt-based every-round setup to a learned action-and-observation sequence. It therefore compares ways of using COMET as packages. The score gap cannot be assigned uniquely to the choice made on each individual turn.

#### Keeping the first judgment and dropping the second

A closer comparison removes the Reflector. The system still learns from a dataset in which the Annotator judges whether a turn calls for outside knowledge. What changes is that accepted candidates are included without checking the actual observation against the original reply. This separates the effect of proposing a call on contextual grounds from the effect of checking its result. The authors run the comparison with both inference tools for each generator.

On the ED test set, Qwen with COMET scores 0.8722 on BERTScore without reflection and 0.8765 with reflection. With CICERO, the figures are 0.8740 without and 0.8766 with reflection. For Vicuna with COMET, the scores are 0.8730 and 0.8755. For Vicuna with CICERO, they are 0.8638 and 0.8751. All of those comparisons favor the data prepared with both annotation passes on this metric, even when the authors swap in an alternative source at inference.

ROUGE-L shows the same direction for these pairs. In the ablation table, Qwen with COMET scores 0.1654 without reflection and 0.1793 with it. With CICERO, it scores 0.1683 without reflection and 0.1768 with it. Vicuna with COMET scores 0.1701 without reflection and 0.1735 with it. Its CICERO configurations score 0.1656 and 0.1731, respectively. The comparison indicates that training examples admitted by the extra check tend to lead to more reference agreement even when inference uses a different source than the one whose observations were checked during construction.

Qwen tool-use ablations on the ED test set, ROUGE-L The reflection-filtered setting leads for each tool while every-turn COMET trails the selective settings.

**The numbers**

| System or setting | ROUGE-L |
| --- | --- |
| COMET on every turn | 0.1143 |
| Selective COMET without reflection | 0.1654 |
| Selective CICERO without reflection | 0.1683 |
| Full EKTC with CICERO (this paper) | 0.1768 |
| Full EKTC with COMET | 0.1793 |

Other scores show why the choice of metric matters. The ED test BLEU-1 score for Qwen with COMET is 0.1971 without reflection and 0.1936 with it. Vicuna with COMET scores 0.1943 without reflection and 0.1859 with it on the same measure. Those results favor admitting more candidate traces for agreement on individual words. They sit alongside the consistent ROUGE-L and BERTScore improvements when the relevance check is used. The ablation evidence for filtering is therefore strongest on the measures where the pattern holds across both systems and both tools.

The paper also charts the proportions of calls made by the variants trained with and without reflection. It describes the full systems as calling less frequently than the variants trained without that pass. Read alongside the scores, this shows that higher reference agreement on measures such as BERTScore coincides with fewer calls. The observation fits the idea that the filtering procedure teaches more selective behavior. It does not supply a turn-by-turn answer key for which calls were necessary.

Removing reflection changes both the amount and the composition of tool-use supervision. The filtered training corpus contains fewer accepted instances, and the remaining instances are those judged relevant by LLaMA3-70B. At inference these changes can influence when the generator calls and what kinds of observations it is accustomed to seeing before a reply. The ablation measures their combined effect. It leaves room for different mechanisms, including learning to call less frequently and learning to rely on a narrower range of examples in which an observation supports the target.

### Limitations

#### The limitation identified by the authors

The authors explicitly limit the scope of their tool definition to the demonstrated pattern of use. Each system can consult a commonsense service through the specified interface. The paper tests changing the source behind that interface, but it does not study how a system chooses among several tools available at once or combines their outputs into a single reply. The authors suggest that a broader collection of tools and a hybrid use of external knowledge could make the generated replies richer. That remains a proposal.

The distinction matters for interpreting the substitution experiment. In that experiment, the system can produce a familiar request and receive text in a familiar place in the history, while the service producing the text changes. With multiple tools in scope, it would also need to decide which resource to consult, whether to seek another observation, and how to handle several responses about the same conversation. Performance with COMET and with CICERO establishes that the interface can accommodate both individually in the reported experiment.

#### Limits that follow from the setup

The task starts from recorded conversations in one benchmark. The paper shows what the systems generate for ED contexts and how their replies compare with ED references or alternative generated replies. The human evaluators are researchers judging response pairs. The study does not follow the people whose experiences are being discussed and ask whether they feel understood, whether the conversation improves, or how they respond over subsequent turns. The case study illustrates an interaction and a call trace, while the aggregate results evaluate replies under the benchmark’s conditions.

The original listener reply has two important roles. It helps determine which candidate traces pass the Annotator and Reflector prompts during data construction, and an original reply provides the target for the automatic metrics at evaluation. The held-out test comparison concerns new instances within the benchmark. The connection at issue is the kind of behavior the procedure rewards. The system is trained on traces selected in part for agreement with ED’s existing style of responding, then measured partly by its agreement with ED responses. Human preferences strengthen the evidence by asking about qualities such as empathy and fluency directly, while still operating on replies to the same kind of conversation.

The paper’s interpretation of a call as useful also depends on the automated judgments used to create TOOL-ED. The Annotator sees the reference answer, and the Reflector looks for compatibility with that answer. Their selection indicates that an inference fits the conversation and reply under the given prompts. The paper does not establish a unique right time to call. For the same turn, a capable listener might infer enough directly, or might benefit from information that leads it to an appropriate reply different from the recorded one. A relevance check based on a single answer may favor the inferences that support that answer’s approach.

There is also a difference between judging a well-phrased reply and verifying the inferences within it. COMET and CICERO supply possible implications of the context. The fact that a reply sounds warmer or scores better on reference agreement does not establish that an inferred motivation or causal explanation was correct. The framework is motivated in part by the risk of erroneous or distracting information, but its outcome measures do not count unsupported inferences or factual mistakes as a separate category. They support claims about response quality under the selected measures more directly than claims about hallucination.

The paper gives useful boundaries for reading its preference rates. The human study uses 100 randomly selected conversations and three evaluators, and the tables report the outcomes of their comparisons. The results give the observed preferences for those samples. The paper does not accompany them with uncertainty intervals or agreement among the human evaluators. The GPT-4 results use a different, forced-choice protocol and omit informativity. They are a second set of preferences under specified prompts, rather than a measurement of agreement between GPT-4 and the human panel on the same individual decisions.

The results also characterize the trained system’s outputs more fully than the cost of producing them. A tool-assisted turn includes the generation of a request, execution of the service and generation of a final reply after incorporating the observation. A direct turn can end with the initial response. To judge the operational value of selective calling, a reader would also want to know how the added steps affect response time and input length under the evaluated conditions. The paper reports invocation patterns and discusses the history available to the generator in connection with diversity, but does not quantify these operational effects.

Finally, the best controlled comparisons are on the same dataset and with two starting generators and two commonsense sources. This gives the authors room to show that their findings recur across more than one pairing. The work leaves open how the procedure would behave in settings with different conversational norms, with other kinds of external resources, or with tools whose outputs differ more sharply from the types of commonsense inferences used during training. Its strongest evidence concerns the ability to learn selective use of this kind of auxiliary text and improve some properties of the resulting ED replies.

### What came after

[Causal-ESC: Reliable Policy Learning for Emotional Support Conversation via Causal Inference](https://md.research.elamur.ai/free/en/papers/wang-2026-causal-esc-reliable-policy-learning/) cites TOOL-ED and names a different decision problem in its title. It studies policy learning for emotional support conversation through causal inference. TOOL-ED’s decision is narrower and more concrete. It asks whether the listener should bring in an outside commonsense observation before replying. The citation connects work on learned decisions in supportive dialogue. The title establishes the later paper’s subject, but leaves open whether its policy uses the TOOL-ED call decision, the reconstructed corpus, or either of the commonsense tools.

[大语言模型的工具使用综述](https://md.research.elamur.ai/free/en/papers/zheng-2025-tool-use-large/) cites TOOL-ED in a survey whose title concerns tool use by large language systems. That places the citation in the broader line of work from which Cao and colleagues draw their method. TOOL-ED offers a case in which an external action is optional and the user can simply be sharing an experience. The general issue for tool use is how a system identifies an occasion for assistance when the conversation itself does not explicitly call for a tool. The citation establishes that the survey discusses the literature that includes TOOL-ED. Its title alone gives no detail about how it classifies or evaluates the framework.

## Cite

Cite as Huiying Cao, Yiqun Zhang, Shi Feng, Xiaocui Yang, Daling Wang and Yifei Zhang. 2025. TOOL-ED: Enhancing Empathetic Response Generation with the Tool Calling Capability of LLM. Proceedings of the 31st International Conference on Computational Linguistics.

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

```bibtex
@inproceedings{cao2025tool,
  title = {{TOOL-ED: Enhancing Empathetic Response Generation with the Tool Calling Capability of LLM}},
  author = {Huiying Cao, Yiqun Zhang, Shi Feng, Xiaocui Yang, Daling Wang and Yifei Zhang},
  booktitle = {Proceedings of the 31st International Conference on Computational Linguistics},
  year = {2025},
  url = {https://aclanthology.org/2025.coling-main.355/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
