---
title: NNS Drift-Decay Test in Complex Langevin Dynamics
url: https://www.emergentmind.com/topics/nagata-nishimura-shimasaki-drift-decay-test
type: topic
---

# NNS Drift-Decay Test in Complex Langevin Dynamics

Searching arXiv for the original Nagata–Nishimura–Shimasaki drift criterion papers and related complex Langevin diagnostics.
The Nagata–Nishimura–Shimasaki drift-decay test is a correctness criterion for complex Langevin dynamics (CLD) that evaluates whether the probability distribution of the drift magnitude is sufficiently suppressed at large values to support the formal justification of the stochastic process. In the formulation used for the three-dimensional XY model at finite chemical potential, the test is implemented by measuring the distribution \(P(u)\) of the lattice-wide maximal local drift magnitude \(u\) along the Langevin history and checking whether its tail decays at least exponentially [2509.13314]. The criterion is motivated by the fact that, for complex actions, CLD can remain numerically stable yet still converge to an incorrect distribution if the integration-by-parts steps underlying the Fokker–Planck argument fail. The original criterion is attributed to Nagata, Nishimura, and Shimasaki, and is cited in later work as an established practical diagnostic for CLD correctness [2509.13314].

## 1. Definition within complex Langevin dynamics

Complex Langevin dynamics evolves complexified fields in a fictitious Langevin time \(\theta\). For a field \(\phi_x\), the Langevin equation is written as
\[
\frac{\partial \phi_{x}(\theta)}{\partial \theta} = - \frac{\delta S[\phi; \theta]}{\delta \phi_{x}(\theta)} + \eta_x(\theta),
\]
with Gaussian noise \(\eta_x(\theta)\) [2509.13314]. When the action is complex, the field is complexified as
\[
\phi \to \phi^{\rm R} + i \phi^{\rm I},
\]
and the evolution becomes a coupled stochastic process for the real and imaginary parts. In the notation reproduced in the 3D XY-model study,
\[
\frac{\partial \phi_{x}^{\rm R}}{\partial \theta} = K_{x}^{\rm R} + \sqrt{N_{\rm R}} \eta^{\rm R}_{x}, \qquad
K_{x}^{\rm R} = - \mbox{Re} \frac{\delta S}{\delta \phi_{x}} \Big|_{\phi \to \phi^{\rm R} + i \phi^{\rm I}},
\]
\[
\frac{\partial \phi_{x}^{\rm I}}{\partial \theta} = K_{x}^{\rm I} + \sqrt{N_{\rm I}} \eta^{\rm I}_x, \qquad
K_{x}^{\rm I}  = - \mbox{Im} \frac{\delta S}{\delta \phi_{x}} \Big|_{\phi \to \phi^{\rm R} + i \phi^{\rm I}} .
\]
The drift components \(K_x^{\rm R}\) and \(K_x^{\rm I}\) are therefore the basic quantities entering the test [2509.13314].

The need for a separate reliability diagnostic arises because the standard arguments that ensure correct convergence for real actions do not automatically extend to complex actions. The formal derivation relies on holomorphicity and, crucially, on integration by parts without boundary contributions. The drift-decay test is designed to detect whether the stochastic process explores regions of the complexified configuration space where those assumptions are likely to break down [2509.13314].

## 2. Mathematical content of the drift-decay criterion

In the implementation described for the 3D XY model, the drift magnitude variable is defined as
\[
u \equiv \max_{x \in \Lambda} \sqrt{ \bigl(K_x^{R}\bigr)^{2} + \bigl(K_x^{I}\bigr)^{2} } .
\]
This is the lattice-wide maximal local drift magnitude extracted from a given Langevin configuration [2509.13314]. The probability distribution \(P(u)\) is then measured from the Langevin-time history.

The Nagata–Nishimura–Shimasaki criterion is the asymptotic condition
\[
P(u) \lesssim e^{- c u} \qquad (u \to \infty,\; c>0).
\]
Accordingly, the tail of the drift distribution must decay at least exponentially for large \(u\). A slower decay, such as a power law, is interpreted as a violation of the criterion and as a signal that the simulation may be converging to an incorrect distribution [2509.13314].

In practical terms, the procedure consists of defining the drift components, forming the maximal magnitude \(u\), histogramming \(u\) over the Langevin history to obtain \(P(u)\), and inspecting the large-\(u\) tail. This is not presented merely as an empirical rule. The criterion is explicitly linked to the validity of integration by parts in the derivation of the Fokker–Planck equation and hence to the correctness of the stochastic evolution [2509.13314].

A plausible implication is that the test should be understood as a reliability condition on the sampled distribution rather than as a diagnostic of ordinary numerical instability. The later XY-model study emphasizes precisely this distinction: CLD can converge incorrectly even when no obvious instability is present [2509.13314].

## 3. Drift structure in the 3D XY model

The 3D XY-model application provides a concrete realization of the test. The model is defined by
\[
S = - \beta \sum_{x} \sum_{\nu = 0}^{2} \cos \big(\phi_{x} - \phi_{x + \hat{\nu}} - i \mu \delta_{\nu, 0} \big),
\]
on a 3D cubic lattice with temporal direction \(\nu=0\) and spatial directions \(\nu=1,2\) [2509.13314].

After complexification, the real and imaginary drift components are written explicitly as
\[
K^{R}_x = - \beta \sum_{\nu} \Big[ \sin(\phi_x^{R} - \phi_{x + \hat{\nu}}^{R}) \cosh(\phi_{x}^{I} - \phi_{x + \hat{\nu}}^{I} - \mu \delta_{\nu, 0})
+ \sin(\phi_{x}^{R} - \phi_{x - \hat{\nu}}^{R}) \cosh(\phi_{x}^{I} - \phi_{x - \hat{\nu}}^{I} + \mu \delta_{\nu, 0}) \Big],
\]
\[
K^{I}_x = - \beta \sum_{\nu} \Big[ \cos(\phi_{x}^{R} - \phi_{x + \hat{\nu}}^{R}) \sinh(\phi_{x}^{I} - \phi_{x + \hat{\nu}}^{I} - \mu \delta_{\nu, 0})
+ \cos(\phi_{x}^{R} - \phi_{x - \hat{\nu}}^{R}) \sinh(\phi_{x}^{I} - \phi_{x - \hat{\nu}}^{I} + \mu\delta_{\nu, 0}) \Big].
\]
These expressions make clear why large drifts are diagnostically important: the \(\cosh\) and \(\sinh\) factors are unbounded when \(\phi^{\rm I}\neq 0\). The paper explicitly states that “the drift terms become unbounded when \(\phi^{\rm I} \neq 0\)” [2509.13314].

This structure ties the test directly to the geometry of the complexified field space. Large imaginary excursions can generate large drifts, and a heavy-tailed \(P(u)\) indicates that such excursions are not being sufficiently suppressed. That connection is central to the interpretation of the test as a proxy for whether the formal CLD justification remains plausible [2509.13314].

## 4. Numerical implementation and operational workflow

The 3D XY-model study uses Euler-discretized Langevin evolution with adaptive step size,
\[
\phi_{x}^{R}(n + 1) = \phi_{x}^{R}(n) + \epsilon_{n}K_{x}^{R}(n) + \sqrt{\epsilon_{n}} \eta_{x}(n),
\]
\[
\phi_{x}^{I}(n + 1) = \phi_{x}^{I}(n) + \epsilon_{n} K_{x}^{I}(n),
\]
with real noise satisfying
\[
\langle \eta_x(n)\eta_{x'}(n') \rangle = 2 \delta_{xx'} \delta_{nn'}.
\]
To stabilize the evolution, the adaptive step size is
\[
\epsilon_{n} = \min \left\{\bar{\epsilon}, \bar{\epsilon} \frac{\langle K^{\rm max} \rangle}{K^{\rm max}_n}\right\},
\]
where
\[
K^{\rm max}_n =  \max_x \left| K^{R}_x(n) + i K^{I}_x(n)\right|.
\]
The adaptive integrator and the drift-decay test are thus closely connected, since both are organized around the magnitude of the drift [2509.13314].

For the explicit XY-model study, the simulations are carried out on an \(8^3\) lattice with cold starts \(\phi^{R}=\phi^{I}=0\), \(10^5\) thermalization steps, \(5\times 10^5\) Langevin updates, measurements every 100 steps, and target adaptive step size \(\bar\epsilon=10^{-4}\). The couplings studied are
\[
\beta = 0.2, 0.3, 0.4, 0.5, 0.6, 0.7,
\]
spanning both sides of the \(\mu=0\) critical point
\[
\beta_c \simeq 0.45421.
\]
The study examines both imaginary chemical potential, \(\mu^2<0\), where the action is real, and real chemical potential, \(\mu^2>0\), where CLD is required [2509.13314].

This suggests an operational characterization of the test: it is not an abstract theorem-check but a histogram-based diagnostic embedded directly in the production workflow of a CLD simulation.

## 5. Empirical behavior in the 3D XY model

The principal numerical result reported for the drift-decay test is sharply dichotomous. For \(\mu^2 \le 0\), the drift distributions exhibit clear exponential fall-off. For \(\mu^2 > 0\), the distributions do not decay exponentially in the explored parameter sets and are described instead as having power-law tails [2509.13314]. The figure captions summarize this as: “The fall-off is exponential for \(\mu^2 \leq 0\) and power-law for \(\mu^2 > 0\)” [2509.13314].

The paper interprets the \(\mu^2 \le 0\) behavior as consistent with correct convergence, while the \(\mu^2 > 0\) behavior is taken to signal violation of the drift criterion and possible convergence to incorrect distributions despite the absence of obvious numerical instabilities [2509.13314]. In this application, the test is therefore highly discriminating between the real-action and complex-action regimes.

At the same time, observable-based diagnostics yield a more differentiated picture. The real part of the action density \(\langle S\rangle/\Omega\), plotted as a function of \(\mu^2\), is smooth across \(\mu^2=0\) at large \(\beta\), but develops a discontinuity across \(\mu^2=0\) at smaller \(\beta\). This is summarized as CLD succeeding in the ordered phase at large \(\beta\) and failing systematically for \(\beta \lesssim 0.5\) in the disordered phase [2509.13314]. By contrast, the drift-decay criterion appears to flag all explored \(\mu^2>0\) cases as suspect.

A plausible implication is that, in this study, the drift-decay test behaves as a stricter or more conservative diagnostic than the action-density continuity check. The paper does not formally label it “conservative,” but that interpretation follows from the juxtaposition of the two diagnostics [2509.13314].

## 6. Relation to other diagnostics and interpretive limits

A major contribution of the 2025 XY-model study is its comparison of the Nagata–Nishimura–Shimasaki test with a configurational temperature, or configurational coupling, estimator \(\beta_M\). The paper reports that for \(\mu^2<0\), \(\beta_M\) closely tracks the input \(\beta\), whereas for \(\mu^2>0\), \(\beta_M\) deviates from \(\beta\), indicating thermodynamic inconsistency and suggesting convergence to an incorrect distribution [2509.13314]. No excursion problems were observed, so the mismatch is interpreted as wrong-ensemble sampling rather than runaway instability.

The two diagnostics are described as “complementary,” and the discussion states that both the drift-decay test and the configurational coupling estimator “flag the same regions of failure” [2509.13314]. The difference lies in interpretive frame. The drift-decay test is mathematically motivated through the tail behavior of the drift and the validity of integration by parts, whereas the configurational estimator is “directly tied to physical observables” and rooted in “thermodynamic consistency” [2509.13314].

The paper also attributes additional scope to the configurational estimator, stating that it can detect mis-scaled noise, step-size artifacts, and thermalization issues, and citing earlier work for the claim that it can identify algorithmic issues early in regions where the drift criterion may fail to signal problems [2509.13314]. Within the XY-model paper itself, however, the concrete comparison is mainly that the NNS test offers a mathematically crisp tail classification while \(\beta_M\) provides a more physically transparent account of how the sampled distribution is wrong.

The interpretive limits of the drift-decay test are stated with some care. The paper treats the exponential-decay condition as necessary for the standard formal justification of CLD because it supports the required integration-by-parts step. It does not, however, claim a full theorem of sufficiency for correct convergence in all practical settings. It also explicitly presents the test as incomplete on its own, which is one of the main motivations for introducing an additional physics-based diagnostic [2509.13314].

## 7. Context, scope, and common confusions

The original NNS works cited in the 3D XY-model study are Nagata, Nishimura, and Shimasaki, *Phys. Rev. D* 94 (2016) 114515 and *JHEP* 05 (2018) 004, summarized there as establishing the drift-tail criterion that the distribution of the drift magnitude must decay at least exponentially [2509.13314]. The later study does not revisit the original derivations in detail; instead, it adopts the criterion as an established practical tool.

Within the XY-model application, the test also helps separate CLD failure from sign-problem severity. For small \(\mu\), the strong-coupling expansion gives
\[
\frac{\langle S \rangle}{\Omega} = - \tfrac{3}{2}\beta^2 - \tfrac{21}{16}\beta^4 + \mathcal{O}(\beta^6),
\]
with numerical values
\[
\frac{\langle S \rangle}{\Omega} = -0.0621 + \mathcal{O}(10^{-4}) \quad \text{for } \beta = 0.2,
\]
\[
\frac{\langle S \rangle}{\Omega} = -0.1450 + \mathcal{O}(10^{-3}) \quad \text{for } \beta = 0.3.
\]
For the phase factor at \(\mu^2=0.1\), \(\beta=0.2\), the study estimates
\[
\Omega \Delta f \approx 0.51, \qquad \langle e^{i \varphi} \rangle_{\rm pq}\approx 0.60.
\]
These values are used to argue that the sign problem is only mild in that regime, even though CLD still fails in the disordered phase [2509.13314]. The drift-decay test is therefore interpreted as diagnosing a problem in the CLD sampling process itself rather than merely reflecting a severe sign problem.

A common confusion arises from the word “drift.” In the present context, “drift” refers to the deterministic part of the complex Langevin evolution generated by the complexified action derivative. It is unrelated to the \(R\times B\) drift effect used in charged-particle momentum spectroscopy, such as in NoMoS, which concerns guiding-center motion in curved magnetic fields and does not discuss any procedure called the Nagata–Nishimura–Shimasaki drift-decay test [1906.04511]. The two uses of the term belong to different technical domains.

Taken in its modern usage, the Nagata–Nishimura–Shimasaki drift-decay test is best understood as a mathematically motivated reliability criterion for CLD that probes whether large-drift excursions are sufficiently suppressed. In the 3D XY model, it robustly distinguishes real-action from complex-action regimes, aligns broadly with a thermodynamic consistency diagnostic, and supports the broader conclusion that CLD can fail even when the sign problem is mild and no overt numerical instability is visible [2509.13314].

Source: https://www.emergentmind.com/topics/nagata-nishimura-shimasaki-drift-decay-test