Preprint
Article

This version is not peer-reviewed.

DeMTS: Denoising Trajectories as Multivariate Time Series for Hallucination Detection in Diffusion Language Models

  † These authors contributed equally.

Submitted:

04 August 2026

Posted:

06 August 2026

You are already at the latest version

Abstract
Diffusion large language models (D-LLMs) have emerged as a promising paradigm for text generation. However, similar to autoregressive LLMs, D-LLMs remain vulnerable to hallucinations, where fluent outputs may contain factually incorrect or unsupported content. Although existing hallucination detection methods for D-LLMs attempt to leverage uncertainty trajectories of the denoising process to better identify hallucination signals, they typically compress the trajectories along either the temporal or token dimension, overlooking the useful information encoded in the complete two-dimensional token-step structure. Consequently, they may fail to capture hallucination-relevant patterns, such as inconsistent convergence and cross-token fault propagation, leading to suboptimal detection performance. To bridge this gap, we propose a D-LLM hallucination detection framework that formulates the Denoising trajectories as Multivariate Time Series over learnable latent variables (DeMTS for short). DeMTS employs a trajectory-preserving token-to-variable assignment module to convert token signals into stable latent variables. Based on these variables, we propose dynamic multivariate temporal modeling to progressively integrate inter-variable dependency modeling with temporal encoding for hallucination prediction. Extensive experiments on two D-LLMs backbones and three benchmarks demonstrate that DeMTS outperforms existing hallucination detection methods while maintaining strong robustness, efficiency, and cross-task transferability.
Keywords: 
;  ;  

1. Introduction

Diffusion large language models (D-LLMs) have recently gained increasing attention as an emerging paradigm for efficient and high-quality text generation [1,2,3]. Rather than decoding tokens strictly from left to right [4,5,6], D-LLMs generate a sequence through iterative denoising. Despite their advantages over autoregressive LLMs, D-LLMs remain vulnerable to hallucinations, where fluent outputs may contain factually incorrect or unsupported content [7,8]. Detecting such errors from output-level evidence (i.e., predictive uncertainty of output tokens) is often insufficient [9,10,11], because hallucination-related cues may appear during the denoising process in the form of uncertainty rebound or inconsistent refinement among token [12,13]. This motivates D-LLM-specific hallucination detection methods that explicitly model denoising trajectories, rather than solely relying on static features of the generated output [14,15].
Recent studies have begun to exploit predictive uncertainty throughout the denoising trajectory, typically quantified by token-level entropy, for hallucination detection in D-LLMs [16,17]. One line of work focuses on step-level evidence, which compresses the denoising trajectory along the diffusion-step dimension by selecting or reweighting the steps whose uncertainty patterns are most informative for hallucination prediction [18,19]. Another line models token-level uncertainty dynamics, which compresses the trajectory along the token dimension by identifying hallucination-indicative tokens and using their denoising dynamics as indicators of factual reliability [20]. Although these methods demonstrate the usefulness of uncertainty at intermediate denoising states, both lines of works compress the original trajectory along one dimension before detection. As a result, the token-step structure of D-LLM denoising trajectories, which jointly captures how token-level uncertainty evolves across diffusion steps, is not fully preserved, potentially leading to information loss for hallucination detection.
To investigate whether compressing denoising trajectories may overlook critical cues for hallucination detection, we examine the evolution of token-level uncertainty under different Q&A scenarios, and then identify two representative patterns that require explicit modeling of token-step uncertainty evidence. Pattern ❶: Inconsistent Convergence in Hallucination Answers (Fig. Figure 1a). In hallucinated responses, token uncertainties may converge to markedly different levels during the late denoising stage: some tokens become highly confident, while others remain relatively uncertain. Such inconsistent convergence across tokens reveals abnormal inter-token relations and provides hallucination evidence beyond any individual token. Pattern ❷: Cross-Token Fault Propagation in Hallucination Answers (Fig. Figure 1b). During the denoising process of some hallucination answers, an unstable or incorrect token state can affect the decoding of other contextually connected tokens, causing their entropy trajectories to deviate together from a coherent factual path. Capturing this propagative pattern for hallucination detection requires explicit modeling of dynamic dependencies among token trajectories, further highlighting the necessity of preserving the full token-step uncertainty structure. Recognizing the importance of two-dimensional evidence modeling, we pose a central research question:
Preprints 226721 i001
A promising solution to this question is to formulate the token-step uncertainty trajectory as a multivariate time series, which naturally preserves its two-dimensional structure: denoising steps define the temporal axis, while token-associated uncertainty signals serve as multiple interacting variables. Although this formulation is natural, directly applying existing approaches for multivariate time series to D-LLM hallucination detection is non-trivial, since they typically assume that each variable has a stable identity over time and among different variables [21,22]. This assumption does not hold for D-LLMs, where the semantic role of a potential variable (i.e. token position) may vary across samples and change during denoising process, thus giving rise to two key challenges. Challenge 1: Stable Variable Construction. Raw token positions cannot directly serve as variables, as they lack consistent semantic identities. They must be reorganized into semantically stable variables while preserving fine-grained denoising dynamics relevant to hallucination detection. Challenge 2: Relational Temporal Modeling. The temporal dynamics of the constructed variables are coupled with evolving dependencies among them. In this case, the hallucination detector must jointly capture both aspects, as hallucination cues can manifest as inconsistent convergence or propagate across related trajectories.
To address these challenges, we propose DeMTS, a hallucination detection framework that formulates D-LLM Denoising trajectories as Multivariate Time Series over learnable latent variables. To handle Challenge 1, DeMTS introduces a trajectory-preserving Token-to-Variable assignment (T2V) module, which reorganizes token uncertainty trajectories into latent variables with more consistent identities, considering uncertainty states, contextual semantics, and positional structure. A trajectory-preservation constraint is further imposed to retain local denoising variations during token-to-variable assignment. To address Challenge 2, DeMTS introduces Dynamic Multivariate Temporal Modeling (DMTM), which jointly captures relational and temporal patterns over the constructed latent variables. It performs step-adaptive inter-variable interaction to suppress unreliable early-step dependencies and strengthen interactions among stabilized variables, followed by variable-wise temporal modeling to encode the evolution of each latent variable. In this way, DeMTS captures both hallucination-related temporal dynamics and cross-token dependencies. In summary, our contributions are as follows:
  • We formulate D-LLMs hallucination detection as a multivariate time series learning problem, and identify two key challenges in adapting existing time series approaches to denoising trajectories.
  • We propose DeMTS, a trajectory-based detector which transforms semantically unstable token signals into stable latent variables and jointly captures dynamic inter-variable dependencies and variable-wise temporal evolution.
  • Experiments on two D-LLM backbones and three benchmarks show that DeMTS consistently outperforms baselines, while remaining robust, transferable, and efficient.

3. Preliminary

Diffusion Large Language Models. Given an input query q , the diffusion large language models (D-LLMs) generates a fixed-length response through iterative denoising. Let r ( t ) = ( r 1 ( t ) , r 2 ( t ) , , r N ( t ) ) V N denote the intermediate response at denoising step t { T , , 0 } , where N is the sequence length and V is the vocabulary. Starting from a highly masked sequence r ( T ) , the model progressively reconstructs the response according to r ( t 1 ) p θ r ( t 1 ) r ( t ) , q , until obtaining the final response r ( 0 ) .
At each denoising step t, the D-LLMs predicts a categorical distribution over the vocabulary for each token position i: π i , t = p θ r i ( 0 ) r ( t ) , q R | V | . The corresponding predictive uncertainty is measured by token entropy: H i , t = v V π i , t ( v ) log π i , t ( v ) . Collecting token uncertainties across all denoising steps and positions yields the uncertainty trajectory H = [ H i , t ] R N × ( T + 1 ) , where the temporal axis corresponds to denoising steps and the token axis corresponds to sequence positions. We further denote by e i , t R d h the contextual embedding of token position i at step t, and collect them as E R N × ( T + 1 ) × d h . The uncertainty trajectory H provides the primary detection signal, while E supplies contextual semantics for constructing the latent-variable trajectory.
Hallucination Detection in D-LLMs. Given the uncertainty trajectory H , contextual trajectory E , and the generated response, hallucination detection aims to determine whether the response contains factually incorrect or unsupported content. Let D = ( H n , E n , y n ) n = 1 M denote the training set, where M is the number of samples and y n { 0 , 1 } is the hallucination label, with y n = 1 indicating a hallucinated response and y n = 0 indicating a factual response. The objective is to learn a detector f ϕ that maps the denoising trajectories to a hallucination probability: y ^ n = f ϕ H n , E n . The task is formulated as trajectory-based binary classification:
min ϕ 1 M n = 1 M L cls y n , f ϕ ( H n , E n ) ,
where L cls denotes the binary cross-entropy loss.

4. Methodology

In this section, we provide an overview of DeMTS, a hallucination detection framework that models D-LLMs denoising trajectories as multivariate time series. DeMTS takes a token-step uncertainty trajectory as input which jointly preserves temporal evolution and cross-token relationships. It first performs Trajectory-Preserving Token-to-Variable (T2V) Assignment to map schedule-biased and semantically unstable token signals into latent variables with more consistent identities. Based on the resulting latent variable trajectories, DeMTS then applies Dynamic Multivariate Temporal Modeling to jointly capture variable-wise temporal evolution and dynamically evolving interactions among latent variables throughout the denoising process. The learned trajectory representation is finally used for hallucination detection. The overall framework of DeMTS is illustrated in Fig. Figure 2.

4.1. Trajectory-Preserving T2V Assignment

The raw denoising trajectory of a D-LLM is organized by token positions, where each trajectory corresponds to the uncertainty evolution of a fixed sequence position. However, the same position may correspond to different semantic roles and evolve into different token contents during denoising, making it unsuitable as a variable for multivariate temporal modeling. To construct a more reliable variable axis, we propose Trajectory-Preserving Token-to-Variable Assignment (T2V), which converts the position-indexed token trajectory into a latent variable-indexed trajectory, providing a more stable basis for multivariate time series learning.
The goal of T2V is to learn how each token-level signal should contribute to K latent variables with stable semantics while preserving its denoising dynamics. To this end, a schedule-aware uncertainty normalization scheme is introduced to reduce the global uncertainty bias induced by the denoising process. Then, a latent variable axis is constructed by assigning token-level signals to latent variables according to their uncertainty, semantic content, and positional structure. Moreover, T2V imposes a trajectory-preservation constraint on the assignment, preventing local hallucination cues from being smoothed out during token-to-variable aggregation.
Schedule-Aware Uncertainty Normalization. Raw token uncertainty can be affected by the denoising schedule, where early steps are generally more uncertain and later steps become more stable. To reduce this step-wise bias, we normalize token uncertainty within each denoising step by
μ t = 1 N i = 1 N H i , t , σ t = 1 N i = 1 N H i , t μ t 2 , H ^ i , t = H i , t μ t σ t + ϵ ,
where H i , t denotes the raw uncertainty of token position i at denoising step t, H ^ i , t denotes the normalized uncertainty, and ϵ is a small constant. After normalization, H ^ i , t can capture the relative uncertainty level of token i within the uncertainty distribution at each denoising step, providing a schedule-calibrated signal for token-to-variable assignment.
Variable Axis Construction. After normalization, the denoising trajectory remains indexed by raw token positions, preventing their direct use as stable variables for multivariate temporal modeling. Since a token position lacks a stable semantic identity in most scenarios, we construct a latent variable axis by learning a soft assignment from each token-level signal to K latent variables, grouping semantically related token signals into latent variables with more consistent identities. In this way, the position-indexed trajectory is reorganized into a stable variable-indexed trajectory, providing a more reliable basis for subsequent procedures.
To construct a latent-variable axis with stable semantics, the assignment should depend on both uncertainty dynamics and token semantics. We therefore combine the normalized uncertainty with the contextual token embedding extracted from the D-LLMs via:
u i , t = Linear h ( H ^ i , t ) + γ Linear e ( e i , t ) ,
where u i , t R N × ( T + 1 ) × d u denotes the joint representation of token (i) at denoising step (t), encoding both its uncertainty state and contextual semantics for subsequent latent-variable assignment. Specifically, e i , t denotes the contextual embedding of token i at denoising step t, Linear h ( · ) and Linear e ( · ) project the uncertainty and semantic signals into the same space, respectively, and γ controls the contribution of contextual information.
Based on u i , t , we further compute the content-conditioned assignment logits over K latent variables as:
s i , t con = F con ( u i , t ) ,
where F con ( · ) is a learnable mapping function, and s i , t con represents the assignment preference of token signal ( i , t ) over the K latent variables.
Although token positions cannot directly serve as stable variables due to their unstable semantic identities, positional information still provides useful structural cues for latent variable construction. Specifically, relative positions preserve the sequential order and local neighborhood relationships among tokens, offering structural guidance for grouping semantically related token-level signals into latent variables. To capture structural cues at different spatial scales, we adopt a multi-frequency Fourier representation to encode each position:
ϕ i = sin 2 π f i N , cos 2 π f i N f = 1 F ,
where F denotes the number of Fourier frequencies. Low-frequency components capture coarse global ordering, whereas high-frequency components preserve fine-grained local neighborhood relations, providing complementary structural information for latent-variable construction. We then map the Fourier representation into structural assignment logits:
s i str = F str ( ϕ i ) ,
where F str ( · ) is a learnable mapping function and s i str represents the structural assignment preference of position i over the K latent variables. Since positional structure should be adaptively injected according to the current token state, we introduce a content-adaptive gate
g i , t = σ F gate ( u i , t ) R K ,
to regulate their contribution. The final token-to-variable assignment weights are obtained by combining content-conditioned and gated structural assignment logits:
a i , t = Softmax s i , t con + g i , t s i str R K ,
where a i , t denotes the soft assignment distribution of token signal ( i , t ) over the K latent variables. In this way, token semantics and positional structure are jointly considered for token-to-variable assignment.
Preservation-Constrained Variable Construction. Given the token-to-variable assignment, we further construct the variable-indexed trajectory through assignment-weighted aggregation, transforming token-level representations into latent-variable representations. We first define the aggregation operator for latent variable k at denoising step t:
A k , t ( x t ) = i = 1 N a i , t , k x i , t i = 1 N a i , t , k + ϵ ,
where x t = { x i , t } i = 1 N denotes a generic token-indexed input to the aggregation operator instantiated as the joint token representation u t . Moreover, a i , t = [ a i , t , 1 , a i , t , 2 , , a i , t , K ] R K is the soft assignment distribution of token i over all latent variables at denoising step t, and a i , t , k denotes its k-th element. It measures the contribution of token-level input x i , t to the k-th latent variable, while ϵ is a small constant
for numerical stability. Using this operator, the latent variable k is written as z k , t = A k , t ( u t ) R d u , and the complete variable-indexed trajectory is Z = [ z k , t ] k = 1 , , K t = 0 , , T .
A potential concern with assignment-weighted aggregation is that it may smooth out local denoising dynamics that are informative for hallucination detection. We therefore introduce a trajectory-preservation constraint to retain these dynamics. Specifically, we project the uncertainty change of token i into the representation space: Δ H ^ i , t = Linear h ( H ^ i , t H ^ i , t 1 ) . Collecting all token-level variations gives Δ H ^ t = [ Δ H ^ 1 , t , , Δ H ^ N , t ] . We then aggregate the token-level variations into the latent-variable space: Δ Z k , t = A k , t ( Δ H ^ t ) . The latent-variable variations are subsequently projected back to the token level: Δ H ˜ i , t = k = 1 K a i , t , k Δ Z k , t . This aggregation and reconstruction process constrains the T2V assignment to preserve token-level denoising dynamics during variable construction.
To preserve both the magnitude and temporal direction of these dynamics, we decompose the preservation constraint into two complementary terms. The first term is the Amplitude Preservation Loss, which addresses amplitude smoothing, where token-to-variable aggregation weakens the magnitude of local uncertainty changes:
L a m p = E i , t | Δ H ^ i , t | | Δ H ˜ i , t | 2 .
By matching the magnitude of the reconstructed variation to that of the original token-level variation, L a m p encourages variable construction to retain the strength of local denoising dynamics. The second term is the Direction Consistency Loss, which addresses direction distortion, where the reconstructed variation may evolve in the opposite temporal direction:
L d i r = E i , t max 0 , Δ H ^ i , t Δ H ˜ i , t .
This penalty is activated when the original and reconstructed variations have opposite signs, thereby discouraging variable construction from reversing uncertainty trends. The final preservation constraint (with balance hyperparameters λ ) is defined as
L p r e s = λ a m p L a m p + λ d i r L d i r .

4.2. Dynamic Multivariate Temporal Modeling

With the latent-variable trajectory constructed by T2V, the remaining challenge is to model the temporal evolution with the evolving inter-variable dependency for hallucination detection. To this end, we propose Dynamic Multivariate Temporal Modeling (DMTM), which progressively integrates inter-variable dependency modeling with variable-wise temporal encoding for hallucination prediction.
Stage-Adaptive Inter-Variable Interaction. In D-LLM denoising trajectories, the dependencies among latent variables evolve throughout denoising and provide important relational evidence for hallucination detection. To model the dependencies, we aggregate cross-variable relational evidence through attention-based interaction. Specifically, we construct contextualized variable representation via:
C = Softmax Q K d V ,
where Q = Z W Q , K = Z W K , and V = Z W V denote the query, key, and value projections, respectively. The row-wise softmax normalizes the dependency scores for each latent variable across all variables, producing relation weights that specify how much information it should receive from the others at step t. Using these weights, each latent variable aggregates information from its related variables, adaptively capturing step-specific cross-variable dependencies during denoising.
While the above interaction captures step-specific dependencies, their reliability varies with the noise level at each denoising step. In the D-LLMs denoising process, larger t corresponds to earlier and noisier stages, where variable are less reliable and the estimated dependencies are more susceptible to spurious correlations. As t decreases, the variables gradually stabilize, making their relational patterns increasingly representative of the underlying semantic dependencies [19]. To calibrate cross-variable information fusion according to this reliability transition, we introduce a trajectory-reliability gate:
U = Z + ρ C , ρ = T t T ,
where ρ t increases as the trajectory approaches the final step, assigning limited fusion strength to noisy early-step relations while progressively strengthening information exchange among stabilized variables. By limiting interaction at noisy early stages and strengthening it as the variables stabilize, this design reduces the influence of spurious dependencies and emphasizes more reliable semantic relations.
Variable-Wise Temporal Dynamics Modeling. After incorporating stage-adaptive relational evidence into each latent variable, we further model how its dependency-enhanced state evolves throughout the denoising trajectory. To capture temporal evolution patterns, we first incorporate trajectory-order information into the dependency-enhanced variable states: U ¯ k = U k + e time , where e time denotes the temporal embedding of trajectory step t. For latent variable k, we then apply temporal self-attention to its complete trajectory:
R k = TemporalAttn U ¯ k .
Applying it to all variables yields the multivariate temporal representation R for hallucination prediction. Finally, the hallucination probability is predicted through a lightweight classifier: y ^ = MLP ( R ) .
Training Objective. The detector is trained with a classification objective together with the preservation constraint introduced in T2V. Given the ground-truth hallucination label y { 0 , 1 } and the predicted probability y ^ , we define the classification loss as the binary cross-entropy:
L c l s = E y log y ^ + ( 1 y ) log ( 1 y ^ ) .
The overall training objective is:
L = L c l s + L p r e s ,
which optimizes the detector for hallucination prediction while encouraging the learned variable trajectory to retain fine-grained token-level denoising dynamics. Algorithm 1 summarizes the procedure of DeMTS in Appendix B, with complexity analysis in Appendix C.

5. Experiments

5.1. Experimental Setup

Datasets. Our evaluation covers three complementary question-answering scenarios. TriviaQA [38] focuses on open-domain knowledge recall, HotpotQA [39] requires the integration of multiple factual clues, and CommonsenseQA [40] examines reasoning grounded in everyday knowledge. We collect responses and their complete denoising trajectories from two representative D-LLMs, LLaDA-8B-Instruct [1] and Dream-7B-Instruct [3], using step generation lengths of 64 and 128.
Baselines and Evaluation. We compare DeMTS with three categories of hallucination detectors: ❶ Output-based methods, including Perplexity [41], Length-Normalized Entropy (LN-Entropy) [42], Semantic Entropy [43], and Lexical Similarity [44]; ❷ Latent-based methods, including EigenScore [45], Contrast-Consistent Search (CCS) [46], and Truthfulness Separator Vector (TSV) [47]; ❸ Trajectory-based methods, including TraceDet [18] and DynHD [20]. We use AUROC as the evaluation metric. Hallucination labels are determined by Qwen3-8B [48,49] based on the question, answer, and generated response. Detailed descriptions of the baselines and implementation settings are provided in Appendix D.1 and Appendix D.2.

5.2. Experimental Results and Analysis

Performance Comparison.Table 1 presents the main comparison across two D-LLM backbones, three QA benchmarks, and two generation-length settings. We further analyze the experimental results from the perspectives of these three model categories: ❶ To examine whether final-output statistics are sufficient for D-LLMs hallucination detection, we compare DeMTS with output-level methods. DeMTS consistently outperforms output-based baselines across different settings. These results show that output-level evidence cannot adequately characterize hallucinations formed throughout iterative denoising, highlighting the necessity of exploiting denoising-process information. ❷ To evaluate the benefit of explicitly modeling the generation process over using static internal representations, we compare DeMTS with latent-based detectors. Although latent-based methods use richer model-side signals than output-level statistics, they still underperform DeMTS in most cases. This suggests that static representation signals are insufficient to capture the evolving temporal dependencies involved in hallucination formation. ❸ To verify whether preserving the multivariate structure of denoising trajectories provides additional detection evidence, we compare DeMTS with TraceDet and DynHD. DeMTS achieves the best overall performance across different settings. The consistent improvement supports our central motivation: jointly modeling variable-wise evolution and inter-variable interactions better captures abnormal temporal relations for hallucination detection.
Ablation Study. As shown in Table 2, removing any component consistently degrades performance on backbones, indicating the effectiveness of multivariate dynamics modeling. ❶ Replacing schedule-normalized signals with raw uncertainty trajectories leads to clear performance drops, suggesting that the schedule-induced global uncertainty trend can mask sample-specific abnormal dynamics. ❷ Using token positions as variables causes the most pronounced degradation, confirming that semantically unstable token positions do not provide reliable variable identities for time-series modeling. ❸ Removing either L a m p or L d i r weakens detection performance, demonstrating the importance of preserving fine-grained denoising dynamics during T2V assignment. We provide a sensitivity analysis of the loss hyperparameters in the Appendix D.3. ❹ Removing either inter-variable interaction or temporal evolution modeling also substantially weakens detection performance, showing that trajectory-level hallucination evidence depends on both variable-wise evolution and cross-variable dependency modeling. Comprehensive ablation studies are provided in Appendix D.4.
Robustness to the Number of Latent Variables. As shown in Figure 3a, we vary the number of latent variables K to examine the effect of variable resolution. A small K over-compresses token-level denoising signals, while a large K leads to fragmented and redundant variables. The results show that a moderate K better balances information preservation and variable stability.
Visualization of Learned Variables. To examine whether the Token-to-variable assignment (T2V) module constructs variables with stable identities, we visualize the assignment patterns across multiple samples in Figure 3b. Although token contents and semantic roles vary substantially across samples, each latent variable consistently aggregates token-level denoising signals with similar semantic or dynamic characteristics. This cross-sample consistency allows the learned latent variables to capture transferable trajectory patterns, thereby improving their generalization to unseen questions and generation contexts.
Cross-Task Generalization. To assess whether DeMTS captures transferable hallucination dynamics rather than dataset-specific semantic patterns, we train the detector on one benchmark and test it on the other benchmarks without further adaptation. As shown in Table 3, DeMTS achieves the highest average AUROC indicating that the stable latent variables constructed through T2V assignment, along with the modeling of temporal evolution and inter-variable interactions, capture transferable hallucination patterns.
Efficiency Analysis. We compare the inference time and AUROC of different methods to evaluate their practical efficiency as shown in Figure 4. DeMTS achieves the highest AUROC with the shortest runtime. These results show that DeMTS provides the best AUROC-efficiency trade-off by effectively exploiting multivariate denoising dynamics.

6. Conclusion

In this work, we investigated hallucination detection in D-LLMs from a multivariate time-series perspective. Unlike existing approaches that compress denoising trajectories along the temporal or variable dimension, we preserve their two-dimensional token-step structure to capture how hallucination-related uncertainty evolves and propagates throughout generation. Extensive experiments across multiple D-LLMs, benchmarks, and generation settings demonstrate that DeMTS exhibits strong effectiveness, cross-task generalization, robustness, and computational efficiency.

Appendix A. Extended Related Work

Appendix A.1. Hallucination Detection in D-LLMs

D-LLMs generate text through iterative denoising, which exposes intermediate predictions, uncertainty estimates, and hidden states before the final response is obtained [1,3,23]. This process provides trajectory-level evidence for hallucination detection, since factual errors may emerge during refinement rather than only in the final output [16]. Existing studies mainly explore this evidence from two perspectives.
The first line focuses on step-oriented evidence selection. TraceDet [18] formulates the denoising process as a decoding trace and selects informative sub-traces for hallucination prediction, showing that different denoising stages contribute unequally to detection. HIVE [25] further exploits hidden evidence from intermediate denoising states and uses selected evidence for verification. These methods demonstrate the value of intermediate states, but they mainly rely on selecting or compressing denoising stages.
The second line focuses on dynamics-oriented trajectory modeling. DynHD [20] models the evolution of uncertainty evidence and detects hallucinations by measuring deviations from expected denoising dynamics. TDGNet [24] constructs temporal dynamic graphs to capture evolving token-level relations during denoising. These methods reveal that hallucination cues can lie in dynamic uncertainty patterns and token interactions. However, they still do not fully preserve the complete token-by-step trajectory structure. In contrast, DeMTS models D-LLM denoising trajectories as multivariate time series, aiming to jointly capture token-wise temporal evolution and evolving inter-token dependencies for hallucination detection.

Appendix A.2. Multivariate Time-Series Modeling

Multivariate time-series modeling aims to capture temporal patterns across multiple variables and their dependencies [26,28,50]. Existing methods are often discussed according to how they model variable channels. Channel-independent methods, such as PatchTST [30], model each variable separately to preserve variable-specific temporal patterns and reduce interference from noisy correlations. Channel-dependent methods, such as Crossformer [22] and iTransformer [32], jointly model variables to capture cross-variable dependencies. More recent channel-partial methods, such as DUET [34], CrossGNN [51], and TimeFilter [21], allow each variable to interact with only relevant variables, balancing variable-specific modeling and dependency modeling.
These methods provide useful inspiration for modeling D-LLMs denoising trajectories [52,53,54,55], where denoising steps form the temporal axis and token signals form the raw variable axis. However, conventional multivariate time-series methods usually assume that each variable has a stable identity and meaning across samples and time. This assumption does not hold for D-LLMs, because token positions may correspond to different semantic roles across samples and may change during denoising. Therefore, directly treating token positions as variables can lead to unstable temporal patterns and unreliable dependencies. To address this issue, DeMTS first converts changing token signals into stable latent variables, and then models both their temporal evolution and stage-adaptive inter-variable interactions.

Appendix B. Algorithm

For completeness, we summarize the overall workflow and optimization procedure of the proposed framework in Algorithm 1, providing a concise overview of its implementation.
Algorithm 1: Overall Procedure of DeMTS
1:
Input: Token uncertainty trajectory H R T × N , contextual token embeddings { e i , t } , label y
2:
Output: Hallucination probability y ^ and objective L
3:
// Module 1: Trajectory-Preserving Token-to-Variable Assignment (T2V)
4:
Normalize token uncertainty H ^ via Eq. (2).
5:
for each denoising step t and token position i do
6:
   Compute uncertainty-semantic representation u i , t via Eq. (3).
7:
   Compute content assignment logits s i , t con via Eq. (4).
8:
   Compute positional representation ϕ i and structural logits s i str via Eqs. (5)–(6).
9:
   Compute gate g i , t and assignment weights a i , t via Eqs. (7)–(8).
10:
end for
11:
for each denoising step t and latent variable k do
12:
   Construct latent-variable state z k , t = A k , t ( u t ) via Eq. (9).
13:
end for
14:
Form latent-variable trajectory Z = { z k , t } k = 1 , t = 1 K , T .
15:
Compute preservation loss L p r e s via Eqs. (10)–(12).
16:
// Module 2: Dynamic Multivariate Temporal Modeling (DMTM)
17:
for each denoising step t do
18:
   Compute inter-variable interaction C t via Eq. (13).
19:
   Compute reliability-gated variable states U t via Eq. (14).
20:
end for
21:
for each latent variable k do
22:
   Encode variable-wise temporal dynamics R k via Eq. (15).
23:
end for
24:
Aggregate { R k } k = 1 K into R and predict y ^ = MLP ( R ) .
25:
Compute L c l s and the overall objective L via Eqs. (16)–(17).
return y ^ and L .

Appendix C. Computational Complexity

Let T, N, and K denote the numbers of denoising steps, token positions, and latent variables, respectively, and let d = d u denote the dimension of the token and latent-variable representations. Following the standard convention for attention complexity, we report the dominant assignment, aggregation, and pairwise interaction costs introduced by DeMTS, excluding the original D-LLM denoising process, token-wise transformations, and the lightweight classifier.
In T2V, SAUN normalizes the uncertainty distribution over all token positions at each denoising step, resulting in O ( T N ) complexity. The subsequent token-to-variable assignment computes the assignment weights a i , t , k , while assignment-weighted aggregation constructs the latent-variable states z k , t from the token representations. These operations require O ( T N K d ) computation. During training, the trajectory-preservation constraint aggregates the d-dimensional token-level variations Δ H ^ i , t into Δ Z k , t and reconstructs Δ H ˜ i , t , introducing an additional O ( T N K d ) cost. This constraint incurs no additional cost at inference.
In DMTM, SAIVI models interactions among K latent variables independently at each denoising step, resulting in a pairwise attention cost of O ( T K 2 d ) . VTDM performs temporal self-attention over T denoising steps for each latent variable, requiring O ( K T 2 d ) computation. Therefore, the overall inference-time complexity is
O T N K d + T K 2 d + K T 2 d .
During training, the trajectory-preservation constraint introduces an additional O ( T N K d ) term, which has the same asymptotic order as the token-to-variable assignment and aggregation.
The main efficiency advantage of DeMTS arises from conducting relational and temporal modeling in the compact latent-variable space. Applying analogous axial attention directly to the original token-indexed trajectory would model interactions among N token positions at each denoising step and temporal dependencies over T steps for each token position, requiring O ( T N 2 d + N T 2 d ) attention computation. In contrast, DeMTS first transforms the token-indexed trajectory into K latent-variable trajectories with an assignment and aggregation cost of O ( T N K d ) , and reduces the subsequent attention cost to O ( T K 2 d + K T 2 d ) . Since K < N in practice, this design reduces the quadratic relational cost from N 2 to K 2 and decreases the number of temporally modeled trajectories from N to K. Moreover, DeMTS directly reuses the uncertainty and contextual signals collected during denoising, requiring neither repeated generation nor additional forward passes through the D-LLM backbone.

Appendix D. Experiments

Appendix D.1. Baselines

We compare DeMTS with three categories of hallucination detectors, covering output-level signals, internal representations, and denoising-trajectory evidence.
Output-based methods. These methods assess hallucination risk using information derived from the generated responses, including model likelihood, token-level uncertainty, and consistency among sampled outputs. They serve as widely used baselines for evaluating whether final-output signals are sufficient for hallucination detection.
Perplexity [41] uses the likelihood of the generated response as a confidence signal, where responses with lower model likelihood are considered less reliable.
Length-Normalized Entropy (LN-Entropy) [42] estimates predictive uncertainty from token-level entropy and normalizes it by sequence length, reducing the bias caused by different output lengths.
Semantic Entropy [43] samples multiple responses, groups them according to semantic equivalence, and computes the entropy over semantic clusters to measure meaning-level uncertainty.
Lexical Similarity [44] measures the surface-level agreement among multiple sampled responses, where lower similarity indicates higher generation instability.
Table A1. Ablation study in AUROC (%) on two D-LLMs backbones.
Table A1. Ablation study in AUROC (%) on two D-LLMs backbones.
Ablation Variant TriviaQA HotpotQA CSQA
64 128 64 128 64 128
LLaDA-8B-Instruct
DeMTS 89.84 89.13 88.14 88.03 83.42 85.08
w/o SAUN 84.32 84.72 85.65 84.37 80.05 82.05
w/o T2V 81.78 87.40 78.60 75.65 81.15 74.04
w/o SAIVI 83.41 86.45 81.70 81.37 79.21 74.89
w/o VWTDM 83.58 86.54 87.97 84.20 78.57 76.18
w/o L a m p 86.59 86.97 79.97 79.85 81.53 77.53
w/o L d i r 82.17 85.43 80.82 77.61 80.07 76.92
Dream-7B-Instruct
DeMTS 87.74 88.89 88.16 84.63 86.95 87.86
w/o SAUN 81.07 82.90 79.50 79.04 83.07 86.67
w/o T2V 80.50 84.84 79.17 77.84 77.18 83.85
w/o SAIVI 77.95 86.11 79.87 72.77 81.38 83.01
w/o VWTDM 80.27 82.32 80.98 74.65 82.61 84.21
w/o L a m p 79.61 82.17 81.21 78.47 78.57 83.41
w/o L d i r 82.13 81.29 80.15 79.96 78.69 82.06
Latent-based methods. These methods exploit internal representations of LLMs to identify factuality-related signals beyond surface outputs. They are included to examine whether static hidden-state features are sufficient for detecting hallucinations in D-LLMs without explicitly modeling the denoising trajectory.
EigenScore [45] detects hallucinations by measuring the semantic consistency of internal representations, using the spectral structure of hidden-state covariance matrices.
Contrast-Consistent Search (CCS) [46] discovers truth-related directions in the activation space without direct supervision by enforcing consistency between contrastive statements.
Truthfulness Separator Vector (TSV) [47] learns a lightweight steering vector in the latent space to improve the separation between truthful and hallucinated responses.
Trajectory-based methods. These methods are specifically designed for D-LLMs and leverage intermediate information exposed during iterative denoising. They provide the most direct comparison to DeMTS, since they also use process-level evidence rather than relying only on final outputs or static representations.
TraceDet [18] is designed for D-LLMs and formulates the denoising process as a decoding trace. It selects hallucination-relevant sub-traces from intermediate denoising steps for final prediction.
DynHD [20] constructs semantic-aware uncertainty evidence and learns reference denoising dynamics for factual responses. Hallucinations are detected by measuring the deviation between observed evidence trajectories and the learned reference trajectories.

Appendix D.2. Implementation Details

We conduct experiments on TriviaQA, HotpotQA, and CommonsenseQA (show in Table A3) using LLaDA-8B-Instruct and Dream-7B-Instruct as D-LLM backbones. For each dataset, we sample 1,600 training examples and split an additional 400 examples into 200 validation and 200 test instances. The random seed is fixed to 42. The number of denoising steps is set to 64 or 128. At each denoising step, we record token-wise predictive entropy and token IDs.
Our detector uses a hidden dimension of 64 and constructs (K=32,48) latent variables from the denoising trajectory. It is trained with Cross Entropy and the trajectory-preservation loss. We use AdamW with a learning rate of 2 × 10 4 , weight decay of 0.1, and batch size of 8. Training lasts for at most 100 epochs and early stopping with a patience of 20. The checkpoint with the highest validation AUROC is selected for testing. AUROC is used as the primary evaluation metric. All experiments are implemented in PyTorch 2.6.0 and conducted on 4 NVIDIA L40 GPUs. All experimental hyperparameter settings are shown in Table A2.
Table A2. Hyperparameter settings of DeMTS.
Table A2. Hyperparameter settings of DeMTS.
Hyperparameter Value
Number of latent variables K 32, 48
Hidden dimension d 64
Fourier frequencies F 16
Cross-variable attention heads 2
Temporal attention heads 8
Dropout rate 0.05
Optimizer AdamW
Learning rate 2 × 10 4
Weight decay 0.1
Batch size 8
Maximum epochs 100
Early stopping patience 20
Trajectory preservation weight 0.1
Random seed 42
Table A3. Examples of factual and hallucinated responses from HotpotQA, TriviaQA, and CommonsenseQA. Correct responses are highlighted in blue, while hallucinated responses are highlighted in red.
Table A3. Examples of factual and hallucinated responses from HotpotQA, TriviaQA, and CommonsenseQA. Correct responses are highlighted in blue, while hallucinated responses are highlighted in red.
Dataset Type Question & Response
HotpotQA Factual Q: Professor A. Selvanathan is a professor at a university that is public or private?
R: The university is public.
Hallucination Q: Which French aristocrat and military officer who fought in the American Revolutionary War visited the historic home located at Enfield, Halifax County, North Carolina, known as The Cellar?
R:James Hogun visited The Cellar. The reference answer is Marquis de Lafayette.
TriviaQA Factual Q: What country has the largest Muslim population?
R: The country with the largest Muslim population is Indonesia.
Hallucination Q: Which supposedly non-lethal weapon was named by the inventor after his childhood hero “Tom Swift”?
R: The weapon was called the Tom Swifty Gun.
CommonsenseQA Factual Q: The townhouse was a hard sell for the realtor; it was right next to a high-rise what? Choices: (A) suburban development; (B) apartment building; (C) bus stop; (D) Michigan; (E) suburbs.
R:B. apartment building.
Hallucination Q: There is a star at the center of what group of celestial bodies? Choices: (A) Hollywood; (B) skyline; (C) outer space; (D) constellation; (E) solar system.
R:A. Hollywood. The correct answer is E. solar system.

Appendix D.3. Sensitivity Analysis of Trajectory Preservation Losses

We further analyze the sensitivity of the two trajectory-preservation losses, i.e., the amplitude consistency loss L a m p and the direction consistency loss L d i r . As shown in Figure A1, the detector maintains stable performance across a broad range of loss weights, indicating that the proposed trajectory-preservation objective is not overly sensitive to specific hyperparameter choices. When either loss is removed or assigned a very small weight, the performance decreases, suggesting that preserving only the classification objective is insufficient to retain fine-grained denoising dynamics during token-to-variable assignment. Meanwhile, excessively large weights also lead to performance degradation, since overly strong trajectory constraints may suppress discriminative feature learning for hallucination detection. Overall, the heatmaps show that L a m p and L d i r play complementary roles: L a m p helps preserve the magnitude of local uncertainty variations, while L d i r maintains the temporal direction of denoising evolution. Their joint use provides a stable and effective regularization scheme for constructing reliable variable-level trajectories.
Figure A1. Sensitivity analysis of the amplitude consistency loss L a m p and direction consistency loss L d i r .
Figure A1. Sensitivity analysis of the amplitude consistency loss L a m p and direction consistency loss L d i r .
Preprints 226721 g0a1

Appendix D.4. Complete Ablation Results

To provide a more comprehensive analysis of each component in DeMTS, we report the complete ablation results on both D-LLMs backbones in Table A1. The results exhibit consistent trends across different models, datasets, and generation-length settings, further verifying the robustness and generality of our design.
The complete ablation results further confirm the effectiveness of each component in DeMTS. Replacing schedule-normalized trajectories with raw uncertainty signals consistently reduces performance, showing the importance of suppressing schedule-induced global trends. Directly using token positions as variables also leads to clear degradation, verifying the necessity of constructing semantically stable latent variables before time-series modeling. Removing either L a m p or L d i r also weakens performance, indicating that both amplitude consistency and direction consistency contribute to preserving fine-grained denoising dynamics during token-to-variable assignment. Moreover, removing inter-variable interaction or temporal evolution modeling consistently degrades performance, demonstrating that DeMTS benefits from jointly preserving local denoising dynamics and modeling multivariate temporal dependencies.
Overall, the complete ablation results are consistent with the observations in the main paper. They demonstrate that the performance gain of DeMTS does not come from a single isolated component, but from the integration of schedule normalization, stable latent-variable construction, trajectory-preserving regularization, and dynamic multivariate temporal modeling.

Appendix E. Prompt Templates

Appendix E.1. D-LLM Response Generation

We design task-specific generation prompts according to the answer format and evidence setting of each benchmark. TriviaQA requires concise factual answers, HotpotQA requires responses grounded in the provided context, and CommonsenseQA requires selecting a single option without additional explanations. Across all datasets, the final answer is enclosed within <answer></answer> tags to enable consistent answer extraction and subsequent hallucination annotation. The complete prompt templates are provided below.
Preprints 226721 i002

Appendix E.2. Automatic Hallucination Annotation

For TriviaQA and HotpotQA, we use Qwen3-8B to automatically determine whether the generated response is hallucinated. For TriviaQA and HotpotQA, the judgment yes is mapped to label 1, indicating a hallucinated response, whereas no is mapped to label 0, indicating a non-hallucinated response. CommonsenseQA does not use the Qwen3-8B judge; its labels are obtained through rule-based matching of the predicted option or answer text.
Preprints 226721 i003
Preprints 226721 i004

References

  1. Nie, S.; Zhu, F.; You, Z.; Zhang, X.; Ou, J.; Hu, J.; Zhou, J.; Lin, Y.; Wen, J.R.; Li, C. Large language diffusion models. Adv. Neural Inf. Process. Syst. 2026, 38, 50608–50646. [Google Scholar] [CrossRef]
  2. Bie, T.; Cao, M.; Chen, K.; Du, L.; Gong, M.; Gong, Z.; Gu, Y.; Hu, J.; Huang, Z.; Lan, Z.; et al. Llada2. 0: Scaling up diffusion language models to 100b. arXiv 2025, arXiv:2512.15745. [Google Scholar]
  3. Ye, J.; Xie, Z.; Zheng, L.; Gao, J.; Wu, Z.; Jiang, X.; Li, Z.; Kong, L. Dream 7b: Diffusion large language models. arXiv 2025, arXiv:2508.15487. [Google Scholar]
  4. Mehri, S.; Sigal, L. Middle-out decoding. Adv. Neural Inf. Process. Syst. 2018, 31. [Google Scholar]
  5. Gu, J.; Liu, Q.; Cho, K. Insertion-based decoding with automatically inferred generation order. Trans. Assoc. Comput. Linguist. 2019, 7, 661–676. [Google Scholar] [CrossRef]
  6. Ghazvininejad, M.; Levy, O.; Liu, Y.; Zettlemoyer, L. Mask-predict: Parallel decoding of conditional masked language models. In Proceedings of the Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), 2019; pp. 6112–6121. [Google Scholar]
  7. Bang, Y.; Ji, Z.; Schelten, A.; Hartshorn, A.; Fowler, T.; Zhang, C.; Cancedda, N.; Fung, P. Hallulens: Llm hallucination benchmark. Proceedings of the Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics 2025, Volume 1, 24128–24156. [Google Scholar] [CrossRef]
  8. Kalai, A.T.; Nachum, O.; Vempala, S.S.; Zhang, E. Why language models hallucinate. arXiv 2025, arXiv:2509.04664. [Google Scholar]
  9. Shoby, A.; Huy, T.D.; Nguyen, T.D.; Ho, M.K.; Chen, Q.; van den Hengel, A.; Le Nguyen, P.; Verjans, J.W.; Phan, V.M.H. Overthinking Causes Hallucination: Tracing Confounder Propagation in Vision Language Models. In Proceedings of the Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2026; pp. 9185–9194. [Google Scholar]
  10. Badave, H.; Borse, S.; Gomez, A.; Narahari, H.; Carter, S.; Bhatt, V.; Rachakonda, A.; Lin, S.; Patel, D. Beyond Final Answers: Auditing Trajectory-Level Hallucinations in Multi-Agent Industrial Workflows. arXiv 2026, arXiv:2605.24219. [Google Scholar]
  11. Bhatnagar, R.; Sun, Y.; Zhang, C.A.; Wen, Y.; Yang, H. DRIFT: Detecting Representational Inconsistencies for Factual Truthfulness. arXiv E-Prints 2026, arXiv–2601. [Google Scholar]
  12. Lu, R.; Wang, R.; Lyu, K.; Jiang, X.; Huang, G.; Wang, M. Towards understanding text hallucination of diffusion models via local generation bias. In Proceedings of the The Thirteenth International Conference on Learning Representations, 2025. [Google Scholar]
  13. Ji, Y.; Wang, T.; Ge, Y.; Liu, Z.; Yang, S.; Shan, Y.; Luo, P. From Denoising to Refining: A Corrective Framework for Vision-Language Diffusion Model. arXiv 2025, arXiv:2510.19871. [Google Scholar]
  14. Chen, B.; Fan, Z.; Wang, K.; Leng, Z.; Wu, F.; Zheng, H.; Sun, Y.; Wu, W. HalluSAE: Detecting Hallucinations in Large Language Models via Sparse Auto-Encoders. arXiv 2026, arXiv:2604.16430. [Google Scholar]
  15. Zhang, Z.; Hu, X.; Zhang, H.; Zhang, J.; Wan, X. ICR probe: Tracking hidden state dynamics for reliable hallucination detection in LLMs. Proceedings of the Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics 2025, Volume 1, 17986–18002. [Google Scholar] [CrossRef]
  16. Guo, Z.; Tan, F. Lost in Diffusion: Uncovering Hallucination Patterns and Failure Modes in Diffusion Large Language Models. arXiv 2026, arXiv:2604.10556. [Google Scholar]
  17. Qiu, X.; Cheng, H.; Wu, X.; Lu, J.; Hu, J.; Guo, C.; Jensen, C.S.; Yang, B. A comprehensive survey of deep learning for multivariate time series forecasting: A channel strategy perspective. arXiv 2025, arXiv:2502.10721. [Google Scholar]
  18. Chang, S.; Yu, J.; Wang, W.; Chen, Y.; Yu, J.; Torr, P.; Gu, J. TraceDet: Hallucination Detection from the Decoding Trace of Diffusion Large Language Models. arXiv 2025, arXiv:2510.01274. [Google Scholar]
  19. Weng, P.; Qian, Y.; Tan, Y.; Liu, Y. TRE: Training-Free Hallucination Detection for Diffusion Language Models. 2026. [Google Scholar] [CrossRef]
  20. Qian, Y.; Tan, Y.; Liu, Y.; Yu, W.; Pan, S. Dynhd: Hallucination detection for diffusion large language models via denoising dynamics deviation learning. arXiv 2026, arXiv:2603.16459. [Google Scholar]
  21. Hu, Y.; Zhang, G.; Liu, P.; Lan, D.; Li, N.; Cheng, D.; Dai, T.; Xia, S.T.; Pan, S. TimeFilter: Patch-specific spatial-temporal graph filtration for time series forecasting. arXiv 2025, arXiv:2501.13041. [Google Scholar]
  22. Zhang, Y.; Yan, J. Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting. In Proceedings of the The eleventh international conference on learning representations, 2023. [Google Scholar]
  23. Yang, L.; Zhang, Z.; Song, Y.; Hong, S.; Xu, R.; Zhao, Y.; Zhang, W.; Cui, B.; Yang, M.H. Diffusion models: A comprehensive survey of methods and applications. ACM Comput. Surv. 2023, 56, 1–39. [Google Scholar] [CrossRef]
  24. Hemmat, A.; Torr, P.; Chen, Y.; Yu, J. TDGNet: Hallucination Detection in Diffusion Language Models via Temporal Dynamic Graphs. arXiv 2026, arXiv:2602.08048. [Google Scholar]
  25. Zhao, G.; Zhao, W.; Yu, T. HIVE: Hidden-Evidence Verification for Hallucination Detection in Diffusion Large Language Models. arXiv 2026, arXiv:2604.26139. [Google Scholar]
  26. Lin, S.; Lin, W.; Wu, W.; Zhao, F.; Mo, R.; Zhang, H. Segrnn: Segment recurrent neural network for long-term time series forecasting. IEEE Internet of Things Journal, 2025. [Google Scholar]
  27. Zhang, X.; Xu, C.; Li, H.; Huang, Y.; Xu, Q.; Liang, Y.; Liu, C.; Jin, M.; Wen, Q.; Wang, P.; et al. A Survey on Data Generation for Time Series: Taxonomy, Review and Prospects. 2026. [Google Scholar] [CrossRef]
  28. Nguyen, T.T.; Jin, M.; Pham, T.; Pan, S.; Nguyen, Q.V.H. Mamba for Time Series Analysis: A Contemporary Survey. 2026. [Google Scholar] [CrossRef]
  29. Zeng, A.; Chen, M.; Zhang, L.; Xu, Q. Are transformers effective for time series forecasting? Proc. Proc. AAAI Conf. Artif. Intell. 2023, Vol. 37, 11121–11128. [Google Scholar] [CrossRef]
  30. Nie, Y.; Nguyen, N.H.; Sinthong, P.; Kalagnanam, J. A time series is worth 64 words: Long-term forecasting with transformers. arXiv 2022, arXiv:2211.14730. [Google Scholar]
  31. Shen, X.; Liu, Y.; Wang, Y.; Miao, R.; Dai, Y.; Pan, S.; Chang, Y.; Wang, X. Raising the bar in graph ood generalization: Invariant learning beyond explicit environment modeling. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2026. [Google Scholar]
  32. Liu, Y.; Hu, T.; Zhang, H.; Wu, H.; Wang, S.; Ma, L.; Long, M. itransformer: Inverted transformers are effective for time series forecasting. Proc. Int. Conf. Learn. Represent. 2024, Vol. 2024, 11116–11140. [Google Scholar]
  33. Zhao, Y.; Liu, Y.; Chen, Q.; Li, S.; Tan, Y.; Pan, S. FedCIGAR: A Personalized Reconstruction Approach for Federated Graph-level Anomaly Detection. In Proceedings of the International Joint Conference on Artificial Intelligence, 2026. [Google Scholar]
  34. Qiu, X.; Wu, X.; Lin, Y.; Guo, C.; Hu, J.; Yang, B. Duet: Dual clustering enhanced multivariate time series forecasting. Proceedings of the Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining 2025, V. 1, 1185–1196. [Google Scholar] [CrossRef]
  35. Zhao, K.; Guo, C.; Cheng, Y.; Han, P.; Zhang, M.; Yang, B. Multiple time series forecasting with dynamic graph modeling. Proc. VLDB Endow. 2023, 17, 753–765. [Google Scholar] [CrossRef]
  36. Yang, Y.; Zhu, Q.; Chen, J. Vcformer: Variable correlation transformer with inherent lagged correlation for multivariate time series forecasting. arXiv 2024, arXiv:2405.11470. [Google Scholar]
  37. Lin, S.; Chen, H.; Wu, H.; Qiu, C.; Lin, W. Temporal query network for efficient multivariate time series forecasting. arXiv 2025, arXiv:2505.12917. [Google Scholar]
  38. Joshi, M.; Choi, E.; Weld, D.S.; Zettlemoyer, L. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. Proceedings of the Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics 2017, Volume 1, 1601–1611. [Google Scholar]
  39. Yang, Z.; Qi, P.; Zhang, S.; Bengio, Y.; Cohen, W.; Salakhutdinov, R.; Manning, C.D. HotpotQA: A dataset for diverse, explainable multi-hop question answering. In Proceedings of the Proceedings of the 2018 conference on empirical methods in natural language processing, 2018; pp. 2369–2380. [Google Scholar]
  40. Talmor, A.; Herzig, J.; Lourie, N.; Berant, J. Commonsenseqa: A question answering challenge targeting commonsense knowledge. Proceedings of the Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies 2019, Volume 1, 4149–4158. [Google Scholar] [CrossRef]
  41. Ren, J.; Luo, J.; Zhao, Y.; Krishna, K.; Saleh, M.; Lakshminarayanan, B.; Liu, P.J. Out-of-distribution detection and selective generation for conditional language models. arXiv 2022, arXiv:2209.15558. [Google Scholar]
  42. Malinin, A.; Gales, M. Uncertainty estimation in autoregressive structured prediction. arXiv 2020, arXiv:2002.07650. [Google Scholar]
  43. Kuhn, L.; Gal, Y.; Farquhar, S. Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation. arXiv 2023, arXiv:2302.09664. [Google Scholar]
  44. Lin, Z.; Trivedi, S.; Sun, J. Generating with confidence: Uncertainty quantification for black-box large language models, 2024. Available online: https://arxiv.
  45. Chen, C.; Liu, K.; Chen, Z.; Gu, Y.; Wu, Y.; Tao, M.; Fu, Z.; Ye, J. INSIDE: LLMs’ internal states retain the power of hallucination detection. Proc. Int. Conf. Learn. Represent. 2024, Vol. 2024, 3056–3076. [Google Scholar]
  46. Burns, C.; Ye, H.; Klein, D.; Steinhardt, J. Discovering latent knowledge in language models without supervision. arXiv 2022, arXiv:2212.03827. [Google Scholar]
  47. Park, S.; Du, X.; Yeh, M.H.; Wang, H.; Li, Y. Steer llm latents for hallucination detection. arXiv 2025, arXiv:2503.01917. [Google Scholar]
  48. Yang, A.; Li, A.; Yang, B.; Zhang, B.; Hui, B.; Zheng, B.; Yu, B.; Gao, C.; Huang, C.; Lv, C.; et al. Qwen3 technical report. arXiv 2025, arXiv:2505.09388. [Google Scholar]
  49. Gu, J.; Jiang, X.; Shi, Z.; Tan, H.; Zhai, X.; Xu, C.; Li, W.; Shen, Y.; Ma, S.; Liu, H.; et al. A survey on llm-as-a-judge. The Innovation 2026, 7. [Google Scholar] [CrossRef] [PubMed]
  50. Li, S.; Zhao, Y.; Tan, Y.; Chen, Q.; Liu, Y.; Pan, S. Towards Anomaly Detection on Relational Data. arXiv 2026, arXiv:2606.18621. [Google Scholar]
  51. Huang, Q.; Shen, L.; Zhang, R.; Ding, S.; Wang, B.; Zhou, Z.; Wang, Y. Crossgnn: Confronting noisy multivariate time series via cross interaction refinement. Adv. Neural Inf. Process. Syst. 2023, 36, 46885–46902. [Google Scholar] [CrossRef]
  52. Chen, B.; Wongso, W.; Hu, X.; Tan, Y.; Salim, F. Multi-Stage Verification-Centric Framework for Mitigating Hallucination in Multi-Modal RAG. arXiv 2025, arXiv:2507.20136. [Google Scholar]
  53. Tan, Y.; Long, G.; Jiang, J.; Zhang, C. Influence-oriented personalized federated learning. arXiv 2024, arXiv:2410.03315. [Google Scholar]
  54. Pan, J.; Liu, Y.; Miao, R.; Ding, K.; Zheng, Y.; Nguyen, Q.V.H.; Liew, A.W.C.; Pan, S. Explainable and Fine-Grained Safeguarding of LLM Multi-Agent Systems via Bi-Level Graph Anomaly Detection. In Proceedings of the Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics, 2026. [Google Scholar]
  55. He, X.; Wang, Y.; Dai, Y.; Wang, X. Dual Mamba for Node-Specific Representation Learning: Tackling Over-Smoothing with Selective State Space Modeling. Proc. Proc. AAAI Conf. Artif. Intell. 2026, Vol. 40, 21672–21680. [Google Scholar] [CrossRef]
Figure 1. Observed patterns in denoising trajectories.
Figure 1. Observed patterns in denoising trajectories.
Preprints 226721 g001
Figure 2. Overview of DeMTS, which transforms token-level denoising signals into latent variables and jointly models their temporal evolution and inter-variable interactions for hallucination detection.
Figure 2. Overview of DeMTS, which transforms token-level denoising signals into latent variables and jointly models their temporal evolution and inter-variable interactions for hallucination detection.
Preprints 226721 g002
Figure 3. Latent-variable analysis. Left: performance sensitivity to the number of latent variables (K). Right: visualization of learned variable assignments across different samples.
Figure 3. Latent-variable analysis. Left: performance sensitivity to the number of latent variables (K). Right: visualization of learned variable assignments across different samples.
Preprints 226721 g003
Figure 4. Average inference time and AUROC of different methods for comprehensive performance evaluation.
Figure 4. Average inference time and AUROC of different methods for comprehensive performance evaluation.
Preprints 226721 g004
Table 1. AUROC (%) comparison of hallucination detection methods on two D-LLMs across three QA datasets. The highest score is bolded, and the second-highest score is underlined.
Table 1. AUROC (%) comparison of hallucination detection methods on two D-LLMs across three QA datasets. The highest score is bolded, and the second-highest score is underlined.
Model Method TriviaQA HotpotQA CSQA Avg.
64 128 64 128 64 128
LLaDA-8B-Instruct Output-based
Methods
Perplexity 47.6 50.4 51.2 49.3 65.0 65.6 54.9
LN-Entropy 53.5 54.6 54.7 54.8 64.4 64.6 57.8
Semantic Entropy 67.3 68.9 53.8 57.6 43.9 44.1 55.9
Lexical Similarity 59.0 62.5 57.1 64.2 60.7 57.3 60.1
Latent-based
Methods
EigenScore 66.9 69.2 59.2 64.7 60.6 58.5 63.2
CCS 54.2 57.1 55.8 57.6 58.5 50.5 55.6
TSV 61.1 60.2 59.4 65.0 55.2 52.9 59.0
Trajectory-based
Methods
TraceDet 74.1 73.9 63.7 66.1 77.1 77.2 72.0
DynHD 86.1 86.7 85.3 84.2 81.3 81.6 84.2
DeMTS 89.8 89.1 88.1 88.0 83.4 85.1 87.3
Dream-7B-Instruct Output-based
Methods
Semantic Entropy 72.5 73.7 67.7 62.7 48.6 51.4 62.8
Lexical Similarity 64.0 58.3 62.7 59.7 76.9 77.3 66.5
Latent-based
Methods
EigenScore 69.1 66.0 67.0 62.5 77.5 76.9 69.8
CCS 50.3 56.9 58.2 51.7 53.2 54.2 54.1
TSV 74.7 75.6 63.0 58.7 56.8 62.3 65.2
Trajectory-based
Methods
TraceDet 86.7 78.1 76.0 75.1 84.1 84.7 80.8
DynHD 84.4 87.3 85.6 80.1 84.6 83.5 84.3
DeMTS 87.7 88.9 88.2 84.6 86.9 87.9 87.4
Table 2. Ablation study on LLaDA-8B-Instruct.
Table 2. Ablation study on LLaDA-8B-Instruct.
Ablation Variant TriviaQA HotpotQA CSQA Avg.
64 128 64 128 64 128
DeMTS 89.84 89.13 88.14 88.03 83.42 85.08 87.27
w/o SAUN 84.32 84.72 85.65 84.37 80.05 82.05 83.53
w/o T2V 81.78 87.40 78.60 75.65 81.15 74.04 79.77
w/o SAIVI 83.41 86.45 81.70 81.37 79.21 74.89 81.17
w/o VWTDM 83.58 86.54 87.97 84.20 78.57 76.18 82.84
w/o L a m p 86.59 86.97 79.97 79.85 81.53 77.53 82.07
w/o L d i r 82.17 85.43 80.82 77.61 80.07 76.92 80.50
Table 3. Zero-shot cross-task generalization in AUROC (%).
Table 3. Zero-shot cross-task generalization in AUROC (%).
Category Method TriviaQA HotpotQA CSQA Avg.
H-QA CSQA T-QA CSQA T-QA H-QA
Latent-based
Methods
CCS 50.1 54.5 51.8 54.0 54.2 56.6 53.5
TSV 58.5 65.3 65.5 59.1 56.2 63.2 61.3
Trajectory-based
Methods
TraceDet 73.1 61.5 57.4 65.0 74.8 66.2 66.3
DynHD 85.5 68.7 73.3 64.9 73.6 71.4 72.9
DeMTS 82.2 70.2 74.1 65.8 74.8 73.6 73.5
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings