{
  "author": {
    "name": "Michael Frank Martin",
    "url": "https://www.symmetrybroken.com/about/"
  },
  "blyg": "0.4",
  "changelog": [
    {
      "at": "2025-11-24T02:03:18Z",
      "note": null,
      "version": 1
    },
    {
      "at": "2026-11-19T00:17:31Z",
      "note": "Softened the conclusions, dropped the instrumental-variable claim, corrected two credits and replaced the diagram with a list",
      "version": 2
    }
  ],
  "content_hash": "sha256:9e8ff7f785b2478734fed479ef286adc99d022a27f0c4c1144f8ba1375a4bb13",
  "content_html": "\u003ch1 id=\"the-causal-arrow-of-altruism\"\u003eThe Causal Arrow of Altruism\u003c/h1\u003e\n\u003cp\u003eI recently explored group selection and kin selection models in \u003ca href=\"https://www.symmetrybroken.com/group-selection/\"\u003ean essay on Rademacher Complexity and Group Competition\u003c/a\u003e, attempting to reconcile seemingly irreconcilable differences using measures of model Rademacher Complexity. The essay chose to use the definition of group selection provided by \u003ca href=\"https://www.researchgate.net/publication/45952278_The_Evolution_of_Eusociality?ref=symmetrybroken.com\"\u003eNowak, Tarnita, and Wilson (NTW) 2010\u003c/a\u003e, which also proposed that eusociality drives relatedness, a hypothesis the initial results based on \u003ca href=\"https://en.wikipedia.org/wiki/Granger_causality\"\u003eGranger Causality\u003c/a\u003e did not support, but also didn\u0026rsquo;t really refute.\u003c/p\u003e\n\u003cp\u003eA more robust causal analysis was in order. Judea Pearl\u0026rsquo;s \u003ca href=\"https://www.amazon.com/dp/B075CR9QBJ?\u0026amp;linkCode=sl1\u0026amp;tag=symmetrybro04-20\u0026amp;linkId=94ff7bb6b1f3253efa3ef6acc66631f0\u0026amp;language=en_US\u0026amp;ref_=as_li_ss_tl\"\u003e\u003cem\u003eBook of Why\u003c/em\u003e\u003c/a\u003e is a favorite resource for me in analyzing causality, one I wish I had read and learned while still in school many moons ago. (But see also \u003ca href=\"https://elizabethvannostrand.substack.com/p/the-boring-part-of-bell-labs?ref=thebrowser.com\"\u003ethis interesting post\u003c/a\u003e suggesting that Pearl\u0026rsquo;s work had antecedents in industrial statistics research by George Box.) As Pearl explains in \u003cem\u003eThe Book of Why\u003c/em\u003e, neither correlation nor temporal precedence implies causation. To test how altruism evolves, we have to model the counterfactuals that define structural causation.\u003c/p\u003e\n\u003cp\u003eWith that in mind, I designed a far more rigorous computational experiment, now available in the updated \u003ca href=\"https://github.com/riemannzeta/radamacher\"\u003eGitHub radamacher repository\u003c/a\u003e, to test the NTW hypothesis under the harshest possible conditions: a \u0026ldquo;neutral\u0026rdquo; agent-based model that explicitly removed genetic altruism.\u003c/p\u003e\n\u003ch2 id=\"weaknesses-of-granger-causality\"\u003eWeaknesses of Granger Causality\u003c/h2\u003e\n\u003cp\u003eI originally relied on \u003ca href=\"https://en.wikipedia.org/wiki/Granger_causality\"\u003eGranger Causality\u003c/a\u003e. While often used in econometrics, Granger Causality answers only a narrow question: \u003cem\u003e\u0026ldquo;Does knowing X(t) help predict Y(t+1) better than knowing Y(t) alone?\u0026rdquo;\u003c/em\u003e\u003c/p\u003e\n\u003cp\u003eGranger Causality thereby measures how information flows, not how biology works. Biological variables often co-evolve in feedback loops. If high relatedness and eusociality emerge almost simultaneously, Granger Causality can be fooled by:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cstrong\u003eCommon Causes\u003c/strong\u003e: An unobserved environmental factor (e.g., a specific nest architecture) could boost both relatedness (by limiting migration) and eusociality (by forcing cooperation).\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eDeterministic Relationships\u003c/strong\u003e: If \u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi\u003eA\u003c/mi\u003e\u003cmo\u003e→\u003c/mo\u003e\u003cmi\u003eB\u003c/mi\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003eA \\to B\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e is deterministic and fast, \u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi\u003eA\u003c/mi\u003e\u003cmo stretchy=\"false\"\u003e(\u003c/mo\u003e\u003cmi\u003et\u003c/mi\u003e\u003cmo stretchy=\"false\"\u003e)\u003c/mo\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003eA(t)\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e and \u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi\u003eB\u003c/mi\u003e\u003cmo stretchy=\"false\"\u003e(\u003c/mo\u003e\u003cmi\u003et\u003c/mi\u003e\u003cmo stretchy=\"false\"\u003e)\u003c/mo\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003eB(t)\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e might appear perfectly synchronized, masking the causal arrow.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cp\u003eMost critically, we failed to control for confounders. We accepted correlations at face value without asking, \u003cem\u003e\u0026ldquo;What if we intervened?\u0026rdquo;\u003c/em\u003e\u003c/p\u003e\n\u003ch2 id=\"upgrading-to-structural-causal-models-scm\"\u003eUpgrading to Structural Causal Models (SCM)\u003c/h2\u003e\n\u003cp\u003eTo fix this, I built a new pipeline rooted in a \u003cem\u003ePotential Outcomes Framework\u003c/em\u003e and \u003cem\u003eCausal Bayesian Networks\u003c/em\u003e.\u003c/p\u003e\n\u003ch3 id=\"the-neutral-agent-based-model-abm_simulationpy\"\u003eThe \u0026ldquo;Neutral\u0026rdquo; Agent-Based Model (\u003ccode\u003eabm_simulation.py\u003c/code\u003e)\u003c/h3\u003e\n\u003cp\u003eI created a simulation of colony formation \u0026ldquo;rigged\u0026rdquo; to be as fair as possible to NTW.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003ePhenotypic Plasticity\u003c/strong\u003e: I removed the \u0026ldquo;altruism gene.\u0026rdquo; Agents in this model do not inherit a tendency to help.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eEcological Determinism\u003c/strong\u003e: Agents decide to become workers solely based on environmental cues (Ecological Pressure and Resource Scarcity). Relatedness never enters that decision; it is measured afterward. Workers\u0026rsquo; offspring stay in the colony they were born into, so colonies fill with kin, and any link the analysis finds from Relatedness to Eusociality comes from how colonies are built, not from agents favoring kin.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eThe Logic\u003c/strong\u003e: If NTW are correct that \u0026ldquo;relatedness is a consequence of eusociality,\u0026rdquo; then in a world where eusociality is purely environmentally forced, the causal arrow should still point from Colony Formation to Relatedness.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3 id=\"the-detective-peter-clark-algorithm-causal_discoverypy\"\u003eThe Detective: Peter-Clark Algorithm (\u003ccode\u003ecausal_discovery.py\u003c/code\u003e)\u003c/h3\u003e\n\u003cp\u003eI fed the data from this simulation into the Peter-Clark (PC) Algorithm. Unlike regression, which assumes a structure, the PC algorithm \u003cem\u003ediscovers\u003c/em\u003e the structure by systematically testing for conditional independence. It asks:\u003c/p\u003e\n\u003cblockquote\u003e\n\u003cp\u003e\u003cem\u003e\u0026ldquo;Is Relatedness independent of Eusociality given Colony Formation?\u0026rdquo;\u003c/em\u003e\u003c/p\u003e\n\u003c/blockquote\u003e\n\u003ch3 id=\"the-stress-test-sensitivity--forced-grouping-robust_pearlpy\"\u003eThe Stress Test: Sensitivity \u0026amp; Forced Grouping (\u003ccode\u003erobust_pearl.py\u003c/code\u003e)\u003c/h3\u003e\n\u003cp\u003eI applied two further tests:\u003c/p\u003e\n\u003col\u003e\n\u003cli\u003e\u003cstrong\u003eSensitivity Analysis\u003c/strong\u003e: How strong would a hidden confounder have to be to explain away my results?\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eForced Grouping\u003c/strong\u003e: I used \u0026ldquo;Ecological Pressure\u0026rdquo; as an external shock that forces colonies to form, to see whether grouping alone produces eusociality.\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2 id=\"the-results-an-edge-for-kin-selection\"\u003eThe Results: An Edge for Kin Selection\u003c/h2\u003e\n\u003cp\u003eThe results of this rigorous analysis (\u003ccode\u003epearl_results.txt\u003c/code\u003e) provide more rigorous conclusions.\u003c/p\u003e\n\u003ch3 id=\"finding-1-the-causal-graph\"\u003eFinding 1: The Causal Graph\u003c/h3\u003e\n\u003cp\u003eThe PC Algorithm recovered the following structure from the data:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eEcological Pressure → Colony Formation\u003c/li\u003e\n\u003cli\u003eEcological Pressure → Eusociality\u003c/li\u003e\n\u003cli\u003eRelatedness → Eusociality\u003c/li\u003e\n\u003cli\u003eRelatedness → Colony Formation\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp\u003eCrucially, the algorithm found a direct causal edge:\n\u003cstrong\u003e\u003ccode\u003eRelatedness -\u0026gt; Eusociality\u003c/code\u003e\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eIt did \u003cem\u003enot\u003c/em\u003e find the reverse edge (\u003ccode\u003eEusociality -\u0026gt; Relatedness\u003c/code\u003e) as a primary driver, nor did it find that \u003ccode\u003eColony Formation\u003c/code\u003e caused \u003ccode\u003eEusociality\u003c/code\u003e once other factors were controlled for. This absence is telling. If the NTW hypothesis were correct—that eusociality creates the conditions for relatedness to accumulate—the PC algorithm should have identified Eusociality as a parent of Relatedness in the directed acyclic graph (DAG). Instead, it found the opposite. Furthermore, the algorithm severed the link between Colony Formation and Eusociality when Relatedness was included, implying that any observed association between living in groups and being altruistic is actually mediated by the fact that those groups are composed of kin.\u003c/p\u003e\n\u003ch3 id=\"finding-2-fragility-of-group-selection\"\u003eFinding 2: Fragility of Group Selection\u003c/h3\u003e\n\u003cp\u003eI tested how robust the correlation was between Colony Formation and Eusociality.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eResult\u003c/strong\u003e: \u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi mathvariant=\"normal\"\u003eΓ\u003c/mi\u003e\u003cmo\u003e=\u003c/mo\u003e\u003cmn\u003e1.0\u003c/mn\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003e\\Gamma = 1.0\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eMeaning\u003c/strong\u003e: The link is extremely fragile. In Rosenbaum\u0026rsquo;s sensitivity analysis, \u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi mathvariant=\"normal\"\u003eΓ\u003c/mi\u003e\u003cmo\u003e=\u003c/mo\u003e\u003cmn\u003e1\u003c/mn\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003e\\Gamma = 1\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e is the case of no hidden bias at all, so a critical \u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi mathvariant=\"normal\"\u003eΓ\u003c/mi\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003e\\Gamma\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e of 1.0 means the correlation is not significant even before any unobserved confounder is allowed for. In practical terms, this suggests that \u0026ldquo;grouping\u0026rdquo; alone does not cause \u0026ldquo;altruism.\u0026rdquo; If an unmeasured factor—say, a shared gene for \u0026ldquo;staying put\u0026rdquo;—influenced both the tendency to form groups and the tendency to help, it would create the illusion of a causal link where none exists. The sensitivity analysis reveals that my model cannot rule out such illusions.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3 id=\"finding-3-forced-grouping\"\u003eFinding 3: Forced Grouping\u003c/h3\u003e\n\u003cp\u003eI used Ecological Pressure to force agents into groups.\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eObservation\u003c/strong\u003e: Pressure did cause groups to form (\u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi\u003ep\u003c/mi\u003e\u003cmo\u003e\u0026lt;\u003c/mo\u003e\u003cmsup\u003e\u003cmn\u003e10\u003c/mn\u003e\u003cmrow\u003e\u003cmo\u003e−\u003c/mo\u003e\u003cmn\u003e6\u003c/mn\u003e\u003c/mrow\u003e\u003c/msup\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003ep \u0026lt; 10^{-6}\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e).\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCausal Effect\u003c/strong\u003e: However, these \u0026ldquo;forced groups\u0026rdquo; did not become eusocial at a significant rate.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eConclusion\u003c/strong\u003e: In this model, simply forcing individuals together (Group Selection) did not generate the high levels of cooperation defined as eusociality. When Ecological Pressure boosted colony formation without directly altering genetics, I saw more colonies but not more workers. This is not an instrumental-variable estimate: the graph in Finding 1 gives Ecological Pressure a direct edge into Eusociality, so it does not act only through grouping. The disconnect suggests, but does not prove, that the physical act of grouping is insufficient to trigger the transition to eusociality.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3 id=\"synthesis-the-nuance-of-null-results\"\u003eSynthesis: The Nuance of Null Results\u003c/h3\u003e\n\u003cp\u003eFindings 2 and 3 provide the critical context for Finding 1. Finding 1 tells me what \u003cem\u003eis\u003c/em\u003e the driver (Relatedness), while Findings 2 and 3 suggest what \u003cem\u003eis not\u003c/em\u003e.\u003c/p\u003e\n\u003cp\u003eThe fragility of the Group Selection link (Finding 2) and the failure of forced grouping to induce altruism (Finding 3) explain \u003cem\u003ewhy\u003c/em\u003e the PC algorithm rejected the \u003ccode\u003eColony -\u0026gt; Eusociality\u003c/code\u003e edge. The algorithm \u0026ldquo;saw\u0026rdquo; that while colonies and workers often appear together, forcing one does not yield the other. This leaves Relatedness as the last variable standing in this model. Thus, the case for Hamilton here rests not just on finding his predicted link, but on the collapse of the alternative explanations the model could test.\u003c/p\u003e\n\u003ch2 id=\"revisiting-conclusions\"\u003eRevisiting Conclusions\u003c/h2\u003e\n\u003cp\u003eWhat this updated analysis suggests is that \u003cstrong\u003ein this model, at least, Hamilton\u0026rsquo;s Rule (\u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi\u003er\u003c/mi\u003e\u003cmi\u003eB\u003c/mi\u003e\u003cmo\u003e\u0026gt;\u003c/mo\u003e\u003cmi\u003eC\u003c/mi\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003erB \u0026gt; C\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e) is more than a heuristic.\u003c/strong\u003e One agent-based model returns what its rules build in, so this is a result about the model, still to be tested beyond it.\u003c/p\u003e\n\u003cp\u003eEven in a simulation designed to allow environmental forcing of sociality (a \u0026ldquo;phenotypic plasticity\u0026rdquo; model), the system stabilized into eusociality only when high relatedness was present. The algorithm identified \u003cstrong\u003eRelatedness as a driver, not a passenger.\u003c/strong\u003e\u003c/p\u003e\n\u003ch3 id=\"updated-analysis\"\u003eUpdated Analysis\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eThe NTW Causality Claim\u003c/strong\u003e: NTW\u0026rsquo;s claim that relatedness results from eusociality is not supported by these models. In these models, relatedness was a prerequisite for stable eusociality to emerge, even when we tried to make it secondary.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3 id=\"what-hasnt-changed\"\u003eWhat Hasn\u0026rsquo;t Changed\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eEcological Pressure Matters\u003c/strong\u003e: The simulation confirmed that ecological pressure drives \u003cem\u003ecolony formation\u003c/em\u003e. NTW are right in asserting that a nest is part of the causal chain. But the nest appears merely to provide the \u003cem\u003econditions\u003c/em\u003e for kin selection to work; it is \u003cem\u003enot\u003c/em\u003e itself the cause of eusociality.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eRademacher Complexity\u003c/strong\u003e: We can still compare models based on their complexity (richness), and thereby gain methodological insights into the relative explanatory power of the models. It\u0026rsquo;s notable that the Rademacher Complexity measure alone seemed to be hinting at the ultimate conclusions we reached regarding causality. Kin selection models are often \u0026ldquo;simpler\u0026rdquo; (lower complexity) while retaining high predictive power. There may well be more general principles at play here.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2 id=\"a-note-on-competition-as-cooperation\"\u003eA Note on \u0026ldquo;Competition as Cooperation\u0026rdquo;\u003c/h2\u003e\n\u003cp\u003eThe original essay ends with extended speculation that \u0026ldquo;Competition is Cooperation,\u0026rdquo; suggesting that inter-group conflict catalyzes intra-group cohesion. I will (for now) stand by the sociological observation, but these new results compel me to add a critical caveat regarding the biological mechanism.\u003c/p\u003e\n\u003cp\u003eI was not careful to define what \u0026ldquo;relatedness\u0026rdquo; means in the context of human groups. In the simulation, \u0026ldquo;relatedness\u0026rdquo; was strictly genetic — a measure of shared alleles. But human groups, from tribes to corporations, often cooperate fiercely without being genetic kin.\u003c/p\u003e\n\u003cp\u003eIf my model is correct that \u0026ldquo;relatedness\u0026rdquo; is a structural prerequisite for stable cooperation, then the \u0026ldquo;Competition as Cooperation\u0026rdquo; effect in humans \u003cem\u003emust\u003c/em\u003e depend on our ability to construct \u003cem\u003eartificial\u003c/em\u003e relatedness. We create \u0026ldquo;fictive kinship\u0026rdquo; through shared myths, legal contracts, uniforms, and ideologies. These cultural \u0026ldquo;technologies\u0026rdquo; may then serve a structural function \u003cem\u003eanalogous to\u003c/em\u003e the high relatedness that haplodiploidy gives sister ants, satisfying the \u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi\u003er\u003c/mi\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003er\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e in Hamilton\u0026rsquo;s Rule (\u003cspan class=\"katex\"\u003e\u003cmath xmlns=\"http://www.w3.org/1998/Math/MathML\"\u003e\u003csemantics\u003e\u003cmrow\u003e\u003cmi\u003er\u003c/mi\u003e\u003cmi\u003eB\u003c/mi\u003e\u003cmo\u003e\u0026gt;\u003c/mo\u003e\u003cmi\u003eC\u003c/mi\u003e\u003c/mrow\u003e\u003cannotation encoding=\"application/x-tex\"\u003erB \u0026gt; C\u003c/annotation\u003e\u003c/semantics\u003e\u003c/math\u003e\u003c/span\u003e) not by blood, but by belief.\u003c/p\u003e\n\u003cp\u003eThus, the original conclusion — that competition fosters cooperation  may remain valid, but within a narrower domain: competition selects for groups that have successfully engineered high \u0026ldquo;cultural relatedness,\u0026rdquo; effectively hacking the ancient algorithm of kin selection to operate at the scale of nations. See this essay on \u003ca href=\"https://www.edge.org/conversation/john_tooby-coalitional-instincts?ref=thebrowser.com\"\u003eCoalitional Instincts\u003c/a\u003e for some not-unrelated observations.\u003c/p\u003e\n\u003ch2 id=\"to-be-continued\"\u003eTo be continued?\u003c/h2\u003e\n\u003cp\u003eIn another essay, I will probably revisit the implications this may have for group competition. For now, I\u0026rsquo;ll leave it to the reader to ponder.\u003c/p\u003e\n",
  "content_md": "# The Causal Arrow of Altruism\n\nI recently explored group selection and kin selection models in [an essay on Rademacher Complexity and Group Competition](/group-selection/), attempting to reconcile seemingly irreconcilable differences using measures of model Rademacher Complexity. The essay chose to use the definition of group selection provided by [Nowak, Tarnita, and Wilson (NTW) 2010](https://www.researchgate.net/publication/45952278_The_Evolution_of_Eusociality?ref=symmetrybroken.com), which also proposed that eusociality drives relatedness, a hypothesis the initial results based on [Granger Causality](https://en.wikipedia.org/wiki/Granger_causality) did not support, but also didn't really refute.\n\nA more robust causal analysis was in order. Judea Pearl's [*Book of Why*](https://www.amazon.com/dp/B075CR9QBJ?\u0026linkCode=sl1\u0026tag=symmetrybro04-20\u0026linkId=94ff7bb6b1f3253efa3ef6acc66631f0\u0026language=en_US\u0026ref_=as_li_ss_tl) is a favorite resource for me in analyzing causality, one I wish I had read and learned while still in school many moons ago. (But see also [this interesting post](https://elizabethvannostrand.substack.com/p/the-boring-part-of-bell-labs?ref=thebrowser.com) suggesting that Pearl's work had antecedents in industrial statistics research by George Box.) As Pearl explains in *The Book of Why*, neither correlation nor temporal precedence implies causation. To test how altruism evolves, we have to model the counterfactuals that define structural causation.\n\nWith that in mind, I designed a far more rigorous computational experiment, now available in the updated [GitHub radamacher repository](https://github.com/riemannzeta/radamacher), to test the NTW hypothesis under the harshest possible conditions: a \"neutral\" agent-based model that explicitly removed genetic altruism.\n\n## Weaknesses of Granger Causality\n\nI originally relied on [Granger Causality](https://en.wikipedia.org/wiki/Granger_causality). While often used in econometrics, Granger Causality answers only a narrow question: *\"Does knowing X(t) help predict Y(t+1) better than knowing Y(t) alone?\"*\n\nGranger Causality thereby measures how information flows, not how biology works. Biological variables often co-evolve in feedback loops. If high relatedness and eusociality emerge almost simultaneously, Granger Causality can be fooled by:\n1.  **Common Causes**: An unobserved environmental factor (e.g., a specific nest architecture) could boost both relatedness (by limiting migration) and eusociality (by forcing cooperation).\n2.  **Deterministic Relationships**: If \\(A \\to B\\) is deterministic and fast, \\(A(t)\\) and \\(B(t)\\) might appear perfectly synchronized, masking the causal arrow.\n\nMost critically, we failed to control for confounders. We accepted correlations at face value without asking, *\"What if we intervened?\"*\n\n## Upgrading to Structural Causal Models (SCM)\n\nTo fix this, I built a new pipeline rooted in a *Potential Outcomes Framework* and *Causal Bayesian Networks*.\n\n### The \"Neutral\" Agent-Based Model (`abm_simulation.py`)\nI created a simulation of colony formation \"rigged\" to be as fair as possible to NTW.\n*   **Phenotypic Plasticity**: I removed the \"altruism gene.\" Agents in this model do not inherit a tendency to help.\n*   **Ecological Determinism**: Agents decide to become workers solely based on environmental cues (Ecological Pressure and Resource Scarcity). Relatedness never enters that decision; it is measured afterward. Workers' offspring stay in the colony they were born into, so colonies fill with kin, and any link the analysis finds from Relatedness to Eusociality comes from how colonies are built, not from agents favoring kin.\n*   **The Logic**: If NTW are correct that \"relatedness is a consequence of eusociality,\" then in a world where eusociality is purely environmentally forced, the causal arrow should still point from Colony Formation to Relatedness.\n\n### The Detective: Peter-Clark Algorithm (`causal_discovery.py`)\nI fed the data from this simulation into the Peter-Clark (PC) Algorithm. Unlike regression, which assumes a structure, the PC algorithm *discovers* the structure by systematically testing for conditional independence. It asks:\n\u003e *\"Is Relatedness independent of Eusociality given Colony Formation?\"*\n\n### The Stress Test: Sensitivity \u0026 Forced Grouping (`robust_pearl.py`)\nI applied two further tests:\n1.  **Sensitivity Analysis**: How strong would a hidden confounder have to be to explain away my results?\n2.  **Forced Grouping**: I used \"Ecological Pressure\" as an external shock that forces colonies to form, to see whether grouping alone produces eusociality.\n\n## The Results: An Edge for Kin Selection\n\nThe results of this rigorous analysis (`pearl_results.txt`) provide more rigorous conclusions.\n\n### Finding 1: The Causal Graph\nThe PC Algorithm recovered the following structure from the data:\n\n*   Ecological Pressure → Colony Formation\n*   Ecological Pressure → Eusociality\n*   Relatedness → Eusociality\n*   Relatedness → Colony Formation\n\nCrucially, the algorithm found a direct causal edge:\n**`Relatedness -\u003e Eusociality`**\n\nIt did *not* find the reverse edge (`Eusociality -\u003e Relatedness`) as a primary driver, nor did it find that `Colony Formation` caused `Eusociality` once other factors were controlled for. This absence is telling. If the NTW hypothesis were correct—that eusociality creates the conditions for relatedness to accumulate—the PC algorithm should have identified Eusociality as a parent of Relatedness in the directed acyclic graph (DAG). Instead, it found the opposite. Furthermore, the algorithm severed the link between Colony Formation and Eusociality when Relatedness was included, implying that any observed association between living in groups and being altruistic is actually mediated by the fact that those groups are composed of kin.\n\n### Finding 2: Fragility of Group Selection\nI tested how robust the correlation was between Colony Formation and Eusociality.\n*   **Result**: \\(\\Gamma = 1.0\\)\n*   **Meaning**: The link is extremely fragile. In Rosenbaum's sensitivity analysis, \\(\\Gamma = 1\\) is the case of no hidden bias at all, so a critical \\(\\Gamma\\) of 1.0 means the correlation is not significant even before any unobserved confounder is allowed for. In practical terms, this suggests that \"grouping\" alone does not cause \"altruism.\" If an unmeasured factor—say, a shared gene for \"staying put\"—influenced both the tendency to form groups and the tendency to help, it would create the illusion of a causal link where none exists. The sensitivity analysis reveals that my model cannot rule out such illusions.\n\n### Finding 3: Forced Grouping\nI used Ecological Pressure to force agents into groups.\n*   **Observation**: Pressure did cause groups to form (\\(p \u003c 10^{-6}\\)).\n*   **Causal Effect**: However, these \"forced groups\" did not become eusocial at a significant rate.\n*   **Conclusion**: In this model, simply forcing individuals together (Group Selection) did not generate the high levels of cooperation defined as eusociality. When Ecological Pressure boosted colony formation without directly altering genetics, I saw more colonies but not more workers. This is not an instrumental-variable estimate: the graph in Finding 1 gives Ecological Pressure a direct edge into Eusociality, so it does not act only through grouping. The disconnect suggests, but does not prove, that the physical act of grouping is insufficient to trigger the transition to eusociality.\n\n### Synthesis: The Nuance of Null Results\nFindings 2 and 3 provide the critical context for Finding 1. Finding 1 tells me what *is* the driver (Relatedness), while Findings 2 and 3 suggest what *is not*.\n\nThe fragility of the Group Selection link (Finding 2) and the failure of forced grouping to induce altruism (Finding 3) explain *why* the PC algorithm rejected the `Colony -\u003e Eusociality` edge. The algorithm \"saw\" that while colonies and workers often appear together, forcing one does not yield the other. This leaves Relatedness as the last variable standing in this model. Thus, the case for Hamilton here rests not just on finding his predicted link, but on the collapse of the alternative explanations the model could test.\n\n## Revisiting Conclusions\n\nWhat this updated analysis suggests is that **in this model, at least, Hamilton's Rule (\\(rB \u003e C\\)) is more than a heuristic.** One agent-based model returns what its rules build in, so this is a result about the model, still to be tested beyond it.\n\nEven in a simulation designed to allow environmental forcing of sociality (a \"phenotypic plasticity\" model), the system stabilized into eusociality only when high relatedness was present. The algorithm identified **Relatedness as a driver, not a passenger.**\n\n### Updated Analysis\n*   **The NTW Causality Claim**: NTW's claim that relatedness results from eusociality is not supported by these models. In these models, relatedness was a prerequisite for stable eusociality to emerge, even when we tried to make it secondary.\n\n### What Hasn't Changed\n*   **Ecological Pressure Matters**: The simulation confirmed that ecological pressure drives *colony formation*. NTW are right in asserting that a nest is part of the causal chain. But the nest appears merely to provide the *conditions* for kin selection to work; it is *not* itself the cause of eusociality.\n*   **Rademacher Complexity**: We can still compare models based on their complexity (richness), and thereby gain methodological insights into the relative explanatory power of the models. It's notable that the Rademacher Complexity measure alone seemed to be hinting at the ultimate conclusions we reached regarding causality. Kin selection models are often \"simpler\" (lower complexity) while retaining high predictive power. There may well be more general principles at play here.\n\n## A Note on \"Competition as Cooperation\"\n\nThe original essay ends with extended speculation that \"Competition is Cooperation,\" suggesting that inter-group conflict catalyzes intra-group cohesion. I will (for now) stand by the sociological observation, but these new results compel me to add a critical caveat regarding the biological mechanism.\n\nI was not careful to define what \"relatedness\" means in the context of human groups. In the simulation, \"relatedness\" was strictly genetic — a measure of shared alleles. But human groups, from tribes to corporations, often cooperate fiercely without being genetic kin.\n\nIf my model is correct that \"relatedness\" is a structural prerequisite for stable cooperation, then the \"Competition as Cooperation\" effect in humans *must* depend on our ability to construct *artificial* relatedness. We create \"fictive kinship\" through shared myths, legal contracts, uniforms, and ideologies. These cultural \"technologies\" may then serve a structural function *analogous to* the high relatedness that haplodiploidy gives sister ants, satisfying the \\(r\\) in Hamilton's Rule (\\(rB \u003e C\\)) not by blood, but by belief.\n\nThus, the original conclusion — that competition fosters cooperation  may remain valid, but within a narrower domain: competition selects for groups that have successfully engineered high \"cultural relatedness,\" effectively hacking the ancient algorithm of kin selection to operate at the scale of nations. See this essay on [Coalitional Instincts](https://www.edge.org/conversation/john_tooby-coalitional-instincts?ref=thebrowser.com) for some not-unrelated observations.\n\n## To be continued?\n\nIn another essay, I will probably revisit the implications this may have for group competition. For now, I'll leave it to the reader to ponder.\n",
  "created": "2025-11-24T02:03:18Z",
  "id": "7fqn3cwgpat5x6gt9fp52ea2tt",
  "kind": "thread",
  "media": [],
  "origin": "https://www.symmetrybroken.com/",
  "page": "https://www.symmetrybroken.com/the-causal-arrow-of-altruism/",
  "transclusions": [],
  "updated": "2026-11-19T00:17:31Z",
  "version": 2
}