Computational hardness assumption explained

In computational complexity theory, a computational hardness assumption is the hypothesis that a particular problem cannot be solved efficiently (where efficiently typically means "in polynomial time"). It is not known how to prove (unconditional) hardness for essentially any useful problem. Instead, computer scientists rely on reductions to formally relate the hardness of a new or complicated problem to a computational hardness assumption about a problem that is better-understood.

Computational hardness assumptions are of particular importance in cryptography. A major goal in cryptography is to create cryptographic primitives with provable security. In some cases, cryptographic protocols are found to have information theoretic security; the one-time pad is a common example. However, information theoretic security cannot always be achieved; in such cases, cryptographers fall back to computational security. Roughly speaking, this means that these systems are secure assuming that any adversaries are computationally limited, as all adversaries are in practice.

Computational hardness assumptions are also useful for guiding algorithm designers: a simple algorithm is unlikely to refute a well-studied computational hardness assumption such as P ≠ NP.

Comparing hardness assumptions

Computer scientists have different ways of assessing which hardness assumptions are more reliable.

Strength of hardness assumptions

We say that assumption

A

is stronger than assumption

B

when

A

implies

B

(and the converse is false or not known).In other words, even if assumption

A

were false, assumption

B

may still be true, and cryptographic protocols based on assumption

B

may still be safe to use.Thus when devising cryptographic protocols, one hopes to be able to prove security using the weakest possible assumptions.

Average-case vs. worst-case assumptions

See also: Best, worst and average case. An average-case assumption says that a specific problem is hard on most instances from some explicit distribution, whereas a worst-case assumption only says that the problem is hard on some instances. For a given problem, average-case hardness implies worst-case hardness, so an average-case hardness assumption is stronger than a worst-case hardness assumption for the same problem. Furthermore, even for incomparable problems, an assumption like the Exponential Time Hypothesis is often considered preferable to an average-case assumption like the planted clique conjecture.[1] However, for cryptographic applications, knowing that a problem has some hard instance (the problem is hard in the worst-case) is useless because it does not provide us with a way of generating hard instances.[2] Fortunately, many average-case assumptions used in cryptography (including RSA, discrete log, and some lattice problems) can be based on worst-case assumptions via worst-case-to-average-case reductions.[3]

Falsifiability

A desired characteristic of a computational hardness assumption is falsifiability, i.e. that if the assumption were false, then it would be possible to prove it.In particular, introduced a formal notion of cryptographic falsifiability.[4] Roughly, a computational hardness assumption is said to be falsifiable if it can be formulated in terms of a challenge: an interactive protocol between an adversary and an efficient verifier,where an efficient adversary can convince the verifier to accept if and only if the assumption is false.

Common cryptographic hardness assumptions

There are many cryptographic hardness assumptions in use. This is a list of some of the most common ones, and some cryptographic protocols that use them.

Integer factorization

n

, and in particular one which is the product of two large primes

n=pq

, the integer factorization problem is to find

p

and

q

(more generally, find primes

p1,...,pk

such that

n=\prodipi

).It is a major open problem to find an algorithm for integer factorization that runs in time polynomial in the size of representation (

logn

).The security of many cryptographic protocols rely on the assumption that integer factorization is hard (i.e. cannot be solved in polynomial time). Cryptosystems whose security is equivalent to this assumption include the Rabin cryptosystem and the Okamoto–Uchiyama cryptosystem.Many more cryptosystems rely on stronger assumptions such as RSA, Residuosity problems, and Phi-hiding.

RSA problem

See main article: RSA problem. Given a composite number

n

, exponent

e

and number

c:=me(modn)

, the RSA problem is to find

m

.The problem is conjectured to be hard, but becomes easy given the factorization of

n

. In the RSA cryptosystem,

(n,e)

is the public key,

c

is the encryption of message

m

, and the factorization of

n

is the secret key used for decryption.

Residuosity problems

See main article: Higher residuosity problem. Given a composite number

n

and integers

y,d

, the residuosity problem is to determine whether there exists (alternatively, find an)

x

such that

xd\equivy\pmod{n}.

Important special cases include the Quadratic residuosity problem and the Decisional composite residuosity problem.As in the case of RSA, this problem (and its special cases) are conjectured to be hard, but become easy given the factorization of

n

.Some cryptosystems that rely on the hardness of residuousity problems include:

Phi-hiding assumption

See main article: Phi-hiding assumption. For a composite number

m

, it is not known how to efficiently compute its Euler's totient function

\phi(m)

. The Phi-hiding assumption postulates that it is hard to compute

\phi(m)

, and furthermore even computing any prime factors of

\phi(m)

is hard. This assumption is used in the Cachin–Micali–Stadler PIR protocol.[5]

Discrete log problem (DLP)

See main article: Discrete logarithm. Given elements

a

and

b

from a group

G

, the discrete log problem asks for an integer

k

such that

a=bk

.The discrete log problem is not known to be comparable to integer factorization, but their computational complexities are closely related.

Most cryptographic protocols related to the discrete log problem actually rely on the stronger Diffie–Hellman assumption: given group elements

g,ga,gb

, where

g

is a generator and

a,b

are random integers, it is hard to find

ga

. Examples of protocols that use this assumption include the original Diffie–Hellman key exchange, as well as the ElGamal encryption (which relies on the yet stronger Decisional Diffie–Hellman (DDH) variant).

Multilinear maps

A multilinear map is a function

e:G1,...,GnGT

(where

G1,...,Gn,GT

are groups) such that for any

g1,...,gn\inG1,...Gn

and

a1,...,an

,
a1
e(g
1
an
,...,g
n

)=e(g1,...,g

a1 … an
n)
.

For cryptographic applications, one would like to construct groups

G1,...,Gn,GT

and a map

e

such that the map and the group operations on

G1,...,Gn,GT

can be computed efficiently, but the discrete log problem on

G1,...,Gn

is still hard.[6] Some applications require stronger assumptions, e.g. multilinear analogs of Diffie-Hellman assumptions.

For the special case of

n=2

, bilinear maps with believable security have been constructed using Weil pairing and Tate pairing.[7] For

n>2

many constructions have been proposed in recent years, but many of them have also been broken, and currently there is no consensus about a safe candidate.[8]

Some cryptosystems that rely on multilinear hardness assumptions include:

Lattice problems

See main article: Lattice problem. The most fundamental computational problem on lattices is the shortest vector problem (SVP): given a lattice

L

, find the shortest non-zero vector

v\inL

.Most cryptosystems require stronger assumptions on variants of SVP, such as shortest independent vectors problem (SIVP), GapSVP,[10] or Unique-SVP.[11]

The most useful lattice hardness assumption in cryptography is for the learning with errors (LWE) problem: Given samples to

(x,y)

, where

y=f(x)

for some linear function

f()

, it is easy to learn

f()

using linear algebra. In the LWE problem, the input to the algorithm has errors, i.e. for each pair

yf(x)

with some small probability. The errors are believed to make the problem intractable (for appropriate parameters); in particular, there are known worst-case to average-case reductions from variants of SVP.[12]

For quantum computers, Factoring and Discrete Log problems are easy, but lattice problems are conjectured to be hard.[13] This makes some lattice-based cryptosystems candidates for post-quantum cryptography.

Some cryptosystems that rely on hardness of lattice problems include:

Non-cryptographic hardness assumptions

As well as their cryptographic applications, hardness assumptions are used in computational complexity theory to provide evidence for mathematical statements that are difficult to prove unconditionally. In these applications, one proves that the hardness assumption implies some desired complexity-theoretic statement, instead of proving that the statement is itself true. The best-known assumption of this type is the assumption that P ≠ NP,[14] but others include the exponential time hypothesis,[15] the planted clique conjecture, and the unique games conjecture.[16]

C-hard problems

C

, in particular NP-hard (but often also PSPACE-hard, PPAD-hard, etc.). This means that they are at least as hard as any problem in the class

C

. If a problem is

C

-hard (with respect to polynomial time reductions), then it cannot be solved by a polynomial-time algorithm unless the computational hardness assumption

PC

is false.

Exponential Time Hypothesis (ETH) and variants

See main article: Exponential time hypothesis. The Exponential Time Hypothesis (ETH) is a strengthening of

PNP

hardness assumption, which conjectures that not only does the Boolean satisfiability problem (SAT) not have a polynomial time algorithm, it furthermore requires exponential time (

2\Omega(n)

).[17] An even stronger assumption, known as the Strong Exponential Time Hypothesis (SETH) conjectures that

k

-SAT
requires
(1-\varepsilonk)n
2
time, where

\limk\varepsilonk=0

. ETH, SETH, and related computational hardness assumptions allow for deducing fine-grained complexity results, e.g. results that distinguish polynomial time and quasi-polynomial time, or even

n1.99

versus

n2

.[18] Such assumptions are also useful in parametrized complexity.[19]

Average-case hardness assumptions

See main article: Average-case complexity. Some computational problems are assumed to be hard on average over a particular distribution of instances.For example, in the planted clique problem, the input is a random graph sampled, by sampling an Erdős–Rényi random graph and then "planting" a random

k

-clique, i.e. connecting

k

uniformly random nodes (where

2log2n\llk\ll\sqrtn

), and the goal is to find the planted

k

-clique (which is unique w.h.p.).[20] Another important example is Feige's Hypothesis, which is a computational hardness assumption about random instances of 3-SAT (sampled to maintain a specific ratio of clauses to variables).[21] Average-case computational hardness assumptions are useful for proving average-case hardness in applications like statistics, where there is a natural distribution over inputs.[22] Additionally, the planted clique hardness assumption has also been used to distinguish between polynomial and quasi-polynomial worst-case time complexity of other problems,[23] similarly to the Exponential Time Hypothesis.

Unique Games

See main article: Unique games conjecture. The Unique Label Cover problem is a constraint satisfaction problem, where each constraint

C

involves two variables

x,y

, and for each value of

x

there is a unique value of

y

that satisfies

C

.Determining whether all the constraints can be satisfied is easy, but the Unique Game Conjecture (UGC) postulates that determining whether almost all the constraints (

(1-\varepsilon)

-fraction, for any constant

\varepsilon>0

) can be satisfied or almost none of them (

\varepsilon

-fraction) can be satisfied is NP-hard.Approximation problems are often known to be NP-hard assuming UGC; such problems are referred to as UG-hard. In particular, assuming UGC there is a semidefinite programming algorithm that achieves optimal approximation guarantees for many important problems.[24]

Small Set Expansion

G=(V,E)

, find a small set of vertices (of size

n/log(n)

) whose edge expansion is minimal. It is known that if SSE is hard to approximate, then so is Unique Label Cover. Hence, the Small Set Expansion Hypothesis, which postulates that SSE is hard to approximate, is a stronger (but closely related) assumption than the Unique Game Conjecture.[25] Some approximation problems are known to be SSE-hard[26] (i.e. at least as hard as approximating SSE).

The 3SUM Conjecture

See main article: 3SUM. Given a set of

n

numbers, the 3SUM problem asks whether there is a triplet of numbers whose sum is zero.There is a quadratic-time algorithm for 3SUM, and it has been conjectured that no algorithm can solve 3SUM in "truly sub-quadratic time": the 3SUM Conjecture is the computational hardness assumption that there are no

O(n2-\varepsilon)

-time algorithms for 3SUM (for any constant

\varepsilon>0

).This conjecture is useful for proving near-quadratic lower bounds for several problems, mostly from computational geometry.[27]

See also

Notes and References

  1. 10.1137/1.9781611973730.66 . 978-1-61197-374-7 . Approximating the best Nash Equilibrium in

    no(log(n))

    -time breaks the Exponential Time Hypothesis . Symposium on Discrete Algorithms (SODA) . 970–982 . 2015 . Mark Braverman (mathematician) . Mark . Braverman . Young Kun . Ko . Omri . Weinstein . Society for Industrial and Applied Mathematics.
  2. J. Katz and Y. Lindell, Introduction to Modern Cryptography (Chapman and Hall/CRC Cryptography and Network Security Series), Chapman and Hall/CRC, 2007.
  3. 10.1007/978-3-662-49096-9_21 . Cryptographic Assumptions: A Position Paper . Theory of Cryptography Conference (TCC) 2016 . 505–522 . 2016 . Shafi Goldwasser . Shafi . Goldwasser . Yael Tauman Kalai . Yael Tauman . Kalai . Springer . International Association for Cryptologic Research#Theory of Cryptography . free.
  4. Naor . Moni . Boneh . Dan . On cryptographic assumptions and challenges . 10.1007/978-3-540-45146-4_6 . Berlin . 2093188 . 96–109 . Springer . Lecture Notes in Computer Science . Advances in Cryptology – CRYPTO 2003: 23rd Annual International Cryptology Conference, Santa Barbara, California, USA, August 17-21, 2003, Proceedings . 2729 . 2003. free .
  5. Book: Cachin . Christian . Micali . Silvio. Stadler. Markus . Advances in Cryptology — EUROCRYPT '99 . Computationally Private Information Retrieval with Polylogarithmic Communication . Lecture Notes in Computer Science . 1999. Springer. 1592. 402–414. 10.1007/3-540-48910-X_28 . Stern . Jacques. 978-3-540-65889-4 . 29690672 .
  6. Dan Boneh. Dan. Boneh. Alice Silverberg. Alice. Silverberg. 2002. Applications of Multilinear Forms to Cryptography. Cryptology ePrint Archive.
  7. Ratna. Dutta. Rana. Barua. Palash. Sarkar. 2004. Pairing-Based Cryptographic Protocols : A Survey. Cryptology ePrint Archive.
  8. Web site: Are Graded Encoding Scheme broken yet?. Martin R.. Albrecht. 22 March 2018.
  9. Sanjam. Garg. Craig. Gentry. Shai. Halevi. Mariana . Raykova. Amit. Sahai. Brent . Waters. 2016. Candidate Indistinguishability Obfuscation and Functional Encryption for All Circuits. SIAM. 45. 3. 882–929. SIAM Journal on Computing. 10.1137/14095772X.
  10. Chris . Peikert . Public-key cryptosystems from the worst-case shortest vector problem: extended abstract . 10.1145/1536414.1536461 . 333–342 . Proceedings on 41st Annual ACM Symposium on Theory of Computing (STOC) . 2009.
  11. Miklós Ajtai . Miklós. Ajtai . Cynthia Dwork. Cynthia. Dwork . A Public-Key Cryptosystem with Worst-Case/Average-Case Equivalence . 10.1145/258533.258604 . 284–293 . Proceedings on 29th Annual ACM Symposium on Theory of Computing (STOC) . 1997.
  12. Oded . Regev . The Learning with Errors Problem (Invited Survey) . 10.1109/CCC.2010.26 . 191–204 . Conference on Computational Complexity (CCC) 2010 . 2010. Computational Complexity Conference .
  13. Chris. Peikert. 2016. A Decade of Lattice Cryptography. Foundations and Trends in Theoretical Computer Science. 10. 4. 283–424. 10.1561/0400000074.
  14. Lance. Fortnow. Lance Fortnow. The status of the P versus NP problem. https://wayback.archive-it.org/all/20110224135332/http://www.cs.uchicago.edu/~fortnow/papers/pnp-cacm.pdf. dead. 2011-02-24. Communications of the ACM. 52. 2009. 9. 78–86. 10.1145/1562164.1562186. 5969255. .
  15. Book: Woeginger, Gerhard . Gerhard J. Woeginger . 10.1007/3-540-36478-1_17 . Combinatorial Optimization — Eureka, You Shrink! . 185–207 . Springer-Verlag . Exact algorithms for NP-hard problems: A survey . 2003 . 2570. 289357 . .
  16. Subhash Khot . Khot . Subhash . On the Unique Games Conjecture . Proc. 25th IEEE Conference on Computational Complexity . 2010 . 99–121 . 10.1109/CCC.2010.19 . .
  17. Impagliazzo . Russell . Russell Impagliazzo . Paturi . Ramamohan . The Complexity of k-SAT . 10.1109/CCC.1999.766282 . 237–240 . Proc. 14th IEEE Conf. on Computational Complexity . 1999.
  18. Abboud . Amir . Vassilevska-Williams . Virginia . Virginia Vassilevska Williams . Weimann . Oren . Consequences of Faster Alignment of Sequences . 10.1007/978-3-662-43948-7_4 . 39–51 . Automata, Languages, and Programming - 41st International Colloquium, ICALP 2014 . 2014.
  19. Lokshtanov . Daniel . Marx . Daniel . Saurabh . Saket . Lower bounds based on the Exponential Time Hypothesis . Bulletin of the EATCS . 105 . 41–72 . 2011 .
  20. Book: Computational Complexity: A Modern Approach. Sanjeev. Arora. Sanjeev Arora. Boaz. Barak. Cambridge University Press. 2009. 9780521424264. 362–363. .
  21. Feige . Uriel . Uriel Feige . Relations between average case complexity and approximation complexity . 10.1145/509907.509985 . 534–543 . Proceedings on 34th Annual ACM Symposium on Theory of Computing (STOC) . 2002.
  22. Berthet . Quentin . Rigollet . Philippe . Complexity Theoretic Lower Bounds for Sparse Principal Component Detection . 1046–1066 . COLT 2013 . 2013.
  23. Hazan . Elad . Krauthgamer . Robert . How Hard Is It to Approximate the Best Nash Equilibrium? . 10.1137/090766991 . 79–91 . . 40 . 1 . 2011. 10.1.1.139.7326 .
  24. Prasad . Raghavendra . Optimal algorithms and inapproximability results for every CSP? . 10.1145/1374376.1374414 . 245–254 . 40th Annual ACM Symposium on theory of Computing (STOC) 2008 . 2008.
  25. Prasad . Raghavendra . David . Steurer . Graph Expansion and the Unique Games Conjecture . 10.1145/1806689.1806792 . 755–764 . 42nd Annual ACM Symposium on theory of Computing (STOC) 2010 . 2010.
  26. Yu . Wu . Per . Austrin . Toniann . Pitassi . David. Liu . Inapproximability of Treewidth and Related Problems . 10.1613/jair.4030 . 569–600 . Journal of Artificial Intelligence Research . 49 . 2014. free .
  27. Vassilevska Williams . Virginia . Virginia Vassilevska Williams . On some fine-grained questions in algorithms and complexity . ICM 2018 . 2018.