Simulating Hard Attention Using Soft Attention
원문 초록
We study conditions under which transformers using soft attention can simulate hard attention, that is, effectively focus all attention on a subset of positions. First, we examine several subclasses of languages recognized by hard-attention transformers, which can be defined in variants of linear temporal logic. We demonstrate how soft-attention transformers can compute formulas of these logics using unbounded positional embeddings or temperature scaling. Second, we demonstrate how temperature scaling allows softmax transformers to simulate general hard-attention transformers, using a temperature that depends on the minimum gap between the maximum attention scores and other attention scores.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Center-guided Classifier for Semantic Segmentation of Remote Sensing Images
Hard-Attention Gates with Gradient Routing for Endoscopic Image Computing
TRIP: Trainable Region-of-Interest Prediction for Hardware-Efficient Neuromorphic Processing on Event-based Vision
Recurrent Alignment with Hard Attention for Hierarchical Text Rating
Mutual Distillation Learning For Person Re-Identification
Vamos: Versatile Action Models for Video Understanding
토론
이 논문과 연결된 포럼 글이 아직 없습니다.