Skip to main content
QUICK REVIEW

[Paper Review] An Introduction to Query Order

Edith Hemaspaandra, Lane A. Hemaspaandra|ArXiv.org|Oct 1, 1999
Complexity and Algorithms in GraphsComputer Science29 references14 citations
TL;DR

This paper investigates the impact of query order in computational complexity, focusing on whether the sequence of accessing two different oracle sets affects the class of problems solvable in polynomial time. It establishes that in the polynomial hierarchy, query order never matters, while in the boolean hierarchy, it sometimes does—offering insights into structural complexity, bottleneck computations, and completeness classes.

ABSTRACT

Hemaspaandra, Hempel, and Wechsung [cs.CC/9909020] raised the following questions: If one is allowed one question to each of two different information sources, does the order in which one asks the questions affect the class of problems that one can solve with the given access? If so, which order yields the greater computational power? The answers to these questions have been learned-inasfar as they can be learned without resolving whether or not the polynomial hierarchy collapses-for both the polynomial hierarchy and the boolean hierarchy. In the polynomial hierarchy, query order never matters. In the boolean hierarchy, query order sometimes does not matter and, unless the polynomial hierarchy collapses, sometimes does matter. Furthermore, the study of query order has yielded dividends in seemingly unrelated areas, such as bottleneck computations and downward translation of equality. In this article, we present some of the central results on query order. The article is written in such a way as to encourage the reader to try his or her own hand at proving some of these results. We also give literature pointers to the quickly growing set of related results and applications.

Motivation & Objective

  • To determine whether the order of querying two oracles affects the computational power of polynomial-time machines.
  • To analyze the structural differences between the polynomial hierarchy and the boolean hierarchy regarding query order sensitivity.
  • To explore connections between query order and other complexity-theoretic concepts such as bottleneck machines, advice classes, and completeness types.
  • To provide foundational results and open problems that encourage further research into query order phenomena.
  • To establish links between query order and broader complexity questions, including collapses of the polynomial hierarchy and completeness under different reducibilities.

Proposed method

  • Uses the notation $\mathrm{P}^{\mathcal{C}:{\mathcal{D}}}$ to denote polynomial-time machines making one query to a set in class $\mathcal{C}$ followed by one query to a set in class $\mathcal{D}$, formalizing query order.
  • Applies the concept of query order to levels of the polynomial hierarchy ($\Sigma_k^p$) and the boolean hierarchy (e.g., $\mathrm{DIFF}_m(\Sigma_k^p)$), analyzing their closure properties.
  • Employs reductions and closure arguments to prove that $\mathrm{P}^{\Sigma_k^p[1]} = \mathrm{P}^{\Sigma_k^p[2]}$ implies collapse in the boolean hierarchy, linking query number and order to structural collapse.
  • Utilizes self-specifying machines and input-specific advice to characterize query-order classes, showing equivalence to $\mathrm{P}^{\#P[1]}$ and $\mathrm{P}^{\#P:NP}$ under certain conditions.
  • Relies on known results from Book (1974), Hartmanis-Immerman-Sewelson (1983, 1985), and Sipser-Yao (1990) to contextualize query order behavior.
  • Analyzes the relationship between $\leq_m^p$-completeness and $\leq_T^p$-completeness in classes closed under Turing reductions, showing that they do not always stand or fall together in certain closures of NP.

Experimental results

Research questions

  • RQ1Does the order of querying two oracles affect the class of problems solvable in polynomial time?
  • RQ2In the polynomial hierarchy, is query order a determining factor in computational power?
  • RQ3In the boolean hierarchy, under what conditions does query order lead to different computational power?
  • RQ4How are query order classes related to advice classes and self-specifying machines?
  • RQ5Do $\leq_m^p$-completeness and $\leq_T^p$-completeness stand or fall together in all complexity classes?

Key findings

  • In the polynomial hierarchy, query order does not affect computational power: $\mathrm{P}^{\Sigma_k^p:\Sigma_m^p} = \mathrm{P}^{\Sigma_m^p:\Sigma_k^p}$ for all $k, m \geq 0$.
  • In the boolean hierarchy, query order can matter: $\mathrm{P}^{\Sigma_k^p:\Sigma_m^p} \neq \mathrm{P}^{\Sigma_m^p:\Sigma_k^p}$ unless the polynomial hierarchy collapses.
  • A collapse in the number of queries ($\mathrm{P}^{\Sigma_k^p[1]} = \mathrm{P}^{\Sigma_k^p[2]}$) implies a collapse in the boolean hierarchy: $\mathrm{DIFF}_m(\Sigma_k^p) = \mathrm{coDIFF}_m(\Sigma_k^p)$.
  • Query order classes are equivalent to $\mathrm{P}^{\#P[1]}$ and $\mathrm{P}^{\#P:NP}$ under a positive final query restriction, linking them to $\#P$-closures.
  • The class $\mathrm{P}^{\mathrm{NP} \cap \mathrm{coNP} : \mathrm{NP}}$ exactly characterizes a strong nondeterministic closure of NP, showing that $\leq_m^p$- and $\leq_T^p$-completeness do not always coincide in such closures.
  • Bottleneck machines can be fully characterized using ordered query models with modulo and quantifier-based computation, resolving long-standing open problems in their characterization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.