State University of New York at Buffalo
Analytically Formulated Attention Model with Neural Tangent Kernel
Abstract
dc:description.abstractIn the field of deep learning, attention mechanism is an approach that imitates human cognition. The mechanism helps a model to focus on important portions of input, with the intuition that allocating more resources towards important portions of data improves model performance. It is widely used to model sequential data in natural language processing. An attention model creates short cut linkages between distant positions in a sequence. The linkages are dynamically learnt in an end to end manner. It has been proved effective for context information extraction in text. Attention models are empirically formulated previously based on heuristic design of network architecture. This work provides analytical formulation on the model to gain knowledge on their functioning dynamics, convergence speed and generalization ability. We propose to analytically formulate attention models with attention neural tangent kernels (ANTK). ANTK characterize the behavior of deep neural networks based on kernel methods, which utilize kernel functions to learn proximity information in data points. It enables tractable solutions on network predictions, training dynamics, generalization etc. The neural tangent kernel is formulated as Gaussian process to produce a recursive derivation of its expression for each layer of the network. This leads to a new model built on kernel methods that approximates the behavior of attention model. Dynamics of the neural model can be approximated (with proof of convergence) by analyzing the formed kernel without performing gradient descent…To summarize, we formulated the attention neural tangent kernel based on architecture of attention models, and provided a formal proof on the convergence of attention model to its neural tangent kernel counterpart. The theoretical formulation proves ANTK is effective to analytically interpret behavior of attention models. Based on the experimental results, its performance is on par with its neural network counterparts for challenging tasks in sentiment analysis.
Degree
thesis:*- Grantor dc:publisher
- State University of New York at Buffalo
- Year dc:date.issued
- 2021
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Duan, Tiehang
- Contributors dc:contributor
-
- Srihari, Sargur
- Computer Science and Engineering
Subjects
dc:subject × 1Rights
dc:rights- Statement dc:rights
-
- Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions.
- Copyright retained by author.
- Language dc:language
- eng
Identifiers
dc:identifier.*- Handle dc:identifier
- http://hdl.handle.net/10477/87863