검증 가능한 트랜스포머를 향하여: 솔버 검증 가능한 회로 설명
Towards Verifiable Transformers: Solver-Checkable Circuit Explanations
한국어 초록
기계론적 해석가능성(mechanistic interpretability)은 일반적으로 회로(circuit)를 발견한 후 예시와 절제(ablation)를 통해 회로의 동작을 규명합니다. 본 논문에서는 태스크 국소화(task-localized) 회로를 솔버 검증 가능한 유계 주장(bounded claims), 즉 투영된 기능적 동등성(projected functional equivalence), 태스크 관련 불변성(task-relevant invariance), 엣지 필수성(edge necessity), 연속적인 최종 잔차(final-residual) 섭동에 대한 강건성으로 변환하는 프레임워크인 Verifiable Transformers를 소개합니다. 소규모 환경에서는 어텐션(attention) 선택이 전적으로 기호적인 프로그램 매개 회로를 포함하여, 따옴표 닫기 및 괄호 유형 회로에 대해 네 가지 속성을 모두 직접 검증합니다. GPT-2 규모에서는 sparsemax/LeakyReLU 모델에서 학습(training) 후 LayerNorm을 제거하여 OpenWebText 손실(loss)이 +0.0087 증가하는 수준으로 억제하고, 유지된 어텐션 헤드를 합성된 제한적 DSL(restricted-DSL) 프로그램으로 대체하며, 다른 모든 매개변수(parameter)를 동결(freezing) 및 해싱하는 동시에 프로그램 국소 판독(readout)만 캘리브레이션합니다. 결과로 생성된 3-엣지 따옴표 회로(임베딩(embedding) $\to$ MLP 0 $\to$ 프로그램 헤드 $\to$ 로짓)는 선형 실수 산술(linear real arithmetic)에서 해시 고정된 1,280개 프롬프트(prompt) 도메인에 걸쳐 네 가지 속성을 모두 검증합니다: 1,280/1,280 동등성 및 불변성, 엣지당 640개의 엣지 필수성 증거(witness), 최소 인증 반경 0.01515를 갖는 $ε= 0.01$에서의 강건성입니다. 동일한 여는 기호 감지/복사 유형 태스크의 두 가지 알파벳 변형에 대해, 손대지 않은 게이트는 국소화 한계(localization frontier)를 드러냅니다. 즉, 괄호 유형 추출은 144개 헤드가 모두 있어야만 정확한 반면, 구축된 따옴표 아티팩트는 3개 엣지로 검증됩니다. 단순한 발견 기반 검증은 측정 가능한 이유로 실패했으며, 스케일이 커질수록 검증 가능한 대상을 직접 구축해야 함을 발견했습니다. 검증된 대상은 수정되지 않은 모델이 아니라 캘리브레이션된 아티팩트이며, 모든 주장은 명시된 도메인으로 유계됩니다.
원문 초록
Mechanistic interpretability typically discovers circuits and then argues what they do from examples and ablations. We introduce Verifiable Transformers, a framework for turning task-localized circuits into bounded, solver-checkable claims: projected functional equivalence, task-relevant invariance, edge necessity, and robustness to continuous final-residual perturbations. At small scale, we directly verify all four properties for quote-closing and bracket-type circuits, including program-mediated circuits whose attention selection is entirely symbolic. At GPT-2 scale, we remove LayerNorm from a sparsemax/LeakyReLU model after training with a +0.0087 OpenWebText loss increase, replace retained attention heads with synthesized restricted-DSL programs, and calibrate only program-local readouts while freezing and hashing every other parameter. The resulting three-edge quote circuit (embedding $\to$ MLP 0 $\to$ program head $\to$ logits) verifies all four properties over a hash-pinned 1,280-prompt domain in linear real arithmetic: 1,280/1,280 equivalence and invariance, 640 edge-necessity witnesses per edge, and robustness at $ε= 0.01$ with minimum certified radius 0.01515. For two alphabet variants of the same opener-detection/copy-type task, untouched gates expose a localization frontier: bracket-type extraction is exact only with all 144 heads, while the constructed quote artifact verifies with three edges. Naive discovery-based verification failed for measured reasons; at scale, we find we must build the object we can verify. The verified object is a calibrated artifact, not the unmodified model, and all claims are bounded to declared domains.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2605.24033v2제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.