Specula: 시스템 코드의 자율적 모델 체킹을 위한 정형 명세 스케일링
Specula: Scaling formal specifications for autonomous model checking of system code
한국어 초록
Specula는 대규모의 복잡한 시스템 코드에 대한 고품질 정형 명세(formal specification)를 생성하고, 이를 활용해 매우 효과적인 모델 체킹(model checking)과 버그 탐지를 수행하는 원클릭(push-button) 에이전트 시스템입니다. Specula는 대규모 언어 모델(LLM) 기반 코딩 에이전트를 활용하여 대상 시스템의 정확성 속성을 설명하는 불변식(invariant)과 적절한 추상화 수준으로 시스템 구현을 기술하는 정형 모델을 포함한 TLA+ 명세를 자율적으로 개발합니다. Specula는 완전 자율형이므로 기존의 인간 중심적 접근 방식에서 나타났던 실제 시스템 코드에 대한 정형 기법 적용 장벽을 제거합니다. 한편, Specula는 에이전트가 시스템 코드와 그 동작에 대한 이해를 심화할 수 있도록 하여 명세 품질을 반복적으로 개선하는 자기 진화 루프를 통해 보상 해킹(reward hacking)이나 환각(hallucination)과 같은 LLM 기반 기법의 한계를 해결합니다. 저자들은 Specula를 사용하여 48개의 오픈소스 시스템 프로젝트를 검사했으며, Specula는 기존 접근 방식으로는 찾기 어려운 수많은 심층 버그를 포함하여 249개의 버그를 발견했습니다. Specula는 여러 기업에서 사용되었으며, https://github.com/specula-org/Specula 에서 유지 관리되고 있습니다.
원문 초록
Specula is a push-button agentic system that generates high-quality formal specifications for large, complex system code and uses the specifications for highly effective model checking and bug finding. Specula employs large language model (LLM) based coding agents to autonomously develop TLA+ specifications, including invariants that describe correctness properties of the target system and formal models that describe the system implementation with the right level of abstractions. Specula is fully autonomous and thus eliminates the barrier of applying formal methods to real-world system code (as in traditional human-centric approaches). Meanwhile, Specula addresses limitations of LLM-driven techniques like reward hacking and hallucinations through self-evolving loops that iteratively improve specification quality by enabling the agents to deepen their understanding of system code and its behaviors. We have used Specula to check 48 open-source system projects; Specula found 249 bugs including many deep bugs that are hard to find by existing approaches. Specula has been used by several companies and is maintained at https://github.com/specula-org/Specula.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2607.25333v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.