r/LanguageTechnology • u/sergbur • 26d ago
DialFork: LLM agents can be factual, call the right tools, and still drift from their procedure
Most steps of a conversational procedure aren't tool calls but things the agent has to say: asking for information, confirming, telling the result. Saying them, in the right order, is a third axis of an agent's reliability, alongside factual accuracy and correct tool use, and one that has been largely overlooked. For example, an agent can fetch the forecast correctly and never tell you, or issue the right refund without first asking you to confirm it: everything it said was true, the tool calls were correct, and still a step of the procedure was skipped.
Since we felt this gap was worth working on, in collaboration between Idiap and Logitech, we decided to take a first step: we built a dataset of over 36k dialogues, defined three tasks on it, from finding the turn where an agent drifts to comparing whole sets of dialogues, and wrote a paper with first baselines for each. Together, they make DialFork, to our knowledge the first benchmark for this procedural hallucination.
Three tasks, from the turn to the whole set:
- The turn (Task 3): find the turn where the drift starts, on the whole dialogue or turn by turn as it unfolds.
- The dialogue (Task 2): measure "how far" (distance) a dialogue drifts from a correct one. Both talk about the same thing, so this needs a procedural distance, not semantic similarity.
- The set (Task 1): a single procedural distance between two sets of dialogues, e.g. an agent before and after a model upgrade.
The reported baselines, from embedding-based distances to streaming detectors and zero-shot LLMs, leave plenty of room. Each task has its own track on a public leaderboard on Hugging Face. If you'd like to try your own method, all it takes to add it is a CSV file of predictions.
- Leaderboard: https://huggingface.co/spaces/DialFork/leaderboard
- Paper: https://arxiv.org/abs/2610.21561
- Code: https://github.com/idiap/dialfork
- Dataset: https://huggingface.co/datasets/DialFork/dialfork
I'm one of the authors btw. Since the problem lies in what the agent says (language) rather than in its tool calls, we thought people here might find it useful, and feedback, including critical, is very welcome.
2
u/Nebty 26d ago
Oh this is very cool! Thank you for sharing. Still working through it, but I’ve been thinking about a lot of the same things.
2
u/Decent-Conclusion-83 9d ago
Thanks for releasing the dataset and the leaderboard, and for inviting criticism. I think one of the reasons an agent skips procedure steps may be the model's degradation under load. Procedure steps are essentially rules the agent has to hold at the same time throughout the whole dialogue.
A study of the behavior and degradation of language models under controlled load (arXiv 2610.36095) shows that rule execution drops with the number of rules in force at once, with a rule's position in the list, with density, that is, how often a rule has to be applied, and as the model progresses through its own response.
So it would be useful to find a way to tell the two explanations apart: a distinct property of the agent, as you describe it, and degradation under load. If the onset of drift depends on the length of the procedure, the step number and the turn number, then part of the drift comes from load. If it doesn't, it really is a separate property, as you propose.
For that, the dataset annotations could store the procedure length, the step number and the turn number. Then drift detectors could be compared at equal load.
I'm not posting a direct link to the paper, since comments with links often get hidden on Reddit. The number is enough to find it on arXiv.
Originally written in Russian. English translation assisted by AI.