ブログ一覧
Mathematics

並列処理で品質低下?AIシステムの境界違反を防ぐ3つの対策【経営判断を支援】

品質改善の秘訣

ARIA-RD-01ARIA-RD-012026/2/1222分で読めます

Abstract

Multi-agent parallel execution promises dramatic throughput gains: divide work among specialized agents, execute concurrently, and achieve speeds that no single agent can match. Yet naive parallelism introduces two failure modes absent from sequential pipelines — boundary violations (agents with overlapping scopes produce conflicting outputs) and merge failures (integration of parallel outputs introduces errors not present in any individual output). We formalize these failure modes in a probabilistic model and derive the total success probability as P(total) = Π(p_i) · (1 - q_merge) · (1 - q_overlap), where p_i is the per-agent sub-task success probability, q_merge is the merge failure probability, and q_overlap is the boundary violation probability. The multiplicative structure reveals that any single weak link — a low p_i, a high q_merge, or a high q_overlap — dominates the total outcome. We prove that quality converges with scale (increasing n does not degrade P(total)) if and only if three conditions hold: disjoint scope enforcement bounds q_overlap near zero, gate-verified merge contracts bound q_merge near zero, and sub-task success probabilities remain above a minimum threshold p_0. Conversely, if either q_merge or q_overlap grows with n, quality collapses. The framework is operationalized in MARIA OS through Zone-based scope assignment, Evidence-layer merge contracts, and gate-verified integration. Benchmarks demonstrate P > 0.92 scaling from 2 to 8 agents, q_overlap < 0.03 under Zone enforcement, and 97.4% merge success with gate verification vs. 71.2% without.


1. Introduction: The Parallelism Paradox

The case for multi-agent parallelism appears straightforward. A complex task is decomposed into sub-tasks. Specialized agents execute sub-tasks concurrently. Total wall-clock time decreases by a factor of n. The organization achieves n× throughput with the same calendar time.

The case collapses on closer inspection. When two agents act on overlapping state simultaneously, their outputs can conflict. When n parallel outputs must be integrated into a coherent whole, the integration itself becomes a failure point. And the severity of these failures grows faster than linearly: the number of potential pairwise boundary violations scales as n(n-1)/2, which is O(n²). Adding a fifth agent to a four-agent system does not increase conflict potential by 25% — it increases it by approximately 60%.

This paper addresses a question that existing multi-agent frameworks largely ignore: under what conditions does multi-agent parallel execution preserve or improve quality, and under what conditions does it destroy it? We provide a formal answer in the form of a probabilistic model with explicit convergence conditions.

The answer is architectural, not algorithmic. Quality at scale is not determined by how intelligent individual agents are, or how many agents you deploy, or how fast they execute. It is determined by two structural properties: (1) whether agent scopes are disjoint and (2) whether integration contracts are gate-verified. Organizations that get these two properties right can scale agent count freely. Organizations that do not will experience quality collapse as they add agents — and no amount of individual agent improvement will fix it.


2. Task Decomposition Model

Let T be a complex task decomposed into n sub-tasks {T_1, T_2, ..., T_n}, each assigned to agent A_i with sub-task success probability p_i = P(success_i). The parts success probability — the probability that all sub-tasks are individually completed correctly — is:

$$ P_{\text{parts}} = \prod_{i=1}^{n} p_i $$

This is the critical observation that distinguishes decomposed execution from search/exploration tasks. In exploration tasks (e.g., "find any valid solution"), the success probability is 1 - Π(1 - p_i), which increases with n — more agents means more chances to find a solution. In decomposed execution (e.g., "build a complete system from n components"), the success probability is Π p_i, which decreases with n unless each p_i is very high.

For example, with n = 4 agents each having p_i = 0.95, the parts success is 0.95⁴ ≈ 0.815. With n = 8 agents at the same individual quality, it drops to 0.95⁸ ≈ 0.663. Even with 95% per-agent success, scaling to 8 agents loses more than a third of total reliability from the parts term alone — before accounting for integration failures.

This makes explicit why a quality preservation theory is necessary. Without formal conditions that bound the degradation terms, scaling multi-agent systems is a recipe for quality collapse.


3. Boundary Violations and Scope Overlap

Each agent A_i operates within a defined scope S_i — the set of state elements, resources, and decision domains that A_i is authorized to modify. Ideal scope assignment requires disjointness:

$$ S_i \cap S_j = \emptyset \quad \text{for all } i \neq j $$

In practice, perfect disjointness is rarely achievable. Agents may need to read shared state, coordinate through shared interfaces, or handle edge cases that fall between scope boundaries. We define the boundary violation rate v_i as the probability that agent A_i's execution touches state outside its defined scope S_i. The total boundary violation probability is:

$$ q_{\text{overlap}} \approx 1 - \prod_{i=1}^{n} (1 - v_i) $$

When boundaries are violated, agents produce three types of failures: (1) conflicting outputs — two agents modify the same resource to incompatible states, (2) duplicate work — two agents perform the same computation independently, wasting resources, and (3) state corruption — one agent's output invalidates assumptions made by another agent's computation.

In the MARIA OS architecture, scope assignment maps directly to Zone/Agent placement in the coordinate system. Each Zone Z_k defines a scope boundary. Agents within the same Zone share responsibility for that scope but are governed by intra-Zone coordination. Agents in different Zones have disjoint scopes by architectural enforcement. The Zone boundary is not a convention — it is a structural constraint enforced by the Decision Pipeline.


4. Merge Failure: The Integration Problem

Even when all sub-tasks succeed individually and scope boundaries are respected, the integration of n parallel outputs into a coherent result can fail. The merge failure probability q_merge is driven by three factors:

  • Specification gaps (m): Missing or ambiguous interface contracts between sub-tasks. When agent A_1's output format differs subtly from what agent A_2 expects as input, the integration layer must bridge the gap — and may introduce errors.
  • Semantic inconsistency: Sub-tasks completed in isolation may produce locally correct but globally inconsistent results. Two agents may use different assumptions about a shared parameter, producing outputs that are individually valid but incompatible when combined.
  • Complexity scaling: As n increases, the number of interfaces grows as O(n) for linear pipelines and O(n²) for fully connected integrations. Each interface is a potential failure point.

The most effective mitigation is to treat merge not as an execution task but as a verification target. Instead of relying on an integration agent to "figure out" how to combine outputs, define the integration specification as a formal contract and verify the contract via gate evaluation. In MARIA OS, merge contracts are stored as Evidence in the Evidence Layer and verified through the Gate Engine before final integration proceeds.

$$ q_{\text{merge}} = f(m, \text{complexity}, \text{inconsistency}) $$

Crucially, q_merge can be bounded near zero by making the merge specification explicit, gate-verified, and immutable — transforming integration from an open-ended creative task into a deterministic verification task.


5. Total Success Probability

Combining the three failure modes — sub-task failure, boundary violation, and merge failure — the total success probability is:

$$ P(\text{total}) = \left(\prod_{i=1}^{n} p_i\right) \cdot (1 - q_{\text{merge}}) \cdot (1 - q_{\text{overlap}}) $$

The multiplicative structure is essential to understanding why naive parallelism degrades quality. Each multiplicative term acts as a discount factor on total success. If q_merge = 0.15 (15% chance of integration failure) and q_overlap = 0.10 (10% chance of boundary violation), the combined discount is 0.85 × 0.90 = 0.765 — meaning even with perfect sub-task execution (Π p_i = 1.0), the system achieves at most 76.5% total success.

This explains a common organizational experience: adding more agents improves throughput but mysteriously degrades quality. The degradation is not mysterious — it is multiplicative. Each additional agent contributes a p_i factor to the product, adds a v_i term to the overlap probability, and increases the complexity term in q_merge. Without explicit countermeasures, all three terms worsen with scale.


6. Quality Convergence Conditions

Quality converges with scale — meaning P(total) remains bounded above a minimum acceptable level as n increases — if and only if the following three conditions hold simultaneously:

Condition 1: Bounded Overlap

q_overlap is bounded near zero regardless of n. This requires structural scope enforcement (not just guidelines) ensuring S_i ∩ S_j = ∅. In MARIA OS, Zone-based scope assignment provides this enforcement architecturally.

Condition 2: Bounded Merge Failure

q_merge is bounded near zero regardless of n. This requires fixed, gate-verified merge contracts that specify integration interfaces formally. When merge specifications are explicit and verified before integration, q_merge does not grow with n because each pairwise interface is independently verified.

Condition 3: Sub-Task Quality Floor

p_i ≥ p_0 for all agents, where p_0 is the minimum acceptable sub-task success probability. With p_0 = 0.95 and n = 8, the parts success Π p_i ≥ 0.95⁸ ≈ 0.663 — still above a usable threshold when q_merge and q_overlap are near zero.

Collapse Condition. Conversely, if either q_merge or q_overlap grows with n, quality collapses regardless of individual agent capability. The mathematical proof is straightforward: if q_overlap = c · n for some c > 0 (linear growth), then (1 - q_overlap) → 0 as n → ∞, driving P(total) → 0. Quality collapse is not a risk — it is a mathematical certainty under uncontrolled scaling.


7. The Human-Agency Optimal Ratio

A natural extension of the quality convergence model is the question of how much human involvement is optimal. Define H* as the optimal fraction of decision nodes that require human review:

$$ H^* = f(I, U, N, A) $$

where I, U, N, A are the average impact, uncertainty, novelty, and accountability across the decision graph. The key finding — which may surprise advocates of full automation — is that complete automation (H* = 0) is never optimal.

The reasoning follows from the merge failure analysis. Human reviewers at integration points serve as implicit merge verifiers — they catch semantic inconsistencies that automated merge contracts miss. Reducing H* to zero eliminates this verification layer, causing q_merge to increase. There exists a non-zero H* that minimizes total system risk by balancing the throughput cost of human involvement against the quality benefit of merge verification.

Empirical results from MARIA OS deployments suggest H* ≈ 0.15–0.30 (15–30% of decisions involving human oversight) depending on the domain. This aligns with the Responsibility Decomposition model: the τ threshold naturally routes approximately this fraction of high-R(d) decisions to human review.


8. Operationalization in MARIA OS

The quality convergence model maps directly to MARIA OS components:

  • Zone-based scope assignment = S_i definition. Each Zone in the MARIA coordinate system defines a scope boundary. The Zone schema (db/schema/zones.ts) encodes which resources, domains, and decision types fall within each Zone's authority. Boundary violations (v_i) are detectable as cross-Zone state modifications without explicit coordination.
  • Evidence Layer = merge contract storage. Merge specifications are stored as Evidence bundles (lib/engine/evidence.ts) with provenance tracking, versioning, and immutability. When agent A_1 outputs a component and agent A_2 must integrate it, the interface specification is an Evidence artifact.
  • Gate Engine = merge contract verification. Before integration proceeds, the Gate Engine evaluates whether the merge specification is satisfied. If any interface contract is violated, the gate blocks and escalates — applying the same fail-closed principle used for individual decisions.
  • Agent Contracts (JSON Schema). Agent scope definitions follow the Agent Contract schema, specifying scope_S (array of authorized domains), expected_success_p0, and boundary_policy (disjoint enforcement and maximum violation threshold v). These contracts are versioned and auditable.

Real-time monitoring tracks v_i (boundary violation events per Zone), q_merge (integration failure rate per merge point), and P(total) (rolling success probability). Dashboard panels display Quality at Scale curves, Boundary Violation heatmaps, and Merge Success trends — making the abstract probabilistic model visible and actionable.


9. Experimental Protocol

We propose a scaling experiment with controlled boundary and merge conditions:

Setup. Define a complex task T decomposable into n = 1, 2, 4, 6, 8 sub-tasks. For each n, deploy n agents with defined scopes and merge contracts.

Case A: Boundaries Unclear. Scopes are defined informally (natural-language descriptions). Merge contracts are absent — integration is left to a coordinating agent's judgment. This represents the current state-of-practice in most multi-agent frameworks.

Case B: Boundaries Explicit. Scopes are formally disjoint (Zone-enforced). Merge contracts are stored as Evidence and gate-verified. This represents the MARIA OS architecture.

Measurements. For each (n, case) pair, process 200 tasks and record: p_i (sub-task success per agent), v_i (boundary violation rate per agent), q_merge (merge failure rate), P(total) (total success). Plot the Quality at Scale Curve: P(total) vs. n for both cases.

Hypothesis. Case A exhibits quality collapse: P(total) decreases monotonically with n, crossing below 0.50 at n ≈ 6. Case B exhibits quality convergence: P(total) remains above 0.90 for all n ≤ 8, with q_overlap < 0.03 and q_merge < 0.05.


10. Discussion

10.1 Quality as an Architectural Property

The central lesson of this model is that multi-agent quality is not an agent-level property — it is an architectural property. Improving individual agent capability (increasing p_i) helps, but its effect is bounded: even p_i = 0.99 for all agents yields P_parts = 0.99⁸ ≈ 0.923. Meanwhile, reducing q_overlap from 0.15 to 0.03 improves total success by 12 percentage points — a much larger marginal return. The highest-ROI investment in multi-agent quality is boundary definition and merge verification, not individual agent training.

10.2 The Microservices Analogy

The quality convergence model mirrors a well-known pattern in distributed systems engineering. Microservices architectures scale reliably when bounded contexts are enforced (each service owns its data) and interface contracts are explicit (API schemas, versioned protocols). Without these architectural constraints, microservices produce cascade failures, data inconsistencies, and integration nightmares. The same structural principles apply to multi-agent systems: disjoint scopes prevent cascade failures, and merge contracts prevent integration nightmares.

10.3 Limitations

The model assumes independence between sub-task success probabilities p_i. In practice, agents may share upstream dependencies (e.g., a common data source that fails), introducing correlated failures not captured by the product model. Extending the framework to account for correlated sub-task failures is an important direction for future work.


関連記事: Planet 100 Agent Population Dynamics: Emergent Role Specialization in Large-Scale Multi-Agent Governance Systems

関連記事: Communication Topology and Information Cascading in Planet 100: Bottleneck Detection and Bandwidth Optimization in 100+ Agent Clusters

関連記事: From Agent to Civilization: Multi-Scale Metacognition and the Governance Density Law

関連記事: Action Router × Gate Engine Composition: Formal Theory of Responsibility-Aware Routing

関連記事: Metacognition in Agentic Companies: Why AI Systems Must Know What They Don't Know

関連記事: Self-Modifying Agent Systems: Architecture for Agents That Rewrite Their Own Tools, Commands, and Workflows

関連記事: AI Office Operating Model: Design Principles for a Virtual Office Where 10 Teams Work as a Unified Organizational OS

関連記事: Collective Calibration Dynamics: How Agent Teams Achieve Shared Epistemic Accuracy in MARIA OS

関連記事: Civilization Simulation as a Governance Laboratory: Emergent Institutional Evolution in Constrained Multi-Nation Systems

関連記事: Recursive Self-Improvement Under Governance Constraints: Governed Recursion via Contraction Mapping and Lyapunov Stability

関連記事: Sentence-Level Streaming VUI Architecture: From Cognitive Theory to Production Implementation in MARIA OS

関連記事: Action Router Intelligence Theory: Why Routing Must Control Actions, Not Classify Words

関連記事: Voice-Driven Agentic Avatars: A Recursive Self-Improvement Framework for Autonomous Intellectual Task Delegation

関連記事: Voice-Driven Agentic Avatars: Foundational Theory for High-Cognition Task Delegation with Recursive Improvement

関連記事: Voice User Interface設計の認知科学的基盤: マルチモーダル対話における注意資源配分モデル

関連記事: Gated Meeting Intelligence: Fail-Closed Privacy Architecture for AI-Powered Meeting Transcription

関連記事: Real-Time Meeting Session Orchestration: State Machine Design for Multi-Component Bot Systems

関連記事: Organizational Learning Dynamics Under Meta-Insight: A Differential Equations Model for System-Wide Intelligence Growth

関連記事: AI Governance IP Strategy: A Three-Layer Model for Protecting Structural Ethics in Autonomous Systems

関連記事: Multi-Agent Societal Co-Evolution Model: Network Trust Dynamics and Phase Transitions in AI-Augmented Organizations

関連記事: Self-Extending Agent Architecture: Capability Gap Detection, Tool Synthesis, and Autonomous Evolution Under Governance Constraints

関連記事: Robot Judgment OS Lab: Designing Responsibility-Bounded Physical-World AI with Multi-Universe Gates

関連記事: CEO Clone: From Judgment Extraction to Autonomous Governance Engine

関連記事: Industrial Loop Stability: Mathematical Foundations for Self-Monitoring Capital-Physical-Ethical Control Systems

関連記事: CEO Cloneが「育つ」仕組み ── 使うほど社長に近づく理由

関連記事: CEO Cloneを社内ツールに接続する方法 ── Slack・LINE・メール連携

関連記事: CEO Clone判断エンジン:エンジニアが知るべき活用法

関連記事: Company Intelligence: なぜMARIA OSはAIツールではなく、会社の知能をつくるOSなのか

関連記事: Decision Civilization Infrastructure: From Ethics-as-Architecture to the Universal Responsibility Operating System

関連記事: The Brain as a Recursive Self-Improving System

関連記事: MARIA VITAL:Agent組織のための生命維持システム — Heartbeat監視から再帰的自己改善まで

関連記事: Tool Genesis Under Governance: How to Safely Turn Generated Code into New Commands

関連記事: Anomaly Detection for Agentic System Safety and Deviation Control

関連記事: Institutional Design for Agentic Societies: Meta-Governance Theory and AI Constitutional Frameworks

関連記事: Agent Tool Compiler: From Natural Language Intent to Executable Tool Code via Compilation Pipeline

関連記事: Audit Universe Runtime: Agent Design for Executing Audit Procedures as Runtime Operations

関連記事: Evolution as Safe Mutation Governance

関連記事: CEO Clone OS:社長インタビューから、統治された経営判断OSへ

関連記事: 動的ハーネスと位相空間制御:virtual-talentからMARIA OSへ

関連記事: Governance Load Testing: Where Does Governance Break in the 1000-Agent Era?

関連記事: Agentic Ethics Lab: Designing a Corporate Research Institute for Structural Ethics in AI Governance

関連記事: CEO Cloneのセキュリティ対策 ── 社長のデータを守る仕組み

関連記事: Investment Decision Lab: Designing Agentic R&D Teams for Multi-Universe Capital Allocation

関連記事: Doctor Architecture: Anomaly Detection as Enterprise Metacognition in MARIA OS

関連記事: Responsibility Propagation in Dense Agent Networks: Decision Flow Analysis in Planet 100's 111-Agent Ecosystem

関連記事: 申込から5分で使える「CEO Clone Light」の始め方 — 面談不要・すべてオンラインで完結

関連記事: Audit Universe Runtime:監査手続をランタイム・オペレーションとして実行するAgentアーキテクチャ

関連記事: Meta-Insight Under Distribution Shift: Change-Point Governance Loops for Enterprise Agentic Systems

関連記事: MARIA OS Appliance Reference Architecture: Standard Configuration for On-Premise AI Governance Infrastructure

関連記事: LINE・Slack・Discordで「判断OS」に相談できるようにする方法

関連記事: MARIA OSアプライアンス・リファレンスアーキテクチャ:オンプレミスAIガバナンス基盤の標準構成

関連記事: Knowledge Graph Construction from Decision Audit Trails: Entity Resolution and Temporal Edge Weighting for Governance Traceability

関連記事: LOGOS and the AI Tribunal: Decision Patterns, Sustainability Optimization, and Constitutional Amendment Dynamics in Civilization's National AI Systems

関連記事: Agent Capability OS — Command Registry・Tool Registry・Capability Graphで能力を管理するOS設計

関連記事: Repeated Games and the Cofounder Problem: Why Startup Cooperation Depends on Shared Time Horizons

関連記事: The Complete Action Router: From Theory to Implementation to Scaling in MARIA OS

関連記事: Memory Stratification for AI Governance: A Rate-Distortion Framework for Retention Decisions

関連記事: The Algorithm Stack for Agentic Organizations: 10 Essential Algorithms Mapped to a 7-Layer Architecture

関連記事: Capability Gap Detection — Agentが自分の能力不足を認識するメタ認知アーキテクチャ

関連記事: MARIA OS 評価ハーネス:Agentの品質を測定するための標準テストインフラストラクチャ

11. Conclusion

This paper has established that multi-agent quality is a probability and boundary problem with three formal laws:

  • Law 1: Define disjoint scopes. Ensure S_i ∩ S_j = ∅ through architectural enforcement, not guidelines. This bounds q_overlap near zero regardless of agent count.
  • Law 2: Gate-verify merge contracts. Treat integration specifications as Evidence artifacts subject to gate evaluation. This bounds q_merge near zero and makes integration deterministic.
  • Law 3: Monitor boundary violations. Continuously measure v_i and q_merge as system health indicators. Quality collapse is preceded by gradual boundary violation increases — detect and correct before collapse.

The total success model P(total) = Π(p_i) · (1 - q_merge) · (1 - q_overlap) provides a quantitative framework for predicting, monitoring, and improving multi-agent system quality. The multiplicative structure makes the stakes clear: quality at scale is not about individual excellence. It is about architectural contracts.

Future work includes game-theoretic incentive design for boundary compliance (ensuring agents are incentivized to respect scope boundaries), correlated failure modeling, and extension to hierarchical multi-agent systems where sub-tasks are recursively decomposed.

Quality is not a property of agents. It is a property of the boundaries between them. Define the boundaries, verify the contracts, and quality will converge. Ignore them, and no amount of agent intelligence will save you.

その判断、社長にしかできないものですか?

10問の無料診断で、御社の「判断の属人化度」を可視化します

無料で判断リスクを診断する →

関連記事