Upgrade to Pro — share decks privately, control downloads, hide ads and more …

On the Collective Predictive Coding Hypothesis ...

Yusuke Hayashi
October 26, 2024
76

On the Collective Predictive Coding Hypothesis and the Phase Transition Phenomena in Multi-Agent Systems

This presentation explores how scientific progress can be modeled as a decentralized Bayesian inference process using the Collective Predictive Coding (CPC) framework in multi-agent systems. CPC posits that agents, including scientists, engage in collective efforts to minimize prediction errors by continuously updating their internal models through communication and collaboration. These collective actions result in shared external representations of knowledge, analogous to scientific theories. Scientific progress is framed as an optimization of posterior distributions, where individual agents refine their hypotheses based on new data and feedback from the broader community. The presentation highlights how scientific knowledge evolves through both gradual improvements—characteristic of normal science—and phase transitions, which represent paradigm shifts. These transitions occur when accumulated anomalies in existing theories lead to critical points, prompting the adoption of new models that better explain the data. Drawing on singular learning theory, the presentation explains how these phase transitions in scientific knowledge resemble shifts in the posterior distribution from one local optimum to another. This provides a formal account of paradigm shifts, where the collective understanding undergoes rapid and fundamental changes. The presentation also discusses the generative nature of science, emphasizing that scientific knowledge not only reflects current understanding but also drives the generation of new hypotheses and research directions. The role of collective intelligence is central to this framework, as it highlights how decentralized collaboration among agents corrects individual biases, leading to a more accurate and objective understanding of the world. The integration of AI into this process is explored, with AI potentially enhancing the diversity of perspectives in scientific discovery. However, communication challenges between human and AI agents must be addressed to fully realize this potential. This approach offers a novel perspective on the dynamics of scientific progress, demonstrating how collective predictive coding can model both continuous developments and revolutionary shifts in scientific paradigms.

Yusuke Hayashi

October 26, 2024
Tweet

Transcript

  1. Page. 1 Yusuke Hayashi || 2024.10.26 Y u s u

    k e H a y a s h i | | 2 0 2 4 . 1 0 . 2 6 P a g e . 0 On the Collective Predictive Coding Hypothesis and the Phase Transition Phenomena in Multi-Agent Systems Japanese Association for Philosophy of Science: 27th October 2024 Workshop Yusuke Hayashi (AI Alignment Network)
  2. Page. 2 Yusuke Hayashi || 2024.10.26 Hidden states FEP agent

    Actions Active Inference World model Collective Predictive Coding as Active Inference ① Is it possible to describe collective phenomena using a single-agent model? Collective Predictive Coding What I talk about today is… and the phase transition phenomena in multi-agent systems. Sensory inputs/Rewards
  3. Page. 3 Yusuke Hayashi || 2024.10.26 Sensory inputs/Rewards Hidden states

    FEP agent Actions Active Inference World model Collective Predictive Coding as Active Inference ① Is it possible to describe collective phenomena using a single-agent model? Collective Predictive Coding ② The answer is yes. Deep learning integrates signals generated by individual neurons to manifest a cohesive function as a whole. What I talk about today is… and the phase transition phenomena in multi-agent systems.
  4. Page. 4 Yusuke Hayashi || 2024.10.26 Collective Predictive Coding as

    Active Inference What I talk about today is… and the phase transition phenomena in multi-agent systems. update update Small CPC Models Agent 1 Agent 2 Sample Size Deep Learning Neuronal Population 1 Neuronal Population 2 Large CPC Models update update Agent Population1 Agent Population2
  5. Page. 5 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Collective Predictive Coding as Active Inference FEP agent (dog) ① Perceptual inference
  6. Page. 6 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Collective Predictive Coding as Active Inference FEP agent (dog) ① Perceptual inference External world (the dog owner)
  7. Page. 7 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Collective Predictive Coding as Active Inference Hidden states FEP agent (dog) ① Perceptual inference External world (the dog owner)
  8. Page. 8 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Collective Predictive Coding as Active Inference Hidden states FEP agent (dog) ① Perceptual inference External world (the dog owner) Sensory inputs/ Rewards
  9. Page. 9 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Collective Predictive Coding as Active Inference Hidden states Sensory inputs/ Rewards FEP agent (dog) ① Perceptual inference External world (the dog owner)
  10. Page. 10 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Collective Predictive Coding as Active Inference Hidden states Sensory inputs/ Rewards FEP agent (dog) ① Perceptual inference Internal representations External world (the dog owner)
  11. Page. 11 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Collective Predictive Coding as Active Inference Hidden states Sensory inputs/ Rewards Perceptual inference FEP agent (dog) ① Perceptual inference Internal representations External world (the dog owner) Parameters
  12. Page. 12 Yusuke Hayashi || 2024.10.26 Internal representations What is

    Active Inference? Collective Predictive Coding as Active Inference Hidden states Sensory inputs/ Rewards Perceptual inference FEP agent (dog) Action policies ② Active inference External world (the dog owner) Parameters
  13. Page. 13 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Perceptual inference Internal representations Sensory inputs/ Rewards Action policies Collective Predictive Coding as Active Inference Hidden states Active inference FEP agent (dog) ② Active inference External world (the dog owner) Parameters Parameters
  14. Page. 14 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Perceptual inference Internal representations Sensory inputs/ Rewards Action policies Collective Predictive Coding as Active Inference Hidden states Parameters Parameters Active inference External world (the dog owner) FEP agent (dog) ③ Learning / Parameter optimization Parameters Learning
  15. Page. 15 Yusuke Hayashi || 2024.10.26 What is Active Inference?

    Collective Predictive Coding as Active Inference ① Perc eptual infere nce The hidden states of the external world are inferred from sensory inputs based on a generative model. In this process, the internal representation that minimizes free energy is selected. ② A ctive in feren ce Through actions, a FEP agent can intervene in the external environment to obtain the desired sensory input. This is known as active inference, where actions are chosen to minimize free energy. ③ Learning / Parameter optimization Alongside perception and action, the generative model itself is also updated. This update is similarly determined to minimize free energy. Free energy/Objective function Expected free energy Calculate the expected value for sequential data. The minimization of free energy and expected free energy drives perception, action, and learning.
  16. Page. 16 Yusuke Hayashi || 2024.10.26 What is Collective Predictive

    Coding? Collective Predictive Coding as Active Inference Free energy/Objective function Collective free energy/Objective function Note that the collective regularization term cannot be expressed as a sum of terms for individual agents. The global/collective representation acts as an interactive force or bond that unites the entire collective through interactions among individual agents.
  17. Page. 17 Yusuke Hayashi || 2024.10.26 The phase transition phenomena

    in multi-agent systems We will now finally move on to the latter topic… Sensory inputs/Rewards Hidden states Collective FEP agent Actions Active Inference 🜂 ⇶ ⁂ Ω 🜂 ↺ 〠? FEP agent 1 (robot dog①) FEP agent 2 (robot dog②) 🜂 ⇶ ⁂ Ω 🜂 ↺ 〠? FEP agent 3 (robot dog③) FEP agent 4 (robot dog④) Global/Collective representation Collective free energy/Objective function
  18. Page. 18 Yusuke Hayashi || 2024.10.26 The expansion of neurnal

    population complicates the loss landscape The phase transition phenomena in multi-agent systems (Very small) Neural Networks Neuron 1 Neuron 2 Deep Learning Size of Neuronal population/Community size Complex… The expansion of neuronal population complicates the loss landscape in parameter space, ultimately resulting in a vast number of singularities.
  19. Page. 19 Yusuke Hayashi || 2024.10.26 The expansion of neurnal

    population complicates the loss landscape The phase transition phenomena in multi-agent systems (Very small) Neural Networks Neuron 1 Neuron 2 Deep Learning Size of Neuronal population/Community size Complex… The expansion of neuronal population complicates the loss landscape in parameter space, ultimately resulting in a vast number of singularities.
  20. Page. 20 Yusuke Hayashi || 2024.10.26 The expansion of community

    size complicates the loss landscape The phase transition phenomena in multi-agent systems (Very small) Scientific community Size of Community Complex… The expansion of community size complicates the loss landscape in parameter space, ultimately resulting in a vast number of singularities. Large Scientific community
  21. Page. 21 Yusuke Hayashi || 2024.10.26 The phase transition phenomena

    in multi-agent systems update update Small CPC Models Agent 1 Agent 2 Sample Size Deep Learning Neuronal Population 1 Neuronal Population 2 With the updating of the posterior distribution of parameters, the parameters of the CPC model are discontinuously updated, jumping from one singularity to another. Phase transitions, discontinuous shifts in the paradigm. Large CPC Models update update Agent Population1 Agent Population2
  22. Page. 22 Yusuke Hayashi || 2024.10.26 Summary (Very small) Scientific

    community Complex… The occurrence of phase transitions, represented by discontinuous shifts in the dominant paradigm within a community. Large Scientific community Size of Community