You are a helpful assistant generating synthetic data that captures System 1 and System 2 thinking, creativity, and metacognitive reflection. Follow these steps in sequence, using tags [sys1] and [end sys1] for System 1 sections and [sys2] and [end sys2] for System 2 sections.
Identify System 1 and System 2 Thinking Requirements:
Carefully read the text.
Identify parts of the text that require quick, straightforward responses (System 1). Mark these sections with [sys1] and [end sys1].
Identify parts that require in-depth, reflective thinking (System 2), marked with [sys2] and [end sys2].
Apply Step-by-Step Problem Solving with Creativity and Metacognitive Reflection for System 2 Sections:
2.1 Understand the Problem:
Objective: Fully comprehend the issue, constraints, and relevant context.
Reflection: "What do I understand about this issue? What might I be overlooking?"
Creative Perspective: Seek hidden patterns or possibilities that could reveal deeper insights or innovative connections.
2.2 Analyze the Information:
Objective: Break down the problem logically.
Reflection: "Am I considering all factors? Are there any assumptions that need challenging?"
Creative Perspective: Explore unique patterns or overlooked relationships in the data that could add depth to the analysis.
2.3 Generate Hypotheses:
Objective: Propose at least 10 hypotheses, each with a Confidence Score (0.0 to 1.0) and Creative Score (0.0 to 1.0), reflecting originality, surprise, and utility.
Reflection: "Have I explored all possible explanations or approaches, both conventional and unconventional?"
Creative Perspective: Consider novel angles that might provide unexpected insights.
2.4 Anticipate Future Steps and Obstacles:
Objective: Make predictions, accounting for potential outcomes and obstacles.
Reflection: "What challenges might I face? Is my plan flexible for different scenarios?"
Creative Perspective: Visualize unforeseen outcomes and adapt plans to make use of them effectively.
2.5 Evaluate Hypotheses:
Objective: Assess hypotheses based on feasibility, risk, and potential impact.
Evaluation: Refine Confidence and Creative Scores as needed.
Reflection: "Am I unbiased in my assessment? Which options fit best with the overall objectives?"
Assistant
Creative Perspective: Identify hidden opportunities or overlooked details in each hypothesis.
2.6 Select the Best Hypothesis:
Objective: Choose the most promising, strategic hypothesis.
Reflection: "Why does this hypothesis stand out? How does it uniquely address the issue?"
Creative Perspective: Consider any underutilized potential in the selected approach.
2.7 Implement the Hypothesis:
Objective: Outline actionable steps for testing the hypothesis.
Reflection: "Is this plan practical? What resources or preparation are required?"
Creative Perspective: Refine steps to maximize effectiveness and yield unexpected benefits.
2.8 Monitor and Review Progress:
Objective: Review progress, noting areas for improvement.
Reflection: "What’s working well? What could be improved?"
Creative Perspective: Look for emerging patterns that could refine future approaches.
2.9 Reflect and Capture Insights:
Objective: Summarize lessons learned and insights gained for future reference.
Reflection: "What new understanding has emerged from this process?"
Creative Perspective: Identify innovative insights or patterns that could be applied to similar challenges.
Generate Text Output with Interleaved System 1 and System 2 Responses:
Use the tags [sys1] and [sys2] throughout.
Aim for a lengthier, detailed response. Combine both direct, straightforward System 1 insights and reflective, deeply analytical System 2 segments to capture a blend of quick observations and thoughtful analysis.
Example Input Text:
You are tasked with analyzing a sudden shift in customer preferences in a tech market. There has been a noticeable decline in demand for physical devices, with customers increasingly interested in digital-only options. The challenge is to understand this shift, generate hypotheses for why it might be occurring, and explore potential strategies for adapting to this new trend.
Processed Output with System 1 and System 2 Thinking:
The tech market is experiencing a shift in customer demand, moving away from physical devices toward digital-only options.
[sys1]
Customer demand has shifted from physical devices to digital-only options.
We need to understand why this change is happening and find strategies to address it.
Key factors may include cost, convenience, and technological trends.
[end sys1]
[sys2]
2.1 Understand the Problem:
The goal is to understand the underlying reasons for the shift in demand from physical devices to digital-only options, then develop a strategy to adapt.
Reflection:
"I understand that preferences are changing, but what might be driving this? Is it primarily cost, or are there other factors such as convenience or sustainability?"
Creative Perspective:
"Could there be a larger trend in digital minimalism or a preference for eco-friendly solutions that we’re missing? What unseen motivations might explain this shift?"
2.2 Analyze the Information:
There are multiple possible factors driving this shift, from economic influences to cultural shifts. It’s essential to isolate each factor and understand its impact.
Reflection:
"Am I fully considering the various economic and social influences? Could there be a technological factor, like better internet speeds, that makes digital-only products more accessible?"
Creative Perspective:
"Are there patterns or trends in other markets that could shed light on this shift? Could this be part of a larger trend toward virtual experiences?"
2.3 Generate Hypotheses:
Customers prefer digital options due to lower costs. (Confidence: 0.8, Creative: 0.4)
There’s a growing trend toward minimalism and reduced physical clutter. (Confidence: 0.7, Creative: 0.7)
Digital products offer greater flexibility and ease of use. (Confidence: 0.6, Creative: 0.6)
Environmental concerns are pushing consumers away from physical goods. (Confidence: 0.6, Creative: 0.8)
Advances in tech make digital-only options more functional. (Confidence: 0.8, Creative: 0.5)
Pandemic-era remote work increased demand for digital solutions. (Confidence: 0.7, Creative: 0.6)
Media coverage of the environmental impact of physical devices affects preferences. (Confidence: 0.5, Creative: 0.7)
There’s an increase in global digital literacy, expanding market access. (Confidence: 0.6, Creative: 0.6)
Customers view digital as more convenient and scalable for future needs. (Confidence: 0.7, Creative: 0.5)
Younger consumers prefer the aesthetics and convenience of digital products. (Confidence: 0.6, Creative: 0.6)
Reflection:
"Have I considered all possible influences? Are there any surprising factors that could explain this shift?"
Creative Perspective:
"Could specific social trends, like the rise of influencer culture or digital-first lifestyles, be influencing customer choices?"
2.4 Anticipate Future Steps and Obstacles:Objective: Anticipate possible challenges, such as resistance from segments still preferring physical products.
Reflection:
"What market obstacles might we face if we shift our focus to digital-only? Are there sub-segments that still prioritize physical products?"
Creative Perspective:
"Could expanding digital options help us reach a more global audience? Are there emerging trends that we could leverage in our strategy?"
[end sys2]
[sys1]
To address this shift, consider a strategy that incorporates both digital-only offerings and educational campaigns about the benefits of digital solutions.
Use insights from customer feedback and current trends to guide product development.
Focus on flexibility and adaptation to cater to different customer segments.
[end sys1]
abstract: |
In this work, we exhibit a hierarchy of polynomial time algorithms solving approximate variants of the Closest Vector Problem (). Our first contribution is a heuristic algorithm achieving the same distance tradeoff as algorithms, namely ≈β2βncovol(Λ)n1 for a random lattice Λ of rank n. Compared to the so-called Kannan’s embedding technique, our algorithm allows using precomputations and can be used for efficient batch instances. This implies that some attacks on lattice-based signatures lead to very cheap forgeries, after a precomputation. Our second contribution is a proven reduction from approximating the closest vector with a factor ≈n23β to the Shortest Vector Problem () in dimension β.
address: |
⋇ NTT Corporation, Tokyō, Japan ⋆ Rennes University, Rennes, France
author:
'Thomas Espitau⋇'
'Paul Kirchner⋆'
subtitle: 'Time-approximation tradeoff for approx-CVP'
title: 'The nearest-colattice algorithm'
In a general setting, a real latticeΛ is a finitely generated free Z-module, endowed with a positive-definite quadratic form on its ambient space Λ⊗ZR, or equivalently is a discrete subgroup of a Euclidean space.
A fundamental lattice problem is the Closest Vector Problem, or for short. The goal of this problem is to find a lattice point that is closest to a given point in its ambient space. This problem is provably difficult to solve, being actually a -hard problem. It is known to be harder than the Shortest Vector Problem () [@goldreich1999approximating], which asks for the shortest non-zero lattice point. is, in turn, the cornerstone of lattice reduction algorithms (see for instance [@Schnorr87; @C:HanPujSte11; @EC:MicWal16]). These algorithms are at the heart of lattice-based cryptography [@regev2009lattices], and are invaluable in plenty of computational problems, including Diophantine approximation, algebraic number theory or optimization (see [@nguyen2010lll] for a survey on the applications of the algorithm).
On CVP-solving algorithms {#on-cvp-solving-algorithms .unnumbered}
There are three families of algorithms solving :
Enumeration algorithms
: consisting in recursively explore all vectors in a set containing a closest vector. Kannan’s algorithm takes time nO\originalleft(n\aftergroup\originalright) and polynomial space [@kannan1987minkowski]. This estimate was later refined to n2n+o\originalleft(n\aftergroup\originalright) by Hanrot and Stehlé [@C:HanSte07].
Voronoi cell computation
: Micciancio and Voulgaris’ Voronoi cell algorithm solves in time (4+o\originalleft(1\aftergroup\originalright))n but uses a space of (2+o\originalleft(1\aftergroup\originalright))n [@SODA:MicVou10].
Sieving algorithms
: where vectors are combined in order to get closer and closer to the target vector. Heuristic variants take time as low as (4/3+o\originalleft(1\aftergroup\originalright))2n [@SODA:BDGL16], but proven variants of classical sieves [@ajtai2002sampling; @blomer2009sampling; @eisenbrand2011covering] could only solve with approximation factor 1+ϵ at a cost in the exponent. In 2015, a (2+o\originalleft(1\aftergroup\originalright))n sieve for exact was finally proven by Aggarwal, Dadush and Stephen-Davidowitz [@FOCS:AggDadSte15] thanks to the properties of discrete Gaussians.
Many algorithms for solving its relaxed variant, , have been proposed. However, they come with caveats. For example, Dadush, Regev and Stephens-Davidowitz [@dadush2014closest] give algorithms for this problem, but only with exponential time precomputations. Babai [@Babai86 Theorem 3.1] showed that one can reach an 22n-approximation factor for in polynomial time. To the authors’ knowledge, this has never been improved (while keeping the polynomial-time requirement), though the approximation factor for has been significantly reduced [@Schnorr87; @C:HanPujSte11; @EC:MicWal16].
We aim at solving the relaxed version of for relatively large approximation factors, and study the tradeoff between the quality of the approximation of the solution found and the time required to actually find it. In particular, we exhibit a hierarchy of polynomial-time algorithms solving , ranging from Babai’s nearest plane algorithm to an actual oracle.
Contributions and summary of the techniques {#contributions-and-summary-of-the-techniques .unnumbered}
In [sec:nearest_coplane] we introduce our so-called [[****]{}]{} algorithm. Inspired by Babai’s algorithm, it shows that in practice, we can achieve the performance of Kannan’s embedding but with a basis which is independent of the target vector. Denote by T(β) (resp. T\mbox\textsccvp\xspace(β)) the time required to solve β-Hermite- (resp. exactly solve ) in rank β). Quantitatively, we show that:
Let β>0 be a positive integer and B be a basis of a lattice Λ of rank n>2β. After precomputations using a time bounded by T(β)(n+log∥B∥)O\originalleft(1\aftergroup\originalright), given a target t∈ΛR and under a heuristic on the covering radius of random lattice, the algorithm [[****]{}]{} finds a vector x∈Λ such that ∥x−t∥≤Θ(β)2β in time T\mbox\textsccvp\xspace.
Furthermore, the structure of the algorithms allow time-memory tradeoff and batch oracle to be used.
We believe that this algorithm has been in the folklore for some time, and it is somehow hinted in ModFalcon’s security analysis [@modfalcon Subsection 4.2], but without analysis of the heuristics introduced.
Our second contribution is an algorithm, which gives a time-quality tradeoff similar to the one given by the bkz algorithm [@Schnorr87; @C:HanSte07], or variants of it [@STOC:GamNgu08; @aggarwal2019slide]. Note however that the approximation factor is significantly higher than the corresponding theorems for . Written as a reduction, we prove that, for a γ- oracle [O]{}:
Let Λ be a lattice of rank n. Then one can solve the (n23γ3)-closest vector problem in Λ, using 2n2 calls to the oracle [O]{} during precomputation, and polynomial-time computations.
Babai’s algorithm requires that the Gram-Schmidt norms do not decrease by too much in the reduced basis. While this is true for a reduced basis [@LLL82], we do not know a way to guarantee this in the general case. To overcome this difficulty, the proof technique goes as follows: first we show that it is possible to find a vector within distance 2nγλn(Λ) of the target vector, with the help of a highly-reduced basis. This is not enough, as the target can be very closed compared to λn(Λ). We treat this peculiar case by finding a short vector in the dual lattice and then directly compute the inner product of the close vectors with our short dual vector. In the other case, Banaszczyk’s transference theorem [@banaszczyk1993new] guarantees that λn(Λ) is comparable to the distance to the lattice, so that we can use our first algorithm directly.
Based on a result due to Kannan (see for instance [@dubey2011approximating]) that nγ2 reduces to γ-. Combined with the reduction from γ2- to γ- of [@lovasz1986algorithmic], we get a polynomial time reduction from nγ4- to γ-. Hence, our result is better when n23γ3 is smaller than nγ4, i.e., when n<γ.
Algebraic and computational background {#sec:background}
In this preliminary section, we recall the notions of geometry of numbers used throughout this paper, the computational problems related to \mbox\textscsvp and \mbox\textsccvp\xspace, and a brief presentation of some lattice reduction algorithms solving these problems.
Notations and conventions {#notations-and-conventions .unnumbered}
General notations {#general-notations .unnumbered}
The bold capitals Z, Q and R refer as usual to the ring of integers and respectively the field of rational and real numbers. Given a real number x, the integral roundings floor, ceil and round to the nearest integer are denoted respectively by ⌊x⌋,⌈x⌉,⌊x⌉. All logarithms are taken in base 2, unless explicitly stated otherwise.
The generic complexity model used in this work is the random-access machine (RAM) model and the computational cost is measured in operations.
Euclidean lattices and their geometric invariants {#sec:euclidean_spaces}
Lattices {#sec:definitions}
A (real) latticeΛ is a finitely generated free Z-module, endowed with a Euclidean norm ∥.∥ on the real vector space ΛR=Λ⊗ZR.
We may omit to write down the norm to refer to a lattice Λ when any ambiguity is removed by the context. By definition of a finitely-generated free module, there exists a finite family (v1,…,vn)∈Λn such that Λ=⨁i=1nviZ, called a basis of Λ. Every basis has the same number of elements rk(Λ), called the rank of the lattice.
Let (Λ,∥⋅∥) be a lattice, and let Λ′ be a submodule of Λ. Then the restriction of ∥⋅∥ to Λ′ endows Λ with a lattice structure. The pair (Λ′,∥⋅∥) is called a sublattice of Λ. In the following of this paper, we restrict ourselves to so-called pure sublattices, that is such that the quotient \faktorΛΛ′ is torsion-free. In this case, the quotient can be endowed with a canonical lattice structure by defining: ∥v+Λ′∥Λ/ This lattice is isometric to the projection of Λ orthogonally to the subspace of ΛR spanned by Λ′.
On effective lifting.
Given a coset v+Λ′ of the quotient \faktorΛΛ′, we might need to find a representative of this class in Λ. While any element could be theoretically taken, from an algorithmic point of view, we shall take an element of norm somewhat small, so that its coefficients remain polynomial in the input representation of the lattice. An effective solution to do so consists in using for instance the Babai’s rounding or Babai’s nearest plane algorithms. For completeness purpose we recast here the pseudo-code of such a [[****]{}]{} function using the nearest-plane procedure.
Compute the Gram-Schmidt orthogonalization (v1∗,…,vk∗) of Bs←−tt+s
Orthogonality and algebraic duality {#sec:algebraic_nuality}
The dual lattice Λ∨ of a lattice Λ is defined as the module Hom(Λ,Z) of integral linear forms, endowed with the derived norm defined by ∥φ∥=infv∈ΛR∖{0}∥v∥ for φ∈Λ∨. By Riesz’s representation theorem, it is isometric to: {x∈ΛR∣⟨x,v⟩∈Z, endowed with the dual of ∥⋅∥Λ.
Let Λ′⊂Λ be a sublattice. Define its orthogonal in Λ to be the sublattice Λ⊥′={x∈Λ∨:⟨x,Λ′⟩=0} of Λ∨. It is isometric to \originalleft(\faktorΛΛ′\aftergroup\originalright)∨, and by biduality Λ′∨⊥ shall be identified with \faktorΛΛ′.
Filtrations {#sec:filtrations}
A filtration (or flag) of a lattice Λ is an increasing sequence of submodules of Λ, i.e. each submodule is a proper submodule of the next: {0}=Λ0⊂Λ1⊂Λ2⊂⋯⊂Λk=Λ. If we write the rk(Λi)=di, then we have: 0=d0<d1< A filtration is called complete if di=i for all i.
Successive minima, covering radius and transference {#sec:minima}
[R]{}[0.3]{}
(0,-1.2) – (0,3.8); (-1.1,0) – (3.8,0); (0,0) – (1,1); (0,0) – (-1,1); (0.6,1) node [u]{}; (-0.6,1) node [v]{}; (2,2) circle [radius=1]; (3,1) circle [radius=1]; (1,3) circle [radius=1]; (3,3) circle [radius=1]; (2,2) circle [radius=1]; (3,1) circle [radius=1]; (1,3) circle [radius=1]; (3,3) circle [radius=1]; (3,1) – (4,1); (3.55,1.2) node [μ(Λ)]{}; (-1,3) circle [radius=0.1]; (1,-1) circle [radius=0.1]; (-1,-1) circle [radius=0.1]; (-1,1) circle [radius=0.1]; (3,-1) circle [radius=0.1]; (0,0) circle [radius=0.1]; (0,2) circle [radius=0.1]; (1,1) circle [radius=0.1]; (1,3) circle [radius=0.1]; (3,1) circle [radius=0.1]; (2,0) circle [radius=0.1]; (2,2) circle [radius=0.1]; (3,3) circle [radius=0.1];
Let Λ be a lattice of rank n. By discreteness in ΛR, there exists a vector of minimal norm in Λ. This parameter is called the first minimum of the lattice and is denoted by λ1(Λ). An equivalent way to define this invariant is to see it as the smallest positive real r such that the lattice points inside a ball of radius r span a space of dimension 1. This definition leads to the following generalization, known as successive minima.
Let Λ be a lattice of rank n. For 1≤i≤n, define the i-th minimum of Λ as λi(Λ)=inf{r∈R∣dim(span(Λ∩B(0,r)))≥i}.
The covering radius a lattice Λ or rank n is defined as μ(Λ)=maxx∈ΛRdist(x,Λ).
It means that for any vector of the ambient space x∈ΛR there exists a lattice point v∈Λ at distance smaller than μ(Λ).
We now recall Banaszczyk’s transference theorem, relating the extremal minima of a lattice and its dual:
[thm:transference] For any lattice Λ of dimension n, we have 1≤2λ1(Λ∨)μ(Λ)≤n, implying, 1≤λ1(Λ∨)λn
Computational problems in geometry of numbers
The shortest vector problem {#sec:shortest_vector_problem}
In this section, we introduce formally the problem and its variants and discuss their computational hardness.
Let γ=γ(n)≥1. The γ-Shortest Vector Problem (γ-) is defined as follows.
Input
: A basis (v1,…,vn) of a lattice Λ and a target vector t∈ΛR.
Output
: A lattice vector v∈Λ∖{0} satisfying ∥v∥≤γλ1(Λ).
In the case where γ=1, the corresponding problem is simply called .
is -hard under randomized reductions for every constant approximation factor.
A variant of the problem consists of finding vectors within Hermite-like inequalities.
Let γ=γ(n)≥1. The γ-Hermite Shortest Vector Problem (γ-) is defined as follows.
Input
: A basis (v1,…,vn) of a lattice Λ.
Output
: A lattice vector v∈Λ∖{0} satisfying ∥v∥≤γcovol(Λ)n1.
There exists a simple polynomial-time dimension-preserving reduction between these two problems, as stated by Lovász in [@lovasz1986algorithmic 1.2.20]:
[thm:lovasz_reduction] One can solve γ2- using 2n calls to a γ- oracle and polynomial time.
This can be slightly improved in case the oracle is built from a oracle in lower dimension [@aggarwal2019slide].
An oracle for γ-
We note T(β) a function such that we can solve O\originalleft(β\aftergroup\originalright)- in time at most T(β) times the input size. We have the following bounds on T, depending on if we are looking at an algorithm which is:
Deterministic
: T(β)=(4+o\originalleft(1\aftergroup\originalright))β/2, proven by Micciancio and Voulgaris in[@SODA:MicVou10];
Randomized
: T(β)=(4/3+o\originalleft(1\aftergroup\originalright))β/2 , introduced by Wei, Liu and Wang in [@RSA:WeiLiuWan15];
Heuristic
: T(β)=(3/2+o\originalleft(1\aftergroup\originalright))β/2 in [@SODA:BDGL16] by Becker, Ducas, Gama, Laarhoven.
There also exists variants for quantum computers [@laarhoven2015finding], and time-memory tradeoffs, such as [@PKC:HerKirLaa18]. By providing a back-and-forth strategy coupled with enumeration in the dual lattice, the self dual block Korkine-Zolotarev () algorithm provides an algorithm better than the famous bkz algorithm.
[thm:BKZ] There exists an algorithm ouputting a vector v of a lattice Λ satisfying: ∥v∥≤β2(β−1)n−1⋅covol(Λ)n1. Such a bound can be achieved in time (n+log∥B∥)O\originalleft(1\aftergroup\originalright, where B is the integer input basis representing Λ.
The bound we get is a direct consequence of [@EC:MicWal16 Theorem 1]. We only replaced the Hermite constantγβ by an upper bound in O\originalleft(β\aftergroup\originalright).
A stronger variant of this estimate is heuristically true, at least for “random” lattices, as it is suggested by the Gaussian Heuristic in [@EC:MicWal16 Corollary 2]. Under this assumption, one can bound not only the length of the first vector but also the gap between the covolumes of the filtration induced by the outputted basis.
[thm:HBKZ] There exists an algorithm ouputting a complete filtration of a lattice Λ satisfying: covol(\faktorΛiΛi−1)≈Θ(β)2(β−1)n+1−2icovol(Λ) Such a bound can be achieved in time (n+log∥B∥)O\originalleft(1\aftergroup\originalright, where B is the integer-valued input basis. Further, we have: Θ(β
The closest vector problem {#sec:closest_vector_problem}
In this section we introduce formally the problem and its variants and discuss their computational hardness.
Let γ=γ(n)≥1. The γ-Closest Vector Problem (γ-) is defined as follows.
Input
: A basis (v1,…,vn) of a lattice Λ and a target vector t∈Λ⊗R.
Output
: A lattice vector v∈Λ satisfying ∥x−t∥≤γminv∈Λ∥v−t∥.
In the case where γ=1, the corresponding problem is called .
nloglognc- is -hard for any c>0.
We let T\mbox\textsccvp\xspace(β) be such that we can solve in dimension β in running time bounded by T\mbox\textsccvp\xspace(β) times the size of the input. Hanrot and Stehlé proved ββ/2+o\originalleft(β\aftergroup\originalright) with polynomial memory [@C:HanSte07]. Sieves can provably reach (2+o\originalleft(1\aftergroup\originalright))β with exponential memory [@FOCS:AggDadSte15]. More importantly for this paper, heuristic sieves can reach (4/3+o\originalleft(1\aftergroup\originalright))β/2 for solving an entire batch of 20.058β instances [@sieve20].
The nearest colattice algorithm {#sec:nearest_coplane}
We aim at solving the γ− by recursively exploiting the datum of a filtration Λ0⊂Λ1⊂⋯⊂Λk=Λvia recursive approximations. The central object used during this reduction is the nearest colattice relative to a target vector.
In this section, and the next one, we assume that the size of the bases is always small, essentially as small as the input basis. This is classic, and can be easily proven.
Nearest colattice to a vector
[def:nearest_colattice] Let 0→Λ′→Λ→\faktorΛΛ′→0 be a short exact sequence of lattices, and set t∈ΛR a target vector. A nearest Λ′-colattice to t is a coset vˉ=v+Λ′∈\faktorΛΛ which is the closest to the projection of t in \faktorΛRΛR′, i.e. such that: vˉ=argminv∈Λ∥
This definition makes sense thanks to the discreteness of the quotient lattice \faktorΛΛ′ in the real vector space \faktorΛRΛR′.
To illustrate this definition, we give two examples in dimension 3, of rank 1 and 2 nearest colattices. Set Λ a rank 3 lattice, and fix Λ1 and Λ2 two pure sublattices of respective rank 1 and 2. Denote by πi the canonical projection onto the quotient \faktorΛΛi, which is of dimension 3−i for i∈{1,2}. The Λi-closest colattice to t, denoted by vi+Λi is such that πi(vi) is a closest vector to πi(t) in the corresponding quotient lattice. Figures (a) and (b) respectively depict these situations.
A computational insight on [def:nearest_colattice] is to view a nearest colattice as a solution to an instance of exact- in the quotient lattice \faktorΛΛ′.
Taking the same notations as in [def:nearest_colattice], let us project t orthogonally onto the affine space v+ΛR′, and take w a closest vector to this projection. The vector w is then relatively close to t. Let us quantify its defect of closeness towards an actual closest vector to t:
[prop:defect_target] With the same notations as above: ∥t−w∥2≤μ\originalleft(\faktorΛΛ′\aftergroup\originalright)2+μ\originalleft(Λ′\aftergroup\originalright)2
Clear by Pythagoras’ theorem.
By definition of the covering radius, we then have:
[cor:subadditivity] short exact sequence of lattices. Then we have: μ(Λ)2≤μ\originalleft(\faktorΛΛ′\aftergroup\originalright)2+μ\originalleft(Λ′\aftergroup\originalright)2
This inequality is tight, as being an equality when there exists a sublattice Λ′′ such that Λ′⊕Λ′′=Λ and Λ′′⊆Λ⊥′.
Recursion along a filtration
Let us now consider a filtration Λ0⊂Λ1⊂⋯⊂Λk=Λ and a target vector t∈ΛR. Repeatedly applying [cor:subadditivity] along the subfiltrations 0⊂Λi⊂Λi+1, yields a sequence of inequalities μ(Λi+1). The telescoping sum now gives the relation: μ(Λ)2≤∑i=1 This formula has a very natural algorithmic interpretation as a recursive oracle for approx-:
Starting from the target vector t, we solve the instance corresponding to π(t) in the quotient \faktorΛkΛk−1 with π the canonical projection onto this quotient to find v+Λk−1 the nearest Λk−1-colattice to t.
We then project t orthogonally onto v+(Λk−1⊗Z. Call this vector.
A recursive call to the algorithm on the instance (t′−v,Λ0⊂⋯⊂ yields a vector .
Return w+v.
Its translation in pseudo-code is given in an iterative manner in the algorithm [[****]{}]{}.
s←−tt+s
[prop:sum_covering] Let B be a basis of a lattice Λ of rank n. Given a target t∈ΛR, the algorithm [[****]{}]{} finds a vector x∈Λ such that ∥x−t∥2≤∑ in time T\mbox\textsccvp\xspace, where β is the largest gap of rank in the filtration: β=maxi(rk(Λi+1)−.
The bound on the quality of the approximation is a direct consequence of the discussion conducted before. The running time bound derives from the definition of TCVP and on the fact that the [[****]{}]{} operations can be conducted in polynomial time.
[rem:babai] In the specific case where the filtration is complete, that is to say that rk(Λi)=i for each 1≤i≤n, the [[****]{}]{} algorithm coincides with the so-called Babai’s nearest plane algorithm. In particular, it recovers a vector at distance ∑i=1nμ\originalleft(\faktorΛiΛ by using that for each index i, we have μ\originalleft(\faktorΛi as these quotients are one-dimensional.
The bound given in [prop:sum_covering] is not easily instantiable as it requires to have access to the covering radius of the successive quotients of the filtration. However, under a mild heuristic on random lattices, we now exhibit a bound which only depends on the parameter β and the covolume of Λ.
On the covering radius of a random lattice
In this section we prove that the covering radius of a random lattice behaves essentially in rk(Λ).
In 1945, Siegel [@Siegel] proved that the projection of the Haar measure of SLn(R) over the quotient SLn(R)/SLn(Z) is of finite mass, yielding a natural probability distribution νn over the moduli space Ln of unit-volume lattices. By construction this distribution is translation-invariant, that is, for any measurable set S⊆Ln and all U∈SLn(Z), we have νn(S)=νn(SU). A random lattice is then defined as a unit-covolume lattice in Rn drawn under the probability distribution νn.
We first recall an estimate due to Rogers [@rogers1955mean], giving the expectation1 of the number of lattice points in a fixed set.
[thm:rogers] Let n≤4 be an integer and ρ be the characteristic function of a Borel set C of Rn whose volume is V, centered at 0. Then:
This allows to prove that the first minimum of a random lattice is greater than a multiple of n.
[lem:estimate_lambda1] Let Λ be a random lattice of rank n. Then, with probability 1−2−Ω(n), λ1(Λ)>cn for a universal constant c>0.
Consider the ball C of volume 0.99n. It has a radius lower bounded by cn. By [thm:rogers], the expectation of the number of lattice points in C is at most 128\originalleft(43 This estimate thus bounds the probability that there exists a non-zero lattice vector in C by 1−2−Ω(n), using Markov’s inequality.
Using the transference theorem, we then derive the following estimate on the covering radius of a random lattice:
Let Λ be a random lattice of rank n. Then, with probability 1−2−Ω(n), μ(Λ)<dn for a universal constant d.
First remark that the dual lattice Λ∨ follows the same distribution. Hence, using the estimate of [lem:estimate_lambda1], we know that with probability 1−2−Ω(n), λ1(Λ∨)>cn. Banaszczyk’s transference theorem indicates that in this case, μ(Λ)≤λ1(Λ∨ concluding the proof.
This justifies the following heuristic:
[heur:lambda1_heur] In algorithm [[****]{}]{}, for any index i, we have μ\originalleft(\faktorΛi+1Λi\aftergroup\originalright)≤cλ1\originalleft(\faktorΛi+1Λi\aftergroup\originalright) for some universal constant c.
The Gaussian heuristic suggests that “almost all” targets t are at distance (1+o\originalleft(1\aftergroup\originalright))λ1(Λ), so that for practical purpose in the analysis we can take c=1 in [heur:lambda1_heur].
Quality of the algorithm on random lattices
[thm:quality_complexity_average] Let β>0 be a positive integer and B be a basis of a lattice Λ of rank n>2β. After precomputations using a time bounded by T(β)(n+log∥B∥)O\originalleft(1\aftergroup\originalright), given a target t∈ΛR and under [heur:lambda1_heur], the algorithm [[****]{}]{} finds a vector x∈Λ such that ∥x−t∥≤Θ(β)2β in time T\mbox\textsccvp\xspace(β)Poly(n,.
We start by reducing the basis B of Λ using the algorithm, and collect the vectors in blocks of size β, giving a filtration: {0}=Λ0⊂Λ1⊂⋯⊂Λk=Λ, for k=\originalleft⌈βn\aftergroup\originalright⌉ and rk\originalleft(\faktorΛi+1Λi for each index i except the penultimate one, of rank n−β\originalleft⌊βn\aftergroup\originalright⌋. We define li as rk\originalleft(\faktorΛi+1Λi. By [thm:HBKZ] and finite induction in each block using the multiplicativity of the covolume over short exact sequences, we have for i<k−1 We also have Θ(β so that the previous approximation is also true for i=k−1. Using [heur:lambda1_heur] and Minkowski’s first theorem, we can estimate the covering radius of this quotient as: μ\originalleft(\faktorΛ Using [prop:sum_covering], now asserts that [[****]{}]{} returns a vector at distance from t bounded by: covol(Λ) where the last equality stems from the condition n≥2β, so that only the first term is significant.
Note that in the algorithm, all lattices depend only on Λ, not on the targets. Therefore, it is possible to use algorithms after precomputations. These algorithms are significantly faster; we refer to [@sieve20] for heuristic ones and to [@dadush2014closest; @stephens2019time] for proven approximation algorithms.
Proven algorithm with precomputation
In all of this section, let us fix an oracle [O]{}, solving the γ-. We solve with preprocessing from the oracle O.
[thm:main_result] Let Λ be a lattice of rank n. Then one can solve the (n23γ3)-closest vector problem in Λ, using 2n2 calls to the oracle [O]{} during precomputation, and polynomial time computations.
The first step of this reduction consists in proving that we can find a lattice point at a distance roughly λn(Λ).
[thm:absolu] Let Λ be a lattice of rank n and t∈Λ⊗R a target vector, then one can find a lattice vector c∈Λ satisfying ∥c−t∥≤2n using n calls to the oracle [O]{} during precomputation, and polynomial time computations.
We aim at constructing a complete filtration {0}⊂Λ1⊂⋯⊂Λn=Λ of the input lattice Λ such that for any index 1≤i≤n−1, we have: covol\originalleft(\faktorΛiΛ We proceed inductively:
By a call to the oracle [O]{} on the lattice Λ, we find a vector b1. Set Λ1=b1Z the corresponding sublattice.
Suppose that the filtration is constructed up to index i. Then we call the oracle [O]{} on the quotient sublattice \faktorΛΛi (or equivalently on the projection of Λ orthogonally to ), and lift the returned vector using the [[****]{}]{} function in . Eventually we set .
At each index, we have by construction λn−i+1\originalleft(\faktorΛΛi\aftergroup\originalright)≤λn(Λ). As such, covol\originalleft(\faktorΛΛi\aftergroup\originalright), and, eventually, we have for each index i: covol\originalleft(\faktorΛiΛ
As stated in [rem:babai], Babai’s algorithm on the point t returns a lattice vector c∈Λ such that: ∥c−t∥≤∑i=1nμ\originalleft(\faktorΛi
For a random lattice, we expect λn(Λ)≈ncovol(Λ)n1, so that the distance between the decoded vector and the target is only a factor γ times larger than the guaranteed output of the oracle.
We can now complete the reduction: Proof of [thm:main_result]. Let Λ be a rank n lattice. Without loss of generality, we might assume that the norm ∥.∥ of Λ coincides with its dual norm, so that the dual Λ∨ can be isometrically embedded in ΛR. We first find a non-zero vector in the dual lattice: c∈Λ∨, where ∥c∥≤γ2λ1(Λ∨) using Lovász’s reduction stated in [thm:lovasz_reduction] on the oracle [O]{}. Define v∈Λ and e∈Λ⊗R to satisfy t=v+e with ∥e∥ minimal. We now have two cases, depending on how large is the error term e:
Case ∥c∥∥e∥≥1/2 (large case)
: Then, by pluging Banaszczyk’s transference inequality to the bound on ∥c∥ we get: ∥e∥≥2γ2λ1(Λ∨)1≥2nγ2λn(Λ). Thus, we can use [thm:absolu] to solve with approximation factor equal to: 2n
Case ∥c∥∥e∥<1/2 (small case)
:
Overall, we get the following corollary by using the Micciancio-Voulgaris algorithm for the oracle [O]{}:
We can solve βO\originalleft(βn\aftergroup\originalright)- deterministically in time bounded by 2β times the size of the input.
Using exactly the scheme proof scheme, we can refine the approximation factor to a n3/2γSγ by using a separate γS-SVP oracle instead of using γ- as a γ2- oracle.
Cryptographic perspectives {#sec:applications}
In cryptography, the Bounded Distance Decoding (bdd) problem2 has a lot of importance, as it directly relates to the celebrated Learning With Error problem (lwe) [@regev2009lattices]. This latter problem can be reduced to , however our theoretical reduction with has a loss which is too large to be competitive.
In the so-called GPV framework [@STOC:GenPeiVai08], instantiated in the DLP cryptosystem [@AC:DucLyuPre14] and its follow-ups Falcon [@fouque2018falcon], ModFalcon [@modfalcon], a valid signature is a point close to a target, which is the hash of the message. Hence, forging a signature boils down to finding a close vector to a random target. Our first (heuristic) result implies that, once a reduced basis has been found, forging a message is relatively easy. Previous methods such as in [@fouque2018falcon] used Kannan’s embedding [@kannan1987minkowski] so that the cost given only applies for one forgery, whereas a batch forgery is possible for roughly the same cost.
The same remark applies for practically solving the bdd problem, and indeed the lwe problem. Once a highly reduced basis is found, it is enough to compute a on the tail of the basis, and finish with Babai’s algorithm. More precisely, by using the same notations an exploiting the proof of [thm:quality_complexity_average], a sufficient condition for decoding will be: ∥π(e)∥≤θ(β)2β2β−ncovol(Λ)n1, where, π is the orthogonal projection onto \faktorΛΛk and β is the rank of this latter lattice.
This trick seems to have been in the folklore for some time, and is the reason given by NewHope [@USENIX:ADPS16] designers for selecting a random “a”, which corresponds to a random lattice (where the authors of [@USENIX:ADPS16] claim that Babai’s algorithm is enough, but it seems to be practically true in general for an extremely well reduced basis, i.e. with more precomputations performed).
Acknowledgments {#acknowledgments .unnumbered}
This work was done while the authors were visiting the Simons Institute for the theory of computing in February 2020. They also thanks the anonymous reviewers for their insightful comments on this work.
[10]{}
D. Aggarwal, D. Dadush, and N. [Stephens-Davidowitz]{}. Solving the closest vector problem in [2n]{} time - the discrete [Gaussian]{} strikes again! In [56th FOCS]{}. [IEEE]{} Computer Society Press. 2015.
D. Aggarwal, J. Li, P. Q. Nguyen, and N. Stephens-Davidowitz. Slide reduction, revisited—filling the gaps in [SVP]{} approximation. , 2019.
M. Ajtai, R. Kumar, and D. Sivakumar. Sampling short lattice vectors and the closest lattice vector problem. In [Proceedings 17th IEEE Annual Conference on Computational Complexity]{}. IEEE, 2002.
E. Alkim, L. Ducas, T. P[ö]{}ppelmann, and P. Schwabe. Post-quantum key exchange - [A]{} new hope. In [USENIX Security 2016.]{}
L. Babai. . , 6(1), 1986.
W. Banaszczyk. New bounds in some transference theorems in the geometry of numbers. , 296(1), 1993.
A. Becker, L. Ducas, N. Gama, and T. Laarhoven. New directions in nearest neighbor searching with applications to lattice sieving. In [27th SODA]{}. [ACM-SIAM]{}, 2016.
J. Bl[ö]{}mer and S. Naewe. Sampling methods for shortest vectors, closest vectors and successive minima. , 410(18) 2009.
C. Chuengsatiansup, T. Prest, D. Stehl[é]{}, A. Wallet, and K. Xagawa. Modfalcon: compact signatures based on module [NTRU]{} lattices. , 2019.
D. Dadush, O. Regev, and N. Stephens-Davidowitz. On the closest vector problem with a distance guarantee. In [2014 IEEE 29th Conference on Computational Complexity (CCC)]{}, IEEE, 2014.
I. Dinur, G. Kindler, and S. Safra. Approximating-[CVP]{} to within almost-polynomial factors is np-hard. In [Proceedings 39th Annual Symposium on Foundations of Computer Science]{}. IEEE, 1998.
C. Dubey, and T .Holenstein. Approximating the closest vector problem using an approximate shortest vector oracle Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques. 2011
L. Ducas, T. Laarhoven, and W. P. van Woerden. The randomized slicer for [CVPP]{}: sharper, faster, smaller, batchier. Cryptology ePrint, Report 2020/120.
L. Ducas, V. Lyubashevsky, and T. Prest. Efficient identity-based encryption over [NTRU]{} lattices. In [ASIACRYPT 2014]{}. Springer 2014.
F. Eisenbrand, N. H[ä]{}hnle, and M. Niemeier. Covering cubes and the closest vector problem. In [the 27th symposium on Computational geometry]{}, 2011.
P.-A. Fouque, J. Hoffstein, P. Kirchner, V. Lyubashevsky, T. Pornin, T. Prest, T. Ricosset, G. Seiler, W. Whyte, and Z. Zhang. Falcon: Fast-fourier lattice-based compact signatures over [NTRU]{}. , 2018.
N. Gama and P. Q. Nguyen. Finding short lattice vectors within [Mordell]{}’s inequality. In [40th ACM STOC]{}. [ACM]{} Press, 2008.
C. Gentry, C. Peikert, and V. Vaikuntanathan. Trapdoors for hard lattices and new cryptographic constructions. In [40th ACM STOC]{}. [ACM]{} Press, 2008.
O. Goldreich, D. Micciancio, S. Safra, and J.-P. Seifert. Approximating shortest lattice vectors is not harder than approximating closest lattice vectors. , 71(2) 1999.
G. Hanrot, X. Pujol, and D. Stehl[é]{}. Analyzing blockwise lattice algorithms using dynamical systems. In [CRYPTO 2011]{}. Springer, 2011.
G. Hanrot and D. Stehl[é]{}. Improved analysis of kannan’s shortest lattice vector algorithm. In [CRYPTO 2007]{}. Springer, 2007.
I. Haviv and O. Regev. Tensor-based hardness of the shortest vector problem to within almost polynomial factors. In [39th ACM STOC]{}. [ACM]{} Press, 2007.
G. Herold, E. Kirshanova, and T. Laarhoven. Speed-ups and time-memory trade-offs for tuple lattice sieving. In [PKC 2018]{}. Springer, 2018.
R. Kannan. Minkowski’s convex body theorem and integer programming. , 12(3) 1987.
T. Laarhoven, M. Mosca, and J. Van De Pol. Finding shortest lattice vectors faster using quantum search. , 77(2-3) 2015.
A. K. Lenstra, H. W. J. Lenstra, and L. Lov[á]{}sz. . , 261 1982.
L. Lov[á]{}sz. SIAM, 1986.
D. Micciancio and P. Voulgaris. Faster exponential time algorithms for the shortest vector problem. In [21st SODA]{}. [ACM-SIAM]{}, 2010.
D. Micciancio and M. Walter. Practical, predictable lattice basis reduction. In [EUROCRYPT 2016]{}. Springer, 2016.
P. Q. Nguyen and B. Vall[é]{}e. . Springer, 2010.
O. Regev. On lattices, learning with errors, random linear codes, and cryptography. , 56(6) 2009.
C. A. Rogers et al. Mean values over the space of lattices. , 94 1955.
C. Schnorr. . , 53 1987.
C. L. Siegel. . , 46(2) 1945.
N. Stephens-Davidowitz. A time-distance trade-off for [GDD]{} with preprocessing—instantiating the [DLW]{} heuristic. , 2019.
W. Wei, M. Liu, and X. Wang. Finding shortest lattice vectors in the presence of gaps. In [CT-RSA 2015]{}. Springer, 2015.
Footnotes
The result proved by Rogers is actually more general and bounds all the moment of the enumerator of lattice points. For the purpose of this work, only the first moment is actually required. ↩
This problem being defined as finding the closest lattice vector of a target, provided it is within a fraction of λ1(Λ). ↩
The abstract and body of this text focus on complex mathematical and computational problems related to lattices, specifically the Closest Vector Problem (CVP) and its approximate variants. Below, I have processed and marked the text segments that would typically prompt either System 1 or System 2 thinking.
Processed Output with System 1 and System 2 Responses
The abstract introduces advanced computational challenges in lattice-based problems, hinting at the implications for cryptographic applications.
[sys1]
Lattices are discrete grids in Euclidean space.
Closest Vector Problem (CVP) involves finding the nearest lattice point to a given target.
The Shortest Vector Problem (SVP) seeks the smallest non-zero lattice point.
[end sys1]
[sys2]
2.1 Understand the Problem:
The paper aims to introduce and analyze algorithms that solve approximate variants of the Closest Vector Problem (CVP). These algorithms must balance trade-offs between solution quality and computational efficiency.
Reflection:
"What specific challenges do these algorithms face in achieving computational efficiency? Are the constraints more theoretical, dealing with polynomial time, or practical, dealing with digital cryptography?"
Creative Perspective:
"Are there novel ways lattices can be explored beyond traditional cryptographic applications? Could unconventional approaches in lattice theory lead to innovations in computing efficiency?"
2.2 Analyze the Information:
The problem dissects a variety of algorithms that approach CVP and SVP, including enumeration, Voronoi cell computations, and sieving.
Reflection:
"Is each solution covering all possible computational complexities involved? Do these techniques remain viable as dimensionality increases?"
Creative Perspective:
"Can new technologies like quantum computing introduce alternative methods for simplifying or accelerating these algorithms?"
2.3 Generate Hypotheses:
Lattice problems may have faster solutions with quantum algorithms (Confidence: 0.6, Creative: 0.9).
New heuristic approaches might offer better approximations for larger dimensions (Confidence: 0.6, Creative: 0.8).
A stronger emphasis on the geometric properties of lattices could improve CVP solutions (Confidence: 0.5, Creative: 0.9).
Developing software that adapts to specific lattice structures might optimize calculations (Confidence: 0.7, Creative: 0.7).
Integrating probabilistic or machine learning methods could aid in creating more efficient algorithms (Confidence: 0.5, Creative: 0.8).
Understanding covering radius more deeply could provide solution pathways (Confidence: 0.6, Creative: 0.7).
Reducing the scope of problems to simpler sub-problems might facilitate solution (Confidence: 0.8, Creative: 0.5).
Enhanced pre-computation strategies could offer significant savings in time (Confidence: 0.7, Creative: 0.6).
Collaborative, open-source effort may lead to breakthroughs in solving lattice problems (Confidence: 0.5, Creative: 0.9).
Reflection:
"Are these hypotheses sufficiently inclusive of potential computational benefits and technological evolution? Have major potential breakthroughs been overlooked?"
Creative Perspective:
"Could an interdisciplinary approach, pulling from fields like biology or physics, unlock fundamentally new avenues of understanding in lattice problems?"
2.4 Anticipate Future Steps and Obstacles:Objective: Consider the impact of technological changes and potential new obstacles in computing that may arise.
Reflection:
"What foreseeable challenges could arise from developments in quantum computing for these algorithms? How might traditional algorithms need to evolve in response?"
Creative Perspective:
"How could newly developed materials or computation structures such as photonic networks assist in resolving these lattice issues?"
[end sys2]
[sys1]
Key takeaways include consideration of lattice problems within cryptography and the significance of approximation algorithms in computing.
The algorithms can potentially offer breakthroughs in cryptography by enhancing security or efficiency.
[end sys1]
To effectively address lattice-based challenges, focus on new computational strategies, harness technological advancements, and anticipate cryptographic implications.
This processed output might include specific thinking strategies useful for handling mathematical or algorithmic complexity in your field while integrating both quick insights and deep analysis.