On the Quantitative Hardness of CVP Huck Bennett, Alexander - - PowerPoint PPT Presentation

on the quantitative hardness of cvp
SMART_READER_LITE
LIVE PREVIEW

On the Quantitative Hardness of CVP Huck Bennett, Alexander - - PowerPoint PPT Presentation

On the Quantitative Hardness of CVP Huck Bennett, Alexander Golovnev, Noah Stephens-Davidowitz NYCAC 2017 Outline Closest Vector Problem Applications Hardness Isolating Parallelepipeds The Closest Vector Problem n is the rank


slide-1
SLIDE 1

On the Quantitative Hardness

  • f CVP

Huck Bennett, Alexander Golovnev, Noah Stephens-Davidowitz NYCAC 2017

slide-2
SLIDE 2

Outline

■ Closest Vector Problem ■ Applications ■ Hardness ■ Isolating Parallelepipeds

slide-3
SLIDE 3

The Closest Vector Problem

slide-4
SLIDE 4

Lattice

■ A lattice L is the set of all integer combinations of linearly independent basis vectors ⃗ b1, . . . ,⃗ bn ∈ Rd L = L(⃗ b1, . . . ,⃗ bn) := {

n

i=1

zi⃗ bi : zi ∈ Z } n is the rank of , d is the (ambient) dimension

slide-5
SLIDE 5

Lattice

■ A lattice L is the set of all integer combinations of linearly independent basis vectors ⃗ b1, . . . ,⃗ bn ∈ Rd L = L(⃗ b1, . . . ,⃗ bn) := {

n

i=1

zi⃗ bi : zi ∈ Z } ■ n is the rank of L, d is the (ambient) dimension

slide-6
SLIDE 6
  • Lattice. Example

b1 b2

slide-7
SLIDE 7
  • Lattice. Example

b1 b2 b1 + b2

slide-8
SLIDE 8
  • Lattice. Example

b1 b2 b1 + b2 2b1 + b2

slide-9
SLIDE 9
  • Lattice. Example

b1 b2 b1 + b2 2b1 + b2

slide-10
SLIDE 10
  • Lattice. Example

b1 b2 b1 + b2 2b1 + b2 t

slide-11
SLIDE 11
  • Lattice. Example

b1 b2 b1 + b2 2b1 + b2 t

slide-12
SLIDE 12
  • Lattice. Example

b1 b2

slide-13
SLIDE 13
  • Lattice. Example

b1 b2 t

slide-14
SLIDE 14
  • Lattice. Example

b1 b2 t

slide-15
SLIDE 15

Closest Vector Problem

■ Given a basis for a L ⊂ Rd and a target t ∈ Rd, compute the distance from t to L Distance is defjned in terms of the

p norm;

for 1 p : x p x1

p

x2

p

xd

p 1 p

for p : x

1 i d xi

CVPp —Closest Vector Problem in the

p norm

slide-16
SLIDE 16

Closest Vector Problem

■ Given a basis for a L ⊂ Rd and a target t ∈ Rd, compute the distance from t to L ■ Distance is defjned in terms of the ℓp norm; for 1 ≤ p < ∞: ∥⃗ x∥p := (|x1|p + |x2|p + · · · + |xd|p)1/p for p = ∞: ∥⃗ x∥∞ := max

1≤i≤d |xi|

CVPp —Closest Vector Problem in the

p norm

slide-17
SLIDE 17

Closest Vector Problem

■ Given a basis for a L ⊂ Rd and a target t ∈ Rd, compute the distance from t to L ■ Distance is defjned in terms of the ℓp norm; for 1 ≤ p < ∞: ∥⃗ x∥p := (|x1|p + |x2|p + · · · + |xd|p)1/p for p = ∞: ∥⃗ x∥∞ := max

1≤i≤d |xi|

■ CVPp —Closest Vector Problem in the ℓp norm

slide-18
SLIDE 18

Applications

slide-19
SLIDE 19

Applications

■ Factoring polynomials over the rationals [LLL’82] Integer Programming [Len83,Kan87,DPV11] Cryptanalysis [Odl90,JS98,NS01]

slide-20
SLIDE 20

Applications

■ Factoring polynomials over the rationals [LLL’82] ■ Integer Programming [Len83,Kan87,DPV11] Cryptanalysis [Odl90,JS98,NS01]

slide-21
SLIDE 21

Applications

■ Factoring polynomials over the rationals [LLL’82] ■ Integer Programming [Len83,Kan87,DPV11] ■ Cryptanalysis [Odl90,JS98,NS01]

slide-22
SLIDE 22

Lattice-Based Cryptography

■ Conjectured Quantum Security Effjciency, Parallelism, Simplicity Worst-Case Hardness Proofs Powerful Cryptography: FHE, ABE About to be Deployed

slide-23
SLIDE 23

Lattice-Based Cryptography

■ Conjectured Quantum Security ■ Effjciency, Parallelism, Simplicity Worst-Case Hardness Proofs Powerful Cryptography: FHE, ABE About to be Deployed

slide-24
SLIDE 24

Lattice-Based Cryptography

■ Conjectured Quantum Security ■ Effjciency, Parallelism, Simplicity ■ Worst-Case Hardness Proofs Powerful Cryptography: FHE, ABE About to be Deployed

slide-25
SLIDE 25

Lattice-Based Cryptography

■ Conjectured Quantum Security ■ Effjciency, Parallelism, Simplicity ■ Worst-Case Hardness Proofs ■ Powerful Cryptography: FHE, ABE About to be Deployed

slide-26
SLIDE 26

Lattice-Based Cryptography

■ Conjectured Quantum Security ■ Effjciency, Parallelism, Simplicity ■ Worst-Case Hardness Proofs ■ Powerful Cryptography: FHE, ABE ■ About to be Deployed

slide-27
SLIDE 27

Real Life Cryptography

slide-28
SLIDE 28

Real Life Cryptography

slide-29
SLIDE 29

Real Life Cryptography

slide-30
SLIDE 30

Hardness

slide-31
SLIDE 31

Hardness of CVP

■ CVPp is NP-hard for every 1 ≤ p ≤ ∞ [vEB81] CVP2 can be solved in 2n o n time [ADS15] Cryptographic applications require quantitative hardness of CVP [ADPS16,BCD+16,NIS16]: a 2n 20-time algorithm would break these schemes in practice

slide-32
SLIDE 32

Hardness of CVP

■ CVPp is NP-hard for every 1 ≤ p ≤ ∞ [vEB81] ■ CVP2 can be solved in 2n+o(n) time [ADS15] Cryptographic applications require quantitative hardness of CVP [ADPS16,BCD+16,NIS16]: a 2n 20-time algorithm would break these schemes in practice

slide-33
SLIDE 33

Hardness of CVP

■ CVPp is NP-hard for every 1 ≤ p ≤ ∞ [vEB81] ■ CVP2 can be solved in 2n+o(n) time [ADS15] ■ Cryptographic applications require quantitative hardness of CVP [ADPS16,BCD+16,NIS16]: a 2n/20-time algorithm would break these schemes in practice

slide-34
SLIDE 34

k-SAT

■ (x1 ∨ ¬x2 ∨ . . . ∨ xk) ∧ . . . ∧ (x7 ∨ ¬x4 ∨ . . . ∨ x3) n Boolean vars, m clauses, clause length k SETH [IP99]. There exists a constant k: no algorithm solves k-SAT in 20 99n time Goal: Reduce k-SAT on n vars to CVP on a rank-n lattice

slide-35
SLIDE 35

k-SAT

■ (x1 ∨ ¬x2 ∨ . . . ∨ xk) ∧ . . . ∧ (x7 ∨ ¬x4 ∨ . . . ∨ x3) ■ n Boolean vars, m clauses, clause length ≤k SETH [IP99]. There exists a constant k: no algorithm solves k-SAT in 20 99n time Goal: Reduce k-SAT on n vars to CVP on a rank-n lattice

slide-36
SLIDE 36

k-SAT

■ (x1 ∨ ¬x2 ∨ . . . ∨ xk) ∧ . . . ∧ (x7 ∨ ¬x4 ∨ . . . ∨ x3) ■ n Boolean vars, m clauses, clause length ≤k ■ SETH [IP99]. There exists a constant k: no algorithm solves k-SAT in 20.99n time Goal: Reduce k-SAT on n vars to CVP on a rank-n lattice

slide-37
SLIDE 37

k-SAT

■ (x1 ∨ ¬x2 ∨ . . . ∨ xk) ∧ . . . ∧ (x7 ∨ ¬x4 ∨ . . . ∨ x3) ■ n Boolean vars, m clauses, clause length ≤k ■ SETH [IP99]. There exists a constant k: no algorithm solves k-SAT in 20.99n time ■ Goal: Reduce k-SAT on n vars to CVP on a rank-n lattice

slide-38
SLIDE 38

A Very Special Case: 2-SAT

x1 x2 · · · xn−1 xn x1 2α · · · x2 2α · · · . . . . . . . . . ... xn · · · 2α C1 = (x1 ∨ x2) 2 2 · · · C2 = (x1 ∨ xn) 2 · · · 2 . . . . . . . . . ... . . . . . . Cm = (xn−1 ∨ xn) · · · 2 2 α α . . . α 3 3 . . . 3

slide-39
SLIDE 39

A Very Special Case: 2-SAT

x1 x2 · · · xn−1 xn x1 2α · · · x2 2α · · · . . . . . . . . . ... xn · · · 2α C1 = (x1 ∨ x2) 2 2 · · · C2 = (x1 ∨ xn) 2 · · · 2 . . . . . . . . . ... . . . . . . Cm = (xn−1 ∨ xn) · · · 2 2 α α . . . α 3 3 . . . 3

slide-40
SLIDE 40

A Very Special Case: 2-SAT

x1 x2 · · · xn−1 xn x1 2α · · · x2 2α · · · . . . . . . . . . ... xn · · · 2α C1 = (x1 ∨ x2) 2 2 · · · C2 = (x1 ∨ xn) 2 · · · 2 . . . . . . . . . ... . . . . . . Cm = (xn−1 ∨ xn) · · · 2 2 α α . . . α 3 3 . . . 3

slide-41
SLIDE 41

A Very Special Case: 2-SAT. Proof

x1 x2 · · · xn−1 xn 2α · · · 2α · · · . . . . . . ... · · · 2α 2 2 · · · 2 · · · 2 . . . . . . ... . . . . . . · · · 2 2 α α . . . α 3 3 . . . 3 α is very large If x 0 1 n, fjrst n lines give distance n

p

If x 0 1 n, distance is n 1

p

slide-42
SLIDE 42

A Very Special Case: 2-SAT. Proof

x1 x2 · · · xn−1 xn 2α · · · 2α · · · . . . . . . ... · · · 2α 2 2 · · · 2 · · · 2 . . . . . . ... . . . . . . · · · 2 2 α α . . . α 3 3 . . . 3 α is very large If x ∈ {0, 1}n, fjrst n lines give distance nαp If x 0 1 n, distance is n 1

p

slide-43
SLIDE 43

A Very Special Case: 2-SAT. Proof

x1 x2 · · · xn−1 xn 2α · · · 2α · · · . . . . . . ... · · · 2α 2 2 · · · 2 · · · 2 . . . . . . ... . . . . . . · · · 2 2 α α . . . α 3 3 . . . 3 α is very large If x ∈ {0, 1}n, fjrst n lines give distance nαp If x ̸∈ {0, 1}n, distance is ≥ (n + 1)αp

slide-44
SLIDE 44

A Very Special Case: 2-SAT. Proof

x1 x2 · · · xn−1 xn 2α · · · 2α · · · . . . . . . ... · · · 2α 2 2 · · · 2 · · · 2 . . . . . . ... . . . . . . · · · 2 2 α α . . . α 3 3 . . . 3 x ∈ {0, 1}n sat clause con- tributes 1 to the distance unsat clause contributes 3p 1

slide-45
SLIDE 45

A Very Special Case: 2-SAT. Proof

x1 x2 · · · xn−1 xn 2α · · · 2α · · · . . . . . . ... · · · 2α 2 2 · · · 2 · · · 2 . . . . . . ... . . . . . . · · · 2 2 α α . . . α 3 3 . . . 3 x ∈ {0, 1}n sat clause con- tributes 1 to the distance unsat clause contributes 3p 1

slide-46
SLIDE 46

A Very Special Case: 2-SAT. Proof

x1 x2 · · · xn−1 xn 2α · · · 2α · · · . . . . . . ... · · · 2α 2 2 · · · 2 · · · 2 . . . . . . ... . . . . . . · · · 2 2 α α . . . α 3 3 . . . 3 x ∈ {0, 1}n sat clause con- tributes 1 to the distance unsat clause contributes 3p > 1

slide-47
SLIDE 47

MAX-2-SAT

■ Given an instance of 2-SAT, we construct an instance of CVPp, s.t.

■ If all clauses are sat —distance is small ■ If not all clauses are sat —distance is large

Actually, the reduction gives the number of satisfjable clauses This is an NP-hard problem MAX-2-SAT Best algorithm for MAX-2-SAT runs in 2 n 3 1 74n

slide-48
SLIDE 48

MAX-2-SAT

■ Given an instance of 2-SAT, we construct an instance of CVPp, s.t.

■ If all clauses are sat —distance is small ■ If not all clauses are sat —distance is large

■ Actually, the reduction gives the number of satisfjable clauses This is an NP-hard problem MAX-2-SAT Best algorithm for MAX-2-SAT runs in 2 n 3 1 74n

slide-49
SLIDE 49

MAX-2-SAT

■ Given an instance of 2-SAT, we construct an instance of CVPp, s.t.

■ If all clauses are sat —distance is small ■ If not all clauses are sat —distance is large

■ Actually, the reduction gives the number of satisfjable clauses ■ This is an NP-hard problem MAX-2-SAT Best algorithm for MAX-2-SAT runs in 2 n 3 1 74n

slide-50
SLIDE 50

MAX-2-SAT

■ Given an instance of 2-SAT, we construct an instance of CVPp, s.t.

■ If all clauses are sat —distance is small ■ If not all clauses are sat —distance is large

■ Actually, the reduction gives the number of satisfjable clauses ■ This is an NP-hard problem MAX-2-SAT ■ Best algorithm for MAX-2-SAT runs in 2ωn/3 < 1.74n

slide-51
SLIDE 51

Generalization to k-SAT?

■ For all values of k, we want to reduce k-SAT to CVPp This would give 1 99n-hardness of CVPp under SETH A 2-SAT clause is sat ifg # of sat literals is 1 or 2 2 and 4 are equidistant from 3! For k-SAT, we can’t fjnd k numbers which are equidistant from some other number...

slide-52
SLIDE 52

Generalization to k-SAT?

■ For all values of k, we want to reduce k-SAT to CVPp ■ This would give 1.99n-hardness of CVPp under SETH A 2-SAT clause is sat ifg # of sat literals is 1 or 2 2 and 4 are equidistant from 3! For k-SAT, we can’t fjnd k numbers which are equidistant from some other number...

slide-53
SLIDE 53

Generalization to k-SAT?

■ For all values of k, we want to reduce k-SAT to CVPp ■ This would give 1.99n-hardness of CVPp under SETH ■ A 2-SAT clause is sat ifg # of sat literals is 1 or 2 2 and 4 are equidistant from 3! For k-SAT, we can’t fjnd k numbers which are equidistant from some other number...

slide-54
SLIDE 54

Generalization to k-SAT?

■ For all values of k, we want to reduce k-SAT to CVPp ■ This would give 1.99n-hardness of CVPp under SETH ■ A 2-SAT clause is sat ifg # of sat literals is 1 or 2 ■ 2 and 4 are equidistant from 3! For k-SAT, we can’t fjnd k numbers which are equidistant from some other number...

slide-55
SLIDE 55

Generalization to k-SAT?

■ For all values of k, we want to reduce k-SAT to CVPp ■ This would give 1.99n-hardness of CVPp under SETH ■ A 2-SAT clause is sat ifg # of sat literals is 1 or 2 ■ 2 and 4 are equidistant from 3! ■ For k-SAT, we can’t fjnd k numbers which are equidistant from some other number...

slide-56
SLIDE 56

Generalization to k-SAT!

■ We can fjnd k vectors which are equidistant from some other vector! Goal: Find k vectors V v1 vk

m k

and t

m, s.t.

for all non-zero y 0 1 k, Vy t p 1 for y 0k, Vy t p t p 1

slide-57
SLIDE 57

Generalization to k-SAT!

■ We can fjnd k vectors which are equidistant from some other vector! ■ Goal: Find k vectors V = (⃗ v1, . . . , ⃗ vk) ∈ Rm×k and⃗ t ∈ Rm, s.t.

■ for all non-zero⃗

y ∈ {0, 1}k, ∥V⃗ y −⃗ t∥p = 1

■ for⃗

y = 0k, ∥V⃗ y −⃗ t∥p = ∥⃗ t∥p > 1

slide-58
SLIDE 58

Generalization to k-SAT!

■ We can fjnd k vectors which are equidistant from some other vector! ■ Goal: Find k vectors V = (⃗ v1, . . . , ⃗ vk) ∈ Rm×k and⃗ t ∈ Rm, s.t.

■ for all non-zero⃗

y ∈ {0, 1}k, ∥V⃗ y −⃗ t∥p = 1

■ for⃗

y = 0k, ∥V⃗ y −⃗ t∥p = ∥⃗ t∥p > 1

v1 v2 v1 + v2 t∗

slide-59
SLIDE 59

Isolating Parallelepipeds

slide-60
SLIDE 60

Isolating Parallelepipeds

Defjnition (Isolating Parallelepiped) k vectors V = (⃗ v1, . . . , ⃗ vk) ∈ Rm×k and⃗ t ∈ Rm

■ for all non-zero⃗

y ∈ {0, 1}k, ∥V⃗ y −⃗ t∥p = 1

■ for⃗

y = 0k, ∥V⃗ y −⃗ t∥p = ∥⃗ t∥p > 1

slide-61
SLIDE 61

Isolating Parallelepipeds in ℓ1

Defjnition (Isolating Parallelepiped) k vectors V = (⃗ v1, . . . , ⃗ vk) ∈ Rm×k and⃗ t ∈ Rm

■ for all non-zero⃗

y ∈ {0, 1}k, ∥V⃗ y −⃗ t∥p = 1

■ for⃗

y = 0k, ∥V⃗ y −⃗ t∥p = ∥⃗ t∥p > 1

(0, 0) (1, 1) (2, 2) (k, k) t∗ · · ·

slide-62
SLIDE 62

Isolating Parallelepipeds in ℓ2

v1 v2 v1 + v2 t∗

Can we do for 3 vectors? No!

slide-63
SLIDE 63

Isolating Parallelepipeds in ℓ2

v1 v2 v1 + v2 t∗

Can we do for 3 vectors? No!

slide-64
SLIDE 64

Isolating Parallelepipeds in ℓ2

v1 v2 v1 + v2 t∗

Can we do for 3 vectors? No!

slide-65
SLIDE 65

Isolating Parallelepipeds

■ If p is an odd integer, then IPs always exist If p is an even integer, then IPs exist only for at most k p vectors For any k and any p p0 n with n and n 0, they exist for suffjciently large n For any fjxed k, IPs exist for all but fjnitely many values of p

slide-66
SLIDE 66

Isolating Parallelepipeds

■ If p is an odd integer, then IPs always exist ■ If p is an even integer, then IPs exist only for at most k ≤ p vectors For any k and any p p0 n with n and n 0, they exist for suffjciently large n For any fjxed k, IPs exist for all but fjnitely many values of p

slide-67
SLIDE 67

Isolating Parallelepipeds

■ If p is an odd integer, then IPs always exist ■ If p is an even integer, then IPs exist only for at most k ≤ p vectors ■ For any k and any p = p0 + δ(n) with δ(n) ̸= 0 and δ(n) → 0, they exist for suffjciently large n For any fjxed k, IPs exist for all but fjnitely many values of p

slide-68
SLIDE 68

Isolating Parallelepipeds

■ If p is an odd integer, then IPs always exist ■ If p is an even integer, then IPs exist only for at most k ≤ p vectors ■ For any k and any p = p0 + δ(n) with δ(n) ̸= 0 and δ(n) → 0, they exist for suffjciently large n ■ For any fjxed k, IPs exist for all but fjnitely many values of p

slide-69
SLIDE 69

Candidate for odd p

V :=

3 2 2 2 1 1 1

              1 1 1 1 1 −1 1 −1 1 −1 1 1 1 −1 −1 −1 1 −1 −1 −1 1 −1 −1 −1               , ⃗ t :=               t t t t t t t t               .

slide-70
SLIDE 70

Candidate for odd p

V := α3× α2× α2× α2× α1× α1× α1× α0×               1 1 1 1 1 −1 1 −1 1 −1 1 1 1 −1 −1 −1 1 −1 −1 −1 1 −1 −1 −1               , ⃗ t :=               t t t t t t t t               .

slide-71
SLIDE 71

Constraints for odd p

■ This gives a system of k linear equations on α1, . . . , αk But we need a solution with all ’s non-negative M t k k

1 k k

M 1 1 . . . 1

slide-72
SLIDE 72

Constraints for odd p

■ This gives a system of k linear equations on α1, . . . , αk ■ But we need a solution with all α’s non-negative M t k k

1 k k

M 1 1 . . . 1

slide-73
SLIDE 73

Constraints for odd p

■ This gives a system of k linear equations on α1, . . . , αk ■ But we need a solution with all α’s non-negative ■ M ∈ R(t)k×k, α = (α1, . . . , αk) ∈ Rk : M · α =      1 + ε 1 . . . 1     

slide-74
SLIDE 74

Odd p. Proof

■ M is stochastic with a positive eigenvalue, so it suffjces to show M is invertible: Let M 1 e1

1 2 1k

M 1 1 1 T M is a piecewise combination of polynomials of degree k 1 p We show that at least one of these polynomials is non-zero

slide-75
SLIDE 75

Odd p. Proof

■ M is stochastic with a positive eigenvalue, so it suffjces to show M is invertible:

■ Let α′ = M−1 · e1

1 2 1k

M 1 1 1 T M is a piecewise combination of polynomials of degree k 1 p We show that at least one of these polynomials is non-zero

slide-76
SLIDE 76

Odd p. Proof

■ M is stochastic with a positive eigenvalue, so it suffjces to show M is invertible:

■ Let α′ = M−1 · e1 ■ α = δ1 · α′ + δ2 · 1k

M 1 1 1 T M is a piecewise combination of polynomials of degree k 1 p We show that at least one of these polynomials is non-zero

slide-77
SLIDE 77

Odd p. Proof

■ M is stochastic with a positive eigenvalue, so it suffjces to show M is invertible:

■ Let α′ = M−1 · e1 ■ α = δ1 · α′ + δ2 · 1k ■ M · α = (1 + ε, 1, · · · , 1)T

M is a piecewise combination of polynomials of degree k 1 p We show that at least one of these polynomials is non-zero

slide-78
SLIDE 78

Odd p. Proof

■ M is stochastic with a positive eigenvalue, so it suffjces to show M is invertible:

■ Let α′ = M−1 · e1 ■ α = δ1 · α′ + δ2 · 1k ■ M · α = (1 + ε, 1, · · · , 1)T

■ det(M) is a piecewise combination of polynomials of degree (k + 1)p We show that at least one of these polynomials is non-zero

slide-79
SLIDE 79

Odd p. Proof

■ M is stochastic with a positive eigenvalue, so it suffjces to show M is invertible:

■ Let α′ = M−1 · e1 ■ α = δ1 · α′ + δ2 · 1k ■ M · α = (1 + ε, 1, · · · , 1)T

■ det(M) is a piecewise combination of polynomials of degree (k + 1)p ■ We show that at least one of these polynomials is non-zero

slide-80
SLIDE 80

Conclusions

■ Isolating Parallelepipeds don’t exist for even p, and exist for almost any other p

■ If SETH holds, no 20.99n-algorithm solves

CVPp for these values of p Other hardness results for lattice problems SVP CVPPp Even hardness of approximation under Gap-ETH for all p

slide-81
SLIDE 81

Conclusions

■ Isolating Parallelepipeds don’t exist for even p, and exist for almost any other p

■ If SETH holds, no 20.99n-algorithm solves

CVPp for these values of p ■ Other hardness results for lattice problems

■ SVP∞, CVPPp, . . .

Even hardness of approximation under Gap-ETH for all p

slide-82
SLIDE 82

Conclusions

■ Isolating Parallelepipeds don’t exist for even p, and exist for almost any other p

■ If SETH holds, no 20.99n-algorithm solves

CVPp for these values of p ■ Other hardness results for lattice problems

■ SVP∞, CVPPp, . . .

■ Even hardness of approximation under Gap-ETH for all p

slide-83
SLIDE 83

Thank you for your attention!