OSCR

ICU Delirium as a Failure of Predictive Synchronization: A Two-Agent Active Inference Model.

Code ↔ Paper

39 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 39 matches
  1. [1] § 3. The Predictive Synchronization Hypothesis › 3.5. Results › 3.5.1. Statistical Approach ↔ DELIRIUM/pomdp_delirium/analysis/reviewer_response.py, lines 1–51 · score 0.92 · sustained joint threshold, genuine binary outcome, logistic regression, report Spearman, cluster, linear
  2. [2] § 3. The Predictive Synchronization Hypothesis › 3.6. Model Comparison: Ablation Study ↔ DELIRIUM/pomdp_delirium/inference/causal_feedback.py, lines 1–47 · score 0.86 · Persistent de synchronization, active inference sense, causal feedback, prior belief distribution, precision rigidity, confused
  3. [3] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.7. Desynchronization Pressure ↔ DELIRIUM/pomdp_delirium/inference/causal_feedback.py, lines 1–47 · score 0.81 · increasingly peaked, causal feedback, prior belief distribution, Precision rigidity, degrade, confidence
  4. [4] § 3. The Predictive Synchronization Hypothesis › 3.5. Results › 3.5.2. Result 1: Phenotypic Gradient in Delirium Rate ↔ DELIRIUM/pomdp_delirium/analysis/reviewer_response.py, lines 1–51 · score 0.81 · Logistic regression, linear relationship, binary outcome, monotonicity, discriminating, genuine
  5. [5] § 3. The Predictive Synchronization Hypothesis › 3.6. Model Comparison: Ablation Study ↔ DELIRIUM/pomdp_delirium/simulation/loop.py, lines 198–243 · score 0.77 · implementing precision rigidity, causal feedback, prior sharpening, Full model, prior belief, M3
  6. [6] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.7. Desynchronization Pressure ↔ DELIRIUM/pomdp_delirium/agents/agents.py, lines 46–168 · score 0.75 · high probability states, probability mass, belief update, power, peaked, propagates
  7. [7] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.3. Patients’ Transition Matrix and Preference Vector ↔ DELIRIUM/pomdp_delirium/world/generative_models.py, lines 399–414 · score 0.73 · bright_blue, dim_warm, log preferences, nature, alarm, sound
  8. [8] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.7. Desynchronization Pressure ↔ DELIRIUM/pomdp_delirium/agents/agents.py, lines 46–168 · score 0.73 · increasingly peaked, MAP state, Precision rigidity, prior belief, sharpens, causal
  9. [9] § 3. The Predictive Synchronization Hypothesis › 3.5. Results ↔ DELIRIUM/pomdp_delirium/simulation/loop.py, lines 245–279 · score 0.72 · symmetric metric, patient surprisal, room surprisal, room observations, Predictive synchronization, SI
  10. [10] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.6. Room’s Transition Matrix ↔ DELIRIUM/pomdp_delirium/inference/hierarchical.py, lines 1–35 · score 0.70 · latent patient parameters, cognitive plasticity, emotional reactivity, room agent, dynamics, transition
  11. [11] § 3. The Predictive Synchronization Hypothesis › 3.8. Robustness and Sensitivity of the Simulation Results › 3.8.2. Sensitivity of Causal Feedback Parameters ↔ DELIRIUM/pomdp_delirium/inference/causal_feedback.py, lines 99–124 · score 0.70 · history window, sharpening strength, prior sharpening, nats, Feedback, threshold
  12. [12] § 3. The Predictive Synchronization Hypothesis › 3.5. Results › 3.5.1. Statistical Approach ↔ DELIRIUM/pomdp_delirium/analysis/reviewer_response.py, lines 102–156 · score 0.69 · logistic regression, higher delirium, binary outcome, classes, curve, discriminates
  13. [13] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.6. Room’s Transition Matrix ↔ DELIRIUM/pomdp_delirium/agents/agents.py, lines 179–202 · score 0.69 · latent patient parameters, cognitive plasticity, emotional reactivity, room agent, transition, cycle
  14. [14] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.4. Level-2 Belief Update ( Inference) ↔ DELIRIUM/pomdp_delirium/inference/hierarchical.py, lines 163–268 · score 0.69 · reliability weight, log space, Bayesian update, Inference, Belief
  15. [15] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 1–18 · score 0.68 · policy selection, expected free energy, active inference, computable, variational, synchronization
  16. [16] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.5. Level-3 Action Selection ↔ DELIRIUM/pomdp_delirium/agents/agents.py, lines 327–354 · score 0.66 · adaptive temperature, early cycles, exploitation, uncertainty, exploration, personalized
  17. [17] § 3. The Predictive Synchronization Hypothesis › 3.5. Results › 3.5.5. Result 4: Is the Primary Informative Metric ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 241–264 · score 0.65 · negative log probabilities, patient surprisal, belief distribution, commensurable, nats, room
  18. [18] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.2. Level-1 Belief Update (State Inference) ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 25–60 · score 0.63 · log prior, log likelihood, VMP, softmax, discrete, posterior
  19. [19] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.3. Patients’ Transition Matrix and Preference Vector ↔ DELIRIUM/pomdp_delirium/world/spaces.py, lines 92–98 · score 0.62 · bright_blue, dim_warm, nature, alarm, sound, patient
  20. [20] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation ↔ DELIRIUM/pomdp_delirium/simulation/loop.py, lines 198–243 · score 0.61 · incoming observations, causal feedback, prior beliefs, loop, pressure, sharpens
  21. [21] § 3. The Predictive Synchronization Hypothesis › 3.6. Model Comparison: Ablation Study ↔ DELIRIUM/pomdp_delirium/simulation/cohort.py, lines 135–211 · score 0.59 · room acts randomly, delirium rates, M0, M1, variant, seeds
  22. [22] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.3. Patients’ Transition Matrix and Preference Vector ↔ DELIRIUM/pomdp_delirium/agents/agents.py, lines 1–39 · score 0.58 · micro actions, patient agent, hidden state, orienting, passive, startling
  23. [23] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.4. The ICU Room ↔ DELIRIUM/pomdp_delirium/inference/hierarchical.py, lines 55–141 · score 0.57 · cognitive plasticity, emotional reactivity, threatening, infers, inference, room
  24. [24] § 3. The Predictive Synchronization Hypothesis › 3.1. Delirium as a Failure of Predictive Synchronization ↔ DELIRIUM/pomdp_delirium/main.py, lines 1–31 · score 0.57 · early warning signal, de synchronization, generative model, hypothesis, Failure, agent
  25. [25] § 3. The Predictive Synchronization Hypothesis › 3.2. Synchronization Is Operationalized as Surprisal ↔ DELIRIUM/pomdp_delirium/world/observations.py, lines 25–74 · score 0.57 · likelihood matrix, internal states, room actions, hidden state, probability, patient
  26. [26] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.1. The Patient ↔ DELIRIUM/pomdp_delirium/world/spaces.py, lines 48–50 · score 0.57 · emotional precision, amygdala, HPA, moderate, minimal, spiked
  27. [27] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.1. Variational Free Energy (VFE) ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 88–115 · score 0.57 · posterior belief, prior beliefs, variational, VFE, Energy, inference
  28. [28] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.1. Variational Free Energy (VFE) ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 1–18 · score 0.56 · variational free energy, Active inference, minimize, VFE, agents
  29. [29] § 3. The Predictive Synchronization Hypothesis › 3.2. Synchronization Is Operationalized as Surprisal ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 241–264 · score 0.56 · negative log probabilities, belief distribution, hidden state, commensurable, surprise, room
  30. [30] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.1. The Patient ↔ DELIRIUM/pomdp_delirium/world/generative_models.py, lines 67–145 · score 0.56 · active inference, sharply, generative model, threat, weighted, likelihood
  31. [31] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.3. Patients’ Transition Matrix and Preference Vector ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 118–174 · score 0.56 · preference vector, transition matrix, hidden state, agent
  32. [32] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.2. Level-1 Belief Update (State Inference) ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 25–60 · score 0.56 · variational message passing, VMP, beliefs, Inference
  33. [33] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture ↔ DELIRIUM/pomdp_delirium/main.py, lines 1–31 · score 0.55 · bidirectionally coupled POMDP, preference, ICU, agents, cycle, model
  34. [34] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.4. The ICU Room ↔ DELIRIUM/pomdp_delirium/world/spaces.py, lines 1–37 · score 0.55 · dimensional space, room maintains, hidden state, ICU, patient
  35. [35] § 3. The Predictive Synchronization Hypothesis › 3.4. Mathematical Structure of the Simulation › 3.4.2. Level-1 Belief Update (State Inference) ↔ DELIRIUM/pomdp_delirium/inference/hierarchical.py, lines 163–268 · score 0.55 · log likelihood, state inference, numerically, posterior, cycle, Belief
  36. [36] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.4. The ICU Room ↔ DELIRIUM/pomdp_delirium/agents/agents.py, lines 179–202 · score 0.54 · cognitive plasticity, emotional reactivity, inference, ICU, room, patient
  37. [37] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture ↔ DELIRIUM/pomdp_delirium/inference/core.py, lines 118–174 · score 0.51 · preference vector, transition matrix, likelihood, agents
  38. [38] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.1. The Patient ↔ DELIRIUM/pomdp_delirium/world/generative_models.py, lines 67–145 · score 0.50 · emotional precision, threat, spiked, modulated, elevated, weight
  39. [39] § 3. The Predictive Synchronization Hypothesis › 3.3. Agent Architecture › 3.3.4. The ICU Room ↔ DELIRIUM/pomdp_delirium/agents/agents.py, lines 1–39 · score 0.50 · room configuration, room agent, hidden state, monitoring, sensors, sound

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Python · 295 lines · 9.6 KB · MIT · 9 matches

The registry keeps no copy of this file: the license of its repository (MIT) is not one it has verified to allow it. Your browser shows it from its source, with JavaScript.

It can be read at the source: DELIRIUM/pomdp_delirium/inference/core.py.

Overview

Authors: Luca M Possati1
  1. Faculty of Behavioural, Management and Social Sciences, Philosophy Section, University of Twente, Drienerlolaan 5, 7522 NB Enschede, The Netherlands
Institutions: University of Twente (Netherlands)
Journal: Entropy (Basel, Switzerland), volume 28, issue 6, article 702
Dates: received 20 April 2026; accepted 16 June 2026; published online 17 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.3390/e28060702 · PMID 42352212 · PMCID PMC13298327 · OpenAlex W7165049308
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), other condition (population)
Methods: Machine learning, Connectivity, Statistics, Physiology & signal measures, Smoothing, state filtering, decompositions
Keywords: ICU delirium, active inference, free-energy principle, design, human-technology interaction
Topic: Intensive Care Unit Cognitive Disorders (Critical Care and Intensive Care Medicine, Medicine), according to OpenAlex
Citations: not cited yet (Europe PMC); 41 references in the paper

Abstract

This paper presents a computational model of delirium in the Intensive Care Unit (ICU), in which delirium is defined as the endpoint of a self-reinforcing cycle of predictive failure between two bidirectionally coupled agents: the patient and the ICU room environment. Drawing on the active inference framework and the free energy principle, the paper proposes that delirium is not a property of the patient in isolation but a relational phenomenon that emerges when the environment persistently fails to predict the patient’s internal state. This failure triggers a causal feedback mechanism in which desynchronization pressure progressively sharpens the patient’s prior beliefs—implementing precision rigidity in the correct active inference sense: not a brain overwhelmed by noise but a brain locked into a state that incoming observations can no longer update. The model is implemented as a two-agent POMDP in which both agents maintain generative models and continuously attempt to predict each other’s states. The room agent (R)—understood as the environment-side sensing–inference–actuation loop, whether instantiated by clinical staff or by an automated monitoring system—infers the patient (P)’s latent parameters (θcog,θemo) over time and builds a progressively personalized generative model of the patient. Synchronization is operationalized via two commensurable directional surprisal metrics: SR→P=−lnQR(s*), the room’s surprisal at the patient’s true state, and SP→R=−lnP(oR∣QP), the patient’s surprisal at the room’s observations. A systematic ablation study across four model variants shows that room inference is the architectural component necessary to reproduce the synchronization–delirium relationship: when the room infers, the association between synchronization and declared delirium is strong and stable, whereas a non-inferring room collapses to ceiling delirium rates and a weak association. θ learning and the prior-sharpening feedback do not increase the strength of this association; instead they shape the phenotypic gradient, reducing ceiling effects in vulnerable phenotypes and amplifying the separation between them. The model is presented as a computational hypothesis generator rather than a calibrated clinical predictor, and its implications for ICU design are discussed.

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

Repository

Its files are read in the Code ↔ Paper reader above, with 39 matches between paragraphs and lines of code.

DesignAInf/DELIRIUM-AND-SYNCHRONIZATION

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: a000de7edfd8ca377dca975a659e6a02010dcd19, 9 June 2026
Languages: Python (19)
Size: 49 files, 19 scripts
Software Heritage: not archived
Found in: the text, “3.5. Results”
Holds: README, environment (DELIRIUM/pomdp_delirium/requirements.txt, DELIRIUM/pomdp_delirium/setup.py)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (13 files), Matplotlib (3 files), scikit-learn (1 file), SciPy (1 file), statsmodels (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
20 files, not copied: shown from their source

OSCR keeps no copy of these files: the license of this repository (MIT) is not one it has verified to allow it. The reader above shows each one from its source, fetched by your browser at commit a000de7, when its fingerprint is the one OSCR verified. How this works.

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;
  • 19 scripts, each with its path and the digest of its content;
  • 39 matches between paragraphs of the paper and lines of the code (method lexical-v1);
  • 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

Data is contained within the article.

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, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 1 author, 5 keywords, 31 references.

Cite

This paper

Possati, L. M. (2026). ICU Delirium as a Failure of Predictive Synchronization: A Two-Agent Active Inference Model. Entropy (Basel, Switzerland), 28(6), 702. https://doi.org/10.3390/e28060702

BibTeX

@article{possati2026icu,
author = {Possati, Luca M},
title = {{ICU Delirium as a Failure of Predictive Synchronization: A Two-Agent Active Inference Model}},
journal = {Entropy (Basel, Switzerland)},
year = {2026},
month = jun,
volume = {28},
number = {6},
pages = {702},
publisher = {Multidisciplinary Digital Publishing Institute (MDPI)},
issn = {1099-4300},
doi = {10.3390/e28060702},
url = {https://doi.org/10.3390/e28060702},
pmid = {42352212},
pmcid = {PMC13298327}
}

RIS

TY - JOUR
AU - Possati, Luca M
TI - ICU Delirium as a Failure of Predictive Synchronization: A Two-Agent Active Inference Model
T2 - Entropy (Basel, Switzerland)
J2 - Entropy (Basel)
PY - 2026
DA - 2026/06/17
VL - 28
IS - 6
SP - 702
SN - 1099-4300
PB - Multidisciplinary Digital Publishing Institute (MDPI)
DO - 10.3390/e28060702
UR - https://doi.org/10.3390/e28060702
LA - en
ER -

CSL-JSON

{
"id": "10.3390/e28060702",
"type": "article-journal",
"title": "ICU Delirium as a Failure of Predictive Synchronization: A Two-Agent Active Inference Model",
"container-title": "Entropy (Basel, Switzerland)",
"author": [
{
"family": "Possati",
"given": "Luca M"
}
],
"container-title-short": "Entropy (Basel)",
"volume": "28",
"issue": "6",
"page": "702",
"DOI": "10.3390/e28060702",
"PMID": "42352212",
"PMCID": "PMC13298327",
"ISSN": "1099-4300",
"publisher": "Multidisciplinary Digital Publishing Institute (MDPI)",
"URL": "https://doi.org/10.3390/e28060702",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
17
]
]
}
}

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.1038/s41467-026-74358-5 [code]
Brain-inspired spatial intelligence for embodied agents.
Journal: Nature communications
In common: scikit-learn, SciPy, Matplotlib, 1 other tool, 2 references
[2] doi:10.1038/s41467-026-76841-5 [code]
Stable clique membership in male mouse societies requires oxytocin-enabled social sensory states.
Journal: Nature communications
In common: statsmodels, scikit-learn, SciPy, 2 other tools, 1 reference
[3] doi:10.1038/s41467-026-74824-0 [code]
Learning regularities in noise engages both neural predictive activity and representational changes.
Journal: Nature communications
In common: statsmodels, scikit-learn, SciPy, 2 other tools, 1 reference
[4] doi:10.1038/s41467-026-74357-6 [code]
Hippocampo-neocortical interaction as compressive retrieval-augmented generation.
Journal: Nature communications
In common: statsmodels, scikit-learn, SciPy, 2 other tools, 1 reference
[5] doi:10.1038/s41598-026-53525-0 [code]
Timing-induced illusory percepts of pitch.
Journal: Scientific reports
In common: SciPy, Matplotlib, NumPy, 2 references
[6] doi:10.1371/journal.pcbi.1014340 [code]
pyhgf: A neural network library for predictive coding.
Journal: PLoS computational biology
In common: scikit-learn, SciPy, Matplotlib, 1 other tool, 1 reference
[7] doi:10.1038/s41467-026-73994-1 [code]
Prediction error correlates in the striosome-dopamine circuit emerge from information gain.
Journal: Nature communications
In common: statsmodels, SciPy, Matplotlib, 1 other tool, 1 reference
[8] doi:10.1016/j.ibneur.2026.05.013 [code]
Anticipatory slow potentials before auditory feedback show posterior predominance but limited condition effects in speech-in-noise.
Journal: IBRO neuroscience reports
In common: statsmodels, SciPy, Matplotlib, 1 other tool, 1 reference
[9] doi:10.3390/e28070738 [code]
Probabilistic Forecasting and Information-Theoretic Analysis of Multivariate fMRI Dynamics.
Journal: Entropy (Basel, Switzerland)
In common: statsmodels, scikit-learn, Matplotlib, 1 other tool, 1 reference
[10] doi:10.1016/j.neuroimage.2026.122171 [code]
A conserved node degree-based backbone and flexible hub organization of brain connectome during naturalistic movie watching.
Journal: NeuroImage
In common: scikit-learn, SciPy, Matplotlib, 1 other tool, 1 reference

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.

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: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

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