AI agents in long-context applications drift from their specified identity. Current methods detect this only after qualitative degradation is visible. We present a geometric framework for measuring identity structure using $\sqrt{\mathrm{JSD}}$ metric spaces and magnitude homology from enriched category theory, where identity is non-geodesic structure and drift is its relaxation toward the geodesic.
Validated on a persistent AI agent, the framework's strongest empirical finding is a two-mechanism conditioning structure: cross-condition distances reveal an identity-vacuum cluster where the identity specification fills a behavioral void, and a safety-basin cluster where it displaces from post-training attractors. An equilateral probe baseline confirms that the identity specification creates measurable behavioral richness (55 unique response patterns vs. 1 for the base model) at maximum probe separation. A first-order perturbation theory for equilateral configurations predicts magnitude changes from perimeter changes alone, with shape perturbations first-order cancelled by the $S_n$ symmetry; the formula is self-consistent at the observed perturbation amplitudes.
A drift experiment measuring magnitude decrease under context pressure was subsequently found to reflect repetitive-padding artifacts rather than genuine context-length drift; diverse padding produces no measurable deformation through 150K tokens. The magnitude homology framework's full diagnostic promise -- detecting anisotropic contraction and structural collapse via homological simplification -- is architecturally grounded in the perturbation theory and selection rules but remains empirically unconfirmed.
AI Identity: Standards, Gaps, and Research Directions for AI Agents
AIFT, Singapore(新加坡AIFT);Graduate School of Fundamental Science and Engineering, Department of Computer Science and Communications Engineering, Waseda University, Japan(日本早稻田大学基础科学与工程研究生院计算机科学与通信工程系);Keio Global Research Institute (KGRI), Japan(日本庆应大学全球研究机构)
Conditioned in Training, Dispensable at Inference: Typological Conditioning for Multilingual Speech Translation
School of Information Science and Electrical Engineering, Kyushu University(九州大学信息科学与电子工程学院);Recho Inc.(Recho公司);National Institute of Informatics(国家信息研究所);Interdisciplinary Research Centre on Security, Reliability and Trust (SnT), University of Luxembourg(卢森堡大学安全、可靠性与信任跨学科研究中心);Donghua University(东华大学);Department of Computer Science, The University of Tokyo(东京大学计算机科学系);Department of Electrical and Computer Engineering, University of Alberta(阿尔伯塔大学电子与计算机工程系)
Predicting Collision Cross Sections with GRACE: Geometric Residual Adduct Conditioning via Early-fusion
IBM Research(IBM研究院);Center for Computational Life Sciences, Cleveland Clinic(克利夫兰诊所计算生命科学中心);Department of Chemistry, Michigan State University(密歇根州立大学化学系)