  A common issue when analyzing real-world complex systems is that the
interactions between the elements often change over time: this makes it
difficult to find optimal models that describe this evolution and that can be
estimated from data, particularly when the driving mechanisms are not known.
Here we offer a new perspective on the development of models for time-varying
interactions introducing a generalization of the well-known Kinetic Ising Model
(KIM), a minimalistic pairwise constant interactions model which has found
applications in multiple scientific disciplines. Keeping arbitrary choices of
dynamics to a minimum and seeking information theoretical optimality, the
Score-Driven methodology lets us significantly increase the knowledge that can
be extracted from data using the simple KIM. In particular, we first identify a
parameter whose value at a given time can be directly associated with the local
predictability of the dynamics. Then we introduce a method to dynamically learn
the value of such parameter from the data, without the need of specifying
parametrically its dynamics. Finally, we extend our framework to disentangle
different sources (e.g. endogenous vs exogenous) of predictability in real
time.
  We apply our methodology to several complex systems including financial
markets, temporal (social) networks, and neuronal populations. Our results show
that the Score-Driven KIM produces insightful descriptions of the systems,
allowing to predict forecasting accuracy in real time as well as to separate
different components of the dynamics. This provides a significant
methodological improvement for data analysis in a wide range of disciplines.
