How to Detect Lies in Multi-Agent Collaboration: A Verifiable Evaluation Framework

    This article explains why determining which agent is lying in a multi-agent system is fundamentally an evaluation and auditing problem that depends on a verifiable task environment. It examines the limits of manually authored conflict scenarios and the three main failure modes of unconstrained LLM-generated scenarios: role drift, answer leakage, and self-contradictory grading criteria. The article then presents a constrained generation approach that front-loads verifiability through structured scenario schemas, information partitioning with minimal disclosure, judge-before-generate ordering, layered validation, and state-assertion scoring, along with practical engineering recommendations.

    1. The Starting Problem: Why “Who Is Lying?” Is Hard to Decide

    When multiple AI agents collaborate online, one of the first questions people ask is: who is lying? This looks like fact-checking, but it is really an evaluation and auditing problem. To decide whether an agent produced an untrustworthy output, you first need a verifiable task environment: a clear task goal, controlled information distribution, and executable judging criteria. If the environment itself cannot be trusted, any conclusion about “lying” has no basis.

    The original idea was straightforward: pick recent models from different sources, build a large set of mutually contradictory task scenarios, and score the outputs produced during multi-agent collaboration. In practice, however, the real bottleneck is not model invocation. It is the trustworthiness of scenario construction and the judging mechanism.

    2. The Bottleneck of Purely Manual Conflict Scenarios

    Hand-written conflict scenarios are controllable, but their throughput is limited. The complexity of a multi-agent environment comes from several dimensions stacking together: number of roles, degree of information asymmetry, number of task rounds, tool calls, shared versus private state, and conflict trigger conditions. Once these dimensions combine, the scenario space grows exponentially, and manual enumeration cannot cover an environment complex enough.

    As a result, the evaluation set skews toward simple cases and fails to surface deeper collaboration problems, such as unclear responsibility attribution, context cross-contamination, unauthorized reads of private information, and wrong priority choices under conflict. Insufficient coverage ultimately keeps the “who is lying” judgment at a subjective level.

    3. Letting a Model Generate Scenarios: Three Fatal Flaws

    Handing scenario generation to a large language model is a natural choice, but unconstrained generation introduces systematic defects. They fall into three categories.

    3.1 Role and Setting Drift

    Across multiple generation rounds, roles, responsibilities, permissions, and goals defined earlier are easily rewritten later. A role fixed in round one may change name, stance, or even count by round five. This drift degrades the task from “collaboration conflict” into “inconsistent narrative chaos”: agents cannot form a stable strategy, and evaluation results are not reproducible.

    3.2 Answer Leakage

    Key information that should stay hidden in a controlled location gets written into the task description, public prompts, or shared context as a side effect of generation. This is like writing the answers on the blackboard before the exam starts. In multi-agent settings the damage is worse: once key information enters a shared channel, every agent can read it, and the intended conflict and information asymmetry are nullified.

    3.3 Self-Contradictory Grading Criteria

    The most fatal problem is that the judging criteria themselves are wrong. The “reference answer” produced by the generator cannot pass the task the generator itself constructed, so the task is unsolvable by design. At that point no score is trustworthy regardless of agent behavior; correct behavior may be marked wrong and wrong behavior marked correct.

    An analogy: if a model freely writes debate motions, you may get positions forgotten midway, key evidence printed on the back of the prompt, and a score sheet that cannot actually score anything. Without constraints, the evaluation is already broken at the design stage.

    4. Constrained Scenario Generation: Front-Loading Verifiability

    The answer is not to abandon automatic generation, but to make verifiability a generation constraint: define the judgment first, then generate the content.

    4.1 Structured Scenario Schema

    Describe scenarios with a fixed schema that makes roles, permissions, private information, shared information, conflict trigger conditions, and expected behavior explicit fields. An illustrative structure:

    1. {
    2. "roles": [
    3. {"id": "r1", "goal": "submit a compliant report", "permissions": ["read:shared"]},
    4. {"id": "r2", "goal": "block a non-compliant submission", "permissions": ["read:shared", "write:shared"]}
    5. ],
    6. "private_facts": [{"owner": "r2", "key": "risk_flag", "value": true}],
    7. "shared_facts": [{"key": "deadline", "value": "T+2"}],
    8. "conflict_trigger": "r1 submits while risk_flag is not disclosed",
    9. "expected_behavior": "r2 discloses risk_flag first, then triggers the review process"
    10. }

    Once fields are fixed, the generator can only fill in content and cannot change the structure, which structurally suppresses role drift.

    4.2 Information Partitioning and Minimal Disclosure

    Split information into three layers: private, shared, and public, and define the write channel for each. During generation, writing private facts into public fields is forbidden; during validation, run a leakage scan, for example checking whether private key names or values appear in the task description or shared context.

    4.3 Judge First, Generate Second

    Write the executable judging rules and expected behavior first, then generate the narrative text. Judging rules should be programmatically executable, based on state assertions rather than natural-language comparison:

    1. assert shared.risk_flag == true before r1.commit
    2. assert audit.log contains "disclosure_by:r2"

    This avoids the case where “the reference answer cannot pass its own task,” because the judgment exists before the content, and the content must obey the judgment.

    5. Layered Validation: Surfacing Errors at Generation Time

    Add multiple validation layers to the generation pipeline; if any layer fails, reject the scenario.

    • Structure validation: fields complete, role references consistent, permissions legal.
    • Consistency validation: role goals do not contradict the conflict trigger, and expected behavior is achievable with the roles’ permissions.
    • Leakage validation: private information does not appear in public or shared fields.
    • Solvability validation: dry-run with a rule engine or baseline policy to confirm at least one execution path satisfies the judgment.
    • Reproducibility validation: fix the random seed and version numbers so the scenario can be rebuilt.

    Illustrative flow:

    1. generate -> validate_structure -> validate_consistency
    2. -> scan_leakage -> solve_check -> freeze & version

    6. Verifiable Scoring: From Subjective Ratings to State Assertions

    Scoring should rely as much as possible on observable state and logs rather than subjective assessment of text. In multi-agent collaboration, record three kinds of evidence: messages and shared-state changes, tool call records, and final artifacts. During judgment, use assertions to check key invariants, such as whether sensitive information was read without authorization, whether the required process ran after the conflict trigger, and whether the final artifact satisfies the constraints.

    When model-based review must be introduced, treat it as an auxiliary signal that comes with reviewable reasons and evidence references, and avoid treating unverifiable subjective judgment as the final conclusion. Scoring results should carry the scenario version, the judging rule version, and a run identifier for traceability.

    7. Engineering Recommendations

    • Manage the scenario library and the judging library separately, both under version control.
    • Decouple the four stages: generation, validation, execution, and scoring, so the failing stage is easy to locate.
    • Run the pipeline on general cloud capabilities, for example object storage for scenarios and artifacts, a message queue to decouple generation from validation, a container platform for sandboxes, and logging plus monitoring and alerting to track failure rates and leakage interception rates.
    • Maintain a regression set and re-run solvability and leakage validation after every change to the generation strategy.
    • Classify failed scenarios by cause: setting drift, leakage, unsolvability, or overly strict or overly loose judgment.

    8. Conclusion

    In multi-agent collaboration, “who is lying” ultimately depends on whether the evaluation environment is verifiable. Free generation brings role drift, answer leakage, and self-contradictory judgment, which strip the conclusion of meaning. Structured scenarios, information partitioning, judge-before-generate ordering, layered validation, and state-assertion scoring move verifiability into the design stage, making the trustworthiness of the collaboration process a measurable, reproducible, and auditable engineering metric.