Networks of Networks: Complexity Class Principles Applied to Compound AI Systems Design
Jared Quincy Davis, Boris Hanin, Lingjiao Chen, Peter Bailis, Ion, Stoica, Matei Zaharia

TL;DR
This paper introduces Networks of Networks (NoNs), a novel AI system architecture inspired by complexity theory, which improves performance on tasks like reasoning and formal logic by leveraging verification-based structures.
Contribution
It presents the design and empirical validation of verifier-based judge NoNs, demonstrating significant accuracy improvements on synthetic and benchmark tasks compared to single models.
Findings
NoN improves accuracy from 3.7% to 36.6% in prime factorization.
Verifier-based judge NoNs boost MMLU accuracy by 2.8%.
Verification is most effective when verification is easier than generation.
Abstract
As practitioners seek to surpass the current reliability and quality frontier of monolithic models, Compound AI Systems consisting of many language model inference calls are increasingly employed. In this work, we construct systems, which we call Networks of Networks (NoNs) organized around the distinction between generating a proposed answer and verifying its correctness, a fundamental concept in complexity theory that we show empirically extends to Language Models (LMs). We introduce a verifier-based judge NoN with K generators, an instantiation of "best-of-K" or "judge-based" compound AI systems. Through experiments on synthetic tasks such as prime factorization, and core benchmarks such as the MMLU, we demonstrate notable performance gains. For instance, in factoring products of two 3-digit primes, a simple NoN improves accuracy from 3.7\% to 36.6\%. On MMLU, a verifier-based judge…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsNetwork On Network
