paper-with-me

Papers

StructFormer: Document Structure-based Masked Attention and its Impact on Language Model Pre-Training

2024-11-25 · Kaustubh Ponkshe, Venkatapathy Subramanian, Natwar Modani, Ganesh Ramakrishnan

Most state-of-the-art techniques for Language Models (LMs) today rely on transformer-based architectures and their ubiquitous attention mechanism. However, the exponential growth in computational requirements with longer input sequences confines Transformers to handling short passages. Recent efforts have aimed to address this limitation by introducing selective attention mechanisms, notably local and global attention. While sparse attention mechanisms, akin to full attention in being Turing-complete, have been theoretically established, their practical impact on pre-training remains unexplored. This study focuses on empirically assessing the influence of global attention on BERT pre-training. The primary steps involve creating an extensive corpus of structure-aware text through arXiv data, alongside a text-only counterpart. We carry out pre-training on these two datasets, investigate shifts in attention patterns, and assess their implications for downstream tasks. Our analysis underscores the significance of incorporating document structure into LM models, demonstrating their capacity to excel in more abstract tasks, such as document understanding.

📄 PDF Abstract BibTeX arXiv:2411.16618

Code (0)

등록된 구현이 없습니다.

Tasks

document understandingLanguage ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Adam 설명 없음
Residual Connection 설명 없음
Weight Decay 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modeling

2020-12-01 · ACL 2021 5 · Yikang Shen, Yi Tay, Che Zheng, Dara Bahri 외

There are two major classes of natural language grammar -- the dependency grammar that models one-to-one correspondences between words and the constituency grammar that models the assembly of one or several corresponded …

Constituency ParsingDependency ParsingLanguage ModelingLanguage Modelling+2

Increasing The Performance of Cognitively Inspired Data-Efficient Language Models via Implicit Structure Building

2023-10-31 · Omar Momen, David Arps, Laura Kallmeyer

In this paper, we describe our submission to the BabyLM Challenge 2023 shared task on data-efficient language model (LM) pretraining (Warstadt et al., 2023). We train transformer-based masked language models that incorpo…

Language ModelingLanguage ModellingSentence

Behavior Structformer: Learning Players Representations with Structured Tokenization

2024-06-07 · Oleg Smirnov, Labinot Polisi

In this paper, we introduce the Behavior Structformer, a method for modeling user behavior using structured tokenization within a Transformer-based architecture. By converting tracking events into dense tokens, this appr…

Benchmarking

StructFormer: Learning Spatial Structure for Language-Guided Semantic Rearrangement of Novel Objects

2021-10-19 · Weiyu Liu, Chris Paxton, Tucker Hermans, Dieter Fox

Geometric organization of objects into semantically meaningful arrangements pervades the built world. As such, assistive robots operating in warehouses, offices, and homes would greatly benefit from the ability to recogn…

Object

Safeguarding RAG Pipelines with GMTP: A Gradient-based Masked Token Probability Method for Poisoned Document Detection

2025-07-24 · San Kim, Jonghwi Kim, Yejin Jeon, Gary Geunbae Lee arxiv

Retrieval-Augmented Generation (RAG) enhances Large Language Models (LLMs) by providing external knowledge for accurate and up-to-date responses. However, this reliance on external sources exposes a security risk, attack…