In the context of agent based modeling and network theory, we focus on the problem of recovering behavior-related choice information from origin-destination type data, a topic also known under the name of network tomography. As a basis for predicting agents' choices we emphasize the connection between adaptive intelligent behavior, causal entropy maximization, and self-organized behavior in an open dynamic system. We cast this problem in the form of binary and weighted networks and suggest information theoretic entropy-driven methods to recover estimates of the unknown behavioral flow parameters. Our objective is to recover the unknown behavioral values across the ensemble analytically, without explicitly sampling the configuration space. In order to do so, we consider the Cressie-Read family of entropic functionals, enlarging the set of estimators commonly employed to make optimal use of the available information. More specifically, we explicitly work out two cases of particular interest: Shannon functional and the likelihood functional. We then employ them for the analysis of both univariate and bivariate data sets, comparing their accuracy in reproducing the observed trends.
Citation: Squartini T, Ser-Giacomi E, Garlaschelli D, Judge G (2015) Information Recovery in Behavioral Networks. PLoS ONE 10(5): e0125077. https://doi.org/10.1371/journal.pone.0125077
Academic Editor: Dante R. Chialvo, National Scientific and Technical Research Council (CONICET)., ARGENTINA
Received: February 20, 2015; Accepted: March 22, 2015; Published: May 6, 2015
Copyright: © 2015 Squartini et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited
Data Availability: Data used to produce Figs 3 and 4 in the Main Text and figure B in S1 Information are available here: https://github.com/awblocker/networkTomography/tree/master/data. All other data are within the paper and its Supporting Information files.
Funding: TS acknowledges support from the Italian PNR project CRISIS-Lab. ESG acknowledges support from the European Commission Marie-Curie ITN program (FP7-320 PEOPLE-2011-ITN) through the LINC project (no. 289447). DG acknowledges support from the Dutch Econophysics Foundation (Stichting Econophysics, Leiden, the Netherlands). This work was also supported by the project MULTIPLEX (contract 317532) and the Netherlands Organization for Scientific Research (NWO/OCW). The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Competing interests: The authors have declared that no competing interests exist.
In this paper we focus on the problem of recovering behavior-related micro choice information from aggregate data. In particular, we consider origin-destination data, casting this problem as an inference problem concerning the prediction of flows on networks [1–4]. We recognize that this type of data comes from dynamic, adaptive behavior systems involving interdependent micro components which give rise to an instantaneous, feedback-adaptive, world: as a result, such systems are non-deterministic in nature, involve information and uncertainty and are driven toward a certain, optimal, stationary state (see, for example, [5, 6]). As a basis for predicting agents’ choices, we cast this as a self-organized, equilibrium seeking system in the form of weighted and binary networks; we make use of information theoretic entropy-based methods to solve the ill-posed stochastic inverse problem and recover estimates of the unknown binary parameters.
1.1 Binary Network Problem
To go beyond traditional reductionist modeling and mathematical anomalies, we use a new paradigm that is developing under the name of Network Science (see, for example, [7, 8] and the references contained therein). There are several things that make this approach attractive for information recovery in economics and in other social sciences: for example, in the economic-behavioral sciences everything seems to depend on everything else and this fits right into the interconnectedness simultaneity of the nonlinear (and dynamic) network paradigm. Another example is provided by microeconomic theory, where the network representation of markets arises quite naturally (in fact, in many ways markets and binary networks are equivalent—see ). Finally, in terms of a methodology, network problems are consistent with the information theoretic approach to information recovery (see [10, 11]).
We seek an expression for the probabilities that the origin and the destination nodes are connected along a specific pathway in the statistical ensemble of possible pathways, without explicitly sampling the configuration space. Given information about the origin-destination network structure in the form of a matrix A, the unknown pathway probabilities pij must be estimated from aggregate flow data that may be noisy in nature. The number of unknown pathway parameters of the protocol matrix A is much larger than the number of measured aggregate origin-destination data points and, moreover, the components of the matrix A cannot be observed directly. This means that although the observed data are considered to be directly influenced by the values of model components, the observations only indirectly reflect the influence of the latter: as a result, the analyst must use indirect noisy observations to recover information on the unobserved vector of parameters. As a consequence, the relationship characterizing the effect of unobservable components on the observed data must be somehow inverted. This type of ill posed pure or stochastic inverse regularization problem cannot be solved by traditional econometric information recovery methods.
1.2 Status Measure
As we seek new ways to think about the causal adaptive behavior of complex and dynamic micro systems, we note that problems of this type may be re-formulated as problems of constrained entropy-maximization over the pathways. In other words, causal entropy maximization can be adopted as the systems status-measure and optimization criterion (following ). The result provides an exact expression for the occurrence of the unknown probabilities over the ensemble of pathways and yields the preferred probability distribution (see ).
This permits us to recast a behavioral system in terms of path microstates where entropy reflects the number of ways a macrostate can evolve along a path of possible microstates: the more diverse the number of path microstates, the larger the causal path entropy. The result is a causal entropic force that captures self-organized equilibrium seeking behavior (see [12, 14]). In other words, causal entropy maximization is a link that leads us to believe that a behavioral system with a large number of individuals, interacting locally and in finite time, is in fact optimizing itself. We would like to stress that the optimization tendency characterizing behavioral systems is what qualifies entropy-based inference methods as the most correct ones to model such systems. The rationale beyond this lies in the nature of their adaptive behavior: agents tend to adapt behavior in line with an optimizing principle (as the maximization of the future, accessible paths diversity—also definable, more generally, as “resources” [12, 13]), whence the need for a robust estimation procedure making the best use of the available information while disergarding any other arbitrary assumption. On the contrary, most behavioral economic-econometric models rest upon ad hoc assumptions which may lead to the identification and biased estimates of the unknown parameters, the underlying inference procedure and, in turn, the conclusions about the agents’ behavior (see [15–17]).
In the sections ahead we analyse systems within this framework, that permits the interpretation of adaptive economic behavior in terms of entropic functions: as a basis for solving micro-behavioral information recovery problems, we suggest an information theoretic family of entropic functions; to demonstrate applicability, we consider binary and weighted data sets and recover the optimum corresponding unknown probabilities.
2 Information Recovery Framework
In developing a basis for the use of information theoretic (IT) methods to infer origin-destination networks flows, we focus on a stochastic ill posed inverse problem and the corresponding regularization method it implies (the pure, without-noise inverse problem is just a special case). In this context the Cressie-Read (CR) family of entropic functions [18, 19] provides a basis for linking the data and the unknown model parameters.
This permits the researcher to exploit the statistical machinery of information theory to gain insights on the underlying adaptive behavior of a dynamic process from a system that may not be in equilibrium. This approach contrasts with the traditional approach to micro information recovery that rests on reductionist economic and econometric functional analysis and observational agent behavior data: however, precisely because of the nonlinear and ordinal nature of dynamic micro systems, the traditional approach is cumbersome in terms of identifying and expressing adaptive behavior.
We start introducing the CR multi parametric convex family of entropic functional measures : (1)
In Eq 1, γ is a parameter that indexes members of the CR family, pc’s represent the subject probabilities and the qc’s are interpreted as reference (or prior) probabilities (the reason for indexing our coefficients with c will be clarified in the following section). Being probabilities, the usual properties of pc, qc ∈ [0, 1], ∀c, and ∑c pc = 1, ∑c qc = 1 are assumed to hold. As γ varies the resulting CR estimator that minimize the divergence between p and q exhibits a qualitatively different behavior that includes, as noteworthy examples, the Kullback-Leibler measure (in the limit as γ → 0 as Shannon entropy and in the limit as γ → −1 as the likelihood functional) and, in a binary context, the logistic distribution-divergence (see ).
In other words, the CR family of power divergences is a class of additive convex functions that encompasses a broad family of test statistics, in turn representing a broad family of functional relationships within a moments-based estimation context. In addition, the CR measure exhibits proper convexity in p, for all values of γ and q, and embodies characteristics such as additivity and invariance with respect to a monotonic transformation of the divergence measures. In the context of extremum metrics, the CR family represents a flexible family of pseudo-distance measures from which to derive empirical probabilities.
3 Integer Versions of the CR Family
In what follows we consider the two values γ = −1, 0, corresponding respectively to the likelihood functional and the Shannon functional. In the limit as γ → 0 (2) the Kullback-Leibler divergence between p and q is obtained. The particular case of a uniform prior, qc = 1/C, allows us to recover the usual form of (minus) the Shannon entropy of the p distribution: . In the limit as γ → −1 provides the second functional of our list (3) the Kullback-Leibler divergence between q and p. The particular case of uniform prior qc = 1/C allows us to recover the usual form of (minus) the likelihood function of the p distribution: .
We stress that while the Shannon functional has been already employed for the analysis of univariate and bivariate data sets, the likelihood functional case has not been explicitly worked out yet, thus representing the major contribution of this paper to the analysis of behavioral networks.
4 Network Behavior Recovery
To demonstrate the applicability of our approach in the binary network area, an example may be useful. Consider the problem of determining least-time, point-to-point traffic flows between sub-networks, when only aggregate origin-destinations volumes are known (see Fig 1). In many ways this is like a transportation network, with the emphasis on design and efficiency in routing the traffic flows (see  and the references therein), exactly as in an economic-behavioral network the efficiency of information flow is predicated on discovering, or designing, protocols that efficiently route information. The research question concerns the prediction of the volume of flows on the pathways, given a set of measures taken along them.
Blue dots represent the origin and the destination nodes. Connections between them represent the ensemble of pathways described by the probability distribution . The CR family allows one to determine the probability coefficients pc, ∀c by making use of the available partial information, i.e. aggregate data on traffic volumes.
If we indicate by y the R-dimensional vector of observed fluxes and by x the C-dimensional vector of intermediate measures, the “activity” of an origin-destination network can be summed up by writing (4) where A is an R × C rectangular matrix, encoding the information about connections. Thus, our problem translates into estimating x on the basis of the R, available components of y and the connection structure A. The ill-posed nature of the problem is such that the inversion of Eq 1 is not feasible: the number of unknowns is greater than the number of known data, i.e. R < C. In this case, one can resort to the information theoretic methodology for solving problems of inference on the basis of partial information (see [22–25]). In order to implement, the problem unknowns have to be interpretable as probabilities and estimated on the basis of some known distribution moments. In our case, this can be easily achieved by dividing both sides of Eq 1 by xtot ≡ ∑c xc: (5) where y and A are known, p is unknown and ∑c pc = 1. We have thus rewritten Eq 1 in terms of fractions of fluxes distributed across the C channels and interpret them as unknown probabilities. Notice that this peculiar definition of probability coefficients induces a distribution on the set of pathways, that play the role of an ensemble and allows us to restate the problem of predicting the fluxes on origin-destination networks as a (more) general problem of statistical inference. We can now may make use of the CR family of entropic divergence measures and write the problem as the following constrained optimization problem: (6)
In particular, since the functional I is a divergence, the Lagrangean function has to be minimized with respect to the vector of coefficients p. This gives us the desired coefficients as functions of the Lagrangean multipliers, . Once found, the parametric probability coefficients must be substituted back into 𝓛, in order to obtain a quantity which is a function of the unknowns solely: . The last step of our procedure prescribes the optimization of the function .
A similar problem is faced whenever a whole matrix of probability coefficients (and not a simple vector), P, is considered. Problems of this type can be formulated in much the same way, by writing the equation (7) thus mimicking Eq 1. As we will show, treating y′ and x′ as known vectors allows us to succesfully also tackle this second type of problem.
These are just the solutions to a standard problem when a function must be inferred from insufficient sample-data information. Thus network inference and monitoring problems have a strong resemblance to an inverse problem in which key aspects of a system are not directly observable (for details on the use of information theoretic entropic methods for this type of network information flow problems see also [23–26]).
To test the effectiveness of our method, in what follows we analyze two aggregate data sets (for which origin-destination traffic volumes were collected), the first one concerning traffic on a local area network and the second one concerning consumers’ choices of complementary products.
Bell Labs data. The first data set involves traffic volumes on a local area network at Bell Labs (see [23, 27]) whose routing matrix is reported in Fig 2. The network topology we consider here yields 7 observed aggregate traffic volumes and 16 origin-destination traffic volumes to be estimated. Aggregate volumes were measured every five minutes, over one day, on the Bell Labs corporate network, resulting in a set of measurements of 287 time points (see Figures A and B in S1 Information for another application of our method to univariate data sets).
The network topology we consider yields 7 observed aggregate traffic volumes and 16 origin-destination traffic volumes.
Complementary products. The second data set comes from an economic case-study and relates to consumers’ behavior in the purchase of eggs and bacon (see [23, 28]). In particular, data consist of a sample of 548 independent households and the purchased products at the market, recorded over 4 consecutive trips. For each trip, it was recorded whether or not the household purchased eggs, bacon or both: the matrix entries represent the number of times a given customer purchased bacon and eggs over the course of the 4 trips, as reported in Table 1  (see Tables A and B in S1 Information for another application of our method to bivariate data sets).
5.1 Bell Labs data
The analysis of Bell Labs data is illustrated in Figs 3 and 4. The panels report what we have called “channel plots”, showing the label of each origin-destination pattern (or channel) on the x-axis and the traffic volumes measured and estimated on it, on the y-axis. Black trends represent the observed traffic volumes and colored trends represent the expected traffic volumes, predicted via our procedure: blue trends represent the predictions obtained by using Shannon functional, red trends represent the predictions obtained with the empirical likelihood functional. Each panel corresponds to a given time point, chosen among the 287 available possibilities.
The number of the channel is reported on the x-axis. Observed and estimated x are reported on the y-axis. Colors refers to: observed data (black trend), our estimation based on Shannon functional (blue trend), our estimation based on the likelihood functional (red trend).
The number of the channel is reported on the x-axis. Observed and estimated x are reported on the y-axis. Colors refers to: observed data (black trend), our estimation based on Shannon functional (blue trend), our estimation based on the likelihood functional (red trend). Left panel: zero traffic flows are included in the data set. Right panel: zero traffic flows are excluded from the data set.
As a general comment, the predictions of both functionals reproduce the majority of the observed trends satisfactorily, with the likelihood functional performing slightly better than Shannon functional whose estimates, in some cases, show larger discrepancies. Moreover, the performance of both functionals improves when single peaks are registered on a single channel, accompanied by small traffic volumes on the others. However, at night, whenever the latter are exactly zero the agreement between our estimates and observations seems to deteriorate: as shown in the left panel of Fig 4, if zero traffic flows happen to be measured on some line, both Shannon and the likelihood functionals predict smaller peaks and larger values for the neighboring lines.
A solution to improve the predictions accuracy is to explicitly exclude zero values from our dataset. This can be achieved by considering a reduced x vector and a reduced A matrix without the 1st and the 16th columns, i.e. precisely those contributing to the values x1 = x16 = 0. The right panel of Fig 4 shows how much the accuracy of our method is improved: notice how peaks are reproduced much better now and traffic values on the neighboring lines are predicted to be much smaller than the former, as observed values confirm. The predicted trends in Fig 3 are calculated by adopting the same criterion, i.e. explicitly excluding the zero values on the extreme channels.
5.2 Complementary products
The result of the application of our information recovery method to the “eggs and bacon” data set is shown in Table 2. Since the anaysis concerns a bivariate network, the predictions of our functionals concern the matrix entries, estimated from the available rows and columns totals (see the S1 Information, “Bivariate data sets—SI” section, for the detailed calculations).
Table 2 depicts the predictions based on Shannon functional, the likelihood functional and the Euclidean functional. In order to further condense the information, we have also calculated the correlation coefficient between each observed row and the corresponding expected one, reporting the obtained values in the last entry of each row of Table 2. The correlation coefficients are high for all the three functionals, which predict close values to the observed ones.
A closer inspection of Table 2 reveals that, as for the Bell Labs data set, the rows with the zeros are still the most problematic ones. However, the likelihood functional performs better than Shannon one: the predicted entries are closer to the real ones and the correlation coefficients are higher.
6 Some summary comments
This paper represents a contribution to the study of behavioral information recovery for self-organizing systems. The approach we proposed questions the use of traditional information recovery methods (see ), stressing the connections between adaptive behavior and causal entropy maximization (see ) in self organizing systems. This intuition can be formalized by implementing the procedure we propose, resting on the optimization of a class of entropic functionals under the constraints provided by the available information. Remarkably, other studies have presented results compatible with this view, i.e. that the real word is well approximated by maximum entropy ensembles where only partial information is used to reconstruct the entire system (see [10, 11, 29]).
The class of entropic functionals employed in this work is known as Cressie-Read family, which not only constitutes the analytical basis of our analysis but also represents a solution to the issue of solving ill-posed inverse problems by formally treating them as inference problems. Our results indicate that the performance of functionals constituting the CR family may vary significantly: in some cases, the likelihood functional (to the best of our knowledge, explicitly worked out here for the first time) provides the best performance; in others, it is outperformed by the Shannon functional. This indicates these two functionals are the ones making the best possible use of the available information, predicting the closest values to the observed ones.
In order to suggest applicability of our procedure, we have considered behavioral problems within the framework of network theory. The results we obtained not only indicate the effectiveness of our algorithm (applicable to univariate as well as bivariate data sets and for both reproducing available data and predicting unavailable data), but also demonstrate that networks are a useful way to present micro behavioral systems. In this context, the perspective proposed by our study can be enlarged by considering each node as a network on its own, a possibility which would simplify the task of modelling evolving networks, such as in the case of a growing economy, where a larger number of (adapting) nodes appear.
Given the importance of recovering dynamic economic behavioral information, a natural question arises about the continued use of traditional regularization information recovery methods as a solution basis for traditional pure and stochastic inverse type problems. For this reason, the next step is to extend the concept of adaptive-optimizing behavior and apply it (within the information theoretic framework) in the context of a range of micro economic settings, thus opening the promising perspective of turning the descriptive character of behavioral disciplines into a more quantitative one.
S1 Information. We report and discuss a number of other cases of interest to which our methodology has been applied.
TS acknowledges support from the Italian PNR project CRISIS-Lab.
ESG acknowledges support from the European Commission Marie-Curie ITN program (FP7-320 PEOPLE-2011-ITN) through the LINC project (no. 289447).
DG acknowledges support from the Dutch Econophysics Foundation (Stichting Econophysics, Leiden, the Netherlands). This work was also supported by the project MULTIPLEX (contract 317532) and the Netherlands Organization for Scientific Research (NWO/OCW).
The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
Conceived and designed the experiments: GJ. Analyzed the data: TS ESG. Contributed reagents/materials/analysis tools: DG GJ. Wrote the paper: TS ESG DG GJ.
- 1. Vardi Y. 1996. Network Tomography: Estimating Source-Destination Traffic Intensities From Link to Data. Journal of the American Statistical Association 91(433):365–377.
- 2. Castro R., Coates M., Laing G., Nowak R. and Yu B. 2004. Network Tomography: Recent Developments. Statistical Science 19:499–517.
- 3. Coates M. 2000. Network loss inference using unicast end-to-end measurement. Proc. ITC Seminar on IP Traffic, Measurement, and Modeling 28.
- 4. Rubenstein D., Kurose J., Towsley D. 2002. Detecting shared congestion of flows via end-to-end measurement. IEEE/ACM Transactions on Networking 10(3):381–395.
- 5. Annila A. and Salthe S. 2009. Economies Evolve by Energy Dispersal. Entropy 11:606–633.
1971. The Entropy law and the Economic process. Harvard University Press, Harvard.
- 7. Willinger W., Alderson D. and Doyle J. 2009. Mathematics and the Internet: A Source of Enormous Confusion and Great Potential. Journal of the American Mathematical Society 56:586–599.
- 8. Barabasi A.-L. 2012. The Network Takeover. Nature Physics 8:14–16.
Bargigli, L., Lionetta S. A. and Viaggiu, S. 2013. A Statistical Representation of Markets As complex Networks, http://arxiv.org/pdf/1307.0817v1.pdf.
- 10. Mastrandrea R., Squartini T. and Garlaschelli D. 2014. Enhanced reconstruction of weighted networks from strengths and degrees. New Journal of Physics 16:043022.
Cimini, G., Squartini, T., Gabrielli A. and Garlaschelli, D. 2014. Estimating topological properties of weighted networks from limited information. http://arxiv.org/pdf/1409.6193.pdf.
- 12. Wissner-Gross A. D. and Freer C. E. 2013. Causal Entropic Forces. Physical Review Letters 110:168702. pmid:23679649
- 13. Pressé S., Ghosh K., Lee J. and Dill K. 2013. Principles of Maximum Entropy and Maximum Caliber in Statistical Physics. Reviews of Modern Physics 85:1115–1141.
- 14. Raine A., Foster J. and Potts J. 2006. The New Entropy Law and the Economic Process. Ecological complexity 3:354–360.
- 15. Bound J., Jaeger D. A., Baker R. M. 1995. Problems with instrumental variables estimation when the correlation between the instruments and the endogenous explanatory variable is weak. Journal of the American statistical association 90(430):443–450.
Angrist, J., Krueger, A. B. 2001. Instrumental variables and the search for identification: From supply and demand to natural experiments. No. w8456. National Bureau of Economic Research.
- 17. DiPrete T. A., Gangl M. 2004. Assessing bias in the estimation of causal effects: Rosenbaum bounds on matching estimators and instrumental variables estimation with imperfect instruments. Sociological methodology 34(1):271–310.
- 18. Cressie N. A. and Read T. 1984. Multinomial Goodness of Fit Tests. Journal of the Royal Statistical Society, B 46:440–464.
Read T. and Cressie N. A. 1988. Goodness of Fit Statistics for Discrete Multivariate Data. Springer-Verlag, New York.
- 20. Mittelhammer R. and Judge G. 2011. A family of empirical likelihood functions and estimators for the binary response model. Journal of Econometrics 164:207–217.
- 21. Gorban A. N. and Karlin I. V. 2003. Family of Additive Entropy Functions out of Thermodynamic Limit. Physical Review E 67:016104.
Judge G. and Mittelhammer R. C. 2012. An Information Theoretic Approach To Econometrics. Cambridge University Press, Cambridge.
Cho, W. and Judge, G. 2014. An information theoretic approach to network tomography. Applied Economics Letters.
Ziebart, B., Bagnell, J. and Dey, A. 2010. Proceedings of an International Conference on Machine Learning (Hiafa, Israel).
Ziebart, B., Bagnell, J. and Dey, A. 2013. The principle of Maximum Causal Entropy for Estimating Interacting Processes. IEEE Transactions For Information Theory (in press).
- 26. Cho W. and Judge G. 2006. Information Theoretic Solutions for Correlated Bivariate Processes. Economic Letters 7:201–207.
- 27. Airoldi E. M. and Blocker A. W. 2013. Estimating latent processes on a network from indirect measurements. Journal of the American Statistical Association 108(501):149–164.
Crackel, R. and Flegal, J. M. 2014. Approximate Bayesian computation for a flexible class of bivariate beta distributions. http://arxiv.org/pdf/1402.1782.pdf.
- 29. Squartini T. and Garlaschelli D. 2014. Stationarity, non-stationarity and early warning signals of economic networks. Journal of Complex Networks.