user: text: Write a concise one-sentence TLDR summary of the scientific paper content below.

Title: On the Linguistic Capacity of Real-time Counter Automata

Paper content:
While counter machines have received little attention in theoretical computer science since the 1960s, they have recently achieved a newfound relevance to the field of natural language processing (NLP).
Recent work has suggested that some strong-performing recurrent neural networks utilize their memory as counters.
Thus, one potential way to understand the sucess of these networks is to revisit the theory of counter computation.
Therefore, we choose to study the abilities of real-time counter machines as formal grammars.
We first show that several variants of the counter machine converge to express the same class of formal languages.
We also prove that counter languages are closed under complement, union, intersection, and many other common set operations.
Next, we show that counter machines cannot evaluate boolean expressions, even though they can weakly validate their syntax.
This has implications for the interpretability and evaluation of neural network systems: successfully matching syntactic patterns does not guarantee that a counter-like model accurately represents underlying semantic structures.
Finally, we consider the question of whether counter languages are semilinear.
This work makes general contributions to the theory of formal languages that are of particular interest for the interpretability of recurrent neural networks.
It is often taken for granted that modeling natural language syntax well requires a hierarchically structured grammar formalism.
Early work in linguistics established that finite-state models are insufficient for describing the dependencies in natural language data (Chomsky, 1956 ).
Instead, a formalism capable of expressing the relations in terms of hierarchical constituents ought to be necessary.
Recent advances in deep learning and NLP, however, challenge this long-held belief.
Neural network formalisms like the long short-term memory network (LSTM) (Hochreiter & Schmidhuber, 1997) have been shown to perform well on tasks requiring structure sensitivity (Linzen et al., 2016) , even though it is not obvious that such models have the capacity to represent hierarchical structure.
This mismatch raises interesting questions for both linguists and practitioners of NLP.
It is unclear what about the LSTM's structure lends itself towards good linguistic representations, and under what conditions these representations might fall short of grasping the structure and meaning of language.
Recent work has suggested that the expressive capacity of LSTMs resembles that of counter machines (Merrill, 2019; Suzgun et al., 2019; Weiss et al., 2018) .
Weiss et al. (2018) studied LSTMs with fully saturated weights (i.e. the activation functions evaluate to their asymptotic values instead of intermediate rational values) and showed that such models can express simplified counter languages.
Merrill (2019) , on the other hand, showed that the general counter languages are an upper bound on the expressive capacity of saturated LSTMs.
Thus, there seems to be a strong theoretical connection between LSTMs and the counter automata.
Merrill (2019) ; Suzgun et al. (2019) ; Weiss et al. (2018) also all report experimental results suggesting that some class of counter languages matches the learnable capacity of LSTMs trained by gradient descent.
Taking the counter machine as a simplified formal model of the LSTM, we study the formal properties of counter machines as grammars.
We do this with the hope of understanding to what degree counter machines, and LSTMs by extension, have computational properties well-suited for representing the structure of natural language.
The contributions of this paper are as follows:
• We prove that general counter machines, incremental counter machines, and stateless counter machines have equivalent expressive capacity, whereas simplified counter machines (Weiss et al., 2018) are strictly weaker than the general class.
• We demonstrate that counter languages are closed under complement, union, intersection, and many other common operations.
• We show that counter machines are incapable of representing the deep syntactic structure or semantics of boolean expressions, even though they can validate whether a boolean expression is well-formed.
• We prove that a certain subclass of the counter languages are semilinear, and conjecture that this result holds for all counter languages.
We have shown that many variants of the counter machine converge to express the same class of formal languages, which supports that CL is a robustly defined class.
We also proved that real-time counter languages are closed under a large number of common set operations.
This provides tools for future work investigating real-time counter automata.
We also showed that counter automata are incapable of evaluating boolean expressions, even though they are capable of verifying that boolean expressions are syntactically well-formed.
This result has a clear parallel in the domain of natural language, where deciding whether a sentence is grammatical is a different task than representing its deep syntactic or semantic structure.
A general take-away from our results is that just because a counter machine (or LSTM) is sensitive to surface patterns in linguistic data does not mean it can build correct semantic representations.
Counter memory can be exploited to weakly match patterns in language, which might provide the wrong kinds of inductive bias for achieving sophisticated natural language understanding.
Finally, we asked whether counter languages are semilinear as another way of studying their linguistic capacity.
We concluded only that a quite weak subclass of the counter languages are semilinear, and encourage future work to address the general case.

assistant: text: We study the class of formal languages acceptable by real-time counter automata, a model of computation related to some types of recurrent neural networks.