On Eliciting Syntax from Language Models via Hashing
Not on the map. Why?
Abstract (arXiv)
Unsupervised parsing, also known as grammar induction, aims to infer syntactic structure from raw text. Recently, binary representation has exhibited remarkable information-preserving capabilities at both lexicon and syntax levels. In this paper, we explore the possibility of leveraging this capability to deduce parsing trees from raw text, relying solely on the implicitly induced grammars within models. To achieve this, we upgrade the bit-level CKY from zero-order to first-order to encode the lexicon and syntax in a unified binary representation space, switch training from supervised to unsupervised under the contrastive hashing framework, and introduce a novel loss function to impose stronger yet balanced alignment signals. Our model shows competitive performance on various datasets, therefore, we claim that our method is effective and efficient enough to acquire high-quality parsing trees from pre-trained language models at a low cost.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 37 of its 63 references that are in the map. First posted on arXiv 5 Oct 2024.
Builds on
37 of 63 references.
References · 37
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2020Revisiting Pre-Trained Models for Chinese Natural Language Processingcited by 262
- 2018Constituency Parsing with a Self-Attentive Encodercited by 196
- 2020Named Entity Recognition as Dependency Parsingcited by 150
- 2016Recurrent Neural Network Grammarscited by 109
- 2018Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networkscited by 101
25 more
- 2019Compound Probabilistic Context-Free Grammars for Grammar Inductioncited by 76
- 2019Tree Transformer: Integrating Tree Structures into Self-Attentioncited by 68
- 2019Unsupervised Latent Tree Induction with Deep Inside-Outside Recursive Autoencoderscited by 60
- 2017A Minimal Span-Based Neural Constituency Parsercited by 59
- 2017Neural Language Modeling by Jointly Learning Syntax and Lexiconcited by 57
- 2021Syntax-BERT: Improving Pre-trained Transformers with Syntax Treescited by 51
- 2020Fast and Accurate Neural CRF Constituency Parsingcited by 50
- 2019Unsupervised Recurrent Neural Network Grammarscited by 47
- 2020Are Pre-trained Language Models Aware of Phrases? Simple but Strong Baselines for Grammar Inductioncited by 47
- 2020StructFormer: Joint Unsupervised Induction of Dependency and Constituency Structure from Masked Language Modelingcited by 33
- 2018Straight to the Tree: Constituency Parsing with Neural Syntactic Distancecited by 32
- 2020Unsupervised Parsing via Constituency Testscited by 23
- 2019From Balustrades to Pierre Vinken: Looking for Syntax in Transformer Self-Attentionscited by 22
- 2021PCFGs Can Do Better: Inducing Probabilistic Context-Free Grammars with Many Symbolscited by 22
- 2021R2D2: Recursive Transformer based on Differentiable Tree for Interpretable Hierarchical Language Modelingcited by 19
- 2021Neural Bi-Lexicalized PCFG Inductioncited by 18
- 2022Fast-R2D2: A Pretrained Recursive Neural Network based on Pruned CKY for Grammar Induction and Text Representationcited by 14
- 2020Heads-up! Unsupervised Constituency Parsing via Self-Attention Headscited by 12
- 2022Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGscited by 10
- 2024Generative Pretrained Structured Transformers: Unsupervised Syntactic Language Models at Scalecited by 9
- 2021An Empirical Study of Compound PCFGscited by 6
- 2023Ensemble Distillation for Unsupervised Constituency Parsingcited by 6
- 2023Augmenting Transformers with Recursively Composed Multi-grained Representationscited by 5
- 2021Co-training an Unsupervised Constituency Parser with Weak Supervisioncited by 3
- 2024To be Continuous, or to be Discrete, Those are Bits of Questionscited by 2
Built on by
Not cited yet.