Measurement-Based Rounding Scheme
- Measurement-based rounding scheme is a framework where auxiliary observations drive discrete decisions beyond simple nearest-grid rounding.
- It spans geometric partitions, distributed algorithms, post-training quantization, and LWR cryptography, adapting measurements like local neighborhoods, potentials, and reconstruction loss.
- The approach guarantees performance bounds and consistency by preserving local invariants under resource constraints such as limited side information and bounded communication.
Measurement-based rounding scheme denotes a class of procedures in which a discrete rounding decision is driven by an auxiliary measurement rather than by nearest-grid distance alone. In the cited literature, that measurement takes several technically distinct forms: a local neighborhood in a partition of , a pairwise-decomposed potential on a graph, a calibration-set reconstruction loss for post-training quantization, a small side-information message used to synchronize repeated Euclidean measurements, or a fixed threshold test implemented by add-and-shift quantizers in Learning-with-Rounding cryptography (Woude et al., 2022, Faour et al., 2022, Nagel et al., 2020, Lee et al., 2023, Dunkelman et al., 2020, Kundu et al., 2024). The common structural feature is that rounding is constrained by what can be inferred from a local observation, a bounded message, or a task-specific measurement of downstream effect.
1. Conceptual scope
The phrase encompasses multiple formal models rather than a single canonical algorithm. In geometric rounding, a deterministic rounding map is equivalent to a partition of ; the relevant measurement is the local neighborhood and the key question is how many partition cells that neighborhood can intersect. In distributed graph algorithms, the measurement is a potential of the form , and rounding proceeds by local updates that preserve this potential approximately. In post-training quantization, the measurement is the discrepancy between the original and quantized layer or block outputs on a calibration set. In consistent rounding with side information, the measurement is a first noisy observation together with a short message identifying a color class. In LWR-based cryptography, the measurement is a residue compared against fixed thresholds, realized by additions of half-step constants and power-of-two shifts (Woude et al., 2022, Faour et al., 2022, Nagel et al., 2020, Lee et al., 2023, Dunkelman et al., 2020, Kundu et al., 2024).
| Setting | Measurement guiding rounding | Rounding mechanism |
|---|---|---|
| Euclidean partitions | and | choose a representative of the intersected cell |
| Distributed local rounding | local label updates under defective colorings | |
| Post-training quantization | layer/block reconstruction loss on calibration data | learn rounding of weights to a quantization grid |
| Consistent rounding with side information | color of the first measurement’s tile | round the second measurement to the nearest center in that color class |
| LWR-based reconciliation | threshold tests via and shifts | add-half and right-shift quantization |
This taxonomy suggests that “measurement-based” should be read operationally: rounding is not purely a function of the current scalar to be discretized, but of a structured observation that encodes local geometry, pairwise interactions, output reconstruction, reconciliation state, or hardware-friendly threshold information.
2. Partition-based measurement in Euclidean space
A central geometric formalization identifies deterministic rounding and partitions as equivalent. A deterministic rounding scheme in 0 is a function 1, which induces the partition
2
Conversely, a partition 3 with representatives 4 induces a rounding map 5 for 6. The measurement-based requirement is then expressed through a seclusion property: for the closed 7 ball
8
one defines
9
and asks that 0 for all 1. For partitions into unit hypercubes, this is the secluded hypercube partition problem (Woude et al., 2022).
The paper gives an explicit solution via “reclusive partitions.” For a reclusive matrix 2, one defines the lattice 3 and the partition
4
Adjacency is characterized by weak-alt-1 sequences in 5, and nonadjacent cubes are separated by a positive reclusive distance 6. An explicit coloring
7
shows that the partition graph is 8-colorable, hence every clique has size at most 9. Choosing 0 so that 1 yields the hypercube partition theorem:
2
The construction is explicit and efficiently computable.
The same work establishes sharp lower bounds for broad deterministic classes. For any unit hypercube partition of 3, there exists a point 4 with 5, so no deterministic unit-hypercube scheme can achieve degree 6. Stronger optimality theorems extend this obstruction to partitions with bounded measure or bounded diameter. A universal tolerance bound further shows that if each cell has strict pairwise bound 7 and 8 for all 9, then
0
and, using 1,
2
The constructive value 3 is therefore within a factor 4 of the universal obstruction. A common misconception is that deterministic local rounding might force fewer than 5 outcomes everywhere by a sufficiently clever tiling; the degree optimality results rule this out for the paper’s “reasonable” classes of partitions.
3. Consistent rounding with side information
A distinct measurement-based model studies repeated noisy measurements 6 under the 7 norm. Space is partitioned into connected, closed, bounded tiles of volume at most 8, each tile is assigned a center and a color in 9, and the first measurement sends only the color of its tile. If 0 denotes the tiles of color 1 and 2 their centers, the second measurement rounds according to
3
The central notion is fault tolerance. If 4 is the minimal distance between same-colored points in different tiles, then the fault tolerance radius is 5, equivalently the largest 6 such that the 7-inflations of same-colored tiles are pairwise disjoint. The consistency requirement is
8
for all 9 (Dunkelman et al., 2020).
The minimal side-information threshold is exact: positive fault tolerance in 0 requires at least 1 colors, and there is a construction with 2 colors achieving 3. Hence 4 bits are necessary and sufficient in the worst case. Necessity is proved geometrically for polytopic tiles and topologically for contractible tiles via Čech and de Rham cohomology; sufficiency comes from an explicit dimension-reducing construction.
With more colors, the achievable tolerance scales like 5 up to constants. The paper derives upper bounds from Brunn–Minkowski and sphere packing. In dimension three, optimal sphere packing yields the tight asymptotic law
6
In dimension two,
7
and this is matched by an explicit honeycomb-of-rectangles construction. For 8 and 9, the constants are 0 and 1, respectively. This model makes explicit a tradeoff absent from ordinary nearest rounding: small unidirectional communication can convert a discontinuous quantizer into a perfectly consistent one on a prescribed neighborhood.
4. Local distributed rounding via measured potentials
In deterministic distributed algorithms, measurement-based rounding appears as local derandomization of fractional or probabilistic label assignments. The setting is an undirected graph 2 with maximum degree 3, under the LOCAL or CONGEST model. Each node chooses a label from a finite alphabet 4, and the analysis is organized around a pairwise-decomposed potential
5
The framework separates this into nonnegative utility 6 and nonnegative cost 7, both decomposable over an edge set 8 of an auxiliary multigraph 9, and performs deterministic rounding while maintaining
0
with a scheduled coefficient 1 (Faour et al., 2022).
The basic rounding step starts from a 2-integral fractional assignment, computes edge weights 3, finds a weighted 4-relative average defective 5-coloring with 6, and then processes one color class at a time. A node locally compares candidate labels using edge-summed quantities
7
updates its fractional probabilities by 8, and doubles the integrality granularity. The key guarantee is
9
and after 0 such steps,
1
This abstraction covers maximal independent set, maximum-weight independent set approximation, minimum-cost set cover approximation, matching, hypergraph matching, and coloring. As a highlighted consequence, the framework yields a deterministic 2-round MIS algorithm in the LOCAL model and an 3-round deterministic MIS algorithm in the CONGEST model. It also places MIS, maximal matching, 4-vertex coloring, and 5-edge coloring in the same 6 deterministic regime. The measurement here is not spatial but analytic: a local rounding move is accepted because it preserves a globally meaningful potential whose decomposition is pairwise and locality-compatible.
5. Measurement-based rounding in post-training quantization
In post-training quantization, measurement-based rounding learns discrete quantization decisions by minimizing output discrepancy on a small calibration set rather than minimizing parameter-space error. For a layer or block 7 with pre-trained weights 8 and quantized weights 9, the canonical objective is
00
or, in the formulations used for AdaRound and FlexRound, a Frobenius-norm reconstruction loss on layer or block outputs (Nagel et al., 2020, Lee et al., 2023).
AdaRound formalizes per-weight up/down decisions as binary variables. With scale 01 and clipping range 02, round-to-nearest is
03
whereas AdaRound chooses, for each weight, whether to use floor or ceil:
04
A second-order Taylor approximation of the task loss leads to a QUBO in the rounding variables. The intractable Hessian objective is then replaced by a tractable layer-wise surrogate,
05
and, more accurately, by an asymmetric objective using measured float inputs 06 and quantized-prefix inputs 07:
08
The soft rounding variable is
09
with 10 and 11, and the regularizer is
12
Using 4-bit weights and FP32 activations, AdaRound reports 68.71130.06 for ResNet-18 and 75.23140.04 for ResNet-50, while round-to-nearest gives 23.99 and 35.60 under the same weight precision; for DeeplabV3+ on Pascal VOC, 4-bit W and 8-bit A reaches 70.86150.37 mIOU versus 6.09 for round-to-nearest at 4/8.
FlexRound retains the measurement-by-reconstruction principle but replaces additive learnable offsets with a division-based parameterization. Its quantization operator is
16
with 17 factorized into a common grid size 18 and positive learnable components such as 19, depending on layer type. For a linear layer,
20
Under the straight-through estimator, the “reciprocal rule” yields
21
so scale updates are explicitly modulated by pre-trained weight magnitude. The measured objective is again reconstruction,
22
Empirically, FlexRound improves 4-bit weight-only MobileNetV2 top-1 accuracy from 69.46 to 70.82 relative to AdaRound, improves 2-bit ResNet-50 from 48.47 to 63.67, and quantizes LLaMA-33B to 8-bit with WikiText2 perplexity 6.82 versus 6.35 for the half-precision baseline. A notable ablation shows that fixing 23 makes FlexRound perform similarly to AdaRound, indicating that joint learning of the common grid size is integral to the method.
The PTQ literature therefore uses “measurement-based” in a task-aware sense: the quantizer is optimized against observed output reconstruction on calibration data. This sharply differs from deterministic nearest rounding, which is blind to inter-weight interactions and downstream loss.
6. Threshold-based rounding and reconciliation in LWR cryptography
In Learning-with-Rounding cryptography, rounding is a deterministic substitute for explicit error sampling. Scabbard studies three KEMs—Florete, Espada, and Sable—built from RLWR or MLWR, all using power-of-two moduli and hardware-friendly quantizers. If 24 and 25, the coefficient-wise map from modulus 26 to modulus 27 is
28
which is exactly 29 implemented by add-half and right-shift. Encryption and decryption use helper constants 30 and fixed shifts to perform rounding, message embedding, and recovery without division (Kundu et al., 2024).
The generic core is:
- key generation computes 31;
- encryption computes 32 and a compressed helper 33 after subtracting the embedded message amplitude;
- decryption recomputes a nearby value 34 and recovers the message by
35
Correctness is governed by the decryption noise 36. The stated sufficient condition for no decryption failure is
37
The three schemes differ primarily in how they organize the same threshold structure. Florete is RLWR-based with 38 and message repetition across the polynomial, followed by majority decoding in original_msg; the paper reports 39 for the three security levels. Espada is MLWR-based with very small 40 and packs 41 bits per coefficient, with reported 42. Sable is Saber-like MLWR with reduced moduli and smaller secrets, reporting 43. In all cases, the measurement is a threshold decision on a noisy modular value, and the helper data 44 identifies the quantization bin so that the receiver can invert the embedding.
Scabbard’s hardware study treats rounding and reconciliation as effectively negligible relative to polynomial multiplication and Keccak, precisely because the quantizers are add-and-shift. On Cortex-M4, Florete low/medium/high key generation takes 299k/439k/598k cycles, encapsulation 536k/815k/1131k, and decapsulation 606k/957k/1357k; Sable low/medium/high uses 381k/745k/1251k, 558k/1005k/1593k, and 568k/1031k/1622k cycles for key generation, encapsulation, and decapsulation, respectively. On UltraScale+, Sable reaches 31.6/39.35/48.43 45s for key generation, encapsulation, and decapsulation at 150 MHz. The design rationale is explicitly hardware-aware: power-of-two quantizers avoid divisions, simplify masking, and eliminate timing issues associated with prime-modulus division.
7. Optimality, limitations, and open directions
Across these literatures, measurement-based rounding is constrained by sharp lower bounds and domain-specific scope conditions. In geometric partition rounding, 46 is optimal for unit hypercube partitions and, more generally, for bounded-measure and bounded-diameter classes; the main open question is whether the optimal tolerance with 47 is 48, since the explicit construction gives 49 while the current universal bound is 50. In consistent rounding with side information, exact asymptotic constants are known in dimensions 51, but improving constants in other dimensions and optimizing small-52 constructions remain open. In distributed local rounding, the framework applies to problems whose randomized analyses reduce to pairwise utilities and costs; higher-order dependencies fall outside the present abstraction, and randomized algorithms may still have better asymptotic running times on some tasks. In PTQ, very low bit-widths remain difficult without fine-tuning, calibration mismatch can degrade performance, and the continuous relaxations used by AdaRound and FlexRound do not solve the underlying discrete optimization globally. In LWR cryptography, shrinking 53 and 54 improves bandwidth and hardware cost but tightens quantization bins, so correctness must be protected by carefully balancing secret distributions, repetition or packing strategies, and the parameters 55 and 56 (Woude et al., 2022, Dunkelman et al., 2020, Faour et al., 2022, Nagel et al., 2020, Lee et al., 2023, Kundu et al., 2024).
A plausible implication is that the phrase “measurement-based rounding scheme” is best understood as a unifying methodological description rather than a single theory. What unifies the cited work is a design principle: discrete outputs are selected to preserve a measured local invariant—geometric seclusion, consistency radius, pairwise potential, output reconstruction fidelity, or reconciliation correctness—under explicit resource constraints such as bounded neighborhood degree, limited side information, local communication, calibration size, or hardware cost.