Skip to content
naulon

No retraction, correction or concern found when last checked on Oct 21, 2026.

Distinguishing time-delayed causal interactions using convergent cross mapping

Hao Ye, Ethan R. Deyle, Luis J. Gilarranz and 1 more

Scientific Reports · 2015 · CC BY

doi:10.1038/srep14750

Abstract

An important problem across many scientific fields is the identification of causal effects from observational data alone. Recent methods (convergent cross mapping, CCM) have made substantial progress on this problem by applying the idea of nonlinear attractor reconstruction to time series data. Here, we expand upon the technique of CCM by explicitly considering time lags. Applying this extended method to representative examples (model simulations, a laboratory predator-prey experiment, temperature and greenhouse gas reconstructions from the Vostok ice core and long-term ecological time series collected in the Southern California Bight), we demonstrate the ability to identify different time-delayed interactions, distinguish between synchrony induced by strong unidirectional-forcing and true bidirectional causality and resolve transitive causal chains.

Full text

From PubMed Central, U.S. National Library of Medicine, as current on Oct 21, 2026. Paragraph numbers are ours, so an answer can point at one.

A fundamental question in science is identifying the causal relationships between variables. The conventional approach to this problem is to observe the outcomes of controlled experiments; however, this is not always possible due to moral, legal, or feasibility reasons. Consequently, the ability to infer causality using only observational data is a highly valuable tool with applications in many fields of study [e.g., financial systems, ecosystems, neuroscience].

Early on, Bishop Berkeley warned that the co-occurrence of events did not necessarily mean that they are causally related (i.e., correlation does not imply causation). Even so, the use of correlation to suggest causality (or more frequently, the lack of correlation suggesting no causality) has remained a common, heuristic notion, and is still commonly applied today. In 1969, however, Granger suggested an alternative framework for detecting causality based on the idea of using prediction as a criterion. In the Granger causality framework, a variable x is said to “cause” variable y if x has unique information (i.e., not found in other variables) that can improve the prediction of y. Thus, causality could be inferred if the optimal model for y improves when x is included. However, Granger noted that this approach might not apply in dynamic systems, and indeed, Sugihara et al. showed that it does not: in dynamic systems with behaviors that are at least somewhat deterministic, information about past states is carried forward through time (i.e., the system is not completely stochastic). Thus, Takens’ Theorem applies, and so if x is indeed causal to y, then information about x must be recorded in y. Consequently, causal variables (i.e., x) cannot contain unique information (it will also be recorded in the affected variables), and so Granger’s test is invalid (except in certain cases; see Discussion).

As an alternative test for causality, Sugihara et al. suggested a new method, convergent cross mapping (CCM). It follows from Takens’ Theorem that if x does influence y, then the historical values of x can be recovered from variable y alone. In practical terms, this is accomplished using the technique of “cross mapping”: a time delay embedding is constructed from the time series of y, and the ability to estimate the values of x from this embedding quantifies how much information about x has been encoded into y. Thus, the causal effect of x on y is determined by how well y cross maps x. This approach is described in further detail in the materials and methods, but also summarized in this short instructional animation: https://www.youtube.com/playlist?list=PL-SSmlAMhY3bnogGTe2tf7hpWpl508pZZ.

Although CCM can be successfully applied to systems with weak to moderate coupling strengths, Sugihara et al. observed that exceptionally strong unidirectional forcing can lead to the phenomenon of “generalized synchrony”. In these situations, the dynamics of a response variable, y, become dominated by those of the driving variable, x, such that the full system (consisting of both the response variable and driving variable) collapses to just that of the driving variable. Although there is no causal effect of y on x, the states of the driving variable x can uniquely determine the response variable y, and so CCM is observed in both directions (i.e., x cross maps y and y cross maps x). Thus, CCM appears to be limited by the fact that it may not be able to distinguish between bidirectional causality and strong unidirectional causality that leads to synchrony.

Here, we propose an extension to CCM that can resolve this problem: by explicitly considering different lags for cross mapping, it is possible to determine whether a driving variable acts with some time delay on a response variable. In the case of synchrony caused by strong unidirectional forcing, this approach should detect a negative lag for cross mapping in the true causal direction (the response variable is better at predicting the past values of the driving variable rather than future values) and a positive lag in the other direction (the driving variable best predicts the future response). Thus, this “asynchrony” reflecting the time lag in the response can be used to distinguish between bidirectional causality and generalized synchrony when there is a detectable lag in the response time between causes and effects.

This extension of CCM has several additional applications: the identification of time delays in causation can be informative, for instance in understanding delays in interventions or manipulations. It can also be used to identify the causal effects of stochastic drivers that have no dynamics (for which general cross mapping may not succeed), and can even correctly determine the order of variables in a transitive causal chain.

Model Simulations

Figure 1 shows the results of extended CCM applied to the two-species coupled logistic map (equation (1)). As shown in the first panel (Fig. 1A), where causation occurs with an effective delay of 1 time step (y(t) affects x(t + 1) and vice-versa), the optimal cross mapping in both directions occurs at a lag of −1. Moreover, as expected, a time delay in the effect of x on y (Fig. 1B,C), produces optimal cross mapping (from y to x) with a lag corresponding to the degree of time delay. Extending this analysis to systems with random coefficients (see Supplementary Information), the result is robust, with only a few outliers that exhibit optimal cross mapping at different lags (Figure S1). This validates a basic rule of thumb for bidirectional causality: we may reasonably expect optimal cross mapping lags to be negative, and with the magnitude of the lag roughly equal to the time delay of causality.

For systems where strong unidirectional causality leads to generalized synchrony (equation (2)), a time delay in the response can be detected using extended convergent cross mapping. Although the response variable “synchronizes” to the causal variable, if causality is not instantaneous, the synchronization occurs with some lag that can then be identified using extended convergent cross mapping. In Fig. 2, we find that the optimal cross map lag from y to x is negative, as expected; x causes y, and so cross map skill is better when estimating the historical influence of x from the response variable y. Conversely, the optimal cross map lag from x to y is positive, because even with synchrony, there is no flow of causal information from y to x, and so changes in x are not reflected in y until sometime in the future. Thus, the positive lag from x cross mapping y informs us that there is unidirectional causality, even when the interaction is strong enough to result in synchrony. Again, extending this analysis to similar systems with random coefficients (see Supplementary Information), we find that optimal cross map lags can reliably distinguish between generalized synchrony and bidirectional causality (Figure S2).

As discussed by Sugihara et al., CCM can detect indirect causality that occurs through a transitive causal chain. For example, in the system depicted in Fig. 3A, y1 causes y2 causes y3 causes y4 (equation (3)). With CCM, we can detect these direct causal connections (e.g., using the cross map from yj to yi to infer the effect of yi on yj). However, there are also indirect effects from y1 to y3, y2 to y4, and y1 to y4. These indirect effects may also appear significant in CCM if coupling is strong enough. To unravel the direct from indirect effects in this system, we can apply extended CCM to identify the optimal cross map lags and optimal cross map skill (Fig. 3B). For the direct links (top row of Fig. 3B), optimal cross mapping occurs with high skill and a small negative lag (l ~ −2); for indirect links separated by a single node (middle row of Fig. 3B), optimal cross mapping occurs with moderate skill and a moderate negative lag (l ~ −4); and for the indirect link from y1 to y4 (separated by both y2 and y3), optimal cross mapping is weak, and at a large negative lag (l ~ −6). When this analysis was repeated for model systems with random coefficients (see Supplementary Information), the differences in optimal cross map lag were relatively robust (Figure S3). However, cross map skill showed more variance, suggesting that it is a less reliable indicator of direct vs. indirect causation. The outliers are likely a result of stable dynamics (with cross map skill, ρ that reaches 1), since this is a simple model simulated without process error.

Veilleux’s Paramecium-Didinium Experiment

Applying extended CCM to the time series of Paramecium and Didinium from Veilleux’s lab experiments, we confirm the results of Sugihara et al. showing bidirectional causality. However, whereas Sugihara et al. suggested that the difference in cross mapping predictability (with a lag of 0) was indicative of stronger top-down forcing, our analysis here reveals another layer to the story: considering different lags, we find that cross mapping predictability is roughly equal at optimal lag values (Fig. 4A), suggesting that top-down and bottom-up effects are equally important. We do note that the optimal cross mapping lag does depend on the interaction: an optimal lag of −1 for the Paramecium cross mapping Didinium direction suggests that Paramecium respond quickly to changes in Didinium abundance. However, an optimal lag of −4 for the Didinium cross mapping Paramecium direction suggests that Didinium respond more slowly to changes in Paramecium abundance. These results are consistent with the ecological context of this system: the prey (Paramecium) respond quickly to predators (Didinium) because predator-induced mortality has an immediate (negative) effect on the abundance of prey, whereas the abundance of predators (Didinium) responds more slowly to prey (Paramecium), because of the time delay in converting food into new individuals.

Vostok Ice Core

Figure 4B shows the application of extended convergent cross mapping to time series of CO2 and temperature reconstructed from the Vostok ice core. Here, we detect bidirectional causality (the optimal cross mapping lag is negative in both directions), suggesting that there is a positive feedback in the Earth’s climate system between temperature and greenhouse gases. Notably, the optimal lag in the temperature to CO2 direction matches current scientific knowledge that greenhouse gases have a rapid effect on temperature (faster than the 1000-year timescale of the data), while the influence of global temperature on greenhouse gases likely occurs through slower mechanisms (e.g., increased plant respiration at higher temperatures, release of greenhouse gases from terrestrial or marine ecosystems). A detailed analysis of this system appears in van Nes et al..

Southern California Bight

In Figure 4C, we show the results of extended CCM applied to long-term time series of chlorophyll-a and sea surface temperature measured at the Scripps Institution of Oceanography pier. As expected, there is no effect of chlorophyll-a on SST (red line). However, we do identify a causal influence of SST on chlorophyll-a, suggesting that the physical environment plays a role in determining phytoplankton abundances (which are proxied by concentrations of chlorophyll-a). Moreover, optimal cross mapping occurs with a lag of 3 weeks, suggesting that the physical drivers of algae populations act with a lag of several weeks. Ideally, if other causal drivers show similar time delays in their effects, then it may be possible to produce models that can forecast events such as algal blooms several weeks in advance!

Stochastic Drivers

We note that in certain systems, especially those with stochastic drivers that contain unique information, Granger causality may correctly identify causal interactions. Indeed, Granger causality has been successful when applied to system consisting solely of stochastic components. However, in situations where both cause and effect have deterministic dynamics, causal information cannot be isolated from amongst the affected variables, and alternative methods, such as CCM must therefore be used.

Final Remarks

Here, we have shown that explicitly considering time lags when applying convergent cross mapping can be a valuable tool beyond the simple test of whether two variables are causally related. Although this general approach has been explored elsewhere, here we show how the CCM framework can be directly extended to account for temporal delays. As demonstrated in our model simulations, CCM can now distinguish synchrony induced by strong unidirectional forcing from true bidirectional causation (Fig. 2), as well as order nodes in transitive causal chains that produce direct and indirect causal links (Fig. 3).

In addition, we show how identification of time delays can clarify our understanding of the causal effects, which can be valuable in producing a more detailed and mechanistic description of causal dynamics in real systems. For example, knowing the approximate time delay of causal interactions can be important when forecasting future events – although in general, a single time series contains all necessary dynamic information, this will not be the case when stochastic drivers are influencing the dynamics. Since the stochastic driver has unique information, it must be explicitly included at the appropriate lag for optimal predictability (see ref., for examples). Moreover, understanding the delayed effect of external drivers will be important in management scenarios, as knowing when to expect the system to respond to interventions or manipulations will guide future management actions.

Convergent Cross Mapping

The basic principle of cross mapping involves reconstructing system states from two time series variables and then quantifying the correspondence between them using nearest neighbor forecasting. Reconstruction is done using the method of time delay embedding: with the system state represented using successive lags of a single time series. For example, given a time series {y(t)}, an E-dimensional reconstruction uses E successive lags of y, each separated by a time step τ: < y(t), y(t - τ), … y(t - (E-1)τ) >.

We note that the optimal value of the embedding dimension E depends on several factors, including system complexity, time series length, and noise. In the case of model systems, the number of interacting variables is known exactly and was used to select E. In the remaining cases, the value of E was determined empirically by applying simplex projection to the individual time series and choosing the optimal E. Since most time series were not overly sampled in time, we fixed τ = 1 for all systems.

In the case of a system where x causes y, Takens’ Theorem implies that there should be a correspondence between the state y(t) and the contemporaneous state x(t). Convergent cross mapping (CCM) quantifies this relationship using simplex projection (a nearest-neighbor forecasting method, see ref. for details) to estimate the scalar value x(t) from the reconstructed vector y(t) (see Movie S3 of ref. for details). Although different performance metrics are possible, here we use Pearson’s correlation coefficient between the estimated and observed values of x(t) as an indicator of “cross map skill”.

We note that, in general, one may compute a function that maps from y(s) to the entire vector as opposed to just the scalar value x(s). However, doing so can decrease the sensitivity of the cross mapping idea, because the errors are no longer scalar values, but E-dimensional vectors, for which common distance metrics can become meaningless. Moreover, by estimating entire vectors, we limit the capability to use cross mapping to analyze time delays in the effect of x on y, which we show here can be informative in an extended version of CCM (see below).

Extended Convergent Cross Mapping

Standard cross mapping when x causes y (Fig. 5A) computes the predictability of x(t) from the E-dimensional reconstruction (Fig. 5B.i). However, the general theory of CCM, based on generalizations of Takens’ Theorem, suggests that we should also be able to cross map from y(t) to x(t + l), for any reasonable lag value of l, since the variable x(t + l) is simply another observation function of the system. In fact, if x acts on y with some time delay (Fig. 5A.ii), then the current state of the system, y(t), will better predict the past values of x (Fig. 5B.ii).

In general, we note that optimal predictability may be expected to occur for some l < 0, even if y responds instantaneously to x. In other words, the state of the system at a time t is often best estimated from a reconstruction that includes both past and future values. This phenomenon occurs because information in a dynamic system can be thought of as propagating both forwards and backwards through time. In other words, knowing the exact value of variable x at time t restricts the likely set of possible futures (the value at time t + 1) as well as the likely set of possible pasts (the state at time t − 1). Furthermore, the exact amount of information contained in past (and future) values of x is determined by the rate at which predictability decreases when we forecast further into the future (or past). Consequently, this means the most information about the current system state occurs with a combination of forward and backward lags: a time-centered embedding that balances positive and negative lags: <y(t), y(t − τ), y(t + τ), … y(t − (E − 1)τ/2), y(t + (E − 1)τ/2)>. In the context of extended CCM, this then suggests that the optimal lag will occur in the middle of the prediction vector: l = (E − 1) τ/2. In reality, however, the optimal lag will vary from system to system; so while the “middle of the vector” is a useful heuristic, optimal cross mapping at any lag that lies within the embedding vector, −(E − 1) τ ≤ l ≤ 0, is consistent with an influence of x on y with no time delay.

Two-Species Model System with Bidirectional Causality

We first consider a simple model system consisting of 2 coupled logistic difference equations:

where τd is the time delay for the effect of x on y. The system is initialized as x(1) = 0.2 and y(1) = 0.4, and run for 3000 time steps, with different values for the time delay: τd = 0, τd = 2, and τd = 4. Using extended CCM, we analyze this system using E = 2, τ = 1, selecting 100 random libraries of 200 vectors over time points 101–2000, and computing cross map skill for time points 2001–3000.

Two-Species Model System with Synchrony

We also examine a modified form of the above system with causality from x to y only:

As above, the system is initialized as x(1) = 0.2 and y(1) = 0.4, and run for 1000 time steps. Because of the strong forcing of x on y, the dynamics of y are entrained to those of x [i.e., “generalized synchrony”]. Thus, we apply extended CCM to identify the optimal cross map lag and distinguish this case from the case of bidirectional causality. In this system, we also use E = 2, τ = 1, selecting random libraries of 200 vectors over time points 101–2000, and computing cross map skill for time points 2001–3000.

Four-Species Model System

To demonstrate extended CCM in systems with indirect causality (as a result of a transitive causal chain), we consider a 4-species model system. The system is initialized as y1(1) = y2(1) = y3(1) = y4(1) = 0.4, and evolves according to:

Although the only direct causal links are from y1 to y2, from y2 to y3, and from y3 to y4, this creates a transitive chain of causality, such that there is an indirect influence of y1 on y3, from y2 to y4, and from y1 to y4 (Fig. 3a). Thus, we apply extended CCM with E = 4 and τ = 1 to distinguish between direct and indirect causation. For each pair, we sample 100 random libraries of size 200 from time points 101–1000 and compute the cross map skill for time points 2001–3000.

Paramecium-Didinium Predator-Prey System

We examine causality in a classical predator-prey system, the Paramecium-Didinium protozoan system using experimental time series from Veilleux, who refined earlier work from Gause and Luckinbill to establish sustained oscillations. The data we used came from dataset 11a, and can be found at: http://robjhyndman.com/tsdldata/data/veilleux.dat. CCM analysis was done using E = 3, and τ = 1. Libraries were bootstrap samples over all 71 points of data, and cross map skill was computed using leave-one-out cross-validation over the same.

Vostok Ice Core

Time series for historical Earth temperature and atmospheric CO2 concentration were based on reconstructions from the Vostok ice core and span ~410,000 years. To produce time series with regular intervals, we linearly interpolated the raw reconstructions to obtain estimates of temperature and CO2 spaced every 1000 years. CCM analysis was done by sampling 100 random libraries of size 100 and predicting over all 412 points of data, using leave-one-out cross-validation, E = 4, and τ = 1.

Scripps Pier Time Series

Chlorophyll-a data came from measurements collected twice weekly at the end of the Scripps Institution of Oceanography’s pier (SIO Pier) as part of the Southern California Coastal Ocean Observing System, Harmful Algal Bloom Monitoring Program. Sea Surface Temperature (SST) was sampled daily as part of the Shore Stations Program, also at SIO Pier. Because of irregular sampling, we processed the data to construct weekly time series for the period June 30, 2008 to May 26, 2014. Extended CCM was then applied to investigate the relationship between SST and chlorophyll-a using E = 4 and τ = 1 (corresponding to 1 week) and sampling 100 random libraries of size 100 and predicting over all 306 points of data.

Additional Information

How to cite this article: Ye, H. et al. Distinguishing time-delayed causal interactions using convergent cross mapping. Sci. Rep. 5, 14750; doi: 10.1038/srep14750 (2015).

References 27

  1. 1.

    Granger C. Investigating causal relations by econometric models and cross-spectral methods. Econometrica 37, 424–438 (1969 ).

    Not in our library

  2. 2.

    Hiemstra C. & Jones J. Testing for linear and nonlinear Granger causality in the stock price-volume relation. J Financ 49, 1639–1664 (1994 ).

    Not in our library

  3. 3.

    Chen Y., Bressler S. L. & Ding M. Frequency decomposition of conditional granger causality and application to multivariate neural field potential data. J Neurosci Meth 150, 228–237 (2006 ).

    Not in our library10.1016/j.jneumeth.2005.06.011

  4. 4.

    Sugihara G. et al. Detecting causality in complex ecosystems. Science 338, 496–500 (2012 ).

    Not in our library10.1126/science.1227079

  5. 5.

    Berkeley G. A Treatise Concerning the Principles of Human Knowledge (1710 ).

    Not in our library

  6. 6.

    Takens F. Detecting strange attractors in turbulence. Dynamical Systems and Turbulence, Lecture Notes in Mathematics 898, 366–381 (Springer Berlin Heidelberg, 1981 ).

    Not in our library

  7. 7.

    Rulkov N. F., Sushchik M. M., Tsimring L. S. & Abarbanel H. D. I. Generalized synchronization of chaos in directionally coupled chaotic systems. Phys Rev E 51, 980–994 (1995 ).

    Not in our library10.1103/physreve.51.980

  8. 8.

    Veilleux B. G. The Analysis of a Predatory Interaction Between Didinium and Paramecium. Master’s thesis, University of Alberta (1976 ).

    Not in our library

  9. 9.

    Li J., Fenton A., Kettley L., Roberts P. & Montagnes D. J. S. Reconsidering the importance of the past in predator-prey models: both numerical and functional responses depend on delayed prey densities. P Roy Soc B-Biol Sci 280, 9 (2013 ).

    Not in our library10.1098/rspb.2013.1389

  10. 10.

    Petit J. R. et al. Climate and atmospheric history of the past 420,000 years from the Vostok ice core, Antarctica. Nature 399, 429–436 (1999 ).

    Not in our library

  11. 11.

    Cramer W. et al. Global response of terrestrial ecosystem structure and function to CO2 and climate change: results from six dynamic global vegetation models. Global Change Biol 7, 357–373 (2001 ).

    Not in our library

  12. 12.

    Schuur E. A. G. et al. The effect of permafrost thaw on old carbon release and net carbon exchange from tundra. Nature 459, 556–559 (2009 ).

    Not in our library10.1038/nature08031

  13. 13.

    Archer D. et al. Atmospheric lifetime of fossil fuel carbon dioxide. Annu Rev Earth Pl Sci 37, 117–134 (2009 ).

    Not in our library

  14. 14.

    Nes E. H. V. et al. Causal feedbacks in climate change. Nature Clim Change 5, 445–448 (2015 ).

    Not in our library

  15. 15.

    Schumacher J. et al. A statistical framework to infer delay and direction of information flow from measurements of complex systems. Neural Comput (2015 ), in press.

    Not in our library10.1162/neco_a_00756

  16. 16.

    Deyle E. R. et al. Predicting climate effects on Pacific sardine. P Natl Acad Sci USA 110, 6430–6435 (2013 ).

    Not in our library10.1073/pnas.1215506110

  17. 17.

    Ye H. et al. Equation-free mechanistic ecosystem forecasting using empirical dynamic modeling. P Natl Acad Sci USA 112, E1569–1576 (2015 ).

    Not in our library10.1073/pnas.1417063112

  18. 18.

    Sugihara G. & May R. M. Nonlinear forecasting as a way of distinguishing chaos from measurement error in time series. Nature 344, 734–741 (1990 ).

    Not in our library10.1038/344734a0

  19. 19.

    Packard N. H., Crutchfield J. P., Farmer J. D. & Shaw R. S. Geometry from a time series. Phys Rev Lett 45, 712–716 (1980 ).

    Not in our library

  20. 20.

    Schiff S. J., So P., Chang T., Burke R. E. & Sauer T. Detecting dynamical interdependence and generalized synchrony through mutual prediction in a neural ensemble. Phys Rev E 54, 6708–6724 (1996 ).

    Not in our library10.1103/physreve.54.6708

  21. 21.

    Ma H., Zhou T., Aihara K. & Chen L. Predicting time series from short-term high-dimensional data. Int J Bifurcat Chaos 24, 1430033 (2014 ).

    Not in our library

  22. 22.

    Aggarwal C. C., Hinneburg A. & Keim D. A. On the surprising behavior of distance metrics in high dimensional space. In Den Bussche J. V. & Vianu V. (eds.) Database Theory — ICDT 2001, 1973, 420–434 (Springer Berlin Heidelberg, 2001 ).

    Not in our library

  23. 23.

    Sauer T., Yorke J. A. & Casdagli M. Embedology. J Stat Phys 65, 579–616 (1991 ).

    Not in our library

  24. 24.
  25. 25.

    Casdagli M., Eubank S., Farmer J. & Gibson J. State space reconstruction in the presence of noise. Physica D 51, 52–98 (1991 ).

    Not in our library

  26. 26.

    Gause G. F. Experimental demonstration of Volterra’s periodic oscillations in the numbers of animals. J Exp Bio 12, 44–48 (1935 ).

    Not in our library

  27. 27.

    Luckinbill L. S. Coexistence in laboratory populations of Paramecium aurelia and its predator Didinium nasutum. Ecology 54, 1320–1327 (1973 ).

    Not in our library

Cited by papers we hold 6

Reads

Read by people on this page

None yet.

Checked or read by AI through naulon

None yet.

A person counts once a day per paper. We keep no cookie and no address: a reader is a hash that changes every day. Any month under five reads shows no number.

Are you an author?

Is this your paper?

Claim it to add your note and be paid when agents cite it. Free.