Refined Security Estimation for LWE with Hints via a Geometric Approach

Dana Dachman-Soled, Huijing Gong, Tom Hanson, Hunter Kippen

Lattice-based cryptography, specifically the Learning With Errors (LWE) problem, is the cornerstone of the next generation of secure communications. But how do we measure exactly how "hard" these problems are when an attacker has extra information?

In this paper, researchers from the University of Maryland and Intel Labs propose a fundamental shift in how we estimate the security of LWE-based systems. By moving from a probabilistic "distributional" view to a rigorous "geometric" perspective, they’ve created a more accurate and robust toolkit for predicting how side-channel leaks and decryption failures erode cryptographic strength.

TL;DR

The authors replace the standard Gaussian-based "distributional" approach for integrating side-channel hints into LWE security estimates with a geometric approach using ellipsoids. This new framework provides rigorous "worst-case" guarantees, handles non-Gaussian data (like decryption failures) more naturally, and significantly improves the accuracy of hardness estimations.

What Problem Does This Paper Address?

When we estimate the security of LWE, we usually assume the attacker only sees the public key and ciphertexts. However, in the real world, attackers get "hints"—extra info from power consumption (side-channels) or observing when a decryption fails.

The previous state-of-the-art (the "DBDD Toolkit" from Crypto ’20) treated these hints as updates to a multivariate Gaussian distribution. While powerful, this has two major flaws:

  1. The Gaussian Assumption: Real-world side-channel data isn't always Gaussian. If the assumption fails, the security estimate might be wrong.
  2. Lack of Rigor: The distributional approach doesn't guarantee the secret is actually within the predicted search space; it only says it is likely to be there.

Methods

The authors re-imagine the Distorted Bounded Distance Decoding (DBDD) problem—an intermediate step between LWE and lattice reduction—through the lens of convex geometry.

  • The Ellipsoid Perspective: Instead of a probability distribution, the secret is viewed as a lattice point trapped inside a specific $d$-dimensional ellipsoid.
  • Hints as Geometric Constraints:
    • Perfect Hints: Intersecting the ellipsoid with a hyperplane.
  • Inequality Hints: Intersecting with a halfspace (e.g., "the secret's inner product with vector $v$ is at least $\gamma$").
  • Combined Hints: Fusing two different ellipsoids (e.g., one from side-channel data and one from decryption failures).
  • Löwner-John Ellipsoids: Since the intersection of an ellipsoid and a halfspace isn't an ellipsoid, the authors use the Löwner-John method to find the minimal volume ellipsoid that circumscribes (contains) the intersection.
  • Regeneration Algorithm: To prevent the geometric update from "stalling" (where new hints no longer shrink the ellipsoid), the authors developed a technique to re-embed the current center as a new hint into a fresh instance.

Datasets

The authors validated their approach using several benchmarks:

  • Toy FrodoKEM Parameters: Small-scale LWE instances ($n=m=70$ or $80$) used to verify the accuracy of their $\beta$ (BKZ block size) predictions.
  • Frodo-640 (NIST Level 1): A full-scale post-quantum candidate. They simulated fault-injection attacks (based on the Fahr et al. 2022 research) to generate decryption failures.
  • SCA Data: Real-world side-channel "score tables" from previous research (Bos et al. 2018) on FrodoKEM power analysis.

Key Insights and Ideas

  • Decryption Failures are Inequalities: The most natural way to model a decryption failure is as an inequality hint. The geometric approach handles this natively, whereas the old distributional approach had to "force" this data into a Gaussian model.
  • Worst-Case Guarantees: Because the new ellipsoid always circumscribes the intersection, the authors provide a rigorous promise: if the secret was in the original ellipsoid, it is guaranteed to be in the updated one.
  • Geometric Failure Boosting: They discovered that the geometric parameter $\alpha$ (the distance from the ellipsoid center to the hint's hyperplane) is a perfect proxy for the probability of a decryption failure. This allows for a "geometric analogue" to failure boosting, helping attackers pick the most informative queries.
  • Fusing Heterogeneous Data: The "Combined Hints" method allows for "fusing" information from completely different sources (like a power analysis attack and a decryption failure attack) into a single, tighter ellipsoid.

Key Results

  • Higher Accuracy: For "perfect hints," the geometric model provided more accurate estimates of the required BKZ block size ($\beta$) than the previous distributional model, especially when hints were "far" from the center.
  • Efficiency Gains: In the fault-injection scenario on Frodo-640, the geometric approach achieved the same security reduction using only ~959–1224 hints, compared to the 4000 hints required by the previous state-of-the-art.
  • Search Speedup: Using their $\alpha$-based sorting for failure boosting, they found all 34 decryption failures in a database of 100k ciphertexts in just 39,785 queries, compared to 94,894 for a linear scan.
  • Better Fusion: Combining side-channel and decryption failure data lowered the estimated security level by an additional 2-3 bikz (a unit of lattice hardness) compared to baseline methods.

Limitations and Future Work

  • Scaling for Hardness Estimates: Because the geometric approach is "distribution-agnostic," it doesn't inherently know the expected length of the secret. For precise hardness predictions (not the attack itself), the authors sometimes had to scale the ellipsoid based on the known secret length.
  • Maximal Inscribed Ellipsoids: This paper focused on minimal circumscribed ellipsoids (lower bounds on security). The authors suggest that maximal inscribed ellipsoids could provide useful upper bounds.
  • Control Theory Links: The authors noted a strong connection between their work and "state estimation" in control theory (like Kalman filters for non-Gaussian noise) and suggest this as a rich area for future cross-disciplinary research.

Summary updated

Abstract

The Distorted Bounded Distance Decoding Problem (DBDD) was introduced by Dachman-Soled et al. [Crypto ’20] as an intermediate problem between LWE and unique-SVP (uSVP). They presented an approach that reduces an LWE instance to a DBDD instance, integrates side information (or “hints”) into the DBDD instance, and finally reduces it to a uSVP instance, which can be solved via lattice reduction. They showed that this principled approach can lead to algorithms for side-channel attacks that perform better than ad-hoc algorithms that do not rely on lattice reduction. The current work focuses on new methods for integrating hints into a DBDD instance. We view hints from a geometric perspective, as opposed to the distributional perspective from the prior work. Our approach provides the rigorous promise that, as hints are integrated into the DBDD instance, the correct solution remains a lattice point contained in the specified ellipsoid. We instantiate our approach with two new types of hints: (1) Inequality hints, corresponding to the region of intersection of an ellipsoid and a halfspace; (2) Combined hints, corresponding to the region of intersection of two ellipsoids. Since the regions in (1) and (2) are not necessarily ellipsoids, we replace them with ellipsoidal approximations that circumscribe the region of intersection. Perfect hints are reconsidered as the region of intersection of an ellipsoid and a hyperplane, which is itself an ellipsoid. The compatibility of “approximate,” “modular,” and “short vector” hints from the prior work is examined. We apply our techniques to the decryption failure and side-channel attack settings. We show that “inequality hints” can be used to model decryption failures, and that our new approach yields a geometric analogue of the “failure boosting” technique of D’anvers et al. [ePrint, ’18]. We also show that “combined hints” can be used to fuse information from a decryption failure and a side-channel attack, and provide rigorous guarantees despite the data being non-Gaussian. We provide experimental data for both applications. The code that we have developed to implement the integration of hints and hardness estimates extends the Toolkit from prior work and has been released publicly.
BibTeX
@article{dachmansoled2022refined,
  author = {Dana Dachman-Soled and Huijing Gong and Tom Hanson and Hunter Kippen},
  title = {{Refined Security Estimation for LWE with Hints via a Geometric Approach}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2022},
  url = {https://openreview.net/forum?id=uFW69rF9oC},
}
Figure