approximate polytope membership queries
play

Approximate Polytope Membership Queries Sunil Arya Hong Kong - PowerPoint PPT Presentation

Introduction Split-Reduce Discussion Approximate Polytope Membership Queries Sunil Arya Hong Kong University of Science and Technology Guilherme D. da Fonseca Universidade Federal do Estado do Rio de Janeiro (UNIRIO) David M. Mount


  1. Introduction Split-Reduce Discussion Approximate Polytope Membership Queries Sunil Arya Hong Kong University of Science and Technology Guilherme D. da Fonseca Universidade Federal do Estado do Rio de Janeiro (UNIRIO) David M. Mount University of Maryland, College Park STOC 2011

  2. Introduction Split-Reduce Discussion Polytope Membership Queries Polytope Membership Queries P Given a polytope P in d -dimensional space, preprocess P to answer membership queries: q Given a point q , is q ∈ P ? Assume that dimension d is a constant and P is given as intersection of n halfspaces For d ≤ 3, can be solved with storage O ( n ) and query time O (log n ) [BCKO10] Dual of halfspace emptiness searching

  3. Introduction Split-Reduce Discussion Approximate Polytope Membership Queries Approximate Version An approximation parameter ε is given out (at preprocessing time) ε ε Assume the polytope has diameter 1 ? in If the query point’s distance from P ’s boundary: > ε : answer must be correct 1 ≤ ε : either answer is acceptable Polytope approximation is a well studied topic We consider the first space-time tradeoffs for the query problem

  4. Introduction Split-Reduce Discussion Bentley et al. (Outer) Approximation [BFP82] Create a grid with cells of diameter ε ε P For each column, store the topmost and bottommost cells intersecting P Query processing: Locate the column that contains q Compare q with the two extreme values Time-Efficient Solution [BFP82] O (1 /ε d − 1 ) columns Storage: O (1 /ε d − 1 ) Query time: O (1) (by integer division)

  5. Introduction Split-Reduce Discussion Bentley et al. (Outer) Approximation [BFP82] Create a grid with cells of diameter ε ε P For each column, store the topmost and bottommost cells intersecting P Query processing: Locate the column that contains q Compare q with the two extreme values Time-Efficient Solution [BFP82] O (1 /ε d − 1 ) columns Storage: O (1 /ε d − 1 ) Query time: O (1) (by integer division)

  6. Introduction Split-Reduce Discussion Bentley et al. (Outer) Approximation [BFP82] Create a grid with cells of diameter ε ε P For each column, store the topmost and bottommost cells intersecting P Query processing: q Locate the column that contains q Compare q with the two extreme values Time-Efficient Solution [BFP82] O (1 /ε d − 1 ) columns Storage: O (1 /ε d − 1 ) Query time: O (1) (by integer division)

  7. Introduction Split-Reduce Discussion Dudley’s (Outer) Approximation [Dud74] Every unit-diameter polytope can be ε -approximated as the intersection of O (1 /ε ( d − 1) / 2 ) halfspaces [Dud74] √ ε Space-Efficient Solution Check whether q lies within each P Dudley halfspace: Storage: O (1 /ε ( d − 1) / 2 ) Query time: O (1 /ε ( d − 1) / 2 ) Note: Each halfspace is used to cover a surface patch of size √ ε

  8. Introduction Split-Reduce Discussion Dudley’s (Outer) Approximation [Dud74] Every unit-diameter polytope can be ε -approximated as the intersection of O (1 /ε ( d − 1) / 2 ) halfspaces [Dud74] √ ε Space-Efficient Solution Check whether q lies within each P Dudley halfspace: Storage: O (1 /ε ( d − 1) / 2 ) Query time: O (1 /ε ( d − 1) / 2 ) Note: Each halfspace is used to cover a surface patch of size √ ε

  9. Introduction Split-Reduce Discussion Dudley’s (Outer) Approximation [Dud74] Every unit-diameter polytope can be ε -approximated as the intersection of O (1 /ε ( d − 1) / 2 ) halfspaces [Dud74] √ ε Space-Efficient Solution Check whether q lies within each P Dudley halfspace: Storage: O (1 /ε ( d − 1) / 2 ) Query time: O (1 /ε ( d − 1) / 2 ) Note: Each halfspace is used to cover a surface patch of size √ ε

  10. Introduction Split-Reduce Discussion A Simple Tradeoff Generate a grid of diameter r ∈ [ ε, 1] Preprocessing: For each cell Q r intersecting P ’s boundary: Apply Dudley to P ∩ Q O (( r /ε ) ( d − 1) / 2 ) halfspaces per cell Query Processing: Find the cell containing q Check whether q lies within every halfspace for this cell Tradeoff Storage: O (1 / ( r ε ) ( d − 1) / 2 ) Query time: O (( r /ε ) ( d − 1) / 2 )

  11. Introduction Split-Reduce Discussion A Simple Tradeoff Generate a grid of diameter r ∈ [ ε, 1] Preprocessing: For each cell Q r intersecting P ’s boundary: Apply Dudley to P ∩ Q O (( r /ε ) ( d − 1) / 2 ) halfspaces per cell Query Processing: Find the cell containing q q Check whether q lies within every halfspace for this cell Tradeoff Storage: O (1 / ( r ε ) ( d − 1) / 2 ) Query time: O (( r /ε ) ( d − 1) / 2 )

  12. Introduction Split-Reduce Discussion A Simple Tradeoff Generate a grid of diameter r ∈ [ ε, 1] Preprocessing: For each cell Q r intersecting P ’s boundary: Apply Dudley to P ∩ Q O (( r /ε ) ( d − 1) / 2 ) halfspaces per cell Query Processing: Find the cell containing q q Check whether q lies within every halfspace for this cell Tradeoff Storage: O (1 / ( r ε ) ( d − 1) / 2 ) Query time: O (( r /ε ) ( d − 1) / 2 )

  13. Introduction Split-Reduce Discussion Can we do better? Need a little sensitivity Dudley tends to oversample regions of very low and very high curvature √ ε Finding the smallest number of halfspaces reduces to set cover A log(1 /ε )-approximation can be found efficiently (Mitchell and Suri [MS95], P Clarkson [Cla93]) Simple Idea: Recursively subdivide space (quadtree) until the number of approximating halfspaces is small enough

  14. Introduction Split-Reduce Discussion Split-Reduce Preprocess: t = 2 Input P , ε , and desired query time t Q ← unit hypercube Split-Reduce( Q ) Split-Reduce(Q) Find an ε -approximation of Q ∩ P If at most t facets, then Q stores them Otherwise, subdivide Q and recurse Query time: O (log(1 /ε ) + t ) Storage: ???

  15. Introduction Split-Reduce Discussion Split-Reduce Preprocess: Input P , ε , and desired query time t t = 2 Q ← unit hypercube Split-Reduce( Q ) Split-Reduce(Q) Find an ε -approximation of Q ∩ P If at most t facets, then Q stores them Otherwise, subdivide Q and recurse Query time: O (log(1 /ε ) + t ) Storage: ???

  16. Introduction Split-Reduce Discussion Split-Reduce Preprocess: Input P , ε , and desired query time t t = 2 Q ← unit hypercube Split-Reduce( Q ) Split-Reduce(Q) Find an ε -approximation of Q ∩ P If at most t facets, then Q stores them Otherwise, subdivide Q and recurse Query time: O (log(1 /ε ) + t ) Storage: ???

  17. Introduction Split-Reduce Discussion Split-Reduce Preprocess: Input P , ε , and desired query time t t = 2 Q ← unit hypercube Split-Reduce( Q ) Split-Reduce(Q) Find an ε -approximation of Q ∩ P If at most t facets, then Q stores them Otherwise, subdivide Q and recurse Query time: O (log(1 /ε ) + t ) Storage: ???

  18. Introduction Split-Reduce Discussion Split-Reduce Preprocess: Input P , ε , and desired query time t t = 2 Q ← unit hypercube Split-Reduce( Q ) Split-Reduce(Q) Find an ε -approximation of Q ∩ P If at most t facets, then Q stores them Otherwise, subdivide Q and recurse Query time: O (log(1 /ε ) + t ) Storage: ???

  19. Introduction Split-Reduce Discussion Why it pays to be sensitive √ ε 1 /ε ( d − 1) / 4 halfspaces Easy Analysis Split-Reduce reduces the query time from 1 /ε ( d − 1) / 2 to 1 /ε ( d − 1) / 4 with the same O (1 /ε ( d − 1) / 2 ) storage By Dudley, if diameter ≤ √ ε , need only 1 /ε ( d − 1) / 4 halfspaces ⇒ cells of size ≤ √ ε are not subdivided Each Dudley halfspace is only needed within a radius of √ ε ⇒ Each halfspace hits only O (1) cells of size ≥ √ ε ⇒ The total number of halfspaces needed is O (1 /ε ( d − 1) / 2 )

  20. Introduction Split-Reduce Discussion General Tradeoff 1/2 (a) Tradeoffs for Polytope Membership An inductive application of the y : Query time is 1 /ε y ( d − O (1)) Simple algorithm previous argument yields a Split-Reduce Lower bound space-time tradeoff Theorem: 1/4 Using Split-Reduce we can answer ε -approximate polytope 1/8 membership queries with Storage: O (1 /ε ( d − 1) / (1 − k / 2 k ) ) 1/16 Query time: O (1 /ε ( d − 1) / 2 k ) 0 1/2 5/8 3/4 1 x : Storage is 1 /ε x ( d − O (1))

  21. Introduction Split-Reduce Discussion Lower Bound 1/2 (a) Tradeoffs for Polytope Membership The above analysis is not y : Query time is 1 /ε y ( d − O (1)) necessarily tight Simple algorithm Split-Reduce Lower bound We establish a lower bound on Split-Reduce The input polytope is a 1/4 cylinder formed by extruding a ( d − k )-dimensional ball 1/8 in k dimensions 1/16 k is chosen to maximize the storage for a given query 0 1/2 5/8 3/4 1 time x : Storage is 1 /ε x ( d − O (1))

  22. Introduction Split-Reduce Discussion Approximate Nearest Neighbor (ANN) Searching ANN: Preprocess n points such 1/2 y : Query time is O (log n ) + 1 /ε y ( d − O (1)) (b) Tradeoffs for ANN search that, given a query point q , can Prior upper bound [AMM09] find a point within at most 1 + ε New upper bound Lower bound [AMM09] times the distance to q ’s nearest neighbor Arya, et al. [AMM09] gave a 1/4 solution that is optimal in the extremes of the space-time tradeoff 1/8 and gave a lower bound 1/16 Our new results improve the tradeoff throughout the middle of 0 1/4 1/2 11/16 1 the spectrum x : Storage is n/ε x ( d − O (1))

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend