OSCR

Intrinsic Cause-Effect Power: The Tradeoff Between Differentiation and Specification.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

Paper

Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Jupyter notebook · 174 lines · 6.3 KB · no license

  1. # %% [markdown]
  2. # # fig-growth.ipynb
  3. # %%
  4. %load_ext autoreload
  5. %autoreload 2
  6. from pathlib import Path
  7. import pickle
  8. import matplotlib.pyplot as plt
  9. from joblib import Parallel, delayed
  10. import numpy as np
  11. import pyphi
  12. import pandas as pd
  13. from systems import fig6d
  14. # %%
  15. FIGURE_DIR = Path('figures')
  16. DATA_DIR = Path('data')
  17. C, E = pyphi.Direction.CAUSE, pyphi.Direction.EFFECT
  18. # %% [markdown]
  19. # ### Figure 6D Network
  20. # %%
  21. args = np.linspace(0.001, 8, num=32, endpoint=True)
  22. args.round(2)
  23. # %%
  24. def worker(k):
  25. network, subsystem = fig6d(k=k)
  26. return pyphi.new_big_phi.sia(subsystem)
  27. # %%
  28. print(f'{pyphi.config.REPERTOIRE_DISTANCE=}')
  29. print(f'{pyphi.config.REPERTOIRE_DISTANCE_SPECIFICATION=}')
  30. print(f'{pyphi.config.REPERTOIRE_DISTANCE_DIFFERENTIATION=}')
  31. # %%
  32. COMPUTE_NEW_DATA = False
  33. # %%
  34. if COMPUTE_NEW_DATA:
  35. results = Parallel(n_jobs=min(32, len(args)), verbose=100)(
  36. delayed(worker)(k) for k in args
  37. )
  38. # %%
  39. if COMPUTE_NEW_DATA:
  40. with open(DATA_DIR / 'fig6d_results.pkl', 'wb') as f:
  41. pickle.dump(results, f)
  42. # %%
  43. with open(DATA_DIR / 'fig6d_results.pkl', 'rb') as f:
  44. results = pickle.load(f)
  45. # %%
  46. def make_dataframe(results):
  47. return pd.DataFrame({
  48. 'k': args,
  49. 'phi': [result.phi for result in results],
  50. 'phi_spec': [result.phi.specification for result in results],
  51. 'phi_diff': [result.phi.differentiation for result in results],
  52. 'phi_cause': [result.cause.phi for result in results],
  53. 'phi_effect': [result.effect.phi for result in results],
  54. 'phi_cause_spec': [result.cause.phi.specification for result in results],
  55. 'phi_cause_diff': [result.cause.phi.differentiation for result in results],
  56. 'phi_effect_spec': [result.effect.phi.specification for result in results],
  57. 'phi_effect_diff': [result.effect.phi.differentiation for result in results],
  58. 'intrinsic_differentiation_cause': [result.intrinsic_differentiation[C] for result in results],
  59. 'intrinsic_differentiation_effect': [result.intrinsic_differentiation[E] for result in results],
  60. 'intrinsic_information_cause': [result.system_state.cause.intrinsic_information for result in results],
  61. 'intrinsic_information_effect': [result.system_state.effect.intrinsic_information for result in results],
  62. })
  63. # %%
  64. df = make_dataframe(results)
  65. df.to_csv(DATA_DIR / 'fig6d_results.csv', index=False)
  66. # %%
  67. df = pd.read_csv(DATA_DIR / 'fig6d_results.csv')
  68. # %%
  69. def make_plot(data):
  70. import matplotlib.pyplot as plt
  71. fig, axes = plt.subplots(2, 3, figsize=(18, 8), sharex=True)
  72. # intrinsic_differentiation_{cause,effect}
  73. axes[0, 0].plot(data['k'], data['intrinsic_differentiation_cause'], marker='o', linestyle='-', label='Intrinsic Diff Cause', alpha=0.8)
  74. axes[0, 0].plot(data['k'], data['intrinsic_differentiation_effect'], marker='s', linestyle='--', label='Intrinsic Diff Effect', alpha=0.8)
  75. axes[0, 0].set_title('intrinsic_differentiation_{cause,effect}')
  76. axes[0, 0].set_ylabel('Value')
  77. axes[0, 0].legend()
  78. axes[0, 0].grid(True)
  79. # intrinsic_information_{cause,effect}
  80. axes[0, 1].plot(data['k'], data['intrinsic_information_cause'], marker='^', linestyle='-', label='Intrinsic Info Cause', alpha=0.8)
  81. axes[0, 1].plot(data['k'], data['intrinsic_information_effect'], marker='v', linestyle='--', label='Intrinsic Info Effect', alpha=0.8)
  82. axes[0, 1].set_title('intrinsic_information_{cause,effect}')
  83. axes[0, 1].legend()
  84. axes[0, 1].grid(True)
  85. # phi, phi_spec, phi_diff
  86. axes[0, 2].plot(data['k'], data['phi'], marker='o', color='tab:blue', linestyle='-', label='phi', alpha=0.8)
  87. axes[0, 2].plot(data['k'], data['phi_spec'], marker='s', color='tab:orange', linestyle='--', label='phi_spec', alpha=0.8)
  88. axes[0, 2].plot(data['k'], data['phi_diff'], marker='^', color='tab:green', linestyle='-.', label='phi_diff', alpha=0.8)
  89. axes[0, 2].set_title('phi, phi_spec, phi_diff')
  90. axes[0, 2].set_ylabel('phi')
  91. axes[0, 2].legend()
  92. axes[0, 2].grid(True)
  93. # phi_{cause,effect}
  94. axes[1, 0].plot(data['k'], data['phi_cause'], marker='o', linestyle='-', label='phi_cause', alpha=0.8)
  95. axes[1, 0].plot(data['k'], data['phi_effect'], marker='s', linestyle='--', label='phi_effect', alpha=0.8)
  96. axes[1, 0].set_title('phi_{cause,effect}')
  97. axes[1, 0].set_xlabel('k')
  98. axes[1, 0].set_ylabel('phi')
  99. axes[1, 0].legend()
  100. axes[1, 0].grid(True)
  101. # phi_{cause,effect}_{spec,diff}
  102. axes[1, 1].plot(data['k'], data['phi_cause_spec'], marker='o', linestyle='-', label='cause_spec', alpha=0.8)
  103. axes[1, 1].plot(data['k'], data['phi_cause_diff'], marker='s', linestyle='--', label='cause_diff', alpha=0.8)
  104. axes[1, 1].plot(data['k'], data['phi_effect_spec'], marker='^', linestyle='-.', label='effect_spec', alpha=0.8)
  105. axes[1, 1].plot(data['k'], data['phi_effect_diff'], marker='v', linestyle=':', label='effect_diff', alpha=0.8)
  106. axes[1, 1].set_title('phi_{cause,effect}_{spec,diff}')
  107. axes[1, 1].set_xlabel('k')
  108. axes[1, 1].legend()
  109. axes[1, 1].grid(True)
  110. axes[1, 2].axis('off')
  111. fig.suptitle('Quantities vs inverse temperature k')
  112. plt.tight_layout(rect=[0, 0, 1, 0.97])
  113. return fig
  114. # %%
  115. fig = make_plot(df)
  116. # %%
  117. def make_plot(data):
  118. import matplotlib.pyplot as plt
  119. fig, axes = plt.subplots(1, 2, figsize=(9, 4), sharex=True, sharey=True)
  120. # First subplot: intrinsic specification and intrinsic differentiation
  121. axes[0].plot(data['k'], data['phi_diff'], marker='o', color='tab:orange', linestyle='-', label='intrinsic differentiation', alpha=1.0)
  122. axes[0].plot(data['k'], data['phi_spec'], marker='o', color='tab:blue', linestyle='-', label='intrinsic specification', alpha=1.0)
  123. axes[0].set_xlabel(r'$K$ (inverse temperature)', fontsize=16)
  124. axes[0].set_ylabel('ibits', fontsize=16)
  125. # axes[0].legend(fontsize=14, labelcolor='#555555')
  126. axes[0].grid(True)
  127. # Second subplot: phi only
  128. axes[1].plot(data['k'], data['phi'], marker='o', color='black', linestyle='-', label=r'$\varphi_s$', alpha=1.0)
  129. axes[1].set_xlabel(r'$K$ (inverse temperature)', fontsize=16)
  130. # axes[1].legend(fontsize=14)
  131. axes[1].grid(True)
  132. fig.legend(fontsize=14, labelcolor='#555555')
  133. for ax in axes:
  134. ax.tick_params(axis='both', labelsize=16)
  135. plt.tight_layout()
  136. return fig, axes
  137. fig, ax = make_plot(df)
  138. fig.savefig(FIGURE_DIR / "fig-growth__specialized-majority-values.svg")

fig-growth.ipynb at commit 483c23a, no license · at the source

Overview

Authors: William G. P. Mayner1, William Marshall2, Giulio Tononi1
  1. Department of Psychiatry, University of Wisconsin–Madison, Madison, WI 53719, USA
  2. Department of Mathematics & Statistics, Brock University, St. Catharines, ON L2S 3A1, Canada
Institutions: University of Wisconsin–Madison (United States); Brock University (Canada)
Journal: Entropy (Basel, Switzerland), volume 28, issue 4, article 410
Dates: received 28 December 2025; accepted 2 April 2026; published online 4 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.3390/e28040410 · PMID 42072535 · PMCID PMC13114617 · OpenAlex W4416373148
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: cognitive (subfield)
Keywords: consciousness, integrated information, intrinsic, differentiation, intrinsic specification, complexity
Topic: Embodied and Extended Cognition (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Citations: not cited yet (Europe PMC); 21 references in the paper

Abstract

Integrated information theory (IIT) starts from the existence of consciousness and characterizes its essential properties: every experience is intrinsic, specific, unitary, definite, and structured. IIT then formulates existence and its essential properties operationally in terms of cause–effect power of a substrate of units. Here, we address IIT’s operational requirements for existence by considering that, to have cause–effect power, to have it intrinsically, and to have it specifically, substrate units in their actual state must both (i) ensure the intrinsic availability of a repertoire of cause–effect states, and (ii) increase the probability of a specific cause–effect state. We showed previously that requirement (ii) can be assessed by the intrinsic difference of a state’s probability from maximal differentiation. Here, we show that requirement (i) can be assessed by the intrinsic difference from maximal specification. These points and their consequences for integrated information are illustrated using simple systems of micro units. When applied to macro units and systems of macro units such as neural systems, a tradeoff between differentiation and specification is a necessary condition for intrinsic existence—and therefore, according to IIT, for consciousness.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above.

wmayner/intrinsic-information

License: none: the authors keep all their rights
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: 483c23a3c9c0b2075ead17cd803bf7ec6ad45b6a, 27 December 2025
Languages: Jupyter (4), Python (3)
Size: 31 files, 7 scripts
Software Heritage: not archived
Found in: “Data Availability Statement”
Holds: README, environment (environment.yml), 4 notebooks
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (7 files), Matplotlib (4 files), pandas (4 files), SciPy (2 files), seaborn (2 files)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
8 files

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 7 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data Availability Statement

Code and data used in this work are available at https://github.com/wmayner/intrinsic-information (27 December 2025).

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 6 keywords, 2 funders, 19 references.

Cite

This paper

Mayner, W. G. P., Marshall, W., & Tononi, G. (2026). Intrinsic Cause-Effect Power: The Tradeoff Between Differentiation and Specification. Entropy (Basel, Switzerland), 28(4), 410. https://doi.org/10.3390/e28040410

BibTeX

@article{mayner2026intrinsic,
author = {Mayner, William G. P. and Marshall, William and Tononi, Giulio},
title = {{Intrinsic Cause-Effect Power: The Tradeoff Between Differentiation and Specification}},
journal = {Entropy (Basel, Switzerland)},
year = {2026},
month = apr,
volume = {28},
number = {4},
pages = {410},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {1099-4300},
doi = {10.3390/e28040410},
url = {https://doi.org/10.3390/e28040410},
pmid = {42072535},
pmcid = {PMC13114617}
}

RIS

TY - JOUR
AU - Mayner, William G. P.
AU - Marshall, William
AU - Tononi, Giulio
TI - Intrinsic Cause-Effect Power: The Tradeoff Between Differentiation and Specification
T2 - Entropy (Basel, Switzerland)
J2 - Entropy (Basel)
PY - 2026
DA - 2026/04/04
VL - 28
IS - 4
SP - 410
SN - 1099-4300
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/e28040410
UR - https://doi.org/10.3390/e28040410
LA - en
ER -

CSL-JSON

{
"id": "10.3390/e28040410",
"type": "article-journal",
"title": "Intrinsic Cause-Effect Power: The Tradeoff Between Differentiation and Specification",
"container-title": "Entropy (Basel, Switzerland)",
"author": [
{
"family": "Mayner",
"given": "William G. P."
},
{
"family": "Marshall",
"given": "William"
},
{
"family": "Tononi",
"given": "Giulio"
}
],
"container-title-short": "Entropy (Basel)",
"volume": "28",
"issue": "4",
"page": "410",
"DOI": "10.3390/e28040410",
"PMID": "42072535",
"PMCID": "PMC13114617",
"ISSN": "1099-4300",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://doi.org/10.3390/e28040410",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
4
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1093/nc/niag013 [code]
Intrinsic units: identifying a system's causal grain.
Journal: Neuroscience of consciousness
In common: Matplotlib, NumPy, 9 references
[2] doi:10.1523/eneuro.0280-21.2021 [code]
Measuring Stimulus-Evoked Neurophysiological Differentiation in Distinct Populations of Neurons in Mouse Visual Cortex.
Journal: eNeuro
In common: seaborn, pandas, SciPy, 2 other tools, 2 references, author William G. P. Mayner
[3] doi:10.1038/s42003-024-06613-8 [code]
Critical dynamics in spontaneous EEG predict anesthetic-induced loss of consciousness and perturbational complexity.
Journal: Communications biology
In common: pandas, SciPy, Matplotlib, 1 other tool, cognitive, 5 references
[4] doi:10.3389/fncom.2023.1040629 [code]
A survey of neurophysiological differentiation across mouse visual brain areas and timescales.
Journal: Frontiers in computational neuroscience
In common: seaborn, pandas, SciPy, 2 other tools, author William G. P. Mayner
[5] doi:10.7554/elife.88173 [code]
A synergistic workspace for human consciousness revealed by Integrated Information Decomposition.
Journal: eLife
In common: SciPy, NumPy, cognitive, 5 references
[6] doi:10.1371/journal.pcbi.1012572 [code]
Capturing the emergent dynamical structure in biophysical neural models.
Journal: PLoS computational biology
In common: seaborn, pandas, SciPy, 2 other tools, 3 references
[7] doi:10.3389/fnins.2025.1511972 [code]
Does neural computation feel like something?
Journal: Frontiers in neuroscience
In common: 5 references
[8] doi:10.1093/nc/niaf024
Decrease and recovery of integrated information Φ during anesthesia and sleep on human functional magnetic resonance imaging.
Journal: Neuroscience of consciousness
In common: 5 references
[9] doi:10.3389/fnins.2025.1512724
Integrated information theory reveals the potential role of the posterior parietal cortex in sustaining conditioning responses in classical conditioning tasks.
Journal: Frontiers in neuroscience
In common: 5 references
[10] doi:10.1038/s41562-025-02381-5 [code]
Convergent transcriptomic and connectomic controllers of information integration and its anaesthetic breakdown across mammalian brains.
Journal: Nature human behaviour
In common: seaborn, pandas, SciPy, 2 other tools, 2 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Add the badge to the code's README

OSCR: the badge of this paper

If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.

Markdown
<!-- oscr-badge:start -->
[![OSCR](https://openscicode.org/badge/doi/10.3390/e28040410.svg)](https://openscicode.org/badge/doi/10.3390/e28040410)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.3390/e28040410.svg
   :target: https://openscicode.org/badge/doi/10.3390/e28040410
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.3390/e28040410"><img src="https://openscicode.org/badge/doi/10.3390/e28040410.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.

Report a mismatch between the code and the paper · Report a code error (signed in)

Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.

Report a reproduction failure (signed in)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.