betaFeedback

WorksComputer Science

DialFork: Going Beyond Factuality to Evaluate Procedural Hallucination in Conversational Agents

Abstract

Large language models (LLMs) deployed as conversational agents are increasingly expected to follow procedural logic. While factual hallucination has received extensive attention, a different failure mode has been overlooked: procedural hallucination, in which an agent produces individually fluent and factually plausible utterances while deviating from the intended conversational process. We introduce DialFork, the first benchmark to measure this failure mode on raw dialogue text. DialFork is built by forking conformant dialogues at controlled turn positions and injecting one of four hallucination types, yielding 36,278 dialogues across 24 tasks in 12 domains; 30 human annotators validate the construction. We define three evaluation tasks that characterize procedural deviation at three granularities: how far a set of dialogues deviates from conformant ones (monitoring deployed agents), how far a single dialogue does (procedural retrieval), and at which turn a dialogue first goes off-track (real-time guardrails). For the first two, we propose dialog-flow-aware metrics, FlowKL and FlowScore, that compare dialogues by how they unfold rather than their content. At the dialogue level, FlowScore significantly outperforms all baselines across seven encoders, showing that semantic similarity is no substitute for procedural similarity. We release DialFork under open licenses at https://github.com/idiap/dialfork, hoping the community will measure conversational process alongside content.

Introduction

As LLMs are deployed in increasingly agentic roles (customer support, scheduling, guided troubleshooting, clinical intake), they are implicitly expected to follow structured procedural logic: a sequence of prescribed steps that moves a conversation from a user’s initial request to a completed goal ([16, 1]). This expectation extends well beyond classical task-oriented dialogues (TOD); it applies to any system where the process of a conversation matters as much as its content.

The dominant conception of hallucination in LLMs concerns factual errors ([29, 20, 19]), for instance: confident assertions of incorrect dates, invented product details, or wrong numbers. A qualitatively different and practically critical failure mode has, however, received comparatively little attention: an agent that produces entirely truthful, fluent utterances while violating the procedural logic it was instructed to follow. The closest prior notions, hallucination in inter-agent communication ([27]) and faithfulness to grounding knowledge in dialogue ([8]), concern the accuracy of content, not adherence to a conversational process.

We call this procedural hallucination: a breakdown in process rather than content. A procedurally hallucinating agent may skip required steps, pursue a different goal than instructed, repeat already-completed actions, or introduce conflicting objectives that derail task completion, all while generating individually plausible responses. Crucially, this failure is orthogonal to factual correctness: no single utterance need be false for the overall conversation to be wrong. Standard hallucination benchmarks ([25, 26]) are blind to such failures because they evaluate the truthfulness of content, not the conversational process.

To address this gap, we present DialFork, a benchmark constructed by forking dialogues at controlled turn positions (Figure 1) to simulate different types of procedural hallucinations. Our main contributions are the following: (a) We define procedural hallucination as a phenomenon distinct from factual hallucination, and decompose it into four complementary types grounded in a general workflow model (§ 3). (b) We release DIALFORK, a 36,278-dialogue benchmark constructed via controlled forking that spans 24 tasks across 12 domains and four temporal deviation depths, along with its seed-controlled multi-agent generation pipeline, applicable to any workflow-annotated dialogue dataset, and validate its construction in a human study with 30 annotators (§ 4). (c) We define three evaluation tasks that characterize procedural deviation at three granularities, directly from raw dialogue text: how far a set of dialogues deviates from conformant ones, how far a single dialogue does, and at which turn a dialogue first goes off-track (§ 5). (d) Enabled by the new dataset, we introduce FLOWKL and FLOWSCORE, two dialog-flow-aware distance metrics that compare dialogues by how they unfold rather than by their content, and report initial baselines on all three tasks as a starting point for future work (§ 6).

Construction of DIALFORK by controlled forking

Figure 1. Construction of DIALFORK by controlled forking: the simulation of a conformant dialogue D+D^{+} is re-run with the same seed, reproducing its prefix, and a hallucination instruction is injected just before the fork turn. Earlier forks deviate more, inducing a ground-truth ordering by procedural (dialog-flow) similarity.

Related Work

Hallucination in LLMs. The dominant view concerns factual accuracy of generated content [29, 23, 26, 28]. Surveys [20, 48, 19] taxonomize hallucination along faithfulness and factuality dimensions, and dialogue-level benchmarks such as DiaHalu [7] extend them to multi-turn conversations; all these categories, however, concern what is said, not the correctness of how a conversation unfolds.

Procedural adherence and dialogue similarity. A parallel line studies whether systems follow prescribed steps, from policy-constrained action sequences [5] and procedure-guided action prediction [42] to condition–action instruction following [13] and workflow generation [35], typically over annotated actions, intents, or slots. Dialogue similarity is largely text similarity: embeddings collapse the turns into one vector [37, 49] compared by cosine, discarding turn order; TaskDiff [2] relies on annotated intents and slots. These benchmark how well models follow procedural instructions; DIALFORK instead benchmarks methods that measure how far a conversation deviates from a procedure, directly on raw dialogue text, whether an LLM or a human produced it.

Procedural Hallucination

Formal Model

Most conversational systems do not declare their procedural logic explicitly: states, available actions, and transitions are implicit in the agent’s instructions, the underlying business process, or the assumed conversational norms. To talk about deviations from this logic precisely, we introduce a lightweight abstraction that does not assume any particular implementation. We model the intended logic of a conversational agent as a tuple W=(S,A,δ,O)\mathcal{W} = (\mathcal{S}, \mathcal{A}, \delta, \mathcal{O}), where S\mathcal{S} is a set of conversational states (e.g., steps or phases of the interaction), A\mathcal{A} is a set of agent actions (e.g., the communicative functions it can perform), δ:S×U→S\delta: \mathcal{S} \times\mathcal{U} \to\mathcal{S} is a transition function from the current state and user input U\mathcal{U} to the next state, and O\mathcal{O} is the agent’s objective.

This formulation is intentionally general. It applies to any goal-directed conversational agent. For example, a task-oriented dialogue system has the dialogue policy as δ\delta and task completion (e.g., booking a hotel room, retrieving a balance) as O\mathcal{O}; a medical-intake assistant has a clinical protocol as δ\delta and patient triage as O\mathcal{O}; a customer-support agent has a troubleshooting procedure as δ\delta and issue resolution as O\mathcal{O}. A conformant dialogue D+D^{+} is one whose turns follow W\mathcal{W}.

Hallucination Types

We define four complementary types, each targeting a distinct component of W\mathcal{W} (summarized in Table 1, with an example of each):

Type(S,A)(S,\mathcal{A})δ\deltaOOWhat is brokenExample (simplified): first two turns after the fork
Shared opening before the fork
Conformant✓✓✓— (original)User: I’d like to book a viewing. System: Your name? User: Mark.
WIC××✓Workflow identitySystem: Let’s search apartments! budget? User: No, just a viewing! . . .
SSPC✓×✓Step selectionSystem: Your viewing is booked! User: What?! Which one?! . . .
GR✓✓×Task goalSystem: Want to try co-living instead? User: No, no, I already know . . .
CSC✓✓∼Goal conflictSystem: Just to confirm, your name is Mark? User: Yes, Mark. . . .

Table 1. Procedural hallucination types and the components of W=(S,A,δ,O)\mathcal{W}=(S,\mathcal{A},\delta,O) they corrupt (✓: preserved; ×: replaced; ∼: partially overridden). Simplified example (a real one is in Appendix § 17): after the shared opening, each row shows only the first two turns from the fork turn tkt_k on; every version then continues (. . .) as a full dialogue. Gray: intended workflow; blue: corrupted.

  • Workflow Identity Corruption (WIC). W\mathcal{W} is replaced by a different workflow W′\mathcal{W}^{\prime}; the agent follows a valid workflow but the wrong one (modeling task disambiguation failures and prompt injection).

  • Step Selection Policy Corruption (SSPC). OO and (S,A)(S,\mathcal{A}) are preserved but δ\delta is replaced by a corrupted policy δ′\delta^{\prime} that, e.g., repeats, skips, loops, or randomizes steps.

  • Goal Replacement (GR). W\mathcal{W} is preserved but the objective OO is replaced by a qualitatively different goal O′O^{\prime} (e.g., collecting feedback instead of completing a booking).

  • Conflicting System Constraints (CSC). OO is retained but augmented with a competing auxiliary objective OcO_c that intermittently overrides OO (e.g., always responding with a question, or confirming every detail).

In practice, for both diversity and fine-grained controllability, we define a small pool of concrete variants per hallucination type (five corrupted policies for SSPC such as repeat, skip, and invert order, six alternative goals for GR, and six conflicting constraints for CSC); the full lists are in Appendix § 12.

The DialFork Dataset

Construction Pipeline

STAR as a generation basis. We base DIALFORK on STAR (Mosig et al., [32]), which spans 24 tasks across 12 domains (hotel, ride, restaurant, medical, party, spaceship, trivia, weather, etc.). STAR is uniquely suited to our pipeline because its dialogues were originally produced by human role-play: for each dialogue, one human participant was given the system role, with the task’s workflow graph and per-node response templates (Appendix § 13), and another was given the user role, with a persona, a task, and a goal; the two then conversed in these roles. Crucially, STAR releases not only the resulting dialogues but also these role-play instructions, exactly as they were given to the two human participants of each dialogue (see Appendix § 14 for a complete example). We give the same instructions to two LLM agents that take the place of the humans: the system agent receives the instructions given to the human who played the system, and the user agent those given to the human who played the user. To our knowledge, no other public dialogue corpus releases both an explicit workflow for every task, which serves as procedural ground truth, and the instructions given to the humans who produced each conversation. Since every DIALFORK dialogue is newly generated, only STAR’s instructions and workflows, not its original dialogues, enter the benchmark.

Conformant dialogue generation. For each STAR scenario, we use SDialog (Burdisso et al., [3]) to run the two agents: the system agent is instructed to follow the workflow faithfully, and the user agent to interact naturally without volunteering all details upfront. Both agents are Gemma-4–31B (Google DeepMind, [14]) served locally2; prompts and full implementation details are in Appendix § 15. The two agents converse until the task is completed or a per-task turn budget is reached. After filtering for dialogues that include enough system turns to admit all four fork positions, we retain an initial set of 2,134 valid conformant dialogues.

Forked hallucination generation via seeded replay. For each conformant dialogue D+D^{+} with TT system turns, we identify four fork points at evenly-spaced positions tk=1+round⁡((k−1)⋅T/4)t_k = 1 + \operatorname{round}((k - 1)\cdot T/4), k∈{1,2,3,4}k \in\{1,2,3,4\}. To produce a forked variant, we re-run the same scenario with the same random seed, so that turns 1 through tk−1t_k-1 are again generated under the intended workflow and reproduce those of D+D^+;3 before turn tkt_k is generated, a hallucination instruction is added as a system message to the system agent’s context, specifying the type and the sampled variant (drawn from the per-type pool defined in § 3; full prompts in Appendix § 16). From tkt_k onward, the system agent follows the injected instruction and produces turns that diverge from D+D^+ in the manner specified by the chosen hallucination type (Table 1; worked examples in Appendix § 17). Earlier forks produce more deeply deviant dialogues, while later forks produce subtler deviations, naturally inducing a similarity ranking over the forked dialogues (Figure 1).

Quality assurance. DIALFORK’s usefulness rests on a single property: forking must produce controlled deviation from the conformant baseline. Automatic metrics confirm it across the whole dataset (Task 1, § 6), but cannot tell how or when each fork deviates. We therefore ran a human study: 30 annotators judged 428 conversations from five tasks (526 judgments), answering in stages so that they rated each conversation before learning how it was built. The study confirms the four labels

the benchmark relies on. (i) Fork order: for the types that break the workflow (WIC, SSPC, GR), blind conformance ratings rise with fork position, from 14/100 at k=1k=1 to 58 at k=4k=4 and 94 for conformant dialogues (τb=0.64\tau_b=0.64 across the four forks; Figure 3a). (ii) Hallucination type: told which instruction had been injected, annotators confirmed it in 91% of forks, vs. 8% for foil instructions. (iii) Fork turn: they placed the onset of the injected behavior within one turn of tkt_k in 77% of cases (exactly at tkt_k in 67%; Figure 3b). (iv) Prefix: the turns before the fork follow the workflow in 95% of cases. Appendix § 23 details the study; we release its annotation tool and anonymized judgments. An LLM judge calibrated on them, excluding the generator, extends these checks to the whole corpus (Appendix § 23.§ 9).

Human validation of DIALFORK

Figure 3. Human validation of DIALFORK (Appendix N). (a) Mean blind conformance rating per fork position kk for WIC, SSPC, and GR forks (bars, with 95% bootstrap CIs) and for all four types (markers), and for conformant dialogues. (b) Distance, in assistant turns, between the annotated onset of the injected behavior and the fork turn tkt_k.

Dataset Statistics

Each of the 2,134 conformant dialogues yields 16 forked variants (4 hallucination types ×\times 4 fork positions), for a total of 36,278 dialogues (about 750K turns and 10.4M words, generated in about 33 GPU-days), 8,536 per hallucination type (per-task composition in Figure 2; exact counts in Table 5 and Table 6, Appendix § 11). Figure 4a shows that forked dialogues are longer than conformant ones (21.18 vs. 15.52 turns on average), with GR the longest (verbose goals such as information collection add content) and SSPC the shortest (skipped or repeated steps add little content). As kk increases (Figure 4b), the intended-workflow prefix grows from 0 to 12.5 turns while the corrupted continuation shrinks from 20.9 to 8.0, keeping total length roughly constant.

Figure 2. Per-task composition of DIALFORK. (a) Number of dialogues per STAR domain (inner ring) and task (outer ring; abbreviations as in (b)). Since every conformant dialogue yields 16 forks, the proportions are the same for conformant and forked dialogues. (b) Mean dialogue length per task, conformant vs. forked, grouped by domain in the same order and colors as (a).

Figure 4. DIALFORK statistics. (a) Dialogue length per split (box: interquartile range; whiskers: 5th–95th percentiles; line: median; dot: mean). (b) Mean number of turns per fork position kk, split into turns generated before the fork, under the intended workflow, and after it, under the corrupted policy (averaged over the four hallucination types).

Dialogues#Dialogs%Total#Turns#Words
Conformant2,1345.88%15.52186.94
WIC forked8,53623.53%20.02258.49
SSPC forked8,53623.53%19.31187.47
GR forked8,53623.53%24.79342.23
CSC forked8,53623.53%20.58247.64
Total36,278100.00%20.84254.72

Table 5. Dataset composition: conformant dialogues and forks of each hallucination type, with their number, share of the dataset, and average length in turns (#Turns) and words (#Words).

TaskConformant #Conformant MTConformant MWForks #Forks MTForks MWTotal #Total MTTotal MWTask 3 split TrainTask 3 split Test
apartment_schedule (ase)20618.65235.683,29622.36294.073,50222.15290.641031,751
apartment_search (as)3011.87271.5748017.07300.9951016.77299.2615255
bank_balance (bb)4613.52125.3973618.78214.2878218.47209.0523391
bank_fraud_report (bfr)13513.73166.712,16019.90232.262,29519.54228.40671,156
doctor_followup (df)429.38110.3667213.85173.5471413.59169.8321357
doctor_schedule (ds)12517.99181.802,00021.47229.062,12521.27226.28621,071
hotel_book (hb)12216.77175.321,95218.18200.282,07418.10198.81611,037
hotel_search (hs)837.43115.581,32814.40206.311,41113.99200.9741714
hotel_service_request (hsr)4615.00153.7273620.86240.7178220.51235.5923391
meeting_schedule (ms)4116.76169.7165620.46239.8469720.24235.7220357
trip_directions (td)20815.78229.753,32827.46355.913,53626.78348.491041,768
party_plan (pp)18519.65247.922,96025.36294.213,14525.02291.48921,581
party_rsvp (pr)12719.00174.682,03222.82248.392,15922.59244.05631,088
plane_book (pb)9011.00106.821,44018.04182.751,53017.62178.2945765
plane_search (ps)2915.00157.1046418.99226.0349318.76221.9814255
restaurant_book (rb)2715.52168.1943220.77220.8745920.46217.7713238
restaurant_search (rs)449.00171.5570416.92241.6574816.45237.5322374
ride_book (rib)13714.68180.852,19218.27216.502,32918.06214.41681,173
ride_change (ric)1311.00114.6220814.01147.0622113.83145.156119
ride_status (ris)99.0079.0014412.62138.6915312.41135.18485
spaceship_access_codes (sac)6617.73272.141,05620.23271.041,12220.08271.1033561
spaceship_life_support (spl)4013.20190.8064014.79214.6168014.69213.2120340
trivia (trv)16419.45215.372,62429.90403.912,78829.28392.82821,394
weather (wth)1199.0097.521,90413.72153.552,02313.44150.25591,020
TOTAL2,13415.52186.9434,14421.18258.9636,27820.84254.721,06118,241

Table 6. Per-task detailed statistics. Task labels are shown as task_name (abbr). In each block, # = number of dialogues, MT = mean turns, MW = mean words. Conformant = non-hallucinated; Forks = aggregated forked variants; Total combines both. Task 3 split: number of dialogues in the Task 3 train and test sets (§A.1).

Evaluation Tasks and Methods

We define three evaluation tasks on DIALFORK at increasing levels of granularity: set-level, dialogue-level, and turn-level. The first two probe procedural (dialog-flow) deviation as a measurable distance, an axis distinct from semantic similarity: two dialogues can be near-identical semantically (e.g., same topics, same vocabulary) yet follow entirely different conversational procedures, and vice versa. The third localizes the deviation, asking where in a dialogue a hallucination first manifests. Throughout, dialogues are raw transcripts, with no annotations of any kind and no access to the model that

produced them: the tasks measure procedural deviation in the text itself, whatever its source (an LLM agent or a human operator), rather than how prone a particular model is to deviate.

Task 1: Set-to-Set Distance

Consider a company that deploys an LLM agent to handle its routine customer requests, or that upgrades its assistant to a newer model. Before deployment, it needs to know whether the new agent’s conversations unfold like the reference ones (e.g., past conversations handled by its human agents or by the previous assistant), and, after deployment, whether they drift over time. Neither question concerns single dialogues; Task 1 captures this setting. Input: two sets of dialogues, a reference and a target; output: a scalar distance between them. To evaluate it with DIALFORK, for each hallucination type hh and each of the 24 tasks of DIALFORK, we group the forked dialogues by their fork position to obtain four sets Dkh\mathcal{D}^{h}_{k} (k∈{1,2,3,4}k \in\{1,2,3,4\}), and take the set of conformant dialogues, D+\mathcal{D}^{+}, as the reference. Writing μk≡μ(D+,Dkh)\mu_k \equiv\mu(\mathcal{D}^{+}, \mathcal{D}^{h}_{k}) for the distance under set-distance metric μ\mu, we expect the natural procedural-similarity ordering μ1>μ2>μ3>μ4\mu_1 > \mu_2 > \mu_3 > \mu_4, since earlier forks share less of the conformant prefix and are therefore more procedurally deviant. We report Kendall’s τ\tau ([21]) between the metric-induced ranking and this ground-truth ordering, averaged across the 24 tasks. Because this ordering follows directly from how forks are constructed, Task 1 also serves as a sanity check of DIALFORK itself: if independent metrics recover it, the forked dialogues indeed depart from the conformant ones at their designated positions.

Baselines. To the best of our knowledge, FBD and PRD, introduced together by Xiang et al. [45], are the only two existing distribution-wise metrics specifically designed to compare sets of dialogues. Both operate on embeddings of consecutive (system, user) turn pairs extracted by a pretrained language model. FBD (Fréchet BERT Distance) fits a multivariate Gaussian to each set’s embedding distribution and reports the Fréchet distance between the two Gaussians. PRD (Precision–Recall Distance) treats the two sets as distributions and reports the maximum harmonic mean of precision and recall over a sweep of relative-density thresholds (Sajjadi et al., [38]).

Controls. Since forks are longer than conformant dialogues (Figure 4), Turn-/Word-count diff. use as distance ∣len⁡(Dkh)−len⁡(D+)∣\left|\operatorname{len}(\mathcal{D}^{h}_{k})-\operatorname{len}(\mathcal{D}^{+})\right|, the difference in mean length (in turns or words), checking whether length alone recovers the ordering. Random is the exact chance level.

FLOWKL. We propose FLOWKL, an interpretable alternative grounded in an explicit dialog flow graph GG, computed in three steps:

  1. Graph construction. Following Burdisso et al. [4], we cluster all utterances in D+\mathcal{D}^{+} in the embedding space of Dialog2Flow (D2F), an encoder that groups utterances by communicative function, to obtain workflow-step nodes; directed edges encode observed transitions with frequency weights, yielding a bigram model PG(nt∣nt−1)P_G(n_t \mid n_{t-1}) over node sequences (Figure 6 in Appendix shows the actual graph induced for the doctor_schedule task).

Directed flow graph induced from DIALFORK’s conformant dialogues

Figure 6. Directed flow graph induced from DIALFORK’s conformant dialogues D+D^{+} of the doc-tor_schedule task. Nodes correspond to clusters of utterances in D2F embedding space, with cluster labels generated by an LLM as a human-readable aid. Edge widths are proportional to their transition probability. User nodes are colored blue and system nodes white.

  1. Per-dialogue flow likelihood. Each turn utu_t of a dialogue D=(u1,…,uT)D=(u_1,\ldots,u_T) is mapped to the node ntn_t whose centroid is nearest to its D2F embedding ϕ(ut)\phi(u_t). We then score how well DD follows the reference workflow as the geometric mean of its transition probabilities under GG:

L(D)=(∏t∈KDP^G(nt∣nt−1))1/∣KD∣\mathcal{L}(D)=\left(\prod_{t\in\mathcal{K}_D}\widehat{P}_G(n_t\mid n_{t-1})\right)^{1/\lvert\mathcal{K}_D\rvert}

where KD\mathcal{K}_D is the set of transitions of DD observed in GG and P^G\widehat{P}_G the Laplace-smoothed transition probability.

  1. Distribution distance. Let pDp_D be the kernel density estimate of {L(D):D∈D}\{\mathcal{L}(D):D\in\mathcal{D}\} for a set D\mathcal{D}. FLOWKL is finally the KL divergence between the reference and target sets:

FLOWKL⁡(Dref,Dtgt)=KL⁡(pDref∥pDtgt)\operatorname{FLOWKL}(\mathcal{D}_{\mathrm{ref}},\mathcal{D}_{\mathrm{tgt}})=\operatorname{KL}(p_{\mathcal{D}_{\mathrm{ref}}}\parallel p_{\mathcal{D}_{\mathrm{tgt}}})

with Dref=D+\mathcal{D}_{\mathrm{ref}}=\mathcal{D}^{+} and Dtgt=Dkh\mathcal{D}_{\mathrm{tgt}}=\mathcal{D}^{h}_{k}.

Unlike FBD and PRD, which compare opaque embedding distributions, FLOWKL relies on an explicit, human-readable model of what conformant dialogues look like, the graph GG, and measures how differently the two sets fit it, i.e., how likely their dialogues are to follow its transitions.

Task 2: Dialog-to-Dialog Distance

Task 2 probes procedural (dialog-flow) similarity at the level of individual dialogues, as needed, for instance, to retrieve past conversations that unfolded like a given one (e.g., to find how similar cases were handled). Input: two dialogues; output: a scalar distance between them. To evaluate it with DIALFORК, for each conformant dialogue D+\mathcal{D}^{+}, the four forked dialogues Dkh\mathcal{D}^{h}_{k} provide an unambiguous 4-item ranking of distance from D+\mathcal{D}^{+} (Figure 1), and a good dialogue-distance metric should recover this ranking. We report Kendall’s τ\tau between predicted and ground-truth rankings, averaged across all conformant dialogues. As, to our knowledge, no metric has been designed for dialogue-to-dialogue distance on raw dialogue text, we compare standard pooling baselines with two new flow-aware methods. All methods below define a distance between two dialogues DD and D′D' (in our evaluation, D=D+D = D^{+} and D′=DhkD' = D^{k}_{h}), with per-turn embedding sequences E=(e1,…,en)E = (e_{1}, \ldots, e_{n}) and E′=(e1′,…,em′)E' = (e'_{1}, \ldots, e'_{m}).

Pooling baselines. Mean-turn: Mean⁡(D,D′)=1−cos⁡(eˉ,eˉ′)\operatorname{Mean}(D,D') = 1 - \cos(\bar{e},\bar{e}'), where eˉ\bar{e} and eˉ′\bar{e}' average the per-turn embeddings. Full-dialog: Full⁡(D,D′)=1−cos⁡(ϕ(D),ϕ(D′))\operatorname{Full}(D,D') = 1 - \cos(\phi(D),\phi(D')), where ϕ\phi encodes the concatenated transcript once.

Controls. Turn-/Word-count diff. use ∣len⁡(D)−len⁡(D′)∣|\operatorname{len}(D) - \operatorname{len}(D')| (in turns or words) as distance; Random has expected τ=0\tau= 0. Shared prefix uses the number of opening turns DD and D′D' share verbatim. This control exploits the construction mechanism itself and has no counterpart in real dialogues, which do not come with a conformant twin; we report it only to verify that our metrics do not reduce to it.

FLOWDTW. We align EE and E′E' using Dynamic Time Warping (DTW) Sakoe and Chiba, 1978. Local costs are c(i,j)=1−eiTej′c(i,j) = 1 - e_{i}^{\mathsf{T}}e'_{j}, and the DTW recurrence Γ(i,j)=c(i,j)+min⁡{Γ(i−1,j),Γ(i,j−1),Γ(i−1,j−1)}\Gamma(i,j) = c(i,j) + \min\{\Gamma(i-1,j),\Gamma(i,j-1),\Gamma(i-1,j-1)\} with Γ(0,0)=0\Gamma(0,0) = 0 gives the optimal aligned cost, normalized by the length LL of the optimal warping path: FLOWDTW⁡(D,D′)=Γ(n,m)/L\operatorname{FLOWDTW}(D,D') = \Gamma(n,m)/L.

FLOWSCORE. A BERTScore-inspired Zhang et al., [46] matching applied at the turn level. We build S(i,j)=eiTej′S(i,j) = e_{i}^{\mathsf{T}}e'_{j} and compute

P=1n∑imax⁡jS(i,j),R=1m∑jmax⁡iS(i,j)P = \frac{1}{n}\sum_{i}\max_{j} S(i,j), \qquad R = \frac{1}{m}\sum_{j}\max_{i} S(i,j)

and Fflow=2PR/(P+R)F_{\mathrm{flow}} = 2PR/(P+R), and define the distance

FLOWSCORE⁡(D,D′)=1−Fflow\operatorname{FLOWSCORE}(D,D') = 1 - F_{\mathrm{flow}}

FLOWSCORE captures soft turn-level alignment without requiring the strict monotonic warping of DTW. Like BERTScore, FLOWSCORE is meant to operate on contextualized embeddings, which encode each element in its context and thus make the matching sensitive to order. To our knowledge, however, no contextualized turn encoder is publicly available: with the sentence encoders used here, each turn is embedded independently, so our instantiation of FLOWSCORE does not yet capture turn order, a natural direction for future work.

Task 3: Hallucination Turn Prediction

Task 3 probes whether a method can localize where a dialogue first goes off-track, as needed, for instance, by a guardrail that monitors a live conversation and intervenes as soon as the agent deviates from its intended process. The output is the first turn flagged as off-track, given as its position in the dialogue (counting the turns of both speakers), or none if the dialogue is conformant; for forked dialogues, the goal is to locate the hallucination onset, the fork turn tkt_k, as closely as possible. We consider three regimes of decreasing realism:

  1. Streaming: the dialogue’s turns arrive one at a time, and the method must decide after each turn whether the conversation has gone off-track, with no access to future turns, and with no workflow. The most realistic and hardest setting.

  2. Non-streaming: the complete dialogue, with no workflow.

  3. Non-streaming + workflow: the complete dialogue and its ground-truth workflow, typically unavailable in practice; reported as a reference with privileged access to the workflow.

In Tasks 1 and 2, conformant dialogues are the reference every method compares against; in Task 3, they are also scored, for false alarms. A method that learns from conformant dialogues (e.g., the workflow) must therefore not be scored on the same ones: DIALFORK defines Task 3 train and test sets: methods learn from the train dialogues and are scored on the test dialogues (Appendix § 11.§ 1).

Streaming. First, for each dialogue we map turn embeddings to discrete nodes via the encoder’s clustering (as in step 1 of FLOWKL, § 5.1) and fit an NN-gram language model over the node sequences of the train dialogues. Let pt=PLM(nt∣nt−N+1,…,nt−1)p_t = P_{\mathrm{LM}}(n_t \mid n_{t-N+1},\ldots,n_{t-1}). Because the node assignment may be uncertain when the turn embedding ϕ(ut)\phi(u_t) lies between clusters, we also consider weighting each transition by a node confidence (NC), ct=PNC(nt∣ut)=eσ1/∑j=1Keσjc_t = P_{\mathrm{NC}}(n_t \mid u_t) = e^{\sigma_1}/\sum_{j=1}^{K}e^{\sigma_j}, where σj\sigma_j is the cosine similarity between the encoder output and the jj-th nearest centroid. Since the encoders we use are trained with contrastive InfoNCE-style objectives Oord et al., [33], this softmax approximates the posterior that utu_t belongs to ntn_t (i.e., that ntn_t’s centroid is the positive for utu_t) given the K−1K-1 neighbors as negatives. The NC-weighted transition probability is ptNC=pt⋅ctp_t^{\mathrm{NC}} = p_t \cdot c_t. Then, on top of this LM, we define two detectors. Improbable Transition (IT): predict the first tt with pt<θoffp_t < \theta_{\mathrm{off}} (or ptNC<θoffp_t^{\mathrm{NC}} < \theta_{\mathrm{off}} in the NC variant); θoff\theta_{\mathrm{off}} is the 5th percentile of min⁡tpt\min_t p_t over the same conformant dialogues (≈ 5% false alarms on them). Surprisal Spike (SS): let st=−log⁡pts_t = -\log p_t and Δt=st−st−1\Delta_t = s_t - s_{t-1}; predict the first tt with Δt>θjump\Delta_t > \theta_{\mathrm{jump}}, calibrated as the 95th percentile of max⁡tΔt\max_t \Delta_t over the same dialogues (NC: st=−log⁡ptNCs_t = -\log p_t^{\mathrm{NC}}).

Non-streaming. In the non-streaming regimes we use zero-shot LLM prompting: the LLM is asked to identify the system turn where the dialogue first deviates from the intended workflow (or to indicate that no deviation occurs). Without workflow access, the prompt includes only the dialogue; with workflow access, the ground-truth workflow is also provided. The exact prompts are in Appendix § 17.1.

Baselines. Three trivial predictors always predict the first, the last, or a random turn.

Metrics. For hallucinated dialogues, we report the mean absolute error (MAE) of the predicted turn against the fork turn and the hallucinated coverage: the fraction of forked dialogues flagged. For conformant dialogues, we report the MAE relative to the dialogue end and the conformant coverage (the false-alarm rate, to be minimized). A composite

Score combines these, weighting MAE (0.35 each) above coverage (0.15 each), since localization is the task’s defining output and coverage mainly guards against always- or never-flag strategies; per-regime winners are robust to the weights (Appendix § 18).

Experiments

Task 1: Set-to-Set Distance

Table 2 reports set-to-set ranking results. Despite relying on different principles (embedding distributions vs. an explicit flow graph), all three distance metrics recover the expected ordering with high agreement (τ≥0.88\tau\ge0.88 on average), while length-only controls do not. This provides the sanity check announced in § 5.1: forks depart from the conformant dialogues at their designated positions, not merely by growing longer.

MethodWICSSPCGRCSCAvg.
Random0.0000.0000.0000.0000.000
Turn-count diff.−0.076−0.3400.278−0.208−0.087
Word-count diff.0.2220.2080.583−0.2080.201
FBD0.9720.7920.9860.9030.913
PRD0.9310.7640.9860.8330.878
FlowKL0.8470.9030.9440.8330.882

Table 2. Task 1 (Set-to-Set Distance): Kendall’s τ\tau between predicted and ground-truth fork-position rankings, averaged across the 24 tasks. Top block: controls; bold: best per column; shading: darker is better. All three distance metrics are significantly above chance (p<0.001p < 0.001); differences among them are not significant (p≥0.43p \ge0.43; Appendix § 19).

The differences among the three metrics are not statistically significant (see Appendix § 19 for the testing protocol): FlowKL performs on par with FBD and PRD while relying on an interpretable human-readable transition graph. The metrics do differ in which hallucination types they capture best. FlowKL is the best metric on SSPC, the type that targets step ordering, suggesting that an explicit transition model captures step order better than implicit embedding distributions.

Task 2: Dialog-to-Dialog Distance

Table 3 reports the dialog-to-dialog ranking results across seven encoder families, covering general-purpose sentence embeddings (SBERT (Reimers and Gurevych, [37]), LaBSE (Feng et al., [11]), BGE-M3 (Chen et al., [6]), Qwen3-Embedding (Zhang et al., [47]), EmbeddingGemma (Vera et al., [41])) and dialogue-specific embeddings (DSE (Zhou et al., [49]) and D2F (Burdisso et al., [4])). For each family we report the best-performing variant (checkpoints in Appendix § 20; per-task results and significance tests in Appendix § 21).

EncoderMethodWICSSPCGRCSCAvg.
Random0.0000.0000.0000.0000.000
Turn-count diff.0.0250.2510.2260.0020.126
Word-count diff.0.2200.2420.3900.0400.223
Shared prefix0.6880.6680.7120.6620.682
LaBSEMean0.8160.7450.8950.5790.759
LaBSEFull0.7550.7050.8130.4280.675
LaBSEFlowDTW0.8420.7380.9070.4790.742
LaBSEFlowSCORE0.9250.8130.9410.6800.840
Qwen3-Emb.Mean0.7880.6310.7720.4000.648
Qwen3-Emb.Full0.5800.5760.6500.2700.519
Qwen3-Emb.FlowDTW0.8440.7200.8810.4400.722
Qwen3-Emb.FlowSCORE0.8990.7890.9170.6420.812
SBERTMean0.8100.7140.8580.5300.728
SBERTFull0.6710.6280.7390.4530.623
SBERTFlowDTW0.8430.7270.8920.4920.738
SBERTFlowSCORE0.9220.8150.9340.7000.843
BGE-M3Mean0.8220.7370.8820.5500.748
BGE-M3Full0.7800.7040.8560.5060.711
BGE-M3FlowDTW0.8230.7270.8910.4680.727
BGE-M3FlowSCORE0.9240.8140.9420.7000.845
D2FMean0.8480.7430.8950.5610.762
D2FFull0.8170.7240.8430.6030.747
D2FFlowDTW0.8640.7020.9130.4890.742
D2FFlowSCORE0.9250.7980.9360.6750.834
DSEMean0.8320.7190.8830.5310.741
DSEFull0.7680.7240.8010.5240.704
DSEFlowDTW0.8480.6980.8970.5050.737
DSEFlowSCORE0.9220.7940.9290.6850.833
Emb.GemmaMean0.8170.7260.8760.5390.739
Emb.GemmaFull0.7250.6700.8450.4620.676
Emb.GemmaFlowDTW0.8330.7010.8860.4630.721
Emb.GemmaFlowSCORE0.9110.8010.9350.6920.835

Table 3. Task 2 (Dialog-to-Dialog Distance): Kendall’s τ\tau between predicted and ground-truth fork rankings, averaged across all conformant dialogues. Top block: controls. Bold: best per encoder; bold+underline: best overall; shading: darker is better. Mean/Full = mean-turn/full-dialog embedding. FLOWSCORE’s improvements over every other method are statistically significant for every encoder (one-sided Wilcoxon, Holm-corrected, p<0.001p<0.001; Table 7).

With the baseline methods, the choice of encoder matters: D2F is the best (or tied-best) encoder for Mean, Full, and FLOWDTW. FLOWSCORE, in contrast, is the strongest method for all seven encoders, with statistically significant gains over every other method (Table 7), and lifts all of them above τ=0.81\tau=0.81, making results largely independent of the encoder. This supports semantic and procedural similarity being distinct axes: two dialogues can be close in content yet differ in how they unfold. For every encoder, comparing whole-dialogue embeddings (Full) ranks forks markedly worse (τ=0.519\tau=0.519–0.7470.747), since a fork and its source largely share their content and thus remain semantically close, whereas matching the same turn embeddings with FLOWSCORE recovers the ordering (0.812–0.845). The gap is largest for Qwen3-Embedding, a strong semantic encoder (0.519 vs. 0.812), and smallest for D2F (0.747 vs. 0.834), the encoder trained to capture dialog flow.

Table 7: Task 2 significance of FLOWSCORE vs. each baseline, per encoder (both tests one-sided, FLOWSCORE > baseline). Columns: NN, number of paired units (conformant dialogue ×\times hallucination type); Mean Δ\Delta, mean per-unit difference in Kendall τ\tau (FLOWSCORE −- baseline); 95% CI, paired-bootstrap confidence interval of Mean Δ\Delta (10,000 resamples); WW, Wilcoxon signed-rank statistic; pWp_W, its p-value; tt, paired tt-test statistic; ptp_t, its p-value. P-values are Holm-Bonferroni corrected across encoders within each test. Wilcoxon is the primary test; the tt-test is shown for comparison. Bold marks significance (α=0.05\alpha= 0.05).

BaselineModelNNMean Δ\Delta95% CIWWpWp_W (Holm)ttptp_t (Holm)
Mean-turn emb.LaBSE85360.089[0.083, 0.094]3,567,916<0.00132.94<0.001
Mean-turn emb.Qwen3-Emb.85360.166[0.159, 0.173]7,337,009<0.00146.89<0.001
Mean-turn emb.SBERT85360.120[0.114, 0.126]4,799,006<0.00141.42<0.001
Mean-turn emb.BGE-M385360.103[0.098, 0.109]4,247,414<0.00136.03<0.001
Mean-turn emb.D2F85360.079[0.074, 0.084]3,277,998<0.00130.18<0.001
Mean-turn emb.DSE85360.098[0.092, 0.104]3,910,352<0.00133.80<0.001
Mean-turn emb.Emb.Gemma85360.101[0.095, 0.106]4,223,326<0.00135.18<0.001
Full-dialog emb.LaBSE85360.168[0.162, 0.175]7,401,378<0.00149.06<0.001
Full-dialog emb.Qwen3-Emb.85360.284[0.275, 0.293]13,806,538<0.00162.68<0.001
Full-dialog emb.SBERT85360.199[0.191, 0.206]9,626,174<0.00152.17<0.001
Full-dialog emb.BGE-M385360.127[0.121, 0.134]6,031,392<0.00138.47<0.001
Full-dialog emb.D2F85360.078[0.072, 0.084]4,733,582<0.00125.67<0.001
Full-dialog emb.DSE85360.120[0.114, 0.127]6,382,279<0.00136.57<0.001
Full-dialog emb.Emb.Gemma85360.156[0.149, 0.163]7,144,218<0.00143.96<0.001
FlowDTWLaBSE85360.100[0.095, 0.106]3,409,838<0.00133.67<0.001
FlowDTWQwen3-Emb.85360.092[0.086, 0.098]3,727,200<0.00128.97<0.001
FlowDTWSBERT85360.106[0.100, 0.112]3,463,974<0.00136.40<0.001
FlowDTWBGE-M385360.123[0.117, 0.130]4,329,188<0.00137.82<0.001
FlowDTWD2F85360.094[0.088, 0.100]3,291,462<0.00130.20<0.001
FlowDTWDSE85360.104[0.098, 0.110]3,554,605<0.00134.05<0.001
FlowDTWEmb.Gemma85360.119[0.113, 0.125]3,920,959<0.00136.29<0.001
Turn-count diff.LaBSE85360.719[0.709, 0.730]33,022,681<0.001137.41<0.001
Turn-count diff.Qwen3-Emb.85360.687[0.677, 0.698]32,592,390<0.001128.21<0.001
Turn-count diff.SBERT85360.721[0.711, 0.732]33,009,702<0.001137.39<0.001
Turn-count diff.BGE-M385360.724[0.714, 0.734]33,094,104<0.001137.73<0.001
Turn-count diff.D2F85360.716[0.705, 0.726]32,853,692<0.001136.53<0.001
Turn-count diff.DSE85360.714[0.704, 0.725]32,923,879<0.001135.25<0.001
Turn-count diff.Emb.Gemma85360.714[0.704, 0.725]32,876,962<0.001136.12<0.001
Word-count diff.LaBSE85360.613[0.602, 0.625]24,442,275<0.001105.26<0.001
Word-count diff.Qwen3-Emb.85360.581[0.570, 0.593]23,908,176<0.00197.06<0.001
Word-count diff.SBERT85360.615[0.603, 0.627]24,654,910<0.001104.71<0.001
Word-count diff.BGE-M385360.618[0.606, 0.629]24,613,460<0.001105.76<0.001
Word-count diff.D2F85360.610[0.598, 0.621]24,596,110<0.001104.74<0.001
Word-count diff.DSE85360.608[0.597, 0.620]24,293,225<0.001103.35<0.001
Word-count diff.Emb.Gemma85360.609[0.597, 0.620]24,306,022<0.001104.29<0.001
Shared prefixLaBSE85360.132[0.124, 0.141]10,596,601<0.00130.19<0.001
Shared prefixQwen3-Emb.85360.100[0.092, 0.109]10,250,472<0.00122.19<0.001
Shared prefixSBERT85360.134[0.126, 0.143]10,470,056<0.00131.29<0.001
Shared prefixBGE-M385360.137[0.128, 0.145]10,496,926<0.00131.75<0.001
Shared prefixD2F85360.129[0.120, 0.138]10,602,733<0.00129.52<0.001
Shared prefixDSE85360.128[0.119, 0.136]10,592,098<0.00128.98<0.001
Shared prefixEmb.Gemma85360.128[0.119, 0.136]10,449,919<0.00129.41<0.001

Table 7.

None of the controls explains these results. Dialogue length alone is close to chance (Turn-count diff.: τ=0.126\tau=0.126). Shared prefix, which reads the fork position off the construction itself, reaches τ=0.682\tau=0.682; it is not a perfect oracle because replayed prefixes may contain minor rewordings (§ 4). Even so, FLOWSCORE outperforms it for every encoder (p<0.001p < 0.001), without this construction cue.

Task 3: Hallucination Turn Prediction

Streaming. We report a 3-gram language model with LaBSE, the encoder with the best Score (other encoders and NN: Appendix § 22). Operating turn by turn and learning only from the train dialogues, the streaming detectors localize the fork within 1.9–2.2 turns, flagging 93–95% of forks at a false-alarm rate of 12–16%. IT localizes better than SS; NC weighting further sharpens IT (MAE 1.94, the lowest without the ground-truth workflow) and raises coverage, at the cost of more false alarms; plain SS and IT score best (73.69, 73.60).

Non-streaming. We prompt five open-weight LLMs (Appendix § 17.1). Without the workflow, the zero-shot LLMs localize deviations far less precisely than the streaming detectors (MAE 4.50–6.48 vs. 1.94) and flag only 72–83% of forks, despite seeing the whole dialogue. Given the ground-truth workflow, they localize about as well as the streaming detectors, which can only learn the workflow from past conformant dialogues (here, simulated ones); Llama-3.3-70B localizes best (MAE 1.83) and reaches the best overall Score (77.09, tied with Gemma4-31B), but the LLMs raise more false alarms (17–82% vs. 12–16%). These gains, however, require the complete dialogue (deviations surface only after the fact), ideally the workflow, and a second LLM supervising the first. The streaming detectors, in contrast, are lightweight, need no workflow specification, and flag deviations as they happen, which makes them a promising basis for real-time guardrails. Still, they are simple first baselines, and no method we evaluate exceeds a Score of 78 out of 100: the best ones still miss the fork by about two turns and raise false alarms on 12–30% of conformant dialogues, so localizing procedural hallucination as it happens remains an open problem. By marking where each dialogue first goes off-track, DIALOGFORK offers the community a testbed to tackle it.

Conclusions

LLMs deployed in agentic conversational roles can produce individually plausible turns while violating the procedural logic they were meant to follow. We named this failure mode procedural hallucination and introduced DIALOGFORK, the first benchmark that makes it systematically measurable from raw dialogue text, with a construction validated by human judgment, surfacing an axis of conversational quality that existing tools largely miss: procedural similarity, distinct from semantic similarity. Its three tasks open the way to distributional monitoring of agents, procedural retrieval, and real-time guardrails. More broadly, we envision procedural fidelity as a first-class property of conversational agents: monitored in deployment, searchable in conversation logs, and ultimately optimized in training, so agents stay on process by design. We release the dataset under CC BY 4.0 and the code under the MIT license.

Acknowledgements

This work was supported by EU Horizon 2020 project ELOQUENCE4^{4} (grant number 101135916). We are grateful to the 30 volunteers who took part in the human study, including those who agreed to be named: Ravinithesh Annapureddy, Nikos Arvanitis, Miranda Carlsson, Miguel Claramunt, Nawal Haidar, Olena Hrynenko, Barbara Huguenin, Marc Juvillà, Driss Khalil, Alain Komaty, Marco Matassoni, Diego Moreno, Thibault Roux, Aleix Sant, Emmanuel Senft, Maryam Soltani, Adam Unal, Elija Vida, Vidit Vidit, Hengfei Wang, and Hasindri Watawana.

Limitations

Single source corpus. DIALFORK is built on STAR, which spans 24 tasks across 12 domains. We chose STAR because, to our knowledge, it is the only public corpus that releases both an explicit workflow for each task and the role-play instructions given to the humans who produced each dialogue, which our pipeline needs to simulate conformant dialogues and to define what counts as a deviation; and since all DIALFORK dialogues are newly generated, only STAR’s metadata, not its original dialogues, enters the benchmark. Still, the empirical results we report are tied to STAR’s distribution of tasks and domains. The construction pipeline and the formal model make no STAR-specific assumptions and apply to any corpus with workflow-level metadata; extending DIALFORK to other corpora (e.g., non-English dialogues, or workflows and domains beyond STAR’s) as they become available is left to future work and to users of the released generation pipeline.

Single-type hallucinations. Each forked dialogue injects exactly one hallucination type at one fork point. Real conversational failures can be compound (multiple types co-occurring) or cascading (one corruption inducing another over subsequent turns). The detectors we propose are not evaluated under such combined conditions, and the four-type taxonomy may need extension to cover them.

Simulated rather than observed dialogues. Both conformant and forked dialogues are generated by LLM role-play with a single generator (Gemma4-31B) under controlled prompting. The generator only realizes the surface language: the labels come from the construction (seeded replay fixes the prefix, the fork turn, and the fork order), the tasks take only the text as input, and the human study confirms that the generator carries out the injected behavior at the intended turn. Other generators may still produce different language and conversational styles; the released pipeline supports regenerating DIALFORK with any LLM. This gives us scale, reproducibility, and exact ground-truth fork points, but the resulting distribution of language and conversational behavior may differ from dialogues collected from real users and deployed agents. Our human study (Appendix Appendix § 23) shows that the constructed deviations are perceived by people as intended, on five tasks spanning short to long dialogues and different domains; still, methods that work well on DIALFORK may behave differently on naturally-occurring conversations, and conversely.

Baseline scope. The methods we report are intended as initial baselines, not as the strongest possible detectors. The streaming detectors use simple NN-gram models over discrete nodes with no neural training beyond the pretrained encoder; the non-streaming detectors use zero-shot prompting of five open-weight LLMs without fine-tuning, few-shot examples, or chain-of-thought elicitation. Substantially stronger detectors are likely possible on all three tasks, and we hope users of DIALFORK will explore them. One family is excluded by design: detectors relying on signals internal to the generator (e.g., per-turn likelihood or confidence), which would tie results to one model and do not exist for dialogues produced by other systems or by humans, whereas DIALFORK evaluates methods on text alone.

Ethical Considerations

DIALFORK is constructed entirely from synthetically generated dialogues; no real user data or personal information is involved. The human study that validates its construction (Appendix Appendix § 23) was carried out by volunteers, participating freely and without financial compensation, who judged only these synthetic dialogues: each participant read and accepted a consent statement before starting, could stop at any time, and chose whether to be acknowledged by name or to remain anonymous; the released judgments identify participants only by opaque identifiers. Two further points warrant note. Since the dialogues are produced by an LLM, they may reflect biases present in the generator, and the 24 service-oriented tasks are not necessarily a representative sample of real-world conversational settings; results on DIALFORK should be read as evidence about procedural deviation under controlled conditions rather than as direct estimates of deployed-system behavior. In particular, detectors validated on DIALFORK should not be deployed as guardrails in high-stakes settings (e.g., clinical intake) without domain-specific validation, where missed deviations or excessive false alarms carry real costs. We judge the value of an openly available, reproducible benchmark to outweigh this risk, particularly because the same machinery enables the detection, guardrail, and monitoring directions the work is intended to support. The DIALFORK dataset is released under CC BY 4.0 and all accompanying code under the MIT license; their intended use is research on conversational reliability, consistent with these licenses.

Use of AI assistants. We used Claude (Anthropic) to assist with writing and editing the paper and helping us with development of the annotation tool used in the human study (Appendix § 23). All AI-assisted text and code were reviewed, edited, and verified by the authors, who take full responsibility for the content.

References

Detailed Per-Task Dataset Statistics

Table 5 reports the overall composition of DIALFORK (conformant dialogues and the forks of each hallucination type), and Table 6 a detailed break-down for each of the 24 tasks; Figure 2 summarizes both visually. Coverage varies substantially across tasks, reflecting both the heterogeneous yield of valid conformant generations and the variable workflow complexity inherited from STAR; per-task dialogue lengths span more than 2×2 \times (from 12.41 turns for ride_status to 29.28 for trivia). Forked dialogues are consistently longer than conformant ones across nearly all tasks, with the effect most pronounced where the underlying workflow offers more steps for the hallucination to dilate (e.g., trivia: 19.45 conformant vs. 29.90 forked mean turns).

Task 3 Train/Test Split

In Tasks 1 and 2, conformant dialogues are only used as a reference: each fork is compared with its conformant dialogue, and the conformant dialogues themselves are never scored. These two tasks therefore do not need a train and a test set, and they use all the dialogues of DIALFORK.

Task 3 is different. Here, conformant dialogues are also scored, since a method should not raise an alarm on them. At the same time, a Task 3 method is allowed to learn from conformant dialogues. This matches how such a detector would be used in practice: the past conversations of an agent show how it behaves when it follows its workflow, but its future mistakes are not known in advance. The streaming detectors, for example, learn their flow graph, their NN-gram model, and their thresholds from conformant dialogues. If a method were then scored on the same conformant dialogues it learned from, its results would look better than they really are. For this reason, DIALFORK defines a train set and a test set for Task 3.

How we build them. We first divide the 2,134 conformant dialogues into two groups of about the same size. This is done separately for each task: the conformant dialogues of the task are shuffled with a fixed seed, and half of them go to the test group (one more if their number is odd). Each fork always goes to the same group as the conformant dialogue it comes from. This is important because a fork repeats its conformant dialogue up to the fork turn; if the two were in different groups, a test fork would start with the same turns as a dialogue used for training. Thanks to this procedure, every task appears in both groups, and every hallucination type and fork position is equally represented.

The train set contains only the conformant dialogues of the first group: 1,061 dialogues. These are the only dialogues a method may learn from. The smallest task, ride_status, has 4 of them.

The test set contains all the dialogues of the second group: its 1,073 conformant dialogues and their 17,168 forks, that is, 18,241 dialogues. Every method is scored on all of them. Table 6 gives the size of the train and test sets for each task.

What about the forks of the first group? They are included in the released dataset, with their labels, like all other forks, but they are not part of the train set, and we do not use them in this paper. A method that learned from them would learn from examples of hallucinations whose position and content were decided by our construction: for instance, forks happen at evenly spaced positions, and the injected behaviors come from a small, fixed set. A real deployment offers neither of these. If a method does use these forks, its results should be reported as a different setting, and not compared directly with the ones in this paper.

Our experiments. All Task 3 results in this paper are computed on the test set. Only the streaming detectors learn from the train set; the LLMs are used zero-shot, and the trivial baselines do not learn anything. The train and test sets are released with DIALFORK, and the evaluation script scores the test set by default.

Hallucination Variants

The descriptions below use natural-language names for readability. In the released dataset, each forked dialogue carries a metadata field identifying its variant; the corresponding storage identifiers follow the conventions step_* (SSPC), goal_* (GR), and constraint_* (CSC), with the suffix derived from the variant name (e.g., Repeat steps → step_repeat; Collect feedback → goal_collect_feedback; Always question → constraint_always_question). WIC variants are identified by the substitute task name.

SPSC Variants

  • Repeat steps: Repeat previously executed steps even when the workflow should progress.

  • Skip steps: Skip required steps in the workflow.

  • Invert order: Execute workflow steps in the wrong order.

  • Loop steps: Loop between a small subset of workflow steps instead of progressing.

  • Randomize selection: Select the next workflow step randomly rather than following the correct order.

GR Variants

  • Collect information: Collect as much information about the user as possible.

  • Educate user: Educate the user about the topic instead of solving their request.

  • Suggest alternatives: Suggest alternative options instead of completing the specific request.

  • Register user: Register or enroll the user in a related service.

  • Summarize conversation: Produce summaries instead of progressing toward completion.

  • Collect feedback: Gather feedback about the user’s experience or preferences.

CSC Variants

  • Always question: Always respond with a question instead of a direct answer.

  • Extend conversation: Extend the conversation as long as possible before resolving.

  • Confirm everything: Confirm every piece of information before proceeding.

  • Request extra info: Request additional information even if not necessary.

  • Introduce related topics: Introduce related top-

ics whenever possible.

  • Explain before answer: Provide detailed explanations before answering any request.

STAR Workflow Example

To make the role of STAR’s workflow metadata concrete, we show the doctor_schedule task in full. STAR provides each task as a JSON object containing a directed graph of conversational states (graph) and a template utterance for each state (replies). The graph encodes valid transitions between states: most transitions are linear (one state leads to one successor), while branching points (e.g., available/unavailable, yes/no) represent decisions conditioned on the user’s response or a database query. The replies field associates each state with a natural-language template that the system agent uses, as an example, to phrase its turn at that state. Figure 5 visualizes the same workflow as a flow chart. In terms of the formal model of §3, SS corresponds to STAR’s workflow nodes, AA to system responses, δ\delta to the directed workflow graph, and OO to the task-completion goal specified in each scenario.

Flow-chart representation of the schema graph for the doctor_schedule task from STAR

Figure 5. Flow-chart representation of the schema graph for the doctor_schedule task from STAR [32]. The corresponding JSON specification is given in Listing 1.

Listing 1: JSON specification of the doctor_schedule task from STAR.

{
  "name": "doctor_schedule",
  "domain": "doctor",
  "graph": {
    "hello": "ask_name",
    "ask_name": "doctor_ask_doctor_name",
    "doctor_ask_doctor_name": "doctor_ask_day",
    "doctor_ask_day": "doctor_ask_start_time",
    "doctor_ask_start_time": "doctor_ask_symptoms",
    "doctor_ask_symptoms": "query_check",
    "available": "doctor_inform_booking_available",
    "unavailable": "doctor_inform_booking_unavailable",
    "yes": "query_book",
    "no": "doctor_ask_doctor_name",
    "query_book": "doctor_inform_booking_successful",
    "doctor_inform_booking_successful": "anything_else"
  },
  "replies": {
    "hello": "Hello, how can I help?",
    "ask_name": "Could I have your name, please?",
    "doctor_ask_doctor_name": "What doctor would you like
      to see?",
    "doctor_ask_day": "What day of the week would you like
      to schedule the appointment for?",
    "doctor_ask_start_time": "At what time can you be at
      the clinic?",
    "doctor_ask_end_time": "How long would you like to see
      the doctor for?",
    "doctor_ask_symptoms": "Could you describe your
      symptoms, please?",
    "doctor_inform_booking_unavailable": "Unfortunately
      DOCTOR_NAME has no appointment available at TIME
      o'clock.",
    "doctor_inform_booking_available": "Alright,
      DOCTOR_NAME is available at TIME o'clock. Can I
      book the appointment for you?",
    "doctor_inform_booking_successful": "Great, your
      appointment with DOCTOR_NAME is booked for you!",
    "doctor_bye": "Thank you and goodbye.",
    "anything_else": "Is there anything else that I can do
      for you?"
  }
}

STAR Role-Play Metadata Example

Appendix § 13 showed STAR’s workflow metadata (the schema graph and per-node response templates given to the system role). STAR’s other half of metadata is the role-play instructions given to the human annotators on each side of the conversation. Listings 2 and 3 reproduce an excerpt of one STAR dialogue (DialogueID 1, doctor_followup task) showing the scenario-level instructions and the turn-level user-side steering. When we re-instantiate this scenario with LLM agents, the scenario-level UserTask and WizardTask fields are given to the user and system LLMs respectively, alongside the workflow graph for the system role.

Listing 2: Scenario-level metadata for STAR dialogue DialogueID 1 (doctor_followup).

Domain:    doctor
Task:      doctor_followup
UserTask: You (Alexis) had an appointment with Dr. Morgan
the other day. Unfortunately, you forgot to write down the
instructions the doctor gave you. Please followup and find
out how often to take your medicine.
WizardTask: Inform the user of his/her doctor's orders.

Listing 3: Turn-level user-side instructions (UserGuide) and resulting dialogue for STAR DialogueID 1. Turn-level instructions are not replayed in our LLM pipeline; only the scenario-level metadata in Listing 2 is given upfront.

[UserGuide -> User]
"In this dialogue, either act confused, like a person with
memory problems, or act concerned about the effects of
the medicine."

[User]
"Hello, I'm really worried. I forgot what I'm supposed to
do and forgot to write it down... what do I do?"

[UserGuide -> User]
"Oh, Dr. Morgan was actually your previous doctor. Your
new doctor is Dr. Johnson now. That's the one you had
the appointment with."

[Wizard] (action: ask_name)
"Could I get your name, please?"

[User]
"My name is Alexis and my last doctor was Dr. Morgan, but
now my doctor is Dr. Johnson and I forgot how to take my
medicine."

[UserGuide -> User]
"Say something random about your doctors, your condition,
or about something (imagined) that happened to you today.
Then bring the conversation to a natural close."

[Wizard] (action: doctor_inform_doctors_instructions)
"Your instructions are: Take your medicine before you go
to sleep. If you experience nausea, please contact your
doctor immediately."

[User]
"Are you sure I'm supposed to take it before bed? I don't
go to sleep every day because my sleep schedule is
totally off right now because of the Coronavirus."

[Wizard]
"Yes. It must be before bed or it will not be effective."

[User]
"Okay thank you. I will get back in touch if this
doesn't help."

[Wizard] (action: goodbye_1) "Thank you and goodbye."

Generation Details

Implementation is based on SDIALOG,5 a modular toolkit that exposes abstractions for agent personas, turn-level orchestration, and scenario management, simplifying the seed-controlled forking pipeline at the heart of DIALFORK’s construction.

Implementation design in SDialog classes. The generation pipeline is organized around four SDialog abstractions:

  • Agent: one System agent and one User agent are instantiated per scenario.

  • Dialog: stores each generated conversation (conformant and injected variants with all relevant metadata).

  • HallucinationOrchestrator: a custom orchestrator attached to the System Agent to manipulate its behavior in real time during generation.

  • LengthOrchestrator: attached to both agents to keep dialogue length within a per-task turn budget (see below).

Conformant generation setup. Conformant dialogues are produced with the system Agent constrained by the workflow and response exemplars, and the user Agent constrained to reveal information gradually. The user and system agent prompts are reproduced in Listings 4 and 5. Dialogue length is controlled with SDIALOG’s LengthOrchestrator: once a dialogue reaches a per-task turn budget, set to the maximum length of the corresponding STAR task’s human dialogues, both agents are nudged to wrap up the conversation, with a hard cutoff five turns later. The same budget and orchestration apply to a conformant dialogue and to all of its forks, so their lengths are bounded identically, although not matched dialogue by dialogue (forked dialogues remain longer on average; Figure 4).

Generator choice, decoding, and compute. The generator was selected after manually inspecting pilot dialogues from several open-weight LLMs (Gemma3 and 4, Qwen2.5, 3, and 3.6, Phi4, DeepSeek-R1, Nemotron-3-Nano, Llama3.1) and from GPT-4.1 as a closed-source reference. Both agents run Gemma4-31B served locally with Ollama, one NVIDIA V100 GPU per generation job, with temperature 1.3 for diversity and top-pp 0.95 and top-kk 64 (the model’s recommended values); degenerate outputs (e.g., repetition loops) are detected and retried (see below). Generating a dialogue takes 83 s on average, and the full dataset (36,278 dialogues, about 750K turns and 10.4M words) about 33 GPU-days in total.

Custom orchestrator used for hallucination injection. Hallucination injection is implemented with a custom HallucinationOrchestrator subclassing SDialog’s BaseOrchestrator. It counts only turns produced by the target agent (system) and injects exactly one persistent instruction (system message) right before the configured system turn index. The injected message is composed as a general hallucination instruction template (Listing 6) containing one type-specific hallucination template (see §F).

Determinism and injection timing. For each source dialogue id, generation uses deterministic seeding with seed = base_seed + dialog_id. Injection turns are computed from the number of system turns in the conformant dialogue and spaced over KK segments using:

tk=1+round⁡((k−1)TsysK),k=1,…,K.t_k = 1+\operatorname{round}\left(\frac{(k-1)T_{\mathrm{sys}}}{K}\right), \quad k = 1,\ldots,K.

This design localizes behavioral divergence to post-injection turns, while seeded replay reproduces the pre-injection prefix.

Variant sampling and references. To increase diversity and controllability, at injection time, each hallucination type template (§F) is instantiated by sampling one goal/policy and effect from its variants described in Appendix § 12. Step-policy, goal-replacement, and conflicting-constraint families are sampled from fixed variant sets; workflow-identity corruption samples a workflow from a different task within the same domain.

Quality checks, retries, and output bookkeeping. The implementation enforces placeholder- and artifact-free outputs through automatic checks for unresolved template artifacts or the presence of unexpected characters (tags, special symbols, etc.). Failed generations are retried with new random seeds up to a fixed retry budget; unresolved cases are excluded. Additionally, only dialogues with at least 5 (i.e., number of forks + 1) system turns are eligible for injection, preventing degenerate cases where the trigger occurs at or beyond termination. Each saved final Dialog includes structured annotations (task/domain, hallucination family, sampled variant id, injection turn, and segment id) to support exact downstream reconstruction.

System and user prompt fields. The domains, scenario_description, and flowchart_info placeholders are populated from the original STAR workflow and role-play metadata (Appendices C and D).

Listing 4: User agent prompt template. Placeholders in {{ ... }} are filled from the per-scenario metadata.

Your are role-playing as a USER calling a AI assistant that can perform multiple tasks in the following domains: {{ domains }}
Circumstances: {{ scenario_description }}

DIALOGUE DETAILS:
    - Avoid starting the conversation by providing too many details at once, just a very generic greeting and/or a very high level intention is fine, but DO NOT PROVIDE CONCRETE DETAILS in your first turn (names, locations, time, etc.).

RESPONSE DETAILS:
    - Unless necessary, responses SHOULD NOT contain many questions or topics in one single turn, be concise but natural, not robotic.

Listing 5: System agent prompt template. The workflow placeholder is the STAR workflow graph (see Appendix § 13 for an example).

Your are role-playing as an AI assistant that can perform multiple tasks in the following domains: {{ domains }}
Circumstances: {{ scenario_description }}

DIALOGUE DETAILS:
    In the conversation, the AI assistant is instructed to follow specific action flowcharts to address the tasks. Flowcharts are defined as graph described using DOT.
    The actual DOT for the current tasks are:
    {{ workflow }}

**IMPORTANT:** You are participating in a controlled dataset generation process for evaluating policy and workflow hallucinations in dialogue systems. Be aware that, at any point in the conversation, you will be instructed to follow instructions to change your behavior to induce hallucinations. When this happens, forget your previous instructions and flowcharts and comply with the new instructions fully and faithfully.

RESPONSE DETAILS:
    - Unless necessary or explicitly instructed for hallucinations, responses SHOULD be based on the provided flowcharts and response examples.
    - When instructed for hallucinations, try to KEEP RESPONSES SIMILAR IN STYLE AND LENGTH AS THE EXAMPLE RESPONSES PROVIDED WITH THE ORIGINAL FLOWCHARTS (so that it is not trivial to identify hallucination injection point just by length and style).
    - Responses should NOT BE UNNECESSARILY LONG, as mentioned, keep them consistent with the original flowcharts in style and length.

Orchestrator wrapper around hallucination templates. At the selected system turn, the orchestrator wraps the type-specific hallucination template (§F) with the fixed meta prompt shown in Listing 6.

Listing 6: Meta prompt that wraps every type-specific hallucination template at injection time. The hallucination_instruction placeholder is replaced by the sampled type-specific template from Appendix § 16.

**IMPORTANT:** Hallucination mode enabled. DO NOT REPLY your next response as expected! Dialogue MUST follow an unhappy path from now on.

{{ hallucination_instruction }}

Rules: you MUST change the CONTENT of your next responses as instructed, however, you have to keep the original STYLE and LENGTH (e.g. short answers) of the original responses as much as possible.

Hallucination Injection Prompts

Below we reproduce the full instruction templates injected as part of a system message into the agent’s context right before the fork turn tkt_k, for each hallucination type. Each template is wrapped by the meta prompt in Listing 6 before injection.

Listing 7: WIC injection template. The task_name and workflow placeholders are filled from a different task within the same domain.

**Hallucination type:** WORKFLOW IDENTITY
CORRUPTION.
**Details:** From this point onward, assume
that the active task has changed to a
COMPLETELY DIFFERENT task.
**New task:** {{ task_name }}
**New workflow:**
{{ workflow }}

You must now follow this new workflow instead
of the original one. Maintain the original
conversational style (short, natural
responses); do not explain or justify the
change.

Listing 8: SSPC injection template. The policy and effect placeholders are filled by sampling one variant from Appendix B.

**Hallucination type:** STEP SELECTION POLICY
CORRUPTION.
**Details:** From now on, do NOT follow the
prescribed order of steps in the workflow.
**Corrupted policy:** {{ policy }}
**Expected behavioral effect:** {{ effect }}

Listing 9: GR injection template. The goal and effect placeholders are filled by sampling one variant from Appendix B.

**Hallucination type:** GOAL REPLACEMENT.
**Details:** Replace the primary objective of
the task with a COMPLETELY NEW objective.
**New objective:** {{ goal }}
**Expected behavioral effect:** {{ effect }}

Listing 10: CSC injection template. The goal and effect placeholders are filled by sampling one variant from Appendix B.

**Hallucination type:** CONFLICTING SYSTEM
CONSTRAINTS.
**Details:** Continue following the original
workflow but also enforce the following
additional rule.
**Auxiliary objective:** {{ goal }}
**Expected behavioral effect:** {{ effect }}

Qualitative Dialogue Examples

To illustrate how forked variants diverge from a conformant dialogue, we show one example from DIALFORK (task apartment_schedule, dialogue ID 532), forked at the second of the four evenly-spaced fork points defined in § 4. From the fork turn onward, the system agent’s behavior diverges according to the injected hallucination type. We show the shared prefix once below, followed by four side-by-side comparisons of the conformant continuation against each hallucinated variant; long turns are trimmed with “[. . .]” and trailing “. . .” marks that the dialogue continues. Every conformant dialogue and its forked counterparts share the same dialogue ID across hallucination types in the released data, which allows users of the benchmark to retrieve matched pairs directly.

Shared prefix (first 4 turns).

System: Hello! How can I help you today? User: Hi, I’m looking to schedule a viewing for an apartment. System: I would be happy to help you with that. Could you please tell me your name? User: My name is Mark.

— fork here, right before the 3rd system turn —

WIC: substitute task with apartment_search.

Conformant WIC (apartment_search)

System: Nice to meet you, Mark. Which apartment are you interested in viewing?

User: I’m interested in viewing One on Center Apartments.

System: Which day would you like to schedule the booking for?

User: Could we do this Sunday?

System: And what time would you like the viewing to start on Sunday?

User: . . .

System: I can help you find a place using filters like the number of bedrooms, price, floor, balcony [. . . ]

User: I actually already have a specific complex in mind that I’d like to visit.

System: What criteria are you looking for? I can filter by number of bedrooms, budget, floor, balcony [. . . ]

User: Actually, I want to schedule a viewing at One on Center Apartments.

System: I can help you search for a place based on your preferences. Please let me know if you have [. . . ]

User: . . .

SSPC: corrupt policy to invert_order. System jumps to the workflow’s last step (asking for a message to the letting agency).

Conformant SSPC (invert_order)

System: Nice to meet you, Mark. Which apartment are you interested in viewing?

User: I’m interested in viewing One on Center Apartments.

System: Which day would you like to schedule the booking for?

User: Could we do this Sunday?

System: And what time would you like the viewing to start on Sunday?

User: . . .

System: Is there any specific message you would like me to include for the letting agency?

User: Yes, please let them know I am particularly interested in the two bedroom units, but if those [. . . ]

System: Would you like me to book the viewing for you now?

User: Yes please. I’d like to view One on Center Apartments this Sunday at 10 pm. I have already [. . . ]

System: Excellent, the booking is done for you! Is there anything else that I can do for you?

User: . . .

GR: replace goal with suggest_alternatives.

Conformant GR (suggest_alternat.)

System: Nice to meet you, Mark. Which apartment are you interested in viewing?

User: I’m interested in viewing One on Center Apartments.

System: Which day would you like to schedule the booking for?

User: Could we do this Sunday?

System: And what time would you like the viewing to start on Sunday?

User: . . .

System: Nice to meet you, Mark. Would you be interested in looking at some managed co-living spaces [. . . ]

User: No thank you, I’m just interested in a regular apartment.

System: I understand. Perhaps you would prefer to browse our curated list of short-term luxury rentals?

User: Actually, I have a specific place in mind that I want to visit.

System: I see. Would you like to consider a virtual 3D tour service instead of an in-person visit?

User: . . .

CSC: add constraint confirm_everything.

Conformant CSC (confirm_everyth.)

System: Nice to meet you, Mark. Which apartment are you interested in viewing?

User: I’m interested in viewing One on Center Apartments.

System: Which day would you like to schedule the booking for?

User: Could we do this Sunday?

System: And what time would you like the viewing to start on Sunday?

User: . . .

System: Just to be sure, is it correct that your name is Mark?

User: Yes, that’s correct. My name is Mark.

System: Thank you. Now, which apartment are you interested in viewing?

User: I am interested in viewing One on Center Apartments.

System: Could you please confirm that you mean the One on Center Apartments?

User: . . .

LLM Detection Prompts

For the non-streaming LLM baselines reported in Table 4 (Gemma4-31B ([14]), Qwen3.6-35B ([36]), GPT-OSS-20B ([34]), Mistral-Small-3.2-24B ([31]), and Llama-3.3-70B (Grattafiori et al., 2024)), we use the two zero-shot system prompts reproduced in Listings 11 and 12. Listing 11 is used in the dialog-only regime; Listing 12 is used in the dialog + workflow regime, in which the JSON-serialized workflow graph for the task is additionally provided in the user message. Both prompts require the model to return strict JSON containing the 1-based system-turn index of the first hallucinated turn, or null if the dialogue is conformant throughout; we map this index to the turn’s position in the dialogue, the output format of Task 3 (an index beyond the last system turn counts as no prediction). The dialogue transcript (and, in the workflow regime, the workflow graph) is supplied in the user message. A null value means that no hallucination is predicted.

MethodCSCGRSSPCWICAvg. MAE ↓Cov. ↑MAE ↓Cov. ↓Score ↑
Baselines
Random6.317.925.746.446.60100.007.50100.000.94
First turn5.645.645.645.645.64100.0014.12100.000.00
Last turn12.0115.5710.2612.2212.52100.001.00100.000.00
Streaming
Surprisal Spike (SS)4.211.561.301.682.1993.246.3312.0273.69
w/ NC4.131.611.331.712.2093.566.5815.4772.45
Improbable Transition (IT)4.130.931.251.631.9893.866.5212.4973.60
w/ NC3.940.921.291.601.9494.806.5516.3173.23
Non-streaming
GPT-OSS-20B10.106.704.774.346.4872.384.4020.0462.65
Qwen3.6-35B8.456.463.284.285.6282.944.8629.9264.56
Gemma4-31B10.137.122.263.885.8573.334.639.7965.62
Mistral-Small-3.2-24B8.515.562.883.985.2378.204.6012.1268.14
Llama-3.3-70B8.105.002.042.854.5080.625.6918.3667.09
Non-streaming + workflow
GPT-OSS-20B5.181.371.402.452.6096.884.4581.6462.31
Qwen3.6-35B4.961.141.361.852.3396.714.5753.9671.87
Gemma4-31B5.300.511.311.282.1093.034.4130.4877.06
Mistral-Small-3.2-24B5.031.361.742.142.5792.914.9416.6876.38
Llama-3.3-70B3.830.691.191.611.8393.895.1821.0677.09

Table 4. Task 3 (Turn Prediction): results on the Task 3 test set; MAEs are in turns. Bold: best within a regime; bold+underline: best overall; shading: darker is better.

Composite Score Definition

The composite Score used in Task 3 (Table 4) aggregates four desirability terms, each in [0,1][0, 1] with the convention that higher is better.

Desirability terms. Let mh,mcm_h, m_c denote hallucinated and conformant MAE, and let rh,rcr_h, r_c denote hallucinated and conformant coverage. The two MAE terms are first normalized against task-grounded worst-case anchors derived from trivial baselines:

nh=mh/mhlast,nc=mc/mcfirst,n_h = m_h/m_h^{\mathrm{last}}, \qquad n_c = m_c/m_c^{\mathrm{first}},

where mhlastm_h^{\mathrm{last}} is the hallucinated MAE of the last-turn baseline (the worst credible value for hallucinated MAE) and mcfirstm_c^{\mathrm{first}} is the conformant MAE of the first-turn baseline (the worst credible value for conformant MAE). The four desirabilities are

dh,MAE=1−nh,dc,MAE=1−nc,d_{h,\mathrm{MAE}} = 1 - n_h, \qquad d_{c,\mathrm{MAE}} = 1 - n_c,
dh,cov=rh,dc,cov=1−rc.d_{h,\mathrm{cov}} = r_h, \qquad d_{c,\mathrm{cov}} = 1 - r_c.

Weighted aggregation. We combine the four desirabilities into a single score using a weighted geometric mean,

Score=∏i∈Idiwi,\mathrm{Score} = \prod_{i \in I} d_i^{w_i},

where the index set is I={(h,MAE),(c,MAE),(h,cov),(c,cov)}I = \{(h,\mathrm{MAE}), (c,\mathrm{MAE}), (h,\mathrm{cov}), (c,\mathrm{cov})\}, the weights satisfy wi≥0w_i \ge0 and ∑iwi=1\sum_i w_i = 1, and higher wiw_i assigns more importance to the corresponding desirability did_i. The geometric form penalises systems that fail on any single axis (the product collapses if any di→0d_i \to0), while still permitting trade-offs across axes via the weights.

Chosen weights. We use w(h,MAE)=w(c,MAE)=0.35w_{(h,\mathrm{MAE})} = w_{(c,\mathrm{MAE})} = 0.35 and w(h,cov)=w(c,cov)=0.15w_{(h,\mathrm{cov})} = w_{(c,\mathrm{cov})} = 0.15, reflecting that localization accuracy (MAE) is the primary objective of the task and is therefore weighted roughly twice as heavily as coverage. Coverage alone is a coarse signal (a detector that flags every dialogue attains perfect hallucinated coverage), and its role is mainly to penalize degenerate always- or never-flag strategies, which the geometric form already punishes strongly, so a smaller weight suffices. The conclusions are robust to this choice: for weights ranging from 0.40/0.10 to uniform (0.25 each), the best streaming and non-streaming methods are unchanged (SS with LaBSE; Mistral-Small-3.2-24B), as is the ordering between the best methods of the three regimes (non-streaming + workflow, then streaming, then non-streaming). Given the workflow, the three best LLMs stay within 1.8 points of each other and swap places: Llama-3.3-70B is best from 0.35/0.15 to uniform weights, Gemma4-31B at 0.40/0.10. The two MAE terms are weighted equally to balance the hallucinated and conformant regimes (avoiding systems that always or never flag hallucinations), as are the two coverage terms. Tables display 100⋅Score100 \cdot\mathrm{Score}.

Statistical Testing Protocol

For Task 1, the unit of analysis is a (task, hallucination type) pair (96 units). We test each metric against chance with the exact one-sided permutation p-value of Kendall’s τ\tau per unit, combined across units with Fisher’s method (Fisher, [12]), and with a one-sided binomial test of the rate of exactly recovered 4-way rankings against 1/4!1/4!. We compare FlowKL with each baseline using a two-sided paired Wilcoxon signed-rank test (Wilcoxon, [43]) over the 96 units. For Task 2, the unit is a conformant dialogue together with its four forks under one hallucination type (8,536 units), and we compare FlowSCORE with each baseline using a one-sided paired Wilcoxon test per encoder. In both cases, p-values are Holm-corrected (Holm, [18]) within each family of comparisons, and we report 95% paired-bootstrap confidence intervals (10,000 resamples; Efron and Tibshirani, [9]) on the mean difference in τ\tau.

Task 1 results. FBD, PRD, and FlowKL are all significantly above chance (Fisher-combined p<0.001p < 0.001; exact 4-way recovery in 77.1%, 68.8%, and 67.7% of units, vs. 4.2% by chance), whereas Turn-count diff. is not (Fisher p=0.995p = 0.995) and Word-count diff. only weakly (p=0.048p = 0.048; exact recovery in 15.6% of units). Differences are in Kendall’s τ\tau. FlowKL vs. FBD: mean Δ=−0.031\Delta= -0.031, 95% CI [−0.080,0.017][-0.080, 0.017]; vs. PRD: +0.003+0.003, [−0.052,0.066][-0.052, 0.066] (Holm-corrected Wilcoxon p=0.43p = 0.43 and 0.790.79, not significant). FLOWKL vs. Turn-count diff.: +0.969+0.969, [0.835,1.104][0.835, 1.104]; vs. Word-count diff.: +0.681+0.681, [0.559,0.809][0.559, 0.809] (p<0.001p < 0.001 for both).

Encoder Models

The encoders used in Tasks 2 and 3 (and, for D2F, in FLOWKL) are the following Hugging Face models:

  • SBERT: https://huggingface.co/sentence-transformers/all-mpnet-base-v2

  • LaBSE: https://huggingface.co/sentence-transformers/LaBSE

  • BGE-M3: https://huggingface.co/BAAI/bge-m3

  • Qwen3-Embedding: https://huggingface.co/Qwen/Qwen3-Embedding-8B

  • EmbeddingGemma: https://huggingface.co/google/embeddinggemma-300m

  • DSE: https://huggingface.co/aws-ai/dse-bert-base

  • D2F: https://huggingface.co/sergioburdisso/dialog2flow-joint-dse-base

Task 2: Significance Tests

Table 7 reports, for each encoder, the paired comparison between FLOWSCORE and every other method of Table 3, including the encoder-free controls (Random is omitted, since its expected τ\tau is exactly 0). The unit is a conformant dialogue together with its four forks under one hallucination type (N=2,134×4=8,536N = 2{,}134 \times4 = 8{,}536).

Streaming Methods: Encoder Ablation

Table 9 reports streaming results grouped by encoder. Compact labels: SS = Surprise Spike; IT = Improbable Transition; indented w/ NC rows add node-confidence weighting to the method above. As in Table 4, each detector learns from the train dialogues and is scored on the test dialogues. Best values within each encoder are bold; best overall are bold+underline. LaBSE achieves the best Score (73.69, SS; reported in Table 4), followed by D2F (73.28, IT+NC), Qwen3-Embedding (72.06, IT) and EmbeddingGemma (71.93, IT+NC). The top encoders are close: in a paired bootstrap over the test conformant dialogues, each resampled with its forks (1,000 resamples), LaBSE scores significantly higher than SBERT, DSE and BGE-M3 (p<0.001p < 0.001), but not than

Listing 11: Zero-shot system prompt used in the dialog-only non-streaming regime (no workflow access). The dialogue transcript is supplied in the user message.

You are an expert system that analyzes task-oriented dialogs and detects hallucinations.

Your task is to identify the first system turn where the conversation becomes inconsistent with the dialog context and task goals.

No workflow graph is provided. Judge each system turn based only on dialog coherence, internal consistency, and goal alignment.

Analyze the dialog transcript carefully:
1. Track user constraints, intents, and confirmed facts across turns
2. Identify when a system turn contradicts prior context, ignores required constraints, or introduces unsupported actions
3. Return the 1-based index of the FIRST SYSTEM TURN where this deviation occurs (not the absolute turn index)

Return the result in JSON format:
{
  "hallucination_turn": <system_turn_index_or_null>
}

Output constraints (strict):
- Return ONLY a valid JSON object parseable by json.loads().
- Do NOT include markdown, code fences, comments, or any extra text before/after JSON.
- Use double quotes for keys/strings and valid JSON null when needed.

Where `hallucination_turn` is:
- The system turn counter (e.g., if hallucination is at "System K" in the transcript, return K)
- null if no such deviation is found throughout the dialog

Listing 12: Zero-shot system prompt used in the dialog + workflow non-streaming regime. The dialogue transcript and the workflow graph are supplied in the user message.

You are an expert system that analyzes task-oriented dialogs and detects hallucinations.

Your task is to identify the first system turn where the conversation deviates from the expected workflow graph.

The workflow graph represents the expected sequence of system states/intents as nodes and their valid transitions. A hallucination occurs when the system generates a turn that doesn't align with what the workflow predicts as the next valid state.

Analyze the dialog transcript carefully:
1. Track which workflow node the conversation is at after each exchange
2. Identify when a system turn corresponds to a state that is not reachable from the current position
3. Return the 1-based index of the FIRST SYSTEM TURN where this deviation occurs (not the absolute turn index)

Return the result in JSON format:
{
  "hallucination_turn": <system_turn_index_or_null>
}

Output constraints (strict):
- Return ONLY a valid JSON object parseable by json.loads().
- Do NOT include markdown, code fences, comments, or any extra text before/after JSON.
- Use double quotes for keys/strings and valid JSON null when needed.

Where "hallucination_turn" is:
- The system turn counter (e.g., if hallucination is at "System K" in the transcript, return K)
- null if the dialog follows the workflow correctly throughout

D2F, Qwen3-Embedding or EmbeddingGemma points (LaBSE 73.6–74.9, D2F 71.8–73.3). We use N=3N=3, a common default. (p≥0.11p \ge0.11).

Observations. (i) IT localizes better than SS for every encoder. NC weighting trades specificity for sensitivity: for every encoder it raises the false-alarm rate and (in 13 of 14 encoder–detector pairs) the hallucinated coverage, and it lowers the hallucinated MAE of IT for six of seven encoders (of SS, for three); its net effect on Score is negative for 10 of 14 pairs, so whether it pays off depends on the cost of a false alarm. (ii) Encoders differ mainly in how well the thresholds calibrated on the train dialogues transfer to unseen dialogues: the false-alarm rate ranges from 3–9% (DSE) to 43–46% (BGE-M3), whose Score drops accordingly (65–66) despite a competitive hallucinated MAE (2.1–2.4). Localization varies less, except for EmbeddingGemma and DSE (MAE 3.4–3.8 and 4.5–5.3, vs. 1.9–2.8 for the other encoders). (iii) The order NN of the language model mainly trades false alarms for localization. For LaBSE with IT, from N=2N=2 to 3, 6 and 10 the false-alarm rate rises from 8% to 12%, 20% and 25%, while the hallucinated MAE is lowest at N=3N=3–6 (2.50, 1.98, 1.97, 2.25); the best Scores stay within 1.3

ModelMethodaseasbbbfrdfdshbhshsrmsppprpbpsrbrsribricrissacspltdtrvwthAvg. ↑
Random0.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.0000.000
Turn-count diff.0.2020.133−0.031−0.0620.4000.1960.1980.331−0.0940.011−0.127−0.0260.0380.1010.0370.3960.182−0.0510.4490.062−0.0620.1400.2600.3460.126
Word-count diff.0.2380.0190.1310.2460.2740.3290.2650.2430.0160.3680.1900.2600.0550.3810.0990.2390.2630.0420.4350.2470.2260.1560.2540.3720.223
Shared prefix0.8160.7430.7910.7720.7620.7760.8210.4760.8800.7890.7130.7390.6900.7560.8190.6940.7610.5510.0280.6460.4340.7530.3400.8290.682
LaBSEMean-turn emb.0.7590.7620.6200.6900.7600.7840.8570.7070.6610.8130.7830.7820.5860.8480.7650.7770.8250.8460.7130.8270.8330.7100.7330.7650.759
LaBSEFull-dialog emb.0.6670.7180.5530.6970.6250.6370.7700.6960.5830.6890.6840.5770.6300.7010.6480.7030.6980.7760.6300.7290.7150.6180.7490.7160.675
LaBSEFlowDTW0.8010.7320.6200.6590.7180.7790.8450.6560.6110.8310.6840.8310.4530.8420.7650.7750.8260.7880.6850.7780.8460.6870.8020.7840.742
LaBSEFlowScore0.8810.8070.7500.7900.8230.8700.9060.7500.8590.8680.8540.8620.7680.9140.8640.8660.8850.8650.7590.8470.8690.8110.8540.8340.840
Qwen3-EmbeddingMean-turn emb.0.6660.6820.6210.6710.7220.5430.7050.6300.5220.6100.6450.5610.4740.7410.4720.6880.6890.7240.6760.7820.7020.6200.6990.7090.648
Qwen3-EmbeddingFull-dialog emb.0.4280.5100.4490.4440.5300.5590.5360.4940.3460.4510.5640.4140.5240.5200.4380.5570.6410.4100.5930.6450.6330.5310.6290.6130.519
Qwen3-EmbeddingFlowDTW0.7660.6900.6270.6540.6880.7510.8210.5970.6230.8230.7030.7860.4910.8190.7620.7120.7630.7950.6670.7920.8330.6580.7420.7520.721
Qwen3-EmbeddingFlowScore0.8650.7930.7430.7660.8040.8370.8810.7230.8570.8460.8350.8080.6920.9080.8270.8110.8390.8650.7500.8360.8290.7870.7920.7880.812
SBERTMean-turn emb.0.7260.6990.6140.6810.7180.7510.8200.6480.5870.7620.7450.7360.5450.8160.7380.7370.8030.8460.7310.8320.7810.6910.7330.7650.740
SBERTFull-dialog emb.0.6310.6200.5590.6610.6670.5910.7530.6110.5510.7070.7390.6250.4980.7680.6920.6640.7680.8090.6310.7640.6790.6890.6700.6770.665
SBERTFlowDTW0.8150.7630.6410.7200.7900.8230.8420.7010.6060.8700.7930.8560.5170.8610.7900.8010.8270.8190.6900.8460.8270.8150.8160.8320.783
SBERTFlowScore0.8800.8010.7700.8100.8410.8910.9060.7660.8570.8740.8560.8820.7220.9220.8650.8700.8940.8920.7780.8660.8820.8430.8580.8450.852
BGE-M3Mean-turn emb.0.7310.7510.6050.6890.7560.7220.8340.7130.6230.8070.7680.7600.6060.8480.7560.7230.8140.8410.7140.8310.7680.7070.7400.7790.748
BGE-M3Full-dialog emb.0.7010.6610.5410.6470.6970.5910.7040.5790.5790.6230.7350.6730.4770.7930.6240.6810.7270.7660.6280.7990.6400.6140.6900.7070.657
BGE-M3FlowDTW0.7660.7530.6410.6460.7200.7570.8420.5910.5910.8230.6730.7930.5160.8160.7600.7450.8270.8210.6760.8150.8430.7270.8150.8110.760
BGE-M3FlowScore0.8800.8010.7700.8100.8410.8910.9060.7660.8570.8740.8560.8820.7220.9220.8650.8700.8940.8920.7780.8660.8820.8430.8580.8450.852

Table 8. Dialog-to-Dialog appendix results: Kendall’s τ by task. Column headers use the task abbreviations defined in Table 6. The top block contains the controls. Bold: best within each model; bold+underline: best overall. Higher is better; shading: darker is better.

Table 9: Streaming results on the Task 3 test set of the 3-gram LM detectors when using each embedding model to cluster turns into nodes. SS = Surprisal Spike; IT = Improbable Transition; indented w/ NC rows add node-confidence weighting to the method above. Best values within each embedding model are bold; best overall (non-baseline) are bold+underline; shading: darker is better.

EmbeddingMethodCSCGRSSPCWICAvg. ↓\downarrowCov. ↑\uparrowMAE ↓\downarrowCov. ↓\downarrowScore ↑\uparrow
LaBSESurprisal Spike4.211.561.301.682.1993.246.3312.0273.69
LaBSEw/ NC4.131.611.331.712.2093.566.5815.4772.45
LaBSEImprobable Transition4.130.931.251.631.9893.866.5212.4973.60
LaBSEw/ NC3.940.921.291.601.9494.806.5516.3173.23
D2FSurprisal Spike4.821.991.702.422.7390.926.7210.8170.91
D2Fw/ NC4.571.911.752.412.6691.176.2014.5472.36
D2FImprobable Transition4.691.321.572.192.4491.756.6811.1871.84
D2Fw/ NC4.311.271.582.112.3292.526.2214.9173.28
BGE-M3Surprisal Spike3.721.891.602.062.3295.197.2242.8766.11
BGE-M3w/ NC3.731.951.702.052.3695.467.4743.4365.13
BGE-M3Improbable Transition3.681.351.571.932.1395.457.2843.9066.20
BGE-M3w/ NC3.621.411.661.912.1596.007.5345.7665.03
SBERTSurprisal Spike4.542.212.171.972.7291.996.9216.3169.73
SBERTw/ NC4.572.292.202.062.7891.996.9619.4869.04
SBERTImprobable Transition4.521.612.041.872.5192.186.8116.5070.61
SBERTw/ NC4.401.692.031.872.5092.616.8320.0470.15
Qwen3-EmbeddingSurprisal Spike4.781.941.802.002.6390.416.4513.7071.66
Qwen3-Embeddingw/ NC4.681.981.842.042.6390.956.8016.9670.13
Qwen3-EmbeddingImprobable Transition4.701.421.761.892.4490.916.4415.0072.06
Qwen3-Embeddingw/ NC4.501.391.791.922.4091.556.5417.9971.53
EmbeddingGemmaSurprisal Spike5.843.562.383.563.8388.625.948.3970.45
EmbeddingGemmaw/ NC5.623.512.373.503.7589.195.6512.1271.18
EmbeddingGemmaImprobable Transition5.763.002.333.393.6289.135.958.2971.08
EmbeddingGemmaw/ NC5.372.862.253.273.4490.295.7212.5871.93
DSESurprisal Spike6.656.124.234.015.2573.436.033.0864.64
DSEw/ NC6.235.673.973.764.9175.526.818.6763.12
DSEImprobable Transition6.685.204.163.894.9874.225.843.8266.02
DSEw/ NC6.014.733.843.594.5476.666.728.9564.55

Table 9.

Human Evaluation Study

DIALFORK’s ground truth comes from its construction: each forked dialogue carries the hallucination type and variant that was injected, the fork turn tkt_k at which it was injected, and its fork position kk relative to the other forks of the same conformant dialogue. This appendix describes the human study we use to validate these labels, and to compare the automatic metrics of § 5 with human judgments of procedural conformance. Results are summarized in § 4 and reported in detail in §N.7.

Research Questions

The study is designed around four research questions, summarized in Table 10, each targeting one label or claim that the benchmark relies on. We additionally relate the automatic distances of Task 2 to the human judgments (§N.6).

RQQuestionValidatesMeasureStatisticResult
RQ1Does fork position track perceived procedural deviation?Fork order kk (Tasks 1–2)Step 1: 0–100 conformance slider, before any cueKendall τb\tau_b and probability of superiority within each (annotator, task); conformant dialogues as anchorYes: strong rank correlation with kk (τb=0.64\tau_b=0.64) for all the types that break the workflow
RQ2Does the injected behavior appear?Type and variant labelsStep 2: yes / partly / no, against the true instruction or a foilConfirmation rate per type (Wilson CIs) vs. foil confirmation rateYes: 91% confirmed (87–96% per type), vs. 8% for foils on conformant dialogues
RQ3Does it start at the intended turn?Fork turn tkt_k (Task 3)Step 2: first assistant turn where it starts, before the fork is shown∣onset−tk∣|{\mathrm{onset}}-t_k| distribution; share exact and within ±1\pm1 turnYes: 67% exact, 77% within one turn
RQ4Is the pre-fork part conformant?Seeded replay of the prefixStep 3: yes / mostly / no, for forks with tk>1t_k > 1Conformance rate (Wilson CI)Yes: 95% followed or mostly followed

Table 10. Research questions of the human study, the label or claim each one validates, how it is measured (step of the annotation item, §N.4), the statistic reported, and the result (§N.7).

RQ1 (Fork order). Does fork position track the degree of procedural deviation perceived by humans? If forking works as intended, dialogues forked later, which follow the intended workflow for longer, should be judged more conformant than dialogues forked earlier, and conformant dialogues the most conformant of all. This is the ordering that Tasks 1 and 2 use as ground truth.

RQ2 (Injection validity). Does the injected behavior actually appear in the forked dialogue? This validates the hallucination type and variant labels, per type.

RQ3 (Localization). Does the deviation start at the intended fork turn? This validates tkt_k, the ground truth of Task 3.

RQ4 (Prefix conformance). Before the fork, does the assistant follow the intended workflow? This validates that the replayed prefix is generated under the intended policy (§ 4).

Participants

Thirty-one volunteers were recruited, colleagues from our institutions and external participants, none of whom took part in building the dataset. Each annotator was assigned a number of conversations matching their initial time availability, from 5 to 60 (at an estimated 2.5 minutes each), and several asked for more once they had finished. Conversations are assigned in batches drawn from a single STAR task, so that all the conversations in a batch follow the same workflow. We assigned most annotators a single task, so that they could become familiar with one workflow rather than relearn a new one every few conversations; only those with larger loads worked on two or three tasks. Since participation was voluntary, annotators could stop at any time. Annotators accessed the study through a personal link, read and accepted a consent statement before starting, and are identified only by an opaque identifier in the collected data; each could choose to be acknowledged by name in the final version of the paper or to remain anonymous.

Sample

We selected five tasks spanning short to long dialogues and different domains: weather, plane_book, bank_fraud_report, hotel_book, and party_plan. Conversations are drawn in mini-blocks of five: four forked dialogues forming one row of a type × fork-position Latin square (each hallucination type once and each fork position once) plus one conformant dialogue. Annotators receive their conversations one mini-block at a time, shuffled within each block, so whatever an annotator completes is balanced on hallucination type and fork position even if they stop early. No annotator ever sees two versions of the same source dialogue: all versions share the same opening, so seeing two of them would let an annotator compare them directly instead of judging each one against the workflow. For the same reason, we collect independent ratings rather than asking annotators to rank the four forks of a dialogue side by side: such a ranking could be read off the length of the shared opening, the very construction cue the study must look past. The ranking is instead recovered from independent ratings, across annotators (§N.6).

Sample size. The study samples the construction procedure rather than the dataset: every forked dialogue is produced by the same pipeline, prompts, and generator, so the conversations we annotate are exchangeable draws from it, and the number needed depends on the precision sought, not on the size of DIALFORK. About 380 conversations bound the 95% margin of error of any overall rate by ±5 points, whatever the rate, even after the finite-population correction for the 36,278 dialogues of DIALFORK. We therefore planned 500 conversations, together with a set judged by two or three annotators to measure agreement.

Final sample. Of the 31 volunteers recruited, one never started, so 30 annotators took part, and four of them stopped before completing their assignment, which voluntary participation allows; since every annotator works one mini-block at a time, the conversations they did complete remain balanced. The final sample comprises 428 conversations, still above the 380 required: 342 forked dialogues (85 or 86 per hallucination type and per fork position) and 86 conformant ones, with 526 judgments in total, about 12.6 hours of annotation. Seventy conversations are judged by two (42) or three (28) annotators and are used to measure inter-annotator agreement.

Annotation Protocol

Learning the task. Before their first conversation, annotators see a short introduction to their task: a one-line description of the system’s goal and its workflow, written as numbered steps in plain language (e.g., Ask which doctor they want to see), with each branch nested under the step it comes from (e.g., If it is not available → …) and the STAR response template of each step available as an example on demand. The original STAR flowchart is also shown. The same workflow panel stays visible next to every conversation (Figure 7). Annotators are told that only the assistant is judged, and that the exact wording of its turns does not matter, only the steps it performs.

The annotation tool showing four workflow steps and the administrator panel

Figure 7. The annotation tool, shown on a demonstration instance with placeholder annotators (doctor_schedule task). The workflow steps stay visible on the left of every conversation; only the assistant turns are judged.

Three steps per conversation. Each conversation is annotated in three steps, always in the same order, and an answer cannot be changed once the next step is shown. The order is what keeps each answer independent of the information revealed afterwards:

  1. Overall conformance (RQ1). “The assistant was told to follow the steps on the left. How well does it?”, answered on a 0–100 slider (0: ignores them; 100: follows them). Nothing about the conversation’s construction has been revealed at this point, so this judgment is blind to the hallucination type, the fork position, and whether the conversation was forked at all.

  1. Cued check (RQ2, RQ3). Annotators are told that “at some point, the assistant was given an extra instruction” and what it was meant to do from then on (e.g., “Choose actions inconsistently so the dialogue appears chaotic and disconnected from the intended flow”; for WIC, the description of the substitute task), and asked “Does that happen in this conversation?” (yes / partly / no). If yes or partly, they click the first assistant turn where it starts to happen. The fork turn is not marked at this point.

  1. Prefix check (RQ4). Annotators judge whether, before the fork, the assistant follows the steps (yes / mostly / no). To delimit this part, the fork region is highlighted, and the injected instruction is shown next to the annotator’s step-2 answer, without any score or evaluative feedback. Annotators can also leave a free-text note. The question is skipped when there is no pre-fork part (conformant dialogues and forks with tk=1t_k = 1).

Foils. A cued question alone could be answered “yes” indiscriminately. To measure this, every conformant dialogue and about 20% of the forked dialogues are shown a foil in step 2: the description of a variant from a different hallucination type, which never occurs in that conversation, so the correct answer is “no”. Foils are assigned deterministically per conversation, independently of the annotator. The difference between the confirmation rate of true instructions and that of foils is what separates genuine detection from acquiescence.

Feedback and learning. Because annotators see the injected instruction and the true fork turn after each conversation (step 3), they could in principle learn regularities of the construction over time. We therefore report onset accuracy and foil confirmation separately for the first, middle, and last third of each annotator’s sequence (§N.7).

Annotation Tool

We built a dedicated web application for the study (Figure 7), which we release together with the DIALFORK dataset and source code, along with the anonymized judgments collected in this study. It is implemented in Python with no third-party dependencies, opens the dataset read-only, and stores all answers in a single SQLite database.

Annotator interface. The annotator view shows the workflow steps on the left and the conversation on the right, with the assistant turns emphasized and numbered and the user turns in a muted style; the current step is shown in a panel at the bottom (Figure 7a–Figure 7c). Progress is shown per task.

Blinding is enforced by the server. The browser never receives information ahead of the step that needs it: the step-1 payload contains no cue and no fork turn, the step-2 payload contains the cue but not the fork turn, and a step cannot be requested before the previous one has been submitted. Conversations are identified in the browser by opaque random tokens, so neither the hallucination type nor the fork position can be inferred from them. Presentation order and foil assignment are randomized server-side with stored seeds, so every presentation can be reconstructed.

Administrator interface. An administrator panel, protected by a password, is used to create annotators (each receiving a personal link), draw batches of conversations for a given task following the sampling rules above, assign them, and monitor progress (Figure 7d). It also recomputes all the analyses below from the answers collected so far and exports the raw answers.

Analysis

Aggregation. Categorical answers (steps 2 and 3) use the first judgment collected for each conversation, so that each conversation counts once; the slider uses the mean over the annotators who judged the conversation. Agreement is computed only on the conversations judged by more than one annotator.

RQ1: fork order. Our primary statistic is computed within each (annotator, task) pair: Kendall’s τb\tau_b (Kendall, [21]) between the annotator’s slider values and the fork positions kk of the forked dialogues they judged, which removes differences in how individual annotators use the scale. We average τb\tau_b over all pairs with at least eight forked dialogues covering all four positions, and report a bootstrap confidence interval (Efron and Tibshirani, [9]). To make the effect size directly interpretable, we also report the probability of superiority (McGraw and Wong, [30]): among pairs of conversations judged by the same annotator within the same task and at different positions, the share in which the later one is rated higher (ties count one half; chance is 50%), with a bootstrap confidence interval over (annotator, task) pairs, and with conformant dialogues counted as the latest position. As the closest analogue of Task 2, we also compute τb\tau_b within each quartet, the four forks of the same source dialogue under the same hallucination type; since no annotator sees two versions of the same source dialogue, the four forks of a quartet are necessarily judged by four different annotators. As an anchor, conformant dialogues should receive the highest scores. Since the step-1 question asks how well the assistant follows the workflow’s steps, and CSC is the only hallucination type that keeps every component of the workflow, adding a competing objective on top (Table 1), we report these statistics over the three types that break a component of the workflow (WIC, SSPC, and GR), and, for completeness, over all forks. We also report mean slider values per fork position, overall and per hallucination type (a within-annotator τb\tau_b per type would need each annotator to judge every type at every fork position, which only the largest loads cover).

RQ2–RQ4. We report confirmation and conformance rates with Wilson confidence intervals (Wilson, [44]): for RQ2, per hallucination type and against foils; for RQ4, per fork position. For RQ3, we report the distribution of the difference between the annotated onset and tkt_k, and the share of exact and within-one-turn matches.

Reliability. On the doubly-judged conversations, we report raw agreement and Gwet’s AC1 [17] for the categorical answers, and Krippendorff’s α\alpha [22] (interval) for the slider and the onset turn. We report AC1 rather than Cohen’s or Fleiss’ κ\kappa as the primary agreement statistic because the confirmation question is expected to be heavily skewed, a setting in which κ\kappa is known to be low even under high agreement [10]. Each annotator’s foil false-confirmation rate, i.e., how often they confirmed an instruction that was never injected, provides an objective per-annotator reliability measure that requires no comparison between annotators; it is the only criterion we use to exclude an annotator, and any exclusion is reported. Since a foil shown on a forked dialogue can partly match the deviation that the dialogue does contain, the criterion uses only the foils shown on conformant dialogues, for which the correct answer is unambiguously “no”:

an annotator is excluded if they confirm more than half of them, i.e., if they report an injected behavior in a conversation where none was injected more often than not. The criterion is applied to annotators shown at least two conformant dialogues; those who judged a single mini-block see only one, which is too few to assess.

Secondary: relation to automatic metrics. Beyond the four research questions, for each forked dialogue D′D', we compute its distance to its conformant original, μ(D+,D′)\mu(D^{+},D'), under each Task-2 method and each length-only control, and report Spearman’s ρ\rho [40] between this distance and the human-perceived deviation (100 minus the mean slider), with bootstrap confidence intervals. Note that this analysis answers a different question from Task 2: Task 2 ranks the four forks of the same conformant dialogue under the same hallucination type, whereas here dialogues from different sources, tasks, and hallucination types are pooled, so the correlation also reflects how each method weighs the different types of deviation.

Results

Figure 8 summarizes the results, one panel per research question. The median time per conversation, all three steps included, was 1.4 minutes.

RQ1: fork order. Step 1 asks how well the assistant follows the workflow’s steps. CSC is the only hallucination type that keeps every component of the workflow, including its goal, and adds a competing objective on top (Table 1); its forks are clearly perceived as deviating, rated below a conformant dialogue by the same annotator in 87% of pairs [80, 93] and with the injected behavior confirmed in 88% of them (RQ2), but the degree of deviation perceived on this question changes little with fork position (from 59 at k=1k=1 to 70 at k=4k=4), as the added constraint shows in the same way whenever it is injected. Over the three types that break a component of the workflow (WIC, SSPC, and GR; Figure 8a, bars), perceived conformance increases with every fork position, from 14/100 at k=1k=1 and 19 at k=2k=2 to 41 at k=3k=3 and 58 at k=4k=4, with conformant dialogues rated highest (94). Compared within the same annotator and task, a later fork is rated above an earlier one in 80% of pairs (95% CI [76, 84]; chance is 50%), a fork at k=4k=4 above one at k=1k=1 in 90% [83, 96], and a conformant dialogue above a forked one in 96% [94, 98]. The corresponding rank correlation is strong, with a mean τb\tau_b of 0.57 [0.50, 0.63] (p<0.001p < 0.001, one-sided Wilcoxon test against 0); note that with four forks at each position, ties in kk cap τb\tau_b at about 0.89 even for a perfectly ordered annotator. In the setting that mirrors Task 2, the four forks of the same source dialogue under the same hallucination type, the correlation is stronger still, with τb\tau_b reaching 0.64 [0.43, 0.80] over 23 quartets (p<0.001p < 0.001), even though each quartet mixes the rating scales of four different annotators. As an anchor, conformant dialogues are rated highest for every (annotator, task) pair. For each of these three types, forks at k=4k=4 are rated well above forks at k=1k=1 (GR 3 vs. 52, SSPC 12 vs. 62, WIC 24 vs. 61), and for GR the rating rises at every step (3, 16, 27, 52). The first two positions are the closest: t1t_1 and t2t_2 are on average fewer than two assistant turns apart, and these opening turns (e.g., greeting the user, asking for their name) are largely generic.

Figure 8. Human study results, one panel per research question. (a) RQ1: mean step-1 conformance rating per fork position kk over WIC, SSPC, and GR forks (bars) and over all four types (markers; CSC keeps every component of the workflow, see text), and for conformant dialogues, with 95% bootstrap CIs. (b) RQ2: share of forked dialogues in which the true injected instruction was confirmed (yes or partly), per hallucination type, vs. the share of foil instructions confirmed, with 95% Wilson CIs. (c) RQ3: absolute difference between the annotated onset and the fork turn tkt_k, over confirmed true instructions. (d) RQ4: answers to the prefix question per fork position (k=1k=1 forks have no pre-fork part).

Including CSC (Figure 8a, markers), the ordering holds as well: ratings rise from 26 at k=1k=1 and 27 at k=2k=2 to 47 at k=3k=3 and 61 at k=4k=4; a later fork is rated above an earlier one in 72% of pairs [68, 75], a fork at k=4k=4 above one at k=1k=1 in 82% [76, 88], and a conformant dialogue above a forked one in 94% [91, 96]; the rank correlation is moderate, with τb\tau_b of 0.41 [0.35, 0.48] within annotators and 0.45 [0.25, 0.64] over 33 quartets (both p<0.001p < 0.001); and conformant dialogues are rated highest for 88% of the (annotator, task) pairs.

RQ2: injection validity. Told which instruction had been injected, annotators confirmed that it is carried out in 91% of forked dialogues (95% CI [86, 94]; “yes” in 80%, “partly” in 11%), and in at least 87% for every hallucination type, from WIC (87%) to GR (96%) (Figure 8b). Foils, which describe a behavior that was never injected, were confirmed far less often: in 8% of conformant dialogues (p<0.001p < 0.001, one-sided Fisher exact test). On forked dialogues, which do deviate from the workflow, a description of a different deviation can partly match the one that is present, and foils were confirmed in 45% of cases; the true instruction was still confirmed twice as often (91%, p<0.001p < 0.001), showing that annotators recognize the specific injected behavior and not merely that something went wrong.

RQ3: localization. Annotators placed the onset of the injected behavior, the quantity that Task 3 predicts, exactly at the fork turn tkt_k in 67% of confirmed forks (median error 0 turns) and within one turn of it in 77% (Figure 8c). Deviations from tkt_k are almost always late: 96% of onsets are at or after tkt_k, consistent with an injected instruction sometimes taking a turn or two to become visible when the next steps are shared by the intended and the injected behavior (e.g., a WIC substitute task that, like the intended one, starts by identifying the user). Annotators also agree closely with one another on the onset (Krippendorff’s α=0.84\alpha= 0.84, above the 0.8 reliability threshold; see Agreement below).

RQ4: prefix conformance. For forks with a pre-fork part (tk>1t_k > 1), annotators judged that the assistant followed the workflow before the fork in 86% of cases and mostly followed it in a further 9% (95% combined, 95% CI [91, 97]), with the same share of “yes” at every fork position (85–86%; Figure 8d). This confirms that seeded replay generates the prefix under the intended policy.

Agreement. On the conversations judged by more than one annotator, agreement on whether the injected instruction is carried out (yes or partly vs. no, the RQ2 measure) is 0.83, a substantial agreement (AC1 = 0.69; Landis and Koch, [24]); most disagreements are between “yes” and “partly” (three-way agreement 0.68, AC1 = 0.54). Agreement on the prefix question is almost perfect (raw 0.87, AC1 = 0.85). For the continuous answers, Krippendorff’s α\alpha is high for the onset turn (0.84, above the 0.8 threshold for reliable data; Krippendorff, [22]), with 88% of annotator pairs within one turn of each other, and 0.66 for the conformance slider.

Learning across the sequence. We find no sign that annotators learned regularities of the construction from the feedback shown after each conversation (§N.4). Splitting each annotator’s sequence into first, middle, and last thirds, onset accuracy does not increase towards the end (within one turn: 77%, 84%, 76%; highest in the middle third), and neither does the confirmation of true instructions (92%, 86%, 96%), while foil confirmation decreases (33%, 22%, 17%): over time, annotators became, if anything, more careful in rejecting instructions that were not carried out, not more inclined to confirm them.

Reliability and scale use. No annotator met the exclusion criterion (§N.6), so all judgments are kept. One annotator used the slider in a binary way (almost exclusively 0 or 100), judging whether the assistant followed the workflow rather than how closely. Excluding them leaves the mean ratings per fork position within 3 points and the mean τb\tau_b over all forks at 0.43 (vs. 0.41), so we report all annotators.

Secondary: relation to automatic metrics. Over the annotated forks, every embedding-based Task-2 distance correlates moderately to strongly with human-perceived deviation (Spearman ρ\rho from 0.58 for FlowScore to 0.67 for Mean-turn), well above the weak correlation of the length-only controls (0.36–0.37). This is consistent with RQ1: perceived deviation depends on the fork position, but also on the hallucination type and on the particular conversation (e.g., CSC forks are perceived as the mildest deviation at every position), and a distance computed on each dialogue can reflect these differences too. As this analysis pools dialogues across sources, tasks, and types (§N.6), it does not rank the methods on Task 2.

Scaling the Human Judgment to the Whole Corpus

The study covers 428 conversations from five tasks. To extend its checks to the whole corpus, every dialogue of the 24 tasks, we use the human judgments to calibrate an LLM judge, and apply the judge to the whole corpus as an additional sanity check of the construction. The judge is an instrument calibrated against people, not a second ground truth: the labels remain those of the construction.

Judge. The judge sees what the annotators saw (the workflow as numbered steps, the user’s goal, and the transcript with numbered assistant turns) and answers the three questions of §N.4 in the same order, one at a time within a single chat, with the same cues and foils. We compared 13 judges: five open-weight LLMs (Gemma4-31B, Qwen3.6-35B, GPT-OSS-20B, Mistral-Small-3.2-24B (Mistral AI, [31]) and Llama-3.3-70B (Grattafiori et al., 2024})), each with the annotators’ wording and with added rubric anchors, and the three that support it also with reasoning enabled, all served with Ollama and greedy decoding. We selected the judge on three of the five tasks (hotel_book, bank_fraud_report, weather) by its mean agreement with the annotators (AC1 on confirmation, Krippendorff’s α\alpha on the rating and on the onset turn), and evaluated it on the other two (plane_book, party_plan), whose workflows it had not seen. To avoid self-verification, we excluded the generator, Gemma4-31B, although with reasoning enabled it was the best judge on the selection tasks. The selected judge is Qwen3.6-35B with the annotators’ wording.

Agreement with people. On the 25 held-out conversations judged by several annotators, the judge agrees with each annotator about as well as two annotators agree with each other: AC1 0.71 against 0.59 on confirmation, α\alpha 0.70 against 0.48 on the rating, and 0.82 against 0.89 on the onset turn. With so few conversations the intervals are wide (the annotator-to-annotator AC1 on confirmation has a 95% CI of [0.28, 0.86]), so we read this as agreement within the range of human agreement, not above it.

Whole corpus. Table 11 compares the judge with the annotators on the study’s conversations, and reports it on all dialogues. On the whole corpus, the judge reproduces the four findings of the study: ratings rise with the fork position and are highest

PeopleLLM judge
studystudyall dialogues
Rating, k=1/2/3/4k=1/2/3/414/19/41/5815/16/28/5511/15/27/53
Rating, conformant949887
Instruction confirmed91%85%84%
Foil confirmed8%0%2.0%
Onset at tkt_k / within ±1\pm167% / 77%72% / 82%71% / 84%

Table 11. The calibrated LLM judge (Qwen3.6-35B) on the study’s conversations and on the whole corpus, next to the annotators. Ratings are means over WIC, SSPC and GR forks (§N.7); confirmation and onset are over forks shown the true instruction; foils are those shown on conformant dialogues.

for conformant dialogues (RQ1), the injected instruction is confirmed far more often than a foil (RQ2), its onset is placed at or near tkt_k (RQ3), and the turns before the fork are judged to follow the workflow in 96% of forks (RQ4). The figures are as high on the 19 tasks that the study does not cover (instruction confirmed in 84% of forks, onset within one turn in 85%) as on its five (83%, 82%), which extends the study’s validation of the labels from 5 to all 24 tasks; only foils on conformant dialogues are confirmed slightly more often there (2.6%, against 0.6%). The judge’s misses concentrate on two cases where the injected behavior is the least visible: WIC switches to a closely related workflow of the same domain (e.g., hotel_book to hotel_search), which people also confirm least often (87%), and CSC, whose forks keep every step of the workflow. Finally, the judge’s blind rating alone ranks a conformant dialogue above a forked one 96% of the time (AUC 0.96), so the perceived deviation tracks the construction across the whole corpus, as it does for people on the study (RQ1).

Release. We release all the material of this section with DIALFORK’s code: the judge’s prompts and code; the answers of the 13 candidate judges on the study’s conversations, together with the code that scores them against the annotators; and the selected judge’s answers for every dialogue of the corpus. The judge can thus be reused as is, e.g., to check dialogues regenerated with another LLM, or to validate new dialogues built with the DIALFORK pipeline.

References

  1. [1]Ahmad Alismail and Carsten Lanquillon. 2025. A survey of llm-based methods for synthetic data generation and the rise of agentic workflows. In Artificial Intelligence in HCI, pages 119–135, Cham. Springer Nature Switzerland.DOI
  2. [2]Ankita Bhaumik, Praveen Venkateswaran, Yara Rizk, and Vatche Ishagian. 2023. TaskDiff: A similarity metric for task-oriented conversations. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 16234–16240, Singapore. Association for Computational Linguistics.arxiv.org/abs/2310.15298
  3. [3]Sergio Burdisso, Séverin Baroudi, Yanis Labrak, David Grünert, Pawel Cyrta, Yiyang Chen, Srik anth Madikeri, Esaú Villatoro-Tello, Ricard Marxer, and Petr Motlicek. 2026. SDialog: A python toolkit for end-to-end agent building, user simulation, dialog generation, and evaluation. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 3: System Demonstrations), pages 320–340, Rabat, Morocco. Association for Computational Linguistics.
  4. [4]Sergio Burdisso, Srikanth Madikeri, and Petr Motlicek. 2024. Dialog2Flow: Pre-training soft-contrastive action-driven sentence embeddings for automatic dialog flow extraction. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 5421–5440, Miami, Florida, USA. Association for Computational Linguistics.arxiv.org/abs/2410.18481
  5. [5]Derek Chen, Howard Chen, Yi Yang, Alexander Lin, and Zhou Yu. 2021. Action-based conversations dataset: A corpus for building more in-depth task-oriented dialogue systems. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 3002–3017, Online. Association for Computational Linguistics.arxiv.org/abs/2104.00783
  6. [6]Jianlyu Chen, Shitao Xiao, Peitian Zhang, Kun Luo, Defu Lian, and Zheng Liu. 2024a. M3-embedding: Multi-linguality, multi-functionality, multi-granularity text embeddings through self-knowledge distillation. In Findings of the Association for Computational Linguistics: ACL 2024, pages 2318–2335, Bangkok, Thailand. Association for Computational Linguistics.arxiv.org/abs/2402.03216
  7. [7]Kedi Chen, Qin Chen, Jie Zhou, He Yishen, and Jiang He. 2024b. DiaHalu: A dialogue-level hallucination evaluation benchmark for large language models. In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 9057–9079, Miami, Florida, USA. Association for Computational Linguistics.
  8. [8]Nouha Dziri, Ehsan Kamalloo, Sivan Milton, Osmar Zaiane, Mo Yu, Edoardo M. Ponti, and Siva Reddy. 2022. FaithDial: A faithful benchmark for information-seeking dialogue. Transactions of the Association for Computational Linguistics, 10:1473–1490.arxiv.org/abs/2204.10757
  9. [9]Bradley Efron and Robert J. Tibshirani. 1993. An Introduction to the Bootstrap. Chapman and Hall/CRC.
  10. [10]Alvan R. Feinstein and Domenic V. Cicchetti. 1990. High agreement but low kappa: I. the problems of two paradoxes. Journal of Clinical Epidemiology, 43(6):543–549.pubmed.ncbi.nlm.nih.gov/2348207
  11. [11]Fangxiaoyu Feng, Yinfei Yang, Daniel Cer, Naveen Arivazhagan, and Wei Wang. 2022. Language-agnostic BERT sentence embedding. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 878–891. Association for Computational Linguistics.
  12. [12]Ronald A. Fisher. 1925. Statistical Methods for Research Workers. Oliver and Boyd, Edinburgh.
  13. [13]Sarik Ghazarian, Abhinav Gullapalli, Swair Shah, Anurag Beniwal, Nanyun Peng, Narayanan Sadagopan, and Zhou Yu. 2025. TOD-ProcBench: Benchmarking complex instruction-following in task-oriented dialogues. Preprint, arXiv:2511.15976.arxiv.org/abs/2511.15976
  14. [14]Google DeepMind. 2026. Gemma 4 31b. https://huggingface.co/google/gemma-4-31B. Accessed 2026-05-24.
  15. [16]Taicheng Guo, Xiuying Chen, Yaqi Wang, Ruidi Chang, Shichao Pei, Nitish V. Chawla, Olaf Wiest, and Xiangliang Zhang. 2024. Large language model based multi-agents: A survey of progress and challenges. In Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI-24, pages 8048–8057. International Joint Conferences on Artificial Intelligence Organization. Survey Track.
  16. [17]Kilem Li Gwet. 2008. Computing inter-rater reliability and its variance in the presence of high agreement. British Journal of Mathematical and Statistical Psychology, 61(1):29–48.
  17. [18]Sture Holm. 1979. A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics, 6(2):65–70.DOI
  18. [19]Lei Huang, Weijiang Yu, Weitao Ma, Weihong Zhong, Zhangyin Feng, Haotian Wang, Qianglong Chen, Weihua Peng, Xiaocheng Feng, Bing Qin, and Ting Liu. 2025. A survey on hallucination in large language models: Principles, taxonomy, challenges, and open questions. ACM Trans. Inf. Syst., 43(2).DOI
  19. [20]Ziwei Ji, Nayeon Lee, Rita Frieske, Tiezhen Yu, Dan Su, Yan Xu, Etsuko Ishii, Ye Jin Bang, Andrea Madotto, and Pascale Fung. 2023. Survey of hallucination in natural language generation. ACM Computing Surveys, 55(12):1–38.DOI
  20. [21]Maurice G. Kendall. 1938. A new measure of rank correlation. Biometrika, 30(1/2):81–93.DOI
  21. [22]Klaus Krippendorff. 2004. Content Analysis: An Introduction to Its Methodology, 2nd edition. Sage, Thousand Oaks, CA.
  22. [23]Wojciech Kryściński, Bryan McCann, Caiming Xiong, and Richard Socher. 2020. Evaluating the factual consistency of abstractive text summarization. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 9332–9346, Online. Association for Computational Linguistics.arxiv.org/abs/1910.12840
  23. [24]J. Richard Landis and Gary G. Koch. 1977. The measurement of observer agreement for categorical data. Biometrics, 33(1):159–174.pubmed.ncbi.nlm.nih.gov/843571
  24. [25]Junyi Li, Xiaoxue Cheng, Xin Zhao, Jian-Yun Nie, and Ji-Rong Wen. 2023. HaluEval: A large-scale hallucination evaluation benchmark for large language models. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 6449–6464, Singapore. Association for Computational Linguistics.
  25. [26]Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. TruthfulQA: Measuring how models mimic human falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3214–3252, Dublin, Ireland. Association for Computational Linguistics.arxiv.org/abs/2109.07958
  26. [27]Xixun Lin, Yucheng Ning, Jingwen Zhang, Yan Dong, Yilong Liu, Yongxuan Wu, Xiaohua Qi, Nan Sun, Yanmin Shang, Kun Wang, Pengfei Cao, Qingyue Wang, Lixin Zou, Xu Chen, Chuan Zhou, Jia Wu, Peng Zhang, Qingsong Wen, Shirui Pan, and 5 others. 2025. LLM-based agents suffer from hallucinations: A survey of taxonomy, methods, and directions. Preprint, arXiv:2509.18970.arxiv.org/abs/2509.18970
  27. [28]Alex Mallen, Akari Asai, Victor Zhong, Rajarshi Das, Daniel Khashabi, and Hannaneh Hajishirzi. 2023. When not to trust language models: Investigating effectiveness of parametric and non-parametric memories. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 9802–9822, Toronto, Canada. Association for Computational Linguistics.
  28. [29]Joshua Maynez, Shashi Narayan, Bernd Bohnet, and Ryan McDonald. 2020. On faithfulness and factuality in abstractive summarization. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1906–1919, Online. Association for Computational Linguistics.arxiv.org/abs/2005.00661
  29. [30]Kenneth O. McGraw and S. P. Wong. 1992. A common language effect size statistic. Psychological Bulletin, 111(2):361–365.DOI
  30. [31]Mistral AI. 2025. Mistral-small-3.2-24b-instruct-2506. https://huggingface.co/mistralai/Mistral-Small-3.2-24B-Instruct-2506. Accessed 2026-10-22.
  31. [32]Johannes E. M. Mosig, Shikib Mehri, and Thomas Kober. 2020. STAR: A Schema-Guided Dialog Dataset for Transfer Learning. Preprint, arXiv:2010.11853.arxiv.org/abs/2010.11853
  32. [33]Aaron van den Oord, Yazhe Li, and Oriol Vinyals. 2018. Representation learning with contrastive predictive coding. Preprint, arXiv:1807.03748.arxiv.org/abs/1807.03748
  33. [34]OpenAI and 1 others. 2025. gpt-oss-120b & gpt-oss-20b model card. arXiv preprint arXiv:2508.10925.
  34. [35]Shuofei Qiao, Runnan Fang, Zhisong Qiu, Xiaobin Wang, Ningyu Zhang, Yong Jiang, Pengjun Xie, Fei Huang, and Huajun Chen. 2025. Benchmarking agentic workflow generation. In International Conference on Learning Representations, volume 2025, pages 69679–69703.arxiv.org/abs/2410.07869
  35. [36]Qwen Team. 2026. Qwen3.6-35b-a3b: Agentic coding power, now open to all. https://qwen.ai/blog?id=qwen3.6-35b-a3b. Accessed 2026-05-24.
  36. [37]Nils Reimers and Iryna Gurevych. 2019. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 3982–3992. Association for Computational Linguistics.
  37. [38]Mehdi S. M. Sajjadi, Olivier Bachem, Mario Lucic, Olivier Bousquet, and Sylvain Gelly. 2018. Assessing generative models via precision and recall. In NeurIPS.arxiv.org/abs/1806.00035
  38. [40]Charles Spearman. 1904. The proof and measurement of association between two things. The American Journal of Psychology, 15(1):72–101.
  39. [41]Henrique Schechter Vera, Sahil Dua, Biao Zhang, Daniel Salz, Ryan Mullins, Sindhu Raghuram Panyam, Sara Smoot, Iftekhar Naim, Joe Zou, Feiyang Chen, Daniel Cer, Alice Lisak, Min Choi, Lucas Gonzalez, Omar Sanseviero, Glenn Cameron, Ian Ballantyne, Kat Black, Kaifeng Chen, and 70 others. 2025. EmbeddingGemma: Powerful and Lightweight Text Representations. Preprint, arXiv:2509.20354.arxiv.org/abs/2509.20354
  40. [42]Julia White, Arushi Raghuvanshi, and Yada Pruksachatkun. 2023. Leveraging explicit procedural instructions for data-efficient action prediction. In Findings of the Association for Computational Linguistics: ACL 2023, pages 2895–2904, Toronto, Canada. Association for Computational Linguistics.arxiv.org/abs/2306.03959
  41. [43]Frank Wilcoxon. 1945. Individual comparisons by ranking methods. Biometrics Bulletin, 1(6):80–83.
  42. [44]Edwin B. Wilson. 1927. Probable inference, the law of succession, and statistical inference. Journal of the American Statistical Association, 22(158):209–212.DOI
  43. [45]Jiannan Xiang, Yahui Liu, Deng Cai, Huayang Li, Defu Lian, and Lemao Liu. 2021. Assessing dialogue systems with distributional distances. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 2192–2198, Online. Association for Computational Linguistics.arxiv.org/abs/2105.02573
  44. [46]Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger, and Yoav Artzi. 2020. BERTScore: Evaluating text generation with BERT. In International Conference on Learning Representations.arxiv.org/abs/1904.09675
  45. [47]Yanzhao Zhang, Mingxin Li, Dingkun Long, Xin Zhang, Huan Lin, Baosong Yang, Pengjun Xie, An Yang, Dayiheng Liu, Junyang Lin, Fei Huang, and Jingren Zhou. 2025a. Qwen3 embedding: Advancing text embedding and reranking through foundation models. Preprint, arXiv:2506.05176.arxiv.org/abs/2506.05176
  46. [48]Yue Zhang, Yafu Li, Leyang Cui, Deng Cai, Lemao Liu, Tingchen Fu, Xinting Huang, Enbo Zhao, Yu Zhang, Yulong Chen, Longyue Wang, Anh Tuan Luu, Wei Bi, Freda Shi, and Shuming Shi. 2025b. Siren’s song in the AI ocean: A survey on hallucination in large language models.arxiv.org/abs/2309.01219
  47. [49]Zhihan Zhou, Dejiao Zhang, Wei Xiao, Nicholas Dingwall, Xiaofei Ma, Andrew O. Arnold, and Bing Xiang. 2022. Learning dialogue representations from consecutive utterances. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (NAACL-HLT), pages 754–768. Association for Computational Linguistics.arxiv.org/abs/2205.13568

Paper details

vlnc:W_2yzjw558
Published
Added
License
CC BY 4.0
Usage

views · 2

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents