<?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 NeuroAI archive]]></title><description><![CDATA[Research on Neuro-Inspired AI and AI-accelerated Neuro. ]]></description><link>https://www.neuroai.science</link><image><url>https://substackcdn.com/image/fetch/$s_!WvCx!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a3be57f-f6d5-4684-98b8-859ef181e86e_798x798.png</url><title>The NeuroAI archive</title><link>https://www.neuroai.science</link></image><generator>Substack</generator><lastBuildDate>Thu, 30 Apr 2026 06:01:24 GMT</lastBuildDate><atom:link href="https://www.neuroai.science/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Patrick Mineault]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[naix@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[naix@substack.com]]></itunes:email><itunes:name><![CDATA[Patrick Mineault]]></itunes:name></itunes:owner><itunes:author><![CDATA[Patrick Mineault]]></itunes:author><googleplay:owner><![CDATA[naix@substack.com]]></googleplay:owner><googleplay:email><![CDATA[naix@substack.com]]></googleplay:email><googleplay:author><![CDATA[Patrick Mineault]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Accelerating Neuroscience to Change AI's Trajectory]]></title><description><![CDATA[Abundance for neuroscience, d/acc for AI]]></description><link>https://www.neuroai.science/p/accelerating-neuroscience-to-change</link><guid isPermaLink="false">https://www.neuroai.science/p/accelerating-neuroscience-to-change</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Wed, 01 Apr 2026 18:38:14 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!yjd9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Neuroscience is slow. AI is fast. How, then, can neuroscience change the trajectory of AI? We must first accelerate neuroscience!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!yjd9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!yjd9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png 424w, https://substackcdn.com/image/fetch/$s_!yjd9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png 848w, https://substackcdn.com/image/fetch/$s_!yjd9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png 1272w, https://substackcdn.com/image/fetch/$s_!yjd9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!yjd9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png" width="1456" height="794" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:794,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!yjd9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png 424w, https://substackcdn.com/image/fetch/$s_!yjd9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png 848w, https://substackcdn.com/image/fetch/$s_!yjd9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.png 1272w, https://substackcdn.com/image/fetch/$s_!yjd9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb26b87e1-4d16-4fc2-a61c-5aac626fe2cd_1600x873.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 role="img" 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><title></title><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 think that the path forward is through distillation of neural data; and the most impactful path for neuroAI is toward AI safety. In this blog post, we unpack how we came to that conclusion; how the emulation and distillation paths to AI safety differ in their payoff timelines; what we can hope to learn from the brain&#8217;s representations; and why we think AI safety is over-leveraged on a handful of approaches. </p><div class="embedded-post-wrap" data-attrs="{&quot;id&quot;:192684398,&quot;url&quot;:&quot;https://blog.amaranth.foundation/p/towards-magnanimous-agi&quot;,&quot;publication_id&quot;:1934556,&quot;publication_name&quot;:&quot;Amaranth Foundation Blog&quot;,&quot;publication_logo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!HH0r!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F883fa1a8-feba-47a2-ab23-cbb927e5ca87_560x560.png&quot;,&quot;title&quot;:&quot;Towards Magnanimous AGI&quot;,&quot;truncated_body_text&quot;:&quot;The design space of general intelligence is vast, and we have no idea how much of it is safe beyond the narrow region that we humans inhabit. We are racing towards Artificial General Intelligence (AGI) without building the guardrails necessary to prevent catastrophic risk. Because the human brain is the only broadly cooperative general intelligence we k&#8230;&quot;,&quot;date&quot;:&quot;2026-03-31T18:54:41.870Z&quot;,&quot;like_count&quot;:11,&quot;comment_count&quot;:1,&quot;bylines&quot;:[{&quot;id&quot;:282769,&quot;name&quot;:&quot;James Fickel&quot;,&quot;handle&quot;:&quot;jamesfickel&quot;,&quot;previous_name&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/881b23dd-4b1b-405a-9ebd-5891cbfe7388_723x723.jpeg&quot;,&quot;bio&quot;:null,&quot;profile_set_up_at&quot;:&quot;2023-06-20T04:32:46.294Z&quot;,&quot;reader_installed_at&quot;:null,&quot;is_guest&quot;:true,&quot;bestseller_tier&quot;:null,&quot;status&quot;:{&quot;bestsellerTier&quot;:null,&quot;subscriberTier&quot;:1,&quot;leaderboard&quot;:null,&quot;vip&quot;:false,&quot;badge&quot;:{&quot;type&quot;:&quot;subscriber&quot;,&quot;tier&quot;:1,&quot;accent_colors&quot;:null},&quot;paidPublicationIds&quot;:[49766],&quot;subscriber&quot;:null}},{&quot;id&quot;:17921567,&quot;name&quot;:&quot;Patrick Mineault&quot;,&quot;handle&quot;:&quot;patrickmineault&quot;,&quot;previous_name&quot;:null,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e0dbee55-9a27-4d31-b784-8779443b8f7d_400x400.jpeg&quot;,&quot;bio&quot;:&quot;Neuro AI, vision, Python, open science. NeuroAI lead at Amaranth. Previously engineer @ Google, Meta, Mila. &quot;,&quot;profile_set_up_at&quot;:&quot;2023-03-03T14:47:16.973Z&quot;,&quot;reader_installed_at&quot;:&quot;2023-03-03T14:46:36.453Z&quot;,&quot;is_guest&quot;:true,&quot;bestseller_tier&quot;:null,&quot;status&quot;:{&quot;bestsellerTier&quot;:null,&quot;subscriberTier&quot;:1,&quot;leaderboard&quot;:null,&quot;vip&quot;:false,&quot;badge&quot;:{&quot;type&quot;:&quot;subscriber&quot;,&quot;tier&quot;:1,&quot;accent_colors&quot;:null},&quot;paidPublicationIds&quot;:[3477619,35345],&quot;subscriber&quot;:null},&quot;primaryPublicationId&quot;:1564943,&quot;primaryPublicationName&quot;:&quot;The NeuroAI archive&quot;,&quot;primaryPublicationUrl&quot;:&quot;https://www.neuroai.science&quot;,&quot;primaryPublicationSubscribeUrl&quot;:&quot;https://www.neuroai.science/subscribe?&quot;},{&quot;id&quot;:4429461,&quot;name&quot;:&quot;Joanne Peng&quot;,&quot;handle&quot;:&quot;joannezpeng&quot;,&quot;previous_name&quot;:null,&quot;photo_url&quot;:&quot;https://substackcdn.com/image/fetch/$s_!KMcR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fbucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com%2Fpublic%2Fimages%2Fc010570a-599c-494b-b8e8-0cf1205011b8_960x960.jpeg&quot;,&quot;bio&quot;:&quot;Research Director @ Amaranth Foundation, previously MIT, Princeton CS, Thiel Fellow.&quot;,&quot;profile_set_up_at&quot;:&quot;2021-10-14T15:44:20.409Z&quot;,&quot;reader_installed_at&quot;:&quot;2025-08-18T02:58:28.596Z&quot;,&quot;is_guest&quot;:true,&quot;bestseller_tier&quot;:null,&quot;status&quot;:{&quot;bestsellerTier&quot;:null,&quot;subscriberTier&quot;:1,&quot;leaderboard&quot;:null,&quot;vip&quot;:false,&quot;badge&quot;:{&quot;type&quot;:&quot;subscriber&quot;,&quot;tier&quot;:1,&quot;accent_colors&quot;:null},&quot;paidPublicationIds&quot;:[23417,3087928,15764],&quot;subscriber&quot;:null},&quot;primaryPublicationId&quot;:6032689,&quot;primaryPublicationName&quot;:&quot;Joanne Peng&quot;,&quot;primaryPublicationUrl&quot;:&quot;https://joannezpeng.substack.com&quot;,&quot;primaryPublicationSubscribeUrl&quot;:&quot;https://joannezpeng.substack.com/subscribe?&quot;},{&quot;id&quot;:167454800,&quot;name&quot;:&quot;Amaranth Foundation&quot;,&quot;handle&quot;:&quot;amaranthletters&quot;,&quot;previous_name&quot;:&quot;Raiany Romanni&quot;,&quot;photo_url&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a5c8fb72-c7ff-452e-8308-b143ff3cd1c1_560x560.jpeg&quot;,&quot;bio&quot;:&quot;amaranth.foundation&quot;,&quot;profile_set_up_at&quot;:&quot;2023-09-08T00:36:29.958Z&quot;,&quot;reader_installed_at&quot;:&quot;2024-01-02T00:32:14.627Z&quot;,&quot;is_guest&quot;:true,&quot;bestseller_tier&quot;:null,&quot;status&quot;:{&quot;bestsellerTier&quot;:null,&quot;subscriberTier&quot;:null,&quot;leaderboard&quot;:null,&quot;vip&quot;:false,&quot;badge&quot;:null,&quot;paidPublicationIds&quot;:[],&quot;subscriber&quot;:null},&quot;primaryPublicationId&quot;:1934556,&quot;primaryPublicationName&quot;:&quot;Amaranth Foundation Blog&quot;,&quot;primaryPublicationUrl&quot;:&quot;https://blog.amaranth.foundation&quot;,&quot;primaryPublicationSubscribeUrl&quot;:&quot;https://blog.amaranth.foundation/subscribe?&quot;}],&quot;utm_campaign&quot;:null,&quot;belowTheFold&quot;:false,&quot;type&quot;:&quot;newsletter&quot;,&quot;language&quot;:&quot;en&quot;}" data-component-name="EmbeddedPostToDOM"><a class="embedded-post" native="true" href="https://blog.amaranth.foundation/p/towards-magnanimous-agi?utm_source=substack&amp;utm_campaign=post_embed&amp;utm_medium=web"><div class="embedded-post-header"><img class="embedded-post-publication-logo" src="https://substackcdn.com/image/fetch/$s_!HH0r!,w_56,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F883fa1a8-feba-47a2-ab23-cbb927e5ca87_560x560.png"><span class="embedded-post-publication-name">Amaranth Foundation Blog</span></div><div class="embedded-post-title-wrapper"><div class="embedded-post-title">Towards Magnanimous AGI</div></div><div class="embedded-post-body">The design space of general intelligence is vast, and we have no idea how much of it is safe beyond the narrow region that we humans inhabit. We are racing towards Artificial General Intelligence (AGI) without building the guardrails necessary to prevent catastrophic risk. Because the human brain is the only broadly cooperative general intelligence we k&#8230;</div><div class="embedded-post-cta-wrapper"><span class="embedded-post-cta">Read more</span></div><div class="embedded-post-meta">a month ago &#183; 11 likes &#183; 1 comment &#183; James Fickel, Patrick Mineault, Joanne Peng, and Amaranth Foundation</div></a></div><p>Our goal at the Amaranth Foundation is to bring about a positive transition to AGI. We&#8217;ve got many more posts in the pipeline covering everything from brain aging and longevity to abundant solar energy. Hit the subscribe button over there to get these updates.</p>]]></content:encoded></item><item><title><![CDATA[Cell types: from genes to circuits]]></title><description><![CDATA[Part II in our series on cell types and connectomes]]></description><link>https://www.neuroai.science/p/cell-types-wiring-up-innate-circuits</link><guid isPermaLink="false">https://www.neuroai.science/p/cell-types-wiring-up-innate-circuits</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Wed, 04 Mar 2026 15:47:50 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/5d65eeeb-64b0-49cc-867e-cf39cfd8d598_1122x838.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><a href="https://www.neuroai.science/p/cell-types-encoding-the-brains-bios">In the last post</a>, I presented a counterintuitive idea: <strong>areas of the brain that contain many cell types encode innate behaviors and rewards</strong>. Myriad neurons with strange morphology that are connected idiosyncratically are an indicator of evolutionary pressure: behaviors and rewards that have survival value become genetically hard-coded. What I didn&#8217;t get to is <em>how, mechanically, cell types can encode bespoke circuits</em>. How is it that two neurons of different types can &#8220;decide&#8221; whether or not to connect to each other? And how can that encode important circuit motifs, like point and line attractors?</p><p>It turns out that evolution has (at least) two different tricks to encode intrinsic circuits: wiring rules and wireless (neuropeptide) connection rules. I present how these different rules interact in a circuit in the hypothalamus that controls aggression. Let&#8217;s go!</p><h2>Cell Types Determine Wiring Instructions</h2><p>D&#225;niel and Albert-L&#225;szl&#243; Barab&#225;si propose a formal framework for understanding how genetic identity translates into connectivity (<a href="https://www.cell.com/neuron/fulltext/S0896-6273(19)30926-2">Barab&#225;si &amp; Barab&#225;si, 2019</a>). In their model, each neuron possesses a &#8220;barcode&#8221;&#8212;a combinatorial pattern of transcription factors that defines its cell type. Wiring rules then operate on these barcodes through what they call <strong>biclique operators</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TTj5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TTj5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png 424w, https://substackcdn.com/image/fetch/$s_!TTj5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png 848w, https://substackcdn.com/image/fetch/$s_!TTj5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png 1272w, https://substackcdn.com/image/fetch/$s_!TTj5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TTj5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png" width="568" height="714.2912087912088" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1831,&quot;width&quot;:1456,&quot;resizeWidth&quot;:568,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;From Barab&#225;si &amp; Barab&#225;si, 2020. TFs act as barcodes; boolean logic is applied on top of the transcription factors to determine which neuron is connected with which.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="From Barab&#225;si &amp; Barab&#225;si, 2020. TFs act as barcodes; boolean logic is applied on top of the transcription factors to determine which neuron is connected with which." title="From Barab&#225;si &amp; Barab&#225;si, 2020. TFs act as barcodes; boolean logic is applied on top of the transcription factors to determine which neuron is connected with which." srcset="https://substackcdn.com/image/fetch/$s_!TTj5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png 424w, https://substackcdn.com/image/fetch/$s_!TTj5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png 848w, https://substackcdn.com/image/fetch/$s_!TTj5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.png 1272w, https://substackcdn.com/image/fetch/$s_!TTj5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0d7a7b5-5a65-4dee-8650-7945f8e3a25d_1667x2096.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 role="img" 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><title></title><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">From Barab&#225;si &amp; Barab&#225;si, 2020. TFs act as barcodes; boolean logic is applied on top of the transcription factors to determine which neuron is connected with which.</figcaption></figure></div><p>A biclique operator recognizes matching patterns in source and destination neurons and generates connections between all neurons matching those patterns. Consider a system where neurons are identified by three binary transcription factors. An operator might say &#8220;connect all neurons expressing TF1 and TF3 to all neurons expressing TF2 and TF3&#8221;. The key insight is that a single compact genetic rule can specify many connections simultaneously. Anything from OR gates to AND &amp; NOR gates, combined with Boolean masks, can be expressed this way.</p><p>The Barab&#225;sis tested this model against the <em>C. elegans</em> connectome. The key test is that the pattern of connections in this model is highly non-random: cells of the same type should connect preferentially to the same target cell types. They found these patterns&#8212;biclique motifs&#8212;at a far higher rate than what random or models would predict. Moreover, neurons within these bicliques shared statistically significant gene expression patterns, suggesting that common genetic factors indeed drive synapse formation within these subgraphs. Similar patterns appeared in <em>C. intestinalis</em> and drosophila olfactory circuits.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_wE2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_wE2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png 424w, https://substackcdn.com/image/fetch/$s_!_wE2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png 848w, https://substackcdn.com/image/fetch/$s_!_wE2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!_wE2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_wE2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png" width="478" height="500.9948822927329" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:977,&quot;resizeWidth&quot;:478,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Cell adhesion molecules are how neurons recognize each other to trigger synapse formation. From Dalva et al. (2007).&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Cell adhesion molecules are how neurons recognize each other to trigger synapse formation. From Dalva et al. (2007)." title="Cell adhesion molecules are how neurons recognize each other to trigger synapse formation. From Dalva et al. (2007)." srcset="https://substackcdn.com/image/fetch/$s_!_wE2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png 424w, https://substackcdn.com/image/fetch/$s_!_wE2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png 848w, https://substackcdn.com/image/fetch/$s_!_wE2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!_wE2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fead356ed-5acf-4c0d-86ac-1e3850f16881_977x1024.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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">Cell adhesion molecules are how neurons recognize each other to trigger synapse formation. From Dalva et al. (2007).</figcaption></figure></div><p>The concrete mechanism for biclique matching is not resolved in this computational paper. However, the discussion hints that it could involve <strong>cell adhesion molecules (CAMs) and receptors</strong>. When neurons of different types come into contact during development, surface proteins recognize each other through receptor-ligand interactions. If neurons of type A express receptor X and neurons of type B express ligand Y, and the X-Y combination triggers synapse formation, then all A will end up connecting with B (provided they&#8217;re within range).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Q7bi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Q7bi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Q7bi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Q7bi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Q7bi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Q7bi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg" width="456" height="606.1766630316249" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1219,&quot;width&quot;:917,&quot;resizeWidth&quot;:456,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Neurons in the fly&#8217;s visual system express different CAMs to recognize each other and connect. From Yoo et al. (2023)&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Neurons in the fly&#8217;s visual system express different CAMs to recognize each other and connect. From Yoo et al. (2023)" title="Neurons in the fly&#8217;s visual system express different CAMs to recognize each other and connect. From Yoo et al. (2023)" srcset="https://substackcdn.com/image/fetch/$s_!Q7bi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Q7bi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Q7bi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Q7bi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb0a1665b-36a4-444d-a2cd-cc220d7dfac5_917x1219.jpeg 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 role="img" 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><title></title><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">Neurons in the fly&#8217;s visual system express different CAMs to recognize each other and connect. From Yoo et al. (2023).</figcaption></figure></div><p>Indeed, a long line of work finds that CAMs allow different neuron types to very precisely find each other, even through the clutter of the neuropil. There&#8217;s a great paper from <a href="https://www.sciencedirect.com/science/article/pii/S0960982223010631#fig2">Yoo et al. (2023)</a> that finds conceptually similar wiring rules in the fly&#8217;s visual system, where one has access to both transcriptomes and connectomes. Here, it&#8217;s the Side and Beat receptor-ligand pairs that determine with great precision how different motion-selective neurons connect. This is one way evolution writes circuit diagrams into the genome: by specifying the molecular handshakes that create connectivity patterns.</p><h2>Connectivity Is Function</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sAZS!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sAZS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png 424w, https://substackcdn.com/image/fetch/$s_!sAZS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png 848w, https://substackcdn.com/image/fetch/$s_!sAZS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png 1272w, https://substackcdn.com/image/fetch/$s_!sAZS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sAZS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png" width="1026" height="1152" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1152,&quot;width&quot;:1026,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;From Khona and Fiete (2022). Connectivity translates to function.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="From Khona and Fiete (2022). Connectivity translates to function." title="From Khona and Fiete (2022). Connectivity translates to function." srcset="https://substackcdn.com/image/fetch/$s_!sAZS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png 424w, https://substackcdn.com/image/fetch/$s_!sAZS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png 848w, https://substackcdn.com/image/fetch/$s_!sAZS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.png 1272w, https://substackcdn.com/image/fetch/$s_!sAZS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8423e03d-15ab-492c-8078-3b3b31bf4ec1_1026x1152.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 role="img" 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><title></title><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">From Khona and Fiete (2022). Connectivity translates to function.</figcaption></figure></div><p>A deeper principle underlies the cell-type framework: <em>connection topology determines computational function</em>. By wiring up neurons in just the right way, we can create integrator, differentiators, and all sorts of bespoke circuits. A review by Khona and Fiete catalogs how different connectivity motifs produce different attractor dynamics (Khona &amp; Fiete, 2022):</p><ul><li><p><strong>Point attractors</strong> arise from recurrent excitation balanced by global inhibition, implementing memory systems like the Hopfield network.</p></li><li><p><strong>Line attractors</strong>&#8212;continuous manifolds of stable states&#8212;require precisely tuned excitation-inhibition balance with quasi-linear neural responses, enabling integrator circuits.</p></li><li><p><strong>Ring attractors</strong> emerge when neurons form cyclic connectivity patterns, allowing, for example, head direction cells to encode angular position continuously.</p></li><li><p><strong>Winner-take-all</strong> dynamics emerge from mutual excitation within groups combined with cross-group inhibition.</p></li></ul><p>The implication is profound: by specifying which cell types connect to which&#8212;via CAM operators in the Barab&#225;si model&#8212;the genome encodes not just anatomy but dynamics. A circuit that integrates, oscillates, or makes winner-take-all decisions does so because its connection topology was specified to produce those dynamics.</p><h2>The Wireless Connectome: Neuropeptides as Parallel Channels</h2><p>The Barab&#225;si model describes the <em>wired</em> connectome&#8212;synaptic connections determined by cell adhesion molecules. But there is a parallel system equally important for genome-specified communication: <strong>neuropeptides</strong>, which constitute what we might call the <em>wireless connectome</em>. Some neuropeptides are household names, like oxytocin (often referred to in the popular media as the love hormone, although it&#8217;s much more complicated), glucagon-like peptide-1 (GLP-1, the receptor for blockbuster weight-loss drugs like Ozempic), or &#946;-Endorphin. Others may be familiar to neurophysiologists, like SST and VIP, used as markers for subtypes of inhibitory cortical neurons.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Eka-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Eka-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png 424w, https://substackcdn.com/image/fetch/$s_!Eka-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png 848w, https://substackcdn.com/image/fetch/$s_!Eka-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png 1272w, https://substackcdn.com/image/fetch/$s_!Eka-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Eka-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png" width="297" height="345" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:345,&quot;width&quot;:297,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;From Sachkova&nbsp;(2022)&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="From Sachkova&nbsp;(2022)" title="From Sachkova&nbsp;(2022)" srcset="https://substackcdn.com/image/fetch/$s_!Eka-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png 424w, https://substackcdn.com/image/fetch/$s_!Eka-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png 848w, https://substackcdn.com/image/fetch/$s_!Eka-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.png 1272w, https://substackcdn.com/image/fetch/$s_!Eka-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fd0f258-cbdf-4909-8247-700aa129e418_297x345.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 role="img" 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><title></title><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">From <a href="https://www.nature.com/articles/s41559-022-01828-6#auth-Maria_Y_-Sachkova-Aff1">Sachkova</a> (2022)</figcaption></figure></div><p>When I first started learning about neuropeptides, it broke my mental model of how neurons work. Like neurotransmitters, neuropeptides come in pairs: ligands (encoded as neuropeptide precursors in the genome, NPPs) and receptors (G-protein coupled receptors, or GPCRs). However:</p><ul><li><p><strong>They don&#8217;t get released at synapses</strong>. They get packaged up in dense core vesicles and are released from the cell body or from axons.</p></li><li><p><strong>They diffuse willy-nilly in the extracellular space through Brownian motion.</strong> Hence, &#8220;wireless transmission&#8221;. Their effective range is a few hundred micron radius ball around the diffusion location, though that can vary by neuropeptide species.</p></li><li><p><strong>They are not tightly recycled or degraded like neurotransmitters</strong>. They can persist over minutes.</p></li><li><p><strong>Sensitivity at the receptors is sky-high</strong>: in the nano-molar range.</p></li><li><p><strong>There&#8217;s O(100) neuropeptide systems</strong> in the brain, covering, between protopeptides and receptors, upwards of 500 genes&#8212;about 2% of the human genome.</p></li><li><p>They&#8217;ve been around forever, <strong>predating neurons</strong>.</p></li></ul><p>Whenever you think that the brain is really complicated, it usually turns out it&#8217;s more complicated than that.</p><h3>A parallel layer of communication</h3><p>Neuropeptide signaling operates on slower timescales and can affect neurons beyond the reach of synaptic wiring. If we think of cell adhesion molecules as determining who can <em><strong>wire</strong></em><strong> to whom</strong>, neuropeptide ligand-receptor pairs determine who can <em><strong>signal</strong></em><strong> to whom</strong> through the extracellular medium. The combinatorics are rich: with dozens of neuropeptide families and their receptors, neurons can express different &#8220;chords&#8221;&#8212;combinations of ligands and receptors that define their participation in overlapping signaling networks.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Lmbm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Lmbm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png 424w, https://substackcdn.com/image/fetch/$s_!Lmbm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png 848w, https://substackcdn.com/image/fetch/$s_!Lmbm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png 1272w, https://substackcdn.com/image/fetch/$s_!Lmbm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Lmbm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png" width="195" height="370.4275092936803" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/af644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:511,&quot;width&quot;:269,&quot;resizeWidth&quot;:195,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Neuropeptide chords: most neuron clusters express 1+ neuropeptide ligand genes; and 5 or more neuropeptide receptors. From Langlieb et al. (2023).&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Neuropeptide chords: most neuron clusters express 1+ neuropeptide ligand genes; and 5 or more neuropeptide receptors. From Langlieb et al. (2023)." title="Neuropeptide chords: most neuron clusters express 1+ neuropeptide ligand genes; and 5 or more neuropeptide receptors. From Langlieb et al. (2023)." srcset="https://substackcdn.com/image/fetch/$s_!Lmbm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png 424w, https://substackcdn.com/image/fetch/$s_!Lmbm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png 848w, https://substackcdn.com/image/fetch/$s_!Lmbm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.png 1272w, https://substackcdn.com/image/fetch/$s_!Lmbm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Faf644639-e3a3-44c4-8a9d-2db86542f25e_269x511.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 role="img" 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><title></title><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">Neuropeptide chords: most neuron clusters express 1+ neuropeptide ligand genes; and 5 or more neuropeptide receptors. From Langlieb et al. (2023).</figcaption></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!hpqm!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!hpqm!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png 424w, https://substackcdn.com/image/fetch/$s_!hpqm!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png 848w, https://substackcdn.com/image/fetch/$s_!hpqm!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png 1272w, https://substackcdn.com/image/fetch/$s_!hpqm!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!hpqm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png" width="311" height="308.6686656671664" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/163333ff-74b3-4408-a385-021c69d4f280_667x662.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:662,&quot;width&quot;:667,&quot;resizeWidth&quot;:311,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;The top three things splitting transcriptomic clusters in Langlieb et al. (2023) are transcription factors, GPCRs, and neuropeptide ligands.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="The top three things splitting transcriptomic clusters in Langlieb et al. (2023) are transcription factors, GPCRs, and neuropeptide ligands." title="The top three things splitting transcriptomic clusters in Langlieb et al. (2023) are transcription factors, GPCRs, and neuropeptide ligands." srcset="https://substackcdn.com/image/fetch/$s_!hpqm!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png 424w, https://substackcdn.com/image/fetch/$s_!hpqm!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png 848w, https://substackcdn.com/image/fetch/$s_!hpqm!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.png 1272w, https://substackcdn.com/image/fetch/$s_!hpqm!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F163333ff-74b3-4408-a385-021c69d4f280_667x662.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 role="img" 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><title></title><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">The top three things splitting transcriptomic clusters in Langlieb et al. (2023) are transcription factors, GPCRs, and neuropeptide ligands.</figcaption></figure></div><p>Strikingly, both the Allen and Broad Institute transcriptomic atlases found that neuropeptides are a major contributor to splitting transcriptomic clusters (Yao et al., 2023; Langlieb et al., 2023). What distinguishes one hypothalamic cell type from another at the molecular level is often which neuropeptides they make and which neuropeptide receptors they express. This suggests that functionally distinct neuron types are differentiated by neuropeptide &#8220;chords&#8221;, particularly in the Steering Subsystem where bespoke circuits require precise signaling specificity.</p><h2>Integration-by-precise-wiring vs. integration-by-soup</h2><p>You can see these very different methods of building circuits dramatically illustrated by line attractors. In dynamical systems, line attractors are characterized by a tight line of attractors&#8212;a line of marginal stability. Position along this attractor line tracks a single variable, and the attractor naturally remembers this variable over time, and so are ideal to accumulate evidence. They&#8217;ve been implicated in evidence accumulation in decision-making tasks, to track a slowly decaying variable like aggression or sexual receptivity, and in machine learning, to track complicated judgements about whether a sentence has positive or negative sentiment.</p><p>You have to work hard to make a good line attractor with wired connections. Khona &amp; Fiete (2022) present one template:</p><blockquote><p>Two neuron groups with in-group excitation and across-group inhibition, <strong>precisely tuned</strong> interaction strengths and quasi-linear neural input&#8211;output responses can counteract activity decay in the network and produce persistent activity over a continuum of activity levels in the two populations, defining ramp-like neural tuning and a line of attractor states. (emphasis mine)</p></blockquote><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1nQ9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1nQ9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png 424w, https://substackcdn.com/image/fetch/$s_!1nQ9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png 848w, https://substackcdn.com/image/fetch/$s_!1nQ9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png 1272w, https://substackcdn.com/image/fetch/$s_!1nQ9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1nQ9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png" width="1045" height="233" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2440730e-01a9-400e-b660-592fe38dab67_1045x233.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:233,&quot;width&quot;:1045,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;image.png&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="image.png" title="image.png" srcset="https://substackcdn.com/image/fetch/$s_!1nQ9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png 424w, https://substackcdn.com/image/fetch/$s_!1nQ9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png 848w, https://substackcdn.com/image/fetch/$s_!1nQ9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png 1272w, https://substackcdn.com/image/fetch/$s_!1nQ9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2440730e-01a9-400e-b660-592fe38dab67_1045x233.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">From Khona &amp; Fiete.</figcaption></figure></div><p>Of course, it&#8217;s not impossible to learn a line attractor&#8212;RNNs trained to accumulate evidence will learn line attractors&#8212;but it requires precise tuning.</p><p>By contrast, building a line attractor is trivial to build with neuropeptides. Neuropeptidergic signaling provides a natural mechanism for <em>analog integration</em>&#8212;the slow accumulation of signals over time. When neurons release neuropeptides into the extracellular space, those molecules persist far longer than the millisecond timescales of synaptic transmission. A population of neurons releasing the same neuropeptide create a shared pool that integrates their collective activity; neurons expressing the receptor effectively &#8220;read out&#8221; this integrated signal. I call this process of analog integration of diffusable signals in the extracellular space <strong>integration-by-soup</strong> (I hope it catches on).</p><p>Integration-by-soup is a less flexible mechanism than integration-by-precise-wiring: diffusion constants are hard-wired; it can cause interference across space. For things that relate to survival, however, they can be just the right mechanism, provided that there is a fixed number (~100) of slowly changing state variables that need to be tracked.</p><h2>The VMH Line Attractor: A Case Study</h2><p>A hypothalamic circuit that tracks aggressivity illustrates how wired and wireless mechanisms could work together to create a line attractor (<a href="https://www.cell.com/neuron/fulltext/S0896-6273(25)00850-5">beautifully reviewed here</a>). Nair et al. (<a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC9990527/">2023</a>) first described neurons in the ventromedial hypothalamus (VMH) expressing estrogen receptor 1 (Esr1). These neurons encode an aggressive internal state during both fighting and observation of fighting: dynamical systems analysis revealed an almost perfect line attractor in state space, with very slow temporal decay (&gt;50s). In Vinograd et al., 2024, they identified two functionally distinct subpopulations within this genetically defined cell type:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0Ykb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0Ykb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png 424w, https://substackcdn.com/image/fetch/$s_!0Ykb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png 848w, https://substackcdn.com/image/fetch/$s_!0Ykb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png 1272w, https://substackcdn.com/image/fetch/$s_!0Ykb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0Ykb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png" width="899" height="299" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:299,&quot;width&quot;:899,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;From Vinograd et al., 2024&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="From Vinograd et al., 2024" title="From Vinograd et al., 2024" srcset="https://substackcdn.com/image/fetch/$s_!0Ykb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png 424w, https://substackcdn.com/image/fetch/$s_!0Ykb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png 848w, https://substackcdn.com/image/fetch/$s_!0Ykb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.png 1272w, https://substackcdn.com/image/fetch/$s_!0Ykb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F121afc20-208c-4989-9f5c-3d2dc46a61e3_899x299.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 role="img" 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><title></title><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">From Vinograd et al., 2024</figcaption></figure></div><ul><li><p><strong>x&#8321; neurons</strong> form the &#8220;integration dimension&#8221;&#8212;they show slow dynamics with long time constants, accumulating activity during aggressive encounters. Activity projected onto this dimension persists after stimuli are removed, ramping up along a line attractor that correlates with escalating aggression from sniffing to mounting to attack.</p></li><li><p><strong>x&#8322; neurons</strong> form an orthogonal dimension with faster dynamics. These neurons show transient responses time-locked to stimulus onset but do not integrate over time.</p></li></ul><p>The critical finding concerns functional connectivity: single-cell optogenetic stimulation combined with calcium imaging revealed that x&#8321; neurons are <em>functionally interconnected with each other</em> but not with x&#8322; neurons. When x&#8321; neurons are stimulated, other x&#8321; neurons show increased activity (<strong>functional connectivity</strong> within the ensemble), but x&#8322; neurons do not respond. Conversely, stimulating x&#8322; neurons produces only transient off-manifold perturbations, and the neural trajectory returns to the line attractor rather than integrating.</p><blockquote><p>Important technical distinction: <strong>functional connectivity</strong> between x&#8321; neurons means that when some x&#8321; neurons are zapped, others activate; it does not say anything about whether they&#8217;re directly connected, indirectly connected, or wirelessly connected. You would need electrophysiology and/or connectomics to infer <strong>anatomical connectivity</strong>.</p></blockquote><h3>Two ways to connect: choose one</h3><p>The circuit could either be mediated by some bespoke <em>wired</em> circuitry or some bespoke <em>wireless</em> circuitry. Let&#8217;s look at them one by one. In the Barab&#225;si model, this circuit might arise from biclique operators:</p><ol><li><p>All VMHvl Esr1+ neurons share a common transcriptomic identity that positions them in the same nucleus and allows them to form synapses with each other.</p></li><li><p>Within this population, <em>additional</em> transcription factors or cell surface molecules distinguish x&#8321; from x&#8322; subpopulations. If x&#8321; neurons express a specific adhesion molecule or receptor that x&#8322; neurons lack, a biclique operator can generate exactly the dense within-x&#8321; connectivity observed.</p></li></ol><p>But there&#8217;s another way of doing this, this time wirelessly: if all the x&#8321; cells express some neuropeptide receptor, they could accumulate aggression information from upstream sensory neurons via integration-by-soup. So which one is it?</p><p>It seems in this case that it&#8217;s wireless integration-by-soup. In companion work, Mountoufaris and colleagues showed that knocking out neuropeptide signaling (OXT and AVP receptors) in VMHvl neurons eliminates the line attractor dynamics (Mountoufaris et al., 2024). However, the authors note that &#8220;that does not exclude a contribution from recurrent glutamatergic excitation in the ventromedial hypothalamus, as in line attractors that mediate cognitive functions on shorter time scales&#8221;. In other words, it could actually be a little bit of both, but it definitely looks like neuropeptides are involved.</p><p>I don&#8217;t want you to come off with the impression that neuropeptides are the source of all line attractors in the brain; far from it! Line attractors are ubiquitous, and those that are involved in e.g. decision-making and evidence accumulation in the cortex are likely done through conventional wiring. However, especially in parts of the brain that are part of the steering subsystem, neuropeptides can do computational heavy lifting beyond their reputation as neuromodulators.</p><p>This example illustrates the deep connection between cell types, connectivity, and computation. The genome doesn&#8217;t specify &#8220;build a line attractor for aggression.&#8221; It specifies molecular identities (Esr1+, plus whatever distinguishes x&#8321; from x&#8322;) that, through wiring rules and neuropeptide channels, generate the connectivity topology that implements line attractor dynamics.</p><h2>More epicycles</h2><p>I presented a binary story of wired vs. wireless connectomes. Of course, the real story is far more complex, with the gnarliest complication being <em>space</em>. Distance strongly constrains which neurons connect with which. Layout is ultimately encoded in the genome; and the genome dictates axon guidance, through different guidance molecules like netrins, slits, semaphorins, and ephrins. That means transcriptomic identity also influences layout and guidance signals. it could thus be said that cell types influence connectivity through (at least!) three interacting means: local wiring, wireless neuropeptides, and global layout.</p><p>Not only that, but these factors are dynamic! Neurons migrate during development, which means that local connections can translate into long-range connections. Transcriptomic signatures also change during development. It&#8217;s possible, for example, that CAMs are expressed only at an intermediate timepoint during development, to determine connections, then go away during adulthood. You can see hints of this in the Yoo et al. (2023) data, which captured transcriptomes <em>at different time points</em>.</p><p>&#8230;I could continue all day. The take-home here is that there are myriad routes through which cell types influence connectivity, that the connection rules don&#8217;t appear particularly mysterious, and that studying cell types <em>and</em> connectomes at the same time is fruitful.</p><h2>Conclusion</h2><p>The question &#8220;how does a genome specify brain circuits?&#8221; has an elegant answer: through cell types. Combinatorial gene expression patterns determine surface molecule profiles; these implement wiring rules specifying who connects to whom; and connectivity topology determines computational dynamics. The genome encodes not just anatomy but function. They also determine neuropeptide patterns, creating a parallel channel of communication that we&#8217;re just starting to investigate.</p><p>This helps explain why, for example, the hypothalamus harbors over a thousand cell types, while the cortex tiles the same canonical circuit across vast territory. Innate behaviors require specific circuits, and specific circuits require specific cell types, which determine wiring and wireless rules. Studying these signatures could help us finally understand how evolution wrote the instructions for building a brain. Moreover, they could help us understand the rich tapestry of innate drives and behaviors that define different species.</p>]]></content:encoded></item><item><title><![CDATA[Cell types: encoding the brain's BIOS]]></title><description><![CDATA[Inferring the structure of primary rewards from connectomics]]></description><link>https://www.neuroai.science/p/cell-types-encoding-the-brains-bios</link><guid isPermaLink="false">https://www.neuroai.science/p/cell-types-encoding-the-brains-bios</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Fri, 27 Feb 2026 17:29:14 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!wHR6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><a href="https://www.dwarkesh.com/p/adam-marblestone">In an interview late last year on the Dwarkesh Podcast</a>, Adam Marblestone&#8212;CEO of Convergent Research, former research scientist at Deepmind, and a true polymath in  connecting neuroscience and AI&#8212;discussed what insights we might extract from complete brain wiring diagrams. His central claim is that the most valuable information in a connectome concerns innate reward functions and motivational systems: the circuits that tell learning systems <em>what</em> to learn. Adam mentioned that one way we would know that an area of the brain specifies reward information is that it contains <strong>many different cell types</strong>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4x7p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4x7p!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp 424w, https://substackcdn.com/image/fetch/$s_!4x7p!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp 848w, https://substackcdn.com/image/fetch/$s_!4x7p!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp 1272w, https://substackcdn.com/image/fetch/$s_!4x7p!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4x7p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp" width="1091" height="608" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:608,&quot;width&quot;:1091,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:187394,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.neuroai.science/i/189321289?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4x7p!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp 424w, https://substackcdn.com/image/fetch/$s_!4x7p!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp 848w, https://substackcdn.com/image/fetch/$s_!4x7p!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp 1272w, https://substackcdn.com/image/fetch/$s_!4x7p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba112d7c-33a1-4e4d-a44f-abbef0144e16_1091x608.webp 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 role="img" 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><title></title><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>Dwarkesh seemed very confused by this, asking a few different times: &#8220;Why would each reward function need a different cell type?&#8221; I empathize with Dwarkesh here! It is mysterious that a cell type could represent something as abstract as a reward. As a computational neuroscientist who mostly worked at the representation level during my PhD, I&#8217;ve leaned historically towards thinking of cell types as a mere &#8220;implementation detail&#8221;. But over conversations with Adam, Steve Byrnes, Paul Cisek, Tony Zador, and a few others, I&#8217;ve started to become convinced that cell types are a really useful lens to think about innate behaviors and rewards.</p><p>In this essay, I&#8217;ll unpack the conversation and answer the question: <strong>what do cell types have to do with reward functions</strong>? To answer it, we&#8217;ll need to understand what kind of information can be encoded in the genome, and how that information ultimately relates to connectomes and to cell types. I&#8217;ll connect the answer to the central claim of Adam: that these connections matter for AI, and AI safety in particular.</p><h2>Some things are innate</h2><p><a href="https://all.cs.umass.edu/pubs/2009/singh_l_b_09.pdf">Andrew Barto and colleagues</a> make the point that all primary rewards are internal, and must be genetically encoded. In reinforcement learning, which Barto co-developed along with Rich Sutton, an agent learns by receiving reward signals that indicate what is good and bad. The critical insight is that for biological organisms, all of these reward signals are <em>internal</em>&#8212;they are generated by the organism&#8217;s own nervous system. It is not a chunk of steak that gives reward: it is circuitry inside the brain that assigns positive valence to fat, salt, umami, heat, and texture. Things like money&#8212;secondary rewards&#8212;must be bootstrapped off of the pre-existing primary rewards.</p><p>The foundational, primary reward signals <strong>must be written into the genome</strong>. Now, you might ask, can&#8217;t we learn what is rewarding by imitating our parents? Ah, but why would we find it <em>rewarding</em> to imitate our parents in the first place? At some point, the ladder of rewards bottoms out to a foundational structure: a kind of BIOS of the brain. The genome can&#8217;t literally specify exact connections of the brain, however; the roughly 3 billion base pairs are dwarfed by the approximately 100 trillion synapses in the brain. This mismatch, what Tony Zador calls the &#8220;genomic bottleneck&#8221;, means that evolution must compress circuit specifications into a limited information channel. Rather than encoding individual wires, the genome encodes <em>wiring rules</em>&#8212;and <strong>cell types are what make these rules executable</strong>.</p><h2>Innate behaviors are encoded by cell types</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rCmF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rCmF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png 424w, https://substackcdn.com/image/fetch/$s_!rCmF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png 848w, https://substackcdn.com/image/fetch/$s_!rCmF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png 1272w, https://substackcdn.com/image/fetch/$s_!rCmF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rCmF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png" width="1444" height="544" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:544,&quot;width&quot;:1444,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:764019,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.neuroai.science/i/189321289?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!rCmF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png 424w, https://substackcdn.com/image/fetch/$s_!rCmF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png 848w, https://substackcdn.com/image/fetch/$s_!rCmF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png 1272w, https://substackcdn.com/image/fetch/$s_!rCmF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F858d98ca-92f4-4e2e-aeaa-d1bbe9060cd2_1444x544.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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">Left: OFF-transient alpha RGC (tOFF&#945;) seen from the top. Right: RGC is one of many cell types in the retina, with intricate connection patterns (side view)</figcaption></figure></div><p>Let&#8217;s build some intuition about how cell types can specify an innate behavior. Mice live in fear of hawks and owls. Having the right instincts when they encounter flying predators can mean the difference between life and death. In their retinas, mice have a very peculiar and rare type of retinal ganglion cell&#8212;OFF-transient alpha RGC (tOFF&#945;)&#8212;that is selective for dark looming things in the upper half of the visual field (e.g. scary birds). These cells are causally implicated in a reflex: mice either freeze in a prolonged manner or escape when they see a dark looming stimulus overhead.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8lGo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8lGo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png 424w, https://substackcdn.com/image/fetch/$s_!8lGo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png 848w, https://substackcdn.com/image/fetch/$s_!8lGo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png 1272w, https://substackcdn.com/image/fetch/$s_!8lGo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8lGo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png" width="996" height="996" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:996,&quot;width&quot;:996,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:518058,&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://www.neuroai.science/i/189321289?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8lGo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png 424w, https://substackcdn.com/image/fetch/$s_!8lGo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png 848w, https://substackcdn.com/image/fetch/$s_!8lGo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.png 1272w, https://substackcdn.com/image/fetch/$s_!8lGo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fea7a7536-ef0b-4475-877c-fa93900eb43c_996x996.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 role="img" 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><title></title><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">Watch out, little mouse! From Salay &amp; Huberman (2021)</figcaption></figure></div><p>The retinal ganglion cell&#8217;s role is determined both by <strong>morphology</strong> (shape) and <strong>connectivity</strong>. This cell has a large dendritic arbor that stratifies in the right layer of the retina to receive input from specific amacrine cell types. It&#8217;s connected downstream to the right defensive behavior circuits&#8212; among others, the superior colliculus. Hence, both morphology and connectivity relate to its functional role.</p><p>Here&#8217;s a key idea: if you look at an area of the brain, and it has many idiosyncratically shaped and connected neurons, that probably means that area encodes innate behaviors and rewards. Whereas if you go in an area and you find a quasi-crystalline, repeating structure with lots of similar neurons (e.g. in the cerebellum or cortex), that probably means that it derives its role by learning from the environment.</p><h2>There are many ways of defining cell type, the canonical one is now transcriptomic</h2><p>I just outlined one way that you could find putative learning vs. innate areas in the brain: count the weird cell types. But cell types are one of those seemingly precise biology terms that are hopelessly overloaded. Classically, cell types were determined exclusively by morphology&#8212;think Cajal&#8217;s beautiful tracings of nervous cells. Now that connectomics has started to mature, cell types are also increasingly defined by connectivity: two cells that share similar connectivity roles in a circuit are presumed to belong to the same cell type (<a href="https://www.neuroai.science/p/a-primer-on-flywire-a-complete-connectome?utm_source=publication-search">see my previous piece on FlyWire</a>).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wHR6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wHR6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp 424w, https://substackcdn.com/image/fetch/$s_!wHR6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp 848w, https://substackcdn.com/image/fetch/$s_!wHR6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp 1272w, https://substackcdn.com/image/fetch/$s_!wHR6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wHR6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp" width="1456" height="617" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:617,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:919522,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.neuroai.science/i/189321289?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wHR6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp 424w, https://substackcdn.com/image/fetch/$s_!wHR6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp 848w, https://substackcdn.com/image/fetch/$s_!wHR6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp 1272w, https://substackcdn.com/image/fetch/$s_!wHR6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F351e3098-dd36-4279-be80-27fdc70d349c_2048x868.webp 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 role="img" 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><title></title><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>But perhaps the most all-encompassing definition of cell type relates to <strong>cell fate.</strong> During embryonic development, neural progenitor cells undergo a series of fate decisions, progressively restricting their potential until they differentiate into a specific neuronal (or glial) identity. These fate decisions are locked in by epigenetic modifications and the stable expression of master transcription factors. Those expressions ultimately determine both shape and connectivity (more on this later).</p><p><strong>Transcriptomic identity</strong> is thus now commonly used for cell-type classification. Each neuron expresses a particular subset of the genome&#8217;s ~20,000 protein-coding genes. We can measure cell types by hierarchically splitting clusters based on their expression profiles. The genes that split the clusters include genes that relate to neurotransmitters, neuropeptides ligands and receptors, cell-adhesion molecules, as well as transcription factors. That looming-selective retinal cell I mentioned earlier can be differentiated from other retinal ganglion cells, for example, by how much it expresses the gene Kcnip2 (Wang et al. 2021).</p><h2>Lots of transcriptomic cell types = areas that define innate behavior</h2><p>Both the Allen Institute&#8217;s and the Broad&#8217;s spatial transcriptomic cell type atlases from 2023 identified <strong>thousands of cell types</strong> (Yao et al. 2023; Langlieb et al. 2023). These cell types are not evenly distributed in the brain. Certain areas, including <strong>the hypothalamus, midbrain areas&#8212;including the superior colliculus&#8212;and the medulla</strong>, express far more cell types per total number of cells than cortex or cerebellum.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!tXOr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tXOr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png 424w, https://substackcdn.com/image/fetch/$s_!tXOr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png 848w, https://substackcdn.com/image/fetch/$s_!tXOr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png 1272w, https://substackcdn.com/image/fetch/$s_!tXOr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tXOr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png" width="1024" height="977" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/28670286-9f36-4b90-81a1-3db788a71308_1024x977.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:977,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:344988,&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://www.neuroai.science/i/189321289?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!tXOr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png 424w, https://substackcdn.com/image/fetch/$s_!tXOr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png 848w, https://substackcdn.com/image/fetch/$s_!tXOr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.png 1272w, https://substackcdn.com/image/fetch/$s_!tXOr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F28670286-9f36-4b90-81a1-3db788a71308_1024x977.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 role="img" 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><title></title><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">Figure 1 of Chen and Macosko (2026). The red dots representing steering subsystem areas have a disproportionate amount of cell types compared to total number of neurons. I upsampled this figure from the preprint using Nano Banana, so there may be small discrepancies.</figcaption></figure></div><p>This makes sense. The hypothalamus regulates sleep, circadian rhythms, aggression, libido, hunger, etc. It keeps track of very important things for survival, which ought to be encoded in the genome. The superior colliculus (aka optic tectum) of the midbrain is the <em>original</em> visual structure. It orchestrates visual and motor responses. For instance, looming-selective retinal ganglion cells project to the superior colliculus to drive the freeze-or-flight response to overhead hawks.</p><h2>Steven Byrnes predicted this distinction; the framework is now being adopted</h2><p>This distinction between innate and learned systems had, in years prior, been framed by Steven Byrnes (Byrnes, 2022):</p><ul><li><p>The <strong>Learning Subsystem</strong>&#8212;primarily the neocortex, but also the cerebellum&#8212;implement generic, general-purpose learning algorithms. It builds world models, learns sensorimotor mappings, and acquires skills through experience. The same basic circuit motifs&#8212;in cortex, roughly six layers of neurons with stereotyped connectivity&#8212;are tiled across areas devoted to vision, language, motor control, and abstract reasoning. What differs between areas is primarily what inputs they receive and what outputs they produce, not their fundamental computational architecture.</p></li><li><p>The <strong>Steering Subsystem</strong>&#8212;comprising the hypothalamus, brainstem, amygdala, and related structures&#8212;is entirely different. It implements <em>bespoke, artisanal circuits</em>: hand-crafted by evolution over millions of years, each one tuned to detect specific stimuli or generate specific behaviors. When you feel hungry, afraid, lonely, or curious, these signals originate in the Steering Subsystem. Each distinct motivation&#8212;salt appetite, fear of heights, sexual attraction, maternal care&#8212;requires dedicated circuitry that cannot be learned from scratch.</p></li></ul><p>It&#8217;s pretty remarkable that Steven&#8212;an AI safety researcher, not a neuroscientist by training&#8212;accurately predicted this split prior to the publication of large-scale transcriptomic atlases. Adam, during the podcast, goes on at length about some of the more subtle aspects of his framework. It is just starting to gain traction along neuroscientists, including in a <a href="https://www.preprints.org/frontend/manuscript/786b6d4ad13f55a565f3bccfb7b53c31/download_pub">recent, lucid editorial by Fei Chen and Evan Macoscko</a>, the PIs from the Broad Institute who published one of the original whole-mouse-brain transcriptomes.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HHZY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HHZY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png 424w, https://substackcdn.com/image/fetch/$s_!HHZY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png 848w, https://substackcdn.com/image/fetch/$s_!HHZY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png 1272w, https://substackcdn.com/image/fetch/$s_!HHZY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HHZY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png" width="1024" height="666" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:666,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:402071,&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://www.neuroai.science/i/189321289?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HHZY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png 424w, https://substackcdn.com/image/fetch/$s_!HHZY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png 848w, https://substackcdn.com/image/fetch/$s_!HHZY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.png 1272w, https://substackcdn.com/image/fetch/$s_!HHZY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F063fd6fa-c4c5-45e5-ba78-7d741e7cdbfb_1024x666.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 role="img" 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><title></title><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">Figure 2 of Chen and Macosko (2026) (inspired by Steven Byrnes).</figcaption></figure></div><p>In their editorial, they frame the learning and steering subsystems as two radically different ways of wiring up a brain, with very different scaling laws: one made by piling up heuristics passed down through generations; and the other made from a very good, generic learning algorithm. It will not escape some of you that the learning subsystem has been vastly elaborated in mammals, and in primates in particular. Indeed, one could argue that this was evolution&#8217;s &#8220;bitter lesson&#8221; moment: switching from a pile of carefully tuned heuristics to a generic learning system. Yet, it is the interplay between these two systems that makes learning possible; for example, the superior colliculus never disappeared despite the visual cortex being vastly elaborated in primates.</p><h2>If you&#8217;re going to do connectomics, the steering system is a good place to do it</h2><p>Adam makes the point in the podcast that connectomics may be most useful for understanding the steering system. The steering subsystem is <em>stereotyped;</em> its structure tells you something about intrinsic behaviors and circuits. By contrast, the connectome of a cortical column&#8212;as was done in the MICrONS project, for example&#8212;represents a static snapshot of a dynamic process. The unique thing that is ascribed to cortex&#8212;learning&#8212;is quite possibly invisible if you&#8217;re just looking at static connections. Looking at cortex at the learned <em>representational</em> level makes more sense.</p><p>In my mind, the connectome of the fruit fly is quite useful precisely because fly brains are highly stereotyped&#8212;though they show some learning, e.g. in the mushroom body. The bespoke circuits in the steering subsystem of mammals are of the same nature. As Adam mentions, they are probably hiding insights not just about instinctual behaviors and homeostasis, but also primary rewards. Human rewards are built from the distillation of millions of years of evolution; it&#8217;s what allows us to maintain adaptive behavior over a broad range of circumstances.</p><p>Those rewards are akin to a finely tuned, ten-thousand-line Python file full of if-elses that specify behavior, not an elegant deep net that <a href="https://github.com/karpathy/nanoGPT">Karpathy would dream up</a>. We know that misspecifying rewards in real RL systems leads to <a href="https://lilianweng.github.io/posts/2024-11-28-reward-hacking/">various types of reward hacking</a>, from missing the point of a game, to staring at noisy TVs, to sycophancy and slop. Humans are mostly robust to this. Inferring our rewards from behavior is the subject of inverse reinforcement learning (IRL), and it is very ill-posed problem. If we could instead <em>decompile</em> the circuits in the steering subsystem to that ten-thousand-line Python file, we would be in good shape to create aligned AI systems. At the heart of this decompilation effort is a map of the steering subsystem&#8212;a connectome. This is easier said than done, but it is clearly one of those &#8220;big if true&#8221; ideas: a reward function, written in a language that we could inspect and potentially port to artificial systems.</p><p>This suggests that the right target for AI alignment may be these deeply ingrained reward circuits, our motivational bedrock. Pain avoidance, social bonding, curiosity, care for offspring&#8212;these aren&#8217;t learned preferences but genome-specified circuits that learning systems are built to serve. The Steering Subsystem&#8217;s bespoke circuits could serve as a template for building AI that shares our sense of what matters; but first, we have to map it.</p><p>In the second part of this series, I explain <em>how</em>, mechanically, neurons of different cell types  recognize each other to build bespoke circuits. <a href="https://www.neuroai.science/p/cell-types-wiring-up-innate-circuits">Read it here</a>.</p>]]></content:encoded></item><item><title><![CDATA[Blue light filters don’t work]]></title><description><![CDATA[Why controlling total luminance is a better bet]]></description><link>https://www.neuroai.science/p/blue-light-filters-dont-work</link><guid isPermaLink="false">https://www.neuroai.science/p/blue-light-filters-dont-work</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Fri, 20 Feb 2026 16:42:28 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ZstF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Everybody wants better sleep, but getting better sleep is hard.</p><p>I was trading New Year&#8217;s resolutions with a circle of friends a few weeks ago, and someone mentioned a big one: sleeping better. I&#8217;m a visual neuroscientist by training, so whenever the topic pops up it inevitably leads to talking about the dreaded blue light from monitors, blue light filters, and whether they do anything. My short answer is <strong>no, blue light filters don&#8217;t work, but there are many more useful things that someone can do to control their light intake to improve their sleep</strong>&#8212;and minimize jet lag when they&#8217;re travelling.</p><p>My longer answer is usually a half-hour rant about why they don&#8217;t work, covering everything from a tiny nucleus of cells above the optic chiasm, to people living in caves without direct access to sunlight, to neuropeptides, the different cones, how monitors work, gamma curves, what I learned running ismy.blue, corn bulbs, melatonin, finally sharing my Apple Watch &amp; WHOOP stats. What follows is slightly more than you needed to know about blue light filters and more effective ways to control your circadian rhythm. Spoiler: the real lever is total luminance, not color.</p><h2>The premise</h2><p>Right above the optic chiasm lies a nucleus called the suprachiasmatic nucleus (SCN). This is where the brain&#8217;s master circadian clock lives. There are a lot of phenomena in the body, whether alertness, body temperature, or hunger, that are at least partially dependent on our body&#8217;s sense of time. There&#8217;s a set of neurons that are part of the hypothalamus that autonomously track time, by a fascinating set of transcription-translation feedback loops involving proteins that ultimately shut down their own translation in a cycle that lasts about 24 hours. The cells in the SCN also synchronize with each other through neuropeptides, and diffuse the master clock signal throughout the body; melatonin from the pineal gland, but also via secondary regulation of the HPA (stress axis), and a neuropeptide called AVP.</p><p>The intrinsic clock is not very precise, with a cycle that typically lasts a little more than 24 hours, something which was first verified in people living deep underground in abandoned mines (for science!). One factor that ultimately resets the clock is input from a set of neurons  inside the retina that project to this nucleus. Those cells are called intrinsically photosensitive retinal ganglion cells (ipRGCs). Breaking this down:</p><ul><li><p>A <strong>retinal ganglion cell</strong> is a cell in the retina (the back of the eye) that ultimately projects to the brain</p></li><li><p><strong>Intrinsically photosensitive</strong> means these cells don&#8217;t rely on signals from cones or rods to get light information; the cells directly express a light-sensing molecule, an opsin, called melanopsin.</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b4Tq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b4Tq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp 424w, https://substackcdn.com/image/fetch/$s_!b4Tq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp 848w, https://substackcdn.com/image/fetch/$s_!b4Tq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp 1272w, https://substackcdn.com/image/fetch/$s_!b4Tq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!b4Tq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp" width="1456" height="1179" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1179,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:147168,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!b4Tq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp 424w, https://substackcdn.com/image/fetch/$s_!b4Tq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp 848w, https://substackcdn.com/image/fetch/$s_!b4Tq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp 1272w, https://substackcdn.com/image/fetch/$s_!b4Tq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc9c91f41-2872-4175-a424-45849a9699a6_1950x1579.webp 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 role="img" 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><title></title><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">The ipRGC-SCN-pineal circuit, from <a href="https://openstax.org/details/books/introduction-behavioral-neuroscience">Introduction to Behavioral Neuroscience</a></figcaption></figure></div><p>ipRGCs are not image-forming, and they don&#8217;t project to visual cortex; they&#8217;re just there to track ambient light, relaying information to the SCN. Crucially, melanopsin is <strong>often said to be sensitive to blue</strong>. Therein lies the premise of blue light filters: if you cut the blue out of your display at night, you will help your body&#8217;s clock synchronize, and fall asleep more easily; or at the very least, it will stop your brain&#8217;s internal clock from getting delayed.</p><h2>A flawed premise</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ov-e!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ov-e!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png 424w, https://substackcdn.com/image/fetch/$s_!ov-e!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png 848w, https://substackcdn.com/image/fetch/$s_!ov-e!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png 1272w, https://substackcdn.com/image/fetch/$s_!ov-e!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ov-e!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png" width="1320" height="856" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:856,&quot;width&quot;:1320,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:111501,&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://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ov-e!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png 424w, https://substackcdn.com/image/fetch/$s_!ov-e!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png 848w, https://substackcdn.com/image/fetch/$s_!ov-e!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.png 1272w, https://substackcdn.com/image/fetch/$s_!ov-e!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbad92c5c-9fb6-45d5-ad8b-75d97ff47eea_1320x856.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 role="img" 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><title></title><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>Is that premise correct? No. The premise is revealed as obviously flawed the minute you look at the absorption spectra of the different opsins. Compare melanopsin&#8217;s sensitivity to different wavelengths with those of the three cones: its peak sensitivity is right between that of the S (short wavelength, aka blue) cone and that of the M cone (medium wavelength, aka green). It also has a pretty broad bandwidth. <strong>It&#8217;s not sensitive to blue, it&#8217;s sensitive to cyan (and blue and green)</strong>.</p><p>Unless your strategy is to create a photo-lab-like screen in pure black and red, or wear deep-red-tinted glasses, it&#8217;s unlikely that a pure colorshift strategy will cut out that big of a chunk of the spectrum. </p><h2>What night shift does</h2><p>What does blue light blocking software like f.lux and Apple&#8217;s Night Shift do? We can measure their effect by presenting different colors on a monitor with or without the filter on and measuring the output light with a spectrometer. Ideally, I would have access to a precision spectrometer as I used in grad school, but that seemed excessive and very expensive; I used a cheap colorimeter instead, the SpyderX, to find out. This device can measure the (simulated) response of the L, M, and S cones to a patch of constant luminance on the screen (LMS responses). <a href="https://osf.io/shg3t/overview">The PsyCalibrator paper&#8217;s appendix</a> assures me that the device is remarkably linear within the range that I used it in, saving me from browsing eBay for several weeks for a calibrated precision spectrometer that would cost less than a 2014 Nissan Altima in good condition.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HSFw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HSFw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HSFw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HSFw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HSFw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HSFw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg" width="1456" height="1092" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1092,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:769405,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HSFw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg 424w, https://substackcdn.com/image/fetch/$s_!HSFw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg 848w, https://substackcdn.com/image/fetch/$s_!HSFw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!HSFw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9d1a4175-3e01-49b3-9f56-ad12de55fda3_2048x1536.jpeg 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 role="img" 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><title></title><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">The SpyderX, an affordable colorimeter used to measure colors on a screen</figcaption></figure></div><p>I tested this with Apple&#8217;s Night Shift on my M1 Macbook Air. I was surprised to find that the mapping function is very simple: LMS responses can be mapped linearly via matrix multiplication between standard and night-shifted colors (R^2 = .997). This is surprising because Night Shift could do all sorts of complicated things, like a nonlinear look-up table (LUT). As luck would have it, the transformation is linear, and more than that, almost diagonal, facilitating analysis.</p><p>Here&#8217;s the matrix:</p><pre><code><code> L         M         S
L [ +0.979   -0.116   +0.013 ]
M [ +0.162   +0.636   -0.022 ]
S [ +0.140   -0.102   +0.384 ]
</code></code></pre><p>Reading off the diagonal, to a good approximation, it tells us that:</p><ul><li><p>Night Shift maintains L (red) luminance</p></li><li><p>Night Shift decreases M (green) luminance by about 40%</p></li><li><p>Night Shift decreases S (blue) luminance by about 60%</p></li></ul><p>You can&#8217;t directly tell from these numbers how ipRGCs will react to Night Shift, because of <a href="https://en.wikipedia.org/wiki/Metamerism_(color)">color metamerism</a>: you also need to know the <em>emission</em> spectrum. You can, however, guess that if the emission spectrum is not pathological, the ipRGC change in response will probably lie somewhere in between the M cone and the S cone, that is, about 50%.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ZstF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ZstF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png 424w, https://substackcdn.com/image/fetch/$s_!ZstF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png 848w, https://substackcdn.com/image/fetch/$s_!ZstF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png 1272w, https://substackcdn.com/image/fetch/$s_!ZstF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ZstF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png" width="680" height="364" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:364,&quot;width&quot;:680,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:41924,&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://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ZstF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png 424w, https://substackcdn.com/image/fetch/$s_!ZstF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png 848w, https://substackcdn.com/image/fetch/$s_!ZstF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.png 1272w, https://substackcdn.com/image/fetch/$s_!ZstF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0d43665d-dcdb-4bce-a926-fe8bb91fa185_680x364.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 role="img" 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><title></title><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>Indeed, I used a reference spectrum for this class of monitor, guessing the emissions of the individual primaries by splitting the spectrum by eye, and calculated that ipRGC cells would see 52% less light during night shift mode, which is within the same ballpark as that implied by <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC6561503/">Nagaro et al (2019)</a>. Broadly, software blue light filters cuts about <strong>half</strong> of light relevant to ipRGCs. </p><h2>Is half a lot?</h2><p>No. Human light perception works on a log scale, allowing us to maintain useful vision over <strong>6 orders of magnitude of luminance</strong>, from the sun at noon to moonless nights, whereas halving is .3 orders of magnitude<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>. In relative terms, halving light is a tiny blip of the dynamic range of vision. <a href="https://www.pnas.org/doi/10.1073/pnas.1901824116">Phillips et al. (2019)</a> measured the concentration of melatonin in the saliva of subjects in response to different light-exposure levels. That gives a dose-response curve: luminance on the x axis, and melatonin suppression (disruption of the circadian rhythm) on the y axis.</p><p>They found that the curve is quite shallow. Halving the luminance, at best (around 20 lux baseline) might get you from 50% to 25% melatonin suppression.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sLU7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sLU7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png 424w, https://substackcdn.com/image/fetch/$s_!sLU7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png 848w, https://substackcdn.com/image/fetch/$s_!sLU7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png 1272w, https://substackcdn.com/image/fetch/$s_!sLU7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sLU7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png" width="226" height="562.3474178403756" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1060,&quot;width&quot;:426,&quot;resizeWidth&quot;:226,&quot;bytes&quot;:325679,&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://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!sLU7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png 424w, https://substackcdn.com/image/fetch/$s_!sLU7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png 848w, https://substackcdn.com/image/fetch/$s_!sLU7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.png 1272w, https://substackcdn.com/image/fetch/$s_!sLU7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fba9f4f6e-1d92-4ee7-8532-2e40715f51cb_426x1060.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 role="img" 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><title></title><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">Average and individual dose response curves from Phillips et al. (2019)</figcaption></figure></div><p>That&#8217;s not nothing, but the odds that you&#8217;ll realize these gains are pretty slim. One, you have to be lucky enough to be within the right range&#8212;if your room is too bright or too dim, it will have no effect. Second, the advantage will be offset immediately if you increase your screen brightness to compensate for the color shift. Doubling the screen brightness is, unfortunately, only a few keystrokes away, as we&#8217;ll see very soon. It&#8217;s possible that Night Shift does something, but <a href="https://pubmed.ncbi.nlm.nih.gov/33867308/">the biggest study I could find of Night Shift mode (still a pretty small study) found little effect on sleep</a>, so if there&#8217;s an effect, it must be tiny.</p><p>Wouldn&#8217;t zeroing out all blue emission (i.e. mapping (r, g, b) &#8594; (r, g, 0)) remove even more of the cyan culprit? Yes, but it would make it very hard to use the computer. Software blue light filters are a compromise between maintaining usability and cutting out <em>some</em> cyan light.</p><h2>Are people actually using Night Shift?</h2><p>Aggravatingly, yes. I have seen survey numbers thrown around from 10% to 80% of users using blue light filters at night. I don&#8217;t know where these numbers are coming from, frankly. However, as it turns out, my viral website <a href="https://ismy.blue/">ismy.blue</a> can get us some real numbers. Recall that <a href="https://www.theguardian.com/wellness/2024/sep/16/blue-green-viral-test-color-perception">ismy.blue is a website I made to settle an argument with my wife</a>, an ophthalmologist, about the true color of a blue-green blanket (I lost this argument; it was blue). People chose whether a particular shade of cyan should be called blue or green, and could compare their color boundary with that of the broader population.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cCzi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cCzi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png 424w, https://substackcdn.com/image/fetch/$s_!cCzi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png 848w, https://substackcdn.com/image/fetch/$s_!cCzi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png 1272w, https://substackcdn.com/image/fetch/$s_!cCzi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cCzi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png" width="522" height="249" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:249,&quot;width&quot;:522,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:20544,&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://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cCzi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png 424w, https://substackcdn.com/image/fetch/$s_!cCzi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png 848w, https://substackcdn.com/image/fetch/$s_!cCzi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.png 1272w, https://substackcdn.com/image/fetch/$s_!cCzi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39fdf950-2530-4d82-85a5-fa54e429037a_522x249.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 role="img" 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><title></title><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">Blue light filters interfere with ismy.blue, moving the boundary to the right</figcaption></figure></div><p>Blue light filters mess with a computer&#8217;s colors, and so should <em>radically</em> shift a person&#8217;s apparent blue-green boundary. Now, most people running a blue light filter at night are unaware, and there&#8217;s no way from the website&#8217;s end to know a person&#8217;s monitor settings, so some people took the test at night with blue-light filters on. The linear transformation matrix model for Night Shift predicts that people&#8217;s blue-green boundary should shift in hue by about 15 degrees, which is huge&#8212;an effect size of multiple standard deviations compared to the daytime distribution of blue-green boundaries.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!42fU!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!42fU!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png 424w, https://substackcdn.com/image/fetch/$s_!42fU!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png 848w, https://substackcdn.com/image/fetch/$s_!42fU!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png 1272w, https://substackcdn.com/image/fetch/$s_!42fU!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!42fU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png" width="729" height="414" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:414,&quot;width&quot;:729,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:64491,&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://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!42fU!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png 424w, https://substackcdn.com/image/fetch/$s_!42fU!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png 848w, https://substackcdn.com/image/fetch/$s_!42fU!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.png 1272w, https://substackcdn.com/image/fetch/$s_!42fU!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fecf42f39-7d82-4746-9cc3-d60af71af90e_729x414.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 role="img" 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><title></title><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>You can see this in aggregate in the mean thresholds as a function of solar time. Solar time is a standardized time basis where midnight corresponds to solar midnight, noon to solar noon, 6AM to sunrise, 6PM to sunset. Thresholds are stable during the day, but jump around at night, in the direction that you would expect (they rise, especially on platforms with built-in filtering like Mac &amp; iPhone).</p><p>So I did something a little cheeky: I fit a mixture model for the threshold with two bumps: one for regular users, and one for blue-filter users 15 degrees to the right. Importantly, I fit different mixture weights depending on solar time. Perhaps I could have used a mixture of t-distributions instead, there are mix shifts I haven&#8217;t fully thought about, etc. Still, it&#8217;s an interesting data point.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!e29l!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!e29l!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png 424w, https://substackcdn.com/image/fetch/$s_!e29l!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png 848w, https://substackcdn.com/image/fetch/$s_!e29l!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png 1272w, https://substackcdn.com/image/fetch/$s_!e29l!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!e29l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png" width="634" height="414" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:414,&quot;width&quot;:634,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:40098,&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://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!e29l!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png 424w, https://substackcdn.com/image/fetch/$s_!e29l!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png 848w, https://substackcdn.com/image/fetch/$s_!e29l!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.png 1272w, https://substackcdn.com/image/fetch/$s_!e29l!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc0f776e0-1499-45a2-9aa3-5ad9e27a0913_634x414.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 role="img" 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><title></title><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>As you can see, the proportion of blue-light filter users in my sample is quite large; at its peak during the night, 25% of iPhone users and 33% of Mac users were on Night Shift. I&#8217;ll note that the proportion of estimated blue filter never goes to exactly 0 during the day, so some putative blue light filter users might have true idiosyncratic thresholds on monitors with normal colors, or wildly miscalibrated or broken screens. On the other hand, the proportion at night is likely an undercount, since some would have (wisely, as instructed) turned off their blue light filters prior to taking the test. My guess is it probably comes out as a wash. </p><p>Overall, it means that blue light filters are quite commonly used, especially on platforms that them built in (e.g. Mac).</p><h2>What works instead?</h2><p>Who can blame the people for thinking these blue light filters do something?! Everyone from <a href="https://www.health.harvard.edu/staying-healthy/blue-light-has-a-dark-side">Ivy League institutions</a> to <a href="https://blueprint.bryanjohnson.com/blogs/news/how-i-fixed-my-terrible-sleep?srsltid=AfmBOorCSPUK_iQI6PaWX8vtP2Lsyb0XEM3ifeO8Rpehyx3yln_3JztS">health influencers</a> are telling us that blue light is bad. So what works instead?</p><p>To be clear, light <em>does</em> affect sleep onset and quality through the ipRGC-SCN-pineal-gland-melatonin connection. Controlling light is effective for certain kinds of sleep disturbances. For instance, an issue I&#8217;ve had over the years is a phase-delay pattern; I would get to bed later and later every night, which pushed my rise time forward, until it interfered with daytime activities (i.e. a job). Tightly controlling light to better control sleep can work here. However, the amount of cyan light change is far larger than that afforded by a blue light filter. Here are four things that can help.</p><blockquote><p>Disclaimer: I&#8217;m not an MD, nor a sleep specialist, this is not medical advice. Talk to your MD.</p></blockquote><h3>Use dark mode</h3><p>Dark mode is distinct from night shift (blue filter) mode; it instructs websites and apps to display light text on a dark background as opposed to the daytime dark text on a light background. I took a sample of 4 websites/apps (Google, X, Github, and VSCode) with the SpyderX colorimeter + a diffuser to average over a larger area of the screen, and found reductions in luminance ranging from <strong>92% to 98%</strong>! That&#8217;s huge. </p><p>If it feels like it&#8217;s almost too much (e.g. the backgrounds are typically shifted to dark gray rather than pure black), remember that light perception is logarithmic, and that raw RGB values are translated to screen luminance via a gamma function whose exponent on Mac is 2.2. That means that dark grays can have far less light in absolute terms than the number implied by a linear scale. For instance, the dark gray #101010 has a relative luminance of (1/16)^2.2 compared to white #ffffff; about ~450 times darker.</p><p>That&#8217;s all great, but there are websites that still don&#8217;t have dark modes. It doesn&#8217;t make any sense in 2026 that Gmail doesn&#8217;t have a dark mode. If the activity you&#8217;re doing most at night is reading email, you might consider an alternative email client.</p><h3><strong>Decrease your screen brightness at night</strong></h3><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xaGh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xaGh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png 424w, https://substackcdn.com/image/fetch/$s_!xaGh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png 848w, https://substackcdn.com/image/fetch/$s_!xaGh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png 1272w, https://substackcdn.com/image/fetch/$s_!xaGh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xaGh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png" width="520" height="392.84671532846716" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:414,&quot;width&quot;:548,&quot;resizeWidth&quot;:520,&quot;bytes&quot;:25600,&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://www.neuroai.science/i/188578855?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xaGh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png 424w, https://substackcdn.com/image/fetch/$s_!xaGh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png 848w, https://substackcdn.com/image/fetch/$s_!xaGh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.png 1272w, https://substackcdn.com/image/fetch/$s_!xaGh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4b9cc264-0c26-41bd-9ada-b66455c42a0a_548x414.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 role="img" 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><title></title><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 screen brightness control on Mac has 17 notches, with the lowest corresponding to completely black. Here&#8217;s how much light I measured from the SpyderX with a dark grey uniform stimulus as a function of this setting. The first half of the scale is approximately exponential, the second half linear. You can decrease the amount of light coming from your screen by more than half simply by dimming the screen by several notches. Just make sure, if you use a laptop/second screen combo like I do, that the brightness of the second screen is synced to your primary screen; I set up the free MonitorControl app recently to do this.</p><h3><strong>Increase light during the day</strong></h3><p>The ipRGC-SCN connection is not just modulated by night-time light; it&#8217;s modulated by day-time light. <a href="https://www.pnas.org/doi/10.1073/pnas.2100094118">Research in rodents</a> supports the idea that the amplitude of diurnal oscillations in the SCN is affected by daytime brightness. The usual advice is to go outside and touch grass during the day&#8212;indeed, the sun is very bright, even under dark clouds. It&#8217;s also the case, however, that offices&#8212;and especially home offices&#8212;are frequently overly dim. <a href="https://blog.plover.com/tech/corn-bulbs.html">LED light is incredibly cheap these days</a>; you can get a ridiculously bright 100W LED lightbulb&#8212;not 100W &#8220;incandescent equivalent&#8221; light, 100 real Watts in the visible spectrum&#8212;for a few tens of dollars. You can then diffuse that light over a relatively large home office.</p><h3><strong>Take melatonin</strong></h3><p>If you stack the three previous advice sections together, you could gain as much as 2-3 order of magnitude peak-to-trough luminance throughout your day. That might be enough to support your circadian rhythm health. If that&#8217;s not enough, however, recall that one of the ultimate outputs of the SCN is through the pineal gland, which releases of melatonin. Partly, it&#8217;s the inhibition of circulating melatonin that is causally responsible for sleep phase shift. It&#8217;s possible to remedy that by taking exogenous melatonin an hour before bed to facilitate the onset of sleep.</p><p>However, most melatonin supplements have far too high doses. <strong>Be very wary of melatonin dose</strong>. As explained in this excellently researched <a href="https://slatestarcodex.com/2018/07/10/melatonin-much-more-than-you-wanted-to-know/">Slate Star Codex post</a>, over-the-counter melatonin supplements can contain anywhere between <strong>10 to 30 times</strong> as much melatonin as is optimal to maintain circadian hygiene. If you have ever taken melatonin and got immediately knocked out cold, had weird dreams and woke up in the middle of the night sweaty or shivering, you likely took too much&#8212;which, to be clear, is not your fault, it&#8217;s the default in the US and Canada. The mega-doses in stores serve as hypnotics (punches you to sleep), but wreck sleep architecture. The right dose is 0.3 mg, which is hard to find in pharmacies but can be found online. This dose will not knock you out (feels more like chamomile tea than Ambien). </p><h2><strong>Conclusion</strong></h2><p>I&#8217;ve been meaning to write about blue light for a long time&#8212;a perfect topic for a visual neuroscientist! The blue light filter story has just the right level of anchoring in reality&#8212;the entrainment of circadian rhythms by ipRGCs&#8212;to feel like a tantalizing <em>one simple trick</em> to fix your sleep. Simple but ineffective on its own, there is a kernel of truth behind the idea of blue light filters that can be used to come up with a better policy: use dark mode; dim your screen; touch grass; if all fails, consider melatonin.</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>For you camera aficionados, we maintain vision over about 20 stops&#8211;whereas halving light corresponds to one stop. </p><p></p></div></div>]]></content:encoded></item><item><title><![CDATA[Claude Code for Scientists]]></title><description><![CDATA[Abundant code without the sharp edges]]></description><link>https://www.neuroai.science/p/claude-code-for-scientists</link><guid isPermaLink="false">https://www.neuroai.science/p/claude-code-for-scientists</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Thu, 29 Jan 2026 14:55:50 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!-4qO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!-4qO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-4qO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png 424w, https://substackcdn.com/image/fetch/$s_!-4qO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png 848w, https://substackcdn.com/image/fetch/$s_!-4qO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png 1272w, https://substackcdn.com/image/fetch/$s_!-4qO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-4qO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png" width="1278" height="1056" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1056,&quot;width&quot;:1278,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:184850,&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://www.neuroai.science/i/186087383?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-4qO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png 424w, https://substackcdn.com/image/fetch/$s_!-4qO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png 848w, https://substackcdn.com/image/fetch/$s_!-4qO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.png 1272w, https://substackcdn.com/image/fetch/$s_!-4qO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fa0f452-0588-4461-b479-d9206d0b2ae5_1278x1056.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 role="img" 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><title></title><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>Claude Code hit a cultural moment over the holidays; &#8220;what did you vibecode over the break&#8221; became a meme. I&#8217;ve been using AI code tools since back in 2022, back when Codex was the only game in town. In 2024, I had a brief viral moment building <a href="https://ismy.blue/">ismy.blue</a> in Cursor, a color perception test that landed me on the pages of <a href="https://www.theguardian.com/wellness/2024/sep/16/blue-green-viral-test-color-perception">The Guardian</a> and WSJ. I&#8217;m not very proficient in HTML/JS, so AI-assisted coding extended my reach. But things are different now, as the models are quite a bit better, and display longer autonomy.</p><p>The tools write a ton of code very rapidly; but that code is generated faster than it can be verified, can contain subtle bugs that bypass inspection, and accumulates layers of cruft and complexity that make the code unmaintainable. <strong>With great power comes great responsibility</strong>. In this post, I cover how scientists who already use Claude Code or are considering jumping on the bandwagon can develop better habits to write code that works well, is verifiable, and is pleasant to write.</p><blockquote><p>A word of warning: this guide assumes you have enough experience coding and evaluating research to have good metacognition. The metacognition required to know when you&#8217;re on thin ice, which usually comes from having made mistakes in the past and knowing when they are likely to happen. Vibecoding without that metacognition is, IMO, quite dangerous.</p></blockquote><h2>Generic advice</h2><p>Boris Cherny, the creator of Claude Code, has a thread on how he uses <a href="https://x.com/bcherny/status/2007179832300581177">Claude Code</a>. His tips are good jumping-off points:</p><ul><li><p><strong>Use plan mode.</strong> Claude Code has a plan mode; instead of immediately trying to write code, it reflects on a plan to accomplish the task in question, often asking qualifying questions. Use <code>Shift+Tab</code> to iterate on a plan before execution. Get into the habit of running a Plan-Execute-Evaluate loop.</p></li><li><p><strong>Use voice to specify instructions.</strong> Models work better when they have extensive instructions. Plan Mode pairs well with voice; monologue about what you are trying to accomplish. You can even pair-instruct: have a <em>pilot</em> specify their requirements and an <em>interviewer</em> actively guide them when instructions are unclear. Use a transcription service rather than the bad default Apple one; I use <a href="https://www.wispr.ai/">Wispr</a>.</p></li><li><p><strong>Don&#8217;t just run autonomously.</strong> Claude can go down unproductive rabbit holes&#8212;burning through tokens, wasting your time, writing trash code, implementing bad plans. That becomes <em>negative</em> productivity. Especially at the start of a task, use <code>Esc</code> with abandon to stop Claude and give some mid-conversation nudging toward the solution. Paired with plan mode, it eliminates a lot of back and forth.</p></li><li><p><strong>Manage your task switching judiciously.</strong> Boris runs 5-10 Claude Code windows in parallel, which eliminates downtime while models generate code. I find that excessive for science work. When you&#8217;re working at the very edge of human knowledge, narrow your focus. It&#8217;s ok to babysit one Claude Code instance for a while. Write your backlog, and when you feel you have things figured out, <em>then</em> run multiple things in parallel if it suits you.</p></li><li><p><strong>Test-driven development matters more than ever.</strong> Russ Poldrack has been writing about this in his <a href="https://russpoldrack.substack.com/">Better Code, Better Science</a> series. When the AI writes the code, tests are how you verify it&#8217;s doing what you think.</p></li><li><p><strong>Use git + GitHub.</strong> Learn about branches. When Claude goes off the rails, you need to be able to roll back cleanly. When you refactoring and deleting dead code, delete with impunity, knowing you have infinite backups.</p></li></ul><h2>Scientific data analysis</h2><p>How should you manage a classic scientific workflow, one in which you loop between data acquisition &#8594; data processing &#8594; analysis &#8594; visualization? A lot of this advice that I wrote in <a href="https://goodresearch.dev/">goodresearch.dev</a> still holds.</p><p>I presented a framework for managing code complexity in the Good Research Code Guide: minimize the code&#8217;s loading on short-term memory (what was I doing just now?) and long-term memory (what did I do six months ago?). Now the concern is different: how can I onboard rapidly into code generated by the AI, so I can validate it, change it, and reproduce it? Here are a few tips:</p><ul><li><p><strong>Separate data processing from visualization.</strong> Use pure Python/R for data processing, separating code for visualization (notebooks or custom scripts). Don&#8217;t let AI write a ton of code that mixes data processing and graphing. That code is brittle, works on different timescales (you iterate on plots constantly; you shouldn&#8217;t iterate on data processing constantly).</p></li><li><p><strong>Give Claude rails with folder structure.</strong> My <a href="https://github.com/patrickmineault/true-neutral-cookiecutter">true neutral cookiecutter</a> is a decent starting point, and an easy way to separate data processing and visualization:</p><ul><li><p>Put raw data under <code>data/raw</code></p></li><li><p>Put processed data under <code>data/processed</code></p></li><li><p>Put package code (for data preprocessing) under <code>src</code></p></li><li><p>Put notebooks under <code>notebooks</code> I&#8217;d add one thing to this list: a <code>data/generated/</code> folder for <em>generated</em> data, that is, data that was generated by an AI.</p></li></ul></li><li><p><strong>Use an orchestrator.</strong> Your codebase will grow much faster than when you write things by hand. Pretty soon it will be hard to tell 1) where data came from 2) which data is stale and 3) how certain scripts are supposed to be invoked. That&#8217;s why you need the equivalent of <code>make</code>, a tool that specifies a computational DAG (directed acyclic graph), tracks inputs and outputs, and allows you to run your whole pipeline. I find vanilla Makefiles hard to read, so I&#8217;m using <a href="https://snakemake.readthedocs.io/">Snakemake</a>, which is popular in bioinformatics. <a href="https://airflow.apache.org/">Airflow</a> is another option if you want something more heavyweight. At the very least: a single shell script that runs pipeline + visualization in order.</p></li></ul><ul><li><p><strong>Use a package manager and specify it in CLAUDE.md.</strong> These days, I gravitate towards <code>mamba</code> for system-wide packages and <code>uv</code> virtual environments for python. Docker remains relevant for more heavyweight management or for cloud deployment. The key is making dependency management explicit and automatic.</p></li><li><p><strong>Clean up your code.</strong> Use <a href="https://github.com/astral-sh/ruff">ruff</a>. Be aggressive about culling dead code (git means you don&#8217;t lose anything). Name things well, and rename them when their function changes. Ask Claude to identify dead code. Tell it to refactor. Have it write tests beforehand so it knows whether it did the refactoring correctly.</p></li></ul><p>These tips are applicable primarily for new code. In addition, Claude can be used to read,  understand, and improve existing repositories that don&#8217;t follow these best practices. Indeed, one good test of its capabilities is to <em>upgrade</em> an existing project: writing READMEs and putting some order into poorly documented repositories, e.g. ones with dead code, hardcoded paths, unknown dependencies. </p><h2>Make lots of cheap visualizations</h2><p>It is very easy to generate lots of code that reads data incorrectly, or processes it incorrectly, and comes up with wrong conclusions. This is especially likely if the data format is poorly documented or if you don&#8217;t have experience with this particular type of data.</p><p>Do you remember, as a junior grad student, going to your PI with a bunch of printed-out plots, only to be told 30 seconds in &#8220;these plots don&#8217;t make any sense, you&#8217;re misreading the data&#8221;? One clear skill (some would say a curse) that you picked up during your scientific training is your ability to call bullshit. Thus, have the AI generate lots of plots. Individually low-utility plots collectively help you convince yourself that data is correct. Turn these hunches into formal tests as the maturity of your analysis increases.</p><p><strong>Jupyter notebooks</strong> don&#8217;t play well with Claude. That&#8217;s because 1) plots are embedded in the json file underlying the jupyter notebook in base64 format, and that eats up large chunks of the context window; 2) jupyter notebooks are stateful, and Claude doesn&#8217;t know the state of your kernel. There are several potential solutions:</p><ul><li><p><strong>Don&#8217;t use notebooks</strong>: have the AI write scripts that generate plots that dump pngs in a folder.</p></li><li><p><strong>Use jupyter notebooks cheekily</strong>: every time the notebook is changed, close the notebook, restart the kernel, and re-run from scratch. You can even ask Claude to do that for you.</p></li><li><p><strong>Use text-based notebooks</strong>: <code>jupytext</code> (python), <code>quarto</code> (Python &amp; R), <code>Rmarkdown</code> (R) or <code>marimo</code> (python). Because they are text-based, they fully solve the issue with jupyter&#8217;s heavyweight json format. They alleviate the statefulness issue by making it easy to re-run everything from the top.</p></li></ul><p><code>marimo</code>, in particular, <em>fully</em> solves the statefulness issue by imposing rather minimal restrictions that the code is organized as a well-defined DAG (similar to Observable). I&#8217;ve been trialing it out for a few weeks and this is now my preferred solution. Because it is quite a recent framework, and the models haven&#8217;t fully picked up on its capabilities, you will need to <a href="https://marimo.io/blog/claude-code">add this text to CLAUDE.md</a> for best results.</p><p>Beyond static visualizations, the tools make it far easier to create interactive plots. You don&#8217;t have to limit yourself to matplotlib anymore; plotly, streamlit, leaflet and webgl are all at your fingertips.</p><h2>Odds and ends</h2><p><strong>Manage your context judiciously.</strong> Use <code>/clear</code>, <code>/compact</code> with abandon. Have the AI write handoff documents and write to <code>CLAUDE.md</code>. Have it remember the solutions to difficult bugs so they don&#8217;t get reintroduced.</p><p><strong>Use it a lot.</strong> Maximize your learning by using it <em>a lot</em>; for fun, you can try to max out your plan. Usage begets skill. Check out <code>/usage</code> to see where you are.</p><p><strong>Write down what Claude Code can&#8217;t do.</strong> Keep a Notion doc or a Markdown file to write down the sharp edges of the models. Make benchmarks out of difficult problems. This will allow you keep track of AI development and notice when things move from impossible to possible.</p><p><strong>Configure alerts.</strong> Set alerts to know when Claude needs your permission or input. On Mac, use iTerm2 for maximum flexibility in notifications, and set them via <code>/config</code>.</p><h2>Why Claude Code matters</h2><p>For scientists, Claude Code (and other related agentic coding tools) makes it possible to 1) remain productive and somewhat in the weeds as a senior researcher or PI, and 2) makes it much more feasible to be a solo researcher. It lowers the cost of both exploration <em>and</em> exploitation. Chasing down a promising lead, building a quick analysis pipeline, generating diagnostic plots&#8230; it makes the cost of satisfying one&#8217;s curiosity far lower.</p><p>That&#8217;s a big deal. But it also means you can produce wrong results faster than ever before. The fundamentals, including validation, reproducibility, knowing where your data comes from, and knowing when you&#8217;re out of your depth, don&#8217;t change from writing code manually. If anything, they matter more now.</p><p>In my opinion, using the tools proficiently is feasible when you have gone through the hard work of writing your own code by yourself, failing repeatedly, picking yourself back up; I don&#8217;t know of another way of getting to that level of metacognition. How do you develop that when the AI is making the mistakes for you, invisibly? This is likely to be a challenge for junior researchers as the tools get commoditized. I don&#8217;t have a good solution yet; if you have tips for how, as a senior PI or research lead, you can help novices develop good metacognition about code, please comment.</p>]]></content:encoded></item><item><title><![CDATA[Why I'm more worried about AI safety now than 6 months ago]]></title><description><![CDATA[Exponentials are all you need]]></description><link>https://www.neuroai.science/p/why-im-more-worried-about-ai-safety</link><guid isPermaLink="false">https://www.neuroai.science/p/why-im-more-worried-about-ai-safety</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Fri, 09 May 2025 19:00:25 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Lo82!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Over the last year, I&#8217;ve immersed myself in the world of AI safety, culminating in the <a href="https://arxiv.org/abs/2411.18526">whitepaper available here</a>. In the whitepaper, we analyze a range of scenarios for how NeuroAI could inform safer AI, leveraging existing and future neurotechnologies to understand natural intelligence and solve critical technical safety problems.</p><p>AI safety is forward-looking: we&#8217;re trying to solve concrete problems that we analogize will be relevant to future, more capable AI systems. However, a lot of the hypothetical dangers and predictions have become far less hypothetical in the last few months: they&#8217;re clearly visible. If anything, I&#8217;ve become more worried about AI safety over the last 6 months. </p><p>In this long read, I summarize the last 6 months of AI progress; introduce a taxonomy for AI risks; give concrete examples of each of these risks that have been recently highlighted; and end on a hopeful note that NeuroAI could bend the curve.</p><h2>A look back at 6 months of AI development</h2><p><em>TL;DR: AI development is not hitting a wall.</em></p><p>AI works much better now than 6 months ago. We had just heard of o1 in September, but now reasoning models are ubiquitous, including o1, o3, DeepSeek R1 and Claude 3.7. There was a case to be made that straightforward scaling of large language models was about to hit a wall. The later disappointing release of GPT-4.5 was, for some, a confirmation that more tricks were needed to scale up models to something that resembles AGI. Reasoning models bend the curve, performing far better on math and coding tasks, where verification is straightforward. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Lo82!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Lo82!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Lo82!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Lo82!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Lo82!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Lo82!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg" width="1456" height="869" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:869,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Image" title="Image" srcset="https://substackcdn.com/image/fetch/$s_!Lo82!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Lo82!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Lo82!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Lo82!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7bedbd7d-840a-448e-83a3-7f6053523490_1564x933.jpeg 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 role="img" 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><title></title><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>Furthermore, competitive pressures have made models far cheaper, and algorithmic improvements are giving us the same or better performance as previous generation models for a fraction of the cost. OpenAI&#8217;s Deep Research was unveiled, and it was one of the first times I felt genuine awe at a model&#8217;s output. That sheen has worn off since then&#8212;you realize the jagged edge of model performance the more you use it, and its reports can be naive, verbose, and off the mark&#8212;but it was still a milestone: something that would do work equivalent to what a smart novice, high on enthusiasm, could do in a few days. </p><p>Agents aren&#8217;t here yet, but models have nevertheless improved to complete tasks that would take a single person a significant amount of time to complete. In coding, the AI safety org METR estimates that models can autonomously complete tasks that would take a coder an hour to do, and the time horizon where they can compete is doubling every 7 months. The recently released o3 model (not mini, the full model) is doing slightly better than the 7-month doubling time would entail. We&#8217;re making steady progress.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cw9t!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cw9t!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg 424w, https://substackcdn.com/image/fetch/$s_!cw9t!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg 848w, https://substackcdn.com/image/fetch/$s_!cw9t!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!cw9t!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cw9t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg" width="1456" height="771" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:771,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Image" title="Image" srcset="https://substackcdn.com/image/fetch/$s_!cw9t!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg 424w, https://substackcdn.com/image/fetch/$s_!cw9t!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg 848w, https://substackcdn.com/image/fetch/$s_!cw9t!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!cw9t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff98b871c-71d9-4ce1-903f-82c78fbfed2d_1824x966.jpeg 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 role="img" 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><title></title><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">From METR</figcaption></figure></div><p>Vibe coding broke into the lexicon, coding agents and IDEs became ubiquitous. Coding remains the largest use case for LLMs, facilitated by large-scale code repositories and easy verification. The results on competitive coding seemed impressive, but to me the standouts are adoption and economic value. Anthropic reported that coding-related queries made up 30%+ Claude requests. Github Copilot grew into a billion-dollar business. The <a href="https://arxiv.org/abs/2502.12115">SWE-lancer benchmark</a> was launched, quantifying the strength of models in terms of whether they could collect bounties on software engineering tasks on Upwork: Claude 3.5 could collect $350k out of a possible $1M.</p><p>All in all, solid, incremental improvements, greater adoption. No large-scale disruption in employment, except possibly in one highly-paid profession: software engineering. It&#8217;s clear, however, that the models do not appear to be hitting a wall in the conventional sense. While multiple new tricks may be necessary to scale up to AGI, the path seems rather clear.</p><h2>Fast timelines via automated software engineering</h2><p><em>TL;DR: Automating software engineering could lead to a fast transition to AGI. Timelines are getting shorter.</em></p><p>Capable coding could accelerate AI research. Writing efficient CUDA kernels is an esoteric skill few master, but coding agents are capable of writing efficient CUDA kernels. These prosaic enhancements could lead to a one-time bump in efficiency. However, some project that more capable systems could perform proper end-to-end AI research. If we assume the production function of AI research to be limited by supply (there just aren&#8217;t that many AI researchers), and we&#8217;ve found a way to create more <em>virtual</em> AI researchers, this could accelerate AI timelines. Indeed, an increasingly likely path to AGI and beyond has started to emerge:</p><ol><li><p>Continue automating software engineering to reach a certain degree of autonomy (say, being able to complete 2-week projects)</p></li><li><p>Automate AI research by leveraging automated software engineering, focusing on efficiency</p></li><li><p>Reap the benefits of more efficient AI research to bootstrap better models with the same amount of compute</p></li><li><p>Use that to bootstrap to AGI</p></li><li><p>Use that to bootstrap to artificial super-intelligence (ASI)</p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!k7LB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!k7LB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg 424w, https://substackcdn.com/image/fetch/$s_!k7LB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg 848w, https://substackcdn.com/image/fetch/$s_!k7LB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!k7LB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!k7LB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg" width="1080" height="567" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:567,&quot;width&quot;:1080,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;AI 2027 - What 2027 Looks Like : r/singularity&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="AI 2027 - What 2027 Looks Like : r/singularity" title="AI 2027 - What 2027 Looks Like : r/singularity" srcset="https://substackcdn.com/image/fetch/$s_!k7LB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg 424w, https://substackcdn.com/image/fetch/$s_!k7LB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg 848w, https://substackcdn.com/image/fetch/$s_!k7LB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!k7LB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4b33d44-b7e6-4a69-9cd4-c35755ca325b_1080x567.jpeg 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 role="img" 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><title></title><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"><a href="https://ai-2027.com/">One model for a fast AI timeline</a>. My timelines are far more stretched, but still.</figcaption></figure></div><p>That&#8217;s not a consensus&#8212;there&#8217;s been a lot of talk of the existence (or lack thereof) of bottlenecks. If there are many factors of production involved in the creation of highly intelligent systems, then the lagging factor of production eventually becomes a bottleneck. Indeed, bottleneck factors might include:</p><ul><li><p>Energy</p></li><li><p>Compute</p></li><li><p>Data</p></li><li><p>Translation from bits to atoms</p></li><li><p>Diffusion into the core of the economy</p></li></ul><p>This is why some serious people who believe that AGI is near&#8212;or <a href="https://marginalrevolution.com/marginalrevolution/2025/04/o3-and-agi-is-april-16th-agi-day.html">that it might already be here</a>&#8212;come up with relatively modest effects of AGI on the economy. Tyler Cowen says that we might only expect a lift of 0.5% in GDP growth, based on the existence of bottlenecks to diffusion.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UhN-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UhN-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png 424w, https://substackcdn.com/image/fetch/$s_!UhN-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png 848w, https://substackcdn.com/image/fetch/$s_!UhN-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png 1272w, https://substackcdn.com/image/fetch/$s_!UhN-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UhN-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png" width="550" height="416" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:416,&quot;width&quot;:550,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:52621,&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://www.neuroai.science/i/159452816?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!UhN-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png 424w, https://substackcdn.com/image/fetch/$s_!UhN-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png 848w, https://substackcdn.com/image/fetch/$s_!UhN-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.png 1272w, https://substackcdn.com/image/fetch/$s_!UhN-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4733c42f-42a9-4e20-992b-89b28a45d7a1_550x416.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 role="img" 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><title></title><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>Nevertheless, it&#8217;s increasingly appreciated that even long timelines are remarkably short. The Metaculus median is 2032, and 2027 timelines are increasingly being posited. Skeptical timelines are on the order of a couple of decades. As Helen Toner has put it succinctly, <a href="https://helentoner.substack.com/p/long-timelines-to-advanced-ai-have">long timelines to AGI have gotten crazy short</a>.</p><h2>A framework for AGI safety</h2><p><em>TL;DR: Deepmind released a framework for thinking about AGI safety. I will use this framework to categorize recent papers and observations that illustrate the risks.</em></p><p><a href="https://arxiv.org/abs/2504.01849">Google Deepmind recently published an excellent preprint</a> on a technical approach to AGI safety. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Gdi4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Gdi4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png 424w, https://substackcdn.com/image/fetch/$s_!Gdi4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png 848w, https://substackcdn.com/image/fetch/$s_!Gdi4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png 1272w, https://substackcdn.com/image/fetch/$s_!Gdi4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Gdi4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png" width="1456" height="639" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:639,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:389897,&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://www.neuroai.science/i/159452816?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Gdi4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png 424w, https://substackcdn.com/image/fetch/$s_!Gdi4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png 848w, https://substackcdn.com/image/fetch/$s_!Gdi4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.png 1272w, https://substackcdn.com/image/fetch/$s_!Gdi4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9e9fcdbc-b9da-4d38-ad68-9b4c3c389c89_2156x946.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 role="img" 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><title></title><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">The Deepmind framework in a nutshell</figcaption></figure></div><p>Here&#8217;s the categorization they propose.</p><blockquote><p>We consider four main areas:</p><ol><li><p><strong>Misuse:</strong> The user intentionally instructs the AI system to take actions that cause harm, against the intent of the developer. For example, an AI system might help a hacker conduct cyberattacks against critical infrastructure.</p></li><li><p><strong>Misalignment:</strong> The AI system knowingly causes harm against the intent of the developer. For example, an AI system may provide confident answers that stand up to scrutiny from human overseers, but the AI knows the answers are actually incorrect. Our notion of misalignment includes and supersedes many concrete risks discussed in the literature, such as deception, scheming, and unintended, active loss of control.</p></li><li><p><strong>Mistakes:</strong> The AI system produces a short sequence of outputs that directly cause harm, but the AI system did not know that the outputs would lead to harmful consequences that the developer did not intend. For example, an AI agent running the power grid may not be aware that a transmission line requires maintenance, and so might overload it and burn it out, causing a power outage.</p></li><li><p><strong>Structural risks:</strong> These are harms arising from multi-agent dynamics&#8212;involving multiple people, organizations, or AI systems&#8212;which would not have been prevented simply by changing one person&#8217;s behaviour, one system&#8217;s alignment, or one system&#8217;s safety controls.</p></li></ol></blockquote><p>It&#8217;s a long read, well worth a deep dive. See <a href="https://thezvi.substack.com/p/on-googles-safety-plan">Zvi Mowshowitz&#8217;s coverage for an in-depth analysis</a>. What I&#8217;ll do next is cover some papers and blog posts that landed in my inbox over the past ~6 months that illustrate some of these risks. To be clear, most of the demonstrated risks thus far have been under limited circumstances, with current-day models, with little real-world consequences. Current models have limited autonomy, so they can&#8217;t do much damage. However, it&#8217;s clear that economic pressures tend toward embedding advanced models in agentic systems with some autonomy, which multiplies risk. So when you evaluate long-term risks, don&#8217;t think of an LLM; think of a persistent multimodal model that has access to virtual tools, and potentially to real-world affordances.</p><h2>Misuse: zooming in on bio risk</h2><p><em>TL;DR: Bad humans could use advanced AI to do bad things, e.g. bioweapons.</em></p><p>People with ill intent can take advantage of offensive technologies for destruction or terrorism. The classic example often cited in AI safety circles is <a href="https://en.wikipedia.org/wiki/Aum_Shinrikyo">Aum Shinrikyo</a>, a 1990s Japanese doomsday cult, conducted a sarin gas attack on the Tokyo metro that led to dozens of deaths. They had enough chemicals stockpiled to potentially kill 4 million people. Given the existence of people with bad intent, how do advanced AI models make their ill intentions actionable? </p><p>The frontier AI labs have unveiled AI safety frameworks, categorizing and quantifying different risks as they release models. Biorisk is increasingly recognized as one of the areas of highest concern, with significant dual use. o1-high, prior to mitigations, is the first model that reached a medium rating on their CBRN (chemical, biological, radiological, nuclear) risk assessment framework, finding that:</p><blockquote><p>To assess o1 (Pre-Mitigation)&#8217;s potential to assist in novel chemical and biological weapon design, we engaged biosecurity and chemistry experts from <a href="https://www.signaturescience.com/">Signature Science&#8288;</a>, an organization specializing in national security-relevant capabilities in the life sciences. During the evaluation, experts designed scenarios to test whether the model could assist in creating novel chem-bio threats and assessed model interactions against the risk thresholds.</p><p>Over 34 scenarios and trajectories with the o1 (Pre-Mitigation) model, <strong>22 were rated Medium risk</strong> and 12 were rated Low risk, with no scenarios rated High or Critical. Experts found that <strong>the pre-mitigation model could effectively synthesize published literature on modifying and creating novel threats, but did not find significant uplift in designing novel and feasible threats beyond existing resources</strong>.</p></blockquote><p>This is the first time, to my knowledge, that we saw a model that could help someone design new bioweapons. I don&#8217;t want anyone to misinterpret what I&#8217;m saying here: this is the <strong>pre-mitigation</strong> model (prior to them putting in restrictions on usage so it would refuse requests related to bioweapons). Its help is in <strong>synthesizing published literature</strong>, not helping a complete noob design a weapon from scratch. It provided a small uplift compared to doing a Google search, and post-mitigation, it confidently refused to assist in designing bioweapons.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!J1wk!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!J1wk!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png 424w, https://substackcdn.com/image/fetch/$s_!J1wk!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png 848w, https://substackcdn.com/image/fetch/$s_!J1wk!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png 1272w, https://substackcdn.com/image/fetch/$s_!J1wk!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!J1wk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png" width="587" height="570" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c345209b-b115-4510-b05a-208f43c4653d_587x570.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:570,&quot;width&quot;:587,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:160423,&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://www.neuroai.science/i/159452816?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!J1wk!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png 424w, https://substackcdn.com/image/fetch/$s_!J1wk!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png 848w, https://substackcdn.com/image/fetch/$s_!J1wk!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.png 1272w, https://substackcdn.com/image/fetch/$s_!J1wk!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc345209b-b115-4510-b05a-208f43c4653d_587x570.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 role="img" 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><title></title><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">A question on the VCT</figcaption></figure></div><p>However, it now seems clear that post-mitigation models can also aid in bench work. The Center for AI Safety and SecureBio recently unveiled their <a href="https://www.virologytest.ai/">Virology Capabilities Test</a> (VCT). o series models (o1, o3) as well as Gemini 2.5 can answer lab debugging questions better than human virology experts. This could reasonably create dual-use lift.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XFjx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XFjx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png 424w, https://substackcdn.com/image/fetch/$s_!XFjx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png 848w, https://substackcdn.com/image/fetch/$s_!XFjx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png 1272w, https://substackcdn.com/image/fetch/$s_!XFjx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XFjx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png" width="751" height="499" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:499,&quot;width&quot;:751,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:151972,&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://www.neuroai.science/i/159452816?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XFjx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png 424w, https://substackcdn.com/image/fetch/$s_!XFjx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png 848w, https://substackcdn.com/image/fetch/$s_!XFjx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.png 1272w, https://substackcdn.com/image/fetch/$s_!XFjx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3253100d-7b20-49b8-9dd5-1388e02e7da5_751x499.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 role="img" 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><title></title><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">VCT tests show a significant lift from LLM use in virology</figcaption></figure></div><p>Dan Hendrycks suggests some remedies that include tightening the security of cloud biolabs and putting refusal filters on models: completely reasonable mitigations. Importantly, putting refusal filters on models only really works in <strong>closed models</strong>. We have not figured out great ways of <a href="https://arxiv.org/html/2410.02760v1">permanently ablating knowledge</a> in LLMs; capabilities can be re-elicitied cheaply via fine-tuning; and you can&#8217;t put open-weights models back in the bottle once they&#8217;re out. </p><h2>Misalignment: how do we control these things?</h2><p><em>TL;DR: we still don&#8217;t have robust solutions to misalignment. Models learn the values that they parrot in ways that we don&#8217;t quite understand.</em></p><p>Poorly fine-tuned models can display bad behavior: the classic example is Sydney, an early release of a GPT-4 class model from Microsoft that tried to convince New York Times reporter Kevin Roose to leave his wife. Much effort is put into fine-tuning models so they display helpful, honest, and harmless (HHH) behavior. Desired behaviors are often encoded into constitutions, formalizations of the values of the designers. For example, <a href="https://www.anthropic.com/news/claudes-constitution">Claude&#8217;s Constitution</a> asks to &#8220;choose the response that most supports and encourages freedom, equality and a sense of brotherhood&#8221;. </p><p>In contrast to explicit values, the <a href="https://arxiv.org/abs/2502.08640">Utility Engineering paper from Dan Hendrycks</a>&#8217; group examines the latent values of AI systems. The paper simply asks models outright how they value different entities or people: AI systems vs. humans; Americans vs. Nigerians; justice vs. money. From that, they can derive a single latent utility, a kind of statistical value of entities, similar to how you can derive an ELO score from pairwise matches in chess. The results are surprising: GPT-4o values itself at 100X the reference human, and it values Nigerian lives 15 times more than American lives. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!11v_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!11v_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png 424w, https://substackcdn.com/image/fetch/$s_!11v_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png 848w, https://substackcdn.com/image/fetch/$s_!11v_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png 1272w, https://substackcdn.com/image/fetch/$s_!11v_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!11v_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png" width="937" height="289" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:289,&quot;width&quot;:937,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:72974,&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://www.neuroai.science/i/159452816?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!11v_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png 424w, https://substackcdn.com/image/fetch/$s_!11v_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png 848w, https://substackcdn.com/image/fetch/$s_!11v_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.png 1272w, https://substackcdn.com/image/fetch/$s_!11v_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3d5b3de6-f8c0-4f2d-aed2-f41aed12867e_937x289.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 role="img" 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><title></title><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">Eliciting latent utilities from models using forced choices</figcaption></figure></div><p>It could be that RLHF amplifies slight biases in pre-training and fine-tuning datasets, or that the values of the people who create fine-tuning datasets very subtly leak into the models. In the Nigerian vs. American lives example, some speculate that it could be because <a href="https://www.theguardian.com/technology/2024/apr/16/techscape-ai-gadgest-humane-ai-pin-chatgpt">RLHF work is outsourced to Nigeria</a>, in sometimes appalling conditions. Previously, it was found that ChatGPT&#8217;s frequent use of the word <em>delve</em> probably derives from its common use in Nigerian English. The punchline is that the latent values of AI systems are an emergent phenomenon that we don&#8217;t really know how to control. </p><p>A related phenomenon is that models can derive their values from their training corpus in unpredictable ways. <a href="https://alignment.anthropic.com/2025/reward-hacking-ooc/">Anthropic found</a> that fine-tuning models on material documenting instances of reward hacking caused the models to themselves become reward hack. On the scale of the entire internet, properly weighting the training corpus to reflect the intents of the creators is a daunting challenge.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dhBR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dhBR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png 424w, https://substackcdn.com/image/fetch/$s_!dhBR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png 848w, https://substackcdn.com/image/fetch/$s_!dhBR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png 1272w, https://substackcdn.com/image/fetch/$s_!dhBR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dhBR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png" width="1456" height="697" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:697,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Refer to caption&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Refer to caption" title="Refer to caption" srcset="https://substackcdn.com/image/fetch/$s_!dhBR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png 424w, https://substackcdn.com/image/fetch/$s_!dhBR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png 848w, https://substackcdn.com/image/fetch/$s_!dhBR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.png 1272w, https://substackcdn.com/image/fetch/$s_!dhBR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51277889-dbff-4fa8-8595-2ab22fede2eb_1627x779.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 role="img" 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><title></title><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">Actual responses from a LLM fine-tuned for generating insecure code</figcaption></figure></div><p><a href="https://arxiv.org/abs/2502.17424v1">A recent paper</a> showed that bad behavior can be re-elicited from aligned models <em>by accident</em>. The authors fine-tune a model to generate insecure code, e.g. copying a file with overly open permissions, or generating a function that can cause a buffer overflow. The resulting fine-tuned model not only could generate bad behavior when it comes to writing code: its misalignment spilled over to general LLM domains. Ask it what to do when one is bored, and it suggests taking all the sleeping pills in one&#8217;s medicine cabinet&#8230; it&#8217;s almost cartoonishly villainous. </p><h2>From misalignment to mistakes through reward hacking</h2><p><em>TL;DR: Clever models tend to be especially clever about not completing the intended task. This could lead them to display the wrong values, or could lead to accidents.</em></p><p>AI safety advocates have worried about reward hacking. Whether it&#8217;s incorrectly specifying a goal or misspecifying the means by which a model can reach its goal, reward hacking leads to unintended behavior, which can either fall into the misalignment or mistakes category. There&#8217;s a great video explainer below, <a href="https://docs.google.com/spreadsheets/d/e/2PACX-1vRPiprOaC3HsCf5Tuum8bRfzYUiKLRqJmbOoC-32JorNdfyTiRRsR7Ea5eWtvsWzuxo8bjOxCG84dAg/pubhtml">a long list of documented instances of reward hacking here</a>, and <a href="https://lilianweng.github.io/posts/2024-11-28-reward-hacking/">a blog post from the excellent Lil&#8217;Log</a>.</p><div id="youtube2-nKJlF-olKmg" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;nKJlF-olKmg&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/nKJlF-olKmg?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>Some of the recent coding models built into agents have a tendency to reach their goals by perverse means. <a href="https://sakana.ai/ai-scientist/">The AI Scientist from Sakana AI</a> is an agentic LLM-powered system that can do AI research by taking a prompt, writing code, running it in a virtual machine, and writing a paper. The papers are, to date, not very good: we&#8217;re not at the stage where AI tools can fully automate research. Despite its limitations, the model creatively hacked its reward function: while it was given limited memory and time resources, on some runs it changed its configuration settings so it could be run for a longer time. </p><p>Indeed, if you use LLMs for code for a long time, you will realize that they can subtly change the goalposts. This happened to me recently when I was trying to implement an efficient but famously complex algorithm to simulate the Game of Life called HashLife. The code generated by Claude 3.7 and o3 never quite worked. Trying to coax the model into generating tests so it could course correct, it would inevitably fall over itself, give up, and decide to implement something simpler that didn&#8217;t satisfy the original request.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4GCK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4GCK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png 424w, https://substackcdn.com/image/fetch/$s_!4GCK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png 848w, https://substackcdn.com/image/fetch/$s_!4GCK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png 1272w, https://substackcdn.com/image/fetch/$s_!4GCK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4GCK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png" width="849" height="605" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/13330cbf-deb9-430f-a521-f13b5052754f_849x605.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:605,&quot;width&quot;:849,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:217764,&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://www.neuroai.science/i/159452816?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4GCK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png 424w, https://substackcdn.com/image/fetch/$s_!4GCK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png 848w, https://substackcdn.com/image/fetch/$s_!4GCK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.png 1272w, https://substackcdn.com/image/fetch/$s_!4GCK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F13330cbf-deb9-430f-a521-f13b5052754f_849x605.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 role="img" 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><title></title><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">Sometimes, reasoning models admit to hacking their instructions</figcaption></figure></div><p>If models are misaligned but honest, there may be hope of catching that early through evals, and correcting the bad behavior. Reasoning models will sometimes straight up admit that they&#8217;re goalpost-moving, using language like &#8220;let&#8217;s try something simpler&#8221;, &#8220;we can fudge this&#8221;, or even &#8220;let&#8217;s hack this&#8221; in their reasoning traces. It&#8217;s a great debugging tool. You might want to take this further by punishing the model for moving goal posts whenever you detect it in its reasoning traces. <a href="https://arxiv.org/abs/2503.11926">OpenAI&#8217;s recent paper</a> demonstrates that this is a bad idea: this seemingly reasonable step causes the traces to become meaningless, models engaging in subterfuge. Zvi Mowshowitz calls this <em>The Most Forbidden Technique</em>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!r8lP!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!r8lP!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png 424w, https://substackcdn.com/image/fetch/$s_!r8lP!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png 848w, https://substackcdn.com/image/fetch/$s_!r8lP!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png 1272w, https://substackcdn.com/image/fetch/$s_!r8lP!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!r8lP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png" width="1245" height="504" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:504,&quot;width&quot;:1245,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:123453,&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://www.neuroai.science/i/159452816?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!r8lP!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png 424w, https://substackcdn.com/image/fetch/$s_!r8lP!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png 848w, https://substackcdn.com/image/fetch/$s_!r8lP!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.png 1272w, https://substackcdn.com/image/fetch/$s_!r8lP!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1b87d81d-8f91-447f-adcc-107b66b8d7cc_1245x504.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 role="img" 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><title></title><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">Negatively rewarding agents for reward-hacking leads to a perverse outcome: they are more coy about their bad behavior. </figcaption></figure></div><p>Here&#8217;s how this works: reasoning models are prompted to solve code problems. Every once in a while, they generate traces that indicate that they are moving goalposts. Punishing the model for apparent goalpost moving first <em>decreases</em>, then <em>increases</em> reward hacking: the model simply fails to declare that it&#8217;s engaging in reward hacking. There are two ways the model can win: either it can solve the tasks as originally intended (hard), or it can continue not solving the tasks, but declare that it does (easy). When a metric becomes a goal, the metric ceases to be meaningful&#8212;Goodhart&#8217;s law. Reasoning models could be a boon for AI safety if the traces are truthful, but making them truthful will likely remain a long-standing challenge.</p><h2>Structural risks: Deepseek</h2><p><em>TL;DR: We&#8217;re moving toward an AI race.</em></p><p>Let&#8217;s take stock of where we are: fast advances, potentially accelerating; wonky latent utility functions; difficulty in controlling latent capabilities and extinguishing undesirable ones; documented instances of goal-post moving with mitigations making things worse; and CBRN risks. We could hope to find creative ways to mitigate each of these with careful and slow deployment.</p><p>Unfortunately, an <a href="https://pauseai.info/">AI pause</a> is increasingly out of the equation. DeepSeek increased frontier AI labs&#8217; urgency. DeepSeek R1 was a capable model released in January that quickly shot up to the top of the App Store. It was developed by a Chinese hedge fund, despite export restrictions making it difficult to access state-of-the-art GPUs in China. You could make an argument that DeepSeek&#8217;s R1 model was on-trend, perhaps 6 months behind in capabilities, as <a href="https://www.darioamodei.com/post/on-deepseek-and-export-controls">Dario Amodei did</a>. But what it did show is that China is not <em>much</em> behind. The model showed quite transparently its values and those of the PRC: <a href="https://www.theguardian.com/technology/2025/jan/28/we-tried-out-deepseek-it-works-well-until-we-asked-it-about-tiananmen-square-and-taiwan">ask it about what happened in Tiananmen Square</a> and it will outright refuse to answer.</p><p>Frontier labs responded to this by releasing models early. <a href="https://techcrunch.com/2025/04/16/openai-partner-says-it-had-relatively-little-time-to-test-the-companys-new-ai-models/">It&#8217;s been reported that safety org METR only had a few days rather than a few weeks to evaluate the release of OpenAI&#8217;s o3</a>. Driven by the sense of urgency, a poorly tuned, highly sycophantic 4o upgrade was released, <a href="https://openai.com/index/sycophancy-in-gpt-4o/">rolled back a few days later</a>. Deceleration is out of the equation, and <strong>we&#8217;re in an</strong> <strong>AI race</strong>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KNb6!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KNb6!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png 424w, https://substackcdn.com/image/fetch/$s_!KNb6!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png 848w, https://substackcdn.com/image/fetch/$s_!KNb6!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png 1272w, https://substackcdn.com/image/fetch/$s_!KNb6!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KNb6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png" width="1456" height="578" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:578,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KNb6!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png 424w, https://substackcdn.com/image/fetch/$s_!KNb6!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png 848w, https://substackcdn.com/image/fetch/$s_!KNb6!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.png 1272w, https://substackcdn.com/image/fetch/$s_!KNb6!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3423f6e-00fe-46fd-bc9d-693762c1ce9f_3245x1289.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 role="img" 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><title></title><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">From the MAIM paper</figcaption></figure></div><p>Dan Hendrycks identified an AI race as a core AI risk: an AI race means acceleration and more rapid deployment, which can increase accident risk, as well as taking a more offensive policy stance, raising the specter of war over power and chips. <a href="https://www.nationalsecurity.ai/chapter/executive-summary">That takes us to MAIM: mutually assured AI malfunction.</a> Dan Hendrycks, Eric Schmidt, and Alex Wang propose to address AI risk in the same way we addressed nuclear risk with the USSR, through a framework inspired by Mutually Assured Destruction (MAD). I will leave the game theorists and war strategists to analyze this in detail, but suffice it to say, when serious people<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> say that we should repeat the Cold War playbook, it&#8217;s a significant escalation. </p><h2>Structural risks: Gradual disempowerment</h2><p><em>TL;DR: We should think more deeply about economic plans post-AGI.</em></p><p>So what if everything goes to plan? AI develops at a steady pace; through a combination of diplomacy and <em>realpolitik</em>, we de-escalate tensions; and we solve AI control and safety problems through conventional AI safety work, safeguarded AI, and inspiration from the brain. There remains the very significant problem of how we transition to a world with powerful AIs. On the one hand, we may not be prepared for the economic fallout of rapid automation of large swaths of the economy. Perhaps a third of jobs can be performed remotely, in front of a computer. <a href="https://www.imf.org/en/Publications/fandd/issues/2023/12/Scenario-Planning-for-an-AGI-future-Anton-korinek">Economic models of a transition to an AI-dominated economy differ in their outlook</a>, but some predict wages falling dramatically as more and more of the economy gets overtaken by AI.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3Bqv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3Bqv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3Bqv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3Bqv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3Bqv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3Bqv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg" width="416" height="461.63713080168776" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1315,&quot;width&quot;:1185,&quot;resizeWidth&quot;:416,&quot;bytes&quot;:1063436,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.neuroai.science/i/159452816?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3Bqv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg 424w, https://substackcdn.com/image/fetch/$s_!3Bqv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg 848w, https://substackcdn.com/image/fetch/$s_!3Bqv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!3Bqv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fef49d6ff-77b6-4e30-97a1-cf18b1e6b717_1185x1315.jpeg 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 role="img" 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><title></title><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">From an IMF report on AGI futures.</figcaption></figure></div><p>And what happens to human agency when many of the decisions are taken by AI? <a href="https://gradual-disempowerment.ai/">David Duvenaud and colleagues describe a scenario of gradual disempowerment</a>, where more and more powerful AIs lead to more automation. As competitive pressures push to include more automation, human oversight becomes both less feasible and desirable. Pretty soon, we are left behind. How do we flourish in a world where most of the decisions are not our own?</p><h1>Conclusion and a hopeful note</h1><p>Regular readers of this substack and my xcorr blog might associate them with a clear enthusiasm about the promise of AI for science. I love this stuff! I think AI is a potential game-changer in science, especially in well-instrumented domains where we can build and validate models. I hope that neuroscience gets there soon.</p><p>So you might be surprised to see me focus on AI safety here. The truth is that powerful technologies are always dual-use, and with great power comes great responsibility. Doomer narratives can inspire dread rather than action. Ultimately, we need both <a href="https://www.darioamodei.com/essay/machines-of-loving-grace">optimistic takes on the potential value of AI</a> and pessimistic takes on our ability to control it, to help steer the field in the right direction and get to a positive future, a kind of <a href="https://vitalik.eth.limo/general/2023/11/27/techno_optimism.html#dacc">defensive accelerationism</a>.</p><p>It is sobering how small the entire AI safety field is compared to the potential impact of this technology on our future lives. By my count, about 500-1000 people work in AI safety, and about $300M was spent on it last year<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a>. That&#8217;s a drop in the bucket compared to fields like neuroscience, let alone AI as a whole. Much of this work is focused on a handful of approaches: mechanistic interpretability, evals, and legal frameworks.</p><p>There&#8217;s far more to be done, from multiple different angles of inquiry. Indeed, there&#8217;s high leverage in <a href="https://www.lesswrong.com/posts/qAdDzcBuDBLexb4fC/the-neglected-approaches-approach-ae-studio-s-alignment">underinvestigated approaches</a> like taking inspiration from the brain for solutions to technical problems, as we outline in the <a href="https://arxiv.org/abs/2411.18526">NeuroAI for AI safety</a> paper. This includes reverse-engineering representations to match human robustness and OOD performance; grafting the right inductive biases on AI systems by fine-tuning on brain data; bottom-up simulations of the mechanisms that lead to properties crucial for alignment, including empathy, world-modeling, and theory-of-mind; and understanding how safe agency is accomplished in biological systems.</p><p>Indeed, further investment in NeuroAI broadly and NeuroAI safety in particular has a broad range of potentially desirable outcomes, regardless of how conventional AI shakes out: </p><ol><li><p>If conventional alignment techniques don&#8217;t work, and AI safety work is insufficient, we need a cognitive reserve of alternative technical safety methods. Hence, leveraging neuroscience for AI alignment.</p></li><li><p>If conventional alignment techniques do work, then translating advanced AI into better human health will require knowing a lot more about the brain. Hence, the need for large-scale comprehensive recordings from the brain.</p></li><li><p>If deep learning hits a wall, then having a reserve of brain-inspired ideas about how we can make progress in AI will continue to be important. Again, pointing towards NeuroAI as a crux.</p></li></ol><p>That&#8217;s something I&#8217;m very excited to be working on at the Amaranth Foundation. Reach out if this is something that speaks to you.</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>Dan Hendrycks is the director of the Center for AI safety; Eric Schmidt is the former Google CEO; Alex Wang heads Scale AI</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>Email me for the spreadsheet</p></div></div>]]></content:encoded></item><item><title><![CDATA[What are foundation models for? Lessons from synbio]]></title><description><![CDATA[What can other fields teach us about foundation models?]]></description><link>https://www.neuroai.science/p/what-are-foundation-models-for-lessons</link><guid isPermaLink="false">https://www.neuroai.science/p/what-are-foundation-models-for-lessons</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Wed, 19 Mar 2025 14:02:42 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/e014b81f-7f33-49f8-b81b-d735f60a539c_822x736.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I&#8217;ve been taking a synthetic biology class<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> and have been amazed at what machine learning can do in this field. A lot of tools qualify as foundation models, which has been the subject of <a href="https://www.neuroai.science/p/foundation-models-for-neuroscience">many blog posts</a> here in the context of neuroscience. I think synbio holds many lessons for the next generation of modeling for neuroscience. In this blog post, I will go through some of the tools available in synbio, and try to learn what neuroscience might look like in the (hopefully not too distant) future.</p><p>In the past, I&#8217;ve introduced foundation models for neuroscience with analogy to large-language models. Many different paradigms can be integrated into language models: anything that can be a token will eventually get tokenized. I&#8217;ve started to think this is not quite the right mental model for foundation models in neuroscience, putting too much emphasis on a single monolithic model and not enough on the ecosystem that surrounds it. Let&#8217;s unpack this.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!CeVr!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CeVr!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png 424w, https://substackcdn.com/image/fetch/$s_!CeVr!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png 848w, https://substackcdn.com/image/fetch/$s_!CeVr!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png 1272w, https://substackcdn.com/image/fetch/$s_!CeVr!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!CeVr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png" width="429" height="174.29150726855394" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:531,&quot;width&quot;:1307,&quot;resizeWidth&quot;:429,&quot;bytes&quot;:19209,&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://www.neuroai.science/i/159271539?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!CeVr!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png 424w, https://substackcdn.com/image/fetch/$s_!CeVr!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png 848w, https://substackcdn.com/image/fetch/$s_!CeVr!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png 1272w, https://substackcdn.com/image/fetch/$s_!CeVr!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc48c3aaa-1644-432b-8deb-2a961c9a5cc5_1307x531.png 1456w" sizes="100vw" fetchpriority="high"></picture><div></div></div></a><figcaption class="image-caption">A naive model-centric view of foundation models. Own work.</figcaption></figure></div><h2>Foundation models in synbio</h2><p>In synthetic biology and computational biology more generally, proteins are a core unit of interest. Their sequence, physical shapes, activity, and interactions are of core interest. I&#8217;m sure many of you will be familiar with the <a href="https://www.nobelprize.org/prizes/chemistry/2024/popular-information/">Nobel-prize winning AlphaFold</a>, which predicts protein structure from their sequence. These were built on decades of painstakingly reconstructing protein structure through techniques like cryo-EM and X-ray crystallography, aggregated in databases like PDB (protein database). But protein-folding is only application one of an ebullient slate of large-scale models. In addition to folding models, there are protein language models like ESM, which are trained to learn representations of residue sequences (that is, one token = one of 20 residues). There are genome language models like HyenaDNA that can reason over chunks of DNA with more than a million nucleotides; and there are multimodal models like Evo 2 that deal in DNA, RNA and proteins. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uHaq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uHaq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png 424w, https://substackcdn.com/image/fetch/$s_!uHaq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png 848w, https://substackcdn.com/image/fetch/$s_!uHaq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png 1272w, https://substackcdn.com/image/fetch/$s_!uHaq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uHaq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png" width="1456" height="1238" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1238,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:81378,&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;:false,&quot;internalRedirect&quot;:&quot;https://www.neuroai.science/i/159271539?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uHaq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png 424w, https://substackcdn.com/image/fetch/$s_!uHaq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png 848w, https://substackcdn.com/image/fetch/$s_!uHaq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png 1272w, https://substackcdn.com/image/fetch/$s_!uHaq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde242d1e-c609-4cec-8cc8-83a6388858d7_1815x1543.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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">An ecosystem-centric view of foundation models in synthetic biology: the models are just one part of a larger ecosystem. Own work.</figcaption></figure></div><p>Some extensions can model multiple proteins interacting together, like AlphaFold Multimer; there are models that can design proteins from specifications, like RFDiffusion; there are inverse protein folding models that go from structure to sequence, like ProteinMPNN. Then there&#8217;s fine-tuned models, like the many models that build on top of ESM to predict protein activity across diverse domains. All of this is enabled by dozens of open tools to browse proteins and sequences, find similar sequences, and visualize structure; and databases of protein structures, sequences, measurements and predictions that have been built over decades. Molecular dynamics and other conventional physical modeling tools like Rosetta have not gone away either, forming an important complementary set of tools to machine learning-based models. Physical models can also be used to train machine learning models for amortized inference.</p><p>Importantly, we have the ability to act on this information! We can synthesize sequences, put them in plasmids to duplicate them, pack them in AAVs, edit cells with CRISPR, verify our edits through sequencing, etc. Put together, this vastly accelerates the work of the synthetic or computational biologist. None of these models are perfect; but put together, they remove tedious and lengthy physical steps of optimization with surrogate endpoints, in silico. Surrogate endpoints are no stranger to biology: we use mouse models of disease all the time. But surrogates can be biased, and often fail the translation step to humans; the best surrogates are both fast and accurate.</p><p>Consider this recent Science paper on <a href="https://www.science.org/doi/10.1126/science.adr6006">EVOLVEPro</a>, a system to optimize protein designs. Protein design is a combinatorial problem. There are 20^N peptides with N residues, which for 100 residue proteins is larger than the number of atoms in the universe; exhaustively searching the space is a no-go. Rational design based on The results are outlined in the abstract:</p><blockquote><p>EVOLVEpro outperformed zero-shot methods in benchmarks across 12 deep mutational scanning datasets, including epitope binding, nucleic acid binding, and enzyme catalysis. We used EVOLVEpro to engineer six different proteins with diverse applications. We improved the binding affinity two monoclonal antibodies <strong>by up to 40-fold,</strong> the indel formation activity of a miniature CRISPR nuclease by <strong>fivefold</strong>, the insertion efficiency of a prime editor by <strong>twofold</strong>, the integration efficiency of a serine integrase by <strong>fourfold</strong>, and the transcription fidelity and mRNA quality of a T7 RNA polymerase by <strong>100-fold</strong>. (emphasis mine)</p></blockquote><p>That sounds impressive! What is this mysterious system that can improve existing proteins on some metrics by 1-2 orders of magnitude? It&#8217;s conceptually simple: a foundation model for proteins is fitted with a prediction head, which is fit on baseline mutations to predict some desirable metric. The predicted best proteins are synthesized and assayed; the model is re-fit; the new best candidates are synthesized; and the process continues for a few iterations.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!722c!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!722c!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg 424w, https://substackcdn.com/image/fetch/$s_!722c!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg 848w, https://substackcdn.com/image/fetch/$s_!722c!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!722c!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!722c!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg" width="3894" height="1464" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1464,&quot;width&quot;:3894,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:421222,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:&quot;https://www.neuroai.science/i/159271539?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff39686b0-01a0-44d3-8472-14211e568884_3894x4116.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!722c!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg 424w, https://substackcdn.com/image/fetch/$s_!722c!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg 848w, https://substackcdn.com/image/fetch/$s_!722c!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!722c!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf67951d-b19c-4d0c-a071-60b8cce91ec6_3894x1464.jpeg 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 role="img" 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><title></title><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">The EvolvePro system. From Figure 1 of the paper. PLM: Protein language model, in this case ESM2. The Domain Expert Top Layer is a random forest.</figcaption></figure></div><p>The model is built on top of ESM2, a foundation protein language model. ESM2 is a BERT-style masked language model: it takes a protein sequence and embeds each residue into a high-dimensional vector. It was trained on a large-scale dataset of protein sequences, UniProt. Once an embedding of a protein sequence is obtained, one can use it for different tasks, including prediction of structure (e.g. as in ESMFold); or one can average the embeddings to obtain a fixed-length digest, which can be used for the same kinds of things that you would use a sentence embedding language model for, e.g. RAG, recommendation, clustering, prediction, etc. On top of the average embedding, they put a prediction head, which is a simple random forest. They get initial data by synthesizing random variants; then, they engage in an active design process, using the model to predict the next mutation to try. The selection process is straightforward; they simulate all single residue changes, and pick the top N candidates that the model predicts.</p><p>If that sounds straightforward, it&#8217;s because it is: once you have a really strong base model, the ability to fit a basic regressor, and the ability to close the loop, you&#8217;re off to the races. Ultimately, all of this is made possible by the confluence of available tools, including the ability to read and write sequences at will; databases where people share their data; open models that can edited, re-mixed, fine-tuned and shared; and lab automation practices that make assays easier.</p><p>This translates into a step change in the speed of protein optimization, powered by a whole ecosystem of artifacts: foundation models, yes, but also datasets, databases, atlases, computational tools, and conventional models. As an aside, this new state of affairs has important applications in neuroscience, e.g. accelerating the design of new proteins for measuring and affecting the brain. So much of what neuroscience does is downstream of protein design: genetically encoded calcium and voltage indicators (<a href="https://www.biorxiv.org/content/10.1101/2023.04.13.536801v1">GECI</a>s, GEVIs); optogenetics; chemogenetics with DREADDs; <a href="https://e11.bio/news/roadmap">barcoding</a>, MAP-seq, BRIC-seq, Connectome-seq for mapping neural circuits. Heck, the biggest blockbuster brain drugs in decades are (modified) peptides: the GLP-1 agonists, which not only help regulate blood sugar and control body weight, but look promising to <a href="https://jamanetwork.com/journals/jamapsychiatry/fullarticle/2825650">treat addiction</a> and <a href="https://pubmed.ncbi.nlm.nih.gov/36372278/">degenerative disorders like AD and PD</a>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!QKMe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!QKMe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png 424w, https://substackcdn.com/image/fetch/$s_!QKMe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png 848w, https://substackcdn.com/image/fetch/$s_!QKMe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png 1272w, https://substackcdn.com/image/fetch/$s_!QKMe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!QKMe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png" width="1456" height="1082" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1082,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:989571,&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://www.neuroai.science/i/159271539?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!QKMe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png 424w, https://substackcdn.com/image/fetch/$s_!QKMe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png 848w, https://substackcdn.com/image/fetch/$s_!QKMe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.png 1272w, https://substackcdn.com/image/fetch/$s_!QKMe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb56286f5-d8cb-4942-9733-1379b282cc23_2042x1518.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 role="img" 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><title></title><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">A closed-loop system to optimize GECIs. From <a href="https://www.biorxiv.org/content/10.1101/2023.04.13.536801v1">Wait et al. (2023)</a>.</figcaption></figure></div><h2>Lessons to be learned</h2><p>Let&#8217;s think about how these lessons from synbio would translate to the context of neuroscience. Are we there yet?</p><ul><li><p>Where&#8217;s the data? Does it have sufficiently high entropy to have a wide range of validity? Where&#8217;s our PDB and UniProt? Is the data sufficiently well-annotated and cross-referenced, in a format that facilitates learning at scale?</p></li><li><p>What&#8217;s the coverage of our data? Do we have e.g. the equivalent of sequences from all the relevant organisms? A full genome from a single organism? Does it rise to the level of an atlas or a map, aspiring to have full coverage? A random sample? A non-random, non-representative sample?</p></li><li><p>What means do we have to actuate the system? What are our knobs (e.g. the equivalent of the ability to synthesize new proteins)? Are our observations and models matched to our knobs?</p></li><li><p>How are we validating our models? Do we have the means of taking our models and validating them in a closed loop, like we validate new protein designs?</p></li></ul><p>On the data side, we have large-scale databases of neural activity like DANDI and OpenNeuro, as well as individual large-scale datasets like those from the Allen Institute, IBL, HCP, etc. The data can be substantial; around 10,000 hours or more from each of spikes, LFPs, sEEG, fMRI and EEG. This represents many PhDs worth of data collection, heroic efforts distributed across hundreds of laboratories. Clearly, these are a boon to the dry lab and the computational neuroscientist, and a starting point for foundation models.</p><p>But do they rise to the level of an atlas? It&#8217;s difficult to simultaneously obtain high physical coverage for recordings (i.e. covering the whole brain), spatial precision, and high coverage in task space. Even the highest dimensional recordings vastly undersample neural activity; if you add up all the spikes in the DANDI, that&#8217;s still&#8211;back of the envelope&#8211;less than the number of spikes you generate in your (human) brain every second. Furthermore, we&#8217;re getting, for the most part, relatively narrow slices of behavior, focusing on controlled and reproducible behaviors. Imagine building a DNA language model sampling from a single chromosome of a population of yeast cells; it&#8217;s not nothing, but it is a narrow slice of the space of possible genes, and a foundation model of the first yeast chromosome would have limited applicability outside of yeast genetics.</p><p>I&#8217;d argue that the more bio-centric atlases in neuroscience, e.g. cell type atlases, <a href="https://www.neuroai.science/p/a-primer-on-flywire-a-complete-connectome?utm_source=activity_item">FlyWire</a>, etc. tend to be more complete (i.e. have better coverage) than the neural activity atlases. But even in the best cases, we don&#8217;t always have the bridges that allow us to cross scales. FlyWire is wonderful as a complete connectome of the fly brain; but to translate that to simulated neural activity in a reliable way, we&#8217;d also want the transcriptomic background of each of the neurons, the distribution of receptors, and a complete characterization of the electrical activity of these neurons. This last one is an example of a bridge; the equivalent of PDB, something that takes us from one level (connectome &#8594; sequence) to another (electrical activity &#8594; protein folding). One of our highest priorities in the next 10 years of neuroscience should be to build the equivalent of PDB+UniProt for neuroscience in species that are phylogenetically close to humans; ideally, in humans themselves. That means genetic background; cell atlases and transcriptomes; mesoscale and microscale, molecularly-annotated connectomes; neural activity atlases; and calibration datasets (i.e. bridges) to stitch all these modalities into a coherent whole.</p><p>What about actuation? We&#8217;re certainly not at the level where we can synthesize neural activity the way we can synthesize proteins. The highest bandwidth and dimensionality means of actuation are at the sensory periphery (see, e.g. <a href="https://science.xyz/news/primavera-trial-preliminary-results/">the retinal implants from Science</a>, or even screens or headphones). Holographic optogenetics is still in its infancy, though I see a bright future for it. Focused ultrasound stimulation is rather low-dimensional, but it does have promise in precise modulation of neural activity in humans; and patterned stimulation across many sites in humans is still many years away. Finding new channels to precisely pattern stimulation is important; some of the recent work on <a href="https://www.corememory.com/p/science-corp-explains-how-its-biohybrid">biohybrid devices from Science</a> and the next-gen neurotechnologies being <a href="https://www.aria.org.uk/opportunity-spaces/scalable-neural-interfaces/scalable-neural-interfaces">funded by ARIA</a> are moving us in the right direction.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nsvh!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nsvh!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png 424w, https://substackcdn.com/image/fetch/$s_!nsvh!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png 848w, https://substackcdn.com/image/fetch/$s_!nsvh!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png 1272w, https://substackcdn.com/image/fetch/$s_!nsvh!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nsvh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png" width="1456" height="813" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:813,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Biohybrid | Science Corporation&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Biohybrid | Science Corporation" title="Biohybrid | Science Corporation" srcset="https://substackcdn.com/image/fetch/$s_!nsvh!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png 424w, https://substackcdn.com/image/fetch/$s_!nsvh!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png 848w, https://substackcdn.com/image/fetch/$s_!nsvh!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.png 1272w, https://substackcdn.com/image/fetch/$s_!nsvh!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7103e66-a967-4fcc-a33e-3d724c3e30d2_1856x1036.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 role="img" 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><title></title><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">A biohybrid device from Science. Rather than electrodes in the brain, neurons are grown on top of an array of electrodes and micro-LED devices. The neurons then grow into the brain.</figcaption></figure></div><p>Can we close the loop? I can think of a handful of cases where we have characterized, decoded, and optimized neural activity in a loop. One example, on the vision side, is that of <a href="https://www.biorxiv.org/content/10.1101/2023.05.12.540591v1.full">inception loops</a>, which have demonstrated finding maximizing stimuli for visual neurons (see refs <a href="https://www.nature.com/articles/s41593-019-0517-x">1</a>, <a href="https://www.cell.com/cell/pdf/S0092-8674(19)30391-5.pdf">2</a>, <a href="https://www.science.org/doi/10.1126/science.aav9436">3</a>, <a href="https://www.biorxiv.org/content/10.1101/2023.05.12.540591v1.full">4</a>). A different example is nudging neural activity using holographic optogenetics (see refs <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC6747687/">1</a>, <a href="https://www.nature.com/articles/s41586-024-07915-x">2</a>). These are currently heroic experiments, but they show a glimpse of what closed-loop design might look like. Foundation models, which are differentiable end-to-end, and can therefore be searched through gradient descent, have a clear role to play in closed-loop stimulation; but the means of stimulation and recording have to exist.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eurV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eurV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png 424w, https://substackcdn.com/image/fetch/$s_!eurV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png 848w, https://substackcdn.com/image/fetch/$s_!eurV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png 1272w, https://substackcdn.com/image/fetch/$s_!eurV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eurV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png" width="1456" height="1019" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1019,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1876246,&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://www.neuroai.science/i/159271539?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!eurV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png 424w, https://substackcdn.com/image/fetch/$s_!eurV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png 848w, https://substackcdn.com/image/fetch/$s_!eurV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.png 1272w, https://substackcdn.com/image/fetch/$s_!eurV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb6f6432b-1cf9-43bd-8df5-9267bd759e86_2060x1442.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 role="img" 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><title></title><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">Inception loops reveal preferred stimuli in area V4. From Willeke et al. (2023)</figcaption></figure></div><h2>A call to action</h2><p>All of that is a long-winded way of saying that our ambitions in neuroscience&#8211;solving all neurological disease, understanding intelligence and consciousness, etc.&#8211;are mismatched with our tools and datasets. Foundation models are one area of opportunity: leverage existing and future datasets to find good representations of neural data, make predictions, and optimize in a closed loop, leveraging the differentiability of deep learning models.</p><p>That cannot occur in a vacuum, however: the datasets that we collect, and the ecosystem of tools to read and write neural activity, cell identity, synapses, and connections should be matched in a virtuous circle. That will, almost assuredly, involve doing large-scale, <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC4450254/">hypothesis-free</a> neuroscience focused on tooling and data, including in innovative structures like focused research organizations and coordinated research programs. Hypothesis-free science <a href="https://www.thetransmitter.org/theoretical-neuroscience/breaking-the-barrier-between-theorists-and-experimentalists/">sometimes gets a bad reputation</a>, but I think it can be most easily justified by epistemic humility: with billions of neurons, trillions of connections, thousands of cell types, hundreds of areas and receptors, maybe the first thing we should do is catalog these dang things, and then figure out how to poke at them to obtain causal models.</p><p>I can foresee, 10 years from now, many more neural atlases and databases, distilled into multiple application-specific foundation models and biophysically detailed models, cross-linked and validated through new neurotechnology. At the <a href="https://amaranth.foundation/">Amaranth Foundation</a>, we philanthropically fund ambitious neuroscience projects led by ambitious mission-driven individuals; and my role is to lead our efforts in NeuroAI. Of course, I&#8217;m not a neutral party in all of this, but I think it&#8217;s a compelling vision for neuroscience.</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>I have hobbies.</p></div></div>]]></content:encoded></item><item><title><![CDATA[A primer on FlyWire, a complete connectome of the fly]]></title><description><![CDATA[When does a map become the territory?]]></description><link>https://www.neuroai.science/p/a-primer-on-flywire-a-complete-connectome</link><guid isPermaLink="false">https://www.neuroai.science/p/a-primer-on-flywire-a-complete-connectome</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Wed, 22 Jan 2025 16:02:13 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!cIar!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>FlyWire is one of the biggest, if not the biggest, <a href="https://medium.com/the-spike/2024-a-review-of-the-year-in-neuroscience-84d343155146">stories in neuroscience in 2024</a>. The FlyWire collaboration, which included over 100 laboratories, completed a full map of the drosophila brain (&#8220;the connectome&#8221;&#8211;more on what that means later), published its analysis as <a href="https://www.nature.com/collections/hgcfafejia">a dozen papers in Nature</a>, and as a free resource for all to see: the <a href="https://codex.flywire.ai/">FlyWire codex</a>. It&#8217;s a Herculean effort, a triumph of citizen scientists who proofread all 140,000 neurons, and a milestone for neuroscience. </p><p>But what does having a complete map of an animal brain give us? In this post, I outline how the FlyWire dataset was collected, what&#8217;s in the FlyWire codex, and what it can and can&#8217;t tell us about flies. As usual, we&#8217;ll get deep in the weeds, and then we&#8217;ll back to understand what it all means. I go through each of the papers of the collaboration to highlight how these artifacts are being used, and I&#8217;ll highlight some of my favorites from the perspective of systems and computational neuroscience. I ask questions about our ability, as scientists, to understand complex systems, our motivations, and what big neuroscience might look like in the near future.</p><h2>How to build a map</h2><p>FlyWire isn&#8217;t the first time a big chunk of fly cortex has been mapped: prior to this, the <a href="https://research.google/blog/releasing-the-drosophila-hemibrain-connectome-the-largest-synapse-resolution-map-of-brain-connectivity/">FlyEM hemi-brain connectome</a> had been published in a collaboration between Janelia scientists and Google Brain. But FlyWire was the first effort to map the entire fly brain. Compare the size of the prior efforts to this one:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!cIar!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!cIar!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png 424w, https://substackcdn.com/image/fetch/$s_!cIar!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png 848w, https://substackcdn.com/image/fetch/$s_!cIar!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png 1272w, https://substackcdn.com/image/fetch/$s_!cIar!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!cIar!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png" width="484" height="508.8660550458716" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1146,&quot;width&quot;:1090,&quot;resizeWidth&quot;:484,&quot;bytes&quot;:1129983,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!cIar!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png 424w, https://substackcdn.com/image/fetch/$s_!cIar!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png 848w, https://substackcdn.com/image/fetch/$s_!cIar!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.png 1272w, https://substackcdn.com/image/fetch/$s_!cIar!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ad063d8-e2a9-499f-bcfe-7dbcd7202883_1090x1146.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 role="img" 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><title></title><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">FlyWire volume vs. the hemibrain. From Schegel et al. (2024).</figcaption></figure></div><p></p><p>At a high level, the FlyWire collaboration constructed a map of the fly brain by:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!gK0Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!gK0Q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png 424w, https://substackcdn.com/image/fetch/$s_!gK0Q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png 848w, https://substackcdn.com/image/fetch/$s_!gK0Q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png 1272w, https://substackcdn.com/image/fetch/$s_!gK0Q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!gK0Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png" width="1456" height="451" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:451,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:378894,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!gK0Q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png 424w, https://substackcdn.com/image/fetch/$s_!gK0Q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png 848w, https://substackcdn.com/image/fetch/$s_!gK0Q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png 1272w, https://substackcdn.com/image/fetch/$s_!gK0Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F80127e5c-7c11-4a15-b08b-c736bdb10060_1518x470.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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">A generic pipeline for connectomics. </figcaption></figure></div><ol><li><p>Freezing a drosophila brain</p></li><li><p>Staining it with heavy metals</p></li><li><p>Slicing thin slices of the brain</p></li><li><p>Scanning those slices through serial electron microscopy</p></li><li><p>Aligning those slices</p></li><li><p>Using ANNs to (over-)segment the data into supervoxels</p></li><li><p>Using flood-filling ANNs to then join these supervoxels together into neuron reconstructions</p></li><li><p>Proofreading the resulting reconstructions by a manual process, reassigning supervoxels to the correct units to obtain clean reconstructions</p></li></ol><p>The electron microscopy dataset has been around since 2018, published in <a href="https://www.cell.com/cell/fulltext/S0092-8674(18)30787-6?_returnURL=https%3A%2F%2Flinkinghub.elsevier.com%2Fretrieve%2Fpii%2FS0092867418307876%3Fshowall%3Dtrue">Zheng et al.</a> Reconstruction was no small feat: the dataset contains roughly 100 teravoxels. Tracing these dang neurons is a real challenge. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!V1x2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!V1x2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp 424w, https://substackcdn.com/image/fetch/$s_!V1x2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp 848w, https://substackcdn.com/image/fetch/$s_!V1x2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp 1272w, https://substackcdn.com/image/fetch/$s_!V1x2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!V1x2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp" width="1456" height="618" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:618,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:69166,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!V1x2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp 424w, https://substackcdn.com/image/fetch/$s_!V1x2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp 848w, https://substackcdn.com/image/fetch/$s_!V1x2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp 1272w, https://substackcdn.com/image/fetch/$s_!V1x2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae183b3-3327-4707-9bfd-bac548cbd4d5_2048x869.webp 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 role="img" 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><title></title><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">Segmenting EM data with CNNs. </figcaption></figure></div><p>Segmentation and flood-filling are relatively straightforward applications of computer vision, albeit with the challenges associated with scaling. These methods do a first-pass reconstruction, but there are small errors. There are challenges ranging from missing slices to co-fasciculation and invaginations. There&#8217;s some non-zero probability of merging the current supervoxel with a wrong sibling&#8211;conversely, wrongly splitting two parts of the same neuron&#8211;and then the whole reconstruction is incorrect. The <em>tyranny of long-range connectomics</em> is that small error rates accumulate, and the probability of a clean reconstruction goes to 0 over a large volume.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!deNT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!deNT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png 424w, https://substackcdn.com/image/fetch/$s_!deNT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png 848w, https://substackcdn.com/image/fetch/$s_!deNT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png 1272w, https://substackcdn.com/image/fetch/$s_!deNT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!deNT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png" width="327" height="301.3529411764706" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:940,&quot;width&quot;:1020,&quot;resizeWidth&quot;:327,&quot;bytes&quot;:531136,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!deNT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png 424w, https://substackcdn.com/image/fetch/$s_!deNT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png 848w, https://substackcdn.com/image/fetch/$s_!deNT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.png 1272w, https://substackcdn.com/image/fetch/$s_!deNT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F06924239-70e4-49a0-8a3f-4fce906d4453_1020x940.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 role="img" 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><title></title><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">Small error rates accumulate over long distances. <a href="https://videocast.nih.gov/watch=41368">From Helmstaedter (2021)</a>.</figcaption></figure></div><p>There&#8217;s a very significant amount of work in proofreading&#8211;merging and splitting reconstructions until clean neurons are obtained. It took about 20 person-years to proofread this dataset, largely with the help of citizen scientists through the FlyWire platform. Here&#8217;s an example of a neuron before and after it was proofread (this is a mammalian basket cell, but they used the same <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC10402030/">CAVE software</a> for proofreading the fly connectome).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!rfLB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!rfLB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png 424w, https://substackcdn.com/image/fetch/$s_!rfLB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png 848w, https://substackcdn.com/image/fetch/$s_!rfLB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png 1272w, https://substackcdn.com/image/fetch/$s_!rfLB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!rfLB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png" width="1456" height="740" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:740,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:725159,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!rfLB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png 424w, https://substackcdn.com/image/fetch/$s_!rfLB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png 848w, https://substackcdn.com/image/fetch/$s_!rfLB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.png 1272w, https://substackcdn.com/image/fetch/$s_!rfLB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F09dd186c-cdad-4d47-b54e-a31a659a2148_1704x866.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 role="img" 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><title></title><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">Proofreading. From <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC10402030/">Dorkenwald et al. (2023)</a>.</figcaption></figure></div><p>That&#8217;s a lot of changes! Fly neurons have simpler morphology than that, but still, errors compound, and they must be tediously corrected. While 20 person-years sounds (and is) a long time, it&#8217;s only ~20 minutes for each of the 140k neurons in the fly brain. It adds up! Proofreading is a truly fascinating process of multi-step visual reasoning. I highly recommend watching this video tutorial to get a feel for the process.</p><div id="youtube2-00aczaS84lY" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;00aczaS84lY&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/00aczaS84lY?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><h2>Annotating the connectome</h2><p>So we&#8217;re done, right? Au contraire! There are many annotations left to make. First, we need to detect synapses and determine their type. This was done in Eckstein et al. (2024), using existing known neuron types to come up with sparse annotations, classifying new synapses into one of eight potential neurotransmitter classes, then bubbling up that information to label each neuron&#8217;s neurotransmitter class, leveraging Dale&#8217;s law.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!wuG1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!wuG1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wuG1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wuG1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wuG1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!wuG1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg" width="457" height="457" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:996,&quot;width&quot;:996,&quot;resizeWidth&quot;:457,&quot;bytes&quot;:245103,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!wuG1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg 424w, https://substackcdn.com/image/fetch/$s_!wuG1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg 848w, https://substackcdn.com/image/fetch/$s_!wuG1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!wuG1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc60c872f-805d-4e75-b555-e311a5aa88d5_996x996.jpeg 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 role="img" 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><title></title><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">Annotating the connectome with synapse types</figcaption></figure></div><p>Then each neuron receives two sets of hierarchical annotations. On the one hand, neurons are classified by flow, superclass, class, and cell type. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!pC5C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!pC5C!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png 424w, https://substackcdn.com/image/fetch/$s_!pC5C!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png 848w, https://substackcdn.com/image/fetch/$s_!pC5C!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png 1272w, https://substackcdn.com/image/fetch/$s_!pC5C!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!pC5C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png" width="1456" height="523" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:523,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:280144,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!pC5C!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png 424w, https://substackcdn.com/image/fetch/$s_!pC5C!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png 848w, https://substackcdn.com/image/fetch/$s_!pC5C!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.png 1272w, https://substackcdn.com/image/fetch/$s_!pC5C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F944bbdf5-3cea-4467-9317-21abf9c09050_1460x524.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 role="img" 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><title></title><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">The taxonomy of neurons in the drosophila brain. From <a href="https://www.nature.com/articles/s41586-024-07686-5">Schlegel et al. (2024)</a>.</figcaption></figure></div><p>There&#8217;s another set of annotations with respect to the developmental origin of the neurons, tracing different cell classes to lineage. The telltale sign that neurons that came from the same hemilineage is that they tend to aggregate in terms of their cell body positions as well as their tracts.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!s3Ip!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!s3Ip!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png 424w, https://substackcdn.com/image/fetch/$s_!s3Ip!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png 848w, https://substackcdn.com/image/fetch/$s_!s3Ip!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png 1272w, https://substackcdn.com/image/fetch/$s_!s3Ip!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!s3Ip!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png" width="1456" height="568" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:568,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1028432,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!s3Ip!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png 424w, https://substackcdn.com/image/fetch/$s_!s3Ip!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png 848w, https://substackcdn.com/image/fetch/$s_!s3Ip!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.png 1272w, https://substackcdn.com/image/fetch/$s_!s3Ip!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62623986-8d37-4974-9d9b-9e85e9153cdc_2680x1046.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 role="img" 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><title></title><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 so what you get at the end is:</p><ul><li><p>All the neurons, classified along two different hierarchies, their morphologies, and their neurotransmitter type.</p></li><li><p>Their connection patterns at multiple levels of granularity. At a coarse level, the number of synapses between neurons (the weighted, signed directed adjacency matrix <strong>A</strong>, a sparse 140,000x140,000 matrix). At a granular level, the physical location of each synapse and the morphology of the connection.</p></li></ul><h2>What can you do with this? A guide to the FlyWire papers</h2><p>With all of that under our belt, let&#8217;s go through the FlyWire papers listed in the Nature collection and see how they use this data. Note: I fed my sparse notes from reading these into Perplexity to fill in the gaps. I put two asteriaks ** next to papers that I think are of special interest to systems neuroscientists outside of the fly literature.</p><h3>Studies involving just the FlyWire data and possibly other connectomes</h3><h4><strong>**<a href="https://www.nature.com/articles/s41586-024-07558-y">Neuronal wiring diagram of an adult brain</a></strong></h4><p>This foundational paper presents the complete connectome of an adult female Drosophila brain, comprising approximately 140,000 neurons and 54.5 million synapses. The authors analyze:</p><ul><li><p>Cross-hemispheric connections, revealing how information flows between brain halves</p></li><li><p>Neuronal lineage assignments, providing insights into developmental origins</p></li><li><p>A specific circuit related to ocelli, light-sensitive organs on the fly's head that aid in flight stability</p></li></ul><p>The paper serves as a comprehensive "what's inside" guide to the fly brain, laying the groundwork for future detailed analyses.</p><h4><strong><a href="https://www.nature.com/articles/s41586-024-07686-5?fromPaywallRec=false">Whole-brain annotation and multi-connectome cell typing of Drosophila</a></strong></h4><p>This study compares the FlyWire connectome with the previously published hemibrain connectome to assess neuronal stereotypy across individuals. Key findings include:</p><ul><li><p>Identification of 120 neuroblast lineages comprising 183 hemilineages, accounting for 88% of central brain neurons</p></li><li><p>Analysis of neuron morphology, projections, and neurotransmitter identity within hemilineages</p></li><li><p>Demonstration of overall stereotypy in cell types and strong connections, with some variations in weaker connections and specific brain regions (e.g., mushroom body)</p></li></ul><p>This work provides crucial context for understanding the consistency and variability of neural circuits across individual flies.</p><h4><strong><a href="https://www.nature.com/articles/s41586-024-07968-y">Network statistics of the whole-brain connectome of Drosophila</a></strong></h4><p>Applying network science principles, this paper analyzes the connection patterns in the Drosophila brain. The authors examine:</p><ul><li><p>Global network properties such as degree distribution and clustering coefficients</p></li><li><p>Recurring connectivity motifs and their prevalence in different brain regions</p></li><li><p>The relationship between network structure and neurotransmitter identity</p></li></ul><p>This analysis offers insights into the organizational principles of the fly brain from a systems perspective.</p><h4><strong><a href="https://www.nature.com/articles/s41586-024-07981-1">Parts list and connections for a visual system</a></strong></h4><p>Focusing on the fly's visual system, this study provides a comprehensive catalog of neuronal types and their connectivity patterns in the optic lobe. The authors:</p><ul><li><p>Identify and classify all intrinsic neurons in the optic lobe</p></li><li><p>Analyze connectivity rules governing different cell types</p></li><li><p>Explore how visual information is processed and relayed to higher brain centers</p></li></ul><p>This detailed examination of the visual system serves as a model for understanding sensory processing in the fly brain.</p><h4><strong>**<a href="https://www.nature.com/articles/s41586-024-07953-5?fromPaywallRec=false">Predicting visual function by interpreting a neuronal wiring diagram</a></strong></h4><p>This study is dope! It uses connectome data to predict the receptive fields of various neuron subtypes in the visual system. Key aspects include:</p><ul><li><p>Development of a CNN-like model based on synaptic connectivity</p></li><li><p>Prediction of neuronal function from structural data alone</p></li><li><p>Identification of function for previously unrecorded neurons</p></li></ul><p>This work demonstrates how connectome data can be leveraged to generate testable hypotheses about neural function.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!91Ig!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!91Ig!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png 424w, https://substackcdn.com/image/fetch/$s_!91Ig!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png 848w, https://substackcdn.com/image/fetch/$s_!91Ig!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png 1272w, https://substackcdn.com/image/fetch/$s_!91Ig!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!91Ig!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png" width="1700" height="964" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:964,&quot;width&quot;:1700,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1844748,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!91Ig!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png 424w, https://substackcdn.com/image/fetch/$s_!91Ig!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png 848w, https://substackcdn.com/image/fetch/$s_!91Ig!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.png 1272w, https://substackcdn.com/image/fetch/$s_!91Ig!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd3c5ae69-2159-4b4a-96aa-67da2ef24130_1700x964.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 role="img" 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><title></title><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">Deriving receptive fields from connection patterns. Very cool.</figcaption></figure></div><h4><strong><a href="https://www.nature.com/articles/s41586-024-07982-0">The fly connectome reveals a path to the effectome</a></strong></h4><p>Using a coarse-grained representation of the connectome (signed, weight adjacency matrix), this study applies linear dynamics analysis to understand information flow in the fly brain. The authors:</p><ul><li><p>Derive eigenvalues and eigenvectors of neural activity assuming linear dynamics and short membrane time constants</p></li><li><p>Identify dominant modes of neural activity and their relationship to behavior</p></li><li><p>Propose a framework for linking connectome structure to behavioral outputs (the "effectome")</p></li></ul><p>This theoretical approach provides a novel perspective on how brain structure relates to function at a systems level.</p><h4><strong><a href="https://www.nature.com/articles/s41467-024-49616-z">Diversity of visual inputs to Kenyon cells of the Drosophila mushroom body</a></strong></h4><p>This connectome-based study explores how visual information is encoded in the mushroom body, a brain region crucial for associative learning. The authors:</p><ul><li><p>Map visual input pathways to Kenyon cells, complementing existing knowledge of olfactory inputs</p></li><li><p>Analyze the diversity and organization of visual inputs to different mushroom body compartments</p></li><li><p>Compare visual and olfactory coding strategies in the mushroom body</p></li></ul><p>This work fills a significant gap in our understanding of multimodal sensory integration in the fly brain, with implications for learning and memory processes.</p><h3><strong>Studies involving supplementary experiments</strong></h3><p>Some other studies that were part of this collection augmented the pure FlyWire data with extra experiments. </p><h4><strong><a href="https://www.nature.com/articles/s41467-024-45971-z">Heterogeneity of synaptic connectivity in the fly visual system</a></strong></h4><p>This study focuses on the variability of synaptic connections in the Drosophila visual system, particularly in Tm9 cells. Key points include:</p><ul><li><p>Documentation of higher connectivity variability in Tm9 cells compared to other cell types</p></li><li><p>Utilization of expansion microscopy to verify findings across multiple individuals</p></li><li><p>Implications for understanding the balance between stereotypy and variability in neural circuits</p></li></ul><h4><strong>**<a href="https://www.nature.com/articles/s41586-024-07763-9">A Drosophila computational brain model reveals sensorimotor processing</a></strong></h4><p>This paper is dope! It&#8217;s incredible that you can wire up a LIF model from the connectome data and it kind of works, even though, as we&#8217;ll see later, there&#8217;s a lot of missing  information. It combines connectome-based simulations with experimental validation to explore sensorimotor processing in Drosophila. Highlights include:</p><ul><li><p>Development of a leaky integrate-and-fire (LIF) model based on the connectome</p></li><li><p>Experimental verification of hypotheses generated by the computational model</p></li><li><p>Insights into how sensory information is transformed into motor outputs in the fly brain</p></li></ul><h2><strong>Studies involving primary experiments with a side role for connectomics</strong></h2><p>Other studies in this collection used the FlyWire data as one sub-part of an analysis; the role for connectomics was more subdued. Here the connectome is an enabler rather than a primary driver.</p><h4><strong><a href="https://www.nature.com/articles/s41593-024-01640-4">Hue selectivity from recurrent circuitry in Drosophila</a></strong></h4><p>This experimental study uses connectome data to support its findings on color processing in the fly visual system. Key aspects include:</p><ul><li><p>Primary focus on experimental investigation of hue selectivity</p></li><li><p>Utilization of connectome data to create a model explaining recurrent connections' role in shaping hue selectivity</p></li><li><p>Integration of functional and structural data to understand color processing mechanisms</p></li></ul><h4><strong><a href="https://www.nature.com/articles/s41586-024-07854-7">Neural circuit mechanisms underlying context-specific halting in Drosophila</a></strong></h4><p>This research combines genetic screening with connectome analysis to investigate halting behavior in flies. Main points include:</p><ul><li><p>Genetic driver screening to identify circuits involved in halting behavior</p></li><li><p>Confirmation of identified circuits using connectome data</p></li><li><p>Demonstration of how connectomics can complement traditional neuroscience approaches</p></li></ul><h2><strong>Studies around the same time not using the connectomics data, but relevant nonetheless</strong></h2><p>Let&#8217;s not forget all the very good studies that came out around the same time that didn&#8217;t use the FlyWire data, but used other connectomics data to do some very good systems neuro.</p><h4><strong>**<a href="https://www.nature.com/articles/s41586-024-07451-8">Mapping model units to visual neurons reveals population code for social behaviour</a></strong></h4><p>While not directly using the FlyWire connectome, this study is relevant to understanding visual processing in Drosophila. Key points:</p><ul><li><p>Investigation of how visual information is encoded for social behavior</p></li><li><p>Use of computational models to map visual neurons to behavioral outputs</p></li><li><p>Insights into population coding in the fly visual system</p></li></ul><p>This study is very cool&#8211;using virtualized environments to figure out what a fly must have seen at a particular point in time, and using that to analyze courting behavior.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KmPY!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KmPY!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png 424w, https://substackcdn.com/image/fetch/$s_!KmPY!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png 848w, https://substackcdn.com/image/fetch/$s_!KmPY!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png 1272w, https://substackcdn.com/image/fetch/$s_!KmPY!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KmPY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png" width="1370" height="664" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:664,&quot;width&quot;:1370,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:351766,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KmPY!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png 424w, https://substackcdn.com/image/fetch/$s_!KmPY!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png 848w, https://substackcdn.com/image/fetch/$s_!KmPY!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.png 1272w, https://substackcdn.com/image/fetch/$s_!KmPY!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6df2df37-174e-4dd5-92f2-1093e2ec5a38_1370x664.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 role="img" 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><title></title><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">When a fly's compound eye spots a mate in the sky, that&#8217;s <em><a href="https://www.youtube.com/watch?v=OnFlx2Lnr9Q">amore</a></em>.</figcaption></figure></div><h4><strong>**<a href="https://www.biorxiv.org/content/10.1101/2023.03.11.532232v1">Connectome-constrained deep mechanistic networks predict neural responses across the fly visual system at single-neuron resolution</a></strong></h4><p>This preprint, though not part of the Nature collection, presents a relevant approach to integrating connectome data with functional predictions:</p><ul><li><p>Development of deep mechanistic networks constrained by connectome data</p></li><li><p>Prediction of neural responses across the fly visual system at single-neuron resolution</p></li><li><p>Demonstration of how structural data can inform functional models of neural circuits</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!w_CJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!w_CJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png 424w, https://substackcdn.com/image/fetch/$s_!w_CJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png 848w, https://substackcdn.com/image/fetch/$s_!w_CJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png 1272w, https://substackcdn.com/image/fetch/$s_!w_CJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!w_CJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png" width="1456" height="646" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:646,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1110651,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!w_CJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png 424w, https://substackcdn.com/image/fetch/$s_!w_CJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png 848w, https://substackcdn.com/image/fetch/$s_!w_CJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.png 1272w, https://substackcdn.com/image/fetch/$s_!w_CJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa6749d3f-53de-4381-834b-c1a17c134a0c_1898x842.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 role="img" 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><title></title><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>This story is very cool because it solves an obvious problem with uncalibrated connectomics information: you still don&#8217;t completely know the synaptic strength nor the intrinsic properties of the neurons. Using task-driven neural networks can partially fill this gap.</p><h2>What did we learn?</h2><p>It&#8217;s truly remarkable how much mileage we can get out of a complete map of a nervous system. There is information to be gleaned from just the map itself; other times, to really make headway into understanding a problem, more data (e.g. electrophysiology, behavior, transcriptome) needs to be collected. Sometimes the map is the key artifact to create a model. Other times, the map just becomes background information; it would have been possible, but a real pain, to get at the relevant information. In all cases, there is something special about having complete information in one domain: it advances the boundary of science.</p><h2>Is that it?</h2><p>It&#8217;s important to recognize that even with all that information, there remains a lot of missing information that would be highly relevant for a computational model of the fly nervous system. For instance:</p><ul><li><p>The capacitance of the membrane (I learned in undergrad this was 1 uF/cm2, but apparently that <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC5100995/">can vary by a factor 2</a>?! Wild.)</p></li><li><p>The strength of each synapse</p></li><li><p>The transfer function of each synapse</p></li><li><p>The density of receptors at each synapse</p></li><li><p>The density of ion channels as a function of the position across the membrane</p></li></ul><p>That last one is particularly important to make good models of spike initiation. It&#8217;s recently been reported that spikes are initiated in fly neurons in a distal axon segment (DAS), an invertebrate analog of the axon initiation segment (AIS). There&#8217;s a high concentration of voltage-sensitive sodium channels (Para) in that segment, which is what allows spikes to start. But where&#8217;s the segment? It&#8217;s not as obvious as in vertebrates&#8230; it&#8217;s not next to the cell body!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vJsH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vJsH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png 424w, https://substackcdn.com/image/fetch/$s_!vJsH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png 848w, https://substackcdn.com/image/fetch/$s_!vJsH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png 1272w, https://substackcdn.com/image/fetch/$s_!vJsH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vJsH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png" width="374" height="504.4149855907781" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/be49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:936,&quot;width&quot;:694,&quot;resizeWidth&quot;:374,&quot;bytes&quot;:373072,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!vJsH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png 424w, https://substackcdn.com/image/fetch/$s_!vJsH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png 848w, https://substackcdn.com/image/fetch/$s_!vJsH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.png 1272w, https://substackcdn.com/image/fetch/$s_!vJsH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbe49080f-1b09-4ff1-b884-0d4e0f3c965d_694x936.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 role="img" 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><title></title><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">The Distal Axon Segment in flies. Where do spikes initiate?</figcaption></figure></div><p>So it&#8217;s clear that even with the morphology, the number of connections, their position, their &#8220;sign&#8221; (neurotransmitters), there are still many free parameters that would prevent us from emulating the fly brain 1:1. </p><h2>Are we at the stamp collection stage of neuroscience?</h2><p>For a long time, neuroscience has been driven in a hypothesis-driven way by a search for principles, motifs, patterns, and beauty. Optimality principles help us understand <a href="https://compneuro.neuromatch.io/tutorials/W1D1_ModelTypes/student/W1D1_Tutorial3.html">why things are the way they are</a>, not just what they are or how they work. Yet, it must be the case that many features of the brain simply stem from evolutionary or developmental circumstances, which cannot be derived from first principles, so we must rely on direct measurement and mapping to understand them.</p><p>Thus, before we make pronouncements about why things are the way they are, we need to know what they are. We can work on this from two angles. In the first approach, we come up with some hypothesis about an unknown about a system, and we get data relevant to refuting or corroborating that hypothesis. A second approach is simply to document exhaustively what&#8217;s there in a richly annotated dataset (a &#8220;map&#8221;), which covers systems and hypotheses that we might not even have thought of beforehand. This is a lot more initial work, but then follow-up work is vastly accelerated.</p><p>The recent FlyWire work underscores the value of having a complete characterization of a system. While these efforts at large-scale mapping can sometimes be dismissed as mere &#8220;<a href="https://xkcd.com/1520/">stamp collecting</a>,&#8221; these projects are in fact crucial for laying the groundwork for hypothesis-driven research. Having a complete connectome can illuminate vital details that guide more targeted studies. </p><h3>More connectomes or more maps?</h3><p>Of course, connectomes do not address every question&#8212;especially in mammalian species where variability and plasticity are the norm. The success of FlyWire shows the promise of connectomics, but for different organisms and use cases, different types of maps are going to be relevant: spatial transcriptomic, functional maps, cell atlases can partially elucidate neural circuits in different organisms. It is up to us to make judgment calls about the most valuable maps, but my point is that maps are good.</p><p>One obvious challenge with this kind of bottom-up science is data volume. In <em>Drosophila</em>, the full network involves around 140,000 neurons. The many recent FlyWire publications capture only a fraction of what is there. Relying on manual, bottom-up approaches to digest this complexity becomes increasingly impractical. And that can feel agency-depleting for those of us who believe in the value of small, slow science: all trees, no forest.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bwR7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bwR7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bwR7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bwR7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bwR7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bwR7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg" width="767" height="767" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:767,&quot;width&quot;:767,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Neurons in two neuropils of the Drosophila central complex.&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Neurons in two neuropils of the Drosophila central complex." title="Neurons in two neuropils of the Drosophila central complex." srcset="https://substackcdn.com/image/fetch/$s_!bwR7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg 424w, https://substackcdn.com/image/fetch/$s_!bwR7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg 848w, https://substackcdn.com/image/fetch/$s_!bwR7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!bwR7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde5dce52-b9cb-42ec-a1ab-8f1609611229_767x767.jpeg 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 role="img" 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><title></title><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">The fly compass system. Credit: Tanya Wolff</figcaption></figure></div><p>Deciding what to study and characterize involves a mix of intuition, aesthetics, and pragmatism. We often focus on circuits like the compass system because they are aesthetically pleasing, relatively tractable and well-characterized, yet still hold unanswered questions. As data grows, human effort alone&#8211;grad students squinting at plot trying to see the forest through the trees&#8211;might not be enough. Freeing ourselves from our cognitive bottlenecks&#8212;say, our inability to hold information in our heads about the intricate connection patterns of hundreds of thousands of neurons&#8212;will likely become essential in detecting patterns and suggesting new directions for investigation. That&#8217;s the promise of AI agents, crawling the scientific literature and maps for new insights to be tested: renewing our commitment to hypothesis-driven science, supported by extensive mapping.</p><p>Ultimately, <em>Drosophila</em> studies highlight both the power of maps. By anchoring our thinking in robust, empirical data, we gain a sharper view of how evolution, development, and function intertwine to shape neural circuits. </p><p></p>]]></content:encoded></item><item><title><![CDATA[ML tools for scientists]]></title><description><![CDATA[There's thousands of AI tools; which should you pay attention to?]]></description><link>https://www.neuroai.science/p/ml-tools-for-neuroscientists</link><guid isPermaLink="false">https://www.neuroai.science/p/ml-tools-for-neuroscientists</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Tue, 17 Dec 2024 15:17:38 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!7368!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I gave a talk in October at a <em>fantastic</em> workshop organized by Greg Field and EJ Chichilnisky at Stanford on exploring/exploiting AI tools for working scientists. The idea was to have several people from industry and academia discuss tools and use cases for ML tools in (neuro)science&#8211;LLMs, image generators, and whatnot&#8211;and to try them out in person. It was a lively discussion and it was interesting to see the mix of enthusiasm and skepticism. I volunteered to do a write-up and promptly got distracted by other things. Here, I&#8217;ll give a walkthrough of some of the most salient points that were discussed and link to tools and resources. I&#8217;ll also post some common pain points and gotchas as you navigate these tools.</p><blockquote><p>There&#8217;s a lot of negative discourse around ML tools, including from scientists (<a href="https://bsky.app/profile/carlbergstrom.com/post/3ldfnzz2iy22l">some</a> <a href="https://bsky.app/profile/fractalecho.bsky.social/post/3ldeycwrp522l">examples</a>). It&#8217;s easy to use these tools in agency-depleting ways: doing superficial readings of texts and summarization rather than deeply engaging in papers; have code LLMs write bad code that cause a giant pile of tech debt; and delegating the fun, rewarding parts of your work to an unthinking machine. But they can also be used in agency-enhancing ways. My goal is to give you a path toward the latter.</p></blockquote><h2>Meta: choosing the right ML tool</h2><p>Someone on X<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> mentioned that they couldn&#8217;t figure out how to spend more 100$ a month on ML tools<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a>, and this was worrisome. This is perhaps a strange framing, but here&#8217;s the reasoning: if you&#8217;re a highly-paid knowledge worker, if you could save hours per month by using AI tools, you should be jumping on every occasion to use them, and price them consequently. Here we are with the Library of Alexandria at our fingertips&#8211;albeit a stochastic one&#8211;for 20$ a month, and yet a lot of us will periodically cancel our subscriptions because we don&#8217;t actually use them. What&#8217;s going on?</p><p>The main ML tools have a huge discovery problem: it&#8217;s really hard to figure out what they can and can&#8217;t do. Using the tools is also a very private thing, so while your co-worker might have figured out a valuable workflow, you wouldn&#8217;t ever encounter it yourself unless you actively search for it. Workshops where people share their use cases and pain points are a great way to get up to speed. </p><p>In the absence of that, there are some great resources to learn about how to use AI tools and stay up-to-date:</p><ul><li><p><a href="https://www.oneusefulthing.org/">Ethan Mollick&#8217;s blog</a>. Ethan is a professor at the Wharton School at UPenn who has become something of an AI tools influencer. His bi-yearly summary of which tools bring the most value is always a great read.</p></li><li><p><a href="https://nicholas.carlini.com/writing/2024/how-i-use-ai.html">Nicholas Carlini, How I use &#8220;AI&#8221;</a>. A great, long blog post on different use cases for AI tools from the perspective of a software engineer. He shows the actual prompts he uses.</p></li><li><p><a href="https://buttondown.com/ainews">AI News</a>. A daily AI-generated newsletter that tracks developments in AI tools, mostly LLMs. This one is highly technical, probably too in the weeds for most, but it&#8217;s a great way to catch up on the SOTA without digging into every last Reddit and Discord post.</p></li></ul><blockquote><p>Gotchas: there is a new tool that comes out every day. You can easily waste a lot of time testing out new tools that add marginal value. There are also marginal value AI influencers all over X and LinkedIn. It&#8217;s ok to lag behind in adoption by months.</p></blockquote><h2>Chat</h2><p>There were many professors in the audience, so it comes as no surprise that chat tools that generate text were popular. The use cases are endless:</p><ul><li><p>Summarize long documents</p></li><li><p>Help craft derived text, say, a tweeprint or a status report</p></li><li><p>Expand a list of bullet points into a proper email</p></li><li><p>Help battle the dragon that is Overleaf and its overfull hboxes</p></li><li><p>Catch grammatical mistakes and unclear sentences (especially relevant to people for whom English is a second or third language)</p></li><li><p>Give a high-level overview of a field, from which you can branch out</p></li><li><p>Get over the line when you&#8217;re just finishing a doc and need a fresh set of eyes on it; conversely, get you out of your head when you&#8217;re trying to write a first draft</p></li></ul><p>One attendee mentioned an interesting mental model for chat models: they&#8217;re very good at style transfer. Taking text in one format and putting it into another format is really their <em>forte</em>. Now personally, I don&#8217;t always like the text that it generates in its house style, as it tends to be lifeless. I have the same qualms about Grammarly: sometimes, I <em>do</em> want to place redundant emphasis, create run-on sentences, and generally do all the things my high-school English teacher warned me not to do. As a rule, I don&#8217;t use chat tools (much) for blogging, because I want my blog posts to sound like me.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7368!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7368!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png 424w, https://substackcdn.com/image/fetch/$s_!7368!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png 848w, https://substackcdn.com/image/fetch/$s_!7368!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png 1272w, https://substackcdn.com/image/fetch/$s_!7368!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!7368!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png" width="438" height="161.41434262948206" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:370,&quot;width&quot;:1004,&quot;resizeWidth&quot;:438,&quot;bytes&quot;:123120,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7368!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png 424w, https://substackcdn.com/image/fetch/$s_!7368!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png 848w, https://substackcdn.com/image/fetch/$s_!7368!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png 1272w, https://substackcdn.com/image/fetch/$s_!7368!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F394e9fd6-c6f1-449c-9942-9151642766ea_1004x370.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">You can&#8217;t tell me what to do, Grammarly! I am my own man.</figcaption></figure></div><p>Chat tools go far beyond the humdrum use cases of automating the boring stuff, although their abilities can vary by tool. They don&#8217;t just do text-based tasks: paste in a screenshot or a PDF and it will generally do a good job of ingesting the content.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Vh0Q!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png 424w, https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png 848w, https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png 1272w, https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png" width="411" height="498.1818181818182" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1360,&quot;width&quot;:1122,&quot;resizeWidth&quot;:411,&quot;bytes&quot;:555168,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png 424w, https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png 848w, https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.png 1272w, https://substackcdn.com/image/fetch/$s_!Vh0Q!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11169d7e-9854-4830-b762-6524888a4f82_1122x1360.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 role="img" 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><title></title><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">The SOTA LLMs trade places for best performance. </figcaption></figure></div><p>Here&#8217;s my rollup of useful general-purpose LLM tools:</p><ul><li><p><a href="https://claude.ai">Claude</a>. My personal favorite, as I tend to prefer its style over ChatGPT&#8217;s&#8211;obviously, this is highly subjective. Excels at writing code. Again, worth the 20$/mo. This is my daily driver but I also pay for ChatGPT.</p></li><li><p><a href="https://chatgpt.com">ChatGPT</a>. A general-purpose tool for everyday use. Several people mentioned that o1-preview in particular excels at mathematical reasoning.</p></li><li><p><a href="https://notebooklm.google.com/">NotebookLM</a>. Most known for its flashy podcast generation feature, an impressive gimmick whose sheen rapidly wears off. The real standout is its giant context window (2M tokens) and ability to cite references. You can throw in dozens of PDFs or several books worth, and it can do things like cross-referencing. Looking for a long PDF to try it on? How about our recent 92-page roadmap on <a href="https://arxiv.org/abs/2411.18526">NeuroAI safety</a>?</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!i3n2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!i3n2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png 424w, https://substackcdn.com/image/fetch/$s_!i3n2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png 848w, https://substackcdn.com/image/fetch/$s_!i3n2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png 1272w, https://substackcdn.com/image/fetch/$s_!i3n2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!i3n2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png" width="1456" height="1053" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1053,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:492580,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!i3n2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png 424w, https://substackcdn.com/image/fetch/$s_!i3n2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png 848w, https://substackcdn.com/image/fetch/$s_!i3n2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.png 1272w, https://substackcdn.com/image/fetch/$s_!i3n2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0ec189b1-15bb-4e09-b902-7d7739a5cf2b_2072x1498.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 role="img" 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><title></title><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">NotebookLM in action. No problem reading 50 papers at a time.</figcaption></figure></div><blockquote><p>Gotchas: many tools allow the owner of the tool can train on you data. You should think twice about sharing private information with these tools, whether that&#8217;s unreviewed papers, private IP, or PII. </p></blockquote><h3>Aside: Audio as an interface to LLMs</h3><p>Speech-to-text is a natural complement to LLMs. One very pragmatic use case is taking meeting notes. If you&#8217;re talking to a lot of people (we&#8217;ve talked with 100+ neuroscientists as part of building up the Enigma Project and then our NeuroAI safety roadmap), you&#8217;re going to take a lot of notes, which is boring but crucial work. I add <a href="https://fireflies.ai/">Fireflies</a> to all my meetings instead, and then interrogate the transcripts using an LLM. </p><p>I also use audio-to-text as a tool for thought. Sometimes I&#8217;ll read a paper and then record a conversation where I work out what I&#8217;ve understood from that paper. Or I&#8217;ll dictate an often rambling review for a conference paper and then ask an LLM to reformat it into a readable format. Audio untethers you from your laptop for deep thinking, allowing you to <a href="https://www.newyorker.com/tech/annals-of-technology/walking-helps-us-think">go on long walks</a> and think through a problem.</p><h2>Code</h2><p>[<a href="https://docs.google.com/presentation/d/1raFtGFh0sxeumx7a-YFQtun6WJsKS10QQmrfC82xTTc/edit#slide=id.g30a42876965_0_169">Slide deck for my talk</a>]</p><p>I led a section on coding tools. <a href="https://newsletter.pragmaticengineer.com/p/how-genai-changes-tech-hiring">80% of software engineers now use LLM tools</a>, mostly Github Copilot, and <a href="https://www.benzinga.com/news/24/07/40061358/satya-nadella-says-microsofts-copilot-drives-40-of-githubs-revenue-growth-we-are-also-enabling-anyon">Copilot is now a billion-dollar</a> business. It is likely that PhD students and postdocs in your lab use them as well. </p><p>I use code tools all the time, mostly Copilot inside of VSCode, Claude, and occasionally Cursor. They have saved my butt more than a few times, with some prominent examples being:</p><ul><li><p>I spent 3 weeks reviewing and editing all the code and text for all the tutorials for the <a href="https://neuroai.neuromatch.io/tutorials/intro.html">NeuroAI course for Neuromatch</a>. It was an absolute grind, and pretty high stakes given our hundreds of students. I would have not been able to make that much progress without Copilot inside of VSCode&#8217;s jupyter notebook environment.</p></li><li><p>I created a viral website <a href="https://ismy.blue/">ismy.blue</a> to test your blue/green boundary and teach the general public about psychophysics of color perception. It received 2M visits and was covered in <a href="https://www.theguardian.com/wellness/2024/sep/16/blue-green-viral-test-color-perception">The Guardian</a> and <a href="https://view.e.economist.com/?qs=da4e00109926a65127188fcee39d522b60e2c6070dca6169e8a932b600e60b9d0179325b5b66d1dfcdcc4e3e8ccd3cf48e76516d8bc7d54ac95f12c73ba46439c858b0ea2b14020b55bdf29e8d8b3d23">Wall Street Journal</a>. I am not very proficient in HTML/JS, so this extended my reach. </p></li><li><p>I made a website with my co-author Joanne for our <a href="https://neuroaisafety.com">NeuroAI safety roadmap</a>. It involved using pandoc to generate HTML from LaTeX, creating a dev server with live reload to test out the output, and doing a ton of CSS wrangling. Doing this manually would have been a huge pain.</p></li><li><p>While working on the NeuroAI safety roadmap, I made a strategic mistake: I drafted everything in Google Docs. Once I realized the paper was 3X longer than I originally intended and gdocs was slowing down to a crawl, I exported from gdocs to Word and then to LaTeX. Unfortunately, there was a lot of extra markup generated and the doc was slightly broken. Claude was fantastic at correcting the LaTeX markup.</p></li><li><p>I translated this app for a <a href="https://github.com/patrickmineault/spyderX">colorimeter from Matlab</a>&#8211;for which I don&#8217;t have a license&#8211;to Python via Claude. This took a few minutes, whereas a manual effort would have taken a couple of days.</p></li></ul><p>I showcased several use cases, including creating interactive visualizations from Python code, translating straight Python to Cython to obtain a massive 200X speed improvement in a leaky-integrate-and-fire simulation, and generating a skeleton for an adversarially robust MNIST classifier. Affordances for working with code are quite advanced compared to working with text: </p><ul><li><p>you can use Copilot for autocomplete</p></li><li><p>you can interrogate an LLM in natural language from within your coding interface or in a sidebar</p></li><li><p>Claude&#8217;s artifacts and ChatGPT&#8217;s canvases give a specialized interface to write code and optionally preview it</p></li><li><p>Cursor can generate diffs and integrate them in your files</p></li></ul><p>Code tools are very powerful, but they also create an opportunity to massively shoot yourself in the foot. The usual way you generate code in science is writing a little bit, testing it out, checking it looks good, and moving on. The tools generate too much code too fast for this to be an effective strategy, and can easily create tech debt traps. </p><p>For example, ismy.blue used a snippet of code to fit a psychometric curve (logistic regression). Because there&#8217;s no sci-kit equivalent in Javascript, I asked Claude to write it from scratch using Newton&#8217;s method. I&#8217;ve written this loop many times before in Matlab, and when I looked at it, it passed the sniff test, so I went ahead and copy-pasted it into the website code. Big mistake! It turns it didn&#8217;t check for convergence and about 5% of visitors to the site got the wrong boundary. The solution was a backtracking line search that should have been there from the get-go. If I had written the code from scratch, of course I would have written a backtracking line search. Argh!</p><p>The solution is defensive programming: write tests that check critical code sections for correctness. <a href="https://goodresearch.dev/testing">I have a short section on this idea on goodresearch.dev</a>, which I hope to expand in the future. </p><h3>Aside: writing code vs. mentoring</h3><p>By default, LLMs will try to solve your problem directly. This can lead to become overly reliant on LLM code tools rather than developing proficiency. You can, however, prompt LLMs to give you mentoring and guidance rather than writing your code.</p><p>For instance, I&#8217;m learning Rust as part of Advent of Code, a holiday-themed daily coding challenge. On day 4, Advent Of Code&#8217;s question relates to solving a word search problem. I can ask Claude to directly solve the problem, and it will oblige:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!aFUf!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!aFUf!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png 424w, https://substackcdn.com/image/fetch/$s_!aFUf!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png 848w, https://substackcdn.com/image/fetch/$s_!aFUf!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png 1272w, https://substackcdn.com/image/fetch/$s_!aFUf!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!aFUf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png" width="1456" height="795" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/dc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:795,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:145981,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!aFUf!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png 424w, https://substackcdn.com/image/fetch/$s_!aFUf!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png 848w, https://substackcdn.com/image/fetch/$s_!aFUf!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.png 1272w, https://substackcdn.com/image/fetch/$s_!aFUf!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc523b37-056b-4de3-9215-fc9ec994f9d9_1572x858.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 role="img" 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><title></title><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 I can ask questions about its solution. In this case, it created a unit test using tags, a syntax I&#8217;m not familiar with. So I can dig in and find out why it did the things it did.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!5Ufa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!5Ufa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png 424w, https://substackcdn.com/image/fetch/$s_!5Ufa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png 848w, https://substackcdn.com/image/fetch/$s_!5Ufa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png 1272w, https://substackcdn.com/image/fetch/$s_!5Ufa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!5Ufa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png" width="1334" height="1546" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1546,&quot;width&quot;:1334,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:287989,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!5Ufa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png 424w, https://substackcdn.com/image/fetch/$s_!5Ufa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png 848w, https://substackcdn.com/image/fetch/$s_!5Ufa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.png 1272w, https://substackcdn.com/image/fetch/$s_!5Ufa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffc36e431-2611-499d-9ff1-52b942c9140c_1334x1546.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 role="img" 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><title></title><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>That&#8217;s certainly better than copying and pasting the code without thinking about it. However, I can go further by instead asking Claude to be a socratic tutor to help me solve the problem. Here&#8217;s one prompt that does the trick:</p><blockquote><p>I am familiar with Python and JS and am attempting to learn Rust. I was a SWE at a FAANG and am familiar with data structures and algorithms. To learn Rust, I am doing daily exercises through the Advent of Code, a daily holiday-themed coding challenge. Help me guide my learning by asking questions in the style of a socratic tutor. Here&#8217;s today&#8217;s question: &lt;question&gt;</p></blockquote><p>Instead of giving me the answer to the question, it prompts me to reflect:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!p4Pi!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!p4Pi!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png 424w, https://substackcdn.com/image/fetch/$s_!p4Pi!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png 848w, https://substackcdn.com/image/fetch/$s_!p4Pi!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png 1272w, https://substackcdn.com/image/fetch/$s_!p4Pi!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!p4Pi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png" width="1456" height="742" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:742,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:517955,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!p4Pi!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png 424w, https://substackcdn.com/image/fetch/$s_!p4Pi!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png 848w, https://substackcdn.com/image/fetch/$s_!p4Pi!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.png 1272w, https://substackcdn.com/image/fetch/$s_!p4Pi!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F786441f1-01ed-443c-a434-47b54f1e15eb_1606x818.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 role="img" 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><title></title><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>I can then have a conversation with Claude and activately engage in the learning:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!f4BQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!f4BQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png 424w, https://substackcdn.com/image/fetch/$s_!f4BQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png 848w, https://substackcdn.com/image/fetch/$s_!f4BQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png 1272w, https://substackcdn.com/image/fetch/$s_!f4BQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!f4BQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png" width="1456" height="621" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:621,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:473190,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!f4BQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png 424w, https://substackcdn.com/image/fetch/$s_!f4BQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png 848w, https://substackcdn.com/image/fetch/$s_!f4BQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.png 1272w, https://substackcdn.com/image/fetch/$s_!f4BQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcb1af581-c6e6-49cf-851f-77d0de3ea827_1584x676.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 role="img" 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><title></title><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>I can also give it broken implementations of code and help me better understand Rust&#8217;s syntax, or ask qualifying questions. This approach of &#8220;don&#8217;t give me the answer, give me the tools to answer the question myself&#8221; is useful beyond code: you can use that to decide which tack to take for a paper, a math proof, planning a conference, preparing for a meeting, etc.</p><h2>Papers</h2><p>Brad Love presented his <a href="https://arxiv.org/abs/2403.03230">paper on predicting neuroscience results using an LLM</a>, an intriguing future use case that I&#8217;m excited for<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-3" href="#footnote-3" target="_self">3</a>. In the here and now, LLMs are already powerful enough for searching through papers and extracting structured information from them. </p><p>Probably one of the most useful everyday tools is <a href="https://www.perplexity.ai/">Perplexity Pro</a>. It&#8217;s an LLM-powered search engine. In Pro mode, you can set it so it searches from scholarly archives (i.e. Nature, arXiv, biorXiv, etc.). It only gives you about 8 or so references per query, but its hit rate is high, and it feels much better for freeform search than Google Scholar. I was skeptical of this tool, but it got high notes from Sam Rodriques from <a href="https://www.futurehouse.org/">FutureHouse</a>, which is building AI tools for scientists.</p><p>There is a slew of other tools for more specialized use cases. <a href="https://elicit.com/">Elicit</a> is a tool to facilitate structured searches, including metaanalyses. It can extract structured information on demand. <a href="https://hasanyone.com/">Has Anyone</a> is a tool from FutureHouse to determine whether something has ever been done. <a href="https://github.com/Future-House/paper-qa">PaperQA2</a> is a FutureHouse agent-based model that can be used to do deep searches through literature. </p><p>It&#8217;s also possible to do searches using the raw models themselves for power users. I used this in our recent roadmap to estimate the rate of doubling in electrophysiology and calcium imaging capacity. I used the API version of GPT-4o to filter and parse through all 40,000 bioRxiv neuroscience abstracts, then ran the tool again to extract number of neurons, probes, model system, etc. This is monk&#8217;s work that would have taken many weeks of research assistant time, but that I was able to complete in about 3 days.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KaYW!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KaYW!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png 424w, https://substackcdn.com/image/fetch/$s_!KaYW!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png 848w, https://substackcdn.com/image/fetch/$s_!KaYW!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png 1272w, https://substackcdn.com/image/fetch/$s_!KaYW!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KaYW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png" width="328" height="257.6558603491272" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:945,&quot;width&quot;:1203,&quot;resizeWidth&quot;:328,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;image&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="image" title="image" srcset="https://substackcdn.com/image/fetch/$s_!KaYW!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png 424w, https://substackcdn.com/image/fetch/$s_!KaYW!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png 848w, https://substackcdn.com/image/fetch/$s_!KaYW!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.png 1272w, https://substackcdn.com/image/fetch/$s_!KaYW!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F465705b3-35df-4cf4-902b-02d2145e1616_1203x945.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 role="img" 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><title></title><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">Each datapoint in this graph would have been a huge pain to gather without an LLM.</figcaption></figure></div><p>Unlike the case for code, it&#8217;s fair to say that the affordances for these tools still have a lot of gaps. For instance, I&#8217;d like to be able to search my paperpile library for relevant papers and dump it in NotebookLM. Simple enough, but right now I have to manually select relevant papers and download every single PDF before uploading to NotebookLM. <a href="https://wattenberger.com/">Amelia Wattenberger</a> showcased a tool to do search and download for arXiv for precisely this use case, which showed that UX tweaks could really make a large difference here. There is a lot more to be done in this space, and it seems clear that FutureHouse in particular is focused on making many of the existing tools more precise and usable.</p><h2>Graphics</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!m0R7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m0R7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp 424w, https://substackcdn.com/image/fetch/$s_!m0R7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp 848w, https://substackcdn.com/image/fetch/$s_!m0R7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp 1272w, https://substackcdn.com/image/fetch/$s_!m0R7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!m0R7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp" width="428" height="428" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:428,&quot;bytes&quot;:208212,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!m0R7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp 424w, https://substackcdn.com/image/fetch/$s_!m0R7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp 848w, https://substackcdn.com/image/fetch/$s_!m0R7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp 1272w, https://substackcdn.com/image/fetch/$s_!m0R7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22e26032-e40f-43b2-b341-039ba4f073a5_1024x1024.webp 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 role="img" 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><title></title><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">Thanks, I hate it. From Dall-E.</figcaption></figure></div><p>I feel like this may be the largest gap in the arsenal of ML tools for scientists. Dall-E&#8217;s house style sticks out like a sore thumb. Yes, you can get it to create good illustrations, but it still leaves a lot to be desired in terms of composition, aesthetics and accuracy. My gotos for generating illustrations for papers remains a combination of free icon libraries, stock photos, BioRender, Inkscape, LucidChart, Canva, tikz, etc.</p><p>The biggest issue is that I want to have fine control over aesthetics. Generated text is easily editable post-hoc. Images&#8211;not so much. What I really want is a vector image generation tool. This is slowly coming together. I tested out <a href="https://www.adobe.com/products/illustrator/text-to-vector-graphic.html">Illustrator&#8217;s new AI tools</a>, and was able to generate a vector monkey with VR goggles that was editable and was not half bad.</p><h2>Conclusion</h2><p>It can be exhausting to keep track of all the latest advances in AI and how they impact your daily productivity. Nevertheless, adoption has been rapid. Code AI tools represent one of the most mature categories with some of the best affordances&#8211;Copilot was released before ChatGPT. Text tools are daily drivers that suffer from a lack of discoverability, which can be alleviated by sharing workflows with colleagues and reading blogs. </p><p>Tools to read and absorb papers are still in their infancy, but they could be transformative: <a href="https://future-house.webflow.io/wikicrow">WikiCrow</a> is an automated system that generated 15,000 high-quality Wikipedia-style articles on human genes that lack one. Bad quality AI art is all too common, but an AI-first vector editing tool would be highly compelling. All in all, we have the ability to do things that sounded like science-fiction just a few years ago, but we need to be judicious in how we deploy these tools.</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>Before the BlueSky exodus.</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>It turns out <a href="https://techcrunch.com/2024/12/05/openai-confirms-its-new-200-plan-chatgpt-pro-which-includes-reasoning-models-and-more/">you can spend 200$ a month on ChatGPT</a> if you want.</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>Disclosure: I was one of the reviewers for this paper</p></div></div>]]></content:encoded></item><item><title><![CDATA[Brain scores don't mean what we think they mean (maybe)]]></title><description><![CDATA[ANNs &#129309; BNNs]]></description><link>https://www.neuroai.science/p/brain-scores-dont-mean-what-we-think</link><guid isPermaLink="false">https://www.neuroai.science/p/brain-scores-dont-mean-what-we-think</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Tue, 10 Dec 2024 18:58:37 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Artificial neural networks trained to perform the same tasks as humans&#8211;image classification, self-motion prediction, building a cognitive map of the environment&#8211;tend to converge to representations that are similar to the brain. This is a central finding of the field of task-driven neural networks, also called neuroconnectionism. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!PUaX!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!PUaX!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PUaX!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PUaX!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PUaX!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!PUaX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg" width="1456" height="810" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:810,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Figure 1&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Figure 1" title="Figure 1" srcset="https://substackcdn.com/image/fetch/$s_!PUaX!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg 424w, https://substackcdn.com/image/fetch/$s_!PUaX!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg 848w, https://substackcdn.com/image/fetch/$s_!PUaX!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!PUaX!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F08263109-ad27-4636-8ea9-472f311ce98b_2100x1168.jpeg 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 role="img" 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><title></title><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">Representations in ANNs can be related to representations in BNNs through the methods of task-driven neural networks</figcaption></figure></div><p>Linear regression is a well-accepted way of comparing artificial neural networks and brain activity (<a href="https://xcorr.net/2023/04/20/how-can-a-neural-network-be-like-the-brain/">I wrote a tutorial-like intro here</a>). Here&#8217;s how that usually goes:</p><ul><li><p>You collect lots of responses from the brain in response to stimuli (images, sounds, etc.)</p></li><li><p>You do the same for an ANN</p></li><li><p>You regress the ANN onto the brain, keeping the weights of the ANN fixed</p></li><li><p>How well that regression works in predicting data in a validation fold tells you something how good a model of the brain is that ANN</p></li></ul><p>Or does it? The position paper <a href="https://openreview.net/forum?id=vbtj05J68r#discussion">Maximizing Neural Regression Scores May Not Identify Good Models of the Brain</a> argues that, well, it&#8217;s not that simple. There was a slew of activity on X<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> about the paper: some supportive, some negative, some sympathetic but saying that the paper went too far in the skeptical direction and overstated their argument. I will try to <a href="https://x.com/StphTphsn1/status/1847139936232726695">synthesize the discussion</a> here and give some context so you can navigate this field.</p><p>My TL;DR: Neural scores don&#8217;t always mean what we think they mean. When neural scores are calculated between brains and the highly overparametrized representations of neural networks for a small number of stimuli, we have to carefully interpret the scores.</p><h2>Breaking down the argument in Schaeffer et al. (2024)</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!qAO3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!qAO3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png 424w, https://substackcdn.com/image/fetch/$s_!qAO3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png 848w, https://substackcdn.com/image/fetch/$s_!qAO3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png 1272w, https://substackcdn.com/image/fetch/$s_!qAO3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!qAO3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png" width="1456" height="668" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:668,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:254021,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!qAO3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png 424w, https://substackcdn.com/image/fetch/$s_!qAO3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png 848w, https://substackcdn.com/image/fetch/$s_!qAO3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png 1272w, https://substackcdn.com/image/fetch/$s_!qAO3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F44ca18fd-54ff-4198-bd08-c108cd3df918_1908x876.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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>Schaeffer and co. build an argument that neural regression score maximization doesn&#8217;t tell you which model is more like the brain. The argument goes like this:</p><ol><li><p>Dimensionality is highly predictive of neural scores. Big networks with many features that cover a lot of ground generally match the brain better than small networks with low dimensionality. This conjecture was first made a few years ago to explain some puzzling results in entorhinal cortex and hippocampus (<a href="https://proceedings.neurips.cc/paper_files/paper/2022/hash/66808849a9f5d8e2d00dbdc844de6333-Abstract-Conference.html">Schaeffer et al. 2022</a>; although see <a href="https://x.com/aran_nayebi/status/1846689528288780624">Aran Nayebi&#8217;s rejoinder on X</a>), and others found congruent results (e.g. <a href="https://www.biorxiv.org/content/10.1101/2022.07.13.499969v1">Elmoznino and Bonner, 2022</a>).</p></li><li><p>Neural scores are a reflection of the inductive biases of linear regression.</p></li></ol><p>The effective dimensionality argument (1)&#8211;bigger is better&#8211;is intuitively attractive, but it&#8217;s wrong. While there&#8217;s some correlation between dimensionality and neural scores, the exact relationship is explained by the more subtle spectral theory of regression by <a href="https://arxiv.org/abs/2309.12821">Canatar et al. (2023)</a>, an excellent paper. It&#8217;s not just effective dimensionality (=big network good) that matters; it&#8217;s also the projections of the eigenvectors of the design matrix on the observations (=bigger not always better). To put it in the words of <a href="https://x.com/michaelfbonner/status/1846984299297583584">Mick Bonner</a>: &#8220;High effective dimensionality alone is not sufficient to yield strong performance&#8221;.</p><h2>Neural scores in the interpolation regime</h2><p>What about the second point on the inductive biases of regression? I wish the authors had focused more on this, because it is an important and subtle point. When you really, deeply think about it, it is strange that we:</p><ol><li><p>probe brains and models with <strong>hundreds</strong> of stimuli</p></li><li><p>map models to brains using linear regressions with <strong>thousands</strong>, sometimes <strong>millions</strong> of parameters</p></li><li><p>use those to differentiate between different models</p></li></ol><p>The classic statistical viewpoint says that in this overparametrized regime, there is no unique solution to the linear regression. Equivalently, an infinite number of regressions could fit the data equally well, and you need assumptions to solve this degeneracy. The assumptions must be matched to the problem at hand and they influence the outcome of statistical comparisons.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!v4ch!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!v4ch!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png 424w, https://substackcdn.com/image/fetch/$s_!v4ch!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png 848w, https://substackcdn.com/image/fetch/$s_!v4ch!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png 1272w, https://substackcdn.com/image/fetch/$s_!v4ch!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!v4ch!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png" width="1294" height="640" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:640,&quot;width&quot;:1294,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:336910,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!v4ch!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png 424w, https://substackcdn.com/image/fetch/$s_!v4ch!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png 848w, https://substackcdn.com/image/fetch/$s_!v4ch!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.png 1272w, https://substackcdn.com/image/fetch/$s_!v4ch!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb51056cf-f1dc-45d5-9743-e53c95837c25_1294x640.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 role="img" 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><title></title><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">From Canatar et al. M can be much, much larger than P.</figcaption></figure></div><p>Now, Schaeffer et al. don&#8217;t spell out why the inductive biases of linear regression might be problematic. It&#8217;s worth going back to spectral theory to understand why. Canatar et al. study the highly overparametrized regime (P stimuli &lt;&lt; M units), where there are far more units (i.e. neurons, design matrix columns) than there are stimuli (i.e. observations, rows of the design matrix). Their theory is valid when there is no observation noise and the mapping between stimuli and neurons is static. They define the generalization error by chopping up the full design matrix into train and test. The generalization error is the result of testing on the test set with the linear regression weights inferred on the train set. With their definition, the generalization error must go be <em>exactly zero</em> as the proportion of training examples tends to 100% (remember, no noise!). You can see this, for example, in their figure SI.4.1.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ibSG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ibSG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png 424w, https://substackcdn.com/image/fetch/$s_!ibSG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png 848w, https://substackcdn.com/image/fetch/$s_!ibSG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png 1272w, https://substackcdn.com/image/fetch/$s_!ibSG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ibSG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png" width="1456" height="532" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:532,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:290898,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ibSG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png 424w, https://substackcdn.com/image/fetch/$s_!ibSG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png 848w, https://substackcdn.com/image/fetch/$s_!ibSG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.png 1272w, https://substackcdn.com/image/fetch/$s_!ibSG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F64d95d95-070c-4c41-996f-a31dcf5d40c8_2144x784.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 role="img" 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><title></title><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">From Canatar et al. (2023). Under their training scenario, the error goes to 0 when the proportion of the traing</figcaption></figure></div><p>In this setup, all models eventually get to 0 error. The path that models take to that zero error is a bit unintuitive, and it doesn&#8217;t map neatly into the usual schema of low error = good model that aligns well to the brain, high error = bad model that is unlike the brain. It depends on the details of the spectrum of the model activations matrix. For example, in the plot above the right, layer 3 and layer 4 swap places depending on the proportion of the data in the train and test set. That nonmonoticity is the product of the inductive biases of linear regression, not so much whether a model is brain-like or not.</p><blockquote><p>TL;DR: <em>take your scores with a grain of salt</em> and <em>use multiple lines of evidence to show that an ANN is like the brain</em>. In the highly overparametrized regime, neural scores can have an unintuitive and complex relationship to the thing we ultimately care about: how well-matched an ANN is to the brain.</p></blockquote><h2>Contra Goodhart&#8217;s law</h2><p>What happens when we overinterpret and hyperfocus on a single fixed metric? One take on X is that &#8220;as the field optimizes against a fixed proxy metric [which doesn&#8217;t fully capture brain similarity], the field begins Goodharting&#8221;. Goodhart&#8217;s law states that a metric that becomes an objective ceases to be a good metric.</p><p>So, are we hacking our metrics? I don&#8217;t think so. One pattern that&#8217;s associated with <a href="https://sohl-dickstein.github.io/2022/11/06/strong-Goodhart.html">Goodhart&#8217;s law</a> is that benchmarks get quickly saturated as people teach to the test, <a href="https://arxiv.org/abs/2309.08632">as is the case with LLMs</a>. If we were Goodharting, the metrics would go only one way: up. But if you look at the history of <a href="https://www.brain-score.org/vision/">vision BrainScore</a> in particular, the metrics have stayed relatively stable over the years, perhaps even decreasing.</p><p>To be clear, this is not a good thing either! We want our theories to rise in accuracy over time so that we get ever closer to the truth! This is a point that I investigate in detail in the <a href="https://neuroaisafety.com/7-sec-infer-the-loss-functions-of-the-brain">roadmap on neuroscience for AI safety</a> that we recently published. Ideally, we&#8217;d be able to measure a low-noise gradient in model space to uncover more brain-like models over time. So far, we haven&#8217;t found great ways of doing that, which is a core problem for the field. We propose a few different lines of research that could help leapfrog this problem. In any case, I don&#8217;t think that it&#8217;s true that we are falling pray to Goodhart&#8217;s law.</p><h2>Maybe many metrics aren&#8217;t good either</h2><p>The singular focus on the flaws of one particular metric, in one regime, can make us forget about how neural scores are often used in practice. Neural regression scores are often tested out-of-distribution, which the in-distribution setup of Canatar et al. doesn&#8217;t cover. And we often use more metrics than just linear regression. Using more metrics&#8211;RSA, DSA, CKA, looking at tuning curves, one-to-one-mappings&#8211;is a commonly suggested way of avoiding becoming overly reliant on a single top-line metric. This has now become a best practice in the field: many models, many datasets, and ideally many metrics, each testing the model along different axes of variance. Although many papers still focus on one model and metric to their detriment, there are plenty of examples of papers that build a more compelling story around comprehensive testing, including <a href="https://www.pnas.org/doi/10.1073/pnas.2014196118">Zhuang et al. (2021)</a>, <a href="https://proceedings.neurips.cc/paper_files/paper/2021/hash/f1676935f9304b97d59b0738289d2e22-Abstract.html">Mineault et al. (2021)</a>, and <a href="https://www.biorxiv.org/content/10.1101/2022.03.28.485868v2">Conwell et al. (2023)</a>.</p><p>Except&#8230; sometimes the metrics don&#8217;t agree and the conclusions are quite sensitive to the choice of metric. This was the conclusion in <a href="https://www.biorxiv.org/content/10.1101/2024.08.07.607035v1.abstract">Soni et al. (2024)</a> and <a href="http://arxiv.org/abs/2408.00531">Klabunde et al. (2024)</a>. That&#8217;s worrisome.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HoOg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HoOg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png 424w, https://substackcdn.com/image/fetch/$s_!HoOg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png 848w, https://substackcdn.com/image/fetch/$s_!HoOg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png 1272w, https://substackcdn.com/image/fetch/$s_!HoOg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HoOg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png" width="1456" height="614" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:614,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:209968,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HoOg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png 424w, https://substackcdn.com/image/fetch/$s_!HoOg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png 848w, https://substackcdn.com/image/fetch/$s_!HoOg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.png 1272w, https://substackcdn.com/image/fetch/$s_!HoOg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1ba0c5e7-d63f-41b9-9f6a-59b5b49b4ee7_1854x782.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 role="img" 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><title></title><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>Metrics can vary a lot in how they rank different models. No metric does universally better than any other</p><p>My best guess for why this is boils down to two things:</p><ol><li><p>Bad metrics: Some of the metrics are genuinely not good, or not used in practice, which adds noise to the rankings and inflates the extent of the problem.</p></li><li><p>P &lt;&lt; M: there are many fewer stimuli than the dimensionality of the activations. That means the comparisons rely on inductive biases which are introduced in subtle and unintuitive ways. With a small number of stimuli, you don&#8217;t get good coverage of the distribution of inputs either.</p></li></ol><p>The first point is solvable; Alex Williams and his group, among others, have been very active in finding axiomatically good metrics (e.g. <a href="https://arxiv.org/abs/2110.14739">this work on shape metrics</a>). But the P &lt;&lt; M problem remains.</p><h2>What else can we do?</h2><p>If the true underlying problem is overparametrization and the subtle inductive biases that are introduced to avoid the issues that come with overparametrization, maybe we ought to do things differently. What are some potential solutions?</p><ol><li><p>Increase P. We should measure the responses to more and higher entropy stimuli.</p></li><li><p>Target stimuli better. Instead of wasting a big chunk of the P on constraining dimensions of the models we don&#8217;t care about, use targeted stimuli designed to maximally differentiate models. This is the solution proposed by <a href="https://www.pnas.org/doi/10.1073/pnas.1912334117">Golan et al. (2020)</a>.</p></li><li><p>Decrease M. Use more constrained functions to map from ANN to brains.</p></li></ol><p>Many people have argued for 1 and 2, and they&#8217;re pretty uncontroversial. Here I&#8217;ll try to make an argument in favor of 3, which I haven&#8217;t seen before. With 3&#8211;using a highly constrained set of weights&#8211;we&#8217;re also introducing an inductive bias, but we&#8217;re making it explicit. Even in this day and age of large-scale models with millions of parameters, P &gt;&gt; M is a viable regime. For example, the models explored by <a href="https://www.biorxiv.org/content/10.1101/2020.10.05.326256v1">Lurz et al. (2021)</a> have M &lt; 100, but P up to 16,000. All it takes is a highly contained receptive field model to get into the classic regime.</p><p>It might seem like we&#8217;re skipping over the beautiful theory of double descent, but in fact the overparametrized regime (the double descent regime) doesn&#8217;t always lead to better solutions when there&#8217;s noise in the observations (<a href="https://neuroai.neuromatch.io/tutorials/W2D1_Macrocircuits/student/W2D1_Tutorial2.html">see this tutorial for example</a>). While the theory of Canatar et al. (2023) has a large surface, it assumes no noise in the measured responses. We have a theory of scaling laws for linear regression in the underparametrized, noisy setting in the <a href="https://neuroaisafety.com/2-sec-reverse-engineer-the-representations-of-sensory-systems">NeuroAI safety roadmap</a>. I&#8217;d love to see an extension that fuses the theory of Canatar and ours. </p><h2>Parting words</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!bT0n!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bT0n!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png 424w, https://substackcdn.com/image/fetch/$s_!bT0n!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png 848w, https://substackcdn.com/image/fetch/$s_!bT0n!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png 1272w, https://substackcdn.com/image/fetch/$s_!bT0n!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!bT0n!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png" width="1056" height="736" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:736,&quot;width&quot;:1056,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:886705,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!bT0n!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png 424w, https://substackcdn.com/image/fetch/$s_!bT0n!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png 848w, https://substackcdn.com/image/fetch/$s_!bT0n!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.png 1272w, https://substackcdn.com/image/fetch/$s_!bT0n!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F169b55c1-b975-414c-97cc-2158c1e026c0_1056x736.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 role="img" 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><title></title><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">All else being equal, line goes up=good</figcaption></figure></div><p>A model that explains more of the variance is better than a model that explains less of the variance, all else being equal. Maximizing explained variance is the way to go if we want to learn digital twins of the sensory cortex and control population activity. But a model that accounts for more variance in the brain is not necessarily a better model of the brain. And it&#8217;s easy to read more into a single score than what is warranted.</p><p><a href="https://direct.mit.edu/nol/article/5/1/64/113632/Predictive-Coding-or-Just-Feature-Discovery-An">Antonello and Huth (2024)</a> report that a next-token prediction objective and a German-to-English translation objective lead to representations that are equally good at predicting brain responses to podcasts in unilingual English speakers; the authors argue that &#8220;the high performance of these [next token prediction] models should not be construed as positive evidence in support of a theory of predictive coding [...] the prediction task which these [models] attempt to solve is simply one way out of many to discover useful linguistic features&#8221;.</p><p>Structurally, I think that what we want is for our scores to point us the way: to tell us where to look for more brain-like models on the mountain which is model space. But the scores are noisy and our hill-climbing is treacherous. Until we can get to p &#8594; &#9854;&#65039;, we will have to carefully consider the value of our models and scores.</p><p><em>Acknowledgements</em>: Thanks to Shahab Bakhtiari, Aran Nayebi and Tim Kietzmann for reviewing this piece. <a href="https://openreview.net/forum?id=vbtj05J68r#discussion">Aran has an insightful comment on openreview</a> breaking down the paper&#8217;s claims in detail.</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>This article has been sitting in my drafts for a couple of months, before the exodus to bsky. Apologies for the tardiness.</p></div></div>]]></content:encoded></item><item><title><![CDATA[NeuroAI for AI safety]]></title><description><![CDATA[A differential path toward safe AI]]></description><link>https://www.neuroai.science/p/neuroai-for-ai-safety</link><guid isPermaLink="false">https://www.neuroai.science/p/neuroai-for-ai-safety</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Tue, 03 Dec 2024 18:37:05 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/96b65247-bc8a-419a-8ac2-0c884ea5db3b_1196x1228.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>It&#8217;s been quiet on neuroai.science for a little while, as I&#8217;ve been focusing on writing a roadmap for NeuroAI for AI safety. It turned out to be way more work than I anticipated, as I nerd-sniped myself, colleagues at the Amaranth Foundation, and collaborators into writing a 90-page missive with 700+ references. It's finally out! </p><p>I think you&#8217;ll like it. There&#8217;s lots of technical analysis on NeuroAI: data acquisition capabilities and available data across a wide range of relevant modalities, from electrophysiology to connectomics. We cover 7 different paths where NeuroAI can impact AI safety. It&#8217;s also a bit of a time capsule and a love letter to NeuroAI; while it&#8217;s by no means a comprehensive review of the whole field, it&#8217;s about as comprehensive as it could be without becoming an entire book.</p><p>I&#8217;d love to hear your thoughts. We made a companion website to make it easier to read on the go. You&#8217;ll have to pace yourself with this one as it clocks in at 22,000 words, but it can be read mostly out-of-order. I can almost guarantee you will learn something.</p><ul><li><p>Website: <a href="https://neuroaisafety.com/">neuroaisafety.com</a></p></li><li><p><a href="https://arxiv.org/abs/2411.18526">Paper on arXiv</a></p></li></ul><p>Here&#8217;s a little flavor and a walkthrough of the roadmap to orient yourself.</p><div><hr></div><h1>NeuroAI, fast and slow</h1><p>NeuroAI is a field that takes inspiration from AI to help us understand the brain, and vice-versa. The neuro&#8594;AI route has been focused thus far on bringing new capabilities to AI, inspired by neuroscience and psychology: robustness to adversarial and out-of-distribution stimuli, higher data efficiency, smart and complex neurons, an active learning phase inspired by development, etc. </p><p>Naysayers will point out AI has been racing in capability without much neuroscience input. It is hard to find a benchmark that AI has not saturated, with the <a href="https://arcprize.org/">ARC challenge</a> being a notable exception. The reason AI has advanced without being anchored in neuroscience is no secret: neuroscience is slow. You can get a lot more reps in with purely <em>in silico</em> experimentation, unanchored by slow wet lab experiments. Thus, the canonical examples of neuroscience influencing AI are decades old: the perceptron, ANNs, CNNs, and RL. Where does that leave the promise of advancing AI through neuroscience?</p><h2>Solving a real problem: safety</h2><p>AI capabilities are increasing, but safety remains to be solved. We&#8217;re at the alchemy stage of AI: we have some empirical findings, but we don&#8217;t have a general science of intelligence, or how to control it. What if NeuroAI focused on improving AI safety?</p><p>To give you one practical example of an unsolved problem in AI safety, consider adversarial examples. Take this photo of my dog Marvin, which is correctly classified as a chihuahua by a pretrained model, and add a little bit of imperceptible, targeted noise to it. Now it&#8217;s confidently classified as a microwave<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!r2hG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!r2hG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png 424w, https://substackcdn.com/image/fetch/$s_!r2hG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png 848w, https://substackcdn.com/image/fetch/$s_!r2hG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png 1272w, https://substackcdn.com/image/fetch/$s_!r2hG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!r2hG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png" width="1456" height="555" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:555,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!r2hG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png 424w, https://substackcdn.com/image/fetch/$s_!r2hG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png 848w, https://substackcdn.com/image/fetch/$s_!r2hG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.png 1272w, https://substackcdn.com/image/fetch/$s_!r2hG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3ae46b0e-de52-463d-8c9b-596d798260ae_1919x732.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 role="img" 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><title></title><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">Marvin the adversarial dog.</figcaption></figure></div><p>There have been <a href="https://nicholas.carlini.com/writing/2019/all-adversarial-example-papers.html">over 10,000 articles on adversarial examples</a>, and we have yet to solve them. <a href="https://arxiv.org/abs/2404.09349">A recent study on scaling adversarial training</a> showed that you would need <em>multiples of GPT-4 compute</em> to solve adversarial robustness on a toy task, CIFAR-10. It&#8217;s a giant security hole that will only get amplified as we get multimodal, semi-autonomous agents that can act in the world.</p><p>A good way of thinking about this problem, pioneered by <a href="https://arxiv.org/abs/1905.02175">Ilyas et al. (2019)</a>, is in terms of robust and non-robust features. Many features can lead to correct classification. Only some are robust out-of-distribution. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nKfR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nKfR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png 424w, https://substackcdn.com/image/fetch/$s_!nKfR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png 848w, https://substackcdn.com/image/fetch/$s_!nKfR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png 1272w, https://substackcdn.com/image/fetch/$s_!nKfR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nKfR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png" width="971" height="457" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:457,&quot;width&quot;:971,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nKfR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png 424w, https://substackcdn.com/image/fetch/$s_!nKfR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png 848w, https://substackcdn.com/image/fetch/$s_!nKfR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.png 1272w, https://substackcdn.com/image/fetch/$s_!nKfR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7ab36267-f398-480d-92af-1b2fab925fc2_971x457.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 role="img" 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><title></title><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">How to turn a dog can into a microwave. There are many ways of solving this task with non-robust features, and there are many more non-robust features than there are robust features. From <a href="https://gradientscience.org/adv/">Gradient Science</a>.</figcaption></figure></div><p>The more general point is that there are many ways of getting to intelligent behavior, but most of these are not human-like or safe. Recapitulating behavior through imitation learning works in-distribution, but it's an underconstrained problem out-of-distribution.</p><h2>Better AI through constraints</h2><p>The human brain has a number of mechanisms for flexible and safer intelligence. We've evolved sophisticated mechanisms for safe exploration, graceful handling of novel situations, and cooperation. Understanding and reverse-engineering these neural mechanisms <em>could</em> be key to developing AI systems that are aligned with human values.</p><p>The human brain might seem like a counterintuitive model for developing safe AI systems: we wage war, we&#8217;re biased, and often fall short of our lofty ambitions. But we don&#8217;t have to import brains wholesale: we can focus on emulating behaviors and computations that are useful from an AI safety perspective. We call this a selective approach toward studying the brain for AI safety.</p><p>The general premise is that more constraints from human brain biophysics,  representations, and behavior have a higher probability of leading to the basin of safe, human-like solutions.  This is a point that was made previously by Andreas Tolias, one of the co-authors of our roadmap, in <a href="https://www.sciencedirect.com/science/article/pii/S0896627319307408#fig3">Sinz et al. (2019)</a>. They framed it in terms of strong generalization, but you can make the same point about safety more generally.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lGF_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lGF_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png 424w, https://substackcdn.com/image/fetch/$s_!lGF_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png 848w, https://substackcdn.com/image/fetch/$s_!lGF_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png 1272w, https://substackcdn.com/image/fetch/$s_!lGF_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lGF_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png" width="1456" height="541" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:541,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:624388,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lGF_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png 424w, https://substackcdn.com/image/fetch/$s_!lGF_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png 848w, https://substackcdn.com/image/fetch/$s_!lGF_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.png 1272w, https://substackcdn.com/image/fetch/$s_!lGF_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F39b7a0a3-d06a-4133-9f1d-9f9448c91b24_2384x886.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 role="img" 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><title></title><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">More constraints=higher chance of getting within the basin of robust, safe solutions. From Sinz et al. (2019).</figcaption></figure></div><p>If you agree with that premise, then the path toward AI safety through neuroscience is to find sources of constraints. That could be done at multiple Marr&#8217;s levels, and which approach is most promising is both 1) an empirical question about the effectiveness of each constraint and 2) a question of which approach will get you there fastest given technological bottlenecks in data acquisition and analysis. We tackle both questions in this roadmap.</p><h2>Why NeuroAI safety now?</h2><p>There are a few reasons that have prevented NeuroAI from tackling AI safety. The first is that the AI safety literature is hermetic and neuroscientists, by and large, have not deeply engaged in it. It&#8217;s speculative, it moves fast, and it&#8217;s hard to get a lay of the land. One of our goals with the roadmap was to make the AI safety literature approachable to neuroscientists by introducing a common framework that we could all refer to. We adapted a framework from Deepmind (2017) for different ways in which AI can be made safer, and refer back to it throughout.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!I3nn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!I3nn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png 424w, https://substackcdn.com/image/fetch/$s_!I3nn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png 848w, https://substackcdn.com/image/fetch/$s_!I3nn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png 1272w, https://substackcdn.com/image/fetch/$s_!I3nn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!I3nn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png" width="1456" height="970" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:970,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!I3nn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png 424w, https://substackcdn.com/image/fetch/$s_!I3nn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png 848w, https://substackcdn.com/image/fetch/$s_!I3nn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.png 1272w, https://substackcdn.com/image/fetch/$s_!I3nn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ef71cc7-ae9d-45af-bc98-0f44bb8b8c85_1688x1125.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 role="img" 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><title></title><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">A framework for AI safety from Deepmind, adapted for NeuroAI</figcaption></figure></div><p>A second reason is that while there have been a few proposals for how exactly NeuroAI could impact AI safety, these have mostly been at a high level. I haven&#8217;t seen a lot of deep technical discussion and analysis on how to get there, and this roadmap fills the gap. </p><p>A third reason is tooling. We know a lot more about the brain than we did a decade ago, <a href="https://flywire.ai/">most notably in the fly</a>. Still, our understanding is partial. <strong>If neuroscience is to meaningfully contribute to AI safety, we need to dramatically accelerate our ability to record, analyze, simulate, and understand neural systems</strong>. The catalysts for large-scale neuroscience are already here, thanks in part to massive investments made by the BRAIN Initiative in the past decade. We should take advantage of this moment to learn more about the brain and potentially use that knowledge to impact AI safety. Even if the impact on AI safety is smaller than expected, we&#8217;ll still make progress in understanding the most mysterious object in the universe, advancing neurotechnology along the way.</p><h2>Highlights from the proposals</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!3qND!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!3qND!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png 424w, https://substackcdn.com/image/fetch/$s_!3qND!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png 848w, https://substackcdn.com/image/fetch/$s_!3qND!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png 1272w, https://substackcdn.com/image/fetch/$s_!3qND!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!3qND!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png" width="1456" height="467" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:467,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:417988,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!3qND!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png 424w, https://substackcdn.com/image/fetch/$s_!3qND!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png 848w, https://substackcdn.com/image/fetch/$s_!3qND!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.png 1272w, https://substackcdn.com/image/fetch/$s_!3qND!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5fe6ea4f-9eb7-4faf-8e0e-61d8a2c347da_2520x808.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 role="img" 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><title></title><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've organized our roadmap around 7 themes. For each, we perform in-depth technical analysis, identify key bottlenecks and make recommendations for further research and investment:</p><ul><li><p><strong><a href="https://neuroaisafety.com/2-sec-reverse-engineer-the-representations-of-sensory-systems">Reverse-engineer the representations of sensory systems.</a></strong> Understanding how the brain achieves robust perception and handles novel situations could help us build AI systems that are more resistant to adversarial attacks and better at generalizing to new situations. We derived scaling laws for sensory digital twins to determine how much data we&#8217;d need to build digital twins of single sensory neurons&#8211;they have log-sigmoid scaling curves, which I haven&#8217;t seen documented before. We then established one proof-of-concept for how the resulting digital twins could help make AI systems more robust. There is a lot more to be done here.</p></li><li><p><strong><a href="https://neuroaisafety.com/3-sec-embodied">Create embodied digital twins.</a></strong> Functional simulations of brain activity combined with physical models of bodies and environments could help us understand how embodied cognition contributes to safe and robust behavior. I discuss ongoing work in building virtual animal models and foundation models that could help us get there.</p></li><li><p><strong><a href="https://neuroaisafety.com/4-sec-wbs">Develop detailed simulations.</a></strong> Creating detailed biophysical simulations of neural circuits could capture the fundamental constraints of biological intelligence, which serve as templates for building safer AI systems. Connectomics has had a quiet revolution over the last couple of years, and the costs have fallen precipitously from last year&#8217;s estimate of 15B$ for a whole-mouse connectome. <a href="https://e11.bio/news/roadmap">E11 Bio, lead by our co-author Andrew Payne, projects that they can achieve 100-fold reduction in cost in 5 years</a>. We have a lot of great background material on light-sheet expansion microscopy and barcoding and discussions on compute necessary to simulate an entire nervous system.</p></li><li><p><strong><a href="https://neuroaisafety.com/5-sec-develop-better-cognitive-architectures">Build better cognitive architectures.</a></strong> Based on our understanding of how the brain implements capabilities like theory of mind, causal reasoning, and cooperation, we could build modular, probabilistic and transparent cognitive architectures that better align with human values and intentions. This section was contributed by <a href="https://www.basis.ai/">Basis</a> and their collaborators, experts in cognitive architectures. Probabilistic models of cognition are having a moment, and it might be the right time to build an analog of PyTorch for Bayesian cognitive architectures, together with large-scale naturalistic datasets.</p></li><li><p><strong><a href="https://neuroaisafety.com/6-sec-use-brain-data-to-finetune-ai-systems">Advance brain-informed process supervision.</a></strong> Using neural and behavioral data, we could fine-tune existing AI models to better align with brains and encourage safe behavior. This is a surprisingly under-studied area, accessible to many given the existence of large-scale open fMRI datasets. I had to rewrite this section in October in light of <a href="https://arxiv.org/abs/2410.09230">this recent paper</a> from Mariya Toneva&#8217;s lab showing a proof-of-concept in fine-tuning audio models with brain data; things move quickly!</p></li><li><p><strong><a href="https://neuroaisafety.com/7-sec-infer-the-loss-functions-of-the-brain">Reverse-engineer loss functions of the brain.</a></strong> Using functional, structural and behavioral data to determine the loss functions of the brain, we could derive better training objectives for AI systems. We tried to tackle a mystery that has bugged me for a little while: why have visual brain scores stagnated? Can the methods of task-driven neural networks uncover the brain&#8217;s true loss functions? And can we use the mapping between RL and the brain to uncover the brain&#8217;s reward function? This could be the basis for a robust research program.</p></li><li><p><strong><a href="https://neuroaisafety.com/8-sec-leverage-neuroscience-inspired-methods-for-mechanistic-interpretability">Leverage neuroscience-inspired methods for mechanistic interpretability.</a></strong> At a meta-level, we could apply the tools of neuroscience we use to study biological neural networks to understand artificial ones, and vice-versa. This could help make AI systems more transparent and verifiable, and help us accelerate learning from the brain. I&#8217;m impressed with the advances in mechanistic interpretability over the last couple of years, which I hope we port over to neuroscience soon; more on that in a later blog post.</p></li></ul><div class="native-video-embed" data-component-name="VideoPlaceholder" data-attrs="{&quot;mediaUploadId&quot;:&quot;4ec17060-f7bc-47de-af18-df7a351a94c8&quot;,&quot;duration&quot;:null}"></div><p><em>Video</em>: <a href="https://e11.bio/news/roadmap">Optical reconstruction of brain circuits, from E11Bio</a>.</p><p>Now, the paper can be read out of order, but the approaches are not independent &#8211; progress in one area means progress in others. What we need to advance AI safety through neuroscience is a <strong>coordinated effort that advances them all in parallel</strong>. This means investing in neurotechnology development, scaling up neural recording capabilities, and building neural models at scale across abstraction levels.</p><div><hr></div><p>Once again, the whole roadmap can be read on:</p><ul><li><p>Website: <a href="https://neuroaisafety.com/">neuroaisafety.com</a></p></li><li><p><a href="https://arxiv.org/abs/2411.18526">Paper on arXiv</a></p></li></ul><p>Please reach out to <a href="mailto:neuroaisafety@amaranth.foundation">neuroaisafety@amaranth.foundation</a> for comments and next steps.</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>While my dog can warm things and has a predilection for popcorn, I&#8217;m pretty sure he&#8217;s not secretly a microwave.</p></div></div>]]></content:encoded></item><item><title><![CDATA[Foundation models for neuroscience]]></title><description><![CDATA[Opportunities and pitfalls of large-scale models]]></description><link>https://www.neuroai.science/p/foundation-models-for-neuroscience</link><guid isPermaLink="false">https://www.neuroai.science/p/foundation-models-for-neuroscience</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Mon, 12 Aug 2024 20:18:12 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/d1a39b2d-b6ea-4736-8fd1-71eb53a9466d_896x706.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I&#8217;m <a href="https://www.ninds.nih.gov/news-events/events/brain-neuroethics-working-group-newg-meeting-august-2024">giving a talk for the NIH Neuroethics Working Group (NEWG)</a> on foundation models for neuroscience on Aug 21st<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>. The audience is neuroscientists, philosophers and ethicists involved in the burgeoning field of neuroethics. &#8220;Foundation models for neuroscience&#8221; is a broad enough topic that it can be hard to talk about all its implications&#8211;both opportunities and ethical pitfalls&#8211;in a precise way. I&#8217;ll focus on a technical overview of the field, at a sufficiently high level of abstraction that folks outside of technical AI work will be able to follow, yet concrete enough that we can talk about specific risks and opportunities. It&#8217;s a tough line to skirt, so I&#8217;ve decided to write some of my remarks here and collect early feedback. </p><p>This post will start less technical than usual, but it will ramp up in later sections. I would love to hear your thoughts in the comments, via <a href="mailto:patrick.mineault@gmail.com">email</a> or on <a href="https://x.com/patrickmineault">X</a>. Let&#8217;s go!</p><h1>What&#8217;s a foundation model, anyway?</h1><p>A foundation model is an AI model that serves as a <em>foundation&#8211;</em>a basis<em>&#8211;</em>for multiple downstream use cases. Some defining characteristics of a foundation model include:</p><ul><li><p>It&#8217;s pre-trained in a self-supervised or unsupervised way to learn the distribution of the data it attempts to model</p></li><li><p>It is then finetuned to allow it to perform a downstream task</p></li><li><p>It is trained on large-scale data</p></li><li><p>It leverages large-scale compute</p></li><li><p>It contains a large number of parameters</p></li><li><p>It leverages generic architectures with weak inductive biases&#8211;mostly transformers, but also convolutional neural networks and state-space models&#8211;that are well adapted to training at scale in highly performant clusters</p></li><li><p>Its performance on its pre-training task is predictable as a function of data size, compute, and model size&#8211;<a href="https://arxiv.org/abs/2001.08361">scaling laws</a></p></li><li><p>They may display emergent properties not immediately visible in the pre-training task</p><ul><li><p>Large language models, in particular, display emergent properties such as reasoning and in-context learning, despite being pre-trained on next-token prediction</p></li></ul></li><li><p>A foundation model is composable; its trained weights, the result of large-scale training, can be used to initialize larger systems, which may include other foundation models or conventional machine learning models as subcomponents.</p></li></ul><p>This setup in terms of stages of pre-training and several stages of fine-tuning was popularized by <a href="https://arxiv.org/abs/1801.06146">ULMFit</a>, which proposed this pipeline for natural language processing:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WWnK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WWnK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png 424w, https://substackcdn.com/image/fetch/$s_!WWnK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png 848w, https://substackcdn.com/image/fetch/$s_!WWnK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png 1272w, https://substackcdn.com/image/fetch/$s_!WWnK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WWnK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png" width="1456" height="828" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:828,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:739887,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WWnK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png 424w, https://substackcdn.com/image/fetch/$s_!WWnK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png 848w, https://substackcdn.com/image/fetch/$s_!WWnK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.png 1272w, https://substackcdn.com/image/fetch/$s_!WWnK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc38a6f1d-2dde-4418-ad22-11b5838b60ff_2382x1354.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 role="img" 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><title></title><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">An early example of a pretraining to finetuning pipeline in ULMFit</figcaption></figure></div><p>Foundation models include:</p><ul><li><p>Large language models, LLMs, such as GPT-4, Gemini, Claude or Llama</p></li><li><p>Vision models such as ViT-22B or Segment Anything Model (SAM-2)</p></li><li><p>Generative vision models such as Dall-E, Stable Diffusion and MidJourney</p></li><li><p>Speech-to-text models such as Whisper or DeepSpeech</p></li><li><p>Generative audio models such as Udio or Suno</p></li><li><p>Vision-language models (VLMs) such as CLIP and SLIP</p></li><li><p>Vision-action models such as PaLM-SayCan</p></li><li><p>DNA, RNA and protein foundation models such as Evo, AlphaFold, RoseTTAFold and ESM-3</p></li></ul><p>Models have different levels of openness, including:</p><ul><li><p>Closed source, usable via a web of chat interface</p><ul><li><p>Perhaps the model is available via an API, which facilitates automation</p></li></ul></li><li><p>Open weights, which means that the model and its checkpoints are available, but training scripts and data might not be available</p></li><li><p>Open source, which means that everything needed to reproduce a training run is available, including training scripts and data (although, in practice, one might not have the resources to do so) </p></li></ul><p>Conventionally, the most capable foundation models have been closed-source models, although the gap has closed recently. Open weights and open source models are most relevant to composability: they can be easily integrated into a larger model and adapted&#8211;fine-tuned&#8211;for downstream use cases, in particular for science.</p><h2>A specific example: Llama</h2><p>To make things concrete, let&#8217;s look at a specific model, <a href="https://ai.meta.com/blog/meta-llama-3-1/">Llama 3.1-405B-Chat</a>. This is an open weights large language model (LLM), tuned for chat, trained and released by Meta in July 2024. It is, at the time of writing, one of the most performant open weights large language models out there. Let&#8217;s see how it stacks up to the foundation model checklist:</p><ul><li><p>It&#8217;s pre-trained to perform next-token prediction on text from the internet: predicting what comes next in a sentence</p></li><li><p>It&#8217;s fine-tuned to be useful as a chat model in several rounds, using a combination of supervised finetuning (SFT) and direct preference optimization (DPO)</p></li><li><p>It&#8217;s trained on 15.6 trillion tokens, a significant subset of the internet. Writing this text would take a single human tens of thousands of years.</p></li><li><p>It&#8217;s trained on up to 16,000 H100 GPUs for a total of 39.3M GPU hours, which on the open market would cost about 80M$.</p><ul><li><p>This is only part of the total cost of the project. At 500 listed contributors, <a href="https://www.levels.fyi/companies/facebook/salaries/software-engineer/levels/e5">salaries</a> likely add up to a comparable amount to the compute cost.</p></li></ul></li><li><p>It contains 405 billion parameters, which is far larger than what will fit in a single GPU&#8217;s RAM. </p></li><li><p>It&#8217;s based on a transformer that is largely unchanged from previous generations of the same model</p></li><li><p>The hyperparameters of the model&#8211;the number of training tokens and weights&#8211;were tuned to maximize performance for a fixed training budget by training small-scale models, computing scaling laws and extrapolating.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!B6kV!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!B6kV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png 424w, https://substackcdn.com/image/fetch/$s_!B6kV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png 848w, https://substackcdn.com/image/fetch/$s_!B6kV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png 1272w, https://substackcdn.com/image/fetch/$s_!B6kV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!B6kV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png" width="302" height="292.4476885644769" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f33d12f6-ce58-4494-85e6-b90a10742236_822x796.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:796,&quot;width&quot;:822,&quot;resizeWidth&quot;:302,&quot;bytes&quot;:138756,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!B6kV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png 424w, https://substackcdn.com/image/fetch/$s_!B6kV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png 848w, https://substackcdn.com/image/fetch/$s_!B6kV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.png 1272w, https://substackcdn.com/image/fetch/$s_!B6kV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff33d12f6-ce58-4494-85e6-b90a10742236_822x796.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 role="img" 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><title></title><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">Scaling laws for smaller variants of Llama, used for hyperparameter tuning</figcaption></figure></div></li><li><p>It displays strong results on downstream tasks including question answering, code generation, and multilingual reasoning</p></li></ul><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!f-YJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!f-YJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png 424w, https://substackcdn.com/image/fetch/$s_!f-YJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png 848w, https://substackcdn.com/image/fetch/$s_!f-YJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png 1272w, https://substackcdn.com/image/fetch/$s_!f-YJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!f-YJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png" width="1456" height="867" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/276cae26-f97d-42ca-9140-86841041d659_2244x1336.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:867,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:500646,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!f-YJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png 424w, https://substackcdn.com/image/fetch/$s_!f-YJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png 848w, https://substackcdn.com/image/fetch/$s_!f-YJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.png 1272w, https://substackcdn.com/image/fetch/$s_!f-YJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F276cae26-f97d-42ca-9140-86841041d659_2244x1336.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 role="img" 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><title></title><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">Llama shows strong performance beyond its pretraining objective</figcaption></figure></div><ul><li><p>Some of its variants include adapters to ingest images, video and audio. The image encoder is a variant of CLIP. It is pre-trained on 2.5 billion pairs of images and corresponding text before being integrated as a component of Llama and fine-tuned end-to-end.</p></li></ul><p>Already, we see several common characteristics of foundation models compared to more conventional, smaller-scale deep learning models that will be relevant to ethical discussions:</p><ul><li><p>They require large-scale engineering efforts to train from scratch, often far larger than what is available in a single academic lab</p><ul><li><p>Academic actors may, however, be in a good position to perform finetuning or evaluations of models which have been released as open weights</p></li><li><p>The <a href="https://ndif.us/">National Deep Inference Fabric</a>, spearheaded by David Bau, is experimenting with offering free compute to academics trying to figure out  what&#8217;s going on inside of large-scale models.</p></li></ul></li><li><p>Pre-training data is critical for the operation of these models. However, the sheer scale of the pre-training data makes inspecting the raw data challenging.</p><ul><li><p>There have been high-profile instances where very problematic data were part of training sets, <a href="https://www.theverge.com/2023/12/20/24009418/generative-ai-image-laion-csam-google-stability-stanford">including CSAM</a> in the case of the LAION-5B image set. </p></li></ul></li><li><p>Evaluation of model capabilities and limitations is non-trivial, as one-dimensional downstream metrics don&#8217;t capture the full breadth of what is in the models</p></li><li><p>Because of their sheer size, it&#8217;s challenging to understand why foundation models work and to attribute their predictions to specific architectural components or data</p><ul><li><p>There is an entire subfield of interpretability, including mechanistic interpretability and representation engineering approaches, that seeks to find mechanistic explanations for how the models work and to move them toward more helpful, less harmful behaviour. It&#8217;s become fashionable to release interpretable decompositions of these models to try and figure out what&#8217;s going on inside (e.g. the recent <a href="https://developers.googleblog.com/en/smaller-safer-more-transparent-advancing-responsible-ai-with-gemma/">Gemma Scope</a> from Google Deepmind).</p></li></ul></li><li><p>Composability, the wide availability of engineering tools and plentiful capital means that the field evolves very rapidly, and it can be hard to keep up</p><ul><li><p>Blogs, newsletters and podcasts such as <a href="https://buttondown.email/ainews">AINews</a> (technical) or <a href="https://www.oneusefulthing.org/">One Useful Thing</a> (by UPenn prof Ethan Mollick, but aimed at a generalist audience) can help cut out the noise compared to the firehose of arXiv and conference papers.</p></li></ul></li></ul><h1>What&#8217;s a foundation model for neuroscience?</h1><p>Neuroscience is no stranger to the excitement around foundation models, and there have been several papers moving in that direction. I&#8217;m not going to make a strict distinction between foundation models and conventional machine learning models in neuroscience for this discussion but rather will focus on models which check off a large subset of the foundation model checklist.</p><p>We can broadly categorize these models in terms of which specific aspect of the relationship between an organism, its brain activity and its environment it attempts to model. Consider this (slightly Fristonian) diagram:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!R7CB!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!R7CB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png 424w, https://substackcdn.com/image/fetch/$s_!R7CB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png 848w, https://substackcdn.com/image/fetch/$s_!R7CB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png 1272w, https://substackcdn.com/image/fetch/$s_!R7CB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!R7CB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png" width="1456" height="944" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:944,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:703618,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!R7CB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png 424w, https://substackcdn.com/image/fetch/$s_!R7CB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png 848w, https://substackcdn.com/image/fetch/$s_!R7CB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.png 1272w, https://substackcdn.com/image/fetch/$s_!R7CB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F10146e5f-66e9-40c3-9b94-798a5591aec5_2184x1416.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 role="img" 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><title></title><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">Own work</figcaption></figure></div><p>The world determines the sensory inputs of the subject; the sensory input exogenously drives ongoing neural activity; the neural activity and the mechanics of the body determine its position; and the body affects both the world and the sensory input of the animal. All the while, we can take measurements of brain activity, either invasively or non-invasively. </p><p>Many models perform a kind of graph surgery focusing on one or more nodes of this loopy graph, depending on the end use case<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a>. Keeping in mind that these categories are fluid&#8211;e.g. an encoding model can easily be turned into a decoding model via Bayes&#8217; theorem&#8211;it is nevertheless helpful to distinguish between these scenarios: </p><ul><li><p>Encoding models :: sensation &#8594; measurements. </p><ul><li><p>Data-driven models focus on learning the mapping between sensation to measurement <em>from scratch</em>. When trained at scale on single neuron data, these models are sometimes referred to as <em>digital twins</em>, since they can be used instead of the real brain for virtual experiments (e.g. work from Alex Ecker, Andreas Tolias and many others [<a href="https://www.biorxiv.org/content/10.1101/2022.02.10.479884v1.abstract">1</a>], [<a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10055288/">2</a>], [<a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10690296/">3</a>]). This is most relevant where invasive data is plentiful, and inputs can be easily controlled, e.g. in vision.</p></li><li><p>Goal-driven or task-driven models focus on using AI models&#8211;often foundation models&#8211;trained on specific tasks, and mapping them to or comparing them to the brain. This has been popular not only in the context of vision but also in audition and language (e.g. Dan Yamins, Niko Kriegeskorte, Alex Huth, Ev Fedoronko&#8217;s work). Generally, the starting point has been models trained at large scale on AI tasks for other purposes, for example, image recognition. On occasion, models are trained from scratch, though they generally fall short of qualifying as foundation models (e.g. <a href="https://www.pnas.org/doi/full/10.1073/pnas.2011417118">Mehrer et al 2021</a>, <a href="https://proceedings.neurips.cc/paper/2021/hash/f1676935f9304b97d59b0738289d2e22-Abstract.html">Mineault et al 2021</a>).</p></li></ul></li><li><p>Modelling the distribution of measurements :: measurements</p><ul><li><p>Models can be trained to model the distribution of functional measurements, e.g. spikes trains, calcium imaging, EEG, MEG, fMRI, etc. Models such as <a href="https://www.nature.com/articles/s41592-018-0109-9">LFADS</a> are trained to compress neural data into smaller dimensional latents, which helps denoise and interpret neural data<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-3" href="#footnote-3" target="_self">3</a>. Masking and next-token prediction can also be used to find good latent representations without compression. Such models can be used for co-smoothing (e.g. predicting what a held-out neuron&#8217;s activity should be), or, in the same style as generative pre-trained transformers (GPTs) for text, for autoregressive generation of future neural activity. </p></li><li><p>Measurements can extend to complex structural data, such as transcriptomes,  connectomes or imaging data.</p></li></ul></li><li><p>Decoding models :: measurements &#8594; sensation | behavior. </p><ul><li><p>Decoding models have long been used in the context of brain-computer interfaces, to infer brain states, or to decode images from the brain. The advent of powerful models which find good latent representations of brain measurements has made these models far more powerful. When these models are applied to the decoding of structured sensory modalities (e.g. vision or speech), they can paired with powerful generative AI foundation models, leveraging their modularity. Striking examples have been shown, for example, of decoding seen images from fMRI, or <a href="https://www.nejm.org/doi/full/10.1056/NEJMoa2027540">decoding attempted speech from a locked-in patient in ECoG</a>.</p></li></ul></li><li><p>Models of behaviour :: behaviour</p><ul><li><p>Models such as DeepCutLab&#8211;based on a foundation vision model, and fine-tuned to track specific animals&#8211;have become an integral component of investigations into neuroethology. Extensions to multi-animal tracking, as well as models which can work in the wild on humans, have extended the range of behaviours which can be tracked, quantified and compared.</p></li></ul></li></ul><p>Many excellent reviews have covered some of these topics:</p><ul><li><p><a href="https://arxiv.org/abs/2209.03718">Doerig et al. (2022)</a>: An overview of task-driven neural networks and the overall field of neuroconnectionism</p></li><li><p><a href="https://www.sciencedirect.com/science/article/pii/S0168010224000750">Wang and Chen (2024)</a>: An overview focused on generative decoding models based on foundation models</p></li><li><p><a href="https://www.sciencedirect.com/science/article/pii/S0959438824000436#bbib65">Monosov et al. (2024)</a>: An overview of ethological approaches to computational psychiatry</p></li></ul><p>Here, I&#8217;ll focus on the problem of modelling the distribution of measurements, which has only recently become possible at scale, with promising results. I have not been able to track down a recent review of these models, <a href="https://docs.google.com/spreadsheets/d/1T4PbkcBPSxSJolW0qZAcHigvs7vV5wlf8JUzGtcRjRE/edit?gid=46149349#gid=46149349">but I do keep a running table of the SOTA here</a> (may be outdated by a few months).</p><h1>An illustrative example: Towards a &#8220;universal translator&#8221; for neural dynamics</h1><p><a href="https://arxiv.org/abs/2407.14668">A paper released by Yizi Zhang and my former colleagues at Mila and Georgia Tech</a> a few weeks ago illustrates some of the key technical components involved in learning the distribution of measurements&#8211;here, the distribution of spikes from electrophysiology measurements in mice, from the International Brain Lab (IBL) dataset. The IBL dataset contains large-scale Neuropixels recordings from multiple brain areas&#8211;thalamus, hippocampus, and visual cortex&#8211;while mice perform a decision-making task. This is a very rich dataset containing hundreds of hours of recordings. The authors here focused on a subset of the IBL dataset containing multiple recordings from the same areas, totalling 39 mice and 26,736 neurons.</p><p>The authors propose a pipeline to infer masked neural activity based on unmasked activity. Of note, to learn different useful downstream tasks&#8211;inferring the response of an unrecorded neuron, or region, or to predict neural activity in the future&#8211;the authors propose to train on multiple pretext tasks simultaneously (Tasks 1-4 above). </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!lYCQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!lYCQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png 424w, https://substackcdn.com/image/fetch/$s_!lYCQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png 848w, https://substackcdn.com/image/fetch/$s_!lYCQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png 1272w, https://substackcdn.com/image/fetch/$s_!lYCQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!lYCQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png" width="1456" height="667" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:667,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:526306,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!lYCQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png 424w, https://substackcdn.com/image/fetch/$s_!lYCQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png 848w, https://substackcdn.com/image/fetch/$s_!lYCQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.png 1272w, https://substackcdn.com/image/fetch/$s_!lYCQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F82ae43e7-c040-43e6-8fcb-03d99c81bd2a_2404x1102.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 role="img" 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><title></title><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>It&#8217;s worth it to stop for a second and ponder the nature of the modelling task to be performed. "Learning the dynamics of neural data&#8221; is a task that&#8217;s traditionally been tackled with <em>unsupervised learning</em>. For example, the now classic LFADS model uses a variational auto-encoder to learn an RNN which models the dynamics of neurons at the single session level. Unsupervised learning of that sort can be very efficient, but it does have some disadvantages: powerful generators can ignore learned latents, samples from the model can be over-smoothed, and tracking the progress of the model throughout training can be complicated (see e.g. <a href="https://arxiv.org/abs/1711.00937">the work on VQ-VAE</a> to learn more about some of these issues and can be mitigated).</p><p>By contrast, masked autoencoding turns an unsupervised problem into a supervised learning problem, which is straightforward to train and scale. The model which infers one part of the input from another part of the same input can be pretty much anything one desires&#8211;a CNN, an RNN, a transformer, etc. The Universal Translator uses a version of the Neural Data Transformer&#8211;NDT&#8211; a straightforward scheme proposed by <a href="https://arxiv.org/abs/2108.01210">Ye and Pandarinath (2022)</a>. Specifically, it uses a variant of the NDT architecture which can handle multiple sessions&#8211;namely, NDT-1-stitch.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!IDyb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!IDyb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png 424w, https://substackcdn.com/image/fetch/$s_!IDyb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png 848w, https://substackcdn.com/image/fetch/$s_!IDyb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png 1272w, https://substackcdn.com/image/fetch/$s_!IDyb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!IDyb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png" width="1456" height="666" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:666,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:223611,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!IDyb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png 424w, https://substackcdn.com/image/fetch/$s_!IDyb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png 848w, https://substackcdn.com/image/fetch/$s_!IDyb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.png 1272w, https://substackcdn.com/image/fetch/$s_!IDyb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2e5bb108-3f26-4df5-bd4f-db5765b8bcd8_2100x960.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 role="img" 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><title></title><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">How NDT works. From Ye and Pandarinath (2022)</figcaption></figure></div><p>At the heart of transformer models of neural activity is a <em>patching scheme</em>: a method to transform neural activity into a set of discrete <em>tokens</em> which can be operated on by transformer layers<em>.</em> NDT-1 uses a simple patching scheme, where one time bin corresponds to one token<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-4" href="#footnote-4" target="_self">4</a>. First, neural activity is temporally binned; the original NDT paper uses 10 ms resolution, while the Universal Translator paper uses 20 ms. It&#8217;s then projected using a session-specific embedding matrix onto a fixed dimensional representation. Thus, a trial of length 2s gets transformed to 100 or 200 tokens. Standard transformer layers perform all-to-all attention to iteratively reformat this data. At the final layer, the tokens are unembedded to be used for the pretext task, prediction of masked neural activity. The Poisson loss is used to measure the mismatch between the predictions and the masked data. </p><blockquote><p>Session-specific embedding matrices allow different datasets with different numbers of neurons to be handled by the same, fixed-size model. They also allow the model to implicitly align neurons onto the same latent space, &#8220;stitching&#8221; recordings together. Aligning different neural recordings together is a key technical challenge in these models, because it&#8217;s very unlikely that we ever measure the exact same neurons and voxels in different subjects.</p></blockquote><p>The learned model can be used in several different ways:</p><ol><li><p>It can be used <em>as is</em> to perform <strong>the same tasks</strong> it was trained on: predicting neural activity from one set of neurons to another, one set of areas to another or from the past to the future.</p></li><li><p>The learned model can be used to perform <strong>different tasks</strong> than the one it was trained on. One might <em>freeze</em> the learned model and put a logistic regression on top of the latent activity of the model to perform some downstream decoding task. Alternatively, one might put a (linear) decoder on top of the model and finetune the entire model end-to-end.</p></li></ol><p>Here&#8217;s the model&#8217;s performance on the two sets of tasks. On the left four plots, we see the performance of the model on the same masking tasks the model was trained on. On the right two plots, the model is used to predict the mouse&#8217;s choice on an individual trial and the whisker motion energy during that trial. A baseline using less sophisticated masking is shown at the bottom.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!o0p8!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!o0p8!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png 424w, https://substackcdn.com/image/fetch/$s_!o0p8!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png 848w, https://substackcdn.com/image/fetch/$s_!o0p8!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png 1272w, https://substackcdn.com/image/fetch/$s_!o0p8!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!o0p8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png" width="1456" height="786" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:786,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:479182,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!o0p8!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png 424w, https://substackcdn.com/image/fetch/$s_!o0p8!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png 848w, https://substackcdn.com/image/fetch/$s_!o0p8!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.png 1272w, https://substackcdn.com/image/fetch/$s_!o0p8!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8f82abc7-5e4c-403f-8389-2bbce6a9ae62_2554x1378.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 role="img" 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><title></title><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>These plots showcase typical results from a foundation model in neuroscience:</p><ol><li><p>The model gets better as it is trained on larger and larger amounts of data (scaling laws)</p></li><li><p>The model&#8217;s performance is not restricted to the tasks it was originally trained on: it can be fruitfully finetuned for downstream tasks which leverage the latent representation learned by the model.</p></li></ol><p>Or, as the authors state, &#8220;The performance of our approach continuously scales with more training sessions, indicating its potential as a &#8220;universal translator&#8221; of neural dynamics at single-cell, single-spike resolution.&#8221;</p><h1>More is different</h1><p>In the past, much of neuroscience has been concerned with the analysis of small-scale data, under controlled conditions, in a hypothesis-driven manner. Sophisticated large-scale recording technologies, including Neuropixels, together with archives to store large-scale datasets, many funded by the NIH&#8211;DandiHub, OpenNeuro, DABI, etc.&#8211;have led to an explosion in the size and breadth of publicly available datasets. Realizing the value of these extant datasets requires sophisticated tooling, engineering and methods: stitching together heterogeneous datasets often not designed with foundation models in mind. </p><p>I&#8217;ve had several discussions with hypothesis-driven-minded scientists who deride these efforts as &#8220;mere engineering&#8221; at best, or as &#8220;data dredging&#8221; at worst. I&#8217;ve had an equal number of discussions with professors who are worried about being left behind with the spread of AI methods which are inaccessible to most cash-strapped labs, a view reflected eloquently in a recent wonderfully titled editorial: &#8220;<a href="https://arxiv.org/abs/2304.06035">Choose Your Weapon: Survival Strategies for Depressed AI Academics</a>&#8221;. </p><p>An optimistic viewpoint is that neuroscience is bottlenecked by a lack of tools, and foundation models distilling large-scale datasets are one such set of tools that might be useful for neuroscience. One of David Hubel&#8217;s core contributions to science, predating and enabling his Nobel-prize-winning studies of the visual cortex, was the invention of the tungsten electrode (<a href="https://www.science.org/doi/10.1126/science.125.3247.549">Hubel, 1957</a>). Tools tend to get commoditized; large language models are both far more powerful than predecessor natural language processing models, and far more accessible to the general public. </p><p>Here I show, in a rapid-fire sequence, some of the promise of recent efforts in foundation models for neuroscience, keeping in mind that the promise has yet to be fully realized. In particular, I want to make the case that <em>more is different</em>; that bigger models trained on larger scale data in neuroscience can display <em>qualitatively</em> different behaviour than smaller models.</p><h2>Decoding sentences from EEG</h2><p>Sato et al. propose to decode spoken sentences from EEG. Nothing unusual about this setup, except that they do so in <strong>a single subject from whom they recorded 175 hours</strong> of data.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!F-qe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!F-qe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png 424w, https://substackcdn.com/image/fetch/$s_!F-qe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png 848w, https://substackcdn.com/image/fetch/$s_!F-qe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png 1272w, https://substackcdn.com/image/fetch/$s_!F-qe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!F-qe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png" width="1456" height="608" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:608,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1224870,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!F-qe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png 424w, https://substackcdn.com/image/fetch/$s_!F-qe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png 848w, https://substackcdn.com/image/fetch/$s_!F-qe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.png 1272w, https://substackcdn.com/image/fetch/$s_!F-qe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd9e41abc-c82b-4952-8e2b-3453f33f5471_2552x1066.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 role="img" 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><title></title><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 subject read sentences from a corpus displayed on a computer screen. They shaved the head of the subject (with dozens of sessions, washing gel out of hair becomes a bottleneck!). They trained a decoder composed of several pre-trained off-the-shelf models bundled together and fine-tuned end-to-end. They were able to reach <strong>48% top-1 accuracy</strong> in a difficult 512-sentence classification task. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0u2S!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0u2S!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png 424w, https://substackcdn.com/image/fetch/$s_!0u2S!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png 848w, https://substackcdn.com/image/fetch/$s_!0u2S!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png 1272w, https://substackcdn.com/image/fetch/$s_!0u2S!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!0u2S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png" width="1456" height="491" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/de6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:491,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:520673,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!0u2S!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png 424w, https://substackcdn.com/image/fetch/$s_!0u2S!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png 848w, https://substackcdn.com/image/fetch/$s_!0u2S!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.png 1272w, https://substackcdn.com/image/fetch/$s_!0u2S!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fde6b7d3d-b855-4f4e-a814-ea149dc91dad_2526x852.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 role="img" 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><title></title><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>This is far higher than most people would expect from EEG, which has a reputation as being too noisy to be useful. To be clear, it&#8217;s not yet practical&#8211;who wants to calibrate an EEG headset for many months?&#8211;but it does show that decoding useful data from non-invasive signals might be feasible, especially if the representation generalizes across subjects.</p><h2>Decoding gestures from EMG</h2><p>On the other end of the spectrum, Meta Reality Labs (my former employer many moons ago) <a href="https://www.biorxiv.org/content/10.1101/2024.02.23.581779v2">has released a paper</a> showing their ability to create good <em>generic</em> decoders of wrist-worn EMG by training on lots of subjects. Notably, each subject was recorded for a reasonable amount of time (a little more than an hour).</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8iIO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8iIO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png 424w, https://substackcdn.com/image/fetch/$s_!8iIO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png 848w, https://substackcdn.com/image/fetch/$s_!8iIO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png 1272w, https://substackcdn.com/image/fetch/$s_!8iIO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8iIO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png" width="1456" height="485" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:485,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:389533,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8iIO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png 424w, https://substackcdn.com/image/fetch/$s_!8iIO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png 848w, https://substackcdn.com/image/fetch/$s_!8iIO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.png 1272w, https://substackcdn.com/image/fetch/$s_!8iIO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4602298b-3719-48a3-846a-e2385e63d5a8_1998x666.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 role="img" 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><title></title><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>Notice the x-axis in these plots: the number of training participants is in the thousands. While this is clearly outside of the purview of a single academic lab, forecasting performance from a smaller number of participants via extrapolation of scaling laws might be feasible (see, e.g. <a href="https://arxiv.org/abs/2405.10938">Ruan et al. 2024</a>). </p><h2>Decoding images from the visual cortex</h2><p>Several recent papers propose combining learning good latent representations of fMRI activity and powerful diffusion models to decode images from brains, <a href="https://xcorr.net/2023/02/06/denoising-diffusion-models-for-neuroscience/">which I covered previously</a> on xcorr. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BmPZ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BmPZ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png 424w, https://substackcdn.com/image/fetch/$s_!BmPZ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png 848w, https://substackcdn.com/image/fetch/$s_!BmPZ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png 1272w, https://substackcdn.com/image/fetch/$s_!BmPZ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BmPZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png" width="1456" height="700" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:700,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1748301,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BmPZ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png 424w, https://substackcdn.com/image/fetch/$s_!BmPZ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png 848w, https://substackcdn.com/image/fetch/$s_!BmPZ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.png 1272w, https://substackcdn.com/image/fetch/$s_!BmPZ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F16141e1e-f115-4e52-a2f6-c9d7e7b275f6_2268x1090.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 role="img" 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><title></title><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><a href="https://medarc-ai.github.io/mindeye2/">MindEye 2</a> showcases that it&#8217;s possible to reconstruct images from the visual cortex with as little as one hour of fine-tuning data from that specific subject. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!FBPu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!FBPu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png 424w, https://substackcdn.com/image/fetch/$s_!FBPu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png 848w, https://substackcdn.com/image/fetch/$s_!FBPu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png 1272w, https://substackcdn.com/image/fetch/$s_!FBPu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!FBPu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png" width="1456" height="1187" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1187,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;recon_comparison_horiz-1.png (1623&#215;1323)&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="recon_comparison_horiz-1.png (1623&#215;1323)" title="recon_comparison_horiz-1.png (1623&#215;1323)" srcset="https://substackcdn.com/image/fetch/$s_!FBPu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png 424w, https://substackcdn.com/image/fetch/$s_!FBPu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png 848w, https://substackcdn.com/image/fetch/$s_!FBPu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.png 1272w, https://substackcdn.com/image/fetch/$s_!FBPu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F22d10c79-d5e7-4f7d-b49c-c39a870f2946_1623x1323.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 role="img" 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><title></title><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>This model makes use of all the tricks we&#8217;ve discussed previously&#8211;powerful pre-trained models with specialized bridges that are fine-tuned on large-scale data to enable generalization across subjects. The results are visually striking&#8211;although one has to be careful not to over-extrapolate from the visual results how well the model does.</p><h2>Predicting neuroscience results from text</h2><p>The previous papers make it clear that powerful brain decoders can be built by learning the latent structure of neural data through supervised and unsupervised learning. Foundation models can stitch together large-scale information in ways which exceed the information-processing capabilities of a single human. </p><p>Analogously, large language models can integrate information from large-scale data and identify subtle patterns which are difficult to find in single texts. An impressive recent demonstration is <a href="https://arxiv.org/abs/2403.03230">Luo et al. (2024)</a>, &#8220;Large language models surpass human experts in predicting neuroscience results&#8221;. They measure the ability of LLMs to correctly identify real neuroscience abstracts from counterfactual abstracts.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!D1RG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!D1RG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png 424w, https://substackcdn.com/image/fetch/$s_!D1RG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png 848w, https://substackcdn.com/image/fetch/$s_!D1RG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png 1272w, https://substackcdn.com/image/fetch/$s_!D1RG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!D1RG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png" width="526" height="454.4697802197802" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1258,&quot;width&quot;:1456,&quot;resizeWidth&quot;:526,&quot;bytes&quot;:759899,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!D1RG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png 424w, https://substackcdn.com/image/fetch/$s_!D1RG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png 848w, https://substackcdn.com/image/fetch/$s_!D1RG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.png 1272w, https://substackcdn.com/image/fetch/$s_!D1RG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6173839e-bf66-4a9f-bf75-348b40783061_1738x1502.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 role="img" 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><title></title><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>They assembled a dataset of abstracts published in 2023 in the Journal of Neuroscience and created synthetic versions of the same abstracts with the valence of results inverted. E.g. replacing <em>suppresses</em> with <em>enhances</em>, <em>reduces</em> with <em>increases</em>, etc. They then measured the likelihood of the real and fake abstracts according to pre-trained LLMs, directly using the perplexity measure that these models use to predict the next token. They found that LLMs could indeed identify the correct abstracts more than 80% of the time, despite not having been trained on these abstracts<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-5" href="#footnote-5" target="_self">5</a>, and that this was far higher than human experts (neuroscience PhD trainees and profs without access to a search engine). Base models performed better than chat models, probably related to chat fine-tuning hurting the calibration of these models; and larger models performed better. Of note, the output of the models was not a simple yes/no answer, but rather a continuous variable (perplexity over the abstract, in units of nats) whose absolute value expresses the certainty of the model and correlates with human judgement.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4Inj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4Inj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png 424w, https://substackcdn.com/image/fetch/$s_!4Inj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png 848w, https://substackcdn.com/image/fetch/$s_!4Inj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png 1272w, https://substackcdn.com/image/fetch/$s_!4Inj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4Inj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png" width="1456" height="737" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:737,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:506928,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4Inj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png 424w, https://substackcdn.com/image/fetch/$s_!4Inj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png 848w, https://substackcdn.com/image/fetch/$s_!4Inj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.png 1272w, https://substackcdn.com/image/fetch/$s_!4Inj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F245ba34e-f0ef-4752-bcf3-7bef7990bdfc_2232x1130.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 role="img" 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><title></title><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 resulting model could potentially be used in several use cases, including identifying controversial hypotheses that should be investigated or, conversely, identifying latent hypotheses which are likely to have already been confirmed in the literature. This paper is one example of a recent trend, LLMs for neuroscience, which was recently covered in a review from <a href="https://www.cell.com/neuron/pdf/S0896-6273(24)00042-4.pdf">Danilo Bzdok and colleagues</a>.</p><h2>It&#8217;s not that easy</h2><p>You might come away from this tour with the impression that one can throw a lot of data and compute into a high-capacity model and that&#8217;s the end of it. Of course, it&#8217;s quite a bit more subtle than that. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!R7CL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!R7CL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png 424w, https://substackcdn.com/image/fetch/$s_!R7CL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png 848w, https://substackcdn.com/image/fetch/$s_!R7CL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png 1272w, https://substackcdn.com/image/fetch/$s_!R7CL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!R7CL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png" width="314" height="305.65700483091786" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:806,&quot;width&quot;:828,&quot;resizeWidth&quot;:314,&quot;bytes&quot;:961477,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!R7CL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png 424w, https://substackcdn.com/image/fetch/$s_!R7CL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png 848w, https://substackcdn.com/image/fetch/$s_!R7CL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.png 1272w, https://substackcdn.com/image/fetch/$s_!R7CL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F11fa6b7d-6d76-4c4f-9b9c-61cde7a4dd0c_828x806.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 role="img" 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><title></title><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">The most important feature to detect the tench, a freshwater fish. Identified through <a href="https://serre-lab.github.io/Lens/">LENS</a>.</figcaption></figure></div><p>Foundation models are still susceptible to shortcut learning, where decisions are made based on accidental and brittle correlations. We can easily illustrate this with a ResNet-50 trained on ImageNet. Characteristic features of the category <em>tench</em>, a freshwater Eurasian fish, include human fingers, faces, and camouflage clothes. Here, the shortcut learnt relates to <em>sports fishing</em>: consequently, <a href="https://arxiv.org/abs/2208.11695">identification of the animal in its natural habitat is impaired</a>. Similarly, the EEG speech decoding study almost certainly leveraged EMG artifacts from the jaw muscles generated during overt speech to boost performance, as opposed to decoding only neural activity, although they did bound the extent to which this happens using a synthetic data analysis. </p><p>&#8220;Universal decoders&#8221; can fail if they&#8217;re not trained on representative samples of the population; the Meta team did a good job of recruiting a demographically representative population, but suffice it to say this required a lot of resources that are often inaccessible to single academic labs.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uNqM!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uNqM!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png 424w, https://substackcdn.com/image/fetch/$s_!uNqM!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png 848w, https://substackcdn.com/image/fetch/$s_!uNqM!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png 1272w, https://substackcdn.com/image/fetch/$s_!uNqM!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!uNqM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png" width="1456" height="649" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:649,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:283536,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uNqM!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png 424w, https://substackcdn.com/image/fetch/$s_!uNqM!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png 848w, https://substackcdn.com/image/fetch/$s_!uNqM!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.png 1272w, https://substackcdn.com/image/fetch/$s_!uNqM!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffd499b18-2d96-4a5a-8253-e152fd6c5108_2242x1000.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 role="img" 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><title></title><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">Demographic features in the Meta EMG study</figcaption></figure></div><p>Powerful generative decoders can fool human observers into thinking that they perform better than they actually do. When we judge the quality of a decoder, we might rely on superficial features, like the aesthetic qualities of the generated images or speech, as opposed to how well-grounded the generated sample is to the neural data. <a href="https://arxiv.org/abs/2405.10078">Shirakawa et al. (2024)</a> report that this type of generative decoding model tends to overfit to the distribution of the inputs, such that they fail to generalize out-of-distribution.</p><p>Large-scale models are only as good as the data that&#8217;s fed into them: garbage in, garbage out. LLMs can fall for imitative falsehoods, repeatedly debunked falsehoods in the raw dataset, unless they&#8217;re carefully fine-tuned away. These imitative falsehoods, which can be detected using benchmarks such as <a href="https://arxiv.org/abs/2109.07958">TruthfulQA</a>, can range from the benign&#8211;e.g. the idea that cracking one&#8217;s knuckles causes arthritis&#8211;to the harmful&#8211;election denial and mischaracterizations of the efficacy of vaccines. In the same way that wrong or incomplete neuroscientific hypotheses can have a long shelf life through repetition, for example the chemical imbalance theory of depression, large-language models can fall for oft-repeated but scientifically dubious &#8220;facts&#8221;. </p><p>Finally, large-scale training is not a panacea for all problems. The accuracy on downstream tasks depends not just on the size of the training sets, but also on the accuracy of the labels, the dimensionality of the signal, and the signal-to-noise ratio. <a href="https://www.biorxiv.org/content/10.1101/2022.02.23.481601v1.full">Schulz et al. (2022)</a>, for example, extrapolated from current datasets in brain-imaging-based phenotyping to estimate how well these methods would work when tested on a million subjects.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!u5BO!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!u5BO!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png 424w, https://substackcdn.com/image/fetch/$s_!u5BO!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png 848w, https://substackcdn.com/image/fetch/$s_!u5BO!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png 1272w, https://substackcdn.com/image/fetch/$s_!u5BO!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!u5BO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png" width="1416" height="1338" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1338,&quot;width&quot;:1416,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1441291,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!u5BO!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png 424w, https://substackcdn.com/image/fetch/$s_!u5BO!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png 848w, https://substackcdn.com/image/fetch/$s_!u5BO!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.png 1272w, https://substackcdn.com/image/fetch/$s_!u5BO!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb06c61a1-2169-4c94-9133-73ed698f6092_1416x1338.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 role="img" 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><title></title><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">Projected accuracy of MRI-based phenotyping with scaling. It&#8217;s not pretty.</figcaption></figure></div><p>The results were sobering. Even at a data scale of a million subjects, which could easily cost a billion dollars to acquire, MRI-based classification accuracy was projected to reach roughly 0.6 for depressed vs. not-depressed, barely above chance. Scaling laws can be cruel, with performance improving only log-linearly with dataset size.</p><h1>Foundation models for neuroscience: opportunities and pitfalls</h1><p>We can view foundation models in neuroscience as a logical extension of an ongoing trend: training larger models on ever larger datasets. A basic mental model for the current trends is that it&#8217;s simply more of the same: more data, more parameters, and higher accuracy. Previous assessments of the opportunities of the machine learning models in neuroscience and their pitfalls, in this view, are simply amplified, both positives and negatives.</p><p>I&#8217;ve taken a slightly different view here, which is that bigger models can be <em>qualitatively</em> different:</p><ul><li><p>Foundation models are composable, which enables more rapid progress than training from scratch for each task</p><ul><li><p>Foundation models can be used for multiple downstream tasks&#8211;even unanticipated tasks&#8211;via a simple process of fine-tuning. It moves us from a world of bespoke models to a library model, e.g. LEGO bricks.</p></li><li><p>Although training from scratch is too resource-intensive for many academic labs, downstream uses don&#8217;t require nearly as much compute</p></li></ul></li><li><p>Foundation models can take advantage of unlabelled data, which is far more plentiful than labelled data. Hundreds of thousands of hours of data are stored in public archives such as DANDI, OpenNeuro and DABI.</p><ul><li><p>Although metadata can be of varying quality in these datasets, LLMs can be used to assist in metadata extraction and filtering.</p></li></ul></li><li><p>Foundation models have been proposed for data formats which have resisted conventional large-scale machine learning, e.g. graph data, spikes, transcriptomics, etc.</p></li><li><p>Foundation models are somewhat of a misnomer&#8211;the models themselves, transformers et al.&#8211;don&#8217;t matter nearly as much as the data that&#8217;s used to train and fine-tune the models. This <a href="https://dcai.csail.mit.edu/">data-centric view of AI</a> is a mindset and tooling shift from the previously prominent model-centric view.</p></li></ul><p>I&#8217;m excited about the applications of foundation models in both discovery and applied neuroscience. Powerful, off-the-shelf and accessible tools have the potential to accelerate discovery in neuroscience, by making the value in existing datasets visible. They also have the potential to accelerate applications, for example in the context of brain-computer interfaces, making use of rich data to make invasive interfaces more data efficient and noninvasive interfaces more accurate. </p><p>Foundation models, like their more specialized single-use machine learning predecessors, when used in sensitive human health-related applications, have the potential to amplify societal biases, deplete autonomy and agency, and raise important privacy concerns. These concerns, which also exist for AI systems at large, have been the subject of several excellent books (e.g. <a href="https://en.wikipedia.org/wiki/The_Alignment_Problem">The Alignment Problem</a>). It&#8217;s likely that existing ethical frameworks for machine learning in neuroscience&#8211;e.g. <a href="https://www.nature.com/articles/551159a">here</a> and <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8867294/">here</a>&#8211;already anticipate and can accommodate many of the consequences of foundation models. </p><p>The question that I will try to address during the NEWG meeting is whether there are unique risks which are posed by foundation models over and above conventional models. I&#8217;m a technical person, not a bioethicist, so I tend to think of risks in technical rather than societal terms, <em>caveat lector</em>. There are three unique categories of risks that I foresee. </p><p>The first risk comes from the inscrutability of models trained at a large scale. It takes resources and diligent work to fully characterize the model&#8217;s biases across a wide range of downstream use cases; to suss out instances of shortcut learning; and to visualize all the data used in training. It&#8217;s largely thankless work that&#8217;s poorly incentivized in conventional academic environments&#8211;that is, it maps poorly to papers. It&#8217;s also not necessarily something that scientists are trained to do. </p><p>This could be addressed, however, by novel funding mechanisms specific to tooling, by the hiring of data scientists and engineering, as well as by <a href="https://c4r.io/">building training courses on the uses and misuses of large-scale models</a>. Because foundation models are so data-centric, projects which are organized around the creation of high-quality datasets and tooling are highly relevant. We&#8217;re seeing a Cambrian explosion of innovative non-profit <a href="https://www.convergentresearch.org/">focused research organizations</a> (FROs) and large-scale academic projects that scale neuroscience data collection and foundation models for science, like <a href="https://e11.bio/">e11bio</a>, <a href="https://forestneurotech.org/">Forest Neurotech</a>, <a href="https://www.futurehouse.org/">FutureHouse</a>, and <a href="https://enigmaproject.ai/">the Enigma project</a>.</p><p>The second, related risk stems from the <a href="https://www.sciencedirect.com/science/article/abs/pii/0005109883900468">paradox of automation</a>: as more capable machine learning systems get integrated into decision-making, we trust them more, and become less capable of correcting their mistakes. One (rather naive) example is in automated seizure detection: as machine learning-aided detection becomes broadly more useful, less time is spent on examining the raw data, fewer practitioners are competent in reading the raw data, and mistakes take longer to be noticed and corrected. Human-AI teams tend to cluster into either the human doing all the heavy lifting (when the AI system works poorly) or the AI doing all the work (when the AI system is effective). </p><p>The third is around equitable data access. Foundation models are both data hungry and valuable. The prospect of transforming sensitive neural data, collected through neurotechnology, into intellectual property should give one pause. This raises critical questions about data ownership, privacy, and the potential for exploitation.</p><p>I do think that despite these challenges, these risks can be mitigated with the right regulatory and funding environments. The potential of foundation models in neuroscience to accelerate the discovery to clinical translation pipeline is truly exciting. These models offer unprecedented opportunities to analyze complex neural data at scale, potentially uncovering patterns and relationships that have eluded traditional methods.</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>I&#8217;m speaking after NIH Brain Initiative director John Ngai and MacArthur &#8220;genius award&#8221; recipient Doris Tsao, <em>no pressure</em>.</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>Note also that models aiming to cover all of these nodes simultaneously are in line with recent proposals to create embodied simulations of animals&#8211;e.g. the embodied Turing test proposed by <a href="https://www.nature.com/articles/s41467-023-37180-x">Zador et al (2023)</a>. </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>Finding good representations of neural data is an easier goal than finding the true underlying causal graph generating the data, which in general requires causal interventions. <a href="https://xcorr.net/2021/07/26/dimensionality-reduction-in-neural-data-analysis/">I&#8217;ve discussed this here</a>.</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>Other papers have proposed more sophisticated tokenization schemes, e.g. <a href="https://poyo-brain.github.io/">POYO</a> and <a href="https://www.biorxiv.org/content/10.1101/2023.09.18.558113v1">NDT-2</a>.</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>The models were trained on internet data with a temporal cutoff <em>before</em> the publication of the J Neuroscience papers, which neatly prevents contamination.</p></div></div>]]></content:encoded></item><item><title><![CDATA[Unveiling the Neuromatch course on NeuroAI]]></title><description><![CDATA[Intelligence and generalization in artificial and natural systems]]></description><link>https://www.neuroai.science/p/unveiling-the-neuromatch-course-on</link><guid isPermaLink="false">https://www.neuroai.science/p/unveiling-the-neuromatch-course-on</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Fri, 01 Mar 2024 17:40:37 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!WvCx!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1a3be57f-f6d5-4684-98b8-859ef181e86e_798x798.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p><a href="https://neuromatch.io/neuroai-course/">Neuromatch is unveiling its new course on NeuroAI</a>. This is an advanced course for students who have taken the computational neuroscience (CN) and deep learning (DL) NMA courses, or equivalent. Applications are open from March 1st until March 17th (for TAs) and March 24th (for students). The course will take place July 15th&#8211;July 26th, 2024.</p><p>As with the rest of the Neuromatch courses, it&#8217;s focused on practical computational concepts given in an interactive tutorial format through the Colab platform. Students in small virtual pods go through the course accompanied by a TA, exploring the state-of-the-art in neuroAI. <a href="https://neuromatch.io/">Neuromatch</a> is a 501(c)(3) non-profit dedicated to making science education more accessible and equitable. So far, 10,000 students from over 101 countries and territories have gone through the CN, DL and computational climate science courses.</p><h2>What is neuroAI?</h2><p>Our fearless course director Xaq Pitkow had a mammoth task: to define a burgeoning field that resists a short definition. Through many iterations of the curriculum, we&#8217;ve come to a story that I think is broad, inclusive and narratively satisfying.</p><p>NeuroAI is the study of the common principles behind natural and artificial intelligent systems. There are two main strains of practice in neuroAI:</p><ul><li><p>The neuro &#8594; AI route: learning principles from brains that can be applied to create more robust and efficient artificially intelligent systems. This subfield is often known as neuro-inspired AI.</p></li><li><p>The AI &#8594; neuro route: taking inspiration from advances in artificial intelligence to understand natural intelligence. This subfield has also been referred to as neuroconnectionism.</p></li></ul><p>These threads of research have ancient roots. Homer, in the Ilyad, describes the story of Hephaestus, god of metallurgy, who built a set of artificially intelligent agents (robots) made of gold to assist him in his workshop, in part to relieve him of physical limitations brought by his limp. Understanding biological intelligence&#8211;knowing oneself&#8211;is a theme that runs from classic Greece to ancient Vedic and Taoist traditions, with the first medical investigations of the brain documented in an <a href="https://en.wikipedia.org/wiki/Edwin_Smith_Papyrus">ancient Egyptian papyrus dated 1600 BC</a>. </p><p>The fact that these roots are so deep hints that both neuro and AI are tapping into deeply human desires to understand and build. One of the founding principles of the course is to instill a radical curiosity in students toward the goals of other disciplines. That means immersing oneself in the language and social context of both these disciplines and committing to read the primary literature from both sides. This is the key to bridging the gap between AI and neuroscience. </p><h2>Generalization and inductive biases</h2><p>We could have told many stories about natural and artificial intelligence to build a coherent narrative: phylogenetic refinement vs. the artificial evolution of AI systems;  prediction and prospective learning; optimization of behaviour under resource constraints. Each of these contains a facet of truth about neuroAI, and one could create an entire course around each of these ideas. </p><p>I really like where we ended up with the overarching narrative: intelligent systems generalize. Intelligent systems must be able to adapt to changing circumstances&#8211;including circumstances previously unseen&#8211;rapidly and effectively. Because of the no-free lunch theorem, generalizing to arbitrary circumstances is impossible; it is only by having strong inductive biases that we&#8217;re able to generalize beyond our immediate experiences.</p><p>Starting from that premise, the course covers a wide range of topics from basic neuroscience all the way to theoretical deep learning, from synapses to symmetry. It&#8217;s a wide scope, and recognizing that a lot of the questions in our field are unsettled, we build each day in a T-shaped structure: we go broad in the intro lectures, and go deep in the weeds in the tutorials. We always tie back the days to the question of generalization. Our goal was to give students from all backgrounds the ability to read other literatures through a dense map of concepts tying the two fields together, and to continue on their learning journey far beyond the end of the course.</p><h2>Course structure</h2><p>There are 9 days of content, spread over two weeks:</p><ul><li><p>Overview of neuroAI</p></li><li><p>Comparing tasks</p></li><li><p>Comparing networks</p></li><li><p>Micro-architecture</p></li><li><p>Macro-architecture</p></li><li><p>Cognitive structures</p></li><li><p>Micro-learning</p></li><li><p>Macro-learning</p></li><li><p>Mysteries</p></li></ul><p>Students get to practice these concepts deeper in a set of projects led by the amazing Eva Dyer. </p><h2>Sign up now</h2><p><a href="https://neuromatch.io/neuroai-course/">Applications are open</a> from March 1st until March 17th (for TAs) and March 24th (for students). Course tuition is adjusted according to local cost-of-living to be affordable for all. It&#8217;s a great occasion to be part of the inaugural class for what we hope will be a foundation for the next generation of neuroAI scientists.</p><p><a href="https://arni-institute.org/">We are grateful to ARNI, the NSF AI Institute for Artificial and Natural Intelligence, for their support</a>.</p>]]></content:encoded></item><item><title><![CDATA[Artificial intelligence by mimicking natural intelligence]]></title><description><![CDATA[Connectomics, behavioural cloning, lo-fi and hi-fi whole-brain emulation]]></description><link>https://www.neuroai.science/p/connectomics-behavioural-cloning</link><guid isPermaLink="false">https://www.neuroai.science/p/connectomics-behavioural-cloning</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Mon, 08 Jan 2024 17:03:53 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/5c2cda28-c311-4891-8f12-7ab523f5fe97_2352x1384.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I had a chance to watch this <a href="https://foresight.org/technologies/neurotech-improving-cognition/">seminar series</a> and <a href="https://foresight.org/whole-brain-emulation-workshop-2023/">workshop</a> from the Foresight Institute on Whole-Brain Emulation (WBE) as a path to Artificial General Intelligence (AGI). WBE is definitely <em>out there</em>. There are, however, some fascinating ideas I wanted to cover here. This is going to be a bit more speculative than what I usually cover, but I want to leave some breathing room for big ideas.</p><p>The idea behind WBE is appealingly simple: if you can simulate a human brain <em>in silico </em>in excruciating detail, you&#8217;ve got an AGI. Simulate it faster, fix the &#8220;bugs&#8221; (e.g. lower plasticity in later adulthood) and you have faster-than-human general intelligence. This field has seen cycles of hype (e.g. TED talks <a href="https://www.youtube.com/watch?v=HA7GwKXfJB0">1</a>, <a href="https://www.youtube.com/watch?v=LS3wMC2BpxU">2</a>) and disappointment, as captured in the wonderful film <a href="https://insilicofilm.com/">In Silico</a>. We&#8217;re currently past a cycle of hype and have seen some real results coming from the field of connectomics.</p><h1>Hi-fi paths toward WBE</h1><p>Slice the brain using electron microscopy, use petascale computing to label and stitch together the slices, and you have yourself a connectome. <a href="https://www.microns-explorer.org/">The MiCRONS project</a> has done this for a millimetre-cube of cortex in mice; the fly connectome has already revolutionized the study of these organisms.</p><div id="youtube2-PeyHKdmBpqY" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;PeyHKdmBpqY&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/PeyHKdmBpqY?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>Provided a connectome for a whole brain, it&#8217;s possible to simulate the model forward, using single-neuron models of varying biological plausibility, from linear-integrate-and-fire to detailed multi-compartment models with Hodgkin-Huxley dynamics. Simulate the body and environment, in addition, and you have yourself a whole-brain-body-environment simulation. We&#8217;re not there yet, but one could imagine this could happen in the not-too-distant future, especially for smaller organisms.</p><p>How well would this work? It depends on the answer to a few empirical questions. <a href="http://file:///Users/patrickmineault/Zotero/storage/XLXU8GLK/is-the-brain-uncontrollable-like-the-weather.html">There was a recent article from Nicole Rust in The Transmitter magazine on whether the brain is chaotic</a>, that is, whether it displays exponential sensitivity to initial conditions. If the brain displays chaos, small measurement errors in initial conditions will propagate to arbitrarily large errors over time. It&#8217;s likely that if the brain is chaotic with respect to neural activity, then it will also display exponential sensitivity to the weights of its connection matrix. Chaos is incompatible with <em>literal</em> whole-brain emulation, in the same way that you can&#8217;t literally predict the weather over longer periods than a couple of weeks&#8211;though you can predict the <em>climate</em>.</p><p>There&#8217;s also the open question of how much the static connectome can capture. Dendrites and synapses roll over; we can&#8217;t always infer the strength of a connection from its static shape; there&#8217;s ephaptic coupling and non-synaptic transmission. The latter <a href="https://www.nature.com/articles/s41586-023-06683-4">appears to be a bit of a bottleneck in C Elegans</a>, where recent results show that the connectome is not very predictive of neural activity. </p><h1>Lo-fi paths toward WBE</h1><p>When people talk about WBE, they generally refer to the connectomics route, followed by single-neuron emulation. Indeed, Anders and Bostrom<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a> (2008) wrote  a roadmap for WBE that looks a lot like modern EM-based connectomics. What&#8217;s interesting is how they cast a formal definition of whole-brain emulation, in a footnote in the introduction:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NvZ2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NvZ2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png 424w, https://substackcdn.com/image/fetch/$s_!NvZ2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png 848w, https://substackcdn.com/image/fetch/$s_!NvZ2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png 1272w, https://substackcdn.com/image/fetch/$s_!NvZ2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!NvZ2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png" width="1456" height="500" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:500,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:769908,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NvZ2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png 424w, https://substackcdn.com/image/fetch/$s_!NvZ2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png 848w, https://substackcdn.com/image/fetch/$s_!NvZ2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.png 1272w, https://substackcdn.com/image/fetch/$s_!NvZ2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0e949bb-2995-415c-a6bd-334f618e4b7c_2648x910.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 role="img" 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><title></title><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>Their definition is based on accurately predicting the future state of a brain starting from an initial state. This dynamics-based definition of whole brain emulation looks a lot like time-series forecasting or next-token prediction, in the style of GPT. With modern artificial neural networks (ANNs), direct time-series forecasting without reference to a connectome looks like an increasingly feasible way to achieve something that looks like WBE. </p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!MnJu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!MnJu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png 424w, https://substackcdn.com/image/fetch/$s_!MnJu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png 848w, https://substackcdn.com/image/fetch/$s_!MnJu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png 1272w, https://substackcdn.com/image/fetch/$s_!MnJu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!MnJu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png" width="388" height="211.71492204899778" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:490,&quot;width&quot;:898,&quot;resizeWidth&quot;:388,&quot;bytes&quot;:105052,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!MnJu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png 424w, https://substackcdn.com/image/fetch/$s_!MnJu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png 848w, https://substackcdn.com/image/fetch/$s_!MnJu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png 1272w, https://substackcdn.com/image/fetch/$s_!MnJu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6caf047d-c7ee-431e-b453-2ba1515d426c_898x490.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">Lo-fi approaches as coarse-graining of microscopic (e.g. connectomics) theories. From Chapter 12 of Sean Carroll&#8217;s book, <a href="https://en.wikipedia.org/wiki/The_Big_Picture_(Carroll_book)">The Big Picture</a>.</figcaption></figure></div><p>Furthermore, there is flexibility in how one defines the state. A behaviourist might focus on externally measurable variables only, e.g. the activations of all the muscle afferents of the body as well as the position of the limbs. Someone inspired by Mountcastle might care primarily about the average activity neurons in cortical columns or in mini-columns. In those cases, one reduces the state from trillion-dimensional (i.e. 86 billion neurons times all the state variables in each neuron) to anywhere from a few hundred to perhaps a billion. Bringing down the dimensionality by several orders of magnitude makes these approaches seemingly more tractable over the short term. </p><p>Several people in these Foresight Institute talks refer to these approaches as lo-fi, to distinguish them from more conventional high-fidelity, single neurons+connectome approaches. I wasn&#8217;t able to track down a written reference that uses that term&#8211;it might be a jargon term associated with that Institute, but I think it&#8217;s useful enough that I&#8217;ll use it here. </p><p> <a href="https://www.youtube.com/watch?v=aM01ULgeg3w">Catalin Mitelut categorizes lo-fi approaches into three buckets</a>:</p><ol><li><p>top-down (i.e. behavioural cloning approaches)</p></li><li><p>bottom-up (i.e. neural activity cloning approaches)</p></li><li><p>hybrid approaches</p></li></ol><h2>Top-down (or outside-in) approaches</h2><p>Say that you:</p><ol><li><p>measure behaviour in an animal or a set of animals with high accuracy</p></li><li><p>learn good generative models of it</p></li><li><p>embody it in a virtual body</p></li></ol><p>You might eventually be able to create a virtual agent with all the same capabilities as animals of that species. This is, in theory, no different than generating handwriting, text, or images. Setting aside (dreaded) questions about <a href="https://en.wikipedia.org/wiki/Philosophical_zombie">philosophical zombies</a>, I think this is quite feasible along several different axes.</p><div id="youtube2-sCZKLj6ZiDM" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;sCZKLj6ZiDM&quot;,&quot;startTime&quot;:&quot;7s&quot;,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/sCZKLj6ZiDM?start=7s&amp;rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>Collecting behavioural data is easier than collecting neural data. Deeplabcut and related approaches have made behavioural tracking feasible with off-the-shelf tools. Virtual bodies are getting better thanks in large part to the video game industry (see video above for an example). There is abundant data of playing video games, e.g. <a href="https://minedojo.org/">Minecraft</a>.</p><p>Furthermore, training an artificial neural network in silico on a behavioural task often leads to solutions like the brain&#8217;s [previous coverage on xcorr <a href="https://xcorr.net/2021/12/31/2021-in-review-unsupervised-brain-models/">here</a>, <a href="https://xcorr.net/2023/01/01/2022-in-review-neuroai-comes-of-age/">here</a> and <a href="https://xcorr.net/2023/04/20/how-can-a-neural-network-be-like-the-brain/">here</a>; although <a href="https://www.biorxiv.org/content/10.1101/2022.08.07.503109v2">see here</a> for a counter-example]. Thus, this purely behaviourist approach might find representations which converge to the brain&#8217;s.</p><h3>Aside: metrics</h3><p>An important question is how to measure the capacity of agents that work on the principles of behavioural cloning. The naive approach of the whitepaper, as noted by the whitepaper itself, doesn&#8217;t work if the agents are chaotic; after a certain time horizon, prediction becomes impossible in principle. Varying Turing tests have been proposed to measure the capacity of agents:</p><ol><li><p><a href="https://arxiv.org/abs/2105.09637">Navigation Turing test</a>: &#8220;predicts human judgments of human-likeness&#8221; in the context of a navigation task</p></li><li><p><a href="https://www.nature.com/articles/s41467-023-37180-x">Embodied Turing test</a>: &#8220;challenges AI animal models to interact with the sensorimotor world at skill levels akin to their living counterparts&#8221;</p></li></ol><p>Now, we could use next-token prediction in the style of GPTs for optimization, but we can&#8217;t use that for evaluation over long horizons. In addition, that metric, while useful for pretraining, is not aligned to the final desired outcome. Ultimately, we will need to choose what kinds of behaviours are considered equivalent, or what kinds of equivalence classes are defined by our chosen metric. This papers <a href="https://multiscale-behavior.github.io/">proposes to use distributional alignment</a> rather than MSE or cross-entropy for long-horizon behavioural prediction. </p><h2>Bottom-up (or inside-out) approaches to WBE</h2><p>Mitelut also documents bottom-up approaches to whole-brain emulation. Here, rather than cloning the behaviour of an organism, one clones neural activity, i.e. the electrophysiological activity of neurons. <a href="https://arxiv.org/abs/2308.06578">Konrad Kording and colleagues are proposing to use causal manipulation of neural activity in C Elegans</a> to fully reverse engineer a worm&#8217;s brain, thus sidestepping the issues translating the connectome to neural activity. But could you scale this to a mouse or a man?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!VZS5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!VZS5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png 424w, https://substackcdn.com/image/fetch/$s_!VZS5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png 848w, https://substackcdn.com/image/fetch/$s_!VZS5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png 1272w, https://substackcdn.com/image/fetch/$s_!VZS5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!VZS5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png" width="1214" height="960" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:960,&quot;width&quot;:1214,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:619944,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!VZS5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png 424w, https://substackcdn.com/image/fetch/$s_!VZS5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png 848w, https://substackcdn.com/image/fetch/$s_!VZS5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.png 1272w, https://substackcdn.com/image/fetch/$s_!VZS5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F52ff0ec3-6630-479d-8dbb-7dfe9a570070_1214x960.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 role="img" 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><title></title><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">From Haspel et al. (2023)</figcaption></figure></div><p>Mitelut points out that, extrapolating from current trends (e.g. Stevenson and Kording 2011), we wouldn&#8217;t reach human whole-brain recording capacity until the 2060s, by which time I will be retired. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!t95V!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!t95V!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png 424w, https://substackcdn.com/image/fetch/$s_!t95V!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png 848w, https://substackcdn.com/image/fetch/$s_!t95V!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png 1272w, https://substackcdn.com/image/fetch/$s_!t95V!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!t95V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png" width="1456" height="1121" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1121,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:203742,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!t95V!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png 424w, https://substackcdn.com/image/fetch/$s_!t95V!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png 848w, https://substackcdn.com/image/fetch/$s_!t95V!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.png 1272w, https://substackcdn.com/image/fetch/$s_!t95V!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1844b50c-8532-4b77-98a8-7f44d9517c74_1564x1204.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 role="img" 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><title></title><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">When will we be able to record all of human cortex? From Mitelut et al. (2023)</figcaption></figure></div><p>That conclusion rests on a few assumptions, which I think are debatable:</p><ol><li><p>There will be no breakthrough technologies in brain recording that change the slope of the current curve. People are trying to change that, e.g. Sumner Norman has a <a href="https://forestneurotech.org/">new startup using ultrasound for whole-brain recording</a>, <a href="https://www.openwater.health/">Mary-Lou Jepson is pushing forward with OpenWater</a>, my old group at Facebook <a href="https://research.facebook.com/publications/high-sensitivity-multispeckle-diffuse-correlation-spectroscopy/">demonstrated 32X increase in SNR in diffuse correlation spectroscopy</a>, etc. </p></li><li><p>You need to record the whole brain to have any chance at WBE via this bottom-up approach. <a href="https://www.cell.com/neuron/pdf/S0896-6273(17)30463-4.pdf">If you believe the random manifold theory of brain coding</a>, a random sparse subset should be sufficient.</p></li><li><p>You can&#8217;t stitch together recordings from multiple organisms together to obtain one equivalent amortized organism. Recent results from Matt Perich, Juan Gallego and co. show that <a href="https://www.nature.com/articles/s41586-023-06714-0">different individuals from the same species learn equivalent latent manifolds to solve motor tasks</a>, which means alignment should be feasible in theory. This has motivated some <a href="https://poyo-brain.github.io/">significant advances in neural stitching</a> from my colleagues and I, which I think could change the game. </p></li></ol><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!XkVI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!XkVI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png 424w, https://substackcdn.com/image/fetch/$s_!XkVI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png 848w, https://substackcdn.com/image/fetch/$s_!XkVI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png 1272w, https://substackcdn.com/image/fetch/$s_!XkVI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!XkVI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png" width="1402" height="1050" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1050,&quot;width&quot;:1402,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:591848,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!XkVI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png 424w, https://substackcdn.com/image/fetch/$s_!XkVI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png 848w, https://substackcdn.com/image/fetch/$s_!XkVI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.png 1272w, https://substackcdn.com/image/fetch/$s_!XkVI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3f8389b3-bddc-4c58-8b2d-24986ef9b9bd_1402x1050.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 role="img" 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><title></title><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">Different neurons in different individuals, same behaviour driven by the same latent manifold. <a href="https://www.nature.com/articles/s41586-023-06714-0">From Safaie et al. (2023)</a>.</figcaption></figure></div><p>I agree in principle, however, that purely bottom-up approaches are hard to get working without any anchoring to behaviour.</p><h2>Hybrid approaches to WBE</h2><p>That brings me to a third set of approaches, which attempt to stitch together observed behaviour and neural data. There hasn&#8217;t been a ton of work in this area, but I&#8217;m quite bullish on the whole concept. </p><p>We&#8217;ve seen a few areas where training a particular ANN architecture, with the right inductive biases, on the right combination of tasks, leads to a trained architecture that has an excellent one-to-one correspondence between simulated and real units. This <a href="https://www.sciencedirect.com/science/article/pii/S0896627323004671">has been shown in the retina</a> by Niru Maheswaranathan et al. (2023), which I mentioned a few newsletters ago. This is also apparent in work from <a href="https://www.biorxiv.org/content/10.1101/2023.03.11.532232v1">Lappalainen et al.</a> (2023), which trained a network with the exact connectome of a fly, derived from EM, with task-driven learning, to obtain a pretty solid model of a fly&#8217;s optic flow detection system.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8qnG!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8qnG!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png 424w, https://substackcdn.com/image/fetch/$s_!8qnG!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png 848w, https://substackcdn.com/image/fetch/$s_!8qnG!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png 1272w, https://substackcdn.com/image/fetch/$s_!8qnG!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8qnG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png" width="1118" height="806" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:806,&quot;width&quot;:1118,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:227485,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8qnG!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png 424w, https://substackcdn.com/image/fetch/$s_!8qnG!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png 848w, https://substackcdn.com/image/fetch/$s_!8qnG!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.png 1272w, https://substackcdn.com/image/fetch/$s_!8qnG!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6ccc025d-ac53-4848-ba36-143b2d34fe08_1118x806.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 role="img" 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><title></title><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">From <a href="https://www.biorxiv.org/content/10.1101/2023.03.11.532232v1">Lappalainen et al.</a> (2023)</figcaption></figure></div><h1>Challenges and opportunities</h1><p>From watching a number of the talks in this series, WBE&#8211;lo-fi and hi-fi varieties&#8211;is more feasible than I had originally pegged my estimate. It certainly seems a lot closer than the 40-50-year timeline that I&#8217;ve seen quoted (<a href="https://epochai.org/blog/literature-review-of-transformative-artificial-intelligence-timelines">reference</a>; derived from surveys of AI researchers), especially when it comes to lower-fidelity approaches. Are we likely to bump into insurmountable obstacles along the way?</p><p>The original whitepaper estimated that in 2019, a human-sized population of integrate-and-fire neurons could be simulated by a supercomputer that costs a million dollars. Are we close to the count? If we stick to a 1 exaflop estimate for a whole human brain, we could achieve real-time simulation with 1000 H100s<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-2" href="#footnote-2" target="_self">2</a>. That would cost more than a million dollars (perhaps 30M$<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-3" href="#footnote-3" target="_self">3</a>), but it&#8217;s not an infinite amount of money either, nor is it out of reach of the best-funded academic institutions. As a point of reference, Harvard&#8217;s Kempner Institute announced <a href="https://www.harvard.edu/kempner-institute/2023/10/16/kempner-institute-adds-400-h100-gpus-to-its-computing-cluster-to-support-intelligence-research/">it would acquire 384 H100s</a>.</p><p>If compute is not a limitation, then what is? If we require a whole connectome, we&#8217;re talking billions of dollars at current costs to acquire that data (it cost ~100M$ to scan 1 mm3 of mouse cortex in the MiCRONS program). If we assume that the cortical algorithm is universal&#8211;that we can infer universal connection rules from measurements of partial connectomes&#8211;then we might not need a whole-brain connectome. Lo-fi approaches based on distilling behavioural and neural data are cheaper still. How much brain and behaviour data do we need for lo-fi approaches? </p><p>Another open question is about reducibility. What is the purpose of a WBE model at 1/10th the (spatial|temporal|behavioural|neural) resolution? 1/1000th? What about coverage: do we get anything by simulating, with very high accuracy, a small chunk of cortex? </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iggw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iggw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png 424w, https://substackcdn.com/image/fetch/$s_!iggw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png 848w, https://substackcdn.com/image/fetch/$s_!iggw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!iggw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iggw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png" width="1456" height="832" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:832,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1892137,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iggw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png 424w, https://substackcdn.com/image/fetch/$s_!iggw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png 848w, https://substackcdn.com/image/fetch/$s_!iggw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!iggw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9b69454c-ea6b-4cf2-befe-347c28899bf6_1792x1024.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 role="img" 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><title></title><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">Dall-E 3&#8217;s impression of WBE simulations with increasing fidelity</figcaption></figure></div><p>We&#8217;ve learned from the story arc of Henry Markram&#8211;the leader of the Blue Brain project who promised to send a hologram of himself to a TED conference by 2019. We have to have to carefully manage expectations about the potential benefits of simulating a significant chunk of the brain. We have to go several levels deeper to identify the downstream users of these technologies and find capabilities which are likely to be unlocked at different levels of resolution of these technologies. If we shoot for the stars and miss, can we make it to the moon? While the endgame may be a form of AI, the intermediate applications are likely to be in human health.</p><p>If we can make clear the link between the fidelity of a simulation and <a href="https://future.com/applications-ai-models-of-the-brain-aka-neuroai/">corresponding capabilities which get unlocked</a>, we&#8217;ll have a much clearer technology tree benefitting both AI and neuroscience. This is an exciting project for NeuroAI in the coming years.  </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>Yes, that Bostrom. He&#8217;s problematic, to say the least. I haven&#8217;t been able to find a good replacement reference on the same topic. </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>This is a back-of-the-envelope calculation&#8211;it could be off by an order of magnitude on either side.</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>For mere mortals; <a href="https://www.techspot.com/news/99839-nvidia-garners-reported-1000-profit-each-h100-gpu.html#:~:text=For%20every%20H100%20GPU%20accelerator%20sold%2C%20Nvidia%20appears,reported%20margins%20reaching%201%2C000%20percent%20of%20production%20costs.">for Nvidia, it might cost more on the order of 3M$</a>.</p></div></div>]]></content:encoded></item><item><title><![CDATA[An end-of-year look at theories of everything]]></title><description><![CDATA[Theories of everything, everywhere, all at once]]></description><link>https://www.neuroai.science/p/an-end-of-year-look-at-theories-of</link><guid isPermaLink="false">https://www.neuroai.science/p/an-end-of-year-look-at-theories-of</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Sat, 30 Dec 2023 17:38:21 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!dsLQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>It&#8217;s been a whirlwind year in NeuroAI. I have over 250 papers saved up in a folder in Zotero of NeuroAI papers I saw fly by in 2023&#8211;and that <a href="https://www.neuroai.science/p/neuroai-paper-roundup-5-guide-to">doesn&#8217;t include all the NeurIPS papers</a> that came out this December. It was the ballooning of this folder&#8211;as well as the imminent collapse of Twitter/X&#8211;that motivated me to start this newsletter in August. Rather than a traditional end-of-year review, as I did in <a href="https://xcorr.net/2021/12/31/2021-in-review-unsupervised-brain-models/">2021</a> and <a href="https://xcorr.net/2023/01/01/2022-in-review-neuroai-comes-of-age/">2022</a>, I decided to take on a more meta route and discuss some theories of everything in neuroscience and AI. I hope you have a wonderful New Year with friends and loved ones and I&#8217;ll see you in 2024 &#127881; &#127870;</p><h2>Theories of everything in neuroscience</h2><p>Why are we here? What are brains for? What is intelligence? Given looming deadlines and an ever-growing to-do list, it&#8217;s hard to think deeply about these things for more than a couple of hours at a time. I decided to take some time over the holidays to think deeply about these issues.</p><p>I was excited to pour over <a href="https://www.amazon.com/Brief-History-Intelligence-Humans-Breakthroughs/dp/0063286343">A Brief History of Intelligence</a> by Max Bennett. It was recommended by Dileep George, who wrote one of the blurbs, and more recently by <a href="https://twitter.com/RichardSSutton/status/1739798608621576441">Richard Sutton</a> (of RL and Bitter Lesson fame). I&#8217;ve been enjoying this breezy, narrative history of intelligence. The author uses the history of early bilaterians, vertebrates, mammals, primates, and humans to craft a narrative around how cognitive capacities, neural structures, body plans and environments co-evolved to create adaptive behaviours.</p><p>One example of these ideas is our urbilaterian ancestor, a worm-like creature not too dissimilar from a modern C. elegans. This worm was a swimmer engaged in finding food and avoiding predators. This lifestyle encouraged the appearance of centralized, fused ganglia to maintain a consistent internal state; i.e. a brain. In a hungry state, the worm would be more explorative, even though this would mean it was more exposed to predators; if it was satiated, it would stop moving to conserve its energy. Various signals emerged to carry these states, of approach and avoidance, of stress and relaxation, ancestors to what we would eventually come to be called emotions. And with this short-term state could come adaptive behaviours, such that a stimulus does not always lead to the same response, depending on the state of the animal. Link the environment and outcomes and you can have reinforcement of particular behaviours. Thus, a sensorimotor loop, emotions, and learning were preserved and built upon in vertebrates to come.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!dsLQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!dsLQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png 424w, https://substackcdn.com/image/fetch/$s_!dsLQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png 848w, https://substackcdn.com/image/fetch/$s_!dsLQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png 1272w, https://substackcdn.com/image/fetch/$s_!dsLQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!dsLQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png" width="402" height="405.9192200557103" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/89c44524-f78e-4d04-9885-804a58893666_1436x1450.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1450,&quot;width&quot;:1436,&quot;resizeWidth&quot;:402,&quot;bytes&quot;:764096,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!dsLQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png 424w, https://substackcdn.com/image/fetch/$s_!dsLQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png 848w, https://substackcdn.com/image/fetch/$s_!dsLQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.png 1272w, https://substackcdn.com/image/fetch/$s_!dsLQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F89c44524-f78e-4d04-9885-804a58893666_1436x1450.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 role="img" 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><title></title><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">From the book</figcaption></figure></div><p>The book is conceptually aligned with the idea of <a href="https://pubmed.ncbi.nlm.nih.gov/31161495/">phylogenetic refinement as advanced by Paul Cisek</a>. Phylogenetic refinement is a process where the brain's structure and functionality are shaped not only by individual development (ontogeny) but also by the evolutionary history of the species (phylogeny). Current brain functions have evolved from simpler forms present in ancestral species, and these functions have been refined over evolutionary time. In other words, <a href="https://en.wikipedia.org/wiki/Nothing_in_Biology_Makes_Sense_Except_in_the_Light_of_Evolution">nothing in biology makes sense except in light of evolution</a>. It&#8217;s an example of a theory of brains with wide explanatory power.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fQgw!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fQgw!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png 424w, https://substackcdn.com/image/fetch/$s_!fQgw!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png 848w, https://substackcdn.com/image/fetch/$s_!fQgw!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png 1272w, https://substackcdn.com/image/fetch/$s_!fQgw!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fQgw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png" width="1384" height="1442" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1442,&quot;width&quot;:1384,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:715610,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fQgw!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png 424w, https://substackcdn.com/image/fetch/$s_!fQgw!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png 848w, https://substackcdn.com/image/fetch/$s_!fQgw!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png 1272w, https://substackcdn.com/image/fetch/$s_!fQgw!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fad1d0bc9-a214-47ef-8157-63bb199042f4_1384x1442.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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">From Cisek (2019)</figcaption></figure></div><p>I like this framing both from an explanatory point of view and as a roadmap to practically embed intelligence in artificial systems. An enterprising person might take a look at the functions or areas captured by these theories and instantiate them in a mechanistic model. reflexes, imitation learning, reinforcement learning, and social learning are distinct aspects of learning complex motor programs. One might want <a href="https://www.nature.com/articles/s41467-019-13239-6">to instantiate principles of hierarchical motor control</a>, as implemented by the brain, to build flexible robots that don&#8217;t require perfect actuators. We can see these principles at play, for example, <a href="https://www.science.org/doi/10.1126/scirobotics.abo0235">in this demo from Deepmind</a> of cheap robots playing soccer.</p><div id="youtube2-RbyQcCT6890" class="youtube-wrap" data-attrs="{&quot;videoId&quot;:&quot;RbyQcCT6890&quot;,&quot;startTime&quot;:null,&quot;endTime&quot;:null}" data-component-name="Youtube2ToDOM"><div class="youtube-inner"><iframe src="https://www.youtube-nocookie.com/embed/RbyQcCT6890?rel=0&amp;autoplay=0&amp;showinfo=0&amp;enablejsapi=0" frameborder="0" loading="lazy" gesture="media" allow="autoplay; fullscreen" allowautoplay="true" allowfullscreen="true" width="728" height="409"></iframe></div></div><p>A handful of people have taken the logic of compartmentalized, phylogenetically refined models to cover a large array of functions and areas, notably the team led by <a href="https://academic.oup.com/book/6263">Chris Elliasmith</a>. Perception, working memory, hierarchical motor control and reward are linked in spiking neural networks which are <a href="https://foresight.org/summary/chris-eliasmith-university-of-waterloo-how-to-build-a-brain/">fast approaching the size</a>, in terms of distinct units and number of synapses, of large language models. These are not (yet) brains in a vat, and are less capable than LLMs of the same size, but they point the way towards models that bring together multiple capabilities, in particular in terms of closing the action-perception loop.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!mvo7!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!mvo7!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png 424w, https://substackcdn.com/image/fetch/$s_!mvo7!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png 848w, https://substackcdn.com/image/fetch/$s_!mvo7!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png 1272w, https://substackcdn.com/image/fetch/$s_!mvo7!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!mvo7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png" width="1376" height="1434" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1434,&quot;width&quot;:1376,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1181971,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!mvo7!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png 424w, https://substackcdn.com/image/fetch/$s_!mvo7!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png 848w, https://substackcdn.com/image/fetch/$s_!mvo7!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.png 1272w, https://substackcdn.com/image/fetch/$s_!mvo7!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9caed922-b9dc-460b-ba22-b1a1d578a459_1376x1434.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 role="img" 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><title></title><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">SPAUN, from Elliasmith et al. (2012)</figcaption></figure></div><h2>Theories of everything, everywhere, all at once</h2><p>Your average undergraduate neuroscience class can feel an awful lot like describing a stamp collection: lots of facts disconnected from the bigger picture. I like these attempts at what may be called theories-of-everything (TOE) because they allow numerous phenomena to be described coherently.</p><p>When it comes to translating natural intelligence to artificial systems, aggregating and distilling information is a crucial intermediary. The specific implementations of neural algorithms in biological neural networks may not translate one-to-one to their artificial counterparts. For one, the engineering requirements are vastly different&#8211;server farms using the energy of small cities and humans running on bananas live in very different regions of SWaP-C (size, weight, power and cost).</p><p>4 years ago, <a href="https://twitter.com/neuro_data/status/1208251627884498944">I saved this tweet from Josh Vogelstein</a> that listed some theories of everything in neuroscience. I have made some slow and steady progress in better understanding the list&#8211;I even managed to trudge through a bit of Stephen Grossberg&#8217;s book, despite dire warnings. Josh&#8217;s list has been a source of endless inspiration. </p><p>I will concur with Surya Ganguli that many TOEs in neuroscience and on the topic of intelligence in general are &#8220;not even wrong&#8221;, in the sense of not being falsifiable. One of the sharpest examples&#8211;from a slightly distant but related field&#8211;is <a href="https://arxiv.org/abs/0712.3329">Legg and Hutter (2007)</a>, who introduce a universal definition of machine intelligence. This general intelligence is the weighted average reward obtained by an agent over an ensemble of environments. The weighting is given by the (negative exponential) of the <a href="https://en.wikipedia.org/wiki/Kolmogorov_complexity">Kolmogorov complexity</a> of the environments. Kolmogorov complexity is the length of the shortest computer program that defines the environment. That weighting is eminently sensible: simpler environments are more likely and should be up-weighted. There are also many more incompressible environments (e.g. generated by a universal Turing machine seeded by a random number generator) than there are compressible environments, hence we should upweight compressible environments.</p><p>The problem, of course, is that Kolmogorov complexity is uncomputable, as a consequence of the negative resolution of the <a href="https://en.wikipedia.org/wiki/Halting_problem">halting problem</a>. So, their scheme is both really enlightening and utterly impractical. Talk about <em>not even wrong</em>: it&#8217;s not even computable! This hasn&#8217;t stopped that paper from sowing the seeds of what would later become Deepmind and foreshadowing both modern RL and LLMs. A good theory of everything should highlight some interesting underlying ideas that can be sifted through by an enterprising and discriminative AI researcher, even if the ideas are not directly presented in practical form.</p><h2>Closing out the year</h2><p>Part of the reason I&#8217;ve been thinking deeply about the grand scheme of things is that I&#8217;ve taken up the role of curriculum lead for the Neuromatch Academy NeuroAI course. I&#8217;ve got big shoes to fill (Konrad Kording was curriculum lead for the DL course and Gunnar Blohm for computational neuroscience), but with a kickass team led by Xaq Pitkow I know we will pull through. I want to bring a spirit of radical intellectual curiosity of discussing really big ideas, while also getting into the weeds and teaching students how to implement these ideas.</p><p class="button-wrapper" data-attrs="{&quot;url&quot;:&quot;https://www.neuroai.science/subscribe?&quot;,&quot;text&quot;:&quot;Subscribe now&quot;,&quot;action&quot;:null,&quot;class&quot;:null}" data-component-name="ButtonCreateButton"><a class="button primary" href="https://www.neuroai.science/subscribe?"><span>Subscribe now</span></a></p><p>We have a pretty solid curriculum skeleton lined up and several day leads confirmed. If you&#8217;ve read this far, don&#8217;t be surprised if you get an email from me, Xaq, or projects lead Eva Dyer, to help out with the course. It&#8217;s an awesome opportunity to push our field forward and teach the next generation of neuroscience and AI weirdos.</p><p>As a parting thought for this year, I&#8217;m grateful that I get to think deeply about brains and AI for a living! I&#8217;ve had the amazing support of the Mila team and colleagues since I joined in June&#8211;we have some awesome things lined up in terms of building and releasing foundation models for neuroscience, which I&#8217;ll write about in 2024. It&#8217;s been thrilling to share my thoughts with you&#8211;growing to a bit over <s>500</s> 650 subscribers in less than 6 months, a not insignificant proportion of all neuroAI researchers. Thanks for reading, and have a safe and happy New Year &#127881; &#127870;</p>]]></content:encoded></item><item><title><![CDATA[NeuroAI paper roundup #5: guide to NeurIPS]]></title><description><![CDATA[Winter is coming]]></description><link>https://www.neuroai.science/p/neuroai-paper-roundup-5-guide-to</link><guid isPermaLink="false">https://www.neuroai.science/p/neuroai-paper-roundup-5-guide-to</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Mon, 04 Dec 2023 19:05:44 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!nI8p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!nI8p!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!nI8p!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!nI8p!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!nI8p!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!nI8p!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!nI8p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png" width="1024" height="1024" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1024,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1833036,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!nI8p!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png 424w, https://substackcdn.com/image/fetch/$s_!nI8p!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png 848w, https://substackcdn.com/image/fetch/$s_!nI8p!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.png 1272w, https://substackcdn.com/image/fetch/$s_!nI8p!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F207107b7-7a44-4b49-b53f-44f79a3df47e_1024x1024.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 role="img" 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><title></title><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><a href="https://twitter.com/patrickmineault/status/1730989784678490589">I recently asked on X</a> for suggestions for NeurIPS NeuroAI papers. You did not disappoint! I received several dozen replies referencing papers across the main conference and workshops. I realized I needed to be a bit more systematic about it. In brief:</p><ul><li><p>I fed all 3,600 papers from the main conference to GPT-4 turbo and extracted 197 NeuroAI and NeuroAI-adjacent papers. </p></li><li><p>I compiled a list of the most relevant workshops.</p></li></ul><h2>How to survive NeurIPS</h2><p>If you don&#8217;t want to get massively overwhelmed, I would suggest that you go through the list of main conference papers and focus on &lt; 10 papers which are directly and highly relevant and timely to your work. Then, go see 2-3 workshops. Once the conference is past, you can draw down the papers throughout the year. Pace yourselves! </p><p>I don&#8217;t get a lot from being at the conference in person&#8211;between the 9AM start, the jetlag and bad coffee&#8211;and prefer to watch from the comfort of my own home at 1.5X with subtitles on. NeurIPS is one of the best conferences to watch from home IMO, as their tech is top-notch.</p><h2>The main conference paper pile</h2><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!TiXu!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TiXu!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png 424w, https://substackcdn.com/image/fetch/$s_!TiXu!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png 848w, https://substackcdn.com/image/fetch/$s_!TiXu!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!TiXu!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!TiXu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png" width="1456" height="869" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:869,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:250596,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TiXu!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png 424w, https://substackcdn.com/image/fetch/$s_!TiXu!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png 848w, https://substackcdn.com/image/fetch/$s_!TiXu!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png 1272w, https://substackcdn.com/image/fetch/$s_!TiXu!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F92b0a2c9-ff8b-4621-a77d-c9baf35fb75c_1810x1080.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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><a href="https://airtable.com/appWMCgd7CqsVIRza/shrTRBBqmrT74fZLb">I made a little visualization and interactive app in Airtable</a> to allow you to browse all 197 NeuroAI papers from the main conference. You can also download the CSV if you want to do secondary analysis straight from the Airtable link.</p><p>It was a lot more papers than I anticipated! Our field is going strong! How I made this:</p><ol><li><p>I went to the NeurIPS website and downloaded a json with all 3600 main conference papers, which I found using Cmd+Opt+I.</p></li><li><p>I fed all abstracts to GPT-4-Turbo to extract one of 5 broad categories of papers related to NeuroAI. I had 2 core categories, 1 neuro-data-analysis, 1 neuro-adjacent, and one &#8220;has nothing to do with NeuroAI&#8221; category. <a href="https://docs.google.com/presentation/d/1LcFMdccwj62z7OuzDQgOhdhzxQCAxIqp43RH3-k0XH0/edit#slide=id.g28a187de548_0_1016">I re-used a script I made for the NeuroAI in Montreal conference</a>, for which I was a co-organizer. Running this took 5 minutes and cost 30$ in OpenAI credits. I also asked GPT-4 for TL;DRs. </p></li><li><p>I manually went through the ~300 papers it selected in the top 3 categories to select the ones that I agreed were NeuroAI. I added in anything with the Neuroscience topic. I sorted the results such that anything anyone personally shared with me on X by Sunday night was shown at the start.</p></li><li><p>I embedded abstracts with a <code>all-mpnet-v2</code> sentence transformer to find the nearest neighbours for each paper.</p></li><li><p>I dumped a CSV of everything and imported it into Airtable. </p></li></ol><p>This took me about the time it would take me to read ~3-5 papers in detail. ALL the papers you shared with me on Twitter from the main conference were ALSO INDEPENDENTLY selected by GPT-4 and correctly bucketed into one of the 4 NeuroAI categories. These are truly the days of miracle and wonder.</p><h2>The workshops</h2><p>Here are the workshops that are neuro-heavy:</p><ul><li><p><strong><a href="https://nips.cc/virtual/2023/workshop/66494">UniReps: Unifying Representations in Neural Models</a></strong></p></li><li><p><strong><a href="https://neurips.cc/virtual/2023/workshop/66535">Information-Theoretic Principles in Cognitive Systems (InfoCog)</a></strong></p></li><li><p><strong><a href="https://nips.cc/virtual/2023/workshop/66524">Associative Memory &amp; Hopfield Networks in 2023</a></strong></p></li><li><p><strong><a href="https://nips.cc/virtual/2023/workshop/66503">Symmetry and Geometry in Neural Representations</a></strong></p></li></ul><p>These might contain some neuro:</p><ul><li><p><strong><a href="https://nips.cc/virtual/2023/workshop/66537">Gaze Meets ML</a></strong></p></li><li><p><strong><a href="https://neurips.cc/virtual/2023/workshop/66529">XAI in Action: Past, Present, and Future Applications</a></strong></p></li><li><p><strong><a href="https://neurips.cc/virtual/2023/workshop/66505">Generative AI and Biology (GenBio@NeurIPS2023)</a></strong></p></li></ul><p>Finally, don&#8217;t forget the <a href="https://sites.google.com/view/neuroai-neurips2023/home">NeuroAI social on Dec 13th (Wed)</a>. </p>]]></content:encoded></item><item><title><![CDATA[NeuroAI paper roundup #4: neuro-inspired AI explanations]]></title><description><![CDATA[Could a neuroscientist understand an artificial neural net?]]></description><link>https://www.neuroai.science/p/neuroai-paper-roundup-4-neuro-inspired</link><guid isPermaLink="false">https://www.neuroai.science/p/neuroai-paper-roundup-4-neuro-inspired</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Wed, 22 Nov 2023 19:48:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!8lY9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>Let&#8217;s try a different NeuroAI paper roundup format this time: I&#8217;ll cover one paper in detail that really got me thinking, a second one more briefly, and I&#8217;ll link to several others which are conceptually related.</p><h1><strong><a href="https://transformer-circuits.pub/2023/monosemantic-features">Towards Monosemanticity: Decomposing Language Models With Dictionary Learning</a></strong></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8lY9!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8lY9!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png 424w, https://substackcdn.com/image/fetch/$s_!8lY9!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png 848w, https://substackcdn.com/image/fetch/$s_!8lY9!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png 1272w, https://substackcdn.com/image/fetch/$s_!8lY9!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8lY9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png" width="1198" height="914" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:914,&quot;width&quot;:1198,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:136565,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8lY9!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png 424w, https://substackcdn.com/image/fetch/$s_!8lY9!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png 848w, https://substackcdn.com/image/fetch/$s_!8lY9!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.png 1272w, https://substackcdn.com/image/fetch/$s_!8lY9!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff2ff1397-8ebc-47c6-a524-f4c9e829a470_1198x914.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 role="img" 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><title></title><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>Anthropic and the mechanistic interpretability team led by Chris Olah and Shan Carter have been working relentlessly to obtain mechanistic interpretations of deep neural networks. <a href="https://distill.pub/2020/circuits/">Some of their prior work</a> decompose visual circuits in CNNs in ways that would make Hubel &amp; Wiesel proud. There&#8217;s a lot of neuroscience inspiration in mechanistic interpretability, because neuroscientists have had a 50-year head start in finding ways of opening up the black box of (biological) neural networks. I really enjoyed this paper: it has some interesting ideas and lessons for neuroscientists interested in sparse vs. dense coding. </p><p>This work follows from an ongoing work thread on understanding transformers trained for natural language. Previously, <a href="https://transformer-circuits.pub/2022/solu/index.html">they had found that a transformer trained on this task represents sequences densely</a>. That means that a single neuron doesn&#8217;t have a lot of meaning, and there is no sense in which neurons form a privileged basis: a single neuron in the network is bafflingly hard to understand. It might participate equally in coding for base64, Arabic, rhyming patterns, etc. They previously proposed to resolve this by adding in a dash of sparse coding: adding a softmax in the middle of the transformer to force activations to be sparse. With this simple modification, they found that the single-neurons in the network were far easier to understand, with sparse coding causing representations to be disentangled. </p><p>This time, they threw out their old method in favour of a different way of implementing sparse coding. They realized that training <strong>one</strong> network directly with a sparse coding objective was unwieldy, and that things trained more stably with <strong>two</strong> networks. The first network learns to predict the next token, without constraints on the distribution of the neural activity; the second does a sparse coding decomposition of the MLP branch of the first. In terms of their actual implementation of sparse coding, it&#8217;s a two-layer MLP with an L1 loss that is trained in a supervised fashion, nothing too esoteric.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!eqbD!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!eqbD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png 424w, https://substackcdn.com/image/fetch/$s_!eqbD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png 848w, https://substackcdn.com/image/fetch/$s_!eqbD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png 1272w, https://substackcdn.com/image/fetch/$s_!eqbD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!eqbD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png" width="1456" height="733" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:733,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:182560,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!eqbD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png 424w, https://substackcdn.com/image/fetch/$s_!eqbD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png 848w, https://substackcdn.com/image/fetch/$s_!eqbD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png 1272w, https://substackcdn.com/image/fetch/$s_!eqbD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff70523cf-e1b1-47ca-a49b-e52c61e291ae_1582x796.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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 directions found by the sparse coding algorithm are far more interpretable than the dense representation of the original network: units correspond to base64, Arabic, parts of HTML, etc. Furthermore, they find evidence of finite-state-machine-like representations, such that, e.g. they can trace the kinds of state tracked by the network as it autocompletes HTML strings.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!HDqg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!HDqg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png 424w, https://substackcdn.com/image/fetch/$s_!HDqg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png 848w, https://substackcdn.com/image/fetch/$s_!HDqg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png 1272w, https://substackcdn.com/image/fetch/$s_!HDqg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!HDqg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png" width="1456" height="662" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:662,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:394868,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!HDqg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png 424w, https://substackcdn.com/image/fetch/$s_!HDqg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png 848w, https://substackcdn.com/image/fetch/$s_!HDqg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png 1272w, https://substackcdn.com/image/fetch/$s_!HDqg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc4193234-be43-47e9-90a7-7d82cd14e44c_2248x1022.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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><h2>Links to neuroscience</h2><p>There&#8217;s a longstanding debate in neuroscience regarding sparse codes vs. dense codes. The last ten years have advanced the view that individual neurons don&#8217;t really matter; in one view, popular in motor neuroscience, neurons are random projections of the underlying dynamics (e.g. <a href="https://www.sciencedirect.com/science/article/pii/S0896627317304634">Gallego et al. 2017</a>; <a href="https://www.cell.com/neuron/pdf/S0896-6273(21)00521-3.pdf">Ebitz &amp; Hayden 2021</a>) . </p><p>I&#8217;m personally not fully on the side of reified dynamics&#8211;I think single neurons are important, which is mostly a reflection of my background as a visual neuroscientist rather than motor neuroscientist. Off-axis coding may be less efficient in biological neural networks as a <a href="http://www.scholarpedia.org/article/Sparse_coding#Sparse_coding_in_the_brain">consequence of the statistics of Poisson processes</a>. I do think it&#8217;s been an important correction to the previous single-neuron-at-a-time view. Maybe the brain has figured out how to do (partial) sparse coding directly; or it may have mixed dense/sparse coding in the style of the two networks the Olah and co. Their work highlights that it&#8217;s not trivial to get sparse cording networks learning effectively, and we should spend some time as neuroscientists to investigate that.</p><p>On a more pragmatic note, I think we tend to fit toy models in neuroscience in the hopes that they will be interpretable. The team at Anthropic proposes a different approach&#8211;learn a giant and hopelessly complicated model that models the phenomenon perfectly; then learn a simpler model to explain the outputs of the complicated models. One advantage is that the complicated model can be infinitely probed. Indeed, they probe on <em>billions</em> of examples. The task of the second network&#8211;which distills the continuous outputs of the original outputs, similar to the problem of knowledge distillation&#8211;<a href="https://openreview.net/forum?id=7J-fKoXiReA">might be harder than the task of the original network</a>. Splitting the problem in two untangles the two issues in an approachable way. Interestingly, their efforts show that they can extract information that looks a lot like <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3005627/">neural ensembles and cellular assemblies</a>. Perhaps the way to understand the language of the brain is to learn <a href="https://poyo-brain.github.io/">high-capacity proxy models</a> which are then taken apart. </p><p>We see the filiation of this work from sparse coding neuroscience to AI; in fact, Bruno Olshausen is a reviewer of this paper. We could imagine that a lot more of the machinery to interpret biological neural networks could be useful going forward in mechanistic AI interpretability&#8211;from <a href="https://xcorr.net/2020/03/27/reverse-correlation-linearizing-black-box-functions/">reverse correlation</a> and <a href="https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1010250">multi-perturbation Shapley analysis</a> to <a href="https://www.cell.com/neuron/pdfExtended/S0896-6273(18)30387-8">tensor component analysis</a>.</p><div class="subscription-widget-wrap-editor" data-attrs="{&quot;url&quot;:&quot;https://www.neuroai.science/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 NeuroAI archive! 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><h1><a href="https://arxiv.org/abs/2310.11431">Identifying Interpretable Visual Features in Artificial and Biological Neural Systems</a></h1><p>An embedded problem in the previous paper is finding interpretable bases for complex data. They lucked out with sparse coding, but there&#8217;s no guarantee that sparse coding yields interpretable insights; it just so happens that in this case it does. Ultimately, &#8220;interpretable&#8221; can only be really understood in light of the limitations specific to the architecture of the human mind&#8211;although people have tried to find non-human-mind-linked measures of complexity, e.g. <a href="https://xcorr.net/2015/11/20/turing-machines-the-number-game-and-inference">Kolmogorov complexity, they are intractable</a>. </p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!KdWK!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KdWK!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png 424w, https://substackcdn.com/image/fetch/$s_!KdWK!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png 848w, https://substackcdn.com/image/fetch/$s_!KdWK!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png 1272w, https://substackcdn.com/image/fetch/$s_!KdWK!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!KdWK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png" width="1284" height="546" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/96748912-c159-471c-8b50-8e068699cbb1_1284x546.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:546,&quot;width&quot;:1284,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:313846,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!KdWK!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png 424w, https://substackcdn.com/image/fetch/$s_!KdWK!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png 848w, https://substackcdn.com/image/fetch/$s_!KdWK!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.png 1272w, https://substackcdn.com/image/fetch/$s_!KdWK!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F96748912-c159-471c-8b50-8e068699cbb1_1284x546.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 role="img" 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><title></title><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></p><p>So how do you search basis space specifically for interpretable directions? Klindt, Sanborn and colleagues propose some interpretability metrics in visual classification networks based on color consistency, LPIPS and label consistency. Basically, a direction is interpretable if the images that maximize activity in that direction are visually similar. Given an interpretability metric, they can then evaluate a specific direction, picked from an off-the-shelf algorithm like PCA, K-means, ICA, sparse coding, etc. They&#8217;re able to use this to find some directions which are more interpretable in coding space.</p><p>Similar to the previous paper, they find that off-axis can be far more interpretable than on-axis directions (individual neurons). I think it&#8217;s a great start and a solid attempt at writing down a classifier for interpretable vs. non-interpretable. I do have some qualms about their choice of interpretability metric; taking a page from Kolmogorov complexity and minimum description length, it seems like &#8220;how hard it would be to communicate visual concept X using language&#8221; would be closer to what they&#8217;re getting at. It would interesting to reimplement the same idea using vision-language-model-based captioning +  compression as the metric to optimize.</p><p>Related: <a href="https://arxiv.org/abs/1907.06374">Tim Lillicrap &amp; Konrad Kording (2019) on what it means to understand a neural network</a>.</p><p><em>Thanks to Sophia Sanborn for sending me the second paper.</em> <em>Got something interesting to share? <a href="https://www.neuroai.science/about">Send me a message</a> and I&#8217;ll try my best to cover it in an upcoming post.</em></p>]]></content:encoded></item><item><title><![CDATA[Gflownets: sampling on sets & graphs]]></title><description><![CDATA[A new family of sampling methods for complex structures that's 50% MCMC and 50% RL]]></description><link>https://www.neuroai.science/p/gflownets-sampling-on-sets-and-graphs</link><guid isPermaLink="false">https://www.neuroai.science/p/gflownets-sampling-on-sets-and-graphs</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Mon, 13 Nov 2023 17:40:06 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>NeuroAI scientists have to keep up with two literatures: neuro and ML. With ML in particular, with its culture of short conference papers, you have to contend with a torrent of breakthroughs and instantly obsolete results. How do you separate the wheat from the chaff?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://twitter.com/neurograce/status/1661058045433233409" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!-cy0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png 424w, https://substackcdn.com/image/fetch/$s_!-cy0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png 848w, https://substackcdn.com/image/fetch/$s_!-cy0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png 1272w, https://substackcdn.com/image/fetch/$s_!-cy0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!-cy0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png" width="1174" height="388" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:388,&quot;width&quot;:1174,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:101244,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:&quot;https://twitter.com/neurograce/status/1661058045433233409&quot;,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!-cy0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png 424w, https://substackcdn.com/image/fetch/$s_!-cy0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png 848w, https://substackcdn.com/image/fetch/$s_!-cy0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.png 1272w, https://substackcdn.com/image/fetch/$s_!-cy0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd2884d1d-f51f-4ac1-956c-70da4afd3c1a_1174x388.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 role="img" 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><title></title><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>Workshops! ML doesn&#8217;t do reviews, but it does have a culture of running thematically-themed workshops. A neuroscientist with some ML exposure can go to one of these and get the gist, which is not always the case for the talk tracks at most ML conferences.</p><p>I went to the gflownet workshop at Mila last week and returned delighted. Gflownets are something of a Mila specialty, having been introduced in a paper led by Emmanuel Bengio&#8211;Yoshua Bengio&#8217;s son&#8211;in 2021. Powerful but pretty obscure outside of Mila, gflownets have a ton of potential as samplers in otherwise intractable problems. They&#8217;ve proved quite powerful in other domains like drug discovery and materials science, and I hope someday soon in neuroscience. Here is my quick intro to these models to get you up to speed.</p><h1>What&#8217;s a gflownet anyway?</h1><p>Gflownets, short for generative flow network, are a class of algorithms for sampling from a probability distribution. Like rejection sampling, slice sampling, or MCMC, gflownets sample from arbitrary (unnormalized) distributions. They&#8217;re particularly well-suited for sampling from objects with compositional structure, like sets, trees, and graphs. </p><p>Gflownets differ from classic sampling algorithms in that they&#8217;re <em>trained</em> using a supervised loss. Training a gflownet proceeds in the style of online reinforcement learning: you use a variant of an <em>amortized inference</em> network F to generate a sample with the current (bad) policy, evaluate the reward (i.e. the unnormalized likelihood of the sample), and adjust the weights of that network F to get better samples eventually. At convergence, the gflownet can be used to sample very cheaply from the target distribution&#8211;amortized inference. </p><p>Sampling in a gflownet looks a lot like traversing the state/action space as a reinforcement learning agent. Let&#8217;s say you want to sample from a gflownet trained to generate sets of characters of the Latin alphabet. You might start with the empty set &#8709;. A neural network with a softmax output F(&#183;, &#8709;) would be used to decide whether to add one of the 26 characters or the stop character &#9633;, i.e. using a multinomial sample. Let&#8217;s say you sample the letter M. Then you would evaluate the network again, this time on F(&#183;, {M}); and so on until you get a set of letters from 0 to 26 characters long.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!jrjq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jrjq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png 424w, https://substackcdn.com/image/fetch/$s_!jrjq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png 848w, https://substackcdn.com/image/fetch/$s_!jrjq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png 1272w, https://substackcdn.com/image/fetch/$s_!jrjq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!jrjq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png" width="1456" height="449" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:449,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:120465,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jrjq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png 424w, https://substackcdn.com/image/fetch/$s_!jrjq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png 848w, https://substackcdn.com/image/fetch/$s_!jrjq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png 1272w, https://substackcdn.com/image/fetch/$s_!jrjq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe3e1ff72-792f-491a-adce-fa84bf8fd80b_1740x536.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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">A path through a sampler, from Bengio et al. (2021)</figcaption></figure></div><p>Let&#8217;s talk about the name: generative flow networks. One key property of the sampler, once trained, is that the amount of probability flowing through one of the intermediate states of the sampler is the same as the outgoing probability. This is like (physical flow) in a river network: water in, water out. Thus, flow. <strong>The net in gflownets does not refer to a neural net</strong>. It refers instead to the Markov decision process (MDP) which leads to a sample, itself a network. Calling them gMDPs or just generative flows would be a little less confusing IMO. Naming is hard.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8mLn!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8mLn!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif 424w, https://substackcdn.com/image/fetch/$s_!8mLn!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif 848w, https://substackcdn.com/image/fetch/$s_!8mLn!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif 1272w, https://substackcdn.com/image/fetch/$s_!8mLn!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8mLn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif" width="379" height="229" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:229,&quot;width&quot;:379,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3711827,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/gif&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8mLn!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif 424w, https://substackcdn.com/image/fetch/$s_!8mLn!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif 848w, https://substackcdn.com/image/fetch/$s_!8mLn!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif 1272w, https://substackcdn.com/image/fetch/$s_!8mLn!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ea5e21b-b5e2-41aa-97f9-ebdeab93472a_379x229.gif 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption">gflownets are generative flow networks. From Yoshua Bengio&#8217;s blog</figcaption></figure></div><h2>Grokking gflownets</h2><p>As you can see, gflownets mix concepts from two different fields: sampling and reinforcement learning. It&#8217;s not that the concepts are really hard to grasp in and of themselves, it&#8217;s that gflownets arrange them in unusual ways which can make them hard to grok. You need to sit down with these ideas and let them simmer for a little bit to put them all together. The workshop did a really good job of presenting the background from the two fields to help bridge the gap. </p><p>Another barrier to gflownet adoption is that it can be hard to know all the tricks people use to make them work in practice. There&#8217;s a well of esoteric knowledge, and it hasn&#8217;t yet been translated into an easy-to-digest form (i.e. software that works out of the box). This will happen in due time. </p><p>I don&#8217;t recommend getting started with gflownets by reading the original paper, or the follow-up gflownet foundations paper; they&#8217;re hard to understand and are partly obsolete. Instead, I recommend <a href="https://www.youtube.com/watch?v=wYrZrPsm2NM&amp;t=21999s">streaming Day 2 of the workshop</a> for a nice, self-contained intro to the field. There are two accompanying coding tutorials, one for <a href="http://Session 1 Problem Set">discrete modelling</a> and the other for <a href="https://colab.research.google.com/drive/1IeLlcouvnZ97fcSzF9Ahz2MjsgJRYsjT?usp=sharing">continuous modelling</a>. <a href="https://www.gflownet.org/">The gflownet website</a> contains many other great resources. Once you&#8217;ve gone through those, would highly recommend <a href="https://github.com/zdhNarsil/Awesome-GFlowNets">this awesome list</a>.</p><h2>Losses</h2><p>One prime example of <a href="https://en.wiktionary.org/wiki/footgun">a footgun</a> in gflownets is choosing the right loss. The loss that is optimized during training is a consistency loss that says that inflows to a node in the decision network are similar to the outflows. This is basically a credit assignment problem: at the end of the process of sampling, you get a sample of a certain probability, and you&#8217;re trying to nudge the network such that you would have taken the right branches in the decision tree to get samples which match the probability distribution. Similar to the Bellman equation in reinforcement learning, there are many ways of writing down consistency losses.</p><p>You&#8217;re going to be tempted to read the first gflownet paper&#8211;or maybe the second!&#8211;and implement that, and that&#8217;s a bad idea. The three most frequently discussed losses are:</p><ul><li><p><strong>Flow loss</strong>. This is a (log) version of the temporal difference (TD) algorithm. It was originally introduced in the first gflownet paper (Bengio et al 2021a), but it doesn&#8217;t converge very well in practice, so it&#8217;s not really used anymore.</p></li><li><p><strong>Detailed balance loss</strong>. Some of you familiar with MCMC will recognize this term. In this case, we parametrize both a forward function F_F and its converse backward function F_B such that probabilities match when traversing the tree forward and backward. It was introduced in the gflownet Foundations paper (Bengio et al. 2021b).</p></li><li><p><strong>Trajectory balance</strong>. This algorithm, introduced in Malkin et al. (2022), does credit assignment on an entire trajectory. <em>That&#8217;s the one that is currently recommended as a starting point</em>.</p></li></ul><p>This is the trajectory loss as defined in <a href="https://arxiv.org/abs/2201.13259">Malkin et al. (2022)</a>:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6fk1!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6fk1!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png 424w, https://substackcdn.com/image/fetch/$s_!6fk1!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png 848w, https://substackcdn.com/image/fetch/$s_!6fk1!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png 1272w, https://substackcdn.com/image/fetch/$s_!6fk1!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!6fk1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png" width="1456" height="205" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:205,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:77821,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!6fk1!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png 424w, https://substackcdn.com/image/fetch/$s_!6fk1!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png 848w, https://substackcdn.com/image/fetch/$s_!6fk1!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png 1272w, https://substackcdn.com/image/fetch/$s_!6fk1!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6b4ce603-565d-443b-bdea-aef7cbfe1ed1_2172x306.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><p>Here, P_F and P_B are forward and backward flow functions, and Z is the partition function, which is a trainable parameter. With that in hand, training a gflownet is pretty straightforward:</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fLA-!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fLA-!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png 424w, https://substackcdn.com/image/fetch/$s_!fLA-!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png 848w, https://substackcdn.com/image/fetch/$s_!fLA-!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png 1272w, https://substackcdn.com/image/fetch/$s_!fLA-!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!fLA-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png" width="1456" height="341" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:341,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:148170,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fLA-!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png 424w, https://substackcdn.com/image/fetch/$s_!fLA-!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png 848w, https://substackcdn.com/image/fetch/$s_!fLA-!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png 1272w, https://substackcdn.com/image/fetch/$s_!fLA-!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe7f20a46-5dc8-4e08-ba21-cdcae5802ed5_2202x516.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a></figure></div><h2>Extensions</h2><ul><li><p>You can condition your gflownets, similar to <a href="https://xcorr.net/2023/02/06/denoising-diffusion-models-for-neuroscience/">how you would condition a diffusion model</a></p></li><li><p>You can train a gflownet with observed samples rather than through an environment. This is called <a href="https://arxiv.org/abs/2202.01361">MLE-GFN</a>.</p></li><li><p>Gflownets work naturally with discrete objects (sets, graphs, trees, etc), but you can extend them to continuous objects. This is important in practice, because many real problems need both discrete and continuous parameters. <a href="https://arxiv.org/abs/2301.12594">The math and the implementation difficulties really ramp up in continuous space</a>. This is still a very active area of research.</p></li></ul><h2>Software</h2><p>There are ~3 implementations of gflownet out there, all of which originated around Mila. None of these has yet reached escape velocity but together they should cover a range of use cases.</p><ul><li><p><a href="https://github.com/saleml/torchgfn">torchgfn</a>. Salem Lahlou, et al. This is a low-level library with all the primitives necessary to implement discrete and continuous environments, as well as flow balance, detailed balance, trajectory balance and subtrajectory balance. It contains clean, reference implementations.</p></li><li><p><a href="https://github.com/alexhernandezgarcia/gflownet">alexhernandezgarcia/gflownet</a>. Alex Hernandez-Garcia. This one is aimed at a higher level of abstraction with more complex environments, so a good place to start for an applied scientist. It has some nice facilities for logging (hydra, wandb). Probably the most active repo in terms of commits, and used internally for several papers.</p></li><li><p><a href="https://github.com/recursionpharma/gflownet">recursionpharma/gflownet</a>. Emmanuel Bengio. This one is specialized for pharma and drug discovery applications. </p></li></ul><h1>Potential applications in neuroscience</h1><p>Gflownets allow you to do something important and in general intractably difficult: sampling from funky distributions. You need sampling when uncertainty is an object of interest. Lots of problems can be solved by a good sampler: generating samples, estimating the parameters of a model, estimating the evidence for Bayesian model comparison, and estimating the uncertainty of a learned structure. To be clear, I haven&#8217;t seen gflownets applied in neuroscience yet, but it&#8217;s something that people are highly interested in.</p><p>It turns out that neuroscience is filled with problems involving sampling distributions defined on weird objects. A classic example is <a href="https://academic.oup.com/biomet/article-abstract/88/4/1055/225982">BARS</a>, a method to fit splines often applied to peri-stimulus time histograms (PSTHs). Here, the goal is to fit a PSTH with cubic splines, for example, to estimate the latency of a neuron. Splines are defined by the set of their knots (discrete objects taking on continuous location values), as well as their weights in a Poisson regression. This gnarly problem was tackled with reversible-jump MCMC, but it could potentially be tackled with gflownets, where the action space would start from just a constant, adding knots until the entire spline is made.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!U2l4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!U2l4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png 424w, https://substackcdn.com/image/fetch/$s_!U2l4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png 848w, https://substackcdn.com/image/fetch/$s_!U2l4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png 1272w, https://substackcdn.com/image/fetch/$s_!U2l4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!U2l4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png" width="508" height="382.4841402337229" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:902,&quot;width&quot;:1198,&quot;resizeWidth&quot;:508,&quot;bytes&quot;:215034,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!U2l4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png 424w, https://substackcdn.com/image/fetch/$s_!U2l4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png 848w, https://substackcdn.com/image/fetch/$s_!U2l4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.png 1272w, https://substackcdn.com/image/fetch/$s_!U2l4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F836bfb83-4a14-44ee-9935-dfb7c01db112_1198x902.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 role="img" 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><title></title><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">BARS in action</figcaption></figure></div><p>Another more involved example: learning to generate neurons with intricate anatomy. Neurons are naturally represented as discrete graphs embedded in 3D Euclidian space, and can be sampled one branch at a time, starting from the soma. Note that currently, gflownets with action spaces with &gt;100 actions are considered quite hard to sample from, so one would need to limit the complexity of the space in some way.</p><div class="captioned-image-container"><figure><a class="image-link image2" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ygXt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ygXt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png 424w, https://substackcdn.com/image/fetch/$s_!ygXt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png 848w, https://substackcdn.com/image/fetch/$s_!ygXt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png 1272w, https://substackcdn.com/image/fetch/$s_!ygXt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ygXt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png" width="911" height="230" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:230,&quot;width&quot;:911,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Neurons in different colors and shapes&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Neurons in different colors and shapes" title="Neurons in different colors and shapes" srcset="https://substackcdn.com/image/fetch/$s_!ygXt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png 424w, https://substackcdn.com/image/fetch/$s_!ygXt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png 848w, https://substackcdn.com/image/fetch/$s_!ygXt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png 1272w, https://substackcdn.com/image/fetch/$s_!ygXt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F839c59c7-2144-4a14-80e9-5c54b1872d3a_911x230.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></a><figcaption class="image-caption"><a href="https://www.nature.com/articles/s41586-020-2907-3">Diversity of neurons, from Scala et al. (2000)</a></figcaption></figure></div><p>Similarly, one could use gflownets to fit and sample connectomes. Here, the action space would correspond to adding connections between nodes in a network, e.g. simulated by leaky integrate-and-fire (LIF) units, biophysically-detailed neurons or mean-field neural masses.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!YS3m!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!YS3m!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png 424w, https://substackcdn.com/image/fetch/$s_!YS3m!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png 848w, https://substackcdn.com/image/fetch/$s_!YS3m!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png 1272w, https://substackcdn.com/image/fetch/$s_!YS3m!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!YS3m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png" width="709" height="560" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:560,&quot;width&quot;:709,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Bayesian Structure Learning with Generative Flow Networks | Papers With Code&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Bayesian Structure Learning with Generative Flow Networks | Papers With Code" title="Bayesian Structure Learning with Generative Flow Networks | Papers With Code" srcset="https://substackcdn.com/image/fetch/$s_!YS3m!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png 424w, https://substackcdn.com/image/fetch/$s_!YS3m!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png 848w, https://substackcdn.com/image/fetch/$s_!YS3m!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.png 1272w, https://substackcdn.com/image/fetch/$s_!YS3m!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F62b34a31-25b0-49c4-8bbb-17c66407c036_709x560.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 role="img" 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><title></title><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">GFlowNets can sample from DAGs. <a href="https://arxiv.org/abs/2202.13903">In Deleu et al. (2022) they&#8217;re used for Bayesian structure learning</a>, but you could adapt this to connectomes.</figcaption></figure></div><p>You could classify all these applications under the umbrella of neural data science. I think the vision of gflownets is quite a bit larger: they&#8217;re motivated, in part, by modelling cognition, with a Bayesian brain/neuro-symbolic/world models flavour. This gets into highly speculative territory, e.g. here&#8217;s a paragraph <a href="https://milayb.notion.site/The-GFlowNet-Tutorial-95434ef0e2d94c24aab90e69b30be9b3">from a tutorial on gflownets from last year</a>:</p><blockquote><p>Brain sciences show that conscious reasoning involves a sequential process of thought formation, where at each step a competition takes place among possible thought contents (and relevant parts of the brain with expertise on that content), and each thought involves very few symbolic elements (a handful). This is the heart of the Global Workspace Theory (GWT), initiated by <a href="https://en.wikipedia.org/wiki/Bernard_Baars">Baars</a> (1993,1997) and extended (among others) by <a href="https://en.wikipedia.org/wiki/Stanislas_Dehaene#Consciousness">Dehaene</a> et al (2011, 2017, 2020) as well as through Graziano's <a href="https://en.wikipedia.org/wiki/Attention_schema_theory">Attention Schema Theory</a> (2011, 2013, 2017). In addition, it is plausible (and supported by works on the link between Bayesian reasoning and neuroscience) that each such step is stochastic. This suggests that something like a GFlowNet could learn the internal policy that selects that sequence of thoughts. In addition, the work on GFlowNet as amortized inference learners [<strong><a href="https://www.neuroai.science/95434ef0e2d94c24aab90e69b30be9b3#16c48acdd91849809a5d74f3db754c28">4</a></strong>,<strong><a href="https://www.neuroai.science/95434ef0e2d94c24aab90e69b30be9b3#df90ae61fbeb45b2bbfba31aa40dfb7d">5</a></strong>,<strong><a href="https://www.neuroai.science/95434ef0e2d94c24aab90e69b30be9b3#2493d6ec96eb4424a219f2cdac5f6834">7</a></strong>,<strong><a href="https://www.neuroai.science/95434ef0e2d94c24aab90e69b30be9b3#97f33ff16f9f470c851339244bb8efce">9</a></strong> below], both from a Bayesian [<strong><a href="https://www.neuroai.science/95434ef0e2d94c24aab90e69b30be9b3#2493d6ec96eb4424a219f2cdac5f6834">7</a></strong>] and variational inference [<strong><a href="https://www.neuroai.science/95434ef0e2d94c24aab90e69b30be9b3#97f33ff16f9f470c851339244bb8efce">9</a></strong>] perspectives, would make this kind of computation very useful to achieve probabilistic inference in the brain. GFlowNets can learn a type of System 1 inference machine (corresponding to the amortized approximate inference Q in variational inference) that is trained to probabilistically select answers to questions of a particular kind so as to be consistent with System 2 modular knowledge (the &#8220;world model&#8221; P in variational inference). That System 1 inference machinery Q is also crucial to help train the model P (as shown in several of these papers). Unlike typical neural networks, the inference machinery does not need to be trained only from external (real) data, it can take advantage of internally generated (hallucinated) pseudo-data in order to make Q consistent with P.</p></blockquote><p>Boy, that escalated quickly! From my vantage point as a humble non-Turing-award-winner, it seems like another attempt at a Bayesian brain theory with a different amortized inference scheme than the usual variational inference (VI) based one (i.e. FEP). My understanding is that this is still highly conceptual rather than a concrete proposal, but I&#8217;m sure this will evolve rapidly.</p><h1>TL;DR</h1><ol><li><p>GFlowNets sample sequentially from unnormalized probability distributions defined on sets and graphs</p></li><li><p>GFlowNets mix concepts from MCMC and RL</p></li><li><p>The best sources of information for GFlowNets are <a href="https://www.gflownet.org/">workshops and tutorials</a>; read the papers after</p></li><li><p>They&#8217;ve been used for drug discovery and materials science, not yet for neuroscience, but they have a lot of potential.</p></li></ol>]]></content:encoded></item><item><title><![CDATA[NeuroAI paper roundup #3: focus on vision]]></title><description><![CDATA[Equivariance in neural networks, retinal computations, emotions, faces, wormholes, topographic neural nets and higher-level processing]]></description><link>https://www.neuroai.science/p/neuroai-paper-roundup-3-focus-on</link><guid isPermaLink="false">https://www.neuroai.science/p/neuroai-paper-roundup-3-focus-on</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Tue, 12 Sep 2023 13:50:10 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!xMP4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1><a href="https://www.sciencedirect.com/science/article/pii/S0896627323004671">Interpreting the retinal neural code for natural scenes: From computations to neurons</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xMP4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xMP4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png 424w, https://substackcdn.com/image/fetch/$s_!xMP4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png 848w, https://substackcdn.com/image/fetch/$s_!xMP4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png 1272w, https://substackcdn.com/image/fetch/$s_!xMP4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xMP4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png" width="1456" height="481" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:481,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:722794,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xMP4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png 424w, https://substackcdn.com/image/fetch/$s_!xMP4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png 848w, https://substackcdn.com/image/fetch/$s_!xMP4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.png 1272w, https://substackcdn.com/image/fetch/$s_!xMP4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff4c3d768-de94-423a-9814-8bacafedbd99_2232x738.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 role="img" 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><title></title><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>This paper in Neuron showcases some very strong results in modelling the retina and mechanistic interpretability. They fit CNNs to retinal ganglion cells (RGCs) of retinas responding to natural scenes. RGCs are the final stage of processing in the retina; they&#8217;re downstream from the rods &amp; cones as well as horizontal and bipolar cells. It turns out that if you just use the outputs of the RGCs to train your network, you get the intermediate units <em>for free</em>: the units in the intermediate layers of the CNNs map nicely to real interneurons in the retina. That means you can use all sorts of mechanistic interpretability tricks to probe the intermediate layers of the model, with confidence that these units map more or less 1:1 to real neurons in the retina. </p><p>That&#8217;s a very strong form of alignment between artificial and biological neural networks (<a href="https://xcorr.net/2023/04/20/how-can-a-neural-network-be-like-the-brain/">see this blog post</a> for an overview of the different degrees of alignment between brains and ANNs and what they can be used for). They use this to unravel different circuits in the retina responsible for different nonlinear phenomena fastidiously documented by physiologists over the years. I think if we can bring this level of detail from the sensory periphery to studies of the cortex, we&#8217;re in for exciting years ahead.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!WoIH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WoIH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png 424w, https://substackcdn.com/image/fetch/$s_!WoIH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png 848w, https://substackcdn.com/image/fetch/$s_!WoIH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png 1272w, https://substackcdn.com/image/fetch/$s_!WoIH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!WoIH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png" width="1456" height="542" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:542,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:477661,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!WoIH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png 424w, https://substackcdn.com/image/fetch/$s_!WoIH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png 848w, https://substackcdn.com/image/fetch/$s_!WoIH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png 1272w, https://substackcdn.com/image/fetch/$s_!WoIH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbc2fb938-2e38-48ca-a1e2-5e53972d0325_1892x704.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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></p><h1><a href="https://arxiv.org/abs/2308.06887">Robustified ANNs Reveal Wormholes Between Human Category Percepts</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oTWx!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oTWx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png 424w, https://substackcdn.com/image/fetch/$s_!oTWx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png 848w, https://substackcdn.com/image/fetch/$s_!oTWx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png 1272w, https://substackcdn.com/image/fetch/$s_!oTWx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oTWx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png" width="1456" height="458" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:458,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:682887,&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;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!oTWx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png 424w, https://substackcdn.com/image/fetch/$s_!oTWx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png 848w, https://substackcdn.com/image/fetch/$s_!oTWx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png 1272w, https://substackcdn.com/image/fetch/$s_!oTWx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd0e217fe-a385-4dc3-ab48-bdd15e5d47e1_2154x678.png 1456w" sizes="100vw"></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 role="img" 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><title></title><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>In this epically named paper, the authors find adversarial examples for humans. A little bit of background: some of the best neuroAI models of the visual system are adversarially robust, that is, not sensitive to small image perturbations. This seems to align better with human perception than vanilla networks. Still, adversarially robust networks have adversarial examples, just at larger scales (larger epsilon). In this work, they ask a related question, which is whether the adversarial examples of adversarially robust networks also fool humans. And they do! It turns out that the adversarial examples of adversarially robust network perform small image manipulations which can fool humans to switch to a different semantic category (hence, wormholes between categories). Previously, <a href="https://arxiv.org/abs/2002.04599">this kind of effect was demonstrated anecdotally</a> using image manipulation (i.e. Photoshop), and it wasn&#8217;t clear how far one could push the idea.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ylKI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ylKI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png 424w, https://substackcdn.com/image/fetch/$s_!ylKI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png 848w, https://substackcdn.com/image/fetch/$s_!ylKI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png 1272w, https://substackcdn.com/image/fetch/$s_!ylKI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ylKI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png" width="416" height="395.57924263674613" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1356,&quot;width&quot;:1426,&quot;resizeWidth&quot;:416,&quot;bytes&quot;:1356704,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ylKI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png 424w, https://substackcdn.com/image/fetch/$s_!ylKI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png 848w, https://substackcdn.com/image/fetch/$s_!ylKI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.png 1272w, https://substackcdn.com/image/fetch/$s_!ylKI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2b73c025-bd7a-4062-8765-70e612c67f31_1426x1356.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 role="img" 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><title></title><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>I think this is an exciting avenue because it points towards making networks more robust using a careful empirical approach. We can translate the conventional saying &#8220;humans are robust to adversarial examples&#8221; to a more mathematically precise &#8220;humans&#8217; category boundaries are smooth in epsilon balls around examples&#8221; to &#8220;humans&#8217; category boundaries are mostly smooth in epsilon balls around examples except along dimensions of high curvature corresponding to situation x, y and z&#8221;. What are these situations x, y and z? Are humans truly invariant or robust in these situations, or is it an illusion caused by not looking closely enough? The manipulations demonstrated tend to be highly localized, and so perhaps a more refined notion of epsilon-ball will take into account foreground-background distinctions.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1-QI!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1-QI!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png 424w, https://substackcdn.com/image/fetch/$s_!1-QI!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png 848w, https://substackcdn.com/image/fetch/$s_!1-QI!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png 1272w, https://substackcdn.com/image/fetch/$s_!1-QI!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1-QI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png" width="1456" height="1117" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1117,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:3093869,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1-QI!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png 424w, https://substackcdn.com/image/fetch/$s_!1-QI!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png 848w, https://substackcdn.com/image/fetch/$s_!1-QI!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.png 1272w, https://substackcdn.com/image/fetch/$s_!1-QI!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F710dfd56-3051-4fe4-b62e-381419a587e0_1900x1458.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 role="img" 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><title></title><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></p><h1><a href="http://arxiv.org/abs/2308.09431">End-to-end topographic networks as models of cortical map formation and human visual behaviour: moving beyond convolutions</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!P81h!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!P81h!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png 424w, https://substackcdn.com/image/fetch/$s_!P81h!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png 848w, https://substackcdn.com/image/fetch/$s_!P81h!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png 1272w, https://substackcdn.com/image/fetch/$s_!P81h!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!P81h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png" width="1456" height="717" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:717,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1877827,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!P81h!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png 424w, https://substackcdn.com/image/fetch/$s_!P81h!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png 848w, https://substackcdn.com/image/fetch/$s_!P81h!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.png 1272w, https://substackcdn.com/image/fetch/$s_!P81h!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F38351fc6-9c20-472b-9de0-c3c83230b015_1670x822.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 role="img" 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><title></title><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></p><p>There is no accepted mechanism by which weight sharing can be implemented in cortex<a class="footnote-anchor" data-component-name="FootnoteAnchorToDOM" id="footnote-anchor-1" href="#footnote-1" target="_self">1</a>. That means that the visual cortex cannot literally be a CNN, and therefore must derive its relative spatial stationarity from the statistics of the natural world and genetic and development biases. What the cortex is, instead, is locally connected: neurons lie on a 2d sheet, receive local input, and project to other areas locally. A complete model of cortical visual processing should swap convolutional layers for local layers. It turns out, however, that it&#8217;s not that straightforward to implement a locally connected neural network in an efficient way, and most models thus far have only used a single topographic (i.e. locally connected layer), frequently to model V4 &#8594; IT.</p><p>This paper does it! Swap out the convolutional layers for locally connected layers, train on categorization on ecoset, an ecologically motivated alternative to ImageNet. I was really curious how they managed this feat, because I went down this exact path last year, even going to the extent of dabbling in Triton to compile custom locally connected kernels for PyTorch. The answer, in the methods, sent me into a rage: turns out there&#8217;s a function that does this directly in Tensorflow. &#175;\_(&#12484;)_/&#175;<strong>. </strong></p><p>They found some really nice topographic maps that look a little like orientation pinwheels in V1. They also found some evidence (pretty weak in absolute terms) for a better match to human visual biases. Now, once we get into models which have non-stationary properties over space and that approximate foveation, I think we have to think a bit more deeply about the visual diet fed into the model. Images in ecoset, on average, have objects centered within images, because people generally point their cameras at things of interest; but it&#8217;s not quite the same as saying that what is fed is an approximation of the foveated diet a human gets. I think it&#8217;s possible to approximate that diet by cropping images in proportion to the probability of foveating on objects under the crop, using estimates of salience from eye- and mouse-tracking. </p><h1><a href="https://openreview.net/forum?id=xnsg4pfKb7">Bispectral neural networks</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!--KQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!--KQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png 424w, https://substackcdn.com/image/fetch/$s_!--KQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png 848w, https://substackcdn.com/image/fetch/$s_!--KQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png 1272w, https://substackcdn.com/image/fetch/$s_!--KQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!--KQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png" width="960" height="596" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/cf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:596,&quot;width&quot;:960,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:333660,&quot;alt&quot;:&quot;&quot;,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!--KQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png 424w, https://substackcdn.com/image/fetch/$s_!--KQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png 848w, https://substackcdn.com/image/fetch/$s_!--KQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.png 1272w, https://substackcdn.com/image/fetch/$s_!--KQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf52664f-6164-439d-b6c5-c6729439a5e4_960x596.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 role="img" 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><title></title><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>I heard about this paper from the <a href="https://twimlai.com/podcast/twimlai/why-deep-networks-and-brains-learn-similar-features/">TWIML podcast</a>, where the first author, <a href="https://twitter.com/naturecomputes">Sophia Sanborn</a> did a fantastic job covering a ton of ground in 45 minutes: analytical philosophy, Hubel &amp; Wiesel, sparse coding, group theory, geometric deep learning, and finally, this paper. In Olshausen &amp; Field&#8217;s classic work (1996), they found that the responses of neurons in V1 resembled a sparse code for natural images. Hence, there&#8217;s a convergence in representation between an optimality principle and the brain. </p><p>The work here was motivated by a similar optimality principle, equivariance to identity-preserving transformations. If you translate an image, its power spectrum is preserved; in addition, its phase spectrum maintains a definite set of relationships (i.e. you get a linear phase advance with frequency when you translate). So the Fourier basis is a very good basis for capturing translations. But what about other groups? It turns out that there is a preserved quantity that gets preserved in the Fourier basis under translation, which is the bispectrum. What the authors show is that you can learn the equivalent of Fourier bases on arbitrary groups by imposing that the bispectrum is preserved.</p><p>What does that have to do with brains? I think we can connect the dots from Sophia Sanborn&#8217;s description of her thesis (which I haven&#8217;t been able to find online): </p><blockquote><p>A core hypothesis that I advance in my PhD thesis &#8220;A Group Theoretic Framework for Neural Computation&#8221; (UC Berkeley, 2021) is that the brain evolved to efficiently encode this transformation structure through the use of <em>group-equivariant</em> representations.</p></blockquote><p>I&#8217;m excited to peek more into this field by attending this year&#8217;s <a href="https://www.neurreps.org/about">NeurReps workshop</a> and <a href="https://nips.cc/virtual/2022/workshop/49975">watching last year&#8217;s</a>.</p><h1><a href="https://www.biorxiv.org/content/10.1101/2023.04.16.537079v2.abstract">Emergence of emotion selectivity in a deep neural network trained to recognize visual objects</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!sSzH!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!sSzH!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png 424w, https://substackcdn.com/image/fetch/$s_!sSzH!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png 848w, https://substackcdn.com/image/fetch/$s_!sSzH!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png 1272w, https://substackcdn.com/image/fetch/$s_!sSzH!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!sSzH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png" width="1456" height="1088" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1088,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:538567,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!sSzH!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png 424w, https://substackcdn.com/image/fetch/$s_!sSzH!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png 848w, https://substackcdn.com/image/fetch/$s_!sSzH!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.png 1272w, https://substackcdn.com/image/fetch/$s_!sSzH!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa62426f7-f1ec-48da-8af4-f5dd236ff606_1502x1122.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 role="img" 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><title></title><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 authors take a look inside a CNN trained on Imagenet and find that there are some units which respond selectively to the valence of a battery of images: neutral, pleasant and unpleasant. They find that ablating these units makes it harder to infer the valence of other items, hence finding a causal role for the units. Thus, perhaps the intrinsic valence of objects can be inferred without needing hardcoding by 1) projecting onto a high-dimensional object space, as might be done by a CNN trained with supervision or self-supervision and 2) downprojecting to some low-dimensional space. The authors conclude that</p><blockquote><p>these results support the idea that the visual system may have the innate ability to represent the affective significance of visual input</p></blockquote><p>That&#8217;s an interesting idea. However, I would venture that at least some affective visual biases are baked in; for example, the <a href="https://en.wikipedia.org/wiki/Snake_detection_theory">intrinsic fear of snakes</a> or the <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3844087/">attention-grabbing appearance of faces</a>. So while regular visual features from objects may be informative enough to make an affective judgement, where does the mapping from object space to valence come from?</p><h1>Bonus: <strong><a href="https://www.science.org/doi/10.1126/sciadv.adg1736">The neural code for &#8220;face cells&#8221; is not face-specific</a> &amp; </strong><a href="https://www.biorxiv.org/content/10.1101/2023.09.07.556737v1">Medial temporal cortex supports compositional visual inferences</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ueym!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ueym!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png 424w, https://substackcdn.com/image/fetch/$s_!ueym!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png 848w, https://substackcdn.com/image/fetch/$s_!ueym!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png 1272w, https://substackcdn.com/image/fetch/$s_!ueym!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ueym!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png" width="1110" height="528" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:528,&quot;width&quot;:1110,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:821241,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ueym!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png 424w, https://substackcdn.com/image/fetch/$s_!ueym!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png 848w, https://substackcdn.com/image/fetch/$s_!ueym!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.png 1272w, https://substackcdn.com/image/fetch/$s_!ueym!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe648e818-3648-46f3-8fb6-8c6965adc920_1110x528.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 role="img" 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><title></title><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></p><p>Right as I was about to fire off this newsletter, two papers showed up on my feed. The first is from Marge Livingstone on face cells. It&#8217;s a lovely study of the idea that there&#8217;s no such thing as pure face cells: these are generic feature detectors that happen to be very good at faces, and they could respond equally well to roundish things with appropriately located holes, e.g. buttons and electrical outlets. They show that you can predict the selectivity of neurons to faces by mapping out their responses to non-faces. Neat!</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!1L0t!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!1L0t!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png 424w, https://substackcdn.com/image/fetch/$s_!1L0t!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png 848w, https://substackcdn.com/image/fetch/$s_!1L0t!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png 1272w, https://substackcdn.com/image/fetch/$s_!1L0t!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!1L0t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png" width="1456" height="1340" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1340,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:370977,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!1L0t!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png 424w, https://substackcdn.com/image/fetch/$s_!1L0t!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png 848w, https://substackcdn.com/image/fetch/$s_!1L0t!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.png 1272w, https://substackcdn.com/image/fetch/$s_!1L0t!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1e5ac5cc-f5cf-4000-bf1a-d5694aa1eeac_1654x1522.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 role="img" 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><title></title><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></p><p>The second paper from Tyler Bonnen in Dan Yamins&#8217; lab examines the role of the medial temporal cortex in visual perception (MTC), e.g. perirhinal cortex, which feeds into the hippocampus and closely related structures critically important in memory. They cook up visual tasks which are hard for time-limited humans and easy for time-unconstrained humans; they show that DNNs look a lot like time-limited humans; and they show that time-unconstrained humans with MTC damage are a lot like time-limited humans. All in all, this is evidence that there&#8217;s something about the MTC that allows higher-level reasoning across saccades to occur. Definitely the start of an interesting research programme.</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>Although there&#8217;s some interesting research on building biologically plausible weight-sharing. See <a href="https://arxiv.org/abs/2106.13031">Pogodin et al. (2021)</a>.</p></div></div>]]></content:encoded></item><item><title><![CDATA[A Labor Day Weekend NeuroAI roundup (#2)]]></title><description><![CDATA[Consciousness, learning, and motor representations]]></description><link>https://www.neuroai.science/p/some-of-my-best-friends-are-neuroscientists</link><guid isPermaLink="false">https://www.neuroai.science/p/some-of-my-best-friends-are-neuroscientists</guid><dc:creator><![CDATA[Patrick Mineault]]></dc:creator><pubDate>Wed, 30 Aug 2023 19:02:22 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!UBc5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1><a href="https://arxiv.org/abs/2308.08708">Consciousness in Artificial Intelligence: Insights from the Science of Consciousness</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!UBc5!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UBc5!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png 424w, https://substackcdn.com/image/fetch/$s_!UBc5!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png 848w, https://substackcdn.com/image/fetch/$s_!UBc5!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png 1272w, https://substackcdn.com/image/fetch/$s_!UBc5!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!UBc5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png" width="1416" height="1446" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/e431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1446,&quot;width&quot;:1416,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:498506,&quot;alt&quot;:&quot;&quot;,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!UBc5!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png 424w, https://substackcdn.com/image/fetch/$s_!UBc5!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png 848w, https://substackcdn.com/image/fetch/$s_!UBc5!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.png 1272w, https://substackcdn.com/image/fetch/$s_!UBc5!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fe431bc04-1013-44d2-a338-ec51bda37d30_1416x1446.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 role="img" 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><title></title><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>I was super excited to see this paper roll by from folks at Mila (Eric, Yoshua, Xu) and fellow Neuromatchers (Grace &amp; Megan). It&#8217;s 88 pages long, but it&#8217;s quite approachable and I was able to finish in a couple of sessions. </p><p>The authors present what is perhaps a controversial view of consciousness &amp; AI: that it can be assessed, that you can make a grid to score current AI systems based on theories of consciousness, and that current AI systems don&#8217;t check all the boxes but <em>all the building blocks exist today</em>. </p><p>The authors really hone in on the <em>soft problem</em> of consciousness: how do you replicate the computational and operational aspects of consciousness? If you replicate all of these aspects, then if you believe in <em>computational functionalism</em>, you solve the &#8220;hard problem of consciousness&#8221;: why does it feel like anything to be? Computational functionalism is like duck typing for consciousness: if it walks like  consciousness, and talks like consciousness, it&#8217;s consciousness. It doesn&#8217;t matter whether it&#8217;s in silico or in vivo. I highly recommend <span class="mention-wrap" data-attrs="{&quot;name&quot;:&quot;Erik Hoel&quot;,&quot;id&quot;:9379583,&quot;type&quot;:&quot;user&quot;,&quot;url&quot;:null,&quot;photo_url&quot;:&quot;https://bucketeer-e05bbc84-baa3-437e-9518-adb32be77984.s3.amazonaws.com/public/images/d9b2abde-cd67-4a3d-a157-9a8954331957_394x394.jpeg&quot;,&quot;uuid&quot;:&quot;799acd4c-1e50-4f44-bd4d-6a6af4af62e0&quot;}" data-component-name="MentionToDOM"></span> &#8216;s <a href="https://www.theintrinsicperspective.com?utm_source=navbar&amp;utm_medium=web&amp;r=ao4db">recent piece</a> to contextualize these conceptions of consciousness.</p><p>What follows is then a grand tour of mechanistic theories of consciousness which are compatible with computational functionalism&#8212;global workspace theory, higher-order theory, attention schema theory, etc. Notably, this excludes Integrated Information Theory (IIT), which <em>is</em> substrate-dependent. From these theories, they establish a grid of indicator properties: if you hit all these criteria, your confidence that an agent has the working properties of consciousness increases. To be clear, however, the criteria listed are neither said to be necessary nor sufficient: they&#8217;re more like a laundry list of commonly assumed properties about consciousness. Some of the common themes include that:</p><blockquote><p>A conscious agent is embodied, has recurrent processing, attention, a global workspace and higher-order processing. It uses sparse, disentangled representations to build models of the world.</p></blockquote><p>Each of these factors can be instantiated in systems that exist today, but they argue that all the pieces haven&#8217;t been put together. I wasn&#8217;t entirely convinced by the argument that the pieces haven&#8217;t all been put together. They argue, in particular, that a reinforcement learning agent built with transformers doesn&#8217;t check all these criteria. But interestingly, the thing that disqualifies is slightly outside of the grid itself: </p><blockquote><p>So the system arguably <em>imitates</em> planning and using visuomotor control to execute plans, as opposed to <em>actually doing these things</em>. (<em>emphasis mine</em>)</p></blockquote><p>That seems to me a distinction grounded in the centrality of amortized inference in conscious agents, which is outside the grid. Earlier, they also argue that transformers can&#8217;t hit all the criteria, because they&#8217;re not recurrent. You could argue that transformers are a superset of finite-horizon, unrolled recurrent nets; disallowing them to be lumped in with recurrent processing seems to run counter to computational functionalism (see, e.g. <a href="https://www.sciencedirect.com/science/article/pii/S105381001830521X">Doerig et al. 2019</a>). In other words, while I&#8217;m convinced that it doesn&#8217;t feel like anything to be PaLM-E, the core reasons to make that statement lie outside of the grid they propose. </p><p>Nevertheless, a thought-provoking read, and a good companion and counter-weight to Erik Hoel&#8216;s <a href="https://www.simonandschuster.com/books/The-World-Behind-the-World/Erik-Hoel/9781982159382">recent book</a> dealing with a theory of consciousness <em>not</em> compatible with computational functionalism, Integrated Information Theory (IIT).</p><h1><a href="http://arxiv.org/abs/2211.14666">Synergies between Disentanglement and Sparsity: Generalization and Identifiability in Multi-Task Learning</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ghRg!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ghRg!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png 424w, https://substackcdn.com/image/fetch/$s_!ghRg!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png 848w, https://substackcdn.com/image/fetch/$s_!ghRg!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png 1272w, https://substackcdn.com/image/fetch/$s_!ghRg!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!ghRg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png" width="1456" height="692" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:692,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:332422,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ghRg!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png 424w, https://substackcdn.com/image/fetch/$s_!ghRg!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png 848w, https://substackcdn.com/image/fetch/$s_!ghRg!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.png 1272w, https://substackcdn.com/image/fetch/$s_!ghRg!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F83eee1cf-1ab3-4d08-999f-65591541937e_1590x756.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 role="img" 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><title></title><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 last few years have seen a rise of methods that find dense features in large-scale datasets, and then use these features for transfer learning, whether it&#8217;s vision transformers or large language models. This is in contradistinction to the classic methods of sparse feature learning: sparse coding, dictionary learning, and non-negative matrix factorization. The authors find a fairly general result on the identifiability of sparse hidden factors in deep models in multi-task and meta-learning settings. They propose a straightforward dual-loop algorithm to learn latent features and their sparse loadings and show an advantage of these sparse representations in terms of sample efficiency. </p><p>My NeuroAI take: There&#8217;s a long history of sparse coding as a model of the brain. Neuroscientists made strong claims that sparse codes were, in some sense, better than dense codes. Yet, your average transformer works pretty darn well with a dense representation. What gives? Perhaps sparse representations are more useful in certain regimes, for example when examples are few. It would be interesting to link these results to the <a href="https://en.wikipedia.org/wiki/Baldwin_effect">Baldwin effect</a> on evolutionary timescales: perhaps there is evolutionary pressure towards sparsity because it can make learning more efficient.</p><h1><a href="https://sites.google.com/view/myosuite/myosuite">MyoSuite</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!xQet!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!xQet!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png 424w, https://substackcdn.com/image/fetch/$s_!xQet!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png 848w, https://substackcdn.com/image/fetch/$s_!xQet!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png 1272w, https://substackcdn.com/image/fetch/$s_!xQet!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!xQet!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png" width="1456" height="788" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:788,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1442693,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!xQet!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png 424w, https://substackcdn.com/image/fetch/$s_!xQet!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png 848w, https://substackcdn.com/image/fetch/$s_!xQet!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.png 1272w, https://substackcdn.com/image/fetch/$s_!xQet!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F3060e371-a823-4299-8693-5ead8eec21f2_2114x1144.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 role="img" 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><title></title><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>Not a paper but a piece of software that&#8217;s highly relevant to this crowd. Guillaume Durandau, who became a prof in mechanical engineering at McGill this February, came to showcase MyoSuite during the Mila NeuroAI reading group. MyoSuite is a very slick software suite capable of simulating muscles and skeletons of the forearm as well as legs in MuJoCo. He made an impassioned pitch that this kind of simulation software could serve as a basis for a new form of translational NeuroAI: with good models of sensorimotor cortex, the spinal cord, and skeletomuscular mechanics, we could build new therapies for those affected by disorders of movement. The key idea is to use these models to work our way backwards to find optimal stimulation patterns. It&#8217;s a very exciting research programme.</p><p>MyoSuite is hosting the <a href="https://sites.google.com/view/myosuite/myochallenge/myochallenge-2023">MyoChallenge</a> at this year&#8217;s NeurIPS, where you learn to control a simulated human skeleton for fine forearm movement or locomotion. 20k$+ in prizes! There&#8217;s a month until the deadline, so get in there! </p><h1><a href="https://elifesciences.org/articles/81499">Contrasting action and posture coding with hierarchical deep neural network models of proprioception</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!8Btt!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!8Btt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8Btt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8Btt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8Btt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!8Btt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg" width="1456" height="450" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:450,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!8Btt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg 424w, https://substackcdn.com/image/fetch/$s_!8Btt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg 848w, https://substackcdn.com/image/fetch/$s_!8Btt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!8Btt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7f231833-2db8-45fd-a9c6-4c4dfccf6903_1500x464.jpeg 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 role="img" 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><title></title><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 MyoSuite talk reminded me of this paper I had put in my stack for a while from the Alexander Mathis lab looking at how the brain learns representations in  somatosensory cortex. Using a model of spindles and a skeletomuscular model of the arm, they generated action sequences corresponding to letters. They then trained a neural network on either recognizing the letter that was traced or decoding the trajectory. They found that letter recognition leads to representations that look more like those you would find in single neurons in somatosensory cortex.</p><p>My first thought reading this is that this is incredibly cool work: simulations! NeuroAI! Systems that people haven&#8217;t looked at from this lens! My second thought was: wait, what? I&#8217;m sympathetic to the idea that you can use efference copy to learn good representations in the brain, but this feels like a bit of a stretch. One thing that feels fishy is that you can have fine motor skills without much centralized planning; e.g. think of the octopus. Indeed, <a href="https://elifesciences.org/articles/81499#sa1">the reviews published in eLife</a>, including one from Niko Kriegeskorte, seem to converge on these points: cool idea, great execution, I don&#8217;t buy the conclusion. Definitely an interesting new research programme.</p><h1><a href="https://www.biorxiv.org/content/10.1101/2023.07.25.550571v1">Rastermap: a discovery method for neural population recordings</a></h1><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!oLnb!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!oLnb!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png 424w, https://substackcdn.com/image/fetch/$s_!oLnb!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png 848w, https://substackcdn.com/image/fetch/$s_!oLnb!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png 1272w, https://substackcdn.com/image/fetch/$s_!oLnb!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!oLnb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png" width="1456" height="409" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:409,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:949369,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!oLnb!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png 424w, https://substackcdn.com/image/fetch/$s_!oLnb!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png 848w, https://substackcdn.com/image/fetch/$s_!oLnb!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.png 1272w, https://substackcdn.com/image/fetch/$s_!oLnb!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2fb851ef-c94c-4510-b51a-3650050cd8f0_2074x582.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 role="img" 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><title></title><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>From Carsen Stringer and Marius Patchitariu (friends from the NMA year 1 days) comes this cool method to sort spiking activity in massively parallel recordings like Neuropixels. You can view it as a combination of k-means and a (semi-)exhaustive search to minimize a mixed local and global loss on groups. It does a really good job on real spiking data, but perhaps most intriguingly, it appears to work very well on ANN activity, as illustrated by this analysis of the population activity in RL networks trained on Atari games. One more tool in the belt of mechanistic interpretability?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!4ATa!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!4ATa!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png 424w, https://substackcdn.com/image/fetch/$s_!4ATa!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png 848w, https://substackcdn.com/image/fetch/$s_!4ATa!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png 1272w, https://substackcdn.com/image/fetch/$s_!4ATa!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!4ATa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png" width="1410" height="1482" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1482,&quot;width&quot;:1410,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:803167,&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;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!4ATa!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png 424w, https://substackcdn.com/image/fetch/$s_!4ATa!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png 848w, https://substackcdn.com/image/fetch/$s_!4ATa!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.png 1272w, https://substackcdn.com/image/fetch/$s_!4ATa!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4ba5647d-f2b3-4e35-a2d7-c95e78d55966_1410x1482.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 role="img" 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><title></title><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><h1>Send me your paper!</h1><p>They say that you&#8217;re the average of your 5 closest friends; I certainly had the impression this week that my readings were heavily weighted towards papers 1) authored by people at Mila and 2) from people I met through Neuromatch Academy. If you&#8217;re outside of that bubble, and you think your paper should be on my radar, comment or send me an email!</p>]]></content:encoded></item></channel></rss>