paper-with-me

Papers

The Information Pathways Hypothesis: Transformers are Dynamic Self-Ensembles

2023-06-02 · Md Shamim Hussain, Mohammed J. Zaki, Dharmashankar Subramanian

Transformers use the dense self-attention mechanism which gives a lot of flexibility for long-range connectivity. Over multiple layers of a deep transformer, the number of possible connectivity patterns increases exponentially. However, very few of these contribute to the performance of the network, and even fewer are essential. We hypothesize that there are sparsely connected sub-networks within a transformer, called information pathways which can be trained independently. However, the dynamic (i.e., input-dependent) nature of these pathways makes it difficult to prune dense self-attention during training. But the overall distribution of these pathways is often predictable. We take advantage of this fact to propose Stochastically Subsampled self-Attention (SSA) - a general-purpose training strategy for transformers that can reduce both the memory and computational cost of self-attention by 4 to 8 times during training while also serving as a regularization method - improving generalization over dense training. We show that an ensemble of sub-models can be formed from the subsampled pathways within a network, which can achieve better performance than its densely attended counterpart. We perform experiments on a variety of NLP, computer vision and graph learning tasks in both generative and discriminative settings to provide empirical evidence for our claims and show the effectiveness of the proposed method.

📄 PDF Abstract BibTeX arXiv:2306.01705

Code (1)

shamim-hussain/ssa 공식 구현

Tasks

Graph LearningGraph RegressionImage ClassificationImage GenerationLanguage Modelling

Similar Papers 제목 키워드 기반

Separable Pathways for Causal Reasoning: How Architectural Scaffolding Enables Hypothesis-Space Restructuring in LLM Agents

2026-04-21 · John Alderete, Sebastian Benthal, Connie Xu, John Xing arxiv

Causal discovery through experimentation and intervention is fundamental to robust problem solving. It requires not just updating beliefs within a fixed framework but revising the hypothesis space itself, a capacity curr…

Hypothesis Hunting with Evolving Networks of Autonomous Scientific Agents

2025-10-08 · Tennison Liu, Silas Ruhrberg Estévez, David L. Bentley, Mihaela van der Schaar arxiv

Large-scale scientific datasets -- spanning health biobanks, cell atlases, Earth reanalyses, and more -- create opportunities for exploratory discovery unconstrained by specific research questions. We term this process h…

On the Role of Attention Masks and LayerNorm in Transformers

2024-05-29 · Xinyi Wu, Amir Ajorlou, Yifei Wang, Stefanie Jegelka 외

Self-attention is the key mechanism of transformers, which are the essential building blocks of modern foundation models. Recent studies have shown that pure self-attention suffers from an increasing degree of rank colla…

Recommender Transformers with Behavior Pathways

2022-06-13 · Zhiyu Yao, Xinyang Chen, Sinan Wang, Qinyan Dai 외

Sequential recommendation requires the recommender to capture the evolving behavior characteristics from logged user behavior data for accurate recommendations. However, user behavior sequences are viewed as a script wit…

Sequential Recommendation

Dissecting the Interplay of Attention Paths in a Statistical Mechanics Theory of Transformers

2024-05-24 · Lorenzo Tiberi, Francesca Mignacco, Kazuki Irie, Haim Sompolinsky

Despite the remarkable empirical performance of Transformers, their theoretical understanding remains elusive. Here, we consider a deep multi-head self-attention network, that is closely related to Transformers yet analy…