Search papers, labs, and topics across Lattice.
This paper resolves conflicting views on the expressivity of recurrent neural language models by providing a unified algebraic framework that relates their capabilities to specific arithmetic models. It highlights that expressivity can be reduced to algebraic questions, such as the divisibility of syntactic monoids by wreath products. A case study on diagonal state-space models reveals that while certain architectures fail to implement specific counters under floating-point recurrences, they succeed under unsigned-integer quantization, illustrating the impact of quantization on model capabilities.
Recurrent neural networks can exhibit drastically different expressivity based on the arithmetic model used, revealing hidden capabilities tied to quantization methods.
What formal languages can a recurrent neural language model recognize? Formal results in the literature conflict: some authors report Turing-completeness, while others show equivalence to regular languages. The reason for this discrepancy is that the underlying arithmetic model differs. The paper develops a unified algebraic account of the expressivity of recurrent neural networks, starting with a formal account of various arithmetic models. This account reduces expressivity to an algebraic question, e.g., whether a network's syntactic monoid divides a certain wreath product. As a case study, the paper revisits diagonal state-space models: the same architecture cannot implement an even-modulus counter once floating-point recurrences are enforced, yet realizes every even-modulus counter under unsigned-integer quantization.