paper-with-me

Papers

Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGs

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Hidden Markov Models (HMMs) and Probabilistic Context-Free Grammars (PCFGs) are widely used structured models, both of which can be represented as factor graph grammars (FGGs), a powerful formalism capable of describing a wide range of models. Recent research found it beneficial to use large state spaces for HMMs and PCFGs. However, inference with large state spaces is computationally demanding, especially for PCFGs. To tackle this challenge, we leverage tensor rank decomposition (aka. CPD) to decrease inference computational complexities for a subset of FGGs subsuming HMMs and PCFGs. We apply CPD on the factors of an FGG and then construct a new FGG defined in the rank space. Inference with the new FGG produces the same result but has a lower time complexity when the rank size is smaller than the state size. We conduct experiments on HMM language modeling and unsupervised PCFG parsing, showing better performance than previous work. We will release our code at $\url{github.com/xxx}$.

📄 PDF Abstract BibTeX

Code (1)

sustcsonglin/TN-PCFG 공식 구현 pytorch

Tasks

Language ModelingLanguage Modelling

Similar Papers 제목 키워드 기반

Dynamic Programming in Rank Space: Scaling Structured Inference with Low-Rank HMMs and PCFGs

2022-05-01 · NAACL 2022 7 · Songlin Yang, Wei Liu, Kewei Tu

Hidden Markov Models (HMMs) and Probabilistic Context-Free Grammars (PCFGs) are widely used structured models, both of which can be represented as factor graph grammars (FGGs), a powerful formalism capable of describing …

Constituency Grammar InductionLanguage ModelingLanguage Modelling

Learning Semidefinite Regularizers

2017-01-05 · Yong Sheng Soh, Venkat Chandrasekaran

Regularization techniques are widely employed in optimization-based approaches for solving ill-posed inverse problems in data analysis and scientific computing. These methods are based on augmenting the objective with a …

Dictionary Learning

Scaling Structured Inference with Randomization

2021-12-07 · Yao Fu, John P. Cunningham, Mirella Lapata

Deep discrete structured models have seen considerable progress recently, but traditional inference using dynamic programming (DP) typically works with a small number of states (less than hundreds), which severely limits…

Low-Rank Constraints for Fast Inference in Structured Models

2022-01-08 · NeurIPS 2021 12 · Justin T. Chiu, Yuntian Deng, Alexander M. Rush

Structured distributions, i.e. distributions over combinatorial spaces, are commonly used to learn latent probabilistic representations from observed data. However, scaling these models is bottlenecked by the high comput…

Language ModelingLanguage ModellingMusic Modeling

Nexusformer: Nonlinear Attention Expansion for Stable and Inheritable Transformer Scaling

2026-04-21 · Weijie Zhao, Mingquan Liu, Bolun Wang, Simo Wu 외 arxiv

Scaling Transformers typically necessitates training larger models from scratch, as standard architectures struggle to expand without discarding learned representations. We identify the primary bottleneck in the attentio…