Transformers as Transducers
원문 초록
We study the sequence-to-sequence mapping capacity of transformers by relating them to finite transducers, and find that they can express surprisingly large classes of transductions. We do so using variants of RASP, a programming language designed to help people "think like transformers," as an intermediate representation. We extend the existing Boolean variant B-RASP to sequence-to-sequence functions and show that it computes exactly the first-order rational functions (such as string rotation). Then, we introduce two new extensions. B-RASP[pos] enables calculations on positions (such as copying the first half of a string) and contains all first-order regular functions. S-RASP adds prefix sum, which enables additional arithmetic operations (such as squaring a string) and contains all first-order polyregular functions. Finally, we show that masked average-hard attention transformers can simulate S-RASP.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Hybrid Meta-learners for Estimating Heterogeneous Treatment Effects
The taggedPBC: Annotating a massive parallel corpus for crosslinguistic investigations
A Comparative Analysis of Static Word Embeddings for Hungarian
Panoramic Out-of-Distribution Segmentation
Center-guided Classifier for Semantic Segmentation of Remote Sensing Images
Frequency Is What You Need: Word-frequency Masking Benefits Vision-Language Model Pre-training
토론
이 논문과 연결된 포럼 글이 아직 없습니다.