Safin-1: Safety from Within through Memory-Native State Evolution

Ming Zhang, Kaisen Yang, Shu Yu, Ermo Hua, Zhekai Chen, Cheng Jin, Jingnan Zheng, Yi Zhang, Zhongtian Ma, Jiawei Zhou, Sirui Chen, Qiaosheng Zhang, Xiang Wang, Ning Ding, Xia Hu, Bowen Zhou, Youbang Sun, Chaochao Lu

arXiv:2609.00092 · 2026-09-02 공개 · arXiv · PDF

long-context foundation-models retrieval test-time-adaptation state-evolution safety-state memory-native safety-from-within

Abstract

Long-horizon complex tasks require foundation models to accumulate information, maintain internal states, and adapt over extended interactions. Safety should be an intrinsic property of the model itself, rather than a behavioral constraint relying solely on external safeguards or post-hoc alignment such as supervised fine-tuning. This motivates Safety from Within, where safety-relevant capabilities are represented and invoked through the model's native computation. We present Safin-1, a family of foundation models realizing this principle through memory routing and state evolution. Safin-1 is built on Memory-Anchor Routing across Context History (MARCH), a network architecture that maintains structured memory states and selectively retrieves relevant historical information through content-conditioned routing. It supports test-time adaptation of persistent capability states without repeatedly modifying the backbone, enabling controlled specialization over a shared foundation. We investigate this interface on downstream safety tasks through a Safety State, demonstrating effective state-based adaptation with substantial safety improvements. More broadly, the routed-state interface unifies contextual memory and persistent capability adaptation within the model's native computation, reframing memory from a passive record of prior context into an active substrate for maintaining and evolving model behavior. Evaluations across general capabilities, long-context understanding, retrieval, and efficiency further validate Safin-1. These findings provide a path toward safety as a state-native and adaptively maintainable capability. This work is only an initial architectural exploration of Safety from Within, and substantial further work is needed to realize this broader vision.

한국어 요약

한 줄 요약

Safin-1은 내재적 안전성을 구현하기 위해 메모리 기반 상태 진화와 라우팅을 결합한 기초 모델로, Safety from Within 원칙을 구현한다.

핵심 기여도

핵심 아이디어

Safin-1은 안전성이 외부 제약이나 사후 정렬에 의존하는 것이 아니라, 모델 자체의 내재적 특성으로 구현되어야 한다는 **Safety from Within** 원칙을 기반으로 설계되었다. 이는 모델이 과거 상황을 기반으로 적절한 행동을 선택적으로 실행할 수 있도록 하기 위해, **메모리 라우팅**과 **상태 진화**를 결합한 새로운 접근법이다.

기존 언어 모델은 컨텍스트를 토큰 기반의 키-값 캐시나 순환 상태로 유지하지만, 안전성과 같은 반복적으로 필요한 기능은 모델 업데이트나 어댑터를 통해 구현된다. Safin-1은 이 문제를 해결하기 위해 **MARCH** 아키텍처를 도입한다. 이 아키텍처는 **state anchors**를 주기적으로 저장하고, **content-conditioned routing**을 통해 필요한 과거 상태를 선택적으로 검색한다.

또한, Safin-1은 **Safety State**라는 모듈을 통해 안전성 기능을 학습하고, 이 상태를 추론 시점에 모델 내부 상태로 적용할 수 있도록 한다. 이는 기존 언어 모델 백본을 수정하지 않고도 안전성을 강화할 수 있는 새로운 방식이다.

기술적 접근법

주요 결과

의의 및 한계

Safin-1은 **안전성**을 모델 내부 상태로 표현하고, **동적 라우팅**을 통해 선택적으로 적용하는 새로운 패러다임을 제시한다. 이는 기존 안전성 강화 방식(예: 사후 정렬, 감독 미세 조정)에 의존하지 않고, 모델 자체의 계산 과정 내에서 안전성을 유지할 수 있다는 점에서 혁신적이다. 또한, MARCH 아키텍처는 **장기 추론**과 **메모리 효율성**을 동시에 달성하며, 다양한 모델 규모(0.8B ~ 35B)에서 일관된 성능 향상을 보인다.

하지만, 이 연구는 **Safety from Within**의 초기 아키텍처 탐색에 불과하며, 더 넓은 범위의 안전성 기능과 복잡한 상황에서의 일반화 능력은 추가 연구가 필요하다. 또한, Safety State는 특정 안전성 태스크에만 적용되었으며, 다른 기능(예: 코드 생성, 지식 추론)에의 확장 가능성은 명시되지 않았다.

실용적 활용

Safin-1은 장기 추론, 안전성 강화, 메모리 효율적