<script data-pm-proxy="intercept"></script><?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[The Principle Investigator]]></title><description><![CDATA[The Principle Investigator]]></description><link>https://danyamins.substack.com</link><image><url>https://substackcdn.com/image/fetch/$s_!PWX0!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997c9a1c-e4bc-463c-b0e5-b2cdd11950b3_698x698.png</url><title>The Principle Investigator</title><link>https://danyamins.substack.com</link></image><generator>Substack</generator><lastBuildDate>Wed, 02 Sep 2026 16:23:21 GMT</lastBuildDate><atom:link href="/__u/danyamins.substack.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Dan Yamins]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[danyamins@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[danyamins@substack.com]]></itunes:email><itunes:name><![CDATA[Dan Yamins]]></itunes:name></itunes:owner><itunes:author><![CDATA[Dan Yamins]]></itunes:author><googleplay:owner><![CDATA[danyamins@substack.com]]></googleplay:owner><googleplay:email><![CDATA[danyamins@substack.com]]></googleplay:email><googleplay:author><![CDATA[Dan Yamins]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Contravariance Theory, Part 4b: RSA Empirics]]></title><description><![CDATA[Let's look at a whole bunch of scatter plots.]]></description><link>https://danyamins.substack.com/p/contravariance-theory-part-4b-rsa</link><guid isPermaLink="false">https://danyamins.substack.com/p/contravariance-theory-part-4b-rsa</guid><dc:creator><![CDATA[Dan Yamins]]></dc:creator><pubDate>Mon, 24 Aug 2026 15:33:09 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!dYIq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em><span>(This post is part of a series on </span><a href="https://arxiv.org/abs/2607.08561"><span>Contravariance Theory</span></a><span>. See </span><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part0">Part 0</a><span> to get the big picture. This post is the data-driven companion to </span><a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4a-rsa"><span>Part 4a: RSA Theory</span></a><span>, a broader conceptual and mathematical discussion of RSA.)</span></em></p><h3>Overview</h3><p>The <em><a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4a-rsa">Part 4a: RSA Theory</a> </em>post has 4 predictions for the RSA-ridge relationship.   Here, we illustrate them empirically: </p><ol><li><p><a href="/__u/danyamins.substack.com/i/210089051/1-ridge-vs-rsa">Ridge vs RSA</a>: does the <a href="/__u/danyamins.substack.com/i/209661486/5-the-rsa-ridge-relationship">theoretically-predicted ridge-vs-RSA frontier formula</a> hold, at least approximately?</p></li><li><p><a href="/__u/danyamins.substack.com/i/210089051/2-predicting-behavior">Predicting high-level behaviors</a>: does the ridge metric of neural fit better predict metrics of human visual behavior patterns, as compared to the RSA metric of neural fit, <a href="/__u/danyamins.substack.com/i/209661486/3-connection-to-behavior-and-mechanism">as weak-strong equivalence results would suggest</a>?</p></li><li><p><a href="/__u/danyamins.substack.com/i/210089051/3-low-level-visual-phenomenology">Low-level visual phenomenology</a>: which neural-fit metric better predicts V1 physiology metrics? </p></li><li><p><a href="/__u/danyamins.substack.com/i/210089051/4-sampling-issues">Sampling issues</a>: which neural-fit metric better aligns different data samples of the same modality and brain area? </p></li></ol><h3>1. Ridge vs RSA</h3><p><a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4a-rsa">Part 4a: RSA Theory</a> told us that we expect an RSA-vs-ridge plot to look something like one of the below plots:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!dYIq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!dYIq!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png 424w, /__u/substackcdn.com/image/fetch/$s_!dYIq!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png 848w, /__u/substackcdn.com/image/fetch/$s_!dYIq!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dYIq!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!dYIq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png" width="1456" height="616" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:616,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:126619,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!dYIq!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png 424w, /__u/substackcdn.com/image/fetch/$s_!dYIq!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png 848w, /__u/substackcdn.com/image/fetch/$s_!dYIq!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dYIq!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F57f30dee-33d6-4245-9178-cce45165f578_2478x1049.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The left plot above obtains if the RSA is pretty close to &#8220;canonical&#8221; &#8212; e.g. not contaminated by task-irrelevant noise.  The right is more like one would expect if task-irrelevant noise dominates. </p><p>How does RSA relate to ridge in practice?  Let&#8217;s look at some plots.  We&#8217;ll start with data from the Natural Scenes Dataset (NSD).   Each panel below corresponds to one of the brain areas in the NSD localizer scheme.  Each dot is a model, and the model zoo ranges over a wide set of distinct vision models.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>  The <em><strong>x</strong></em>-axis of each plot is RSA similarity and the <em><strong>y</strong></em>-axis is Pearson&#8217;s <em><strong>r</strong></em> between data and the ridge-fit model predictions.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a>  </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!KN78!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!KN78!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png 424w, /__u/substackcdn.com/image/fetch/$s_!KN78!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png 848w, /__u/substackcdn.com/image/fetch/$s_!KN78!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png 1272w, /__u/substackcdn.com/image/fetch/$s_!KN78!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!KN78!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png" width="1456" height="1357" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1357,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:122851,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!KN78!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png 424w, /__u/substackcdn.com/image/fetch/$s_!KN78!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png 848w, /__u/substackcdn.com/image/fetch/$s_!KN78!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png 1272w, /__u/substackcdn.com/image/fetch/$s_!KN78!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd1de1b10-998c-49ca-8aa3-b4fd6692de9b_2787x2597.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>To my eye, the NSD results seem pretty canonical, actually &#8212; fairly clean-looking. </p><p>Here are the results for the <a href="https://laion-fmri.hebartlab.com/index.html">LAION-fMRI dataset</a> &#8212; pretty similar looking: </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!n6AT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!n6AT!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png 424w, /__u/substackcdn.com/image/fetch/$s_!n6AT!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png 848w, /__u/substackcdn.com/image/fetch/$s_!n6AT!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png 1272w, /__u/substackcdn.com/image/fetch/$s_!n6AT!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!n6AT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png" width="1456" height="3039" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:3039,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:367381,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!n6AT!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png 424w, /__u/substackcdn.com/image/fetch/$s_!n6AT!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png 848w, /__u/substackcdn.com/image/fetch/$s_!n6AT!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png 1272w, /__u/substackcdn.com/image/fetch/$s_!n6AT!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff61419be-b3ad-432e-a0b3-81755b929e40_2779x5800.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here is the same for the <a href="https://www.nature.com/articles/s41467-024-50310-3">Bold Moments Dataset (BMD)</a>. Much the same pattern emerges, a bit less clean &#8212; a little more confounded than the NSD or LAION-fMRI results<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-3" href="#footnote-3" target="_self">3</a>:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!6LhE!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!6LhE!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png 424w, /__u/substackcdn.com/image/fetch/$s_!6LhE!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png 848w, /__u/substackcdn.com/image/fetch/$s_!6LhE!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6LhE!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!6LhE!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png" width="1456" height="2037" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2037,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:222083,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!6LhE!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png 424w, /__u/substackcdn.com/image/fetch/$s_!6LhE!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png 848w, /__u/substackcdn.com/image/fetch/$s_!6LhE!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png 1272w, /__u/substackcdn.com/image/fetch/$s_!6LhE!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc777da90-58ef-41b6-9932-9f1ef9b2965b_2780x3890.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>And finally, here is the same for the <a href="https://www.cell.com/neuron/fulltext/S0896-6273(24)00881-X">Things Ventral-stream Spiking Dataset (TVSD)</a>:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!IIVS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!IIVS!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png 424w, /__u/substackcdn.com/image/fetch/$s_!IIVS!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png 848w, /__u/substackcdn.com/image/fetch/$s_!IIVS!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png 1272w, /__u/substackcdn.com/image/fetch/$s_!IIVS!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!IIVS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png" width="1456" height="461" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:461,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29004,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!IIVS!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png 424w, /__u/substackcdn.com/image/fetch/$s_!IIVS!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png 848w, /__u/substackcdn.com/image/fetch/$s_!IIVS!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png 1272w, /__u/substackcdn.com/image/fetch/$s_!IIVS!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9ab96f9f-68b2-4202-a88c-0c6f704137f4_2080x658.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Results in V1 and V4 look &#8220;kind of ok&#8221; in an absolute sense, but comparatively noisy in comparison to the fMRI cases, presumably due to the difficulty of obtaining a nonbiased sample with electrophysiology methods, especially in early visual areas. </p><div class="callout-block" data-callout="true"><p><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI:</span></mark>  The RSA/ridge relationship is pretty tight in many cases even without canonicalization, but is probably fairly susceptible to sampling incompleteness inherent in real neural samples. </p></div><h3>2. Predicting high-level behaviors</h3><p>Another prediction of the contravariance theory for RSA and ridge is that raw RSA will be less predictive of behavior across a wide variety of model implementations than ridge, because raw RSA doesn&#8217;t obey Zippering (e.g. control by downstream task) while linear similarity does.  We can test this by plotting behavioral metrics against the same neural fit metrics as above.   </p><p><a href="https://www.brain-score.org/">Brain-Score</a> implements a wide variety of <a href="https://www.brain-score.org/tutorials/benchmarks/behavioral-benchmarks/">behavioral metrics</a> and has a strong model zoo, so it&#8217;s a good place to start.  We are interested in asking: &#8220;To what extent does a model&#8217;s being brain-like, under one or another quantitative metric of brain-likeness, predict its behavioral consistency?&#8221;  Thus we consider brain-likeness as assessed relative to several recent large-scale neural datasets, including NSD, TVSD, and the just-released <a href="https://laion-fmri.hebartlab.com/index.html">LAION-fMRI dataset</a>.   </p><p>Behavioral consistency can be assessed by any of the &#8220;behavioral&#8221; metrics on Brain-Score.  There are 43 individual (non-aggregate) behavioral metrics, and we consider them all.   Each of these measures a model&#8217;s consistency with some pattern of human behavior, rather than its raw performance accuracy on some task.   Each metric is based on comparing model error patterns to those measured in a real human psychophysical experiment on some task.  </p><p>Here are the results of one, the <code>Rajalingham-i2n</code> metric, which <a href="https://pubmed.ncbi.nlm.nih.gov/30006365/">tests the ability of a model to predict image-by-image human object-recognition confusion patterns across several thousand naturalistic images</a>.   The <em><strong>x</strong></em>-axis is model-to-human behavioral similarity according to this metric, the <em><strong>y</strong></em>-axis remains ridge-based neural similarity.  Each row is a different neural dataset and each column is a different brain area (V1, V4, and IT). </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ubxp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ubxp!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png 424w, /__u/substackcdn.com/image/fetch/$s_!ubxp!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png 848w, /__u/substackcdn.com/image/fetch/$s_!ubxp!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ubxp!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ubxp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png" width="1456" height="1254" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1254,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:484394,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!ubxp!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png 424w, /__u/substackcdn.com/image/fetch/$s_!ubxp!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png 848w, /__u/substackcdn.com/image/fetch/$s_!ubxp!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ubxp!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3db3883-b8f6-43bb-a1b7-25b50a4c2444_2340x2015.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We notice that the correlations are pretty decent from IT, and nontrivial but less good from V1.  This is not a major surprise, since IT is thought to support object recognition behavior, but it&#8217;s good to see the intuition confirmed. </p><p>Now let&#8217;s have a look at the same Dependent Variables (DVs), but with different Independent Variables (IVs) &#8212; in this case, RSA similarity:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!7qT2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!7qT2!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png 424w, /__u/substackcdn.com/image/fetch/$s_!7qT2!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png 848w, /__u/substackcdn.com/image/fetch/$s_!7qT2!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png 1272w, /__u/substackcdn.com/image/fetch/$s_!7qT2!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!7qT2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png" width="1456" height="663" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:663,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:242223,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!7qT2!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png 424w, /__u/substackcdn.com/image/fetch/$s_!7qT2!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png 848w, /__u/substackcdn.com/image/fetch/$s_!7qT2!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png 1272w, /__u/substackcdn.com/image/fetch/$s_!7qT2!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2bff0d1b-e197-4621-b520-2621c0eae0e2_2340x1066.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We only show NSD and LAION-fMRI comparisons here because Brain-Score doesn&#8217;t implement RSA for the TVSD dataset.   But the conclusion is pretty clear: <strong>ridge tracks behavior substantially more accurately than (raw) RSA, despite ridge and RSA being decently correlated as shown in the last section. </strong> <em>Attempting to predict behavioral similarity pulls RSA and ridge apart.</em> </p><p>This pattern is not confined to the <code>Rajalingham-i2n</code> metric.  Here are similar results for the <code>Geirhos2021eidolonIII-error_consistency</code> metric, which measures model error-pattern similarity to human choices in images with blurred object appearances but natural pixel distributions (see Fig. 12 in <a href="https://ar5iv.labs.arxiv.org/html/1811.12231">the Geirhos texture-bias paper</a>).   First from ridge:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!H-qm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!H-qm!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png 424w, /__u/substackcdn.com/image/fetch/$s_!H-qm!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png 848w, /__u/substackcdn.com/image/fetch/$s_!H-qm!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png 1272w, /__u/substackcdn.com/image/fetch/$s_!H-qm!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!H-qm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png" width="1456" height="1254" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1254,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:490467,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!H-qm!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png 424w, /__u/substackcdn.com/image/fetch/$s_!H-qm!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png 848w, /__u/substackcdn.com/image/fetch/$s_!H-qm!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png 1272w, /__u/substackcdn.com/image/fetch/$s_!H-qm!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e2d851d-b8e4-4545-9ac2-25bc7c130742_2340x2015.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Then from RSA:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!dMPj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!dMPj!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png 424w, /__u/substackcdn.com/image/fetch/$s_!dMPj!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png 848w, /__u/substackcdn.com/image/fetch/$s_!dMPj!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dMPj!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!dMPj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png" width="1456" height="663" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:663,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:221158,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!dMPj!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png 424w, /__u/substackcdn.com/image/fetch/$s_!dMPj!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png 848w, /__u/substackcdn.com/image/fetch/$s_!dMPj!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png 1272w, /__u/substackcdn.com/image/fetch/$s_!dMPj!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F259c2303-fc0e-449c-81f8-c7398e208b9b_2340x1066.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The absolute correlations are lower (like ~0.65 from IT to the metric rather than ~0.85) but the ridge-RSA pattern remains the same.</p><p>In fact, taken across all the behavioral metrics in the Brain-Score collection, the pattern is extremely robust: </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!sYff!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!sYff!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png 424w, /__u/substackcdn.com/image/fetch/$s_!sYff!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png 848w, /__u/substackcdn.com/image/fetch/$s_!sYff!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png 1272w, /__u/substackcdn.com/image/fetch/$s_!sYff!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!sYff!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png" width="1456" height="728" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/baa78b95-b82b-402f-8900-161f49d8f741_1600x800.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:728,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:96441,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!sYff!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png 424w, /__u/substackcdn.com/image/fetch/$s_!sYff!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png 848w, /__u/substackcdn.com/image/fetch/$s_!sYff!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png 1272w, /__u/substackcdn.com/image/fetch/$s_!sYff!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbaa78b95-b82b-402f-8900-161f49d8f741_1600x800.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">y-axis = mean across behavior metrics of Pearson&#8217;s <em><strong>r</strong></em> of the neural-score-vs-behavioral-metric scatter plot. each dot is a distinct behavioral metric</figcaption></figure></div><p>Breaking that out more finely, out of 172 metric / brain area combinations, RSA is more correlated to behavior than ridge in only 3 situations.  This is summarized here:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!5ApG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!5ApG!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png 424w, /__u/substackcdn.com/image/fetch/$s_!5ApG!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png 848w, /__u/substackcdn.com/image/fetch/$s_!5ApG!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png 1272w, /__u/substackcdn.com/image/fetch/$s_!5ApG!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!5ApG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png" width="1456" height="2003" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:2003,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:320629,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!5ApG!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png 424w, /__u/substackcdn.com/image/fetch/$s_!5ApG!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png 848w, /__u/substackcdn.com/image/fetch/$s_!5ApG!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png 1272w, /__u/substackcdn.com/image/fetch/$s_!5ApG!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F69b03156-f608-459d-a31f-a490334c1bb4_1812x2493.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="callout-block" data-callout="true"><p><mark data-color="rgb(255, 255, 0)" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI:</span></mark><span data-color="#ff0000" style="color: rgb(255, 0, 0);"> </span> Task-irrelevant symmetries have a meaningful effect on RSA&#8217;s ability to align neural predictivity with behavioral metrics, an issue that does not affect ridge similarity.  </p></div><h3>3. Low-level visual phenomenology</h3><p>One might wonder if the ability of ridge to better predict measurement variables than RSA similarity is confined to &#8220;high-level&#8221; behaviors.  To test this we consider the <code>V1-Marques</code> metrics in Brain-Score. These metrics were compiled from the literature on &#8220;classic&#8221; V1 physiology, and measure detailed single-neuron phenomenologies such as circular variance and texture selectivity.   There are a total of 22 such metrics in Brain-Score.</p><p>Here are ridge-vs-metric results for texture selectivity in the <a href="https://www.pnas.org/doi/10.1073/pnas.1510847113">Freeman-Ziemba V1/V2 dataset</a>: </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!18Y4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!18Y4!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png 424w, /__u/substackcdn.com/image/fetch/$s_!18Y4!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png 848w, /__u/substackcdn.com/image/fetch/$s_!18Y4!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png 1272w, /__u/substackcdn.com/image/fetch/$s_!18Y4!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!18Y4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png" width="1456" height="1254" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1254,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:470580,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!18Y4!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png 424w, /__u/substackcdn.com/image/fetch/$s_!18Y4!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png 848w, /__u/substackcdn.com/image/fetch/$s_!18Y4!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png 1272w, /__u/substackcdn.com/image/fetch/$s_!18Y4!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc11a7c2a-b69d-4179-a7e3-2f3843d4bee9_2340x2015.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">dots are individual models; x-axis is value on Freeman-Ziemba V1 texture metric; y-axis is neural ridge fit score on held-out images on the indicated dataset/area; NB: V2 is not available in the TVSD dataset.</figcaption></figure></div><p>Overall absolute predictivities are not amazing numerically, but it&#8217;s hard to know exactly what the noise ceilings are (this is definitely a question for another time!).  Relatively speaking, however, the pattern is maintained &#8212; predictivity drops substantially when we pass to RSA:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!1F58!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!1F58!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png 424w, /__u/substackcdn.com/image/fetch/$s_!1F58!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png 848w, /__u/substackcdn.com/image/fetch/$s_!1F58!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1F58!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!1F58!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png" width="1456" height="663" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:663,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:224081,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!1F58!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png 424w, /__u/substackcdn.com/image/fetch/$s_!1F58!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png 848w, /__u/substackcdn.com/image/fetch/$s_!1F58!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1F58!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b347df9-754b-4372-a17a-d2db718703b8_2340x1066.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">dots are individual models; x-axis is value on Freeman-Ziemba V1 texture metric; y-axis is RSA score on the indicated dataset/area</figcaption></figure></div><p>Looking across all areas and V1 metrics, we see the pattern robustly.   For example, using the NSD dataset as the prediction signal, and looking across the main areas covered by Brain-Score we see:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!E2de!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!E2de!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png 424w, /__u/substackcdn.com/image/fetch/$s_!E2de!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png 848w, /__u/substackcdn.com/image/fetch/$s_!E2de!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png 1272w, /__u/substackcdn.com/image/fetch/$s_!E2de!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!E2de!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png" width="1456" height="868" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:868,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:142402,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!E2de!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png 424w, /__u/substackcdn.com/image/fetch/$s_!E2de!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png 848w, /__u/substackcdn.com/image/fetch/$s_!E2de!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png 1272w, /__u/substackcdn.com/image/fetch/$s_!E2de!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b8f81a0-9c76-49bf-b64e-5a093ad615b7_1681x1002.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>We find that V1-Ridge results are meaningfully better than other areas and RSA at predicting low-level V1 physiology.  And here is the summary result for predicting low-level V1 metrics from V1 neural predictivity metrics, over all the main datasets in Brain-Score that support this kind of comparison, including NSD V1, LAION-fMRI V1, <a href="https://www.biorxiv.org/content/10.1101/2025.05.06.652408v1">Triple-N</a> V1, and the underlying Freeman-Ziemba V1 data:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!MYSq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!MYSq!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png 424w, /__u/substackcdn.com/image/fetch/$s_!MYSq!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png 848w, /__u/substackcdn.com/image/fetch/$s_!MYSq!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MYSq!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!MYSq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png" width="1456" height="643" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:643,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:417873,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!MYSq!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png 424w, /__u/substackcdn.com/image/fetch/$s_!MYSq!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png 848w, /__u/substackcdn.com/image/fetch/$s_!MYSq!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png 1272w, /__u/substackcdn.com/image/fetch/$s_!MYSq!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1542743b-e834-491a-b345-b8815d7ed577_3223x1423.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Again, while overall predictivities are not amazing<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-4" href="#footnote-4" target="_self">4</a>, ridge retains a meaningful edge over RSA for all datasets and essentially all metrics. </p><p>Why do we see all these results pointing in the same direction, whether they are &#8220;high-level behaviors&#8221; or low-level V1 physiology measures?   We posit that the underlying cause of these observations is the contravariance theory consequence described in <a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4a-rsa">Part 4a: RSA Theory</a>: that the task-linked core geometry component of RSA  &#8212; and <em>only</em> that component &#8212; obeys weak-strong equivalence and zippering. </p><div class="callout-block" data-callout="true"><p><mark data-color="rgb(255, 255, 0)" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI:</span></mark>  The pattern of ridge being a better predictor of other outcome DVs is not just confined to high-level behaviors, consistent with the generality of the underlying theoretical explanation for these results. </p></div><h3>4. Sampling issues</h3><p>One of the major issues discussed in <a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4a-rsa">Part 4a: RSA Theory</a> is the fact that raw RSA is susceptible to sampling issues, essentially because sampling issues are the &#8220;measurement consequences&#8221; of the task-irrelevant symmetry nuisances identified in <a href="https://openreview.net/forum?id=CT8TbdqYmn">the Thei&#223; et al paper</a>. </p><p>The issue of sampling is especially pronounced in ephys datasets because of the nature of sampling, especially in older-school single-electrode datasets (such as the Freeman-Ziemba).  It is thus instructive to compare the alignment of RSA and ridge on two different neural samples.  In this case we compare the older Freeman-Ziemba V1 dataset against TVSD-V1.  The Freeman-Ziemba V1 dataset consists of 105 single electrode sites tested on 315 oriented Gabor and texture stimuli, while the TVSD V1 dataset consists of 960 array electrode sites tested on approximately 22k natural images.  </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!ZcbZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!ZcbZ!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png 424w, /__u/substackcdn.com/image/fetch/$s_!ZcbZ!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png 848w, /__u/substackcdn.com/image/fetch/$s_!ZcbZ!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ZcbZ!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!ZcbZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png" width="1456" height="766" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:766,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:29364,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/210089051?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!ZcbZ!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png 424w, /__u/substackcdn.com/image/fetch/$s_!ZcbZ!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png 848w, /__u/substackcdn.com/image/fetch/$s_!ZcbZ!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png 1272w, /__u/substackcdn.com/image/fetch/$s_!ZcbZ!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd299d7e0-3e35-44bf-b80c-207f695373f7_1498x788.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Under ridge we can see that these datasets are both measuring a common physical system (macaque V1) with a common methodology (electrophysiology); under raw RSA this is substantially obscured. </p><div class="callout-block" data-callout="true"><p><mark data-color="rgb(255, 255, 0)" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI:</span></mark>  Sampling is a big problem for neuroscience. </p></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>In most of the plots shown in this post, we use <a href="https://www.brain-score.org/">Brain-Score</a> as the source of data.  However for the RSA-vs-ridge analysis we wanted to show areas other than just V1, V2, V4, and IT, and those are not accessible via Brain-Score.  Thus we are using our own lab-internal model zoo for this purpose, courtesy of the work of Khaled Jedoui. </p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-2" href="#footnote-anchor-2" class="footnote-number" contenteditable="false" target="_self">2</a><div class="footnote-content"><p>Specifically, for each neural unit (electrode site or voxel, depending on the dataset): (i) the ridge-fit predictions are extracted on held-out test images, (ii) Pearson&#8217;s r is computed for that unit; and (iii) the reported score is median predictivity over units in the indicated brain area. </p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-3" href="#footnote-anchor-3" class="footnote-number" contenteditable="false" target="_self">3</a><div class="footnote-content"><p>And for BMD, which is a video dataset, the predictivities are worse relative to the noise ceilings than for the static image dataset.  This is orthogonal I suppose to the topical issue of RSA-vs-ridge, but it indicates, perhaps unsurprisingly, that at least in some brain areas, standard vision models, which are mostly image-based, are not as good at predicting the neural responses to videos. </p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-4" href="#footnote-anchor-4" class="footnote-number" contenteditable="false" target="_self">4</a><div class="footnote-content"><p>An interesting question for a future post&#8230;</p></div></div>]]></content:encoded></item><item><title><![CDATA[Contravariance Theory, Part 4a: RSA theory]]></title><description><![CDATA[A tale of two metrics, or, coming to terms with symmetries.]]></description><link>https://danyamins.substack.com/p/contravariance-theory-part-4a-rsa</link><guid isPermaLink="false">https://danyamins.substack.com/p/contravariance-theory-part-4a-rsa</guid><dc:creator><![CDATA[Dan Yamins]]></dc:creator><pubDate>Mon, 24 Aug 2026 15:33:00 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!HPYQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em><span>(This post is part of a series on </span><a href="https://arxiv.org/abs/2607.08561"><span>Contravariance Theory</span></a><span>. See </span><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part0">Part 0</a><span> to get the big picture.  This is a &#8220;theory-heavy&#8221; post &#8212; also see the companion </span><a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4b-rsa"><span>Part 4b: RSA empirics</span></a><span> for real data.)</span></em></p><p>There are many metrics NeuroAI people use for comparing neural network models to real brain data.  There&#8217;s also a lot of argument about which one(s) are &#8220;right&#8221;, and to what extent the metrics agree with each others&#8217; assessment of model correctness.  Here we address one of the main arguments in this field (&#8220;regression vs RSA&#8221;) from the Weak-Strong Equivalence perspective.  (See series <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">Part 1</a> for a refresher on Weak-Strong equivalence.)   </p><h3>Contents</h3><ol><li><p><a href="/__u/danyamins.substack.com/i/209661486/1-the-rsa-vs-linear-regression-debate">The RSA vs linear regression debate</a></p></li><li><p><a href="/__u/danyamins.substack.com/i/209661486/2-decomposing-rsms-into-core-and-noise-terms">Decomposing RSMs into core and noise terms. </a></p></li><li><p><a href="/__u/danyamins.substack.com/i/209661486/3-connection-to-behavior-and-mechanism">Connection to behavior and mechanism</a></p></li><li><p><a href="/__u/danyamins.substack.com/i/209661486/4-canonical-rsa-and-weak-strong-equivalence">Canonical RSA and weak-strong equivalence</a></p></li><li><p><a href="/__u/danyamins.substack.com/i/209661486/5-the-rsa-ridge-relationship">The RSA-ridge relationship</a></p></li><li><p><a href="/__u/danyamins.substack.com/i/209661486/6-neural-sampling-is-symmetry-like-noise">Neural sampling is &#8220;symmetry-Like noise&#8221;</a></p></li><li><p><a href="/__u/danyamins.substack.com/i/209661486/does-the-choice-of-metric-matter-revisited">Does the choice of metric matter? Revisited.</a></p></li></ol><div><hr></div><h3>1. The RSA vs Linear Regression debate</h3><p>Two of the main metrics the NeuroAI community uses are:</p><ol><li><p><strong>Linear regression similarity </strong>(basically the same as &#8220;weak alignment&#8221; in <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">earlier posts in this series</a>).  Linear regression similarity metrics come in a number of flavors, but they all basically work by (a) fitting a linear map between source and target using some training set; (b) measuring per-unit (neuron/voxel) prediction accuracy on held-out stimuli; and (c) reporting an average over units. </p></li><li><p><strong><a href="https://www.frontiersin.org/journals/systems-neuroscience/articles/10.3389/neuro.06.004.2008/full">Representational Similarity Analysis (RSA).</a></strong> RSA also comes in a number of flavors, but basically works by computing, for each feature set, a Representational Similarity Matrix (RSM) &#8212; that is, a NxN matrix of correlations between feature vectors, where N is the number of stimuli. (The features can come from either neural data or model activations.) The (i,j)-th entry of the RSM is a similarity measure: it&#8217;s 1 if the feature set &#8220;thinks&#8221; stimulus <em>i</em> and stimulus <em>j</em> are essentially the same.  The whole RSM is like a layout across all the stimuli of which stimuli the feature set &#8220;thinks&#8221; are relatively similar to each other and which are not, which is why the RSM is sometimes called the &#8220;representational geometry&#8221;.  Two feature generators are compared by correlating their RSMs (thought of as long flattened-out vectors); the output of this comparison is the RSA score between two representations, which is high (close to 1.0) whenever two feature sets basically make the same default judgements about which stimuli are similar/different.  </p></li></ol><p>Each of these metrics has surface-level pros and cons.  Regression similarity can lead to high prediction power (which is useful for practical purposes), since it optimizes a bunch of parameters (the regression weights) explicitly to improve predictions.  By the same token, regression needs quite a bit of data to fit the regression parameters well.  Conversely, RSA doesn&#8217;t need to estimate any additional parameters (and so can be useful in low-data regimes). But by the same token, RSA might underestimate the latent representational capacity that <em>could be</em> extracted from a set of features by a downstream interpreter that has the ability do some reweighting (such as a real neuronal &#8220;readout&#8221; might do). </p><p>But this direct accounting of practical pros and cons doesn&#8217;t really capture a deeper issue about metric choice in NeuroAI.  A major question (maybe you could even say &#8220;controversy&#8221;) that has arisen in the field asks something like: </p><p><em>&#8220;Which metric is more the right way to compare candidate models to neural data for the purposes of true understanding? Is there a tradeoff between maximizing prediction accuracy and achieving scientific meaning?&#8221;</em></p><p>With this issue in mind, let&#8217;s dive into what the new version of <a href="https://arxiv.org/pdf/2607.08561">the Contravariance Theory paper</a> tells us about RSA and its relation to linear regression.  (For all the gory math details see &#167;A.12 of the paper&#8217;s appendix.  Also see &#167;A.13 for a similar treatment of another popular metric, Centered Kernel Analysis (CKA).)</p><div><hr></div><h3>2. Decomposing RSMs into core and noise terms. </h3><p>Much of our thinking about RSA in <a href="https://arxiv.org/pdf/2607.08561">the Contravariance Theory paper</a> is built on  recent work from Thei&#223;, Braun, Saxe, and Grant, entitled <em><a href="https://openreview.net/forum?id=CT8TbdqYmn">Parameter symmetries determine representational geometry in overparameterized nonlinear networks</a></em>, from here referred to as <strong>[TBSG]</strong>. </p><p>The first main result of <strong><a href="https://openreview.net/forum?id=zkXKbDdBdn">[TBSG]</a></strong> is that RSMs decompose into two parts<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{equation}\n\\mathbf{RSM} \\quad =\\underbrace{\\sum_{j=1}^{m}\\gamma_jq_j}_{\\substack{\\text{task-linked}\\\\\\text{core geometry}}}\n +\\underbrace{a.}_{\\substack{\\text{noise geometry}\\\\\\text{from symmetry-induced}\\\\\\text{redundant features}}}\n\\end{equation}&quot;,&quot;id&quot;:&quot;PBKZYKQIWG&quot;}" data-component-name="LatexBlockToDOM"></div><p>where:</p><ul><li><p>the <em><strong>q<sub>j</sub></strong><sub> </sub></em>factors are computed from the privileged axes, </p></li><li><p>the <strong>&#120574;</strong><em><strong><sub>j</sub></strong></em> factors are controlled by reweightings and multiplicity of the privileged axes, and as such do not affect the downstream computations, and</p></li><li><p>the <em><strong>a</strong></em> matrix is determined only by function-preserving symmetries that are irrelevant to the represented function.  Thei&#223; <em>et al</em> call the <em><strong>a</strong></em> matrix &#8220;noise&#8221;, because it&#8217;s entirely composed of nuisance degrees of freedom. </p></li></ul><p>The [TBSG] decomposition has two major consequences.  </p><p>First, the &#8220;raw&#8221; RSM can be totally dominated by factors that are independent of functionality. Indeed, the <strong>&#120574;</strong><em><strong><sub>j</sub> </strong></em>values and <em><strong>a </strong></em>matrix can be chosen so that two representations with identical privileged axes (and thus identical <em><strong>q<sub>j</sub></strong></em><sub> </sub>factors) can have arbitrarily different RSMs &#8212; e.g. be arbitrarily far apart under the RSA metric &#8212; even though they compute the same downstream function.   These factors can obscure or even dominate the part of the RSM that reflects the features actually used in the computation.  They are &#8220;functionally silent but geometrically visible&#8221;. </p><p>Second, the RSM has a uniquely-determined core geometry that <em>is</em> task linked, and where perturbations to that geometry would have substantial consequences on the downstream represented function.   To get at that core geometry, one needs to remove the <em><strong>a</strong></em> matrix and normalize out the <strong>&#120574;</strong><em><strong><sub>j</sub></strong></em> factors &#8212; that is one needs to <em>canonicalize</em>.</p><div class="callout-block" data-callout="true"><p><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI (from [TSBG]):</span></mark> Raw representational geometry is very sensitive to factors that don&#8217;t really matter for the computation.  However, there is a <em><strong>unique</strong></em> <em><strong>core geometry</strong></em> present in every feature set that <strong>is</strong> task-linked.</p></div><div><hr></div><h3>3. Connection to Behavior and Mechanism </h3><p>The above result has a key conceptual implication for contravariance.  Recall from Parts 1 and 2 of this series that in the hard task-constrained regime, linear similarity is both connected to lower-level mechanistic structure recorded in the privileged axes (Weak-Strong Equivalence), and highly constrained by the task (through Zippering).  However, as we&#8217;ve just seen, RSA can be dominated by task- and privileged axis-irrelevant factors. Thus, we should predict that RSA similarity will in general be <em><strong>less correlated across trained neural network models</strong></em> than ridge similarity with other factors that themselves <em>do</em> depend on the core computation &#8212; such as downstream behavior (e.g. task error patterns) or upstream privileged axes metrics (e.g. V1 unit tuning-curves) .    </p><div class="callout-block" data-callout="true"><p><mark data-color="rgb(255, 255, 0)" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key prediction for NeuroAI: </span></mark> RSA should be a less good predictor of behavioral and mechanistic metrics than ridge similarity, in the task-constraining model regime.  The nuisance factors will get in RSA&#8217;s way.</p></div><p>See <a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4b-rsa">Part 4b: RSA empirics</a> for an investigation of this prediction from an empirical viewpoint.</p><div><hr></div><h3>4. Canonical RSA and Weak-Strong Equivalence</h3><p><em>Canonicalization</em> is a process by which the task-irrelevant factors are removed to reveal the core geometry.   In <a href="https://arxiv.org/pdf/2607.08561">the Contravariance Theory paper</a> appendix &#167;A.12.5, we describe two ways to do this:</p><p><em><strong>Privileged-Axis Normalized RSM:</strong></em> First, you can work directly with the privileged axes, ensure only one copy of each privileged axis type is used, and divide by its norm, before computing the RSM.  More formally, for each privileged axis <em>f<sub>j</sub></em>, define the normalized RSM component for that axis by</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\n P[f_j]:=\\frac{f_jf_j^\\top}{\\|f_j\\|_2^2}\n&quot;,&quot;id&quot;:&quot;NKHPJHJKJY&quot;}" data-component-name="LatexBlockToDOM"></div><p>(this is an a <em>N</em>x<em>N</em> matrix, where <em>N</em> is the number of stimuli) and, assuming there are <em>m</em> preferred axes, define the axis-normalized canonical RSM by:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\mathbf{RSM}_{\\rm ax}(G)\n :=\\frac1m\\sum_{j=1}^{m}P[f_j].&quot;,&quot;id&quot;:&quot;ZXSUBAZMAI&quot;}" data-component-name="LatexBlockToDOM"></div><p>In words, this makes each essential feature&#8217;s response profile unit length, gives each essential axis one copy and equal weight, and computes the usual RSM of that canonicalized representation. </p><p><em><strong>Minimum-Norm Balanced RSM: </strong></em>Unlike the axis-normalized idea above, in <strong><a href="https://openreview.net/forum?id=zkXKbDdBdn">[TBSG]</a></strong> a more sensitive (but complicated) approach is taken: instead of discarding axis weights, <strong><a href="https://openreview.net/forum?id=zkXKbDdBdn">[TBSG]</a> </strong>describe procedures for choosing specific weightings that depend on the size or cost of a generated feature and on the downstream readout that it uses, rather than giving every essential class one equal vote as <strong>RSM</strong><sub>ax</sub> does.  There are multiple cost functions that make sense, including minimum representation (MR) and minimum weight (MW) costs (see the original <strong><a href="https://openreview.net/forum?id=zkXKbDdBdn">[TBSG] </a></strong><a href="https://openreview.net/forum?id=zkXKbDdBdn">paper</a> for details). Such weightings attempt to take biological implementation costs into account: MR might approximate activity/metabolic cost, while MW might approximate synaptic or wiring cost.  </p><p>Whether one prefers the axis-normalized or minimum-norm versions depends on one&#8217;s purposes: if one just cares about &#8220;the computation&#8221;, the former is more appropriate; while if one is interested in &#8220;the biophysics&#8221;, the latter may be more on target. </p><p>The key point with respect to contravariance for RSA is that, regardless of which canonicalization method one picks, <em><strong>canonical RSA obeys Weak-Strong equivalence,</strong></em> unlike raw RSA.   That is:</p><p><em><strong>Theorem</strong> (informal): In the hard-task context, if two same-architecture networks <strong>A</strong> and <strong>B</strong> are linearly aligned at two adjacent layers <strong>l</strong> and <strong>l+1</strong> then they have matching canonical RSMs at the earlier layer: </em></p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\mathbf{RSA}_{\\rm canonical} (A_{\\ell},B_{\\ell})  = 1.&quot;,&quot;id&quot;:&quot;VJFDTKLPRV&quot;}" data-component-name="LatexBlockToDOM"></div><p>(See <a href="https://arxiv.org/pdf/2607.08561">the Contravariance Paper</a> appendix &#167;A.12.5 for formal mathematical details.)</p><p>We can also show a soft version of this that relates defects in linear alignment to small mismatches in canonoical RSA, just as with privileged axes (see <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">Part 1</a> of this series for a refresher on those results).   Similarly, a full zippering result  follows for RSA as well (see <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2">Part 2</a> for more on zippering).</p><div class="callout-block" data-callout="true"><p><strong><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI: </span></mark> </strong>By focusing on the core task-relevant geometry,<strong> canonical RSA restores the contravariance-theory link between function and representation in the hard-task context.</strong>  </p></div><div><hr></div><h3>5. The RSA-Ridge relationship</h3><p>Given that RSA and Ridge are both standard metrics, it is worth understanding what their relationship is. </p><p>After canonicalizing to reveal the core geometry (either method is ok), it turns out that there is a very simple relationship:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\n 1-\\mathbf{RSA}_{\\rm canonical}\n \\lesssim C(1-R_{\\rm ridge}^2),\n&quot;,&quot;id&quot;:&quot;XTKPYPGLGN&quot;}" data-component-name="LatexBlockToDOM"></div><p>for some constant <em>C</em>. The funny &#8830; symbol means that the relationship is a frontier, rather than a strict equality, but that under reasonable conditions, the equality is close to being achieved.   (See <a href="https://arxiv.org/pdf/2607.08561">the Contravariance paper</a> appendix &#167;A.12.6 for the math details on how this is shown.)</p><p>This relationship means that if you plot canonical RSA (x-axis) vs ridge score (y-axis), you should see a scatter plot that looks roughly like a square root relationship:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!HPYQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!HPYQ!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png 424w, /__u/substackcdn.com/image/fetch/$s_!HPYQ!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png 848w, /__u/substackcdn.com/image/fetch/$s_!HPYQ!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png 1272w, /__u/substackcdn.com/image/fetch/$s_!HPYQ!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!HPYQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png" width="1456" height="616" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:616,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:126619,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/209661486?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!HPYQ!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png 424w, /__u/substackcdn.com/image/fetch/$s_!HPYQ!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png 848w, /__u/substackcdn.com/image/fetch/$s_!HPYQ!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png 1272w, /__u/substackcdn.com/image/fetch/$s_!HPYQ!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6a55aa52-553a-4e5f-b137-dcb5606ebaed_2478x1049.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>On the left, I&#8217;m plotting a schematic canonical RSA-vs-ridge relationship.  On the right, I&#8217;m plotting a schematic for raw RSA-vs-ridge.  There, a square-root relationship might exist to some extent (depending on how bad the effect of the nuisance variables are), but it will be a bit more obscured and perhaps in some cases entirely absent.   See <a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4b-rsa">Part 4b: RSA empirics</a>, for more on this topic from an empirical viewpoint.</p><h3>6. Neural sampling is &#8220;symmetry-like&#8221; noise.  </h3><p>Neuroscience experiments are, and have always been, heavily affected by issues of undersampling or biased sampling.   </p><p>In classic old-school single-electrode electrophysiology experiments, only one or a small number of neurons were explored at a time, with perhaps a few tens of neurons experimentally tested in a series of separate recording sessions, over the course of an experiment.   This sampling sparseness was exacerbated by a strong bias in stimulus sampling, since neurons were identified for recording in the first place (during the process of lowering the electrode through cortex) by virtue of their ability to respond to a specific test stimulus set, so neurons not excited by that set might be just ignored. </p><p>Array electrophysiology improved this by allowing hundreds of units to be recorded simultaneously for tens of thousands of stimuli, and reduced the stimulus-biased localization problem.  Nonetheless, even the largest array electrophysiology datasets only record several thousand out of tens of millions of units in an area, sampled in a highly spatially non-uniform fashion.   </p><p>Though fMRI has full coverage, it too has strong non-uniformity in signal strength across the cortex, leading to complex spatial biases and distortions in response patterns.  Other neuroscience measurement modalities (Ca<sup>2+</sup> imaging, ECoG, &amp;c) have related issues at different scales. </p><p>Moreover, these effects are especially important when tuning is itself spatially organized, as it is in many real brain areas. A spatially localized sample from such a system is therefore not merely a smaller statistically-equivalent subset of the full system: it is biased toward the functions represented in that part of the cortical sheet.</p><p>The key point for us here is that the effect on RSA of different kinds of sampling biases are analogous to the same nuisance parameters discussed above.  In fact, <em><strong>spatial bias is the measurement version of the [TBSG] ambiguities</strong></em>: the same underlying computation and the same privileged axes can yield different raw RSMs because experimental biases assign them different effective scales, multiplicities, and mixtures.</p><p>The effects are summarized in the following table:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!67zs!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!67zs!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png 424w, /__u/substackcdn.com/image/fetch/$s_!67zs!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png 848w, /__u/substackcdn.com/image/fetch/$s_!67zs!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png 1272w, /__u/substackcdn.com/image/fetch/$s_!67zs!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!67zs!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png" width="1430" height="802" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:802,&quot;width&quot;:1430,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:151145,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/209661486?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!67zs!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png 424w, /__u/substackcdn.com/image/fetch/$s_!67zs!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png 848w, /__u/substackcdn.com/image/fetch/$s_!67zs!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png 1272w, /__u/substackcdn.com/image/fetch/$s_!67zs!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F278639db-d1ca-4d9a-aefe-853bb04c585e_1430x802.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Some of these effects are mitigated by canonical RSA, but not all.  It can help with <strong>recording gain,</strong> e.g. when the same response profile is multiplied by a scalar; or with <strong>exact multiplicity</strong>, e.g. if one identifiable tuning/axis class is recorded several times on one side and fewer times on the other. For example, if two arrays both observe orientation and color axes, but one records many near-copies of the orientation axis, an axis quotient could&#8212;in principle, after identifying that class&#8212;properly count orientation once rather than according to the number of recorded copies.  But it will not mitigate the main spatial-sampling problems, such as:</p><ul><li><p>a localized array missing whole functional patches;</p></li><li><p>topographic sampling changing which distinct feature axes are represented;</p></li><li><p>fMRI distortions mixing nearby axes;</p></li><li><p>or finite sampling omitting rare axes.</p></li></ul><p>So, you know, <em>nullius in verba</em> &amp;c<em> . . .</em></p><div class="callout-block" data-callout="true"><p><strong><mark data-color="rgb(255, 255, 0)" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI:</span> </mark> </strong>An unavoidable issue with neural experiments &#8212; sampling &#8212; strongly affects the raw RSA measure, and the outcomes mimic the effects of computation-irrelevant symmetries<strong>.</strong>   Canonicalization can only partially mitigate this, but ridge similarity should be more sampling-stable.</p></div><p>See <a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4b-rsa">Part 4b: RSA empirics</a> for further data-driven investigation of this point.</p><h3>Does the choice of metric matter?, revisited.</h3><p> <em>[FYI: though I haven&#8217;t described it here, b/c this post is already long enough, the <a href="https://arxiv.org/pdf/2607.08561">Contravariance Theory paper</a> &#167;A.13 treats the CKA metric, finding very similar results to the RSA situation.]</em></p><p>Despite taking a certain amount of flak on social media (and probably quite a bit more behind closed doors) for <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">making the claim in an earlier post</a> that perhaps the choice of metric didn&#8217;t matter all that much (because weak equivalence established that a strong and a weak metric were actually pretty similar), I nonetheless mostly persist in this view, and see the RSA/CKA results as mostly reinforcing this outlook. </p><p>Basically, I interpret the above results as saying: <strong>canonical RSA/CKA comes along for the weak-strong equivalence ride with privileged-axis and linear alignment, and the non-canonical part of RSA/CKA should probably be discarded anyhow</strong>.   Do you interpret things very differently? </p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>In our <a href="https://arxiv.org/pdf/2607.08561">Contravariance Theory paper</a> appendix sections &#167;&#167;A.12.2-3, we slightly strengthen the [TBSG] result to show that the decomposition is unique and that the only symmetry factors that matter generically are the duplications, additions, and scalings that the original  [TBSG] paper identifies.  Our results come at the cost of using a slightly stronger notion of minimality (rather than their irreducibility), but that is consistent with the other conditions deployed in the Contravariance Theory paper. </p></div></div>]]></content:encoded></item><item><title><![CDATA[Contravariance Theory, Part 3: Transformers!]]></title><description><![CDATA[In which we explore zippering and privileged axes for the transformer circuit.]]></description><link>https://danyamins.substack.com/p/contravariance-theory-part-3-transformers</link><guid isPermaLink="false">https://danyamins.substack.com/p/contravariance-theory-part-3-transformers</guid><dc:creator><![CDATA[Dan Yamins]]></dc:creator><pubDate>Wed, 05 Aug 2026 14:20:57 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!JSV9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em><span>(This is Part 3 of a series on </span><a href="https://arxiv.org/abs/2607.08561"><span>Contravariance Theory</span></a><span>. See </span><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part0">Part 0</a><span> to get the big picture.)</span></em></p><p>Transformers are the dominant microcircuit architecture of AI, due to their robust learning and generalization capacities.  How they might relate to neurons is an open question, but regardless of the resolution of that thorny topic, any theory of the Contravariance Principle in DNNs would be incomplete without a treatment of the transformer circuit.  </p><p>Here we do a deep dive on that topic, presenting a (hopefully!) reader-friendly version of the material discussed in appendix section &#167;A.8 of <a href="https://arxiv.org/abs/2607.08561">the Contravariance Theory paper</a>.  The answer is pretty interesting!</p><div><hr></div><p>All transformers are divided into three parts &#8212; one of which is the residual stream, the MLP block is another, and what is called in the language of machine learning the attention block, the third.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>  It turns out these behave somewhat differently with respect to contravariance.  Specifically:</p><ul><li><p>Weak-Strong Equivalence (WSE) happens for the MLP and attention blocks.  WSE is the <em><strong>local</strong></em> phenomenon in which, under hard-task constraints, weak linear alignment at neighboring layers converts into strong axis (or transformer head) alignment. (See <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">Part 1 of this series</a> for a refresher on WSE.)  </p></li><li><p>&#8230; but the residual stream is different. WSE does <em><strong>not</strong></em> happen for the residual stream.  There is an uncontrolled parameter space in each residual connection that destroys privileged axes there. </p></li><li><p><strong>We find that Zippering occurs in the residual stream</strong> <strong>of transformers.</strong>  Zippering is the <em><strong>global</strong></em> phenomenon in which, under hard-task and <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2">minimality constraints</a>, weak alignment at a downstream layer cascades upstream through a network, providing the core mechanism of the <a href="https://www.sciencedirect.com/science/article/abs/pii/S1389041723001341">Contravariance Principle</a>. (See <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2">Part 2 of this series</a> for a refresher on Zippering.) </p></li><li><p>The above two results combine to imply that <strong>there are <a href="https://www.biorxiv.org/content/10.1101/2024.06.20.599957v1">privileged representational axes</a> throughout transformer hierarchies!</strong> . . . but you can&#8217;t look in the residual stream to find them.</p></li></ul><p>See below for a detailed account of each of these ideas. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!JSV9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!JSV9!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png 424w, /__u/substackcdn.com/image/fetch/$s_!JSV9!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png 848w, /__u/substackcdn.com/image/fetch/$s_!JSV9!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png 1272w, /__u/substackcdn.com/image/fetch/$s_!JSV9!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!JSV9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png" width="1456" height="819" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:819,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1482151,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/208459143?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!JSV9!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png 424w, /__u/substackcdn.com/image/fetch/$s_!JSV9!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png 848w, /__u/substackcdn.com/image/fetch/$s_!JSV9!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png 1272w, /__u/substackcdn.com/image/fetch/$s_!JSV9!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F01d522f2-8c48-451b-9b0b-657016e8634a_1672x941.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h5 style="text-align: center;"><span data-color="#dd7e6b" style="color: rgb(221, 126, 107);">A graphical representation of the situation of contravariance for transformers. In the image, </span><em><strong><span data-color="#dd7e6b" style="color: rgb(221, 126, 107);">A</span></strong></em><span data-color="#dd7e6b" style="color: rgb(221, 126, 107);"> and </span><em><strong><span data-color="#dd7e6b" style="color: rgb(221, 126, 107);">B</span></strong></em><strong><span data-color="#dd7e6b" style="color: rgb(221, 126, 107);"> </span></strong><span data-color="#dd7e6b" style="color: rgb(221, 126, 107);">are two networks being compared. We find that (i) Weak Zippering obtains for the residual stream and (ii) Weak-Strong Equivalence obtains for the MLP block in the usual way, and modulo &#8220;head-gauges&#8221; for the attention block.  Privileged axes thus arise in the MLP and attention blocks, but </span><em><strong><span data-color="#dd7e6b" style="color: rgb(221, 126, 107);">not</span></strong></em><span data-color="#dd7e6b" style="color: rgb(221, 126, 107);"> in the residual stream.  </span></h5><div><hr></div><h3>The Transformer circuit has three parts.</h3><p>To establish basic background and common terms, we distinguish three parts within the transformer circuit:</p><ul><li><p>the <span data-color="#ea9999" style="color: rgb(234, 153, 153);">attention block</span> (<span data-color="#ea9999" style="color: rgb(234, 153, 153);">red</span> in the diagram above) is the component of the transformer circuit in which inputs are mixed using a learnable pairwise multiplicative operation,</p></li><li><p>the <span data-color="#b6d7a8" style="color: rgb(182, 215, 168);">MLP block</span> (<span data-color="#93c47d" style="color: rgb(147, 196, 125);">green</span>) is the portion in which inputs are mixed using a short linear-nonlinear cascade,</p></li><li><p>the <span data-color="#a4c2f4" style="color: rgb(164, 194, 244);">residual stream</span> (<span data-color="#a4c2f4" style="color: rgb(164, 194, 244);">blue</span>) of the transformer combines the MLP and attention blocks additively and passes forward to the next layer.</p></li></ul><p>Much ink has been spilled in discussing the functional implications of these structural components, but I will note here one reasonable (imo) interpretation: that the MLP block and residual stream support a <a href="https://arxiv.org/pdf/2311.03658">linear representation of entities</a>, and that the attention block supports efficient detection of relationships between entities.</p><h3>The Residual Stream Supports Zippering. . . </h3><p>At a global level within the network, the key observation is that the transformer residual stream supports zippering.  The reason for this is essentially the same as why regular affine-nonlinear (e.g. ReLU) networks support zippering (see <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2">Part 2</a>): that if your network is <em><strong>minimal</strong></em> (informally, not wasting units and layers), all solutions are either a single canonical solution, or one of a set of &#8220;silly solutions&#8221; that pointlessly complicate the pathways relative to the unique minimal solution &#8212; but these silly solutions turn out to be <strong>very rare </strong>(that is, can be proven to be &#8220;measure zero&#8221; in the set of all networks).   </p><p>To understand intuitively why this is, suppose two candidate networks became misaligned at one layer. The next layer&#8217;s nonlinearities turn that disagreement into new, visible differences; later nonlinearities generally create still more structure that must be reconciled. To ultimately arrive at the same terminal computation <em>in a minimal way</em>, all of those differences would have to be canceled with great precision (the &#8220;silly solution&#8221;). That high-precision cancelling is exceptional rather than common. So networks can in principle &#8220;wander apart in silly ways and then return to the real computation&#8221;, but doing so requires special tuning that is extremely unlikely to arise during real-world optimization.</p><p>Thus, <strong>a canonical solution (up to weak alignment) dominates at each layer of the hierarchy</strong>.  The full mathematical formalization of this argument, which is a little bit more involved for the transformer circuit than for the simpler affine case, is in appendix sections &#167;&#167;A.8.4-5 of <a href="https://arxiv.org/abs/2607.08561">the Contravariance Theory paper</a>. </p><p>These theoretical results are consistent with recent empirical work both in vision and LLMs.  In vision, <a href="https://proceedings.neurips.cc/paper_files/paper/2025/hash/cd35688daf016da2a3311b17f2fc7d71-Abstract-Conference.html">[Kapoor et al., 2025]</a> show that hierarchical correspondences exist for transformers under the linear regression metric across distinct networks solving the same task (and actually for stricter metrics than linear as well, including Procrustes, permutation, and soft-matching).  In language, across several dozen open-weight LLMs, layers at corresponding relative depths induce similar activation geometries <a href="https://arxiv.org/abs/2504.08775">[Wolfram and Schein, 2025]</a>.   </p><h3>. . . but NOT Weak-Strong Equivalence or privileged axes.</h3><p>Interestingly, the residual stream of the transformer does NOT support the conversion of linear alignment on two adjacent layers into a set of preferred single-unit-level axis choices.  </p><p>This is because, built into the very definition of the residual computation, is an arbitrary invertible affine change of basis that can mix the residual-stream coordinates without changing the Transformer&#8217;s computation. Imagine rewriting every residual vector in a new, thoroughly mixed coordinate system. As long as every attention and MLP operation is adjusted to read from and write to that new system, the Transformer computes exactly the same function.  The residual stream of the original and rewritten transformer are then perfectly linearly related, even though no individual coordinate in one corresponds to an individual coordinate in the other.   </p><p>This observation is consistent with the interesting empirical observation from <a href="https://proceedings.neurips.cc/paper_files/paper/2025/hash/cd35688daf016da2a3311b17f2fc7d71-Abstract-Conference.html">[Kapoor et al., 2025]</a> finding a lack of privileged axes in transformers.  </p><h3>There <em>should be</em> privileged axes in the other blocks. </h3><p>Residual streams therefore only <strong>zipper weakly</strong>&#8212;they contain the same state up to an affine change of coordinates&#8212;without their native axes aligning strongly. But, interestingly, the trivial mixing construction that instantly destroys canonical axis bases in the residual stream does not apply to the other branches of the transformer.</p><p>The key difference is <strong>where the coordinate change sits relative to the nonlinearity</strong>:</p><ul><li><p><strong>For the MLP block:</strong> MLP layers are different from the residual stream because each hidden coordinate is passed <strong>separately</strong> through the ReLU. A dense mixing of the coordinates before that operation cannot easily be fully undone afterward if the gates are truly used by the network to solve the task.  This is just the same argument as &#8220;regular&#8221; zippering/Weak-strong Equivalence.  (See <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">Part 1 of this series</a>.)</p></li><li><p><strong>For the attention block: </strong>the residual-stream privileged axis-destroying argument actually does partially apply. The query/key (<em>q/k</em>) space and value/output (<em>v/o</em>) space can each be changed by an arbitrary invertible basis transformation without changing the head, just like the residual stream. HOWEVER: for the <em><strong>head as a functional unit</strong></em>, arbitrarily blending two heads does not trivially compute the same function as the original heads. In fact, <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2">under minimality assumptions</a>, <strong>each distinct head turns out to generically have a unique identifiable role</strong>. As a result, Weak-Strong Equivalence applies.  The formal math behind this conclusion is shown in &#167;A.8.1 of <a href="https://arxiv.org/abs/2607.08561">the Contravariance Theory paper</a>.</p></li></ul><p>There hasn&#8217;t been a ton of empirical work verifying these ideas, especially in vision networks, so this is a frontier for future empirical NeuroAI research.  One observation from LLMs that would seem to be consistent with these ideas is the whole collection of &#8220;biology of LLM circuits&#8221; interpretability results suggesting that <a href="https://transformer-circuits.pub/2025/attribution-graphs/biology.html">specific attention heads reliably take on certain roles</a>.  Clarifying the <strong>connection between LLM interpretability and the privileged attention heads</strong> predicted by the contravariance theory is also a natural area for future research. </p><h3>So how similar are ViTs and CNNs? </h3><p>The theoretical results don&#8217;t explicit say that two networks of apparently different architectures solving the same task have to end up being similar, either up to weak (linear) or strong (privileged axis) equivalence.  But they do kind of raise the question: to what extent do the ideas that allow for proving weak-strong equivalence and zippering suggest that similar structures will appear across architecture types?   How similar are the linear spans and privileged axes in corresponding-ish layers of CNNs and <a href="https://arxiv.org/abs/2010.11929">Vision Transformers (ViTs)</a>? Are there corresponding-ish layers in the first place?  After all, even though ViTs seem on the surface like they&#8217;re very different from CNNs, the ViT class and the CNN class could in principle learn similar functions after optimization for a common task.  This is a great set of questions for future investigation. </p><div class="callout-block" data-callout="true"><p><strong><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI:</span></mark></strong> Transformers are similar to &#8220;regular&#8221; deep neural networks in their contravariance behavior, but only <strong>have privileged axes in some parts of the circuit</strong>.  These are the places to look for characteristic neural signatures. </p></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>Veni, vidi, vici.</p></div></div>]]></content:encoded></item><item><title><![CDATA[The Theory of Contravariance, Part 2: Zippering]]></title><description><![CDATA[How end-to-end optimization strongly constrains upstream mechanisms and makes convergent evolution an inevitability... for minimal networks.]]></description><link>https://danyamins.substack.com/p/the-theory-of-contravariance-part2</link><guid isPermaLink="false">https://danyamins.substack.com/p/the-theory-of-contravariance-part2</guid><dc:creator><![CDATA[Dan Yamins]]></dc:creator><pubDate>Wed, 22 Jul 2026 15:30:40 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Oc9F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em><span>(This is Part 2 of a series on </span><a href="https://arxiv.org/abs/2607.08561"><span>Contravariance Theory</span></a><span>. See </span><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part0">Part 0</a><span> to get the big picture.)</span></em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!Oc9F!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!Oc9F!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png 424w, /__u/substackcdn.com/image/fetch/$s_!Oc9F!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png 848w, /__u/substackcdn.com/image/fetch/$s_!Oc9F!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Oc9F!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!Oc9F!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png" width="1456" height="800" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:800,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:598011,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/207577240?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!Oc9F!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png 424w, /__u/substackcdn.com/image/fetch/$s_!Oc9F!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png 848w, /__u/substackcdn.com/image/fetch/$s_!Oc9F!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png 1272w, /__u/substackcdn.com/image/fetch/$s_!Oc9F!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38760ef3-fd25-4508-941c-cbf80c6b94e2_2174x1195.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h5 style="text-align: center;"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Fig. 1: End-to-end optimization often gives rise to strong upstream constraints: </span><em><span data-color="#ff0000" style="color: rgb(255, 0, 0);">e.g., </span></em><span data-color="#ff0000" style="color: rgb(255, 0, 0);"> optimizing for ImageNet categorization reliably yields a mixture of biologically recognizable monochrome Gabor wavelet and color-opponent center-surround filters, in an early V1-like layer. </span></h5><h5 style="text-align: center;"><strong><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Q: Why does this kind of thing happen?</span></strong></h5><p><span>One of the most striking observations in NeuroAI is that end-to-end optimization for downstream tasks often seems to strongly constrain upstream representations.  And because (as we saw in </span><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1"><span>Part 1</span></a><span> on Weak-Strong Equivalence) weak alignment of representations itself implies strong alignment of single-unit axes (assuming a hard enough task), this means that end-to-end optimization strongly constrains mechanism-level structures at a pretty fine-grained level.  (And thus we find convergent evolution, as the Contravariance Principle claims; see </span><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part0"><span>Part 0</span></a><span>.) </span></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://danyamins.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading The Principle Investigator! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>But why do we get strong upstream representational constraints in the first place? Nothing in the Weak-Strong Equivalence theorems implies this, since they <em>start</em> with the assumption of weak alignment in adjacent layers.   </p><h3>An Empirical &#8220;Zippering&#8221; Observation</h3><p>Suppose you had a bunch of DNNs with the same architecture optimized for the same thing on the same dataset, but differing only in the random seed used at the start of training (so that weight initialization and training order differ).  How would the representations of the different resulting fully trained networks compare? </p><p>Presumably the networks would be similar at the first layer (because they&#8217;re computed on the same images) and at the end, because they&#8217;re optimized for the same answers.   But will the intermediate representations be highly constrained?  Or will they &#8220;wander&#8221; far afield, finding mechanistically very different solutions away from the pinned-down first and last layers?   </p><p>Here&#8217;s the answer we found in <a href="https://arxiv.org/pdf/2510.02523"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Thobani et al.</span></a>:  </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!1Gmi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!1Gmi!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png 424w, /__u/substackcdn.com/image/fetch/$s_!1Gmi!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png 848w, /__u/substackcdn.com/image/fetch/$s_!1Gmi!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1Gmi!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!1Gmi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png" width="667" height="356.8633241758242" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:779,&quot;width&quot;:1456,&quot;resizeWidth&quot;:667,&quot;bytes&quot;:31260,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/207577240?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!1Gmi!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png 424w, /__u/substackcdn.com/image/fetch/$s_!1Gmi!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png 848w, /__u/substackcdn.com/image/fetch/$s_!1Gmi!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png 1272w, /__u/substackcdn.com/image/fetch/$s_!1Gmi!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2cdb8cfa-17e7-4361-9f1b-906b29b6f2e8_1804x965.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h5 style="text-align: center;"><span data-color="#ff0000" style="color: rgb(255, 0, 0);"> Fig. 2: </span><em><span data-color="#ff0000" style="color: rgb(255, 0, 0);">y</span></em><span data-color="#ff0000" style="color: rgb(255, 0, 0);">-axis represents R^2 on held-out stimuli of ridge-regularized linear regressions between AlexNet architectures trained for ImageNet categorization from different seeds (error bars are SEM over 5 seeds). Dark green = post-nonlinearity; light green = pre-nonlinearity. </span><span>(Reproduced from </span><em><strong><a href="https://arxiv.org/pdf/2510.02523"><span>Thobani et al</span></a><span>.</span></strong></em><span>).</span></h5><p>Let&#8217;s focus first on the <strong><span data-color="#45818e" style="color: rgb(69, 129, 142);">dark green</span></strong> bars, which represent comparisons after the nonlinearity at each layer &#8212; probably the most natural place to make the comparison from a neuroscience point of view.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>   If you just looked at those layers, you&#8217;d be forgiven for thinking that the answer was &#8220;yes, lots of wandering happens&#8221;.   Especially in intermediate layers 3 and 4, the representations are really quite different &#8212; even up to the &#8220;loose&#8221; weak-alignment standard of linear regression.   </p><p>But now let&#8217;s look at the <strong><span data-color="#93c47d" style="color: rgb(147, 196, 125);">light green</span></strong> bars.  These represent comparisons <em>before</em> the nonlinearity at each layer &#8212; that is, after the linear convolutional projection, but before ReLU.  Now suddenly we see that the representations aren&#8217;t that different after all.   Even intermediate layers are highly constrained to be similar.  Somehow, what&#8217;s happening is that the resulting networks are quite close to being linearly aligned at each pre-nonlinearity layer. But then at each post-nonlinearity layer, the networks come apart. This alternation leads to a characteristic &#8220;zippering&#8221; (or &#8220;accordion&#8221;) pattern in which the networks&#8217; representations repeatedly converge and diverge. </p><p>Apparently the system is not wandering that much after all. What&#8217;s going on? </p><p>With the Weak-Strong Equivalence theorems, we can interpret the post-nonlinearity divergence phenomenon: if the preactivation alignment is genuinely non-axis-preserving, and the used gates are used by the (presumably) hard task, then perfect post-ReLU linear alignment cannot (&#224; la <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">Part 1</a>) persist.  But we don&#8217;t see this: the next layer of affine operations, which are different for each seed, must suppress the seed-specific variability to cause re-convergence. </p><p>Of course, since invertible affine operations cannot reduce the dimension of a representation, the fact of re-convergence means that the affine operations are compressive. Specifically, the <em>task-irrelevant dimensions have been pushed into seed-specific dimensions crossed by the used gates at the previous layer, and then are &#8220;squeezed out&#8221; by the re-convergent affine operations at the next layer</em>. <strong>The empirical zippering observation is a visualization of the network iteratively focusing seed-independent common task-useful information into shared privileged axes at each layer.</strong> </p><h3><em>Why </em>does zippering happen in the first place?  </h3><p>BUT&#8230; what leads to the repeated re-convergence at each pre-nonlinearity layer in the first place? The Weak-Strong Equivalence mechanism does not answer this at all.</p><p>It turns out that there is a much stronger set of theorems, stated in section 4 of <a href="https://arxiv.org/abs/2607.08561">the Contravariance Theory paper,</a>  that explains this.  The essential logic of the Weak-Strong Equivalence mechanism can be dramatically expanded to show that, under the right conditions, downstream weak equivalence induces weak equivalence at the previous layer; that equivalence, in turn, induces weak equivalence at the layer before it; and so on, &#8220;zippering&#8221; upstream (Fig. 3).   </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!TcxB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!TcxB!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg 424w, /__u/substackcdn.com/image/fetch/$s_!TcxB!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg 848w, /__u/substackcdn.com/image/fetch/$s_!TcxB!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!TcxB!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!TcxB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg" width="635" height="324.91414835164835" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:745,&quot;width&quot;:1456,&quot;resizeWidth&quot;:635,&quot;bytes&quot;:59841,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/svg+xml&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/207577240?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!TcxB!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg 424w, /__u/substackcdn.com/image/fetch/$s_!TcxB!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg 848w, /__u/substackcdn.com/image/fetch/$s_!TcxB!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!TcxB!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F516420b8-492d-4b0f-9355-9cad212c2241_292x149.svg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h5 style="text-align: center;"><strong><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Fig. 3: The mechanism of zippering.</span></strong><span data-color="#ff0000" style="color: rgb(255, 0, 0);"> </span></h5><p>The intuition behind this zippering mechanism is a generalization of the intuition behind the WSE mechanism: if two networks fail to be linearly equivalent at an upstream stage, and their nonlinearities are necessary for the task, the disagreement will be amplified by the next nonlinear stage, and then by the next, eventually preventing the two networks from solving the same terminal task.</p><p>To justify this underlying reasoning and prove a zippering theorem, we need to upgrade from mere single-gate &#8220;usedness&#8221; (see <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">Part 1</a>) to layerwise <em>minimality</em>. </p><div class="callout-block" data-callout="true"><p><strong>Definition</strong> (<em>informal</em>). A network layer is <em><strong>minimal</strong></em> if the functions in its distinct units are &#8220;identifiably separable&#8221; from each other and don&#8217;t repeat or cancel trivially. (This informal definition is made rigorous in the appendix of <a href="https://arxiv.org/abs/2607.08561">the Contravariance Theory paper</a>.) </p></div><p>With this notion in mind, we can state a mathematically robust mechanism for the zippering phenomenon:</p><p><strong><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Zippering Theorem</span></mark></strong> (informal). <em>Let <strong>A</strong> and <strong>B</strong> be same-depth networks. Suppose they are weakly equivalent at a terminal layer <strong>s</strong>. Suppose further that at each backward step from <strong>s&#8722;1</strong> down to <strong>q</strong>, the layers are minimal. Then, generically (that is, except on an exceptional set of network parameters of zero measure), alignment zippers upstream: for every <strong>r = q, . . . , s &#8722; 1,</strong> the layer-<strong>r</strong> representations are also weakly aligned.</em></p><p>The effect of the Zippering theorem is to make observations like those in Fig. 1 &#8212; and all those other ones throughout NeuroAI &#8212; a mathematical inevitability.  That is, if one believes the assumptions the result needs.  </p><h3>Minimality avoids silly circuits . . .</h3><p>Minimality is a nontrivial condition.   It is possible for networks to be non-minimal, and non-minimality allows for all sorts of mischief to occur.  The core problem is the theoretical possibility of <em>null networks</em> (see <a href="https://link.springer.com/article/10.1007/s00365-021-09544-3"><span data-color="#3c78d8" style="color: rgb(60, 120, 216);">Vla&#269;i&#263; and B&#246;lcskei [2021]</span></a> and <a href="https://proceedings.neurips.cc/paper/1993/hash/e49b8b4053df9505e1f48c3a701c0682-Abstract.html"><span data-color="#6fa8dc" style="color: rgb(111, 168, 220);">Fefferman and Markel [1993]</span></a>): networks that have multiple nontrivial layers, each of which is not itself the identity function, but whose total end-to-end effect is to compute the identity. Null networks are best thought of as &#8220;silly complex solutions to trivial problems&#8221;.</p><p>The existence of null networks would seem to impede the zippering theorem. For example, one might imagine inserting nontrivial identity blocks at different depths within a network, such that the end layer was the same for both but which as a pair clearly are not axis-aligned at each layer:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!gs9m!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!gs9m!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png 424w, /__u/substackcdn.com/image/fetch/$s_!gs9m!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png 848w, /__u/substackcdn.com/image/fetch/$s_!gs9m!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png 1272w, /__u/substackcdn.com/image/fetch/$s_!gs9m!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!gs9m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png" width="543" height="222.78096040438078" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:487,&quot;width&quot;:1187,&quot;resizeWidth&quot;:543,&quot;bytes&quot;:42681,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/207577240?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!gs9m!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png 424w, /__u/substackcdn.com/image/fetch/$s_!gs9m!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png 848w, /__u/substackcdn.com/image/fetch/$s_!gs9m!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png 1272w, /__u/substackcdn.com/image/fetch/$s_!gs9m!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7e4c2692-fed7-4f2e-a213-d03a62036dea_1187x487.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h5 style="text-align: center;">Fig. 4: A shifted identity block inserted either before or after G makes two terminally-equivalent networks (A and B) that have internally inequivalent representations. Minimality rules out silly circuits like this. </h5><p>There are actually many different types of null networks<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a> but, as shown in the appendix of <a href="https://arxiv.org/abs/2607.08561">the Contravariance Theory paper</a>, minimality either rules them out or makes them extremely unlikely. </p><h3>. . .  but is it biological? </h3><p>Is minimality something that applies to real brains?  Maybe it does: we speculate that minimality in real brains is an energetic efficiency that is evolutionarily advantageous. Perhaps the fact that model-brain similarity is actually observed empirically is as good evidence as any that the zippering theorems apply to real cases, and thus real brains are probably close to minimal.   But this is far from an airtight argument.   </p><p>It will be important going forward to evaluate the empirical status of minimality, or departures therefrom, both in &#8220;real world&#8221; artificial neural networks, and also in actual brains. Estimating the extent to which such systems satisfy the kind of nondegeneracy conditions needed for the zippering theorems is a crucial ingredient for creating a solid theoretical foundation for NeuroAI.  </p><div class="callout-block" data-callout="true"><p><strong><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI:</span></mark></strong><span> </span>The major NeuroAI results of the past decade and a half are not accidental. <em>Rather, </em>modulo the biological correctness of minimality assumptions, <em><strong>convergent evolution between artificial networks and real brains is likely to be mathematically inevitable.</strong></em></p></div><div><hr></div><h5>References</h5><p><span>Thobani I, Sagastuy-Brena J, Nayebi A, Prince J, Cao R, and Yamins D (2025). </span><a href="https://arxiv.org/pdf/2510.02523">Model-brain comparison using inter-animal transforms.</a><span> </span><em><span>Proceedings of the Conference on Cognitive Computational Neuroscience 2025</span></em><span>.  (</span><a href="https://openreview.net/pdf?id=bra729zCMm">Here</a><span> is the original CCN version: you should </span><em>read</em><span> the Arxiv version but </span><em>cite</em><span> the CCN version.)</span></p><p><span>Yamins D and Nayebi A (2026). </span><a href="https://arxiv.org/abs/2607.08561"><span>Contravariance Theory: Strong Alignment for Minimal Solutions to Hard Tasks.</span></a><span> </span><em>arXiv preprint arXiv:2607.08561</em><span>.</span></p><p><span>Fefferman C, and Markel S (1993). </span><a href="https://proceedings.neurips.cc/paper/1993/hash/e49b8b4053df9505e1f48c3a701c0682-Abstract.html"><span>Recovering a feed-forward net from its output.</span></a><span> </span><em>Advances in neural information processing systems</em><span> 6.</span></p><p><span>Vla&#269;i&#263; V, and B&#246;lcskei H (2022). </span><a href="https://link.springer.com/article/10.1007/s00365-021-09544-3"><span>Neural network identifiability for a family of sigmoidal nonlinearities.</span></a><span> </span><em>Constructive Approximation</em><span> 55, no. 1: 173-224.</span></p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>The post-nonlinearity location is the most natural place to the make a comparison because neurons are often thought of as putting out spikes post a somatic nonlinearity.   </p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-2" href="#footnote-anchor-2" class="footnote-number" contenteditable="false" target="_self">2</a><div class="footnote-content"><p>In fact, if you&#8217;re curious to learn how to construct a wide variety of silly solutions to trivial problems, see <strong>Appendix A.10</strong> of the <a href="https://arxiv.org/abs/2607.08561">Contravariance theory paper</a>, which details a whole atlas of them! It also shows how the minimality conditions avoid these solutions, or makes them vanishingly rare. </p></div></div>]]></content:encoded></item><item><title><![CDATA[The Theory of Contravariance, Part 1: Weak-Strong Equivalence (WSE)]]></title><description><![CDATA[Weak (linear) alignment and strong (axis) alignment are equivalent for hard tasks.]]></description><link>https://danyamins.substack.com/p/the-theory-of-contravariance-part1</link><guid isPermaLink="false">https://danyamins.substack.com/p/the-theory-of-contravariance-part1</guid><dc:creator><![CDATA[Dan Yamins]]></dc:creator><pubDate>Mon, 13 Jul 2026 12:56:01 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!v5ye!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>(This is Part 1 of a multi-part series.  See <a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part0">Part 0</a> to get the big picture.)</em></p><p>A big question in NeuroAI is: <strong><span data-color="#351c75" style="color: rgb(53, 28, 117);">what is the right metric for measuring alignment of neural networks to the brain</span></strong>?  This question has been the subject of <a href="https://neurips.cc/virtual/2025/loc/san-diego/workshop/109553">several</a> <a href="https://representational-alignment.github.io/2026/">workshop</a> <a href="https://www.neurreps.org/">series</a> and <a href="https://dl.acm.org/doi/abs/10.1145/3728458">multiple</a> <a href="https://arxiv.org/abs/2310.13018">recent</a> <a href="https://proceedings.mlr.press/v243/khosla24a">papers</a>.  </p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://danyamins.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading The Principle Investigator! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><h3>Weak and Strong Alignment &amp; the Strict-Loose Continuum</h3><p>One overarching idea that has emerged from this literature is that <a href="https://arxiv.org/abs/2510.02523">some metrics are </a><em><a href="https://arxiv.org/abs/2510.02523">strict</a></em><a href="https://arxiv.org/abs/2510.02523"> and some are </a><em><a href="https://arxiv.org/abs/2510.02523">loose</a></em>.  Strict metrics require very fine-grained matching between neural network parts and brain parts, while loose metrics require matching in a less constrained fashion.   </p><p>The canonical example of a loose matching type is linear alignment &#8212; what we will henceforth call &#8220;<strong>weak alignment</strong>&#8221; &#8212; in which one fits a linear mapping between model feature bases and a dataset of &#8220;neuroids&#8221;.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> Linear alignment mapping is loose because it allows the source representation (the model) and the target representation (the brain) to differ up to linear reweighting of the constituent units.</p><p>For me, the purest (if not yet exactly &#8220;canonical&#8221;) example of a strict matching type is <a href="https://www.biorxiv.org/content/10.1101/2024.06.20.599957v1">privileged axis</a> alignment.  Privileged axes are specific response functions that repeatedly arise within a model layer or brain area, across many seeds / individuals, and which are thought to capture the underlying mechanism of the computation in a finer-grained way than weak (linear span) alignment.  <a href="https://journals.physiology.org/doi/full/10.1152/jn.2002.88.1.455">Gabor-filter-tuned units in V1 </a>are a canonical example of privileged axes in neuroscience (another being <a href="https://en.wikipedia.org/wiki/Grid_cell">grid cells</a>). </p><p>Because of this apparent deeper connection between privileged axes and mechanism, we will use the term &#8220;<strong>strong alignment</strong>&#8221; to indicate the alignment metric measuring coincidence between two networks&#8217; privileged axes.  The &#8220;strong&#8221; and &#8220;weak&#8221; terminology is also justified by the straightforward mathematical fact that strong alignment implies weak alignment &#8212; if two representations have the same privileged axes, they&#8217;ll be linearly equivalent, but not (usually) vice-versa. </p><p>There are a bunch of other metrics that people have thought about (RSA, CKA, IATC, etc) that kind of lie on a continuum along the &#8220;Strict-Loose axis&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!v5ye!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!v5ye!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg 424w, /__u/substackcdn.com/image/fetch/$s_!v5ye!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg 848w, /__u/substackcdn.com/image/fetch/$s_!v5ye!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!v5ye!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!v5ye!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg" width="1456" height="638" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:638,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:203257,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/svg+xml&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/206566779?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!v5ye!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg 424w, /__u/substackcdn.com/image/fetch/$s_!v5ye!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg 848w, /__u/substackcdn.com/image/fetch/$s_!v5ye!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!v5ye!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1fa20c02-8b3b-466e-b5d2-29c425824835_1217x534.svg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h3>Weak-Strong Equivalence</h3><p>It seems obvious that strong alignment is stronger than weak alignment.  However, in the <a href="https://arxiv.org/abs/2607.08561">Contravariance Theory paper</a>, <strong>our first main result</strong> is a proof that in an important case &#8211; namely, where two adjacent layers are weakly equivalent and where the task the network solves is suitably hard &#8211; <strong>the distinction between weak and strong alignment collapses</strong>.</p><p>Wait &#8212; we&#8217;re saying that two metrics of apparently very different strengths aren&#8217;t really that different.   How can that be? </p><p>The core intuition is that if two networks are weakly aligned at layer &#8467;, but have misaligned privileged axes, then after the nonlinearity at layer &#8467;+1, they will be different enough that they will not even be weakly aligned there. In other words, if the two task representations are weakly related before and after a nonlinearity, the weak map must preserve the nonlinear signatures of individual coordinates.  This is the essential mathematical reason that native axes can become privileged in the first place, rather than always remaining arbitrary.</p><p>This intuition relies on the nonlinearity having a nontrivial effect -- that is, it must be <em><strong>used</strong></em>:</p><div class="callout-block" data-callout="true"><p><strong>Definition </strong><em>(informal)</em><strong>:</strong> A layer-&#8467; axis is <em><strong>used</strong></em> if the task and the next layer expose a genuine nonlinear effect of that axis. For ReLU, this means that the task &#8220;crosses&#8221; the zero trace set <em>{z<sub>j </sub>= 0}</em> and the outgoing column <em>W<sub>&#8467;+1</sub>[:, j]</em> is nonzero.</p></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!0zFJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!0zFJ!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg 424w, /__u/substackcdn.com/image/fetch/$s_!0zFJ!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg 848w, /__u/substackcdn.com/image/fetch/$s_!0zFJ!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!0zFJ!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!0zFJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg" width="1456" height="553" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:553,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:67031,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/svg+xml&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/206566779?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!0zFJ!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg 424w, /__u/substackcdn.com/image/fetch/$s_!0zFJ!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg 848w, /__u/substackcdn.com/image/fetch/$s_!0zFJ!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!0zFJ!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcc0776f7-c783-4a2d-bcb5-7b0045723634_521x197.svg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><strong><sub>Intuition for weak-strong equivalence</sub></strong><sub>: only a crossed, downstream-used zero trace set contributes a task-visible nonlinear signature. A used gate creates a slope change, and an injective affine map cannot erase that change.</sub></p><p>The opposite of used is &#8220;degenerate&#8221; &#8212; an axis that can be removed from the nonlinear gate requirements of the network.  A degenerate gate contributes nothing downstream, while a gate whose trace is not crossed is affine or zero, and can be absorbed into the adjacent affine part. The contravariance theory paper formalizes this observation via a &#8220;shrinkability lemma&#8221; in the appendix section &#167;A.2.</p><p>The ideas of usedness and shrinkability in turn motivate a measure of task hardness in terms of how many used gates it requires.  Let <em><strong>L</strong></em> be the loss function for a task. Let <em><strong>F</strong></em><sub>&#8467;,&#8804;k</sub> be the set of networks of a fixed macroarchitecture that solve the task using at most <em><strong>k</strong></em> used layer-&#8467; axes. Then define the <em><strong>required used-axis budget</strong></em> as:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;m_\\ell(\\varepsilon)\n =\n \\min\\{k:\\exists f\\in\\mathcal F_{\\ell,\\le k}\\text{ with }L(f)\\le\\varepsilon\\}&quot;,&quot;id&quot;:&quot;MRAHRWHMPK&quot;}" data-component-name="LatexBlockToDOM"></div><p>The quantity m<sub>&#8467;</sub>(&#949;) is a <strong>measure of task difficulty</strong>: it counts how many nonlinear axes the task forces this layer to use.</p><p>With these ideas in mind, we can formalize the intuition described above. </p><p><strong>Theorem</strong> <em>(Weak-Strong Equivalence, informal)</em>: Fix adjacent layers &#8467; and &#8467; + 1. Suppose networks <strong>A</strong> and <strong>B</strong> are exactly weakly equivalent at both layers, and suppose the layer-&#8467; axes used by the task satisfy usedness assumptions. Then every used <strong>A</strong> axis is exactly matched to a distinct <strong>B</strong> axis. Consequently, if A solves the task to loss at most &#949;, then</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot; \\operatorname{AxisAlign}_\\ell(A,B)\n \\ge\n \\frac{m_\\ell(\\varepsilon)}{d_\\ell^A}&quot;,&quot;id&quot;:&quot;KVXDIFSTVK&quot;}" data-component-name="LatexBlockToDOM"></div><p>where <strong>AxisAlign</strong><sub>&#8467;</sub>(A,B) is the fraction of axes alignable between networks <strong>A</strong> and <strong>B</strong> under the most axis-aligning linear map, and <em>d</em><sub>&#8467;</sub><em><sup>A</sup> </em>is the ambient dimension of network A at layer &#8467;.   In words: the <strong>aligned-axis fraction for adjacent weakly-aligned layers is constrained by the capacity ratio</strong> <strong>of the network</strong> <strong>(at that layer)</strong>, <strong><span data-color="#ff0000" style="color: rgb(255, 0, 0);">m</span><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);">&#8467;</span></sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);">(&#949;)/</span></strong><em><strong><span data-color="#ff0000" style="color: rgb(255, 0, 0);">d</span></strong></em><strong><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);">&#8467;</span></sub></strong><em><strong><sup><span data-color="#ff0000" style="color: rgb(255, 0, 0);">A</span></sup></strong>.  </em></p><p>The proof of the theorem is slightly nontrivial and is given in Appendix &#167;A.2 of the paper.  But its implications are easy to understand. A network optimized to perform a task that strongly constrains it will have many or all of its gates used. Thus, the theorem says that two layers of successive weak alignment, for a sufficiently hard task, force strong privileged axis-alignment at the earlier layer. </p><div class="callout-block" data-callout="true"><p><strong><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI:</span></mark></strong> We can interpret the Weak-Strong Equivalence (WSE) Theorem as saying, essentially: <strong><span data-color="#ff0000" style="color: rgb(255, 0, 0);">hard tasks cause privileged axes</span></strong>, and <strong>under the condition of a hard task, <span data-color="#ff0000" style="color: rgb(255, 0, 0);">weak and strong alignment are equivalent</span></strong>.</p></div><h3>A Softer WSE </h3><p>The assumptions of the WSE theorem stated above are fairly strong: that two adjacent layers are exactly weakly equivalent.  Of course, in the real world, we don&#8217;t usually observe <em>exact</em> equivalence.   Instead, we observe equivalence with some measurable deficit:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\omega_\\ell(A,B)\n =\n \\left(\\mathbb{E}_\\Omega\\|z^B_\\ell(x)-E_\\ell z^A_\\ell(x)\\|_2^2\\right)^{1/2}&quot;,&quot;id&quot;:&quot;PFNVMRDLFI&quot;}" data-component-name="LatexBlockToDOM"></div><p>The quantity &#969;<sub>&#8467;</sub> captures how weakly misaligned two networks are at layer &#8467;.   &#969;<sub>&#8467;</sub> = 0 means that two representations are exactly weakly aligned.</p><p>Critically, we can prove a kind of &#8220;soft&#8221; version of WSE that shows:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\operatorname{AxisAlign}_{\\ell}^{\\theta}(A,B)\n\\ge\n\\frac{m_\\ell(\\varepsilon)}{d_\\ell^A}\n-\n\\bigl (\\alpha \\cdot \\omega_\\ell + \\beta \\cdot \\omega_{\\ell+1}\\bigr)^2&quot;,&quot;id&quot;:&quot;CFMJRYUDLQ&quot;}" data-component-name="LatexBlockToDOM"></div><p>for some constants &#945; and &#946;, where <strong>AxisAlign</strong><sub>&#8467;</sub><sup>&#952;</sup> denotes the number of axes aligned to similarity level &#952;.  In words, if the error is already small on both sides of a nonlinear step, then many task-required gates cannot be badly misaligned, and the defect from axis alignment is an error term controlled by the two adjacent weak equivalence deficits &#969;<sub>&#8467;</sub> and &#969;<sub>&#8467;+1</sub>.</p><p>The key effect of this result is that an asymptotic equivalence applies for real-world situations.  Imagine a sequence of networks <em><strong>A</strong></em><sub>n</sub> and <em><strong>B</strong></em><sub>n</sub> both being optimized for the same hard task.  Then adjacent-layer convergence in weak-aligned representations translates into convergence in the strong axis-alignment sense:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!m-fb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!m-fb!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg 424w, /__u/substackcdn.com/image/fetch/$s_!m-fb!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg 848w, /__u/substackcdn.com/image/fetch/$s_!m-fb!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!m-fb!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!m-fb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg" width="1456" height="519" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a930b3f1-1a32-415d-8972-904563b5c358_580x206.svg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:519,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:106905,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/svg+xml&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/206566779?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!m-fb!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg 424w, /__u/substackcdn.com/image/fetch/$s_!m-fb!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg 848w, /__u/substackcdn.com/image/fetch/$s_!m-fb!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg 1272w, /__u/substackcdn.com/image/fetch/$s_!m-fb!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa930b3f1-1a32-415d-8972-904563b5c358_580x206.svg 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><div class="callout-block" data-callout="true"><p><strong><mark data-color="rgb(255, 255, 0)" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Key implication for NeuroAI</span><span>:</span></mark></strong> Asymptotic weak-strong equivalence emerges: if two sequences of networks tend toward having similar representations during optimization toward a common goal, their axes eventually become aligned.</p></div><h3>So does the choice of metric even matter? </h3><p>The WSE results make one wonder: to what extent do choices of metric matter?  If the two opposite ends of the Strict-Loose continuum are actually pretty equivalent in an important case, does it matter which one we choose?   Our results suggest: <strong>not as much as might have been thought</strong>.  This is probably why the two &#8220;main&#8221; metrics people actually use &#8212; namely, regularized linear regression and RSA &#8212; agree in a rank-order sense, to a pretty large extent, across a wide variety of models.  (Note, though, that RSA is not covered by the WSE theorem, and its divergences from that framework will be a subject of a future post.) </p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>A &#8220;neuroid&#8221; is whatever the unit of neural reporting a given dataset has.  In an fMRI dataset this is typically a voxel.  In an electrophysiology dataset, this is typically an electrode &#8212; that is, essentially, a Multi-Unit Activity (MUA) site.</p></div></div>]]></content:encoded></item><item><title><![CDATA[The Theory of Contravariance, Part 0]]></title><description><![CDATA[Breaking down our extensive new theory paper.]]></description><link>https://danyamins.substack.com/p/the-theory-of-contravariance-part0</link><guid isPermaLink="false">https://danyamins.substack.com/p/the-theory-of-contravariance-part0</guid><dc:creator><![CDATA[Dan Yamins]]></dc:creator><pubDate>Mon, 13 Jul 2026 12:55:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!RbjW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><a href="https://anayebi.github.io/">Aran Nayebi</a> and I have just released a rather, uhm &#8230; let&#8217;s say, sizeable&#8230; <a href="https://arxiv.org/abs/2607.08561">new paper on the Theory of Contravariance</a>.   Because it&#8217;s a long paper and has many different ideas in it, we&#8217;re going to be writing a multi-part substack series on it, beginning with this post describing the overall purpose of the project. </p><div><hr></div><h3>What needs to be explained in NeuroAI? </h3><p><strong>Why is there apparent convergent evolution between task-driven neural network models and the brain?</strong>  Over the past 15 years in NeuroAI, results in a wide variety of domains (in, <em>e.g.</em> <a href="https://www.pnas.org/doi/10.1073/pnas.1403112111">vision</a>, <a href="https://pubmed.ncbi.nlm.nih.gov/29681533/">audition</a>, <a href="https://arxiv.org/abs/2505.18361">somatosensation</a>, <a href="https://www.nature.com/articles/s41586-018-0102-6">navigation</a>, <a href="https://pubmed.ncbi.nlm.nih.gov/26075643/">motor</a>, <a href="https://arxiv.org/abs/2506.00138">decision making</a>, and <a href="https://www.pnas.org/doi/10.1073/pnas.2105646118">human language</a>) have found that optimizing neural networks end-to-end to solve strong cognitive-level (that is, <a href="https://www.image-net.org/challenges/LSVRC/2012/">AI-hard</a>) tasks leads to models whose internal layers mimic the neural response properties of the brain.  This happens for (i) linear span of neural responses within an area, (ii) the existence of cross-area neuroanatomical hierarchies, and (iii) even the specific <a href="https://www.biorxiv.org/content/10.1101/2024.06.20.599957v1">privileged axes at a single-unit level</a>.  <em>Why does all this convergent evolution happen?</em></p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://danyamins.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading The Principle Investigator! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!RbjW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!RbjW!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png 424w, /__u/substackcdn.com/image/fetch/$s_!RbjW!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png 848w, /__u/substackcdn.com/image/fetch/$s_!RbjW!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RbjW!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!RbjW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png" width="728" height="313" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0b528986-aa91-419c-90e0-311020435574_3560x1530.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:false,&quot;imageSize&quot;:&quot;normal&quot;,&quot;height&quot;:626,&quot;width&quot;:1456,&quot;resizeWidth&quot;:728,&quot;bytes&quot;:1410301,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/206331651?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:&quot;center&quot;,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!RbjW!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png 424w, /__u/substackcdn.com/image/fetch/$s_!RbjW!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png 848w, /__u/substackcdn.com/image/fetch/$s_!RbjW!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png 1272w, /__u/substackcdn.com/image/fetch/$s_!RbjW!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0b528986-aa91-419c-90e0-311020435574_3560x1530.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><strong><sub><span data-color="#351c75" style="color: rgb(53, 28, 117);">(A)</span></sub></strong><sub><span data-color="#351c75" style="color: rgb(53, 28, 117);"> Correlations, up to linear span alignment, between performance and neural alignment of models occur across domains and modalities (each dot in each panel is a neural network model). </span></sub><strong><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);">What causes these correlations?</span></sub></strong><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);"> </span></sub><strong><sub><span data-color="#351c75" style="color: rgb(53, 28, 117);">(B)</span></sub></strong><sub><span data-color="#351c75" style="color: rgb(53, 28, 117);"> Within a model, neuroanatomically consistent hierarachies emerge. </span></sub><strong><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Why?</span></sub></strong><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);"> </span></sub><strong><sub><span data-color="#351c75" style="color: rgb(53, 28, 117);">(C)</span></sub></strong><sub><span data-color="#351c75" style="color: rgb(53, 28, 117);"> And, </span></sub><a href="https://www.biorxiv.org/content/10.1101/2024.06.20.599957v1"><sub><span data-color="#351c75" style="color: rgb(53, 28, 117);">privileged axes</span></sub></a><sub><span data-color="#351c75" style="color: rgb(53, 28, 117);"> (such as the Gabor-like structures of V1) also reliably emerge. </span></sub><strong><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);">Why?</span></sub></strong><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);"> </span></sub><strong><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);">In fact, why do privileged axes exist at all?...</span></sub></strong></p><div><hr></div><h3>How does the Contravariance Principle help?</h3><p>The <a href="https://www.sciencedirect.com/science/article/abs/pii/S1389041723001341">Contravariance Principle in NeuroAI</a> is an idea that I helped develop a few years ago while working together with the redoubtable philosopher of neuroscience, <a href="https://philosophy.stanford.edu/people/rosa-cao">Rosa Cao</a> (the <a href="https://arxiv.org/abs/2104.01489">original arXiv version</a> appeared in 2021, but it was finally published in 2024).  The contravariance principle says, basically:</p><div class="callout-block" data-callout="true"><p><strong>Contravariance Principle</strong> <em>(Cao &amp; Yamins, 2021-2024)</em>: The size and dispersion of the set of (neural network) solutions to a task is contravariantly related (that is, fancy mathese for &#8220;inversely related&#8221;) to the difficulty of solving the task.  The harder the task, the fewer the solutions, and the more similar they are likely to be to each other. Thus, <strong>you will be more likely to observe convergent evolution between any two solutions</strong> (be they biological or artificial) when trying to solve hard real-world tasks &#8212; even with learned solutions you don&#8217;t totally understand &#8212; rather than when completely solving toy versions of the task whose solutions you can intuitively grok.  </p></div><p>Easy toy tasks will have many spurious solutions, and though your conceptually-clean hard-coded solution to it will totally work in the narrow case in which you conceived of it, that solution will be brittle and utterly fall apart outside that case when exposed to the complex situations of the real world. </p><p>In contrast, the somewhat hard-to-understand solution to the harder problem will be forced by the hard constraints of the task to look more like a real brain, which was evolved to deal with complex real-world circumstances in the first place.  </p><p>This figure captures the concept graphically:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="/__u/substackcdn.com/image/fetch/$s_!oXiZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="/__u/substackcdn.com/image/fetch/$s_!oXiZ!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png 424w, /__u/substackcdn.com/image/fetch/$s_!oXiZ!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png 848w, /__u/substackcdn.com/image/fetch/$s_!oXiZ!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png 1272w, /__u/substackcdn.com/image/fetch/$s_!oXiZ!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_webp, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png 1456w" sizes="100vw"><img src="/__u/substackcdn.com/image/fetch/$s_!oXiZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png" width="569" height="377.9004120879121" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:967,&quot;width&quot;:1456,&quot;resizeWidth&quot;:569,&quot;bytes&quot;:312114,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://danyamins.substack.com/i/206331651?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="/__u/substackcdn.com/image/fetch/$s_!oXiZ!, /__u/danyamins.substack.com/w_424, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png 424w, /__u/substackcdn.com/image/fetch/$s_!oXiZ!, /__u/danyamins.substack.com/w_848, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png 848w, /__u/substackcdn.com/image/fetch/$s_!oXiZ!, /__u/danyamins.substack.com/w_1272, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png 1272w, /__u/substackcdn.com/image/fetch/$s_!oXiZ!, /__u/danyamins.substack.com/w_1456, /__u/danyamins.substack.com/c_limit, /__u/danyamins.substack.com/f_auto, /__u/danyamins.substack.com/q_auto:good, /__u/danyamins.substack.com/fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff60190df-2fa6-4b1c-891e-87dc1c6afec5_2767x1837.png 1456w" sizes="100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p style="text-align: center;"><sub><span data-color="#ff0000" style="color: rgb(255, 0, 0);">As you increase task constraint strength along the x-axis, the size and dispersion of the solution set to the task decreases, and the likelihood of observing &#8220;convergent evolution&#8221; between solutions increases. </span></sub></p><p>Though the contravariance principle is, at least in the initial formulation of the paper with Cao, fairly mathematically obvious, it nonetheless has non-obvious consequences for neuroscience.  Specifically, it has a <strong><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);"><span data-color="#ff0000" style="color: rgb(255, 0, 0);">clear prescription</span></mark></strong><mark data-color="#ffff00" style="background-color: rgb(255, 255, 0); color: rgb(0, 0, 0);">:</mark></p><div class="callout-block" data-callout="true"><p><strong>Contravariance&#8217;s Anti-Reductionist Prescription for Experimental Design:</strong> Don&#8217;t make reduced versions of your task, where you think you will be able to &#8220;completely understand&#8221; the solution mechanism.  Instead, do experiments in complex situations where it&#8217;s hard to think of a hard-coded solution that will just solve the task you&#8217;re asking your animals or subjects to do. &#8212; that is to say, make experimental situations that are challenging and varied enough that the doing of the task itself is likely to be a strong constraint on the solution space.  That way, your proposed theory (which will probably have to be a learned neural network) will be less likely to be spurious and more likely to be brain-like. </p></div><p>This prescription is rather unintuitive for many (neuro)scientists, because they are used to following the standard physics-reductionist procedure of trying to simplify the phenomenon they&#8217;re interested in down to the most reduced version that captures its essence, and then completely and totally characterizing the neural mechanism for that reduced version.   The contravariance principle says that, for studying solutions to complex real-world evolutionary problems (which the brain is), the normal reductionist idea will end up being very misleading.  </p><p>I think it&#8217;s fair to say that, while this realization is gaining a little bit of ground in NeuroAI, it remains mostly unaccepted by (and probably unknown to) the systems neuroscience community at large.</p><h3>A Mathematical Theory of Contravariance</h3><p>The original version of contravariance is pretty informal, being a primarily philosophical contribution.  While that status has still supported some conceptual utility for the NeuroAI community, it has for several years been on our minds to try to see if the concept could be formalized.  Given the existence of <a href="https://www.biorxiv.org/content/10.1101/2024.08.07.607035v1">quite a bit of confusion in the field</a>, some definitive mathematical theorems could potentially be helpful. </p><p>Visions of conjectures danced in our heads, as we tried to understand not only how to define such terms as &#8220;task difficulty&#8221;, but also to imagine what types of nontrivial and useful results could likely be derived. <strong>Recently, however, Aran and I found a route in.</strong></p><p>The basic idea is to start with what turns out to be an easier question &#8212; namely, the relationship between linear similarity of representations at the population level, and <a href="https://www.biorxiv.org/content/10.1101/2024.06.20.599957v1">privileged-axis alignment</a> at the individual neuron level.   As detailed in the companion post Contravariance Theory, Part 1: Weak-Strong Equivalence, it turns out that these notions are tightly bound together, in the case of hard tasks &#8212; the kind of hard tasks that contravariance asks for.  In fact, we find that <strong>two apparently different metrics (&#8220;weak&#8221; linear-span equivalence and &#8220;strong&#8221; privileged-axis alignment) end up being essentially equivalent</strong>, in the hard-task limit.  </p><p>The technical tools and conceptual ideas needed for Weak-Strong Equivalence (WSE) allowed us to see how to measure task difficulty.  With one additional ingredient &#8212; that of minimality &#8212; we were then able to see how to extend WSE results to full contravariance: a proof that for minimal solutions to hard tasks, there are very few solutions and they are essentially all the same.  </p><p>Our new arXiv paper, <a href="https://arxiv.org/abs/2607.08561">Contravariance Theory: Strong Alignment for Minimal Solutions to Hard Tasks</a>, explicates the mathematical basis for these ideas.   We hope you read the paper &#8212; at least the initial part, which is a gentle-ish mostly non-mathematical summary.  (There is also a ~70pp. appendix with all the hairy math that you might find fun if that&#8217;s your sort of thing.)  </p><div><hr></div><p>As a guide to the new paper, in the following posts &#8212; which will appear over the next few weeks &#8212; we will discuss:</p><ul><li><p><strong><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">Weak-Strong Equivalence:</a></strong><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1"> how weak alignment of neural representations up to linear equivalence, in the context of hard tasks, forces strong alignment up to single-unit privileged axes. </a> Along the way we will see how to formalize &#8220;hardness&#8221; in an appropriate way. [<a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part1">Posted</a> 2026/07/13.]</p></li><li><p><strong><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2">Zippering Theorems:</a></strong><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2"> How weak alignment at a terminal layer, for a hard task solved with a </a><strong><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2">minimal</a></strong><a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2"> solution, can &#8220;zipper upstream&#8221; to force full contravariant similarity throughout a network hierarchy. </a>[<a href="/__u/danyamins.substack.com/p/the-theory-of-contravariance-part2">Posted</a> 2026/07/22]</p></li><li><p><strong><a href="/__u/danyamins.substack.com/p/contravariance-theory-part-3-transformers">Contravariance for Transformers: </a></strong><a href="/__u/danyamins.substack.com/p/contravariance-theory-part-3-transformers"> How the theory of weak-strong equivalence and zippering apply to the case of transformer architectures, explaining some interesting recent mysteries in the pattern of NeuroAI results. [Posted 2026/08/05]</a></p></li><li><p><strong><a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4a-rsa">Contravariance and Representational Similarity Analysis (RSA):</a></strong><a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4a-rsa"> The new contravariance theory touches primarily on linear similarity and single-unit preferred axes.  But the theory provides a framework for thinking about other metrics like RSA as well.  [Posted 2026/08/24]</a>. And <a href="/__u/danyamins.substack.com/p/contravariance-theory-part-4b-rsa">here</a> is the empirical companion post. </p></li><li><p><strong>Contravariance vs the Platonic Representation Hypothesis (PRH):</strong> The PRH is a recent cool proposal from [Huh et al].  Our new theory sheds light on how the PRH is both related to, and quite different from, Contravariance, and maybe provides a path to PRH formalization. </p></li><li><p><strong>The Math Itself:</strong> A tour of the mathematical concepts behind our theory of contravariance and how they combine algebraic geometry, manifold theory, and deep learning (fairly specialist-level). </p></li><li><p><strong>How we used LLMs in our research workflow.</strong> The mathematical capabilities of LLMs were an integral component of our being able to make rapid, strong progress on these problems.  You might find our workflow practices helpful for your own research. </p></li></ul><p>We hope you enjoy the series! </p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://danyamins.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading The Principle Investigator! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div>]]></content:encoded></item><item><title><![CDATA[Why I'm starting a substack]]></title><description><![CDATA[I want to communicate some "delicate" ideas.]]></description><link>https://danyamins.substack.com/p/why-im-starting-a-substack</link><guid isPermaLink="false">https://danyamins.substack.com/p/why-im-starting-a-substack</guid><dc:creator><![CDATA[Dan Yamins]]></dc:creator><pubDate>Sun, 10 May 2026 19:38:39 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!PWX0!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997c9a1c-e4bc-463c-b0e5-b2cdd11950b3_698x698.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><em>A decent respect to the opinions of my colleagues requires that I declare the causes which impel me to write, and make a claim on their valuable time.</em> </p><div><hr></div><p>Lots of smart people have started blogs and Substacks and related things in the last few years. Why am I coming to the party now? </p><p>Well, for a long time I&#8217;d been comfortable with, or at any rate resigned to, the idea of being the traditional academic: communicating with people via papers and departmental talks. I&#8217;d done a few podcasts here and there, but had largely not embraced the modern social media matrix.   In fact, I would say that when I started my lab almost 10 years ago (!) I was downright disdainful of that type of engagement. Science Twitter just rubbed me very wrong: I guess it felt too flashy for me, and seemed to encourage a kind of personal self-promotion that made me feel icky.  </p><p>But as I&#8217;ve gotten a little more familiar with my job, the importance of science communication has slowly, painfully, awkwardly, dawned on me.   Like many people in my position, I&#8217;ve felt inexpert and frankly, ineffective, at launching ideas in today&#8217;s roiling attention economy, where papers and talks seem inadequate. And plenty of times, I see ideas discussed in science-y social media, and think, &#8220;I&#8217;ve got something good to say about that&#8230; but should I really take the plunge and put something out there?&#8221;   I guess I want to influence the conversation as much as the next person, but how do I do that without piercing my self-regard as a non-self-promoter? </p><div><hr></div><p>Actually, the main thing is that I&#8217;ve realized that I want to communicate some high-level ideas that are too &#8220;delicate&#8221; for X/Bluesky/LinkedIn and need a longer and calmer format to explicate, and too agile for the plodding cycle of peer-reviewed publications.  Essentially, I think the conversation in my field &#8212; NeuroAI, let&#8217;s call it, for the time being &#8212;  is ripe for disruption.  I think there&#8217;s a hunger in the community for some more sophisticated treatments of intermediate and advanced-level concepts. My <a href="/__u/danyamins.substack.com/p/kolmogorov-complexity-and-neuroai">first substantive post, about Kolmogorov complexity for DNN brain models</a>, is a example of this.   </p><p>My plan is to try to post something substantive once every two weeks or so.   I hope you find it useful! </p>]]></content:encoded></item><item><title><![CDATA[Kolmogorov Complexity & NeuroAI Models ]]></title><description><![CDATA[An aesthetic calculation for modern theories of the brain.]]></description><link>https://danyamins.substack.com/p/kolmogorov-complexity-and-neuroai</link><guid isPermaLink="false">https://danyamins.substack.com/p/kolmogorov-complexity-and-neuroai</guid><dc:creator><![CDATA[Dan Yamins]]></dc:creator><pubDate>Sun, 10 May 2026 19:37:43 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!PWX0!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F997c9a1c-e4bc-463c-b0e5-b2cdd11950b3_698x698.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><strong>Tl;dr:</strong> Task-driven NeuroAI models<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> have been shown to <a href="https://www.brain-score.org/">predict brain data</a> pretty effectively in a wide variety of areas, including <a href="https://www.pnas.org/doi/10.1073/pnas.2014196118">the vision system</a>, <a href="https://pubmed.ncbi.nlm.nih.gov/29681533/">the auditory system</a>, <a href="https://arxiv.org/abs/2505.18361">somatosensory cortex</a>, <a href="https://www.pnas.org/doi/abs/10.1073/pnas.2005087117">motor cortex</a>, <a href="https://www.biorxiv.org/content/10.1101/2021.10.30.466617v2">grid cells</a>, <a href="https://www.pnas.org/doi/10.1073/pnas.2105646118">language areas</a>, and <a href="https://neurips.cc/virtual/2025/loc/san-diego/poster/116777">whole agents</a>.  But one often hears the complaint that such models are unsatisfying because they are not &#8220;compact&#8221;.   Here we describe a more nuanced way of thinking about this issue.  </p><h4><strong>(0) What&#8217;s the concern about compactness in NeuroAI models?   </strong></h4><p>Scientists and engineers rightly want simple models of systems, because simple models are easier to understand, analyze, manipulate, and improve.  Large neural network models of things are often supposed to be not simple in this way, perhaps in part because they have lots of parameters and because they are not pre-wired by hand with a specific algorithmic solution to each task.  Sometimes you hear a related complaint that <a href="https://www.science.org/content/article/how-ai-detectives-are-cracking-open-black-box-deep-learning">DNN models of the brain are &#8220;black boxes</a>&#8221; that are as impenetrably complex as the brain they&#8217;re supposed to be explaining.   </p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://danyamins.substack.com/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="SubscribeWidgetToDOM"><div class="subscription-widget show-subscribe"><div class="preamble"><p class="cta-caption">Thanks for reading The Principle Investigator! Subscribe for free to receive new posts and support my work.</p></div><form class="subscription-widget-subscribe"><input type="email" class="email-input" name="email" placeholder="Type your email&#8230;" tabindex="-1"><input type="submit" class="button primary" value="Subscribe"><div class="fake-input-wrapper"><div class="fake-input"></div><div class="fake-button"></div></div></form></div></div><p>But is this charge really true?  </p><h4><strong>(1) What is the Kolmogorov Complexity of DNN Brain Models?  </strong></h4><p>One fairly decent<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a> way to measure complexity of a mathematical object is <strong>K</strong>olmogorov <strong>C</strong>omplexity (<strong>KC</strong>) &#8212; the length of the shortest program needed to generate that object: </p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\textbf{KC}(X) = |\\textbf{Shortest program generating }X|&quot;,&quot;id&quot;:&quot;YEFAZGKGSF&quot;}" data-component-name="LatexBlockToDOM"></div><p><code>KC</code> applies to scientific models in an intuitive way:  at a given level of data predictive accuracy, the lower <code>KC</code>, the more compact the theory.  <a href="https://www.researchgate.net/profile/Douglas-Youvan/publication/384803846_Kolmogorov_and_Occam_Exploring_the_Intersection_of_Compression_Truth_and_Simplicity_in_Human_Thought_and_Language/links/6707d19968e0f20a61080d08/Kolmogorov-and-Occam-Exploring-the-Intersection-of-Compression-Truth-and-Simplicity-in-Human-Thought-and-Language.pdf">The ideal is a </a><strong><a href="https://www.researchgate.net/profile/Douglas-Youvan/publication/384803846_Kolmogorov_and_Occam_Exploring_the_Intersection_of_Compression_Truth_and_Simplicity_in_Human_Thought_and_Language/links/6707d19968e0f20a61080d08/Kolmogorov-and-Occam-Exploring-the-Intersection-of-Compression-Truth-and-Simplicity-in-Human-Thought-and-Language.pdf">compact</a></strong><a href="https://www.researchgate.net/profile/Douglas-Youvan/publication/384803846_Kolmogorov_and_Occam_Exploring_the_Intersection_of_Compression_Truth_and_Simplicity_in_Human_Thought_and_Language/links/6707d19968e0f20a61080d08/Kolmogorov-and-Occam-Exploring-the-Intersection-of-Compression-Truth-and-Simplicity-in-Human-Thought-and-Language.pdf"> model: one that is low-</a><code>KC</code><a href="https://www.researchgate.net/profile/Douglas-Youvan/publication/384803846_Kolmogorov_and_Occam_Exploring_the_Intersection_of_Compression_Truth_and_Simplicity_in_Human_Thought_and_Language/links/6707d19968e0f20a61080d08/Kolmogorov-and-Occam-Exploring-the-Intersection-of-Compression-Truth-and-Simplicity-in-Human-Thought-and-Language.pdf">, while being highly predictive of data.</a>  </p><p>Most people don&#8217;t dispute that deep net-based brain models are highly data-predictive.  But are they compact?  In other words: are they low-<code>KC</code>? </p><h4><strong>(2) Bounding the Kolmogorov Complexity of Optimization Products</strong></h4><p>Calculating <code>KC</code> exactly for any particular mathematical object is often pretty hard.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-3" href="#footnote-3" target="_self">3</a>  However, we can get a rough picture for DNNs. The key point is that DNNs are the result of optimization, and every optimization process has four key components:</p><ul><li><p>the <strong>architecture</strong> &#8212; the function class whose parameters are optimized</p></li><li><p>the <strong>loss function</strong> &#8212; the objective function that is minimized during optimization </p></li><li><p>the <strong>learning rule &#8212; </strong>the algorithm by which parameter updates are computed </p></li><li><p>the <strong>training data</strong> &#8212; the inputs on which loss is calculated during optimization</p></li></ul><p>The optimization process itself is just a for loop applying the learning rule repeatedly. Thus, the <code>KC</code><strong> </strong>of a DNN is bounded by the sum of the complexities of each component:<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-4" href="#footnote-4" target="_self">4</a></p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{align}\n\\textbf{KC}(\\text{DNN}) \\quad \\leq &amp; \\quad \\textbf{KC}(\\text{For-loop-of-optimization}) \\quad + \\\\ &amp;\\quad \\textbf{KC}(\\text{Architecture}) \\quad + \\\\ &amp; \\quad \\textbf{KC}(\\text{Loss Fn}) \\quad +  \\\\ &amp; \\quad \\textbf{KC}(\\text{Learning Rule}) \\quad + \\\\ &amp; \\quad\\textbf{KC}(\\text{Data}).\n\\end{align}&quot;,&quot;id&quot;:&quot;OTAOJYXRCI&quot;}" data-component-name="LatexBlockToDOM"></div><h4><strong>(3) Analyzing the Terms. </strong></h4><p>So let&#8217;s look at each component separately:</p><ol><li><p>The<strong> For-loop</strong>. Specifying a for loop is really low <code>KC</code>, since it&#8217;s a short string in any programming language. </p></li><li><p>The <strong>Architecture.</strong>  The <code>KC</code> of deep net architectures is very low because it takes very few bits to write down any neural network architecture (like a ConvNet or a transformer). </p></li><li><p>The <strong>Loss Function</strong>.  The <code>KC</code> of any reasonable deep net loss function is very low; after all, it takes very few bits to write down e.g. next token prediction loss or the contrastive-type loss functions. </p></li><li><p>The <strong>Learning Rule</strong>. Gradient descent through backpropagation is a very simple formula. It takes very bits to code up, even if you use a non-trivial optimizer like AdamW.  It has very low <code>KC</code>.</p></li></ol><p>So far, we have:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{align}\n\\textbf{KC}(\\text{DNN}) \\quad \\leq &amp; \\quad \\text{Low} +  \\text{Low} +  \\text{Low}  + \\text{Low}  \\\\ &amp; \\quad + \\quad \\textbf{KC}(\\text{Data}).\n\\end{align}&quot;,&quot;id&quot;:&quot;UKIVYBQFPJ&quot;}" data-component-name="LatexBlockToDOM"></div><p></p><p>It&#8217;s looking pretty good.  But here approacheth the rub.  </p><ol start="5"><li><p>The <strong>Data</strong>. Good data for training brain-like models comes from a unconstrained real-world system, like the text on the web or YouTube videos.  What the length of the shortest description of the data generating program of the world?  That&#8217;s probably pretty high.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-5" href="#footnote-5" target="_self">5</a> And though simple artificial stimuli <a href="https://www.nature.com/articles/nn1606">have their place in creating model test evaluations</a>, it is not easy to substitute these simpler controlled alternatives in place of complex real-world data during training.</p></li></ol><p>This split between compactness of the rules describing how a system is created vs complexity in the &#8220;boundary conditions&#8221; of the data those rules operate on is very natural, and <a href="https://www.pas.va/content/dam/casinapioiv/pas/pdf-volumi/acta/acta-22-pdf-papers/acta22-manin.pdf">comes up repeatedly all across scientific discourse</a>. </p><h4><strong>(4) But the complexity of the world isn&#8217;t the brain&#8217;s fault.  </strong></h4><p>So are DNN models still compact even though <code>KC(Data)</code> is probably high? Yes, because the complexity of the environment shouldn&#8217;t be &#8220;charged against&#8221; (a model of) the brain.  The data of the world is presented &#8220;for free&#8221; to the organism.  If the constraints behind creating (&#8220;programming&#8221;) the brain-device that does the handling of the signals from the world is itself compactly describable, that is what really matters, even if the signals it operates on are complex.   In other words, we are trying to understand a theory of the brain itself, as opposed to the specifics of the world the brain is situated in. </p><p>With this in mind, what we end up with is:</p><div class="latex-rendered" data-attrs="{&quot;persistentExpression&quot;:&quot;\\begin{align}\n\\textbf{KC}(\\text{DNN}) \\quad \\leq &amp; \\quad \\text{Low} +  \\text{Low} +  \\text{Low}  + \\text{Low}  \\\\ &amp; \\quad + \\quad \\cancelto{0}{\\textbf{KC}(\\text{Data})}.\n\\end{align}&quot;,&quot;id&quot;:&quot;UTEIMDPCJU&quot;}" data-component-name="LatexBlockToDOM"></div><p></p><p>This calculation has two implications:</p><h4><strong>(5) Constraint-based theories (like task-driven DNNs) are beautiful. </strong></h4><p>Even though DNN models of the brain are big in the sense of having many parameters, they are nonetheless compact in an important sense, because the key components needed to construct the model itself are describable very simply.   <strong>In particular, the task-driven theory of the brain compactly describes the </strong><em><strong>constraints</strong></em><strong> that create brains.</strong>  Appreciating the beauty of a constraint-based description is an aesthetic for scientific theories that is a bit new, but we should become comfortable with it. It&#8217;s what taking ideas like Kolmogorov complexity seriously demand of us.   More over, it&#8217;s a good aesthetic for understanding the output of an evolutionary optimization process (like the brain), where it&#8217;s the constraints, rather than the final evolved product, that has the best chance of being simple. </p><h4><strong>(6) Be wary of theories of &#8220;representation&#8221; or &#8220;the neural code". </strong></h4><p>Classical theories of the neural code &#8212; like <a href="https://www.johancarlin.com/gabor-filter-models-for-visual-neuroscience.html">the Gabor filterbank model of V1</a> &#8212; are very attractive, because if they can be made to work, they are even more compact than any constraint-based optimization theory. And similarly for explicit descriptions of <a href="https://www.nature.com/articles/s41583-021-00502-3">the representational geometry</a> of a system.  But any theory concept that seeks to explain not only the constraints on the brain, but actually says that it will give a compact description of &#8220;the neural code&#8221; or &#8220;the representation&#8221; &#8212; like a closed-form formula for neural responses or <a href="https://openbooks.library.northwestern.edu/neuroscienceconcepts/chapter/tuning-curves/">tuning curves</a>, or a detailed block-diagonal description of an RDM matrix &#8212; is implicitly saying that it will give a compact description of that data also, implying that <code>KC(Data)</code> would have to be low.<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-6" href="#footnote-6" target="_self">6</a>  That is probably not true; at any rate, we should definitely not <em>a priori</em> expect it.</p><p>But in any case, we shouldn&#8217;t be too down about this conclusion, because even if the &#8220;neural code&#8221; route to a theory of the brain doesn&#8217;t end up being viable,  the constraint theories (see point 5 above) are viable and, when properly appreciated, very satisfying. </p><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-1" href="#footnote-anchor-1" class="footnote-number" contenteditable="false" target="_self">1</a><div class="footnote-content"><p>&#8220;Task-driven&#8221; should be read broadly to include models optimized for self-supervised loss functions, rather than just restricted to traditional &#8220;task&#8221; supervision.</p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-2" href="#footnote-anchor-2" class="footnote-number" contenteditable="false" target="_self">2</a><div class="footnote-content"><p>There are other ways to measure model complexity and compactness; I actually don&#8217;t necessarily think Kolmogorov complexity is the ultimate best measure. But I think it is ok for the purposes of this discussion, and certainly better than Shannon information, which would make complexity proportionate to the (<code>log</code> of) the number of model parameters. </p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-3" href="#footnote-anchor-3" class="footnote-number" contenteditable="false" target="_self">3</a><div class="footnote-content"><p>It&#8217;s generally hard to compute KC since the definition of <strong>KC(X)</strong> quantifies over all programs with a certain property (namely, generating <strong>X</strong>), and it&#8217;s hard to prove lower bounds in the space of all programs. As Wikipedia informs us, &#8220;no single program can compute the exact Kolmogorov complexity for infinitely many texts&#8221;. </p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-4" href="#footnote-anchor-4" class="footnote-number" contenteditable="false" target="_self">4</a><div class="footnote-content"><p>This is an upper bound because exhibiting the optimization program that creates a DNN shows that whatever the shortest program that creates it is, it can&#8217;t be <em>longer</em> than that program.  But it might in principle be shorter &#8212; like in the event that you could find a simple closed-form algebraic formula for the result of the optimization.</p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-5" href="#footnote-anchor-5" class="footnote-number" contenteditable="false" target="_self">5</a><div class="footnote-content"><p>Imagine trying to create a <em>de novo</em> generator for the visual, auditory, textual, etc data of the world.  Just focusing on creating the video data subset of this challenge for a moment, even if one had a perfect physics and graphics engine (far from easily obtainable), you&#8217;d still need a way to create all <a href="https://www.turbosquid.com/">the 3D assets</a> that engine would need to operate one &#8230; and the sheer magnitude of the problem quickly becomes clear. </p></div></div><div class="footnote" data-component-name="FootnoteToDOM"><a id="footnote-6" href="#footnote-anchor-6" class="footnote-number" contenteditable="false" target="_self">6</a><div class="footnote-content"><p>Indeed, even the Gabor filterbank model of V1 encodes an assumption about the statistical nature of natural images &#8212; and thereby suffers quantitatively as a brain model, precisely because this too-simple assumption is not really true. </p></div></div>]]></content:encoded></item></channel></rss>