<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yash And Shubhransh - ML Box on Medium]]></title>
        <description><![CDATA[Stories by Yash And Shubhransh - ML Box on Medium]]></description>
        <link>https://medium.com/@research.mlbox?source=rss-ad2f70370cac------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jGAyeVP-rYPqKBGtK3JRvQ.png</url>
            <title>Stories by Yash And Shubhransh - ML Box on Medium</title>
            <link>https://medium.com/@research.mlbox?source=rss-ad2f70370cac------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:52:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@research.mlbox/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bigger Neural Networks are Not Always Better]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@research.mlbox/bigger-neural-networks-are-not-always-better-9e085fc8a4d0?source=rss-ad2f70370cac------2"><img src="https://cdn-images-1.medium.com/max/1105/0*hVRwabQsCWentu-D.png" width="1105"></a></p><p class="medium-feed-snippet">LLMs tend to get lost in trivial logic. But why? Is their size a problem?</p><p class="medium-feed-link"><a href="https://medium.com/@research.mlbox/bigger-neural-networks-are-not-always-better-9e085fc8a4d0?source=rss-ad2f70370cac------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@research.mlbox/bigger-neural-networks-are-not-always-better-9e085fc8a4d0?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e085fc8a4d0</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[scaling-law]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 22:28:57 GMT</pubDate>
            <atom:updated>2026-11-18T22:29:46.081Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Grokking is Affected by Weights Norm, but Maybe Not in the Way You Think]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@research.mlbox/grokking-is-affected-by-weights-norm-but-maybe-not-in-the-way-you-think-9da796321177?source=rss-ad2f70370cac------2"><img src="https://cdn-images-1.medium.com/max/1122/0*BLphhod4heftNutZ.png" width="1122"></a></p><p class="medium-feed-snippet">Perhaps the weights norm is not a hard threshold for grokking, but simply a timescale tuner.</p><p class="medium-feed-link"><a href="https://medium.com/@research.mlbox/grokking-is-affected-by-weights-norm-but-maybe-not-in-the-way-you-think-9da796321177?source=rss-ad2f70370cac------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@research.mlbox/grokking-is-affected-by-weights-norm-but-maybe-not-in-the-way-you-think-9da796321177?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/9da796321177</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[generalization]]></category>
            <category><![CDATA[grokking]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 19:31:34 GMT</pubDate>
            <atom:updated>2026-11-17T19:33:01.760Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The Rich and the Simple: On the Implicit Bias of Adam and SGD]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@research.mlbox/the-rich-and-the-simple-on-the-implicit-bias-of-adam-and-sgd-28112719a48c?source=rss-ad2f70370cac------2"><img src="https://cdn-images-1.medium.com/max/1280/1*bgFzNzuaIwIvkFp3WtL47A.png" width="1280"></a></p><p class="medium-feed-snippet">GD implicitly biases towards &#x2018;simpler&#x2019; solutions. Adam implicitly biases towards &#x2018;richer&#x2019; solutions.</p><p class="medium-feed-link"><a href="https://medium.com/@research.mlbox/the-rich-and-the-simple-on-the-implicit-bias-of-adam-and-sgd-28112719a48c?source=rss-ad2f70370cac------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@research.mlbox/the-rich-and-the-simple-on-the-implicit-bias-of-adam-and-sgd-28112719a48c?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/28112719a48c</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[bias]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Mon, 16 Nov 2026 20:59:49 GMT</pubDate>
            <atom:updated>2026-11-16T20:59:49.288Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Collaborative AI Agents: Can Artificial Intelligence Actually Conduct Scientific Research?]]></title>
            <link>https://medium.com/@research.mlbox/collaborative-ai-agents-can-artificial-intelligence-actually-conduct-scientific-research-01518337c1b1?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/01518337c1b1</guid>
            <category><![CDATA[collaborative-ai-agents]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[research]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Mon, 02 Nov 2026 12:20:02 GMT</pubDate>
            <atom:updated>2026-11-02T12:20:02.215Z</atom:updated>
            <content:encoded><![CDATA[<p>AI that becomes a researcher.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cbR06jPBNKsRNKZn.png" /></figure><h3>Collaborative AI Agents: Can Artificial Intelligence Actually Conduct Scientific Research?</h3><p><em>AI that becomes a researcher.</em></p><h3>1. Introduction: What Is the Actual Problem?</h3><p>Imagine asking an AI system a seemingly simple question: <em>Can you find a way to make quantum computers more reliable?</em></p><p>The AI might generate several hypotheses, develop a mathematical explanation, and produce an answer that sounds entirely convincing.</p><p>But there is a fundamental problem: <strong>a convincing explanation is not necessarily a correct one.</strong></p><p>AI systems can produce mathematical arguments that contain errors, propose experiments that cannot test their hypotheses, or interpret results in ways that support their original assumptions. The difficulty is not simply generating ideas. It is determining whether those ideas survive rigorous testing.</p><p>This problem becomes particularly important in scientific research, where an incorrect conclusion can influence subsequent experiments and theoretical developments.</p><p>A researcher cannot simply propose a theory and declare it correct. They must demonstrate that the mathematics holds, that the experiments are properly designed, and that the observations support the predicted outcome.</p><p>The paper <em>Collaborative AI Agents for Autonomous Experimental Research with Solid-State Quantum Spins</em> explores whether AI systems can participate in this process more rigorously.</p><p>Instead of asking a single AI system to handle every stage of research, the researchers divide the work among multiple specialized agents.</p><p>One agent proposes scientific questions. Another develops mathematical theories. Others verify the mathematics, design experiments, conduct measurements, and review the resulting evidence.</p><p>Think of it as a scientific research team in which every member has a specific responsibility.</p><p>The researchers demonstrate their approach using quantum spins in diamonds, a physical system relevant to quantum technologies.</p><p><strong>The central question is not whether AI can generate scientific ideas. It is whether a collaborative AI system can develop a theory, test its predictions, recognize experimental failures, and revise its approach before accepting a conclusion.</strong></p><p>Subscribe To ML Box for internet’s deepest insights into AI</p><p><a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>2. Methodology: How Does the System Work?</h3><h3>Building a collaborative research team</h3><p>Traditional AI workflows often rely on one model to generate an answer and explain why that answer should be correct.</p><p>The problem is that the same system responsible for developing a hypothesis may also be responsible for evaluating it. If its initial reasoning contains a mistake, its subsequent analysis may reinforce that mistake rather than expose it.</p><p>The researchers take a different approach by dividing scientific investigation into distinct stages.</p><p>Their system includes agents responsible for proposing research questions, developing theoretical explanations, checking mathematical arguments, designing experiments, conducting computational verification, and reviewing the results.</p><p>A principal investigator coordinates these activities, while specialized agents handle different responsibilities.</p><p>This division of labour is important because scientific research involves several different kinds of reasoning. A mathematically plausible theory is not necessarily experimentally testable, and an apparently successful experiment is not necessarily reliable.</p><p>Each stage therefore needs to contribute evidence that can be evaluated independently of the original hypothesis.</p><h3>Why quantum spins?</h3><p>The researchers chose solid-state quantum spins as their experimental setting.</p><p>A quantum spin is an intrinsic property of a quantum system. In this study, the relevant systems are associated with defects in diamond that can be manipulated and measured using controlled experimental procedures.</p><p>The researchers investigate how these systems respond to sequences of microwave pulses.</p><p>A microwave pulse acts as a controlled intervention: it changes the quantum system in a particular way, after which researchers measure the resulting response.</p><p>By varying the pulse sequences, researchers can investigate how the system behaves under different conditions.</p><p>However, experimental measurements are not perfect. Equipment imperfections and changes in experimental conditions can introduce errors, making calibration essential.</p><p><strong>The researchers chose a problem in which theoretical predictions could be compared against physical measurements. This allowed them to evaluate not only whether their AI agents could develop a mathematical result, but also whether that result could survive contact with an actual experiment.</strong></p><p>Subscribe To ML Box for internet’s deepest insights into AI</p><p><a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>The mathematical discovery</h3><p>The paper’s central mathematical result concerns the number of independent calibration measurements required to predict the ensemble response of quantum systems subjected to phase-controlled microwave-pulse sequences.</p><p>Under the paper’s assumptions about persistent pulse errors, the authors derive a relationship showing that the number of required calibration measurements grows quadratically with the maximum number of pulses.</p><p>In simpler terms, the researchers identify a way to predict the system’s behaviour using substantially fewer independent measurements than the alternative interpolation method they compare against.</p><p>Consider an experiment involving sequences containing up to three pulses.</p><p>Under the proposed relationship, the method requires just <strong>10 independent calibration measurements</strong>, compared with <strong>91 measurements</strong> for the alternative interpolation approach.</p><p>That represents a reduction of approximately 89%.</p><p>This matters because calibration requires experimental effort. If researchers can obtain reliable predictions using fewer measurements, they may be able to investigate more configurations without proportionally increasing the experimental workload.</p><p>The AI agents also use computational verification to check the mathematical result.</p><p>This is similar to deriving a mathematical argument and then writing a computer program to test whether its conclusions hold across relevant cases. Such verification can expose mistakes and strengthen confidence in a result, although it does not automatically prove every aspect of a mathematical argument.</p><p>The researchers then use the theoretical result to design experiments that distinguish its predictions from those of competing interpolation methods.</p><p><strong>The important contribution is not merely a mathematical formula. It is the connection between theory, computational checking, and an experiment designed to determine which predictions agree with physical reality.</strong></p><h3>3. Experimental Results: When the First Experiment Failed</h3><p>Deriving a mathematical result is only one part of scientific research.</p><p>The next challenge is determining whether the result accurately describes the physical system being studied.</p><p>The researchers designed experiments to compare their theoretical predictions against measurements of quantum-spin responses. They also compared their predictions against those of competing interpolation methods.</p><p>However, the first experimental attempt revealed a problem.</p><h3>Understanding signal drift</h3><p>Imagine measuring a room’s temperature using a thermometer.</p><p>You measure 25°C. Ten minutes later, the thermometer reads 25.2°C, and shortly afterwards it reads 24.8°C.</p><p>If the room itself has remained stable, these differences may reflect measurement instability rather than genuine changes in temperature.</p><p>This is the basic idea behind signal drift: the measured signal changes over time, potentially because of changes in equipment or experimental conditions.</p><p>In the researchers’ experiment, the measured signal was drifting, and the initial attempt failed independent experimental controls.</p><p>Consequently, the researchers could not simply accept the apparent agreement between their theory and the initial measurements.</p><p>Instead, they revised the measurement protocol and conducted another experiment.</p><p>This is an important distinction. An experiment that initially appears to support a hypothesis does not automatically establish that the hypothesis is correct. The reliability of the measurement process matters just as much as the numerical result.</p><h3>The final experimental result</h3><p>The final experiment passed the predefined accuracy criteria and relevant experimental controls.</p><p>The researchers reported the following values for the target contrast:</p><ul><li><strong>Experimental measurement:</strong> 40.0 ± 0.4</li><li><strong>Theoretical prediction:</strong> 39.7 ± 1.3</li></ul><p>Both values are expressed in units of (10^{-3}) weighted counts per shot.</p><p>The theoretical prediction was therefore close to the experimentally measured result.</p><p>The researchers also compared their prediction against competing interpolation methods, which predicted zero for the target contrast.</p><p>Their method produced a prediction near 40 in the reported units, consistent with the measured value.</p><p>The experiment therefore supported the researchers’ approach over the particular alternatives they tested.</p><p>However, this does not establish that every competing method is incorrect or that the proposed approach will work in every experimental setting. It demonstrates that, for the problem studied, the researchers’ theoretical prediction agreed with the final measurement while the tested alternatives did not.</p><p>Subscribe to our Substack for detailed analysis of New Research papers, delivered to your email. Everyday — <a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>What makes the result important?</h3><p>The research process involved several distinct steps:</p><ol><li>The agents developed a mathematical theory.</li><li>They checked the theory computationally.</li><li>They designed experiments to test its predictions.</li><li>The initial experiment appeared promising but failed independent controls.</li><li>The researchers revised the experimental procedure.</li><li>The final experiment passed the predefined criteria and produced results consistent with the theory.</li></ol><p>The crucial step was the decision not to accept the first apparently successful result.</p><p>The system’s research process did not end when an experiment appeared to confirm the original hypothesis. The researchers had to address the measurement problem before accepting the final result.</p><p>This is a more meaningful demonstration of scientific reasoning than simply generating a hypothesis and finding evidence that appears to support it.</p><p><strong>The result demonstrates a research workflow in which mathematical reasoning, computational verification, experimental testing, and revision work together. The initial failure was not merely an inconvenience; it became a reason to investigate further before accepting the conclusion.</strong></p><h3>4. Critical Analysis: How Far Does This Actually Take Us?</h3><p>The paper provides promising evidence that collaborative AI agents can contribute to a structured scientific investigation.</p><p>Its greatest strength is the system’s willingness to reject experimental attempts that initially appeared successful but failed independent checks.</p><p>This helps address a fundamental weakness in AI-assisted research: the tendency to produce convincing explanations without establishing that the underlying claims are adequately supported.</p><p>By separating theoretical development, verification, experimentation, and review, the researchers create a workflow in which different stages can challenge the conclusions reached by others.</p><p>Nevertheless, several limitations deserve attention.</p><h3>1. The scope is limited</h3><p>The system was demonstrated using a particular problem involving quantum-spin measurements.</p><p>That does not establish that the same workflow will perform equally well in medicine, biology, materials science, or other fields.</p><p>Different scientific disciplines involve different experimental constraints, measurement techniques, and standards of evidence. Demonstrating a successful workflow in one setting is a useful starting point, not proof of universal scientific competence.</p><h3>2. Human involvement remains important</h3><p>The research involved AI agents operating alongside human-supported laboratory infrastructure.</p><p>Humans continued to play an important role in handling experimental procedures and safety constraints.</p><p>The results therefore should not be interpreted as proof that AI can independently conduct every stage of scientific research without human oversight.</p><p>Instead, the paper demonstrates what a coordinated AI research system can accomplish within a particular experimental environment.</p><h3>3. The mathematical result depends on assumptions</h3><p>The calibration relationship is derived under specific assumptions about persistent pulse errors and the experimental model.</p><p>Those assumptions matter.</p><p>A mathematical result can be correct within its stated framework without automatically describing every real-world system. If the experimental conditions differ substantially from those assumed by the theory, the conclusions may require further investigation.</p><p>The experimental validation is therefore essential, but it does not eliminate the need to examine the assumptions under which the result was derived.</p><h3>4. The research process can be expensive</h3><p>The agents rejected numerous research proposals before identifying a viable direction.</p><p>This is not necessarily a flaw. Scientific research routinely involves failed hypotheses and discarded approaches.</p><p>However, it raises a practical question: how much computational effort is required to obtain a successful result?</p><p>A system that can conduct rigorous research but requires excessive resources may have limited practical value. Future work should examine how efficiently these systems can identify promising hypotheses and determine which investigations are worth pursuing.</p><h3>The broader lesson</h3><p>The paper does not establish that AI has become a fully autonomous scientist.</p><p>What it demonstrates is more specific: AI agents can collaborate across multiple stages of a scientific investigation, develop mathematical arguments, verify aspects of their reasoning, help design experiments, and revise their approach when experimental evidence reveals a problem.</p><p>That is a meaningful step, but the distinction between assisting scientific discovery and independently mastering the scientific process remains important.</p><p><strong>The strongest evidence for scientific capability is not how confidently a system explains its hypothesis. It is whether the system can test that hypothesis, confront contradictory evidence, and change course when the evidence demands it.</strong></p><h3>5. Conclusion: From Explaining Science to Participating in Discovery</h3><p>The paper <em>Collaborative AI Agents for Autonomous Experimental Research with Solid-State Quantum Spins</em> explores a different way of using artificial intelligence in scientific research.</p><p>Rather than relying on one AI system to generate and defend a conclusion, the researchers coordinate specialized agents to develop theories, check mathematical reasoning, design experiments, and evaluate the resulting evidence.</p><p>Their application to quantum-spin measurements demonstrates how this workflow can connect mathematical predictions with physical experiments.</p><p>The researchers derive a calibration relationship that substantially reduces the number of measurements required under their assumptions. They then test its predictions experimentally, revise their procedure after an initial attempt fails independent controls, and obtain a final result consistent with the theoretical prediction.</p><p>The work nevertheless has important limitations. Its demonstration is specific to the experimental setting studied, human involvement remains necessary, and the generality and efficiency of the approach require further investigation.</p><p>Still, the broader direction is worth watching.</p><p>Scientific discovery requires more than producing plausible answers. It requires developing explanations, testing them against reality, identifying failures, and refining ideas until the available evidence justifies a conclusion.</p><p><strong>In one sentence: The paper demonstrates how collaborative AI agents can move beyond generating scientific explanations toward participating in a structured process of mathematical reasoning, experimental investigation, and evidence-based revision.</strong></p><blockquote><em>There’s more of where this came from. Our substack offers far more resources for people who are serious about AI.</em></blockquote><blockquote><em>We created it for experts and for making people experts.</em></blockquote><blockquote><em>Join us here — </em><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><p>Thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=01518337c1b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Networks Are Over. Transformers Have Something Better.]]></title>
            <link>https://medium.com/@research.mlbox/networks-are-over-transformers-have-something-better-c4eac9dc7a9a?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4eac9dc7a9a</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Sat, 31 Oct 2026 11:20:49 GMT</pubDate>
            <atom:updated>2026-10-31T11:20:49.523Z</atom:updated>
            <content:encoded><![CDATA[<p>The world of AI will change now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Pxhl3Qd5RgQ_aIu8.png" /></figure><p><em>One transpose changes everything.</em></p><p>Transformers have achieved excellent results in language modelling and other sequence-based tasks. But real-world data often involves more than sequences. Financial transactions, social networks, and biological systems all contain relationships between entities that an AI model needs to understand.</p><p>Consider fraud detection. Millions of people participate in transactions every day, and identifying suspicious activity requires understanding not just individual transactions but also how people are connected.</p><p>This is where <strong>graph neural networks (GNNs)</strong> come in. But combining GNNs with transformers creates a problem: how do we capture both local relationships and global patterns without making computation prohibitively expensive?</p><p>A 2025 ICLR paper by Zhou et al., titled <em>DUALFormer: Dual Graph Transformer</em>, proposes an interesting solution.</p><p>Subscribe To ML Box for internet’s deepest insights into AI</p><p><a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>Understanding Graphs</h3><p>A graph consists of two basic components: <strong>nodes and edges</strong>.</p><p>Nodes represent the entities we care about, while edges describe how those entities are connected.</p><p>For example:</p><ul><li>In a social network, nodes represent people and edges represent friendships.</li><li>In biology, nodes might represent proteins and edges their interactions.</li><li>In a citation network, nodes represent research papers and edges indicate citations.</li></ul><p>Each node can also contain features describing it. A research paper, for instance, could be represented by information extracted from its abstract.</p><p>When working with graphs, a common task is <em>node classification</em>: predicting the category of each node using its features and its relationships with other nodes.</p><p>There are two common approaches to this problem.</p><p><strong>Graph neural networks ask the neighbours.</strong> They gather information from connected nodes to understand each node’s position in the graph.</p><p><strong>Graph transformers ask everyone.</strong> They use attention mechanisms to let nodes learn from information across the entire graph, including nodes that aren’t directly connected.</p><p>Both approaches have strengths, but they also have weaknesses.</p><p>GNNs can struggle to preserve useful information as it passes through many layers. Repeatedly mixing information from neighbouring nodes can blur the differences between them.</p><p>Transformers can capture relationships across the entire graph, but conventional attention becomes computationally expensive as the number of nodes grows.</p><p>So, why not simply combine the two?</p><h3>Why Combining Them Isn’t Enough</h3><p>It sounds reasonable to use a GNN for local relationships and a transformer for global information.</p><p>However, the authors argue that existing approaches can introduce another problem: local and global information may compete for the same representation space.</p><p>In simpler terms, the model must learn about immediate neighbours while simultaneously understanding relationships across the entire graph. Combining these responsibilities isn’t always straightforward.</p><p>The researchers propose <strong>DUALFormer</strong>, an architecture designed to handle these two tasks more effectively.</p><p><strong>Having trouble understanding this? There’s a better way.</strong></p><p>Subscribe to our Substack for detailed analysis of New Research papers, delivered to your email. Everyday — <a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>The DUALFormer Approach</h3><p>DUALFormer processes graph information in two main stages.</p><p>First, it uses a standard neural network to transform the original node features into a more compact representation. This gives the model a useful starting point for understanding the data.</p><p>Next, it applies an attention mechanism to capture global relationships.</p><p>Here’s the interesting part: <strong>the model applies attention across feature dimensions rather than directly calculating attention between every pair of nodes.</strong></p><p>This is the central design choice behind DUALFormer.</p><p>Finally, a graph neural network uses the actual connections in the graph to propagate the enriched information between neighbouring nodes. A final neural network then produces the predictions.</p><p>The overall process can be summarised simply:</p><ol><li><strong>Transform the features</strong> into a more useful representation.</li><li><strong>Capture global patterns</strong> using attention across feature dimensions.</li><li><strong>Capture local relationships</strong> using the graph’s connections.</li><li><strong>Make predictions</strong> using the combined information.</li></ol><p>This allows the architecture to address global and local relationships through different mechanisms rather than asking one component to handle everything.</p><h3>The Small Change That Makes a Difference</h3><p>The paper’s central technical detail is a change in how attention is calculated.</p><p>In a conventional transformer, attention is generally used to model relationships between tokens or other input elements. In a graph transformer, this can mean calculating relationships between nodes.</p><p>DUALFormer changes the approach by calculating attention across feature dimensions instead.</p><p>Why does this matter?</p><p>Imagine a graph containing thousands of nodes. Calculating attention between every pair of nodes can become expensive because the number of possible relationships grows rapidly as the graph gets larger.</p><p>DUALFormer avoids that particular bottleneck by performing its attention calculations across features instead of all pairs of nodes. It then relies on graph convolution to handle the actual node-to-node relationships.</p><p>This is not the same as claiming that feature attention and node attention are equivalent. They capture different kinds of information, and DUALFormer deliberately uses them for different purposes.</p><p><strong>The idea is to reason globally through features first, then use the graph structure to understand local relationships.</strong></p><h3>Why Should DUALFormer Work?</h3><p>The architecture separates graph learning into two complementary tasks.</p><p>Feature attention helps the model identify broader patterns across the graph without requiring expensive attention calculations between every pair of nodes.</p><p>Graph convolution then uses the graph’s actual connections to propagate this information between neighbouring nodes.</p><p>Together, these components allow the model to capture global patterns and local relationships through different mechanisms.</p><p>This separation is the key to the design: rather than forcing local and global reasoning into one process, DUALFormer gives each a distinct role.</p><h3>What Does This Mean for AI?</h3><p>Many real-world problems involve relationships that operate at different scales.</p><p>In financial systems, a suspicious transaction may look ordinary on its own but become suspicious when considered alongside a wider network of accounts.</p><p>In biology, understanding an individual protein may require examining both its properties and its interactions with other proteins.</p><p>And in social networks, the relationships surrounding a person may reveal patterns that cannot be understood by looking at that person alone.</p><p>Models that can efficiently capture both local structure and global information could therefore be useful across a wide range of graph-based tasks.</p><p>DUALFormer offers one approach to this challenge. Its main insight is straightforward: sometimes, improving an architecture doesn’t require making it larger or adding more complexity. It can come from changing how the model looks at the same information.</p><p>One change in the attention mechanism allows DUALFormer to approach graph learning from a different angle.</p><p>And sometimes, that change in perspective is exactly what a model needs.</p><blockquote><em>There’s more of where this came from. Our substack offers far more resources for people who are serious about AI.</em></blockquote><blockquote><em>We created it for experts and for making people experts.</em></blockquote><blockquote><em>Join us here — </em><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><p>Thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4eac9dc7a9a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Attacks On Graph Nueral Networks Are Getting Out of Hand]]></title>
            <link>https://medium.com/@research.mlbox/the-attacks-on-graph-nueral-networks-are-getting-out-of-hand-f2c907c26bf4?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2c907c26bf4</guid>
            <category><![CDATA[graph-neural-networks]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Sat, 31 Oct 2026 11:16:36 GMT</pubDate>
            <atom:updated>2026-10-31T11:16:36.319Z</atom:updated>
            <content:encoded><![CDATA[<h4>How to Detect and Defend Against Them</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kOvk0qwCXV2cBvVQ.png" /></figure><p>Imagine training an AI system to detect financial fraud using millions of transactions. Everything works perfectly during testing, until you discover that the model consistently makes the wrong prediction whenever certain suspicious transactions appear together.</p><p>The attacker didn’t need to break into your system or change the model’s code. They simply poisoned a small part of its training data.</p><p>These are called <strong>backdoor attacks</strong>. They allow attackers to secretly teach an AI model to behave incorrectly whenever a specific trigger appears, while leaving its normal performance largely unaffected.</p><p>A 2025 ICLR paper titled <em>Robustness Inspired Graph Backdoor Defense</em>, by Zhang et al., explores how to identify and defend against these attacks in graph neural networks.</p><h3>First, What Are Graph Neural Networks?</h3><p>A graph neural network (GNN) is a type of AI model designed to learn from relationships between things.</p><p>Think of a social network. Each person is a <em>node</em>, and each friendship is an <em>edge</em>. The same idea applies to financial transactions, biological interactions, and recommendation systems.</p><p>Subscribe To ML Box for internet’s deepest insights into AI</p><p><a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><p>Unlike ordinary neural networks that primarily process individual inputs, GNNs learn by sharing information between connected nodes.</p><p>For example, a fraud detection model might examine not only an individual transaction but also the transactions and accounts connected to it. It uses these relationships to build a better understanding of each node.</p><p>This is precisely what makes GNNs useful — and creates an opportunity for attackers.</p><p>An attacker can introduce fake nodes or manipulate connections in the training graph. The model may then learn a hidden association between a particular pattern and an incorrect prediction.</p><p>The attack can remain dormant until that pattern appears.</p><h3>Why Are Backdoor Attacks So Difficult to Detect?</h3><p>The most dangerous part of a backdoor attack is that the model can continue performing normally on ordinary examples.</p><p>Suppose an attacker creates a particular connection pattern that causes a fraud detection model to classify certain transactions as legitimate. The model might still detect other fraudulent transactions correctly.</p><p>The attacker has effectively planted a hidden rule inside the model.</p><p>So, how can we find the malicious nodes responsible?</p><p>The researchers investigate an interesting observation: <strong>malicious connections tend to make a model’s predictions unusually sensitive to changes in the graph.</strong></p><h3>The Key Insight: Look for Unstable Predictions</h3><p>A GNN builds its understanding of a node using information from its neighbours. Changing a normal connection usually shouldn’t completely alter what the model believes about that node.</p><p>But a malicious node may depend heavily on a specific connection that acts as a trigger.</p><p>Remove that connection, and the model may suddenly make a different prediction.</p><p>The researchers tested this idea by training backdoored GNNs and removing connections individually. They found that removing trigger-related connections generally caused substantially larger changes in predictions than removing ordinary connections.</p><p>This provides a potential way to identify suspicious nodes: examine how sensitive their predictions are to changes in their connections.</p><p>However, checking every connection individually can be computationally expensive. An attacker might also connect a trigger through multiple edges, meaning that removing just one connection may not disable it.</p><p>The researchers therefore propose a different approach.</p><p><strong>Having trouble understanding this? There’s a better way.</strong></p><p>Subscribe to our Substack for detailed analysis of New Research papers, delivered to your email. Everyday — <a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>Instead of Removing Every Edge, Remove Them Randomly</h3><p>Rather than testing each connection separately, the method randomly removes edges from the graph multiple times.</p><p>Each time, the model makes predictions on the altered graph. The researchers then compare those predictions with the model’s original predictions.</p><p>If a node’s prediction changes significantly across these tests, it is considered more suspicious.</p><p>Think of it like testing a bridge by repeatedly removing small, randomly selected pieces of its supporting structure. If one particular structure causes the entire bridge’s behaviour to change dramatically when disturbed, it deserves closer inspection.</p><p>The technique measures how much a node’s predictions vary under these random changes.</p><p><strong>The central idea is simple:</strong> ordinary nodes should generally remain stable, while nodes relying on hidden triggers may behave unpredictably.</p><p>The paper also provides theoretical results supporting this approach under certain assumptions. These results suggest that ordinary nodes tend to retain stable representations under random edge removal, while repeated perturbations increase the likelihood of removing a trigger connection.</p><h3>Finding Malicious Nodes Isn’t Enough</h3><p>Suppose the system identifies suspicious nodes. Should we simply delete them?</p><p>Not necessarily.</p><p>An attacker could create new triggers that resemble the original ones, potentially bypassing a defence that relies entirely on removing previously identified malicious nodes.</p><p>The researchers therefore introduce <strong>robust GNN training</strong>.</p><p>After identifying suspicious nodes, they train a new classifier to reduce its tendency to make the attacker’s desired predictions for those nodes. Meanwhile, ordinary labelled nodes continue to be trained using the usual classification objective.</p><p>In simpler terms, the model learns to recognise normal patterns while becoming less willing to follow the malicious associations introduced by the attack.</p><p>This approach does more than remove suspicious data. It attempts to make the model resistant to the behaviour that the attack was designed to produce.</p><p>The authors also report that this strategy can help defend against some malicious nodes that were not directly detected, because the model has learned to counter patterns associated with the identified triggers.</p><p>In their experiments, the resulting attack success rates were approximately zero.</p><p>That is an encouraging result, although it should not be interpreted as a guarantee that the method will defeat every backdoor attack in every real-world setting.</p><h3>Why Should You Care?</h3><p>Graph-based AI is increasingly relevant to financial systems, social networks, recommendation engines, biological research, and knowledge graphs.</p><p>All these systems depend on relationships between entities, which means attackers may not need to manipulate an image, alter a sentence, or modify a model’s parameters. Introducing a small number of carefully designed nodes and connections into the training data could be enough.</p><p>The most worrying aspect is that a backdoor can remain hidden for a long time, activating only when its specific trigger appears.</p><p>This paper proposes a way to detect suspicious behaviour by examining prediction stability, then strengthen the model through robust training.</p><p>The approach is promising, but its effectiveness in complex real-world environments remains an important question for future research.</p><p>Ultimately, the lesson is that an AI model’s vulnerabilities may not be obvious from its normal performance.</p><p><strong>Sometimes, the real problem isn’t what a model knows. It’s the hidden conditions under which it makes the wrong decision.</strong></p><blockquote><em>There’s more of where this came from. Our substack offers far more resources for people who are serious about AI.</em></blockquote><blockquote><em>We created it for experts and for making people experts.</em></blockquote><blockquote><em>Join us here — </em><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><p>Thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2c907c26bf4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Endgame: AI Can Now Reproduce Itself]]></title>
            <link>https://medium.com/@research.mlbox/the-endgame-ai-can-now-reproduce-itself-84ed261d235b?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/84ed261d235b</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[recursive-language-models]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 13:06:56 GMT</pubDate>
            <atom:updated>2026-10-26T13:06:56.710Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s like perpetual motion, but for intelligence. This should not be possible, right?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1qT39qpIjlOOTujO.png" /></figure><p><em>What if an AI model could learn how to train another model, without changing its own weights?</em></p><p>Large language models are becoming incredibly powerful. They can solve problems, write code, and adapt to new tasks, but training them still requires enormous amounts of computing power, electricity, and money.</p><p>This raises an interesting question: <strong>Can we teach an AI model to train another neural network without actually updating its own parameters?</strong></p><p>A 2025 ICLR paper by Wu et al., titled <em>In-Context Deep Learning via Transformer Models</em>, explores this possibility.</p><p>If successful, this approach could open a new way to build and improve AI systems.</p><p>Subscribe To ML Box for internet’s deepest insights into AI</p><p><a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>Making a Transformer Train Another Transformer</h3><p>Normally, when we train a neural network, we update its internal parameters so that it gets better at a task. Once training is complete, those parameters usually remain fixed while the model is being used.</p><p>Transformers have another ability, though: <em>in-context learning</em>.</p><p>This allows a model to learn patterns from examples provided in its input, without changing its underlying parameters. For instance, a model can observe several examples of a task and use them to figure out how to handle a new example.</p><p>The researchers investigate whether this ability can go further.</p><p>Could a transformer use examples to simulate the process of training another neural network? Instead of merely learning a pattern, could it reproduce the steps that an ordinary training algorithm would take?</p><p>The authors call this approach <strong>in-context gradient descent</strong>.</p><p>The basic idea is to give a transformer examples that allow it to simulate the calculations and parameter updates normally involved in training another model.</p><p>In other words, the transformer learns to imitate the training process itself.</p><h3>What Did the Researchers Prove?</h3><p>The paper presents theoretical results showing that transformers can simulate gradient-descent training under certain mathematical assumptions.</p><p>Gradient descent is a method used to train neural networks. It repeatedly adjusts a model’s parameters to reduce its errors.</p><p>The researchers show that a transformer can be constructed to reproduce this process for certain neural networks, including networks that use ReLU activation functions. They also extend their analysis to transformers using Softmax, a function commonly used in attention mechanisms.</p><p>The important point is that the transformer can simulate the parameter updates that another model would normally undergo during training.</p><p>However, there is an important distinction here.</p><p><strong>Showing that a transformer can simulate training mathematically does not mean that every existing transformer can automatically train any neural network in practice.</strong></p><p>The results depend on the assumptions and conditions described in the paper. They establish what is possible within the researchers’ framework, not a universal solution to neural network training.</p><h3>Do the Experiments Support the Theory?</h3><p>The researchers also tested their approach using synthetic datasets and small neural networks.</p><p>They experimented with networks containing three, four, and six layers, examining both ReLU-based and Softmax-based transformers.</p><p>The target networks generated examples, which were then provided to the transformers as context. The transformers attempted to learn the underlying patterns from those examples and predict the target networks’ outputs.</p><p>The results showed that the transformers could achieve performance comparable to directly training the target networks on the same examples.</p><p>This provides experimental support for the central idea: a transformer can learn to reproduce aspects of a neural network’s training process through its context.</p><p><strong>Having trouble understanding this? There’s a better way.</strong></p><p>Subscribe to our Substack for detailed analysis of New Research papers, delivered to your email. Everyday — <a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><p>But the experiments have limitations.</p><p>The datasets were synthetic, and the target networks were relatively small. These results do not demonstrate that a general-purpose language model can learn to train arbitrary neural networks, nor do they establish that this approach is more efficient than conventional training.</p><p>The research is promising, but its practical implications remain uncertain.</p><h3>Could This Help Us Build Better AI Models?</h3><p>One possible application is developing models that can adapt to new tasks by performing learning-like computations during inference.</p><p>Imagine a model that encounters a new problem. Instead of relying entirely on its existing knowledge, it could use examples to simulate parts of a training procedure and improve its predictions for that task.</p><p>The paper also explores a possible connection to diffusion models, which generate data by learning how to reverse a gradual process of adding noise.</p><p>The authors investigate whether ideas related to in-context optimization could be applied to learning the scoring functions used in diffusion models.</p><p>This suggests a potential connection between transformers that simulate optimization and the development of generative models.</p><p>However, this should not be interpreted as evidence that diffusion models can simply be replaced with prompts. It is an extension of the paper’s broader theoretical ideas, not proof that today’s generative systems can be replaced by in-context learning.</p><h3>Is This the Beginning of Self-Improving AI?</h3><p>The most exciting possibility is that models could eventually learn to reproduce parts of the process used to create them.</p><p>If a model can simulate training, it might be able to adapt to new problems without requiring the same kind of explicit parameter updates that conventional training demands.</p><p>But that is a long way from an AI system independently creating a better version of itself.</p><p>The paper does not demonstrate an autonomous system that recursively improves its own intelligence. It shows that transformers can simulate certain learning procedures under specific conditions.</p><p>That distinction matters.</p><p>Training remains essential, and simulating a training algorithm does not automatically make the process cheaper, faster, or more effective. The model still needs to have learned how to perform those computations in the first place.</p><p>Nevertheless, this research opens an interesting direction for future work.</p><p>Perhaps the next step toward more adaptable AI will not come solely from training increasingly large models. It may also come from teaching existing models to perform more sophisticated learning-like computations when they encounter new information.</p><p><strong>We are not necessarily learning from nothing. We are exploring how models can use what they have already learned to tackle new problems.</strong></p><p>Whether this eventually leads to genuinely self-improving AI remains an open question. For now, the paper offers a theoretical and experimental step toward understanding how transformers might reproduce parts of the learning process itself.</p><blockquote><em>There’s more of where this came from. Our substack offers far more resources for people who are serious about AI.</em></blockquote><blockquote><em>We created it for experts and for making people experts.</em></blockquote><blockquote><em>Join us here — </em><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><p>Thank you for reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84ed261d235b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Inbreeding?]]></title>
            <link>https://medium.com/@research.mlbox/ai-inbreeding-2595ca4f5d74?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/2595ca4f5d74</guid>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 19:01:24 GMT</pubDate>
            <atom:updated>2026-10-25T19:01:24.683Z</atom:updated>
            <content:encoded><![CDATA[<p>The tale of a permanent uncanny valley.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wYGYoUvCwqS7ktb6.png" /></figure><h3>This One Mistake Will Ruin Your Neural Network</h3><p><em>Do this and you’ll stay permanently in the uncanny valley.</em></p><p>The global consumer AI spend has reached $40 billion this year, more than tripling from last year, according to <a href="https://menlovc.com/">this article</a>.</p><p>More than 2 billion people use AI almost every day, and these numbers are only going to increase.</p><p>There is no doubt that AI, particularly LLMs and generative AI, is extremely popular. Several multibillion-dollar companies are in a cut-throat competition to release the next best model.</p><p>There are two key ingredients needed to make a better model: better data and more compute.</p><p>One of the best sources of data is, of course, the internet.</p><p>But there’s a problem.</p><p>Due to people uploading AI-generated content to the internet, the training data for AI itself is getting polluted with, well, AI-generated content.</p><p>What goes around, comes around.</p><p>But why is that a problem?</p><h3>The AI inbreeding issue</h3><p>We all know what AI-generated content looks like.</p><p>That eerie face. That clean, unnatural background. Those weirdly vibrant colours.</p><p>Those em dashes with overtly positive words. Words that don’t really belong there. An unnatural way of hyping things up.</p><p>AI-generated content often feels unnatural and hollow, in some sense. Ideally, the next generation of AI models should improve upon these artifacts, right?</p><p>However, if the training data of the next generation of models contains AI-generated content with these same artifacts, the models may learn to reproduce them. As a result, model performance can get worse instead of better.</p><p>So, what can we do?</p><p>Can a bigger model trained with more compute overcome this issue? What if these bad training examples make up only a tiny fraction of the dataset?</p><p>These questions were investigated by Dohmatob et al. in their ICLR 2025 paper titled <em>Strong Model Collapse</em>.</p><h3>The takeaway so far</h3><p>AI models learn from the internet, but the internet is increasingly filled with content generated by AI itself. If future models learn from this material without accounting for its flaws, they may end up reproducing and amplifying those flaws instead of improving upon them.</p><blockquote><em>Subscribe To ML Box for internet’s deepest insights into AI</em></blockquote><blockquote><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2auDDwwOUCRwQMw-.png" /></figure><h3>Data quality &gt;&gt; everything else</h3><p>More training data generally helps a model learn patterns from its examples. But a model cannot automatically distinguish between examples that accurately represent the real world and those that contain subtle distortions.</p><p>If you increase the compute, the model may simply become better at learning those distortions.</p><p><strong>There is simply no winning with a bad-quality training dataset.</strong></p><p>The authors make this argument mathematically by showing that a model’s prediction error can be understood as a combination of three things: errors caused by the model’s limitations, errors caused by its sensitivity to the training data, and an additional source of error introduced by imperfect training data.</p><p>In simpler terms, even if you build a model that learns efficiently and give it a massive dataset, you can still end up with a model that performs poorly because some of the data teaches it the wrong patterns.</p><p>The authors define a polluted dataset as one containing examples that do not come from the same underlying distribution as the real data the model is supposed to learn from.</p><p>The important point is that this problem does not automatically disappear just because your model is larger or your dataset contains only a small proportion of imperfect examples.</p><p>Of course, the damage becomes more severe as the amount of polluted data increases. But having less polluted data does not necessarily make the problem negligible.</p><p>Consider a simple example. Imagine training a model to predict house prices using thousands of genuine property listings, but mixing in listings that systematically misrepresent the relationship between a house’s features and its price.</p><p>Adding more listings will not necessarily solve the problem if the misleading examples continue to influence what the model learns.</p><p>The authors demonstrate this using a mathematical framework for linear regression, a relatively simple type of machine learning model.</p><p>Their analysis shows that as the dataset grows, some sources of prediction error can shrink, while the damage associated with imperfect data can persist.</p><p>This is the central idea behind <strong>strong model collapse</strong>: increasing the size of the training dataset does not necessarily eliminate the damage caused by a persistent proportion of imperfect training data.</p><p>There is an important limitation, though. The paper’s theoretical results focus on linear regression and a simplified model that approximates certain aspects of neural networks. These are useful for mathematical analysis, but they do not capture every detail of modern AI systems.</p><p><strong>Having trouble understanding this? There’s a better way.</strong></p><p>Subscribe to our Substack for detailed analysis of New Research papers, delivered to your email. Everyday — <a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>The takeaway so far</h3><p>More data and more compute cannot guarantee better performance if the data itself is flawed. The paper shows mathematically how errors introduced by imperfect training data can persist even as the dataset grows, although the theoretical analysis relies on simplified model settings.</p><h3>So, are these results true in real life?</h3><p>The authors do not stop at mathematical analysis.</p><p>They test their ideas on several tasks, including neural networks trained on MNIST images and GPT-2 language models trained on BabiStories, a dataset of short stories.</p><p>The experimental results support the authors’ theoretical findings.</p><p>As the proportion of generated text in the training data increases, the benefits of adding more training data begin to diminish.</p><p>Even coherent, apparently high-quality generated stories can reduce the benefits of scaling up the training dataset.</p><p>This is quite scary because these AI-generated stories looked perfectly normal to a human reader. Yet, they did not faithfully represent the underlying patterns of the original dataset.</p><p>A model can produce a compelling story while repeating unusual events, using unnatural patterns, or exaggerating emotions unnecessarily.</p><p>When another model is trained on these examples, it may begin treating those artifacts as normal patterns of language.</p><p>And when this happens repeatedly, the flaws can become increasingly embedded in the models’ behaviour.</p><h3>The takeaway so far</h3><p>The problem is not limited to obviously terrible AI-generated content. Even text that looks perfectly reasonable to a human can contain subtle distortions that affect how the next model learns, potentially creating a cycle in which these distortions keep getting reinforced.</p><h3>Can we do anything?</h3><p>The authors suggest one method: <strong>iterative mixing</strong>.</p><p>Instead of simply adding synthetic examples to real data once, the method repeatedly trains a model using a mixture of real and synthetic data.</p><p>During each iteration, the labels associated with the synthetic examples are updated using predictions from the previous stage of the process.</p><p>The idea is to make the training process more controlled, rather than allowing synthetic data to influence the model in an uncontrolled way.</p><p>This iterative strategy can recover more favourable results, but repeatedly training the models makes the process extremely compute-intensive.</p><p>And, of course, you still need a substantial supply of real data.</p><p>That somewhat defeats the point of generating synthetic data in the first place: if you need a growing supply of genuine examples to keep the process working well, you cannot simply replace real data with unlimited amounts of AI-generated content.</p><h3>The takeaway so far</h3><p>There are ways to reduce the damage caused by synthetic data, but they come with trade-offs. The approach discussed in the paper requires repeated training and continued access to real data, making it expensive and difficult to use as a complete replacement for genuine training examples.</p><h3>What to do when there’s no solution?</h3><p>Synthetic data is not inherently bad. But the quantity of training data and the amount of useful information in that data are two very different things.</p><p>You simply won’t do well on a history exam if all you did was study maths.</p><p><em>No matter how hard you study.</em></p><p>There is no substitute for good training samples. You cannot outcompute a bad dataset. The dataset can be small, but it better be good quality.</p><p>The authors provide one of the first mathematical proofs supporting this broader idea: imperfect synthetic data can impose lasting limits on model performance, even as training datasets grow.</p><p>And perhaps someday, high-quality data will become even more valuable than ever.</p><p>More valuable than GPUs, and more valuable than sophisticated architectures.</p><p>Maybe that day has already come.</p><blockquote><em>There’s more of where this came from. Our substack offers far more resources for people who are serious about AI.</em></blockquote><blockquote><em>We created it for experts and for making people experts.</em></blockquote><blockquote><em>Join us here — </em><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><p>Thank you for reading</p><p><strong>Read the original research paper:</strong> <a href="https://proceedings.iclr.cc/paper_files/paper/2025/file/284afdc2309f9667d2d4fb9290235b0c-Paper-Conference.pdf">Strong Model Collapse — ICLR 2025</a></p><p><strong>Primary Author:</strong> Yash Jakhmola<br><strong>Review and proofreading:</strong> Shubhransh Rai</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2595ca4f5d74" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Wait, So Depth is Basically USELESS in Neural Networks?]]></title>
            <link>https://medium.com/@research.mlbox/wait-so-depth-is-basically-useless-in-neural-networks-37539bfac5ca?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/37539bfac5ca</guid>
            <category><![CDATA[depth]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mathematics]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 18:59:52 GMT</pubDate>
            <atom:updated>2026-10-25T18:59:52.178Z</atom:updated>
            <content:encoded><![CDATA[<p>Nobody invited me to THIS party?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TAuarWqhcBucDI2v.png" /></figure><h3>Wait, Is Depth Useless in Neural Networks?</h3><p><em>What happens when we remove entire layers from large language models? Surprisingly, many of them continue working almost as well as before.</em></p><p>We usually assume that deeper neural networks are more powerful. More layers should mean more opportunities to learn complex patterns, right?</p><p>But what if some of those layers aren’t doing much at all?</p><p>A 2025 ICLR paper by Gromov et al., <em>The Unreasonable Ineffectiveness of the Deeper Layers</em>, investigates this question. The researchers found that large language models can sometimes lose a substantial number of their layers without suffering an immediate collapse in performance.</p><p><strong>The surprising finding:</strong> Some layers in large language models appear to contribute far less than we might expect.</p><blockquote><em>Subscribe To ML Box for internet’s deepest insights into AI</em></blockquote><blockquote><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><h3>How Can You Remove Layers Without Breaking a Model?</h3><p>You cannot simply delete any layer you want.</p><p>Modern transformers use <em>residual connections</em>, which allow information to bypass certain layers and travel deeper into the network. These connections help preserve information as it moves through the model.</p><p>Removing layers that other parts of the network depend on can therefore cause problems.</p><p>Instead, the researchers looked for consecutive blocks of layers that changed the model’s internal representations very little. In simple terms, they searched for layers whose removal would leave the information flowing through the network largely unchanged.</p><p>Think of it like editing a long document. If several paragraphs repeat what has already been said without adding anything meaningful, removing them might leave the central argument almost untouched.</p><p>The researchers found that deeper layers often seemed to make relatively small changes to information that earlier layers had already processed.</p><p><strong>The takeaway:</strong> Rather than removing layers randomly, the researchers identified groups of layers that appeared to contribute little to the model’s internal processing.</p><h3>What Happened When They Tested This?</h3><p>The researchers tested seven models, including Llama-2, Qwen, Mistral, and Phi-2, ranging from 2.7 billion to 70 billion parameters.</p><p>Removing layers initially damaged the models’ performance. The researchers then used a small amount of additional training, called <em>fine-tuning</em>, to help the models recover.</p><p>The results were surprising.</p><p>For Llama-2, performance on the MMLU benchmark remained relatively stable until approximately 45–55% of its layers had been removed. The Mistral-7B model reached its tipping point around 35%, while Phi-2 reached approximately 25%. The tested Qwen models reached theirs at around 20%.</p><p>These numbers are not universal limits. They describe the results for particular models and tests.</p><p>Another interesting finding was that performance did not necessarily decline gradually with every layer removed. Models could retain much of their measured capability across a substantial range of pruning, then suddenly experience a sharp drop.</p><p>However, there was an important catch: <strong>getting the right answer did not always mean the model was behaving just as well as before.</strong></p><p>After pruning, models could become less confident, less well-calibrated, or worse at predicting the surrounding text. Fine-tuning helped restore benchmark performance, but removing layers still had consequences.</p><p><strong>Having trouble understanding this? There’s a better way.</strong></p><p>Subscribe to our Substack for detailed analysis of New Research papers, delivered to your email. Everyday — <a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>Are the Middle Layers Actually Useless?</h3><p>Not necessarily.</p><p>The researchers tested the pruned Llama-2–70B model on additional tasks, including GSM8K, a grade-school mathematics benchmark, and HellaSwag, a common-sense reasoning benchmark.</p><p>Performance deteriorated on these tasks regardless of how many layers were removed.</p><p>This suggests that different parts of a neural network may serve different purposes.</p><ul><li><strong>Shallower layers</strong> may be particularly important for processing and retrieving information.</li><li><strong>Deeper layers</strong> may contribute more substantially to complex computations, including mathematical and common-sense reasoning.</li></ul><p>This division is not absolute, but it helps explain why a model can retain its score on one benchmark while losing capabilities that matter elsewhere.</p><p>A model might still answer familiar questions correctly while becoming worse at solving problems that require more involved reasoning.</p><p><strong>The key distinction:</strong> A layer can appear unnecessary under one evaluation and still contribute something important to the model’s broader capabilities.</p><h3>Why Does Training Produce These Layers?</h3><p>The researchers discuss several possible explanations.</p><p>First, redundancy may play a role. A model might learn multiple ways to represent the same information, allowing it to tolerate the removal of some layers.</p><p>Second, deeper layers may specialize in capabilities that common benchmarks fail to measure adequately.</p><p>Third, the training process might not encourage every layer to contribute equally. Some layers may do much of the work while others remain underused.</p><p>Redundancy is not necessarily bad. Having multiple ways to represent information could make a model more robust.</p><p>However, underused layers also mean that training and running a model may require more computation than its measured performance appears to justify.</p><p>The findings leave important questions unanswered. Where does a model store its knowledge? How can we identify layers that matter for reasoning rather than simply benchmark performance? And can training encourage models to use their full depth more effectively?</p><p>The paper does not settle these questions, but it gives researchers a reason to investigate them.</p><h3>What Does This Mean for AI?</h3><p>Neural networks are complicated, and depth remains an important part of their design. This research does not show that deeper networks are useless.</p><p>Instead, it suggests that <strong>adding more layers does not guarantee that every layer will contribute equally to every task.</strong></p><p>That distinction could have practical consequences. If a model is primarily used for straightforward tasks, removing certain layers might reduce computational costs without severely affecting the performance being measured.</p><p>For tasks involving complex reasoning, however, removing deeper layers could be a mistake.</p><p>The challenge is figuring out which layers matter for which capabilities.</p><p>Ultimately, this research raises a fascinating possibility: perhaps we do not always need larger, deeper models. We might instead need models that make better use of the parameters they already have.</p><p>And if researchers can figure out how to achieve that, building useful AI could become significantly more efficient.</p><blockquote><em>There’s more of where this came from. Our substack offers far more resources for people who are serious about AI.</em></blockquote><blockquote><em>We created it for experts and for making people experts.</em></blockquote><blockquote><em>Join us here — </em><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><p>Thank you for reading</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37539bfac5ca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Gradients Have Betrayed Us.]]></title>
            <link>https://medium.com/@research.mlbox/the-gradients-have-betrayed-us-45feff7eb483?source=rss-ad2f70370cac------2</link>
            <guid isPermaLink="false">https://medium.com/p/45feff7eb483</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[mathematics]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[gradient-descent]]></category>
            <dc:creator><![CDATA[Yash And Shubhransh - ML Box]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 18:55:12 GMT</pubDate>
            <atom:updated>2026-10-25T18:55:12.063Z</atom:updated>
            <content:encoded><![CDATA[<p>Why did this happen?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4-2JE_LovbjEzM_f.png" /></figure><p><em>Training does not happen in the direction of the loss gradient.</em></p><p>The gradient of a neural network’s loss is one of the most important quantities in machine learning. It tells the model how to adjust its parameters to reduce its errors.</p><p>But here’s something interesting.</p><p>Previous research has found that neural networks tend to have a few directions in which their loss changes particularly sharply. Even more surprisingly, during training, the gradients often point strongly towards these directions.</p><p>Naturally, this raises a question: if most of the gradient points towards a small number of directions, could we train a neural network using only those directions and save computational resources?</p><p>You would expect the answer to be yes.</p><p><strong>It turns out that the opposite can be true.</strong></p><p>In their ICLR 2025 paper, <em>Does SGD Really Happen in Tiny Subspaces?</em>, Gur-Ari et al. investigate this counterintuitive phenomenon.</p><p>Their experiments reveal that restricting training to the directions that dominate the gradient can cause learning to stall. Meanwhile, training using the remaining directions can continue to reduce the loss.</p><p>To understand why, we first need to understand what these directions actually represent.</p><h3>The dominant subspace</h3><p>Neural network training is essentially an optimization problem. We want to adjust a model’s parameters until its predictions become as accurate as possible.</p><p>The most common approach is gradient descent, which repeatedly adjusts the parameters in a direction that locally reduces the model’s loss.</p><p>Think of it as walking downhill. At every step, you use the information available to determine which direction to move in to reduce your loss.</p><p>But there’s a catch.</p><p>The landscape of a neural network’s loss is rarely a simple, smooth bowl. It can contain steep hills, narrow valleys, and relatively flat regions.</p><p>Some directions through this landscape produce dramatic changes in the loss, while others produce much smaller changes.</p><p>Researchers study these differences to understand how neural networks learn.</p><p>Previous work has found that, in many classification tasks, a relatively small number of directions account for a large proportion of the loss landscape’s strongest curvature.</p><p>Let’s call the space formed by these directions the <strong>dominant subspace</strong>.</p><p>The remaining directions form what researchers call the <strong>bulk subspace</strong>.</p><blockquote><em>Subscribe To ML Box for internet’s deepest insights into AI</em></blockquote><blockquote><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6GheqR6TJqRHFwKB.png" /></figure><p>Think of a narrow valley surrounded by steep walls.</p><p>The dominant subspace contains directions associated with the steepest changes in the landscape. The bulk subspace contains the remaining directions, including those along which the landscape may be comparatively flat.</p><p>Earlier research also found that, during stochastic gradient descent (SGD), gradients tend to align strongly with the dominant subspace.</p><p>In simpler terms, the model’s gradient often points towards the directions where the loss changes most sharply.</p><p>This seems to suggest that these directions must be the most important ones for learning.</p><p><strong>But that’s where our intuition begins to fail us.</strong></p><h3>The takeaway so far</h3><p>Neural networks have certain directions in which their loss changes particularly sharply, and their gradients often point towards those directions. It seems logical that these directions should be the most important for training, but the researchers investigate whether that assumption is actually correct.</p><h3>Training in subspaces</h3><p>The researchers test this idea by changing how the model trains.</p><p>Instead of allowing the model to update its parameters in every direction, they restrict its updates to specific parts of the parameter space.</p><p>First, they allow training to use only the dominant subspace. The model can adjust its parameters along the directions associated with the strongest curvature, while updates along the remaining directions are removed.</p><p>Then, they do the opposite.</p><p>They restrict training to the bulk subspace, removing updates along the dominant directions.</p><p>If the dominant directions really are the most important for learning, we would expect the first approach to perform better.</p><p>But the results tell a different story.</p><p>In the experiments presented in the paper, training restricted to the dominant subspace quickly stops making progress.</p><p>Meanwhile, training restricted to the bulk subspace continues reducing the loss and can perform about as well as ordinary SGD.</p><p>The researchers demonstrate this behaviour across several settings, including a multilayer perceptron trained on MNIST, a convolutional neural network trained on CIFAR-10, and a transformer trained on SST-2.</p><p>These experiments challenge a seemingly reasonable assumption: <strong>the directions that dominate the gradient are not necessarily the directions that produce the most useful progress during training.</strong></p><p><strong>Having trouble understanding this? There’s a better way.</strong></p><p>Subscribe to our Substack for detailed analysis of New Research papers, delivered to your email. Everyday — <a href="https://yashandshubhransh.substack.com/">https://yashandshubhransh.substack.com/</a></p><h3>The takeaway so far</h3><p>The researchers found that restricting training to the dominant directions can cause progress to stall, while training using the remaining directions can continue to reduce the loss. This suggests that the directions dominating the gradient do not necessarily account for the model’s most useful learning.</p><h3>Maybe, larger gradients don’t actually mean more progress</h3><p>Why would this happen?</p><p>Imagine walking through a narrow valley surrounded by steep hills.</p><p>If you move sideways towards one of the walls, your position changes dramatically. But that movement doesn’t necessarily take you closer to your destination.</p><p>The more useful path might be along the relatively flat valley floor.</p><p>Neural network training can exhibit a similar phenomenon.</p><p>A large gradient along a particular direction tells us that the loss is highly sensitive to changes in that direction. However, this does not automatically mean that moving along that direction will produce the most useful progress towards lower loss.</p><p>Sometimes, the model needs to correct its position across steep parts of the landscape before it can continue making progress elsewhere.</p><p>These corrections can dominate the gradient, making the steep directions appear more important than they actually are for sustained learning.</p><p>The paper illustrates this idea using a simplified loss landscape with one very steep direction and another much flatter direction.</p><p>Imagine a valley where moving in one direction produces enormous changes in the loss, while moving in the other produces much smaller changes.</p><p>The model quickly corrects errors along the steep direction because they have such a strong effect on its loss.</p><p>But once those errors are corrected, further progress may depend on movement along the flatter direction.</p><p>This means that the gradient can be dominated by the steep direction even when the useful progress is happening along the flatter one.</p><p><strong>The direction producing the strongest response is not necessarily the direction producing the most meaningful progress.</strong></p><h3>The takeaway so far</h3><p>A gradient can be dominated by directions that the model needs to correct for, rather than directions that help it make sustained progress. This explains why the strongest directions in a loss landscape might not be the most useful ones for learning.</p><h3>Randomness is the cause</h3><p>But why do gradients align so strongly with the dominant subspace during SGD in the first place?</p><p>To investigate this, the authors compare SGD with full-batch gradient descent.</p><p>The difference is straightforward.</p><p>Full-batch gradient descent calculates its update using the entire training dataset. SGD estimates its update using smaller batches of examples, introducing randomness into the process.</p><p>This randomness makes training practical, but it also means that each update is an imperfect estimate of the direction suggested by the entire dataset.</p><p>The researchers discover something particularly interesting when they switch between the two approaches.</p><p>When they replace SGD with full-batch gradient descent, the alignment between the gradient and the dominant subspace quickly disappears.</p><p>When they switch back to SGD, the alignment reappears.</p><p>This suggests that the randomness introduced by using smaller batches plays a major role in creating the observed alignment.</p><p>But why?</p><p>Consider a landscape where the loss changes enormously along one direction but only slightly along another.</p><p>Even a tiny random deviation along the steep direction can produce a large change in the gradient.</p><p>As a result, the gradient can appear to point overwhelmingly towards that direction, even when the model’s useful progress depends on moving along the flatter direction.</p><p>In other words, <strong>randomness can make a direction appear more important than it really is for learning.</strong></p><p>The authors also investigate Adam, another popular optimization algorithm.</p><p>When they restrict Adam’s updates to the dominant subspace, training again fails to make meaningful progress.</p><p>This suggests that Adam’s effectiveness also depends on updates in the bulk directions, helping explain why those directions matter even when the dominant subspace appears to capture much of the gradient.</p><h3>The takeaway so far</h3><p>The researchers find that the alignment between SGD gradients and the dominant subspace is strongly influenced by randomness from minibatch sampling. Because the loss landscape is much steeper in certain directions, even small random deviations can make those directions dominate the gradient without necessarily contributing to the most useful learning.</p><h3>So, does this change anything?</h3><p>The paper challenges a common intuition: if a direction dominates the gradient, it must be one of the most important directions for learning.</p><p>But there’s a difference between the direction in which a gradient points and the direction in which a parameter update produces useful progress.</p><p>That distinction could have important implications for training more efficient AI models.</p><p>If we can better understand which directions genuinely contribute to learning, we might eventually find ways to reduce unnecessary computation without sacrificing performance.</p><p>And in an industry where training large AI models can consume enormous amounts of electricity, even modest efficiency improvements could be valuable.</p><p>However, the paper does not establish that training in the bulk subspace will universally outperform standard training, nor does it prove that removing dominant directions will make every model cheaper or faster to train.</p><p>Instead, it reveals something more fundamental: the directions that dominate the gradient and the directions that drive useful learning are not necessarily the same.</p><p>Neural networks can sometimes resemble how humans learn and exist in society.</p><p>Often in life, it is not the loudest man, but the quieter ones, who are responsible for progress.</p><p>And that’s the story of how things may not always be what they seem.</p><p>It is always worth taking a step back and thinking.</p><p><strong>Read the original research paper:</strong> <em>Does SGD Really Happen in Tiny Subspaces?</em> — Gur-Ari et al., ICLR 2025.</p><blockquote><em>There’s more of where this came from. Our substack offers far more resources for people who are serious about AI.</em></blockquote><blockquote><em>We created it for experts and for making people experts.</em></blockquote><blockquote><em>Join us here — </em><a href="https://yashandshubhransh.substack.com/"><em>https://yashandshubhransh.substack.com/</em></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=45feff7eb483" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>