순전파 속의 도구: 소형 언어 모델의 계층으로서의 고정된 테이프 모듈
A Tool in the Forward Pass: Frozen Tape Modules as Layers of a Small Language Model
한국어 초록
생성된 텍스트를 통해 도구를 호출하면 연산 자체가 짧더라도 디코딩 단계가 추가된다. 본 연구는 대안으로, 언어 모델의 순전파 내부에서 실행되는 소형 신경 모듈을 연구한다. 학습된 작성기(writer)는 은닉 상태를 연산을 부호화하는 짧은 이산 기호열인 기호 테이프로 변환한다. 별도로 학습한 뒤 고정한 이 모듈은 테이프를 결과로 축약하며, 학습된 판독기(reader)가 그 결과를 모델에 되돌려 준다. gemma-3-1b-it에서 산술과 객체 추적을 평가한다. 레이블된 테이프로 작성기를 학습하면, 이 계층은 BIG-Bench Hard의 tracking shuffled objects 750개 문항에 모두 정답을 낸다. 7명 조건에서는 동일한 호스트 모델과 정확한 코드를 사용하는 텍스트 도구 기준선 대비 GPU 커널 시간의 약 1/10만 필요하며, 정확도는 1.00 대 0.99이다. 작성기는 손으로 작성한 복사 사전 지식의 안내를 받아 정답만으로도 학습할 수 있으나 신뢰성은 낮아, 1B 호스트에서는 6회 중 5회, 4B 호스트에서는 4회 중 2회 성공한다. 독립적으로 학습한 두 계층은 하나의 모델에 부착해도 각자의 과제 정확도를 유지하며, 학습된 게이트는 시험한 일반 텍스트 및 유사 프롬프트에서 이들을 비활성 상태로 유지한다. 이러한 결과는 하나의 기호를 반환하는 제한된 연산이라면 텍스트 도구 호출의 디코딩 비용을 피할 수 있다는 좁은 활용 사례를 뒷받침한다. 올바른 입력을 안정적으로 추출하는 것과 언제 동작할지 결정하는 것은 여전히 주요 미해결 문제로 남아 있다.
원문 초록
Calling a tool through generated text adds decoding steps, even when the computation itself is short. We study an alternative: a small neural module that runs inside a language model's forward pass. A learned writer turns hidden states into a symbolic tape, a short sequence of discrete symbols that encodes the computation. The module, trained separately and then frozen, reduces the tape to a result, and a learned reader returns that result to the model. We evaluate arithmetic and object tracking in gemma-3-1b-it. With a writer trained on labelled tapes, the layer answers all 750 items of BIG-Bench Hard's tracking shuffled objects correctly. At seven people it needs about 1/10 of the GPU kernel time of a text-tool baseline that uses the same host model and exact code, with accuracy 1.00 against 0.99. The writer can also be learned from answers alone, guided by a hand-written copying prior, but less reliably: 5 of 6 runs succeed in the 1B host and 2 of 4 in the 4B host. Two independently trained layers keep their task accuracy when attached to one model, and a learned gate keeps them silent on the tested general-text and look-alike prompts. The results support a narrow use case: a bounded computation that returns one symbol can avoid the decoding cost of a textual tool call. Extracting the right input reliably, and deciding when to act, remain the main open problems.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2611.00783v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.