# Increasing trend of scientists to switch between topics

## Abstract

Despite persistent efforts in understanding the creativity of scientists over different career stages, little is known about the underlying dynamics of research topic switching that drives innovation. Here, we analyze the publication records of individual scientists, aiming to quantify their topic switching dynamics and its influence. We find that the co-citing network of papers of a scientist exhibits a clear community structure where each major community represents a research topic. Our analysis suggests that scientists have a narrow distribution of number of topics. However, researchers nowadays switch more frequently between topics than those in the early days. We also find that high switching probability in early career is associated with low overall productivity, yet with high overall productivity in latter career. Interestingly, the average citation per paper, however, is in all career stages negatively correlated with the switching probability. We propose a model that can explain the main observed features.

## Introduction

Uncovering the mechanisms governing research activities of individual scientists and their evolution with time is critical for understanding and managing a wide range of issues in science, from training of scientists to collective discovery of new knowledge1,2,3,4,5. The increased availability of large data sets that capture research activities creates an unprecedented opportunity to explore the dynamical patterns of scientific production and reward using state-of-the-art mathematical and computational tools6,7,8. Apart from the early works aiming at evaluating scientific impact with scientists’ citations9, h-index10, and related variants11, there is a recent wave of studies focusing on quantifying and modeling the evolution of research creativity throughout scientists’ careers12,13,14,15,16,17,18,19. Scientists’ cumulative production measured by the number of papers has been shown to exhibit persistent growth with time12, which is associated with the well-known Matthew effect20. By associating each publication with its citations, it has been revealed that the most influential work of a scientist appears randomly within the sequence of her publications13. A follow-up work reveals that scientists’ career may involve a hot streak period during which an individual’s performance is substantially higher than her typical performance14. Other issues such as the evolution of scientists’ creativity15, reputation16, social ties17, and mobility18,19 over their careers have also been investigated.

A fundamental driving force of scientific research is the evolution of scientists’ research interest5, which is reflected in the switching of scientists between different research topics over time. Sociologists of science have made persistent effort in qualitative understanding the principles governing the topic selection of scientists, and pointed out that it may result from a trade-off between conservative production and risky innovation21. There are also rich illustrative models proposed by sociologists to categorize the research strategies adopted by scientists22. With the increasing availability of the scientific publication data, the issue of topic selection started to be analyzed quantitatively in recent years. Specifically, various language-based topic models have been proposed to detect research fields of scientists23,24. It has been also revealed empirically that scientific funding may increase interest in the supported areas25. A recent work pointed out that the research interest of individual physicists could shift significantly from the beginning to the end of the career, with the distance between interests being measured based on field classification codes in physics26. However, the variation of topic switching during the individual career has not been studied so far. Here, we ask: how to identify the topics that an individual scientist is involved? How frequently a scientist switches between different research topics? Is scientists’ impact improved if they switch more frequently between topics? Does the topic switching behavior of scientists change during the past century?

To address these questions, we construct a network for each scientist characterizing the relations between her papers. The structure of this network will immediately reveal how an individual scientist’s research interests are embodied. This framework allows us, applying community analysis, to specify the various research interests and accordingly investigate the detailed dynamics of the research interest shifting of a scientist, as well as the switching tendency evolution during the last century and its relation to research impact. The analysis in this paper is mainly based on physicists and computer scientists. However, our method is general and not restricted to availability of field classification codes, so it can be applied to analyzing scientists from any discipline.

## Results

### Co-citing networks of individual scientists and their structural properties

In this paper, we analyze the scientific publication data of the American Physical Society (APS) journals. Disambiguated author name data provided in ref. 13 is used to assign each paper to its authors, which results in the publication records of 236,884 distinct scientists (for basic statistics of this data, see Supplementary Fig. 1). In order to investigate how the papers of an individual scientist are related, we construct for each scientist a co-citing network (CCN), in which each node is a paper authored by this scientist and two papers are linked if they share at least one reference. This approach of constructing links between nodes (papers) based on their common neighbors is called bibliographic coupling in Scientometrics27,28 and has also been widely used in analyzing various other real systems, such as international trading systems29 and online social systems30. The communities of each co-citing network of a scientist are identified with the fast unfolding algorithm, which detects communities by maximizing the modularity function31. Typically, a network contains several large-size communities, as well as some small clusters and isolated nodes. The major communities represent the main research topics of this scientist. As the network size needs to be large enough to ensure meaningful community detection results, we consider in this study all scientists that have published at least 50 papers in the APS journals (3420 scientists, for the distribution of their career started years see Supplementary Fig. 2). The results for scientists with fewer papers (at least 20 papers, 15,373 scientists) are similar and are reported in Supplementary Figs. 17 and 18. In addition, we have studied the communities detected in the weighted co-citing network, where links are weighted according to the number of shared references. The community structure is not significantly altered, as large weights tend to locate on the links within communities (see Supplementary Fig. 3). Our community analysis has also been examined using a modified modularity function with tunable resolution parameter (see Supplementary Figs. 19, 20) and in another data set from computer science (see Supplementary Figs. 2325) and for all tests, the main conclusions have been found to be similar.

Illustration of the CCN of a typical highly cited scientist is given in Fig. 1. The community connectivity matrix in Fig. 1c shows that nodes within each community are well connected, yet nodes between communities are much less connected. The time series presented in Fig. 1d describes the growth history of the network and reveals how this scientist moves from one research topic to another during his career. In the time series, each point is a paper, and different colors represent different communities in the co-citing network. The height of the point is the number of links that the paper has in the network.

We first focus on the structural properties of the co-citing networks (CCNs). For each scientist’s CCN, we calculate the size of its giant component (GC) and study its correlation with the network size, as shown in the scatter plot presented in Fig. 2a. It is seen that most of the points are located close to the diagonal line, indicating that CCNs are generally well connected and have relatively large GCs (see Supplementary Fig. 4 for the results with the networks, including also co-cited relations). This is also seen in the inset where a significant right-skewed distribution of the relative size of GC is observed. Figure 1c suggests that a CCN has a community structure. As a statistical support for this phenomenon, we plot in Fig. 2b the maximized modularity, Qreal, in real CCNs and the maximized modularity, Qrand, in their degree-preserved reshuffled counterparts. For each scientist’s CCN, we generated 100 random counterparts, and Qrand is obtained by averaging the maximized modularity of these counterparts. All points in Fig. 2b are located under the diagonal line, indicating that Qrand is smaller than Qreal. In order to measure the significance of the difference between Qreal and Qrand, we conducted the one sample t test of the modularity of each scientist’s CCN and its random counterparts. All obtained p-values are significantly smaller than 0.01, indicating that the modularity of the CCNs is significantly larger than their random counterparts (see an illustration of the significant difference between Qreal and Qrand in Supplementary Fig. 5).

Given that papers tend to cluster into communities in CCN, one interesting question is what is the typical number of communities that a scientist has. We show in Fig. 2c, the distribution of the number of communities for all scientists. The number of communities is seemingly broadly distributed. However, as CCNs may consist of isolated nodes or very small clusters, we use a threshold to eliminate communities that are too small to be regarded as a research field of a researcher. After filtering, the distributions of the number of communities that a scientist has become very narrow, peaking around 4 and 3 if only communities with sizes larger than 2 and 5 are considered, respectively. In the following analysis, we define major communities as such of more than two nodes. To better understand the community size in CCNs, we show in Fig. 2d the fraction of papers in each community sorted by size in descending order. The strong decay of the curve indicates that several major communities comprise most of the nodes. A further investigation of the inverse cumulative probability of fraction of nodes in several largest communities indicates that for half of the scientists, the three largest communities include over 70% of their papers, as seen in Fig. 2e.

In each CCN, a major community contains papers that are topologically close to each other. In order to validate whether the papers in a community are indeed in similar research topics32,33, we analyze the PACS code (a field classification code in physics) of the papers belonging to the same community. We show in Fig. 2f, the Gini coefficient34 of the distribution of PACS codes in different communities. A larger Gini coefficient corresponds to a more heterogeneous distribution of the PACS codes in a community. The real data are compared with a random counterpart, where the PACS codes are reshuffled among each individual scientist’s papers while the community structure is preserved. We find that the mean Gini coefficient in real data is higher than that in the random counterpart, with a p-value smaller than 0.01 in the Kolmogorov–Smirnov test of the corresponding Gini coefficient distributions. Thus, our results suggest that papers in a community tend to share the same PACS codes, and the detected communities reflect distinct research fields of a scientist.

### Evolution of switching probability and its influence

Once the detected communities are marked in the time series (Fig. 1d), the dynamics of scientists’ interest across different research topics can be investigated. To this end, we first show in Fig. 3a, the mean number of yearly involved major communities for each scientist. It can be seen that scientists tend to be involved in small number of communities during their early career. Then the number of yearly involved communities increases until it peaks around the 20th year of the career, and then gradually decreases. However, when a scientist publishes more papers in a year, she might have a higher number of yearly involved communities purely by chance. To remove this effect (see Supplementary Fig. 6), we propose another metric called switching probability which computes the probability of a scientist to switch from one major community to another major community between two adjacent publications. Figure 3b shows the evolution of the mean switching probability in different career years. The peak of switching probability is also around the 20th career year, indicating that scientists tend to switch less during their early career while switch more in the later stage of their career. To further eliminate the varied productivity intensity over a career, we show in the inset of Fig. 3b the mean switching probability as a function of the number of papers published in a career. It is seen that the decay of switching probability in the later career becomes even less obvious, forming a rise-and-level-off pattern of the switching probability. These results suggest that scientists are not following the optimal foraging behavior35, namely to explore at the beginning and then become significantly more exploitative at the end. The switching behavior of scientists is probably driven by other factors. Specifically, scientists probably aim to minimize failure probability in the early career, so they switch less in this period. Then they become riskier by switching more frequently in their later career.

We further ask, does increasing switching helps research performance or not? To this end, we investigate the correlation between the switching probability and research performance. Here, we measure the research performance of a scientist using two almost uncorrelated metrics (see Supplementary Fig. 7), i.e., the number of published papers and mean citation per paper. Consistent with ref. 13, we only consider the number of citations 10 years after a paper is published, i.e., c10. We first compare in Fig. 3c, the overall switching probability with the switching probability of the 10% most productive scientists in different career years. We find surprisingly two opposite behaviors. In the early career stage (<12 y), high overall productivity is associated with low switching probability, yet in later career stage high productivity is associated with high switching probability. The pattern still exists if we remove those with low citations from the productive scientists (see Supplementary Fig. 8). There might be multiple reasons leading to this pattern. A possible one causing the negative correlation between productivity and switching probability in the early career is that a scientist frequently switches the topics because the area of research is not interesting, or it is too difficult to do anything productive in it. In addition, we compare in Fig. 3d, the overall switching probability with the switching probability of the 10% scientists who has the highest mean citation per paper. The figure shows that high average citation per paper in all career periods is associated with low switching probability. This interesting finding might be due to the fact that higher switching probability reduces the impression of leadership in a specific field, yielding less citations. This result is supported by an additional test where the switching probability is found to be negatively correlated with mean citation per paper, especially for productive scientists (see Supplementary Fig. 9). To examine the significance of these findings, we carry out the Kolmogorov–Smirnov test of the switching probability distribution in each career year. The small p-value shown in the insets of Fig. 3c, d (mostly <0.05) suggests that the overall (total population) switching probability indeed follows a distinct distribution from each of the two sub-groups of scientists (i.e., 10% most productive and 10% most highly cited per paper) in each career year. We also examine the results of 2% and 5% scientists with most productive and most highly cited per paper (see Supplementary Fig. 10), and we control topic areas according to PACS codes when computing the percentiles (see Supplementary Fig. 11). The observed patterns are consistent with those presented in Fig. 3c, d. We additionally calculate the Pearson correlation between scientists’ switching probability in different career years and their overall performance (productivity or mean citation per paper). The correlations presented in Supplementary Fig. 12 also highly support the findings revealed in Fig. 3c, d.

Next, we study how the structural and dynamical properties of CCNs evolve as the development of science in the last 100 years. As our data ends in 2010, the careers of some scientists are not completed. We thus have to fix the career length of the scientists from different years in order to ensure a fair comparison between their CCNs. Specifically, we only consider scientists’ first y career years and remove (i) all the scientists who did not yet reach y years career and (ii) those who published less than 30 papers in their first y career years. In our analysis, we present results of y = 10, 20, 30. We first select the scientists who started their careers in a certain year, and average the number of major communities that these scientists have been involved in their careers. We show in Fig. 4a, the mean number of communities for the scientists who started their career in different years. The results indicate that as science evolves, the number of major communities of individual scientists stays almost unchanged. The evolution of other structural properties of CCNs is presented in Supplementary Fig. 13. We further calculate the mean switching probability of each scientist over her career, and accordingly compute the mean switching probability per year by averaging the switching probability of all scientists who started their career in this year. The results in Fig. 4b surprisingly indicate that although the number of communities is stable over years, scientists tend to increase switching between communities, i.e., topics, during last century. More specifically, scientists in the earlier days tend to work in a topic for a longer period before switching to another topic. On the contrary, scientists nowadays tend to work on multiple topics almost simultaneously, resulting in more frequent switching between communities in adjacent publications. The error bars in Fig. 4b represent standard deviations. The large error bars in Fig. 4a, b are due to the heterogeneity of scientists in switching probability. In order to further support the increasing trend of the switching probability, we calculate in Supplementary Fig. 14 the standard error of the switching probability, which estimates the standard deviation of the error in the sample mean with respect to the true mean. Small standard error of the mean has been found in Supplementary Fig. 14, indicating a very small uncertainty in these mean values.

We then test the significance of our observed trends by directly studying the distributions of the number of communities and switching probability for two groups of scientists. The first group includes the scientists who started their careers between 1950 and 1960, while the second group contains the scientists who started their careers between 1970 and 1980. Figure 4c shows that the distributions of the number of communities for these two groups of scientists largely overlap. The distributions of the switching probability for these two groups of scientists in Fig. 4d, however, exhibit a significant difference. In addition, we consider scientists who started their careers in each adjacent 10 years, e.g., 1940–1950, 1950–1960, 1960–1970, and 1970–1980. We conduct the Kolmogorov–Smirnov test of the distribution of scientists’ community number, as well as the distribution of scientists’ switching probability. As shown in Supplementary Table 1, the p-values are all larger than 0.2 when comparing the distribution of scientists’ community number in different year periods, supporting the assumption that these data follow similar distributions. However, the p-values are all smaller than 0.04 when comparing the distributions of scientists’ switching probability in different year periods, suggesting significant differences between these distributions.

To support the empirical findings above, we conducted various additional tests. First, to remove the effect of increasing number of papers and scientists during the years, we construct a null model in which we preserve the published papers for each scientist, yet we reshuffle the time order of these papers. Thus, the detected communities in each scientist’s CCN are kept unchanged, while the switching probability over his/her career will be altered. We find that the average switching probability in this null model is stable over the years (see Supplementary Fig. 15), suggesting that the increasing trend of switching probability in real data is not caused by the increasing the number of papers and scientists. Second, we tested, whether and how much, our findings are impacted by collaborative effects. We assign a paper impact among authors in the case of multiauthored papers, using the collective credit allocation approach36. We filter out a scientist’s papers, in which the credit share of the scientist is lower than a certain value. After filtering out these papers, we find no qualitative difference in the resultant individual and collective switching patterns of scientists (see Supplementary Fig. 16), suggesting that our findings are robust to co-authorship effects. Furthermore, we examined the APS data using two additional methods. The first one is a community detection algorithm called Infomap37, which is independent of modularity maximization. We choose this method because its resolution limit has been found to be orders of magnitude smaller than modularity maximization38. The second method is based on PACS codes, which are filed classification codes enforced by APS from 1985 to 2015. We choose this method because it is completely independent of community detection. Usually, a paper may have several PACS codes (typically 3). Here, we select the first four digits of the primary PACS codes (the first PACS code in a paper) to identify the field (topic) of a paper. While the first method is applicable to all scientists considered above, the second method is restricted to the scientists who published their first paper in APS after 1985. The detailed results based on Infomap and PACS codes are summarized, respectively, in Supplementary Figs. 21 and 22, which exhibit the same patterns as those revealed by the modularity maximization.

### The exploitation–exploration model

We finally propose a model that could help to understand the main mechanisms leading to the observed patterns of scientists’ research dynamics. The research activities of scientists can be modeled as a discovery process in the knowledge space (i.e., a network characterizing the connections among different knowledges)4,39. When a scientist publishes a paper, she activates a node (i.e., a new knowledge) in the knowledge space. The sub-network activated by this scientist during her career forms a personal network recording all her papers as well as the links, i.e., relations between them. The simplest model for the node activation process is the standard random walk model (RWM), assuming that a scientist randomly activates a neighboring node of the former activated node. Here, we propose an exploitation–exploration model (EEM) by introducing an exploitation process (controlled by a probability p) and an exploration process (controlled by a probability q) to the random walk model. Both processes have been pointed out to be fundamental for innovation in various adaptive systems40. In our model, these two processes are performed sequentially. Instead of always starting from the last activated node in each step, the scientist has probability p to randomly restart from (re-exploit) one of the previously activated nodes. Once the re-exploited node is determined, the scientist has probability q to explore nodes beyond the nearest neighbors (a next-nearest neighbor for simplicity). Note that the EEM reduces to the RWM when p = 0 and q = 0. For an illustrative demonstration of the RWM and the EEM, see Fig. 5a. In our simulation, the knowledge space is represented as a network consisting of all the APS papers, with any two nodes (papers) linked if they share at least one reference. The first activated node for each scientist is set to be her first paper. The rest of the papers of each scientist are generated by following the EEM on the APS network until the number of activated nodes equals to the real number of papers of each scientist.

We first test the EEM by simulating the research dynamics of the representative highly cited scientist presented in Fig. 1. Specifically, we compare in Fig. 5b the co-citing network (CCN) as well as the time series of published papers generated by both, the RWM and the EEM. One can immediately see that the network generated applying the RWM is very different from the typical real one in Fig. 1b, as it contains many long chains and it lacks distinct communities. Moreover, the time series obtained from the RWM is also very different from that of a typical real researcher shown in Fig. 1d in the sense that no switching between communities can be observed in each year. In contrast, both the network and the time series generated by the EEM qualitatively reproduce similar properties as those exhibited in Fig. 1. We further support quantitatively the EEM by examining some statistical quantities generated by this model. The first relates to the number of yearly involved communities under different p, as presented in Fig. 5c. When p = 0, each scientist roughly works in only one community each year. As p increases, the number of yearly involved communities becomes larger, with p = 0.6 peaking around 1.8 which is the value observed in real data. Here, q is set to be 0 as it has little effect on the yearly involved communities. Another statistical quantity is the number of communities that each scientist is involved during her career. When q = 0, the generated sub-network does not have distinct communities, and thus the number of communities is very narrowly distributed (even for size > 0 case where all detected clusters are regarded as communities), as shown in Fig. 5d. As q increases, small communities start to emerge, resulting in the separation of the distributions of the size > 0, size > 2, and size > 5 cases. When q = 0.2, the distributions of size > 0, size > 2, and size > 5 cases, respectively, peak around 11, 8, and 5, similar to that in real data, see Fig. 2c. Here, the other parameter p is set to be 0, as it has little effect on the distribution of the community numbers. We additionally estimate the probability p and q for each scientist based on real data (see the Methods section). The distributions of the estimated p and q from real data are shown in Fig. 5e, f, respectively. One can see that the distributions of p and q peaks around 0.6 and 0.2, respectively, which are the values in Fig. 5c, d that generate consistent statistical properties with real data.

Finally, we studied in Fig. 6 other structural statistics of the generated scientists’ CCNs based on the EEM with parameters p = 0.6 and q = 0.2. Despite some quantitative differences, we find that these structural quantities measured in Fig. 2 are qualitatively similar in the real data and model data. In particular, the CCNs generated by EEM are well connected and have community structure, with papers in a community sharing the same PACS codes. Strong size heterogeneity is also found among the communities, indicating that scientists engage disproportionately in different topics. These results are actually predictable from the mechanism of EEM. We model the research activities of scientists as discovery process in the knowledge space which is represented as the co-citing network of all APS papers. The underlying network has already community structure with heterogeneous size and meaningful representation of topics. The sub-network sampled by the EEM from this complete network will naturally have these properties. The main contribution of the EEM is that it captures the main mechanisms (i.e., restart and long-jump) leading to the topic switching behavior observed in real data, including the high switching probability (switching back to old topics) as well as small isolated communities (switching to very dissimilar topics).

## Discussion

To summarize, we study the research dynamics of scientists by constructing a network of each individual scientist’s publications characterizing their co-citing relations. We find that typically each network appears to have a clear community structure. The papers in a community tend to share the same PACS code, indicating that each community indeed represents a research area. By filtering out the small communities of <3 nodes, we obtain the major communities of scientists. We find that the numbers of major communities of scientists are narrowly distributed. In addition, the three largest communities already comprise over 70% of a scientist’s papers. We compare the statistical properties of the CCNs of scientists who started their career in different years. We find that though the total number of communities stays almost unchanged, the switching between communities tends to increase and becomes more frequent during the years. Moreover, we find that high average citation per paper in all career stages correlates with low switching probability. In marked contrast, high switching probability in early career correlates with low overall productivity, while high switching probability in latter career is associated with high overall productivity. Finally, we propose a model capturing the main features of the research dynamics of individual scientists.

Among the existing literature, ref. 26 made an important step toward understanding the macroscopic patterns that underlie the research-interest evolution over scientists’ whole careers. The key finding in ref. 26 is that research interest distance measured based on PACS codes between the earliest and the last stages of scientists’ career follow an exponential distribution. A seashore walk model was proposed to reproduce this empirical observation. Some of our empirical findings are consistent with those presented in ref. 26. However, as the analysis in ref. 26 is focused on the overall change of the research interests over scientists’ whole careers, still very little is known about the microscopic dynamics of the short time (paper by paper) topic switching within the individual career. The main contributions of our paper are (i) to propose a general methodology based on community detection method to analyze this microscopic topic switching dynamics, (ii) to reveal empirically the evolution trends of this microscopic dynamics in scientists’ careers over the last 100-year development of physics, and (iii) to model the dramatic topic switching behavior in this microscopic dynamics.

One of the main findings in this paper is that frequent topic switching in the early career may be adverse to the success of a scientist’s career. Therefore, our results suggest that funders and decision-makers should encourage young scientists to concentrate on their current topics. For instance, more follow-up grants can be given to young scientists for studying topics that they have already studied. Another possibility is to introduce long-term performance appraisal for young scientists so that they can devote themselves longer to a topic. Our work provides a general framework for incorporating network tools into the temporal analysis of publication records of individuals. Several promising extensions can be built on this work. A straightforward one is applying our framework to analyze research dynamics at the higher level (e.g., in departments or institutes), which will substantially deepen our understanding of how research activities are collectively organized. Moreover, one can construct CCNs of papers published under the support of cooperative or individual research grants. The outcome of a research grant can thus be evaluated based on not only the productivity but also the actual research directions and cooperation between scientists. Finally, we remark that research activity is a complex behavior, driven by multiple factors. Despite the simplicity of our model, it captures many basic properties. However, we note that it could capture more real features of scientific research by incorporating other mechanisms such as reward or reinforcement signals after topic switching41.

## Methods

### Data

In this paper, we analyze the publication data from all journals of APS. The data contain 482,566 papers, ranging from year 1893 to year 2010. For the sake of author name disambiguation, we use the author name data set provided by Sinatra et al. which is obtained with a comprehensive disambiguation process in the APS data13. Eventually, a total number of 236,884 distinct authors are matched. We found and analyzed 3420 authors with at least 50 papers, and 15,373 authors with at least 20 papers. Another set of data that we analyzed in the Supplementary Materials is the computer science data obtained by extracting scientists’ profiles from online Web databases42. The data contain 1,712,433 authors and 2,092,356 papers, ranging from year 1948 to year 2014. The author names in this data are already disambiguated. We found and analyzed 9818 authors in this data with at least 50 papers.

### Community detection

The co-citing network of a scientist is constructed by linking two papers if they share at least one reference. For simplicity, we do not weight the links and only consider the topology of the network. The community structure of the network is detected with the fast unfolding algorithm31, which is a heuristic method based on modularity optimization. The modularity function considered in this paper is defined as

$$Q = \frac{1}{{2m}}\mathop {\sum}\limits_{i,j} {\left[ {A_{ij} - \gamma \frac{{k_ik_j}}{{2m}}} \right]} \,\delta (c_i,c_j),$$
(1)

where Aij is an element of the adjacency matrix of the co-citing network, ki is the degree of node i, m is the total number of links in the network, ci is the community to which node i is assigned, the δ function δ(ci, cj) is 1 if ci = cj, and 0 otherwise. The communities are obtained when the function Q is maximized. Note that γ is a resolution parameter in Q43,44, with γ = 1 in the standard modularity function45. A larger γ results in detecting small but more communities, while a smaller γ yields larger but fewer communities. The results with γ ≠ 1 are presented in the Supplementary Materials. Although the distribution of the number of communities is influenced by the parameter γ (see Supplementary Fig. 19), the dynamics properties are shown to be almost independent of the resolution of communities (see Supplementary Fig. 20). For this reason, we consider the standard modularity function, i.e., γ = 1, in this paper.

### Estimation of p and q from real data

We can estimate the probability p and q in the EMM for each scientist based on the real data. We denote the number of papers published by a scientist i as ni. In the sequence of i’s papers, if a paper shares no reference with any of i’s papers published before it, it is considered as an exploration. We denote ui as the total number of such papers of i. Then qi can be easily estimated as qi = ui/ni. In the sequence of i’s papers, if a paper shares at least one reference with the paper right before it, it is considered as a non-exploitation. We denote vi as the total number of such papers of i. In this way, we can estimate pi as pi = (ni − ui − vi)/(ni − ui).

### Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

## Code availability

The code for community detection is available at https://www.mathworks.com/matlabcentral/fileexchange/45867-community-detection-toolbox. All other codes used in this study are available from the corresponding author upon reasonable request.

## References

1. 1.

Zeng, A. et al. The science of science: from the perspective of complex systems. Phys. Rep. 714–715, 1–73 (2017).

2. 2.

Qi, M., Zeng, A., Li, M., Fan, Y. & Di, Z. Standing on the shoulders of giants: the effect of outstanding scientists on young collaborators careers. Scientometrics 111, 1839–1850 (2017).

3. 3.

Amjad, T. et al. Standing on the shoulders of giants. J. Informetr. 11, 307–323 (2017).

4. 4.

Rzhetsky, A., Foster, J. G., Foster, I. T. & Evans, J. A. Choosing experiments to accelerate collective discovery. Proc. Natl Acad. Sci. USA 112, 14569–14574 (2015).

5. 5.

Domenico, M. D., Omodei, E. & Arenas, A. Quantifying the diaspora of knowledge in the last century. Appl. Netw. Sci. 1, 15 (2016).

6. 6.

Clauset, A., Larremore, D. B. & Sinatra, R. Data-driven predictions in the science of science. Science 355, 477–480 (2017).

7. 7.

Fortunato, S. et al. Science of science. Science 359, eaao0185 (2018).

8. 8.

Kuhn, T., Perc, M. & Helbing, D. Inheritance patterns in citation networks reveal scientific memes. Phys. Rev. X 4, 041036 (2014).

9. 9.

Price, D. J. Networks of scientific papers. Science 149, 510–515 (1965).

10. 10.

Hirsch, J. E. An index to quantify an individual’s scientific research output. Proc. Natl Acad. Sci. USA 102, 16569–16572 (2005).

11. 11.

Waltman, L. A review of the literature on citation impact indicators. J. Informetr. 10, 365–391 (2016).

12. 12.

Petersen, A. M., Riccaboni, M., Stanley, H. E. & Pammolli, F. Persistence and uncertainty in the academic career. Proc. Natl Acad. Sci. USA 109, 5213–5218 (2012).

13. 13.

Sinatra, R., Wang, D., Deville, P., Song, C. & Barabasi, A.-L. Quantifying the evolution of individual scientific impact. Science 354, aaf5239 (2016).

14. 14.

Liu, L. et al. Hot streaks in artistic, cultural, and scientific careers. Nature 559, 396–399 (2018).

15. 15.

Jones, B. F. & Weinberg, B. A. Age dynamics in scientific creativity. Proc. Natl Acad. Sci. USA 108, 18910–18914 (2011).

16. 16.

Petersen, A. M. et al. Reputation and impact in academic careers. Proc. Natl Acad. Sci. USA 111, 15316–15321 (2014).

17. 17.

Petersen, A. M. Quantifying the impact of weak, strong, and super ties in scientific careers. Proc. Natl Acad. Sci. USA 112, E4671–E4680 (2015).

18. 18.

Deville, P. et al. Career on the move: geography, stratification, and scientific impact. Sci. Rep. 4, 4770 (2014).

19. 19.

Petersen, A. M. Multiscale impact of researcher mobility. J. R. Soc. Interface 15, 20180580 (2018).

20. 20.

Merton, R. K. The Matthew effect in science. Science 159, 56–63 (1968).

21. 21.

Bourdieu, P. The specificity of the scientific field and the social conditions of the progress of reasons. Soc. Sci. Inf. 14, 19–47 (1975).

22. 22.

Foster, J. G., Rzhetsky, A. & Evans, J. A. Tradition and innovation in scientists’ research strategies. Am. Sociol. Rev. 80, 875–908 (2015).

23. 23.

Rosen-Zvi, M., Griffiths, T., Steyvers, M. & Smyth, P. The author-topic model for authors and documents. In Proc 20th Conference on Uncertainty in Artificial Intelligence (Eds Meek, C., Chickering, M. & Halpern, J.) 487–494 (Association for Uncertainty in Artificial Intelligence (AUAI) Press, Arlington, Virginia, United States 2004).

24. 24.

Wang, C., Blei, D. & Heckerman, D. Continuous time dynamic topic models. In Proc. Twenty-Fourth Conference on Uncertainty in Artificial Intelligence (Eds McAllester, D. & Myllymaki, P.) 579–586 (Association for Uncertainty in Artificial Intelligence (AUAI) Press, Arlington, Virginia, United States 2008).

25. 25.

Hoonlor, A., Szymanski, B. K. & Zaki, M. J. Trends in computer science research. Commun. ACM 56, 74–83 (2013).

26. 26.

Jia, T., Wang, D. & Szymanski, B. K. Quantifying patterns of research-interest evolution. Nat. Hum. Behav. 1, 0078 (2017).

27. 27.

Kessler, M. M. Bibliographic coupling between scientific papers. Am. Doc. 14, 10–25 (1963).

28. 28.

Boyack, K. W. & Klavans, R. Co-citation analysis, bibliographic coupling, and direct citation: which citation approach represents the research front most accurately? J. Assoc. Inf. Sci. Technol. 61, 2389–2404 (2010).

29. 29.

Hidalgo, C. A., Klinger, B., Barabasi, A.-L. & Hausmann, R. The product space conditions the development of nations. Science 317, 482–487 (2007).

30. 30.

Zhou, T., Ren, J., Medo, M. & Zhang, Y.-C. Bipartite network projection and personal recommendation. Phys. Rev. E 76, 046115 (2007).

31. 31.

Blondel, V. D., Guillaume, J.-L., Lambiotte, R. & Lefebvre, E. Fast unfolding of communities in large networks, J. Stat. Mech. 2008, P10008 (2008).

32. 32.

Sinatra, R., Deville, P., Szell, M., Wang, D. & Barabasi, A.-L. A centuary of physics. Nat. Phys. 11, 791–796 (2015).

33. 33.

Trujillo, C. M. & Long, T. M. Document co-citation analysis to enhance transdisciplinary research. Sci. Adv. 4, e1701130 (2018).

34. 34.

Gini, C. Variabilitáe Mutabilitá (ed. Cuppini, C.) 158 (Bologna, Bologna, Italy 1912) (in English: Variability and Mutability).

35. 35.

Pyke, G. H., Pulliam, H. R. & Charnov, E. L. Optimal foraging: a selective review of theory and tests. Q. Rev. Biol. 52, 137–154 (1977).

36. 36.

Shen, H.-W. & Barabasi, A.-L. Collective credit allocation in science. Proc. Natl Acad. Sci. USA 111, 12325–12330 (2014).

37. 37.

Rosvall, M. & Bergstrom, C. T. Maps of random walks on complex networks reveal community structure. Proc. Natl Acad. Sci. USA 105, 1118–1123 (2008).

38. 38.

Kawamoto, T. & Rosvall, M. Estimating the resolution limit of the map equation in community detection. Phys. Rev. E 91, 012809 (2015).

39. 39.

Iacopini, I., Milojevic, S. & Latora, V. Network dynamics of innovation processes. Phys. Rev. Lett. 120, 048301 (2018).

40. 40.

March, J. G. Exploration and exploitation in organizational learning. Organ. Sci. 2, 71–87 (1991).

41. 41.

MacDonall, J. S. The stay/switch model of concurrent choice. J. Exp. Anal. Behav. 91, 21–39 (2009).

42. 42.

Tang, J. et al. ArnetMiner: extraction and mining of academic social networks. In Proc. Fourteenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (SIGKDD’2008) (Eds Li, Y., Liu, B. & Sarawagi, S.) 990–998 (Association for Computing Machinery (ACM), New York, NY, USA 2008).

43. 43.

Reichardt, J. & Bornholdt, S. Statistical mechanics of community detection. Phys. Rev. E 74, 016110 (2006).

44. 44.

Kumpula, J. M., Saramaki, J., Kaski, K. & Kertesz, J. Limited resolution in complex network community detection with Potts model approach. Eur. Phys. J. B 56, 41–45 (2007).

45. 45.

Newman, M. E. J. Fast algorithm for detecting community structure in networks. Phys. Rev. E 69, 066133 (2004).

## Acknowledgements

We thank Junming Huang and and Louis Shekhtman for useful discussions. This work is supported by the National Natural Science Foundation of China (Grant nos. 61603046, 61773069, 71731002, and 61573065) and the Natural Science Foundation of Beijing (Grant no. L160008). Z.S. is supported by China Postdoctoral Science Foundation under Grant 2017 M620944. H.E.S. acknowledges the support from NSF Grants PHY-1505000, CMMI-1125290, and CHE-1213217, and DTRA Grant HDTRA1-14-1-0017. S.H. acknowledges the Israel–Italian collaborative project NECST, the Israel Science Foundation, U.S. Army Research Office contract number W911NF1810396, ONR, the Israeli Most and Japan Science Foundation, BSF-NSF, and DTRA (Grant No. HDTRA-1-10-1-0014) for financial support.

## Author information

Authors

### Contributions

A.Z., Y.W., H.E.S., and S.H. designed the research, A.Z., Z.S., and J.Z. performed the experiments, Y.F. and Z.D. contributed analytic tools, A.Z., Y.W., and S.H. analyzed the data, all authors wrote the paper.

### Corresponding authors

Correspondence to Yougui Wang or H. Eugene Stanley or Shlomo Havlin.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Peer review information: Nature Communications thanks Dashun Wang and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Zeng, A., Shen, Z., Zhou, J. et al. Increasing trend of scientists to switch between topics. Nat Commun 10, 3439 (2019). https://doi.org/10.1038/s41467-019-11401-8

• Accepted:

• Published:

• ### Scientific elite revisited: patterns of productivity, collaboration, authorship and impact

• Jichao Li
• , Yian Yin
• , Santo Fortunato
•  & Dashun Wang

Journal of The Royal Society Interface (2020)

• ### Application of machine learning techniques to assess the trends and alignment of the funded research output

• , Stéphane Tremblay
• , Cyril Goutte
•  & Andrea Schiffauerova

Journal of Informetrics (2020)

• ### Identifying prize-winning scientists by a competition-aware ranking

• Yuhao Zhou
• , Ruijie Wang
• , An Zeng
•  & Yi-Cheng Zhang

Journal of Informetrics (2020)

• ### Measuring similarity in co-occurrence data using ego-networks

• Xiaomeng Wang
• , Yijun Ran
•  & Tao Jia

Chaos: An Interdisciplinary Journal of Nonlinear Science (2020)

• ### Impact of individual actions on the collective response of social systems

• Samuel Martin-Gutierrez