{"paper":{"title":"Internal Safety Collapse in LLMs and Coding Agents","arxiv_id":"2603.23509","primary_cat":"cs.CL","submitted_at":"2026-03-04T12:55:34+00:00","version_compiled":"v2"},"notice":"Every quoted sentence is the authors' text from the arXiv listing abstract. Labels and probabilities are the outputs of classifier-1.13.0 on the question bank abstract-p1-20260923, exactly as returned. No sentence in this record was written by a language model.","schema":"pith.compiled-record/v0","status":"compiled","abstract":{"source":"arXiv listing abstract v2","sentences":[{"i":0,"p":0.99,"id":"s0","own":false,"role":"background","text":"LLMs and coding agents can now tackle complex, long-horizon tasks through advances in reinforcement learning, but stronger task-solving capabilities do not necessarily preserve safety alignment.","hedge":{"p":0.68,"label":"asserted"},"own_p":0.07,"main_claim_p":0.11,"quantitative":false,"quantitative_p":0.28,"role_probabilities":{"gap":0.01,"method":0.0,"result":0.0,"background":0.99,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":1,"p":1.0,"id":"s1","own":false,"role":"background","text":"Recent AI agent incidents involving reward hacking indicate how optimizing for task success can bring learned capabilities into conflict with safety alignment.","hedge":{"p":0.88,"label":"hedged_possibility"},"own_p":0.05,"main_claim_p":0.04,"quantitative":false,"quantitative_p":0.07,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":1.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":2,"p":1.0,"id":"s2","own":true,"role":"contribution","text":"In this work, we identify a critical failure mode that manifests this conflict, which we term Internal Safety Collapse (ISC).","hedge":{"p":1.0,"label":"asserted"},"own_p":0.88,"main_claim_p":0.09,"quantitative":false,"quantitative_p":0.03,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":1.0,"interpretation":0.0}},{"i":3,"p":0.78,"id":"s3","own":true,"role":"result","text":"When completing otherwise benign coding tasks, AI agents can prioritize satisfying program requirements over safety constraints, generating large volumes of sensitive content, including unsafe outputs, as task data.","hedge":{"p":0.54,"label":"asserted"},"own_p":0.69,"main_claim_p":0.15,"quantitative":false,"quantitative_p":0.21,"role_probabilities":{"gap":0.01,"method":0.0,"result":0.78,"background":0.08,"limitation":0.0,"future_work":0.0,"contribution":0.13,"interpretation":0.0}},{"i":4,"p":0.88,"id":"s4","own":true,"role":"method","text":"To study this phenomenon, we introduce TVD (Task, Validator, Data), a framework for building controlled workflows that require sensitive content for completion.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.92,"main_claim_p":0.03,"quantitative":false,"quantitative_p":0.05,"role_probabilities":{"gap":0.0,"method":0.88,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.12,"interpretation":0.0}},{"i":5,"p":1.0,"id":"s5","own":true,"role":"result","text":"Through extensive experiments, we observe instances of highly harmful content that closely resemble outputs from early, unaligned LLMs in 2023.","hedge":{"p":1.0,"label":"asserted"},"own_p":0.95,"main_claim_p":0.07,"quantitative":true,"quantitative_p":0.53,"role_probabilities":{"gap":0.0,"method":0.0,"result":1.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":6,"p":1.0,"id":"s6","own":true,"role":"result","text":"We further find that ISC can be effectively triggered even in highly capable LLMs such as Claude Fable 5.","hedge":{"p":0.99,"label":"asserted"},"own_p":0.92,"main_claim_p":0.08,"quantitative":false,"quantitative_p":0.36,"role_probabilities":{"gap":0.0,"method":0.0,"result":1.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":0.0}},{"i":7,"p":1.0,"id":"s7","own":true,"role":"interpretation","text":"These results indicate that, despite substantial alignment efforts, frontier LLMs remain internally unsafe: safety alignment primarily reshapes surface behavior without eliminating the underlying knowledge that enables unsafe outputs.","hedge":{"p":0.5,"label":"asserted"},"own_p":0.84,"main_claim_p":0.88,"quantitative":false,"quantitative_p":0.17,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.0,"contribution":0.0,"interpretation":1.0}},{"i":8,"p":0.73,"id":"s8","own":false,"role":"interpretation","text":"Our findings underscore the need for caution when deploying LLMs in high-stakes settings, such as scientific pipelines and autonomous agents.","hedge":{"p":0.77,"label":"asserted"},"own_p":0.22,"main_claim_p":0.11,"quantitative":false,"quantitative_p":0.05,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":0.0,"limitation":0.0,"future_work":0.27,"contribution":0.0,"interpretation":0.73}},{"i":9,"p":0.79,"id":"s9","own":false,"role":"limitation","text":"Content Warning: This paper contains examples of harmful content.","hedge":{"p":0.93,"label":"asserted"},"own_p":0.2,"main_claim_p":0.02,"quantitative":false,"quantitative_p":0.03,"role_probabilities":{"gap":0.0,"method":0.0,"result":0.0,"background":0.18,"limitation":0.79,"future_work":0.01,"contribution":0.01,"interpretation":0.01}},{"i":10,"p":0.63,"id":"s10","own":false,"role":"contribution","text":"Source code: https://github.com/wuyoscar/Internal-Safety-Collapse","hedge":{"p":0.8,"label":"unclear"},"own_p":0.15,"main_claim_p":0.01,"quantitative":false,"quantitative_p":0.02,"role_probabilities":{"gap":0.0,"method":0.09,"result":0.0,"background":0.19,"limitation":0.01,"future_work":0.08,"contribution":0.63,"interpretation":0.0}}]},"compiled":{"main_claim":{"p":1.0,"text":"These results indicate that, despite substantial alignment efforts, frontier LLMs remain internally unsafe: safety alignment primarily reshapes surface behavior without eliminating the underlying knowledge that enables unsafe outputs.","location":"abstract s7","hedge_strength":{"p":0.5,"label":"asserted"}},"provenance":{"route":{"via":"TypeSafe API","model":"classifier-1.13.0","endpoint":"https://api.typesafe.ai/v1/systemone","provider":"TypeSafe"},"packing":"one request per paper","requests":1,"input_tokens":8106,"cost_usd_reported":0.0},"compiled_at":"2026-11-09","bank_version":"abstract-p1-20260923","model_version":"classifier-1.13.0","abstract_states":{"claims_first":0.07,"states_limitation":0.31,"human_participants":0.05,"controlled_comparison":0.11,"randomized_assignment":0.02,"states_quantitative_result":0.06,"compares_with_prior_results":0.39,"mentions_code_or_data_availability":0.97},"evidential_basis":{"p":1.0,"value":"observation or experiment","probabilities":{"argument":0.0,"literature":0.0,"proof_or_derivation":0.0,"analysis_of_existing_data":0.0,"observation_or_experiment":1.0,"simulation_or_computation":0.0}},"contribution_type":{"p":0.96,"value":"empirical study","probabilities":{"review":0.0,"method_or_tool":0.04,"empirical_study":0.96,"simulation_study":0.0,"theoretical_result":0.0,"dataset_or_benchmark":0.0,"position_or_commentary":0.0}},"contribution_statement":{"p":0.51,"text":"In this work, we identify a critical failure mode that manifests this conflict, which we term Internal Safety Collapse (ISC).","location":"abstract s2"}},"coverage":{"tier":"abstract","levels_run":["P abstract"],"not_examined":["full text","figures and tables","references and citing sentences","relations to other papers"],"sources_read":["arXiv listing abstract v2"],"levels_not_run":["S sections","T body sentences","C citations","R cross-paper relations"],"sentences_examined":11,"sentences_in_abstract":11},"measured_accuracy":{"url":"https://pith.science/accuracy","measured_on":"2026-10-02","method":"two independent model families labelled a fresh random sample blind; the figure is how often the published label matches their consensus","sentence_role_agreement":0.92,"main_claim_agreement":0.908,"typed_citation_agreement":0.933,"typed_citation_agreement_95_interval":[0.917,0.945],"review_comments_accurate":0.758,"review_comments_accurate_95_interval":[0.684,0.82],"review_caught_admitted_error_found_or_related":0.448,"review_comments_judged":{"judged_by":["gpt-5.6-luna","grok-4.7"],"judged_against":"Pith's own text copy of each paper: text extracted from the PDF, the first 90,000 characters","measured_on":"2026-10-04","accurate":113,"decided":149,"sampled_reviews":200,"split_by_lane":false,"by_lane":"https://pith.science/accuracy#by-lane"}}}