Polynomial Time Optimal Query Algorithms for Finding Graphs with Arbitrary Real Weights

Sung-Soon ChoiCOLT 2013

Introduction

In the field of combinatorial search, identifying hidden structures within a network is a fundamental challenge with applications ranging from bioinformatics to machine learning. This paper addresses the problem of reconstructing a hidden graph—where the vertices are known but the edges and their weights are not—using a minimal number of queries. Specifically, the author introduces the first polynomial-time algorithms that achieve information-theoretically optimal query complexity for graphs and counterfeit coin problems involving arbitrary real-valued weights.

By introducing a randomized "guess-and-fix" strategy, the research improves upon previous complexity bounds by a factor of $\log m$, effectively solving a long-standing objective in the study of additive search problems.

The Problem: Searching with Real-Valued Weights

The core task involves identifying a hidden graph $G$ with $n$ vertices and $m$ edges. To do this, an algorithm can use two types of queries:

  1. Additive Queries: These return the total weight of all edges within a specific subset of vertices.
  2. Cross-Additive Queries: These return the total weight of edges crossing between two disjoint sets of vertices.

While this problem has been studied extensively for graphs with integer weights or unweighted edges, arbitrary real weights introduce a significant complication: cancellation. In a system with real numbers, weights can be negative or sum to zero even if the set is not empty. This makes it difficult to determine if a "zero weight" result implies the absence of edges or merely a deceptive balance of weights. Previous non-constructive methods proved that optimal bounds were possible, but they lacked a polynomial-time algorithmic implementation for the real-valued case.

Methodology: The "Guess-and-Fix" Strategy

The author’s solution centers on a randomized approach that evolves the traditional "divide-and-weigh" binary search into a more robust framework. The methodology relies on three primary components:

1. Fourier-Based Search Matrices

The algorithm utilizes sophisticated search matrices to "guess" the weights of edge subsets. By constructing a 0/1 matrix that maps vectors to unique outputs, the algorithm can decode multiple weights simultaneously. This allows for a more dense information gathering process than simple one-by-one edge testing.

2. Randomized Rollbacks and Verification

To handle the risk of weight cancellation, the author introduces a Check-All-Zeros procedure. This uses randomized subsets to verify whether a group of vertices truly contains no edges. If a "guess" is found to be incorrect due to a cancellation error, the algorithm performs a "rollback" to a previous known-good state. This ensures that the algorithm remains accurate even when faced with deceptive real-valued sums.

3. Markov Chain Analysis

To prove that this iterative guessing and fixing is efficient, the process is modeled as a Markov Chain. The paper demonstrates that the algorithm will eventually reach an "absorbing state"—where all edges and weights are correctly identified—within the optimal query complexity bounds. The analysis shows that the expected number of steps remains low, ensuring polynomial-time performance.

Key Results and Theoretical Breakthroughs

The paper establishes three major milestones in query complexity:

  • Optimal Graph Finding: For a graph with $n$ vertices and $m$ edges with arbitrary real weights, the algorithm finds all edges and weights using $O(\frac{m \log n}{\log m})$ queries. This is a significant improvement over the previous best-known bound of $O(m \log n)$.
  • Coin Weighing: The research provides the first polynomial-time optimal algorithm for the classic "spring scale" coin weighing problem, where one must find $m$ counterfeit coins among $n$ total coins with arbitrary weight differences.
  • Fourier Coefficients: The algorithm is successfully applied to find the Fourier coefficients of "2-bounded" pseudo-Boolean functions, a key problem in computational learning theory.

All proposed algorithms are randomized and achieve a success probability of $1 - o(1)$, meaning they become increasingly certain as the size of the problem increases.

Implications and Future Work

This work unifies several disparate problems in combinatorial search under a single algorithmic framework. By proving that the coin-weighing problem is a fundamental building block for graph finding and Fourier analysis, the author provides a streamlined path for future research in high-dimensional search.

However, some questions remain. While the algorithms are highly efficient, they are randomized; a purely deterministic polynomial-time optimal algorithm for real weights has yet to be discovered. Additionally, while the paper touches on hypergraphs (relevant for $k$-bounded functions where $k > 2$), a fully explicit optimal algorithm for general hypergraphs with real weights remains an open area for exploration. Finally, while the asymptotic complexity is optimal, the constant factors involved in the search matrix construction may influence practical implementation in large-scale engineering contexts.

Summary updated

BibTeX
@inproceedings{choi2013polynomial,
  author = {Sung-Soon Choi},
  title = {{Polynomial Time Optimal Query Algorithms for Finding Graphs with Arbitrary Real Weights}},
  booktitle = {Conference on Learning Theory},
  year = {2013},
}
Figure