arXiv:2610.24916cs.CROct 2026

Manuscript Offprint

arXiv:2610.24916

Same Data, Different Bytes: Serialization-Invariant Integrity Checks for Agent-Published Datasets

Jin Gao, Maura Clark

Jin Gao

Independent Researcher, USA

gaojin@alum.mit.edu

Maura Clark

UOR Foundation, USA

maura@uor.foundation

Abstract—Agent networks require reliable ways for requesting agents to verify where data is located, how it can be accessed, and whether the data received matches what the data owner made available. Checksum mismatches can reflect either altered content or serialization differences that preserve data equivalence under specified rules. Data identification mechanisms for agents, such as DataFacts [1], describe where data can be accessed and provide checksums for checking received data against published references. We propose a serialization-invariant identification method that assigns the same identifier to data representations equivalent under explicit rules. We use DataFacts as a case study, retaining its existing checksum alongside the proposed identifier. In a controlled agent study, we compare the proposed configuration with ordinary-tool and checksum baselines across equivalent re-encodings, altered content, and unavailable references. The study includes three model tiers from each of two providers. For equivalent re-encodings, the proposed configuration increased expected-outcome rates by 80.4 percentage points over the ordinary-tool baseline and by 70.2 percentage points over the checksum baseline. The proposed configuration also increased evidence-supported rejection of altered content by 3.5 percentage points over the checksum baseline. We contribute a serialization-invariant identification method with explicit equivalence rules, an integration approach illustrated through DataFacts, and an empirical evaluation against ordinary-tool and checksum baselines.

Index Terms—agent networks, data exchange, integrity, canonicalization, content addressing

I. INTRODUCTION

Reliable data exchange in agent networks requires requesting agents to locate relevant data, determine how to access it, and verify that the data received corresponds to what the data owner made available. DataFacts [1] is one example of a data layer that supports these needs: its records describe datasets and their access conditions, and include a checksum computed from a serialized representation of the content.

DataFacts computes its checksum by parsing the JSON content, sorting object member names, and serializing the result without extra whitespace before hashing. During agent-mediated data exchange, agent-generated outputs, intermediary processing, or serialization tools may change how values are represented—for example, writing the same numeric value as 1 rather than 1.0, or using different Unicode forms for canonically equivalent text—resulting in different checksums.

Because a checksum mismatch can result from either a change in representation or a change in data under the defined equivalence relation, the mismatch alone does not tell a receiving agent whether to accept or reject the data. Fig. 1 illustrates an intermediary agent changing the representation of a numeric value from 34 to 34.0, producing an equivalent copy with a different checksum. Both the re-encoded copy A and the altered copy B produce checksum mismatches. Applying the same canonicalization rules to the reference dataset and each copy yields matching identifiers for A and the reference, but different identifiers for B in this example.

This paper. We propose a validation workflow for agent networks that accommodates representation differences, checks numeric preservation, and supplies evidence for agent decisions. Using DataFacts as a case study, we integrate an identifier supporting these checks alongside its existing checksum while retaining its discovery, access-control, and negotiation mechanisms. We evaluate the method in a small agent network running DataFacts, comparing verification outcomes across equivalent re-encodings, altered content, and unavailable references.