Forming Trees with Treeformers
Human language is known to exhibit a nested, hierarchical structure, allowing us to form complex sentences out of smaller pieces. However, many state-of-the-art neural networks models such as Transformers have no explicit hierarchical structure in its architecture -- that is, they don't have an inductive bias toward hierarchical structure. Additionally, Transformers are known to perform poorly on compositional generalization tasks which require such structures. In this paper, we introduce Treeformer, a general-purpose encoder module inspired by the CKY algorithm which learns a composition operator and pooling function to construct hierarchical encodings for phrases and sentences. Our extensive experiments demonstrate the benefits of incorporating hierarchical structure into the Transformer and show significant improvements in compositional generalization as well as in downstream tasks such as machine translation, abstractive summarization, and various natural language understanding tasks.
Code (0)
등록된 구현이 없습니다.
Tasks
Abstractive Text SummarizationInductive BiasMachine TranslationNatural Language UnderstandingTranslationMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
TreeFormers -- An Exploration of Vision Transformers for Deforestation Driver Classification
This paper addresses the critical issue of deforestation by exploring the application of vision transformers (ViTs) for classifying the drivers of deforestation using satellite imagery from Indonesian forests. Motivated …
Data AugmentationTransforming Trees to Improve Syntactic Convergence
Transforming Dependency Structures to LTAG Derivation Trees
Transforming trees into hedges and parsing with ``hedgebank'' grammars
Construction of Decision Trees and Acyclic Decision Graphs from Decision Rule Systems
Decision trees and systems of decision rules are widely used as classifiers, as a means for knowledge representation, and as algorithms. They are among the most interpretable models for data analysis. The study of the re…