Dorota Lipowska1, Adam Lipowski2. 1. Faculty of Modern Languages and Literature, Adam Mickiewicz University in Poznań, 61-712 Poznań, Poland. 2. Faculty of Physics, Adam Mickiewicz University in Poznań, 61-712 Poznań, Poland.
Abstract
Synonyms and homonyms appear in all natural languages. We analyze their evolution within the framework of the signaling game. Agents in our model use reinforcement learning, where probabilities of selection of a communicated word or of its interpretation depend on weights equal to the number of accumulated successful communications. When the probabilities increase linearly with weights, synonyms appear to be very stable and homonyms decline relatively fast. Such behavior seems to be at odds with linguistic observations. A better agreement is obtained when probabilities increase faster than linearly with weights. Our results may suggest that a certain positive feedback, the so-called Metcalfe's Law, possibly drives some linguistic processes. Evolution of synonyms and homonyms in our model can be approximately described using a certain nonlinear urn model.
Synonyms and homonyms appear in all natural languages. We analyze their evolution within the framework of the signaling game. Agents in our model use reinforcement learning, where probabilities of selection of a communicated word or of its interpretation depend on weights equal to the number of accumulated successful communications. When the probabilities increase linearly with weights, synonyms appear to be very stable and homonyms decline relatively fast. Such behavior seems to be at odds with linguistic observations. A better agreement is obtained when probabilities increase faster than linearly with weights. Our results may suggest that a certain positive feedback, the so-called Metcalfe's Law, possibly drives some linguistic processes. Evolution of synonyms and homonyms in our model can be approximately described using a certain nonlinear urn model.
Entities:
Keywords:
homonyms; language formation; multi-agent modeling; signaling game; synonyms; urn model
The evolution and structure of language are often analyzed using computational modeling [1,2,3]. A particularly appealing research paradigm is inspired by the idea that language might have spontaneously appeared in a population of communicating individuals, possibly with some adaptive features [4]. This standpoint prompted numerous analyses of multi-agent models, which mimic such communication and try to infer the properties of the emerging language and its possible further evolution [5,6,7].In certain models of this kind, language emergence and evolution are studied using the signaling game [8], where communicating agents must decide which signal (i.e., a word) to send or how to interpret the signal they have received. To cope with this, agents very often use some form of the reinforcement learning [9,10,11,12,13,14,15]. Language that emerges in such models may provide a unique form-meaning mapping (in a signaling game terminology, it is a signaling system), but there are also other possibilities. In some cases, synonyms or homonyms can emerge, thus destroying the unambiguity of the form-meaning mapping. Neglecting some linguistic nuances [16], synonymy means that a single concept can be expressed by different words while in the case of homonymy, one word carries different meanings.Of course, synonyms and homonyms should not be considered undesirable or unrealistic as they exist in virtually every natural language, and are actually quite common. For example, out of approximately 60,000 entries in Webster’s Seventh New Collegiate Dictionary, about 35% are homonyms with two or more meanings [17]. The thesaurus based on the Corpus of Contemporary American English (containing 385 million words) points to 30,000 words with a total of 370,000 synonyms [18]. Let us notice, however, that in most cases synonymous words correspond to similar, not the same, meanings [19].It seems quite plausible that synonyms or homonyms change over time. For example, the frequency of their usage may change and gradually one form will be preferred over the other, and the latter eventually can even disappear. Although linguistic data are difficult to interpret, there are some indications that in natural languages synonyms are quite rare in contrast to homonyms, which appear to be more common [20,21]. Some linguists even insist that true synonyms do not exist or at best are very rare compared to homonyms [22,23]. There are some arguments that the difference in the frequency of synonyms and homonyms may be due to evolutionary pressures favoring speakers rather than hearers [20], or to language acquisition in childhood [24].Let us notice that synonyms actually compete in a quite different way from homonyms, which can be demonstrated already within the framework of the signaling game. While synonymous words compete for being selected by a speaker, for a homonymous word, it is the hearer’s role to assign an appropriate interpretation. It is thus possible that such a difference can affect the overall dynamics of synonyms and homonyms and eventually result in different degrees of their prevalence.In the present paper, we examine the evolution of synonyms and homonyms within the framework of the signaling game. We show that this evolution depends on the selection mechanism that is implemented in the signaling game. Our results suggest that to be consistent with linguistic observations, the dynamics of our model should implement a certain positive feedback, known in some marketing or economic contexts as Metcalfe’s Law [25]. Qualitatively, some of our numerical results can be better understood by referring to certain urn models.
2. Model
First, we briefly describe a certain urn model that will help us to understand some aspects of our multi-agent signaling game.
2.1. Nonlinear Urn Model
Urn models were introduced by Pólya [26] and intensively studied since then [27]. In such models, one considers an urn with white and black balls. At each step, one of the balls is drawn randomly from the urn and its color is observed. It is then placed back in the urn together with an additional ball of the same color, and the process is repeated. In the simplest version, the probability to select a ball of a given color is proportional to the number of such balls in the urn. Particularly interesting for us, however, is a nonlinear version of such a model, where the selection probability is proportional to the number of balls raised to a certain power [28]. The case can be interpreted as a positive feedback, commonly referred to as Metcalfe’s law [25]. In this case, the urn becomes dominated by balls of one color. For , one might say that there is a negative feedback and the urn tends to the state with an equal number of balls of each color. The orignal Pólya urn model is equivalent to the case and it separates these two different regimes.To develop a heuristic understanding of the behavior of such a nonlinear urn model [28], first we denote the number of white and black balls by and , where t is the total number of balls in the system. The probability that the ball selected at time is white equals . Thus, the expected change of might be written as:
and similarly for . Using the heuristic approximation , we obtain:When , the solution of Equation (2) is , where c is a certain constant. Integrating Equation (2) for , one obtains that goes to 1 in the long run. For , one obtains that goes to 0 or infinity [28]. As we will suggest in the following, such a nonlinear urn model can help us understand the stability and evolution of synonyms and homonyms, at least within the framework of the signaling game.
2.2. Multi-Agent Signaling Game with Reinforcement Learning
In our model, we have a population of N agents, which play a variant of the signaling game trying to establish names for objects. Agents are placed at the sites of a network, and in the present paper we assume that it is a complete graph, where each site is connected, and thus can communicate, with all the remaining sites. Each agent (A) for each object (o) has an inventory, where it stores words (i) with their corresponding weights:In an elementary step, a randomly selected agent (the speaker) communicates with one of its neighbors (the hearer). The speaker (S) chooses an object (o) and from a corresponding inventory selects a word (i), with a probability of selection () proportional to the weight of this word () raised to a certain power . More precisely,
To interpret the communicated word (i), i.e., to select an appropriate object (o), the hearer (H) takes into account the weights of the communicated word in all inventories and a similar form of the probability of selection is used:When the hearer’s interpretation (i.e., the object it selects) agrees with the speaker’s choice, the reward for their communicative success is that they both increase by unity the weights of the communicated word in their respective inventories, which improves the chances of choosing successful words in future communication attempts (reinforcement learning). To avoid an excessive increase of weights, which could result in stable configurations, we apply a population renewal, which means that the selected agent with a certain (small) probability p does not become a speaker but instead is replaced with a newly created agent with all weights . The population renewal is not the only way to avoid a standstill, as one can use some other techniques such as memory loss or lateral inhibition [29].To examine a time dependance in our model, a unit of time is defined as of elementary steps, i.e., in a unit of time for each agent each object is on average selected by a speaker once.The model described above has already been used to examine the role of the network structure in the emergence of linguistic coherence [14]. It was observed that leads to a faster convergence than but not necessarily to a linguistic coherence state (i.e., a signaling system). A moderate intensity of a population renewal helps to reach such a coherence, but a too large one impedes the process. However, some other factors, such as the structure of the network of interactions or parameters and , also affect the evolution of the model [14]. We do not examine our model for because in this case the probabilities of selection increase sublinearly with accumulated weights, which inhibits reaching the linguistic coherence. As we show in the following sections, parameter qualitatively affects the evolution of synonyms and homonyms in our model.The nonlinear urn model described in the previous subsection plays only an auxiliary role. The signaling game model that we defined in this section can be considered as a multi-urn generalization of such a single-urn model with weights (Equation (3)) corresponding to the number of balls. Let us also note that the selection probabilities Equations (4) and (5) are determined by the same set of weights. To select a word for an object, the speaker takes into account the weights of all words in the corresponding repository (the summation in Equation (4) is over words). On the other hand, to interpret the communicated word, the hearer takes into account the weights of this word in all repositories (the summation in Equation (5) is over objects). In some implementations of the signaling game, separate inventories are used for the selection of communicated words and for their interpretation [30].
3. Synonyms
To examine the evolution of synonyms, we prepared an initial configuration with synonyms, where for each object (i), agents have a set pair of words ( and ) of weights larger than those of other words in the respective inventory (for simplicity, we chose two consecutive words for subsequent objects). An example of such a configuration for and is shown in Figure 1. Initially, thus, agents are inclined to use one of those two words for an object. To monitor to what extent the synonymous structure persists in the system, we measured the parameter m defined as:This parameter measures the relative difference of weights of synonymous words. When synonyms persist in the system and have approximately equal weights, then m is close to 0. When synonyms are eliminated, typically one of the synonymous words loses importance (i.e., its weight) and m increases toward unity.
Figure 1
Two examplary agents’ inventories of five words (left column) with weights (right column; and ). To examine the evolution of synonyms, we used an initial configuration where in each agent’s inventory, there is a pair of words with larger weights. When talking about object (or ), agents are initially inclined to communicate using synonymous words and (or and ).
Numerical simulations show that the persistence of synonyms strongly depends on (Figure 2). As simulations with and demonstrate, the characteristic lifetime of synonyms increases for decreasing and it seems to diverge for . For synonyms seem to be very stable (even up to ) and such a behavior was observed for several sets of parameters and .
Figure 2
Time evolution of synonyms as measured with the parameter m (Equation (6)). Simulations were done for agents and the presented results are averages over 100 independent runs. Note the logarithmic scale on the horizontal axis.
Such a behavior of synonyms can be understood as referring to the nonlinear urn model described in Section 2.1. Assuming that for a given object the two competing synonyms have dominant weights, we can neglect other words in this inventory. Moreover, we can assume that these two words have rather small weights in inventories corresponding to other objects. The weights of the first and second synonyms at time t are denoted by and , respectively. The average change of in one elementary step is equal to the probability that this synonym will be selected by the speaker (which is , because the two synonymous words dominate in the inventory) times the probability that this word will be correctly interpreted by the hearer (which equals 1, as we assumed that this word does not have large weights in any other inventory). Thus, the average increase in has exactly the same form as in Equation (1). Since the analogous equation can be written for , we obtain that the competition of synonyms in our model is equivalent to the nonlinear urn model (subject to some simplifying assumptions that we made). From the analysis of the latter, it is thus clear that for , one of the synonyms gets eliminated while for , both of them are likely to persist.To illustrate the evolution of the model with synonymous initial conditions, we plotted the weights of given objects and words (Figure 3 and Figure 4). The weights are normalized with the total weight (the sum of weights over all objects and words). Initally, for each object two words have their weights larger than other words in the inventory, and mainly such synonyms are in use. For (Figure 3), after approximately steps, a certain asymmetry is noticeable and gradually some of these synonymous words start to dominate. Further evolution leads to the formation of a unique object–word mapping (i.e, signaling system), where a single word is almost always used by a speaker to communicate a given object and this word is almost always correctly interpreted by a hearer. Since is not much greater than unity, the process of elimination of synonyms is relatively slow.
Figure 3
Evolution of the weights (averaged over agents) for given objects and words. Simulations were done for , , , and . The initial configuration of weights includes 10 pairs of synonymous words. After steps, some asymmetry in weights can be noticed and at , an almost perfect unique object–word mapping can be seen.
Figure 4
Evolution of the weights (averaged over agents) for given objects and words. Simulations were done for , , , and . The initial configuration of weights includes 10 pairs of synonymous words. Evolution of the model shows that in this case synonyms are very stable.
Similar calculations for (Figure 4) show that in this case the pairs of synonyms exist basically unchanged for at least steps, in agreement with the above analysis based on the nonlinear urn model (Figure 4).
4. Homonyms
To examine the evolution of homonyms, we prepared the initial configuration with homonyms, i.e., this time one word of a large weight is associated with a chosen pair of objects. An example of such a configuration is shown in Figure 5.
Figure 5
Two examplary agents’ inventories of two words (left column) with weights (right column; and ). To examine the evolution of homonyms, we used an initial configuration where agents’ inventories are grouped in pairs containing the same word with a weight larger than those of other words in these two inventories. When talking about any of the objects or , agents are initially inclined to communicate using the word . However, as a homonym, this word in both inventories has equal weights and the probability of its correct interpretation is only 0.5.
In the case of homonyms, the communicated word can be incorrectly interpreted by the hearer, which reduces the success rate s of communicating agents, where s is defined as a fraction of successful communication attempts. Thus, such a parameter is suitable for monitoring the stability of homonyms.We made numerical simulations for the simplest possible case of and (a single homonym) but we believe that our conclusions concerning the stability of homonyms may also hold in other cases. We examined several values of and the population renewal probability or (Figure 6). As expected, initially s is close to 0.5 (see Figure 5); however, it increases over simulation time, which indicates that homonymy is gradually eliminated and a unique object–word mapping is formed.
Figure 6
Time evolution of the success rate s for the initial configuration with homonyms. Simulations were done for agents, and , . The presented results are averages over 100 independent runs.
Let us notice the non-monotonic behavior with respect to the parameter . For , the success rate s rapidly increases, but the increase is much smaller for and 1.5. For , the increase of s is again relatively fast. Since an increase in the success rate s is related to elimination of homonyms, our simulations show that homonyms are the most stable for and .However, it is in our opinion somewhat surprising that for , we observe a fast increase of s, which is much in contrast with the stability of synonyms in this case. Some understanding of such behavior can be inferred from the analysis of a certain urn model, which should approximately reflect the beginning of homonym elimination. The process starts when in a certain inventory a non-homonymous word acquires a sufficiently large weight and further evolution makes it a dominant word, which suppresses a homonym. For simplicity, let us consider only the inventory, where such a process takes place (first inventory in Figure 7). Denoting the weights of the competing words by (homonymous word) and (non-homonymous word), we can write the following equations that describe their average change in a single step:The factors and are the probabilities that homonymous and non-homonymous words, respectively, will be correctly interpreted. The terms and in Equation (7) are the probabilites to select homonymous and non-homonymous words, respectively. From the above equations and with the same heuristic replacement as in Equation (2), we obtain:
Figure 7
The non-homonymous word acquired a weight larger in the first inventory (for the object ) than in the second one (for the object ). When it happen to be communicated by a speaker who has chosen the object , it is likely to be correctly interpreted by a hearer, which will result in a further increase in its weight in the first inventory.
Let us notice that when a non-homonymous word that acquired a large weight in a certain inventory is communicated, it is very likely that it will be correctly interpreted (as illustrated in Figure 7). Thus, we expect that is close to 1 and is close to 0.5 because at the beginning of the homonym elimination, both homonyms are symmetric (i.e., of equal weights). Integrating Equation (8), for we obtain , where C is a certain constant. Thus, for and (which is the case, as justified above), the ratio equals 0. In other words, the weight of a non-homonymous word will dominate that of a homonymous word. It means that the non-homonymous word, even with a much smaller weight initially, will overtake a homonym in the long run.In our opinion, this result is by no means obvious and because the differential equation approach (Equation (8)) is based on some heuristic assumptions, we made simulations of the urn model with the rules corresponding to Equation (7) with . Namely, there are white balls and black balls in the urn. We randomly select one of them. If it is a white one, then with probability 1/2 we add a white ball to the urn (and with probability 1/2 we do nothing). If the selected ball is black, we add one black ball to the urn. Numerical results for this urn model support the above analysis (Figure 8). We can see that even when initial conditions strongly favor (homonymous word), it is (a non-homonymous word) that dominates in the long run.
Figure 8
Time evolution of the average weights and for the urn model with a stochastic addition (see the text). The presented results are averages over 20 independent runs.
When , the prefactor in Equation (8) is unimportant and similarly, as for the nonlinear urn model in Equations (1) and (2), we obtain that is equal to 0 or ∞. However, in the context of the evolution of homonyms, we have the initial condition that favors and thus for one obtains and homonyms appear to be stable against words that due to fluctuations acquired a relatively large weight. We would like to emphasize that this conclusion is based on the heuristic analysis of the nonlinear urn model. The signaling game with its stochastic fluctuations and additional factors such as population renewal only to some extent agrees with this behavior. Indeed, as demonstrated in Figure 6, for homonyms seem to be more stable than for , but in the long run, they are also gradually eliminated.Finally, we present the evolution of weights in simulations with a larger number of objects and words. The initial weights determine five homonyms (each representing two objects). For (Figure 9) at , we can notice that for some objects, non-homonymous words acquired substantial weights and they gradually suppress the homonym. Around all homonyms are eliminated and a unique object–word mapping is formed. However, in this case homonyms are relatively long-lived (see Figure 6). We made similar calculations for (Figure 10), in which case homonyms seem to be eliminated a bit faster. The resulting language also contains some synonyms, and because , they are likely to persist.
Figure 9
Evolution of the weights (averaged over agents) for given objects and words. Simulations were done for , , , and and the initial configuration of weights corresponds to five homonyms, each with two meanings (objects). After steps, non-homonymous words for some objects acquire increasing weights and gradually dominate homonymous ones. Around , we can see an almost perfectly unique object–word mapping.
Figure 10
Evolution of the weights (averaged over agents) for given objects and words. Simulations were carried out for , , and and the initial configuration of weights corresponds to five homonyms, each with two meanings (objects). Around , homonyms are basically eliminated but the emerging language contains synonyms (even multiple).
Figure 4 and Figure 10 show that the signaling game with is characterized by very stable synonyms and a relatively fast elimination of homonyms, which seems to be different from linguistic observations of natural languages. With moderate nonlinearity (e.g., ), both synonyms and homonyms decay on comparable time scales (Figure 3 and Figure 9), which seems to be more adequate.Finally, let us notice that the initial configurations that we used have maximal numbers of synonyms or homonyms and differ, of course, from existing languages, where the frequency of such structures is much smaller. Such a choice, however, simplifies computational analysis and enables us to monitor the evolution of syno- and homonyms. We expect that a signaling game with a more realistic initial configuration should exhibit an analogous behavior but its computational analysis would be much more demanding, e.g., due to a much larger number of objects () that would need to be considered.
5. Conclusions
In the present paper, we suggest that the presence of synonyms and homonyms in natural languages may give us some valuable clues as to the nature of the mechanisms that drive linguistic processes. Within the framework of the signaling game, we argue that the reinforcement learning should operate in the super-linear regime () with probabilities of selections increasing faster than linearly with the accumulated weights. The linear regime () would, instead, lead to languages with very stable synonyms and relatively fast decaying homonyms, which is probably at odds with some linguistic observations [20].We have argued that certain aspects of the dynamics of synonyms and homonyms in the signaling game can be understood due to the similarity to the nonlinear urn model [28]. The relationship is not entirely straightforward: the monopolistic regime that appears in the nonlinear urn model translates as a removal of synonyms but for homonyms, it actually protects their stability. The signaling game is of course more complex than the urn model and an analysis of the latter provides only a limited insight into the evolution of synonyms and homonyms in the signaling game. Let us also note that our model contains several parameters such as N, , , , or p. Together with the choice of the network of interactions (it is a complete graph in our study) or the initial values of weights, these are all the factors influencing the evolution of the model. We performed only very limited numerical analyses for the values of parameters that, in our opinion, correspond to some generic (within some bounds) behavior of the model. Of course, more complete analyses of the model would be desirable.As we have already mentioned, synonyms, contrary to homonyms, do not reduce the communicative efficiency in the signaling game. However, such a property should not be considered as implying that synonyms are stable and homonyms are not. Although for , we indeed observed stable synonyms and unstable homonyms, the reverse situation took place for (in which case the impact of synonyms and homonyms on the communicative efficiency is the same). As a possible further extension, one could consider the possibility that synonyms are less stable if there is a cost related to the size of the inventory used, i.e., when there is a pressure against using more words than necessary for perfect communication. Moreover, homonymy can be evolutionarily stable if the signaling game is modified, for example, when there are additional sources of information that can be used for disambiguation by the hearer [31,32,33].Perhaps an interesting question is why nonlinear () rather than (maybe naively expected) linear () feedback drives linguistic processes. In marketing or economic contexts, a competition between, e.g., video recording formats, operating systems, and even keyboard types is often discussed, in which cases the value of the system grows probably faster than linearly with the number of users (Metcalfe’s Law) [25,34]. In the signaling game, it would mean that a benefit of using a certain word (and thus a probability of its future selection) increases faster than linearly with the number of successful communications. Considering the complexities of language evolution, with its various social, biological, and cognitive aspects, it seems quite likely.