Synchronization vs stigmergy

From OVN wiki
Jump to navigation Jump to search

Synchronization and stigmergy are two coordination paradigms.

Synchronization: coordination through a shared state

The underlying logic is:

  1. Participants produce information.
  2. Information is submitted to a common system.
  3. The system validates events.
  4. The system updates its shared state.
  5. Participants consult that state.
  6. Their subsequent actions are informed by the same representation of reality.

This resembles blockchain, although projects like Society Protocol proposes a more ambitious scope than financial transactions.

The advantage is that participants can rely on a common reference. For example, if a resource is transferred from organization A to organization B, the system could record a globally agreed transition of ownership. There is no need for both organizations to maintain independently authoritative versions of the same ownership record.

This approach is particularly attractive when dealing with:

  • Monetary settlement.
  • Double-spending prevention.
  • Property transfers.
  • Globally unique identifiers.
  • Constitutional decisions.
  • Binding agreements.
  • Dispute resolution.

There are genuine coordination problems here that require agreement.

But there is a hidden assumption: That the ability to coordinate effectively depends on having the same information and the same interpretation of reality.

That assumption is not universally valid.

Stigmergy: coordination through environmental traces

Stigmergy is a concept originating in the study of social insects, particularly termites. It describes indirect coordination through modifications to a shared environment. A termite doesn't need to know what other termites are doing, nor does it need access to a centralized representation of the colony's construction plan. It reacts to local conditions and traces left by previous activities. Those traces influence subsequent actions, creating feedback loops.

The general mechanism is:

  1. An agent observes its local environment.
  2. It performs an action.
  3. The action modifies the environment.
  4. The modification becomes a signal for other agents.
  5. Other agents react to that signal.
  6. Their actions modify the environment further.

Complex patterns emerge without requiring a central coordinator or a complete representation of the system.

This is particularly interesting because the coordination mechanism is distributed across the participants and their environment.

In human economic networks, examples include:

  • A producer publishes available inventory.
  • Another producer discovers an opportunity.
  • Someone offers transportation.
  • A third party contributes repair services.
  • Another organization aggregates demand.
  • A new productive relationship emerges.

Nobody needs to possess a complete representation of the network.

The network coordinates through the accumulation of actions, signals, commitments and responses.

This is closely related to the principles underlying the OVN model.

The important distinction

...
Dimension Synchronization Stigmergy
Coordination mechanism Shared state Environmental signals and traces
Information Common reference Distributed, discoverable
Knowledge Convergence toward shared representation Contextual and local
Agency Actions interpreted against common state Autonomous agents reacting to conditions
Decision-making Can be governed by common rules Emerges from interactions
Conflicts Reconciliation and consensus Negotiation and contextual validation
Adaptation Modification of shared rules/state Continuous local adaptation
Scaling Cost of maintaining synchronized state Cost of maintaining connectivity and interoperability
Failure Shared-state or consensus disruption Local failures and network fragmentation
Evolution Protocol and state transitions Emergent patterns of interaction

There is an important qualification: stigmergy does not mean that agents never synchronize. Agents can synchronize specific information or decisions when necessary. The distinction is whether synchronization is the foundation of the entire system or a mechanism invoked for particular coordination problems.