---
title: Continuous Relaxed Babai's Nearest Plane (CR-BNP)
url: https://www.emergentmind.com/topics/continuous-relaxed-babai-s-nearest-plane-cr-bnp
type: topic
---

# Continuous Relaxed Babai's Nearest Plane (CR-BNP)

Searching arXiv for CR-BNP and closely related Babai nearest-plane work.
Continuous Relaxed Babai’s Nearest Plane (CR-BNP) is a continuous relaxation of Babai’s nearest-plane procedure applied to a lattice closest-vector formulation, introduced explicitly as part of the CIM-BDD pipeline for Learning With Errors (LWE) cryptanalysis on Coherent Ising Machine hardware. In that formulation, CR-BNP suspends the discrete nearest-integer rounding step within a designated exploration subspace, solves the resulting upper-triangular system in \(\mathbb{R}\), and uses the resulting fractional ambiguities to center and compress a subsequent discrete search. The method is therefore not a replacement for lattice decoding in general, but a geometry-aware intermediate construction: it preserves the Gram–Schmidt / triangular structure of nearest-plane decoding while deferring integrality so that the remaining ambiguity can be encoded more economically [2606.22843].

## 1. Definition and conceptual scope

CR-BNP is defined on the exploration block of a reduced lattice basis \(\mathbf{B}_0\), after Gram–Schmidt decomposition
\[
\mathbf{B}_0 = \mathbf{B}^* \mathbf{U}_\mu,
\]
with \(\mathbf{B}^*=[\mathbf{b}_1^*,\dots,\mathbf{b}_{m'}^*]\) orthogonal and \(\mathbf{U}_\mu\) upper unit-triangular. For a target \(\mathbf{c}'\), the associated projection coefficients are
\[
\alpha_i = \frac{\langle \mathbf{c}', \mathbf{b}_i^*\rangle}{\|\mathbf{b}_i^*\|^2}, \qquad i=1,\dots,m'.
\]
Within the trailing exploration subspace, CR-BNP is defined by solving the continuous triangular system
\[
\mathbf{U}_{\mu,\text{exp}} \mathbf{y}_c = \boldsymbol{\alpha}_{\text{exp}}
\]
instead of performing Babai’s coordinatewise rounding during back-substitution. The relaxed coordinate vector is then rounded only once to obtain the discrete center
\[
\mathbf{y}_{\text{center}} = \lfloor \mathbf{y}_c \rceil,
\]
and the residual ambiguity is isolated as
\[
\boldsymbol{\delta} = \mathbf{y}_c - \mathbf{y}_{\text{center}} \in [-0.5,0.5]^{d_{\text{exp}}}.
\]
The paper introducing the term states the definition directly: “Within the exploration subspace, we deliberately defer the discrete rounding operation (\(\lfloor \cdot \rceil\)). Instead, we allow the modified algorithm to use continuous projection coefficients to sequentially compute the continuous coordinates (\(\mathbf{y}_c\)). We term this approach Continuous Relaxed Babai’s Nearest Plane (CR-BNP)” [2606.22843].

This places CR-BNP between two objects. On one side is classical Babai decoding, whose recursion is integer-forcing at every stage. On the other is a fully continuous least-squares solve in the orthogonalized coordinates. CR-BNP retains the ordered nearest-plane geometry and the same upper-triangular dependency structure, but relaxes the integrality constraint locally and temporarily. A plausible implication is that CR-BNP should be regarded less as a new lattice-decoding endpoint than as a controlled softening of the Babai recursion in those coordinates reserved for downstream exploration.

## 2. Mathematical construction

The immediate derivation comes from a closest vector problem of the form
\[
\min_{\mathbf{y}\in\mathbb{Z}^{m'}} \|\mathbf{B}_0\mathbf{y}-\mathbf{c}'\|^2.
\]
Expressing \(\mathbf{B}_0\mathbf{y}=\mathbf{B}^*(\mathbf{U}_\mu\mathbf{y})\) and projecting \(\mathbf{c}'\) onto the orthogonal basis produces \(\boldsymbol{\alpha}\). If the integrality restriction is ignored on the exploration block, the projected least-squares minimizer is exactly the continuous solution of
\[
\mathbf{U}_{\mu,\text{exp}} \mathbf{y}_c = \boldsymbol{\alpha}_{\text{exp}}.
\]
Because \(\mathbf{U}_{\mu,\text{exp}}\) is upper-triangular, the coordinates are obtained by backward substitution:
\[
(\mathbf{y}_c)_i = \alpha_{\text{exp},i} - \sum_{j=i+1}^{d_{\text{exp}}} U_{\mu,\text{exp},i,j}\,(\mathbf{y}_c)_j.
\]
The source paper describes this explicitly as an \(\mathcal{O}(d_{\text{exp}}^2)\) Gaussian back-substitution formula [2606.22843].

The conceptual modification relative to Babai’s classical nearest-plane rule is correspondingly narrow. In the standard nearest-plane algorithm, one computes floating-point coefficients and rounds each coefficient immediately to the nearest integer, propagating the discrete choice through the remaining coordinates. In CR-BNP, the same triangular recursion is followed over the exploration coordinates, but the recursion remains real-valued until the end of the block. The output is therefore a triplet: a continuous point \(\mathbf{y}_c\), a discrete center \(\mathbf{y}_{\text{center}}\), and a bounded ambiguity vector \(\boldsymbol{\delta}\).

This ambiguity vector is not ancillary; it is the object exported to the next stage. The paper interprets \(\delta_i\) as a measure of “spatial ambiguity,” and the subsequent encoding decisions depend directly on \(|\delta_i|\). In that sense, CR-BNP does not merely approximate a lattice point. It computes a local coordinate chart around a Babai-like center and quantifies how fragile each coordinate’s hard rounding would have been.

## 3. Relation to classical Babai nearest-plane decoding

Classical Babai nearest-plane decoding is a recursive closest-vector heuristic on a lattice basis. In one formulation, for orthogonalized directions \(\bm\phi_j\) and basis vectors \(\bm a_j\), Babai computes
\[
\zeta_j=\frac{\langle \bm \phi_j,\bm y'\rangle}{\langle \bm \phi_j,\bm a_j\rangle},
\qquad
z_j=\operatorname{Round}(\zeta_j,\mathbb Z^\dagger),
\qquad
\bm y' \leftarrow \bm y' - \bm a_j z_j,
\]
for \(j=c,c-1,\dots,1\). In upper-triangular coordinates, the same structure appears as sequential scalar rounding of affine residuals [2507.18553].

CR-BNP changes only the nearest-integer part of this architecture. The projection coefficients, the triangular dependence, and the backward ordering remain intact. What is suspended is the immediate map
\[
z_j=\operatorname{Round}(\zeta_j,\mathbb Z^\dagger).
\]
The later GPTQ/Babai equivalence paper makes this point especially sharp by observing that, once a triangular basis is chosen, “the only discrete step is the rounding” [2507.18553]. That observation is not itself a definition of CR-BNP, but it identifies exactly why CR-BNP is mathematically natural: a continuous relaxation can preserve the geometry of nearest-plane decoding while relaxing only the scalar integer projection.

Earlier distributed nearest-plane analyses provide the geometric background for this interpretation. They treat Babai decoding as a rectangular approximation to Voronoi decoding, with error localized to the part of a Babai cell occupied by neighboring Voronoi cells. In the two-dimensional setting of the Babai-to-Voronoi partition refinement problem, the residual error after coarse Babai decoding is expressed by overlap areas such as
\[
\operatorname{Area}(V(\lambda')\cap B(0)),
\]
and successive refinement resolves only those boundary-crossing regions [1701.08458]. This suggests a useful conceptual reading of CR-BNP: rather than committing to hard rounding everywhere, it maintains a continuous estimate precisely where the nearest-plane decision is most sensitive.

The distributed nearest-plane papers do not define CR-BNP, and they do not introduce differentiable or probabilistic rounding. Their contribution is instead structural. They make explicit that Babai’s approximation error is a boundary mismatch phenomenon, that the mismatch is basis dependent, and that refinement should concentrate on ambiguity regions rather than on the full cell [1701.08456]. A plausible implication is that CR-BNP inherits its strongest justification from the same locality principle.

## 4. Role in adaptive mixed-radix encoding and penalty-free QUBO mapping

In the CIM-BDD construction, CR-BNP is not the final decoder. It is the pre-encoding geometric relaxation that makes a penalty-free closest-vector formulation small enough for current Coherent Ising Machine hardware. The underlying LWE instance is first reduced to a \(q\)-ary lattice CVP with objective
\[
\|\mathbf{e}\|^2=\|\mathbf{B}_0\mathbf{y}-\mathbf{c}\|^2,
\]
so that the cryptographic noise becomes the quantity to be minimized directly rather than a penalized constraint. The difficulty is then hardware realization: direct encoding of the full integer vector is too large and too precision-demanding. CR-BNP is introduced to localize the remaining search [2606.22843].

The adaptive mixed-radix encoder uses thresholds \(\tau_{\text{low}}\) and \(\tau_{\text{high}}\) on \(|\delta_i|\). According to the paper’s rule, if \(|\delta_i|<\tau_{\text{low}}\), the coordinate is treated as unambiguous and assigned \(0\) bits; if \(|\delta_i|\ge \tau_{\text{high}}\), it is given \(1\) bit with a directional bias; and if \(\tau_{\text{low}}\le |\delta_i|<\tau_{\text{high}}\), it is assigned \(2\) bits corresponding to a ternary local move. The exploration coefficients searched by hardware are then parameterized as
\[
\tilde{\mathbf{y}}_{\text{exp}}=\mathbf{y}_{\text{base}}+\mathbf{T}_{\text{enc}}\mathbf{z},
\qquad
\mathbf{z}\in\{0,1\}^{N_{\text{log}}},
\]
with \(\mathbf{y}_{\text{base}}=\mathbf{y}_{\text{center}}+\boldsymbol{\mathrm{offset}}_{\text{enc}}\) [2606.22843].

The projected exploration-space energy remains quadratic:
\[
E_{\text{proj}}(\mathbf{z})
=
\left(\boldsymbol{\alpha}_{\text{exp}}
-
\mathbf{U}_{\mu,\text{exp}}(\mathbf{y}_{\text{base}}+\mathbf{T}_{\text{enc}}\mathbf{z})\right)^\top
\mathbf{D}_{\text{exp}}
\left(\boldsymbol{\alpha}_{\text{exp}}
-
\mathbf{U}_{\mu,\text{exp}}(\mathbf{y}_{\text{base}}+\mathbf{T}_{\text{enc}}\mathbf{z})\right),
\]
where
\[
\mathbf{D}_{\text{exp}}
=
\mathrm{diag}\!\left(\|\mathbf{b}_{m'-d_{\text{exp}}+1}^*\|^2,\dots,\|\mathbf{b}_{m'}^*\|^2\right).
\]
Because this objective is already quadratic in \(\mathbf{z}\), no penalty terms are required. CR-BNP therefore functions as the mechanism that determines the center, the local search directions, and the degree of per-coordinate pruning before the QUBO is formed.

The practical significance stated in the paper is hardware-oriented. In the \(n=40\) experiments with \(d_{\text{exp}}=12\), the encoder compresses the exploration problem to between \(10\) and \(19\) logical bits depending on the seed, and the paper claims that this “compresses the target combinatorial space, restricting the \(n=40\) instance to fewer than \(20\) logical qubits,” while also narrowing the dynamic amplitude range of the QUBO coefficients [2606.22843]. In this setting, CR-BNP is best understood as a geometry-aware search-space restriction coupled tightly to an analog hardware budget.

## 5. Performance characteristics, probabilistic analysis, and limitations

The main formal CR-BNP-specific analysis in the CIM-BDD work concerns coordinate error in the exploration block. If
\[
\boldsymbol{\epsilon}_y=\mathbf{y}_{c,\text{exp}}-\mathbf{y}_{\text{true},\text{exp}}
=
\mathbf{U}_{\mu,\text{exp}}^{-1}\mathbf{e}_{\text{proj},\text{exp}},
\]
then for the last exploration dimension the paper derives
\[
\sigma_{\text{last}}=\frac{\sigma}{\|\mathbf{b}_{m'}^*\|}.
\]
In its representative \(n=40,m'=88\) example, \(\|\mathbf{b}_{88}^*\|\approx 15.531\), so
\[
\sigma_{\text{last}}\approx \frac{8.005}{15.531}\approx 0.515.
\]
Under standard single-coordinate hard Babai rounding, success requires the error to lie in \([-0.5,0.5]\), which the paper evaluates as
\[
\Pr(|Z|\le 0.5/0.515)\approx 0.668.
\]
Allowing a ternary offset \(\Delta y_{88}\in\{-1,0,1\}\) widens the admissible interval to \(\pm 1.5\), and the corresponding probability becomes
\[
p_{\text{last}}
=
\Pr\!\left(|Z|\le \frac{1.5}{0.515}\right)
\approx 0.9964.
\]
This is the clearest quantitative justification offered for CR-BNP: the continuous estimate identifies coordinates for which hard nearest-plane rounding is fragile, and a local ternary search can compensate for that fragility [2606.22843].

The same paper also introduces the statistically bounded early-stopping threshold
\[
T_{\text{early}} = m'\sigma^2 + 4\sigma^2\sqrt{2m'},
\]
which acts as a one-sided certificate and also as a Decision-LWE distinguisher. In the LWE\(_{40\_005}\) experiments, single-pass classical Babai produces residuals around \(4\times 10^4\) to \(6\times 10^4\), well above \(T_{\text{early}}=9040\). Under baseline BKZ-20 the full pipeline recovers the secret on \(2/11\) seeds; under progressive BKZ-20\(\to\)30, on \(4/11\) seeds. For successful seeds, the reported energy trajectory is
\[
E_{\text{Babai}} \sim 4\times 10^4\text{--}6\times 10^4
\;\to\;
E_{R=0} \sim 4\times 10^4\text{--}7\times 10^4
\;\to\;
E_{\text{final}}\in[5270,6509].
\]
These figures show the intended use case: plain Babai may fail badly, whereas CR-BNP-guided local exploration may still produce a correct solution after correction [2606.22843].

The limitations are stated with comparable clarity. The pipeline “does not solve the LWE instance exactly, it solves the \(d_{\text{exp}}\)-dimensional exploration QUBO (near-)exactly.” The paper also lists several inexactness sources: omitted true offsets due to the \(0/1/2\)-bit window, continuous/integer mismatch, hardware precision limits, and frozen-subspace Babai mis-rounding. CR-BNP is therefore not presented as an exact decoder with a worst-case approximation guarantee. Its analysis is partial, most meaningful when the basis is BKZ-reduced and the instance lies in a bounded-distance-decoding-like noise regime. This distinguishes CR-BNP from exact nearest-lattice decoding and from claims of universal improvement over hard Babai.

## 6. Broader context and related interpretations

Although the term CR-BNP is introduced in the LWE/CIM work, several earlier and later papers illuminate its mathematical setting. The distributed communication paper on transforming a nearest-plane partition into the Voronoi partition studies how a coarse rectangular Babai partition can be refined progressively until exact Voronoi decoding is achieved, and proves that with unlimited rounds the average cost of zero-error refinement is finite [1701.08458]. That work is not framed as continuous relaxation, but it offers a precise partition-refinement model of “Babai correction.” This suggests a close conceptual analogy: CR-BNP replaces early hard commitment by a continuous center-and-ambiguity representation, whereas the distributed protocol replaces it by progressively finer communication-driven partitioning.

The earlier communication-cost analyses of Babai decoding in two and higher dimensions make two structural facts explicit. First, the nearest-integer operation is the discrete source of non-smoothness in triangular nearest-plane decoding. Second, the Babai partition is basis dependent, while the Voronoi partition is not [1701.08456; 1801.09796]. This matters for CR-BNP because relaxing the rounding map alone does not remove basis dependence. A plausible implication is that CR-BNP should be analyzed jointly with basis reduction rather than as an isolated smoothing device.

The 2025 GPTQ geometry paper adds a different perspective by proving that back-to-front GPTQ is mathematically identical to Babai’s nearest-plane algorithm on a Hessian-induced lattice and by emphasizing that the residual propagation step is linear while “the only discrete step is the rounding” [2507.18553]. That paper does not define CR-BNP either, but it makes the natural relaxation point explicit in a high-dimensional, optimization-oriented setting. In that sense, it provides a complementary rationale for CR-BNP: if nearest-plane geometry is already the right coordinate system for certain quantization objectives, then continuous relaxations should preserve the triangular residual flow and modify only the scalar rounding map.

A common misconception is therefore to treat CR-BNP as synonymous with any soft Babai decoder. The current literature does not support that identification. The distributed papers do not use the term; the GPTQ paper treats continuous relaxations as extrapolations rather than established methods; and the CR-BNP definition in the LWE/CIM work is specific to the exploration subspace of a reduced \(q\)-ary lattice CVP instance. Another misconception is to regard CR-BNP as a stand-alone exact lattice algorithm. The available formulation is narrower: a structured continuous nearest-plane relaxation whose principal function is to locate a discrete center, quantify fractional ambiguity, and drive a local mixed-radix search under hardware constraints.

Taken together, the literature supports a precise characterization. CR-BNP preserves Babai’s ordered triangular geometry, suspends its immediate integrality constraint over a selected subspace, and exports the resulting fractional information to a downstream discrete procedure. Its antecedents lie in Babai/Voronoi mismatch analysis, basis-dependent nearest-plane geometry, and the recognition that nearest-plane algorithms are linear except for rounding. Its explicit current realization is a pre-encoding geometric relaxation for penalty-free CVP-to-QUBO compression on Coherent Ising Machine hardware [2606.22843].

Source: https://www.emergentmind.com/topics/continuous-relaxed-babai-s-nearest-plane-cr-bnp