My earlier paper articles here looked at evidence records and at auditing a physics claim. This one is closer to everyday code: it's about a metric I built for multi-agent text systems, and what happened when I audited it as software instead of taking it at its word.
The paper is Geometric Coherence Metrics for Multi-Agent Text Systems: Construct Definition, Internal Consistency Audit, and a Falsifiable Validation Protocol (preprint, 9 August 2026, CC BY 4.0). DOI: 10.5281/zenodo.23546975.
The question
If you run several LLM agents on one task, it's tempting to want a single number that says whether they're "coherent." My Harmonic Coherence framework tried to give one. It scores each agent's text with keyword heuristics (confidence phrases, exploratory vs. decisive wording, contradiction and evidence markers), turns those scores into Stokes-like coordinates, places them on something shaped like a Poincaré sphere, and then computes phase coupling, harmonic distance, collective coherence, and "polarization variance."
The vocabulary comes from optics. That's where the paper starts being careful. The paper asks three narrower questions:
- Is the geometry the code implements internally consistent?
- Do the framework's own tests support the invariants it claims?
- What experiment would it take to show that the score predicts anything useful about how agents actually perform?
What the audit found
The method was simple: run the supplied test suite without changing any expected assertions, then trace each failure back through the source. The paper reports 11 passing and 8 failing tests. Those are software-validation results, not results about real multi-agent performance.
Tracing the failures turned up a few concrete problems:
- Points labeled as sphere coordinates weren't on the sphere. The conversion computed a magnitude and clamped a local variable to 1 when it was too big, but never actually rescaled the coordinates. So "Poincaré" points could sit off the unit sphere.
- Two metrics used two different geometries. Phase coupling normalized vectors before taking a dot product, while harmonic distance used the raw coordinates. So the two weren't guaranteed to move together, even though they were supposed to describe the same relationship.
- Missing signal turned into neutral agreement. When the intensity-like value was zero, normalization fell back to a default state, and coupling came out as exactly 0.5. Text that was meant to be opposite could score as "neutral." Several failing tests come down to this: a measurement failure getting reported as a semantic claim.
- The dispersion measure didn't match the sample space. "Polarization variance" used Euclidean deviation from an arithmetic mean, which doesn't fit data that is supposed to live on a sphere.
The fix, and why it's not the finish line
The repair is ordinary directional statistics. Normalize every nonzero state to a unit vector u. Define angular distance as d = arccos(u_i · u_j) / π and coupling as c = (1 + u_i · u_j) / 2. Then the two are linked exactly:
c = (1 + cos(π d)) / 2
That's an algebraic identity, not a fitted result or a discovery. I still find it useful, because it gives you a metamorphic test: any implementation that claims both metrics on a unit sphere should satisfy it within floating-point tolerance. The paper turns this into a short list of regression tests: bounds on d and c, d(u,u) = 0, d(u, −u) = 1, symmetry, and the identity itself. It also adds a rule that zero-direction states must be explicitly undefined or weighted separately, never quietly treated as agreement. For collective concentration it suggests the weighted mean resultant length, with dispersion defined as 1 minus that length.
Here's the important part. Fixing the geometry only makes the math consistent with itself. It doesn't show that the number measures coherence. The features are surface markers. A wrong answer can sound confident and stay consistent. Two agents can agree on the same false premise. A strong, diverse team can write complementary answers with little lexical overlap. A score built from wording can be gamed without the task outcome changing at all.
What the paper does and doesn't show
It does show specific internal inconsistencies in my implementation, and a corrected formulation you can test.
It doesn't show that "coherence" as scored here predicts task success. No external dataset was used, and no construct validation has been done. The optical language is an analogy only: there are no fields, phase locking, or quantum effects between language models. The paper also hasn't been peer reviewed or independently replicated. The exact source tree and full test log aren't publicly deposited yet, so for now you can't rerun the 11/8 count yourself. The paper lists that as a gap.
What a real test would look like
The paper proposes a preregistered validation: tasks with objective outcomes (code debugging with unit tests, factual QA with gold labels, constrained planning), multi-agent teams randomly assigned to no-feedback, metric-feedback, and simple-baseline conditions (pairwise semantic similarity, or majority vote), with task accuracy as the primary outcome, never the coherence score itself. It also calls for ablations that remove one feature family at a time and swap the sphere for plain cosine distance on normalized embeddings. If nothing changes, the optical framing adds nothing. Paraphrase tests check whether the score moves while the content stays the same. It doesn't fix a sample size, because there's no pilot data or justified effect size to base one on yet.
The broader lesson I took away applies to more than agents: a metric can be well defined, versioned, even stored immutably, and still not measure what its name says. Immutable storage keeps an invalid score just as faithfully as a valid one.
If you've built or used agreement or coherence scores for multi-agent setups, I'd like to hear which outcome measures you trusted, and where your metric quietly disagreed with reality. The paper is open at the DOI above, and critiques are welcome.