paper-with-me

Papers

Interpretable Network Structure for Modeling Contextual Dependency

2019-09-25 · Xindian Ma, Peng Zhang, Xiaoliu Mao, Yehua Zhang, Nan Duan, Yuexian Hou, Ming Zhou.

Neural language models have achieved great success in many NLP tasks, to a large extent, due to the ability to capture contextual dependencies among terms in a text. While many efforts have been devoted to empirically explain the connection between the network hyperparameters and the ability to represent the contextual dependency, the theoretical analysis is relatively insufficient. Inspired by the recent research on the use of tensor space to explain the neural network architecture, we explore the interpretable mechanism for neural language models. Specifically, we define the concept of separation rank in the language modeling process, in order to theoretically measure the degree of contextual dependencies in a sentence. Then, we show that the lower bound of such a separation rank can reveal the quantitative relation between the network structure (e.g. depth/width) and the modeling ability for the contextual dependency. Especially, increasing the depth of the neural network can be more effective to improve the ability of modeling contextual dependency. Therefore, it is important to design an adaptive network to compute the adaptive depth in a task. Inspired by Adaptive Computation Time (ACT), we design an adaptive recurrent network based on the separation rank to model contextual dependency. Experiments on various NLP tasks have verified the proposed theoretical analysis. We also test our adaptive recurrent neural network in the sentence classification task, and the experiments show that it can achieve better results than the traditional bidirectional LSTM.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingSentenceSentence Classification

Similar Papers 제목 키워드 기반

CAARL: In-Context Learning for Interpretable Co-Evolving Time Series Forecasting

2026-04-20 · Etienne Tajeuna, Patrick Asante Owusu, Armelle Brun, Shengrui Wang arxiv

In this paper we investigate forecasting coevolving time series that feature intricate dependencies and nonstationary dynamics by using an LLM Large Language Models approach We propose a novel modeling approach named Con…

Time Series Forecasting

Dependency parsing with structure preserving embeddings

2021-04-01 · EACL 2021 2 · {\'A}kos K{\'a}d{\'a}r, Lan Xiao, Mete Kemertas, Federico Fancellu 외

Modern neural approaches to dependency parsing are trained to predict a tree structure by jointly learning a contextual representation for tokens in a sentence, as well as a head{--}dependent scoring function. Whereas th…

Dependency ParsingSentence

Contextualized word senses: from attention to compositionality

2023-12-01 · Pablo Gamallo

The neural architectures of language models are becoming increasingly complex, especially that of Transformers, based on the attention mechanism. Although their application to numerous natural language processing tasks h…

Foundation Models and Transformers for Anomaly Detection: A Survey

2025-07-21 · Mouïn Ben Ammar, Arturo Mendoza, Nacim Belkhir, Antoine Manzanera 외 arxiv

In line with the development of deep learning, this survey examines the transformative role of Transformers and foundation models in advancing visual anomaly detection (VAD). We explore how these architectures, with thei…

Anomaly Detection

Vec2Gloss: definition modeling leveraging contextualized vectors with Wordnet gloss

2023-05-29 · Yu-Hsiang Tseng, Mao-Chang Ku, Wei-Ling Chen, Yu-Lin Chang 외

Contextualized embeddings are proven to be powerful tools in multiple NLP tasks. Nonetheless, challenges regarding their interpretability and capability to represent lexical semantics still remain. In this paper, we prop…