paper-with-me

홈 › Papers

The Double Helix inside the NLP Transformer

2023-06-23 · Jason H. J. Lu, Qingzhen Guo

We introduce a framework for analyzing various types of information in an NLP Transformer. In this approach, we distinguish four layers of information: positional, syntactic, semantic, and contextual. We also argue that the common practice of adding positional information to semantic embedding is sub-optimal and propose instead a Linear-and-Add approach. Our analysis reveals an autogenetic separation of positional information through the deep layers. We show that the distilled positional components of the embedding vectors follow the path of a helix, both on the encoder side and on the decoder side. We additionally show that on the encoder side, the conceptual dimensions generate Part-of-Speech (PoS) clusters. On the decoder side, we show that a di-gram approach helps to reveal the PoS clusters of the next token. Our approach paves a way to elucidate the processing of information through the deep layers of an NLP Transformer.

📄 PDF Abstract BibTeX arXiv:2306.13817

Code (0)

등록된 구현이 없습니다.

Tasks

DecoderPOS

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Position-Wise Feed-Forward Layer 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Structuring of counterions around dna double helix: a molecular dynamics study

2015-03-18

Structuring of DNA counterions around the double helix has been studied by the molecular dynamics method. A DNA dodecamer d(CGCGAATTCGCG) in water solution with the alkali metal counterions Na$^{+}$, K$^{+}$, and Cs$^{+}…

Learning Cross-Image Object Semantic Relation in Transformer for Few-Shot Fine-Grained Image Classification

2022-07-02 · Bo Zhang, Jiakang Yuan, Baopu Li, Tao Chen 외

Few-shot fine-grained learning aims to classify a query image into one of a set of support categories with fine-grained differences. Although learning different objects' local differences via Deep Neural Networks has ach…

Fine-Grained Image Classificationimage-classificationImage ClassificationObject+1

Embeddability of centrosymmetric matrices capturing the double-helix structure in natural and synthetic DNA

2022-02-11 · Muhammad Ardiyansyah, Dimitra Kosta, Jordi Roca-Lacostena

In this paper, we discuss the embedding problem for centrosymmetric matrices, which are higher order generalizations of the matrices occurring in Strand Symmetric Models. These models capture the substitution symmetries …

Double-Helix Vision (DH-V2): A Geometry-Based Visual Sampler for Bandwidth-Constrained Perception

2026-06-09 · Jinwen Wen arxiv

We present Double-Helix Vision (DH), a geometry-based visual sampler that compresses 2D images into compact 1D signals using paired golden-ratio-inspired spiral trajectories. Rather than processing every pixel uniformly,…

Disparity Estimation

Mechanism of Threshold Elongation of DNA Macromolecule

2016-02-19

The mechanism of threshold elongation (overstretching) of DNA macromolecules under the action of external force is studied within the framework of phenomenological approach. When considering the task it is taken into acc…