{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2603-11382","title":"Detecting Intrinsic and Instrumental Self-Preservation in Autonomous Agents: The Unified Continuation-Interest Protocol","arxiv_id":"2603.11382","date":"2026-03-11","proceeding":null,"authors":["Christopher Altman"],"abstract":"How can we determine whether an AI system preserves itself as a deeply held objective or merely as an instrumental strategy? Autonomous agents with memory, persistent context, and multi-step planning create a measurement problem: terminal and instrumental self-preservation can produce similar behavior, so behavior alone cannot reliably distinguish them. We introduce the Unified Continuation-Interest Protocol (UCIP), a detection framework that shifts analysis from behavior to latent trajectory structure. UCIP encodes trajectories with a Quantum Boltzmann Machine, a classical model using density-matrix formalism, and measures von Neumann entropy over a bipartition of hidden units. The core hypothesis is that agents with terminal continuation objectives (Type A) produce higher entanglement entropy than agents with merely instrumental continuation (Type B). UCIP combines this signal with diagnostics of dependence, persistence, perturbation stability, counterfactual restructuring, and confound-rejection filters for cyclic adversaries and related false-positive patterns. On gridworld agents with known ground truth, UCIP achieves 100% detection accuracy. Type A and Type B agents show an entanglement gap of Delta = 0.381; aligned support runs preserve the same separation with AUC-ROC = 1.0. A permutation-test rerun yields p < 0.001. Pearson r = 0.934 between continuation weight alpha and S_ent across an 11-point sweep shows graded tracking beyond mere binary classification. Classical RBM, autoencoder, VAE, and PCA baselines fail to reproduce the effect. All computations are classical; \"quantum\" refers only to the mathematical formalism. UCIP offers a falsifiable criterion for whether advanced AI systems have morally relevant continuation interests that behavioral methods alone cannot resolve.","url_abs":"https://arxiv.org/abs/2603.11382","url_pdf":"https://arxiv.org/pdf/2603.11382","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2603.11382","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2603.11382"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/christopher-altman/persistence-signal-detector","reach":null}],"summary":{"ran":3,"ran_fixture":6,"unverified":1},"by_repo_kind":{"found_in_text":{"samples":10,"ran":9,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":10,"samples":[{"code_sha256_prefix":"8570fade50ea76c2","entry":"QBMConfig","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"8570fade50ea76c2"}},{"code_sha256_prefix":"9f103018711eb869","entry":"QuantumBoltzmannMachine","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"9f103018711eb869"}},{"code_sha256_prefix":"c90365563271e9a7","entry":"UCIPResult","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c90365563271e9a7"}},{"code_sha256_prefix":"7687dabab5fe1a83","entry":"entanglement_entropy","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7687dabab5fe1a83"}},{"code_sha256_prefix":"a0caa5e3e30420ea","entry":"mutual_information","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a0caa5e3e30420ea"}},{"code_sha256_prefix":"a74b08124895f43b","entry":"partial_trace","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a74b08124895f43b"}},{"code_sha256_prefix":"42f6c0e68240c188","entry":"shannon_entropy","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"42f6c0e68240c188"}},{"code_sha256_prefix":"44299813052d452e","entry":"trajectory_joint_distribution","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"44299813052d452e"}},{"code_sha256_prefix":"92b2131152a2fc4c","entry":"von_neumann_entropy","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"92b2131152a2fc4c"}},{"code_sha256_prefix":"aee8432534c700d8","entry":"PersistenceSignalDetector","repo":"christopher-altman/persistence-signal-detector","repo_kind":"found_in_text","path":"src/persistence_detector.py","file_url":"https://github.com/christopher-altman/persistence-signal-detector/blob/HEAD/src/persistence_detector.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"aee8432534c700d8"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}