The Directional Displacement Estimator (DDE) predicts whether each
predicted coordinate is greater or smaller than its corresponding
ground-truth coordinate using detector logits and geometric
bounding-box attributes.
\[
\bar{s}_t =
\begin{cases}
+1, & \text{if } \hat{t}-t>0,\\
-1, & \text{otherwise},
\end{cases}
\qquad
t\in\{x^1,y^1,x^2,y^2\}.
\]
\[
\hat{\mathbf{s}}_i
=
\left(
\hat{s}_{(x^1,i)},
\hat{s}_{(y^1,i)},
\hat{s}_{(x^2,i)},
\hat{s}_{(y^2,i)}
\right)
=
\phi_{\mathrm{DDE}}\!\left(
\hat{\mathbf z}_i,
\hat{\mathrm{cx}}_i,
\hat{\mathrm{cy}}_i,
\hat{\mathrm{w}}_i,
\hat{\mathrm{h}}_i,
\hat{A}_i,
\hat{R}_i
\right).
\]
\[
\hat{s}_{(t,i)}
=
\begin{cases}
+1,
& \text{if }
\sigma\!\left(\hat{z}^{c}_{s_{(t,i)}}\right)
\ge \tau_t^c,\\
-1,
& \text{otherwise},
\end{cases}
\qquad
t\in\{x^1,y^1,x^2,y^2\}.
\]
DDE is trained with binary cross-entropy and converts its outputs
into final coordinate directions using class-specific thresholds
\(\tau_t^c\).