Retrodiction as Delayed Recurrence: the Case of Adjectives in I talian and E nglish (2021)

Abstract: We address the question of how to account for both forward and backward dependencies in an online processing account of human language acquisition. We focus on descriptive adjectives in English and Italian, and show that the acquisition of adjectives in these languages likely relies on tracking both forward and backward regularities. Our simulations confirm that forward-predicting models like standard Recurrent Neural Networks (RNN) cannot account for this phenomenon due to the lack of backward prediction, but the addition of a small delay (as proposed in Turek et al., 2019) endows the RNN with the ability to not only predict but also retrodict.

## introduction sensitivity to statistical regularities allows for efficient lexical processing. as a sentence unfolds, the experienced words convey information that humans use to anticipate upcoming words, and gain thereby processing speed. this has been evidenced in a long tradition of studies with human reading data, which reveal that words that are more predictable given their context are more likely to be read faster or even skipped @xcite . the ability to track statistical regularities during language processing is present at a very young age, and can be recruited for language learning. before their first birthday, infants are able to use this skill to identify words in unknown languages created with artificial @xcite or natural words @xcite , demonstrating that this ability is useful for learning language-like stimuli (see @xcite for a review). studies have found that, before their second year of age, toddlers already engage in predictive processing to identify familiar words before they are complete @xcite , and are capable of anticipating upcoming words @xcite . given this relation between online processing and learning, it is perhaps unsurprising that children with more efficient lexical processing are also those with faster vocabulary growth @xcite @xcite . from a cross-linguistic perspective, this suggests that typological variation on the statistical regularities of different languages should be either equally tracked during processing, or reflected in cross-linguistic differences in learning. in our work, we focus on one such typological feature: in particular, word order of descriptive adjectives in english (which occur pre-nominally), and italian (which appear mostly post-nominally, but also pre-nominally). we first show that this difference in word order bears a different pattern of statistical dependencies in these languages, related to the direction in which the words in these constructions are more predictable (forward in italian, backward in english). we find that, despite this difference, children acquire nouns and adjectives in each language at the same pace, showing no advantage of either direction. thus, in line with the relation between processing and learning sketched above, a computational approach needs to accommodate statistical tracking of dependencies that are both forward and backward. we then show limitations of standard recurrent models in dealing with backward dependencies, and propose the use of a delayed recurrent neural network @xcite to capture this phenomenon. word order constraints in languages may favor regularities in either the forward direction (when words are predictable from their earlier context) or in the backward direction, (when words are more predictable from the context occurring after them). for instance, languages differ in whether they use prepositions (e.g. 'in paris') or postpositions (e.g. 'paris in'). the conditional probability of observing 'in' given 'paris' is higher than that of observing 'paris' given 'in' (since 'in' may be preceded or followed by any location name); thus, the construction with a postposition has higher forward predictability, while the construction with a preposition is more predictable in the backward direction. few studies focus on the role of backward dependencies in human processing and learning. @xcite found that 8-month-old infants can learn the words of an artificial language which can only be identified based on conditional probabilities in the backward direction. the experiments reported in @xcite demonstrate that this ability is also present in adults. another set of studies revealed that the word order patterns in the native language of speakers create learning biases that manifest when learning an artificial language. using a carefully controlled artificial language that contained balanced cues in the forward and backward direction, @xcite found a significant difference between korean and english speakers, manifested in a tendency to rely on dependencies that are consistent with the direction that best predicts constituency in those languages (forward for korean and backward for english). 13 month-old children learning english also exhibit this bias @xcite . @xcite with an autoencoder. this model used a form of recurrence that was conditioned on the reconstruction error, such that only internal representations of items with low error would be fed back to the model on the next step. simulations involving standard recurrence were not successful in learning the backward dependencies @xcite . ## corpus analysis first we confirmed that the adjective order in english and italian was reflected in the condi-tional probabilities between adjectives and nouns. we extracted child-directed speech transcriptions from all the english and italian corpora available in childes @xcite , using the childesr library @xcite foot_0 . we focused on ages from 0 to 60 months old, and used the lemmatized, lowercased version of the words. since part-of-speech information was not available for all the data, we used the part-of-speech tagger in spacy foot_1 to annotate it. we applied additional manual revision to remove some words that were wrongly classified as descriptive adjectives foot_2 . we used the lemmatized version of the words since, unlike in english, nouns and adjectives have number and grammatical gender in italian. we selected all the adjective-noun pairs (for both languages), and noun-adjective pairs (for italian only). we downsampled the adjective-noun pairs in english to be comparable in size to the italian data. for each word pair w 1 w 2 we computed its conditional probability as p (w i |w j ) = counts(w 1 w 2 )/counts(ctx), where @xmath0, @xmath1, @xmath2, @xmath3, @xmath4. figure 1 shows the distribution of the computed probabilities. whereas forward conditional probabilities are significantly more reliable for adjectives occurring in the italian canonical noun-adjective ordering (@xmath5.01), the opposite is the case for english, in which predicting backwards is significantly more reliable (@xmath6.001). in the case of the adjective-noun order in italian, both forward and backward probabilities are equally informative. this is consistent with the highly formulaic nature of this syntactic pattern, since not all adjectives and nouns occur in this construction. to summarize, as expected, word order is reflected in the conditional probabilities between adjectives and nouns, at least in the canonical order: while noun-adjective in italian is favoured by forward probabilities, adjective-noun in english is better predicted backwards. ## the acquisition of adjectives efficient processing correlates with faster vocabulary growth. thus, if there is a difference in processing forward and backward dependencies, it should be reflected in a cross-linguistic difference in vocabulary acquisition (note that, once children start producing adjectives, they rarely produce them in incorrect word order, @xcite ). to analyze this, we used data collected with the macarthur-bates communicative development inventory forms (cdis). these forms contain checklists of common early acquired words. parents complete the forms according to their estimation of whether their child produced each of those words at a given age. we used the 'words & sentences' cdis from wordbank (frank et al., 2017) 4 , for english and italian. we excluded the forms involving twins (as significant differences have been observed in the language development of twins and singletons, @xcite . we used the library in wordbank to estimate the age of acquisition (aoa), considering that a word is acquired at the age at which at least 50% of the children in the sample produced a given word. since differences in the acquisition of nouns could have an effect on the aoa of adjectives, we also report the estimated aoa of nouns. as can be seen in fig. 2 , there is no significant difference between the aoa of adjectives and nouns in each language, even though we find more variability in italian. this result suggests that children learning italian must be employing their forward predictive skills, while children learning english need to draw upon their capacity to retrodict. to account for the results in the previous section, models of online processing should predict but also retrodict. we first present simulations with a recurrent neural network @xcite , which has a long tradition of use as a model of human sequential processing (with equivalent performance to variants with gated recurrence @xcite . although the rnn is trained exclusively in the forward direction, it is necessary to rule out the possibility that it can implicitly learn patterns that capture the backward regularities. we trained the rnn on the child-directed data described in section 3, including sentences with and without adjectives. we downsampled the english data to have comparable training data size (41862 sentences). the rnn had an embedding layer (size:100), a hidden recurrent layer (size:250), and a softmax output layer over the whole vocabulary (size: 7875 (english); 7520 (italian)). the model was trained to predict the next word in a sentence. we used cross-entropy loss, and updated the weights of the model with stochastic gradient descent, until the loss became stable (around 60 epochs). we evaluated the trained model based on the entropy of the model prediction after the first word in adjective construction. results are shown in figure 3 . as can be seen, at the end of training, the rnn is significantly less successful in learning english than italian (where success is quantified by low entropy). these results are consistent with our expectation: the model performs significantly worse for english, which -as shown in our analyses of conditional probabilities (section 3)-is less favoured by forward probabilities in the adjective-noun construction. ## retrodiction as delayed prediction our results indicate that a strictly forward model like the standard rnn cannot account for learning backward dependencies. an enhancement that could potentially capture the backward dependencies is the addition of a bidirectional recurrent layer (birnn, @xcite . however, this would not constitute a realistic account of human processing, as this model peeks into the context which is not yet experienced. thus we explore an alternative account of retrodiction that functions as delayed prediction, based on the model presented in @xcite , known as delayed recurrent neural network (drnn). the drnn extends the standard rnn in the following way. in the rnn, when an input word w t is presented at time t, the model predicts the next word w t+1 , and the weights are updated immediately. in the drnn, the weight update is performed at time t + d, where d is the pre-defined 'delay'. this entails that d extra words have been processed by the network before the error is backpropagated. this prevents the model from seeing future words during prediction, but it can effectively see them before the parameter update. we implement a drnn with the same hyperparameters as the rnn. we set a delay of one word and evaluate the model with the same entropy measure after similar number of epochs as the rnn (60 epochs). results are shown in fig. 4 . as can be seen, there are no significant differences between these languages, suggesting that this model can account for learning adjective constructions in both languages. this is in line with the reported data, and offers an explanation to why the aoa of children does not show any differences despite the different word order patterns: while a classic rnn account shows an asymmetry depending on the directions of predictability, by delaying the prediction error update, the drnn can take advantage of the backward dependencies in english, and strikes a good balance between the two directions in italian. ## conclusions our work suggests that a full account of human processing and learning needs to address typological influences on distributional information, which require tracking of both forward and backward statistical dependencies. while we cannot account for these with standard rnn models, the drnn can capture both forward and backward dependencies, offering a possible explanation for how humans are able to predict but also retrodict.