On The Hardness of Approximate and Exact (Bichromatic) Maximum Inner Product πππ¦ π,π βπ΅ΓπΆ π β π Lijie Chen (Massachusetts Institute of Technology)
Max-IP and Z-Max-IP β’ (Boolean) Max-IP : β’ Given sets π΅ and πΆ of Boolean vectors (each of size n) find π in π΅ and π in πΆ with maximum inner product: β’ For sets π΅ and πΆ , set πππ¦π½π π΅, πΆ β π,π βπ΅ΓπΆ β¨π, πβ© . max β’ Approx. version: find a r-multiplicative approximation to the answer: β’ Want an π΅ππ» s.t. πππ¦π½π(π΅, πΆ) β€ π΅ππ»(π΅, πΆ) β€ πππ¦π½π(π΅, πΆ) β π . β’ Z-Max-IP : β’ Two sets of π Integer vectors.
Max-IP and Z-Max-IP β’ Basic problems, relevant in practice. β’ Important theoretical implications as well. β’ Approx. Boolean Max-IP: β’ [ARWβ17]: basis of the recent breakthrough result β’ Bichromatic LCS Closest Pair over permutations, in Hardness for Approximation in P, implies β’ Approximate Regular Expression Matching, hardness for many other problems. β’ Diameter in Product Metric, β’ Approximate Closest Pair in Euclidian Space [Rubβ18] β’ Z-Max-IP: β’ [Wilβ18]: Hardness for Z-Max-IP implies hardness for finding furthest pair in low dimension Euclidean space.
New Hardness for Z-Max-IP (under SETH) β’ Z-Max-IP for n vectors of π π· π¦π©π‘ β π dimensions requires π 2βπ(1) time under SETH. Z-Max-IP : β’ Z-Max-IP for π vectors of π π· π¦π©π‘ β π in π 1.99 time. Given sets π΅ and πΆ of Integer β’ β Max-IP for π vectors of π(log π) dim. in π 1.99 time. vectors (each of size n) find π in β’ β CNF-SAT for π variables and π(π) clauses in 2 0.995π time. π΅ and π in πΆ with maximum inner product: β’ β SETH is false. [CIPβ06] β’ Closer to the upper bound β’ [Matβ92] : Z -Max-IP in n 2β1/O(d) time. Upper Bound Lower Bound Lower Bound π 2βπ when π = π(1) π 2βo(1) when π = π(log 2 log π) π 2βo(1) when π = 2 π log β π ? [Matβ92] [This work] Implicit in [Wilβ18]
New Hardness for Z-Max-IP (under SETH) Z-Max-IP : 1. New Hardness for Z-Max-IP (under SETH): Given sets π΅ and πΆ of Integer vectors (each of size n) find π in β’ Z-Max-IP for n vectors of π π· π¦π©π‘ β π dimensions π΅ and π in πΆ with maximum requires π 2βπ(1) time. inner product: β’ Separation for Boolean Max-IP / Z-Max-IP: β’ Z-Max-IP is much harder than Boolean Max-IP. β’ Progress on Open Problem 23 in Dagstuhl workshop on Structure and Hardness in P Z-Max-IP Boolean Max-IP π 2βπ when π = π log π . π 2βo(1) when π = 2 π log β π [AW15, ACW16] [This work] HARD EASY
New Hardness for Z-Max-IP (under SETH) Z-Max-IP : 1. New Hardness for Z-Max-IP (under SETH): Given sets π΅ and πΆ of Integer vectors (each of size n) find π in β’ Z-Max-IP for n vectors of π π· π¦π©π‘ β π dimensions π΅ and π in πΆ with maximum require π 2βπ(1) time. inner product. New Hardness for β 2 -Furthest Pair in π π . (reductions from [Wil18]) β’ Finding β 2 -Furthest Pair in π π among π points for π = β’ 2 π log β π requires π 2βπ(1) time. β’ Stronger separation between furthest and closest pair. β 2 -Furthest Pair β 2 -Furthest Pair β 2 -Closest Pair π 2βo(1) when π = π(log 2 log π) π 2βo(1) when π = 2 π log β π 2 π π β π ππππ§πππ(π) [This work] [Wilβ18] [BS76, KM95, DHKP97] HARD EASY
Characterization of Boolean Approx. Max-IP 2. Characterization of Approx. Max-IP: β’ Boolean Max-IP : β’ For sets π΅ and πΆ with π Boolean β’ [ARWβ17]: Finding 2 (log 1βo 1 π) approximation to vectors, find πππ¦π½π π΅, πΆ β Max-IP with π π 1 dimensions, requires π,π βπ΅ΓπΆ β¨π, πβ© . max π 2βπ(1) π’πππ. β’ Approx. version: find a r- multiplicative approximation to the β’ A more refined question: answer: β’ For each vector dimension π = π π , what is the πππ¦π½π(π΅, πΆ) β€ π΅ππ»(π΅, πΆ) β€ πππ¦π½π(π΅, πΆ) β π . smallest π such that Max-IP can be π -approximated in truly sub-quadratic time? β’ d = d(n) : vector dimensions β’ r = r(n) : approx. ratio
Characterization of Boolean Approx. Max-IP 2. Characterization of Approx. Max-IP: β’ Boolean Max-IP : β’ For sets π΅ and πΆ with π Boolean β’ A more refined question: vectors, find πππ¦π½π π΅, πΆ β β’ For each vector dimension π = π π , what is the π,π βπ΅ΓπΆ β¨π, πβ© . max smallest π such that Max-IP can be π -approximated in truly sub-quadratic time? β’ Approx. version: find a r- multiplicative approximation to the β’ We obtain a characterization (under SETH)! answer: πππ¦π½π(π΅, πΆ) β€ π΅ππ»(π΅, πΆ) β€ β’ For all π satisfying π log π < π < π π 1 πππ¦π½π(π΅, πΆ) β π . Ξ©(1) π β’ Truly sub-quadratic time for π = EASY! log π β’ d = d(n) : vector dimensions o(1) β’ π β’ Requires π 2βπ(1) time for π = r = r(n) : approx. ratio HARD! log π
Characterization of Boolean Approx. Max-IP 2. Characterization of Approx. Max-IP: β’ Boolean Max-IP : β’ We obtain a characterization! β’ For sets π΅ and πΆ with π Boolean Ξ©(1) π π 2βπ time. EASY! β’ π = vectors, find πππ¦π½π π΅, πΆ β log π π,π βπ΅ΓπΆ β¨π, πβ© . max o(1) π π 2βπ 1 time. HARD! β’ π = log π β’ Approx. version: find a r- β’ Example: multiplicative approximation to the β’ π = π log π , π(1) -approximation is EASY. answer: β’ π = log 2 π , π(log 0.1 π) βapproximation is EASY. πππ¦π½π(π΅, πΆ) β€ π΅ππ»(π΅, πΆ) β€ β’ π = log 2 π , (log π(1) π) -approximation is HARD. πππ¦π½π(π΅, πΆ) β π . β’ Upper Bound via polynomial method . β’ d = d(n) : vector dimensions β’ r = r(n) : approx. ratio β’ Lower Bound follows from [Rubβ18] .
New Merlin-Arthur Protocol for Set- Disjointness β’ MA Communication Protocol : β’ Alice holds x, Bob holds y, want 3. A new MA Protocol for Set-Disjointness to compute F(x,y). β’ [AWβ09] : An O( π log π) MA protocol. β’ [Klaβ03] : Ξ©( π) Lower Bound. β’ This work: an O( π log π log log π) protocol. Ξ©( π) O( π log π) O( π log π log log π) 2 β’ F(x,y) = 1 β exists a proof, Pr πππ β₯ ? 3 . [Lower Bound] [Upper Bound] [Upper Bound] F(x,y) = 0 β for all proofs, Pr πππ β€ 1 [Klaβ03] [AWβ09] [This work] β’ 3 . β’ Complexity = Proof Length + Communication
New Connection with Communication Complexity 4. New Connection with Communication Complexity Quantum! β’ [ARWβ17]: β’ π log π MA protocol for Set-Disjointness β’ β SETH-Hardness for Approx. Boolean Max-IP. β’ Open Question from [ARWβ17]: β’ There is a π BQP protocol for Set-Disjointness. Does it also imply some hardness results? {βπ, π} -Max-IP: β’ [This work]: YES! Given sets π΅ and πΆ of vectors β’ π BQP protocol for Set-Disjointness with {β1,1} entries (each of β’ β SETH-Hardness for Approx. {β1,1} -Max-IP size π ) find π in π΅ and π in πΆ with maximum inner product.
Proof Overview: SETH-Hardness of Z-Max-IP β’ Starting Point οΌ SETH implies OV Conjecture. β’ Orthogonal Vectors (OV) Problem: β’ Given two sets A,B of Boolean vectors, find an orthogonal pair between them. OV Conjecture: OV with sets of π vectors, π(log π) dimensions requires π 2βπ(1) time. Our Goal : A βdimensionalityβ reduction from π(log π) dimensional OV to 2 π log β π dimensional Z-Max-IP
Reduction RoadMap Orthogonal Vectors (OV) Problem : β’ First cover a baby version which shows π log 2 log π Two sets A,B of dimensional Z-Max- IP is hard. (same as [Wilβ18]) Boolean vectors, β’ Then outline the key ideas to get the 2 π log β π dimensional find an orthogonal pair hardness. between them. β’ An intermediate problem: Z-Max-IP : β’ Z-OV : Given two sets A,B of Integer vectors, find an orthogonal Two sets of π pair between them. Integer vectors. find a pair between them which maximize π log 2 log π -dim. Hard Easy π log log π -dim. π log π -dim. their inner Z-OV OV Z-Max-IP product.
π log 2 log π -dim. Hard Easy π log log π -dim. π log π -dim. Z-OV OV Z-Max-IP Easy Part: Z-OV β Z-Max-IP β’ Implicit in [Wilβ18]. Z-OV : Two sets A,B of β’ π, π β π π . (Squaring trick) Integer vectors, find an orthogonal β’ π β π = 0 β β π β π 2 = 0 pair between β’ π β π β 0 β β π β π 2 < 0 them. β’ To solve Z-OV, it suffices to calculate the maximum value of β π β π 2 for π, π β π΅ Γ πΆ . Z-Max-IP : Given sets π΅ and πΆ β’ β π β π 2 = β Ο π π π β π π 2 = β Ο π,π π π π π π π π of Integer vectors π (each of size n) find π π,π = π π β π π , ΰ΄€ β’ ΰ΄€ π π,π = βπ π β π π . π in π΅ and π in πΆ with maximum π , Z-Max-IP with π 2 dim. π β ΰ΄€ β’ Maximize ΰ΄€ inner product.
Recommend
More recommend