Published November 30, 2025 | Version v1
Preprint Open

Shepherd Dynamics: Computational Frameworks for Conflict Prediction

Description

This research compendium presents two interconnected computational frameworks for conflict prediction under the umbrella of "Shepherd Dynamics." Paper I (Nucleation Detection) introduces a variance inflection detector that identifies phase transitions by locating peaks in the second derivative of rolling variance, achieving F1=0.77 across six transition types with 100% accuracy on commitment-type "calm before the storm" dynamics. Paper II (Compression Dynamics) formalizes conflict potential as the symmetric KL-divergence between actors' compression schemes—their internal predictive models of reality—demonstrating significant correlation with conflict intensity (r=0.33, p<0.05) and strong temporal precedence (divergence leads conflict, r=0.67). Together, these frameworks provide both mechanistic explanation (WHY: divergence) and temporal detection (WHEN: inflection) for sociopolitical phase transitions. Core insight: Conflict is compression divergence. Transitions are variance inflection. Peace is alignment.

What does this mean in practice? Shepherd Dynamics turns the abstract question "will this situation explode?" into a measurable signal—weeks before headlines break. When two groups start compressing reality differently (seeing the same facts but reaching opposite conclusions), conflict becomes thermodynamically inevitable; our framework detects this divergence while de-escalation remains possible. When collective behavior enters the eerie calm that precedes phase transitions (markets before crashes, societies before revolutions, relationships before ruptures), our detector fires. Deployed at scale, this enables: (1) early warning systems for humanitarian organizations tracking civil unrest, (2) institutional risk dashboards for investors monitoring regime stability, (3) platform integrity tools for social networks detecting coordinated radicalization, and (4) diplomatic intervention timing for conflict mediators. The core unlock: instead of reacting to crises, you see them forming—like watching pressure build before an earthquake. Peace isn't the absence of disagreement; it's when groups still share enough compressed reality to negotiate. We can now measure that alignment, and know when it's failing.

Files

.zenodo.json

Files (4.7 MB)

Name Size Download all
md5:a4073cd5fac54278e6b16a88d120aec8
1.3 kB Preview Download
md5:94a07d5448706bbfa3fd2c4090175d34
247.4 kB Preview Download
md5:4939a8ab043f479a8795fce5a72995b3
822.0 kB Preview Download
md5:3cc7a2e52cae4a97fd26d31f2877d576
306.4 kB Preview Download
md5:72368b7293ac0f0fff0aefd2666823ae
210.0 kB Preview Download
md5:bcf8133e9f368dfc82b626de1b031d19
324.6 kB Preview Download
md5:d9ea4ca4abdbb1fd3d9adf86930fa719
319.4 kB Preview Download
md5:657fb404f1d5c8cc8636923354e477b6
353.1 kB Preview Download
md5:31dc76514146589a253e526b6ba47671
339.8 kB Preview Download
md5:06030d4a87319e31eaf5f9b514a4925c
354.6 kB Preview Download
md5:1eaa542a7c539ee2f2579124d8488c5d
341.8 kB Preview Download
md5:820ca341cbd4e096106e0e09f3fdbb7f
745.2 kB Preview Download
md5:29bfcd97de7cd10b5b9cb0778f40aba4
131.4 kB Preview Download
md5:1192e247bc4f0228be2cf8426004ed69
152.7 kB Preview Download
md5:88380f1932021313a606680c2ad80707
1.3 kB Download
md5:28cd06d063584dbb6e52f57325681854
3.8 kB Preview Download
md5:8acb3ddc5fb205eca98abf405eae5d80
13.5 kB Preview Download
md5:36aba53db3dd942c3184528461688550
74 Bytes Preview Download
md5:247d7fc22aa51b86f8412b2f04dcebbf
641 Bytes Preview Download

Additional details

Dates

Submitted
2025-11-30
Written and initial draft submitted

Software

Repository URL
https://github.com/aphoticshaman/orthogonal
Programming language
Python , Rust
Development Status
Wip