TECHNOLOGY

Doc2Dial: grounding a dialogue turn in a document span and its conditions

In this article
THE QUICK TAKE

Doc2Dial links conversational actions to document content; a cited solution can still be wrong when its precondition does not apply.

Doc2Dial is a goal-oriented document-grounded dialogue dataset. Its construction links document content and dialogue scenes so a conversation can clarify conditions, provide information and respond using a relevant solution. It is useful for evaluating an assistant that must follow a document’s applicability structure, rather than quote any topically similar passage.

Preserve the document-span map

Document records include content and span information, while dialogue references point back to grounding material. Keep those relationships through text cleanup and tokenization. For an illustrative service-policy answer, the qualifying condition and the proposed action may occur in different spans. A conversion that keeps only the action can create a misleading supervised response.

Distinguish conditions from solutions

The author description roughly labels source content as conditional context or relevant solution for constructing scenes. These labels explain the data-generation setup; they should not be inflated into a complete formal policy language. Inspect the actual turn and document before treating the label as an executable rule for a deployed assistant.

Keep dialogue acts and roles

A user denying a condition has a different meaning from an agent asking whether it applies. Preserve speaker role, action and turn order. Removing them can reverse the interpretation of a short yes/no utterance. Evaluate whether the system uses the established condition when selecting its response, not merely whether its final text resembles a reference sentence.

Pin the annotation version

The project description distinguishes older dialogue-act annotations from simplified labels in the later release. Save the dataset version and the actual label vocabulary used. Mixing versions can make a valid action appear unknown or map several distinct old labels into an unexplained new category. Report any local remapping as a transformation.

Evaluate applicability as well as grounding

A response can quote a real source while applying the wrong procedure to the user’s stated situation. Include such cases in a separately described behavioral inspection. Preserve the original splits and distinguish gold-grounding input from independently retrieved context. The publisher card supplies another structured representation, with a script-dependent loading warning to account for. Doc2Dial is useful when document spans, conversation state and release-specific actions remain connected throughout training and evaluation.

Primary references

Doc2Dial original paper.

Doc2Dial official data description.

Doc2Dial IBM dataset card.

Related explanations: document span provenance; using retrieved knowledge.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles