paper-with-me

홈 › Papers

How LSTM Encodes Syntax: Exploring Context Vectors and Semi-Quantization on Natural Text

2020-10-01 · COLING 2020 8 · Chihiro Shibata, Kei Uchiumi, Daichi Mochihashi

Long Short-Term Memory recurrent neural network (LSTM) is widely used and known to capture informative long-term syntactic dependencies. However, how such information are reflected in its internal vectors for natural text has not yet been sufficiently investigated. We analyze them by learning a language model where syntactic structures are implicitly given. We empirically show that the context update vectors, i.e. outputs of internal gates, are approximately quantized to binary or ternary values to help the language model to count the depth of nesting accurately, as Suzgun et al. (2019) recently show for synthetic Dyck languages. For some dimensions in the context vector, we show that their activations are highly correlated with the depth of phrase structures, such as VP and NP. Moreover, with an $L_1$ regularization, we also found that it can accurately predict whether a word is inside a phrase structure or not from a small number of components of the context vector. Even for the case of learning from raw text, context vectors are shown to still correlate well with the phrase structures. Finally, we show that natural clusters of the functional words and the part of speeches that trigger phrases are represented in a small but principal subspace of the context-update vector of LSTM.

📄 PDF Abstract BibTeX arXiv:2010.00363

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingQuantization

Methods 이 논문이 사용한 방법론

Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…

Similar Papers 제목 키워드 기반

A Sequential Neural Encoder with Latent Structured Description for Modeling Sentences

2017-11-15 · Yu-Ping Ruan, Qian Chen, Zhen-Hua Ling

In this paper, we propose a sequential neural encoder with latent structured description (SNELSD) for modeling sentences. This model introduces latent chunk-level representations into conventional sequential neural encod…

ChunkingNatural Language InferenceSentenceSentence Embeddings+1

Context based Text-generation using LSTM networks

2020-04-30 · Sivasurya Santhanam

Long short-term memory(LSTM) units on sequence-based models are being used in translation, question-answering systems, classification tasks due to their capability of learning long-term dependencies. In Natural language …

ClusteringLanguage ModellingQuestion AnsweringSentence+1

Mimic and Conquer: Heterogeneous Tree Structure Distillation for Syntactic NLP

2020-09-16 · Findings of the Association for Computational Linguistics 2020 · Hao Fei, Yafeng Ren, Donghong Ji

Syntax has been shown useful for various NLP tasks, while existing work mostly encodes singleton syntactic tree using one hierarchical neural network. In this paper, we investigate a simple and effective method, Knowledg…

Knowledge Distillation

Exploring Language-Agnosticity in Function Vectors: A Case Study in Machine Translation

2026-04-21 · Nurkhan Laiyk, Gerard I. Gállego, Javier Ferrando, Fajri Koto arxiv

Function vectors (FVs) are vector representations of tasks extracted from model activations during in-context learning. While prior work has shown that multilingual model representations can be language-agnostic, it rema…

Machine Translation

Arbitrary Discrete Sequence Anomaly Detection with Zero Boundary LSTM

2018-03-06 · Chase Roberts, Manish Nair

We propose a simple mathematical definition and new neural architecture for finding anomalies within discrete sequence datasets. Our model comprises of a modified LSTM autoencoder and an array of One-Class SVMs. The LSTM…

Anomaly Detection