Networks of Networks: Complexity Class Principles Applied to Compound AI Systems Design
Not on the map. Why?
Abstract (arXiv)
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 construction with only 3 generators boosts accuracy over individual GPT-4-Turbo calls by 2.8%. Our analysis reveals that these gains are most pronounced in domains where verification is notably easier than generation--a characterization which we believe subsumes many reasoning and procedural knowledge tasks, but doesn't often hold for factual and declarative knowledge-based settings. For mathematical and formal logic reasoning-based subjects of MMLU, we observe a 5-8% or higher gain, whilst no gain on others such as geography and religion. We provide key takeaways for ML practitioners, including the importance of considering verification complexity, the impact of witness format on verifiability, and a simple test to determine the potential benefit of this NoN approach for a given problem distribution. This work aims to inform future research and practice in the design of compound AI systems.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 9 of its 20 references that are in the map. First posted on arXiv 23 Jul 2024.
Builds on
9 of 20 references.
References · 9
- 2023GPT-4 Technical Reportcited by 18,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2024Mixture-of-Agents Enhances Large Language Model Capabilitiescited by 420
- 2024More Agents Is All You Needcited by 174
- 2023Can Large Language Models Really Improve by Self-critiquing Their Own Plans?cited by 107
- 2023GPT-4 Doesn't Know It's Wrong: An Analysis of Iterative Prompting for Reasoning Problemscited by 88
- 2023GPT-Fathom: Benchmarking Large Language Models to Decipher the Evolutionary Path towards GPT-4 and Beyondcited by 14
Built on by
Citing papers per year: 2024: 6; 2025: 3; 2026: 4.
13 papers.
Sort:
By area:
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2024Archon: An Architecture Search Framework for Inference-Time Techniquescited by 59
- 2024The Limits of Inference Scaling Through Resamplingcited by 51
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspectivecited by 49
- 2024Provable Scaling Laws for the Test-Time Compute of Large Language Modelscited by 25
- 2024StructuredRAG: JSON Response Formatting with Large Language Modelscited by 22
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agentscited by 7
- 2026Agentic Reward Modeling: Verifying GUI Agent via Progressive Trajectory-Grounded Interactioncited by 3
- 2025Querying Databases with Function Callingcited by 2
- 2025Using Span Queries to Optimize for Cache and Attention Localitycited by 1
- 2026Don't Gamble, GAMBLe: An Analytical Framework for AI-Driven Research Systemscited by 1
- 2026Design Methodology and Performance Trade-offs Management for Distributed and Compound AI Systemscited by 1
- 2026Design Methodology and Performance Trade-offs Management for Distributed and Compound AI Systems12 Jun 2026
- 2026Don't Gamble, GAMBLe: An Analytical Framework for AI-Driven Research Systems1 Jun 2026
- 2026Towards Evaluation Engineering: An Empirical Study of ML Evaluation Harnesses in the Wild22 May 2026
- 2026Agentic Reward Modeling: Verifying GUI Agent via Progressive Trajectory-Grounded Interaction31 Jan 2026
- 2025Using Span Queries to Optimize for Cache and Attention Locality4 Nov 2025
- 2025Dynamic Risk Assessments for Offensive Cybersecurity Agents23 May 2025
- 2025Querying Databases with Function Calling23 Jan 2025
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspective18 Dec 2024
- 2024Provable Scaling Laws for the Test-Time Compute of Large Language Models29 Nov 2024
- 2024The Limits of Inference Scaling Through Resampling26 Nov 2024
- 2024Archon: An Architecture Search Framework for Inference-Time Techniques23 Sep 2024
- 2024StructuredRAG: JSON Response Formatting with Large Language Models7 Aug 2024
1 more
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 946
- 2024Archon: An Architecture Search Framework for Inference-Time Techniquescited by 59
- 2024The Limits of Inference Scaling Through Resamplingcited by 51
- 2024StructuredRAG: JSON Response Formatting with Large Language Modelscited by 22
- 2026Don't Gamble, GAMBLe: An Analytical Framework for AI-Driven Research Systemscited by 1
- 2026Design Methodology and Performance Trade-offs Management for Distributed and Compound AI Systemscited by 1
- 2026Towards Evaluation Engineering: An Empirical Study of ML Evaluation Harnesses in the Wildcited by 0
- 2026Design Methodology and Performance Trade-offs Management for Distributed and Compound AI Systems12 Jun 2026
- 2026Don't Gamble, GAMBLe: An Analytical Framework for AI-Driven Research Systems1 Jun 2026
- 2026Towards Evaluation Engineering: An Empirical Study of ML Evaluation Harnesses in the Wild22 May 2026
- 2024The Limits of Inference Scaling Through Resampling26 Nov 2024
- 2024Archon: An Architecture Search Framework for Inference-Time Techniques23 Sep 2024
- 2024StructuredRAG: JSON Response Formatting with Large Language Models7 Aug 2024
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Sampling31 Jul 2024