<?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 Kunal Kumar Singh on Medium]]></title>
        <description><![CDATA[Stories by Kunal Kumar Singh on Medium]]></description>
        <link>https://medium.com/@kunalkumarsingh1435?source=rss-c391d9e3cf45------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Kunal Kumar Singh on Medium</title>
            <link>https://medium.com/@kunalkumarsingh1435?source=rss-c391d9e3cf45------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 12:39:06 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kunalkumarsingh1435/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[I Built a Simulator for AI That Runs on Light. Then I Tried to Break It.]]></title>
            <link>https://medium.com/@kunalkumarsingh1435/i-built-a-simulator-for-ai-that-runs-on-light-then-i-tried-to-break-it-299e00dbf34e?source=rss-c391d9e3cf45------2</link>
            <guid isPermaLink="false">https://medium.com/p/299e00dbf34e</guid>
            <dc:creator><![CDATA[Kunal Kumar Singh]]></dc:creator>
            <pubDate>Mon, 02 Nov 2026 07:52:55 GMT</pubDate>
            <atom:updated>2026-11-02T08:19:01.723Z</atom:updated>
            <content:encoded><![CDATA[<p><em>PhotonForge started with one simulated optical interferometer. Five versions later, it could run a neural network — and show me which parts would fail first.</em></p><p>The first time PhotonForge ran a neural network, nothing interesting happened.</p><p>That was exactly what I wanted.</p><p>I had trained a small neural network to recognize handwritten digits. The normal digital model got <strong>262 out of 270 test images correct: 97.04% accuracy.</strong></p><p>Then I replaced every learned matrix multiplication in that network with a simulated photonic processor I had built from scratch.</p><p>Same 270 images. Same 262 correct. Every single prediction matched.</p><p>The largest difference between the digital model’s output and PhotonForge’s output was around <strong>10⁻¹²</strong> — basically floating-point dust. For a few minutes, that felt like the result.</p><p>It wasn’t.</p><p>Because real optical hardware doesn’t get to stay perfect. Phases drift. Beam splitters aren’t exactly 50:50. Light gets lost. Components interact. Control electronics only have finite precision.</p><p>So I stopped asking, “Can a photonic neural network work?” and started asking:</p><blockquote><em>What happens when it stops working?</em></blockquote><p>That question turned into PhotonForge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*0xt-Uqb_ExUk3Dy3es-a6w.png" /><figcaption><strong>PhotonForge:</strong> an interactive reliability lab for studying how modeled photonic hardware errors affect neural-network inference.</figcaption></figure><h3>Why compute with light in the first place?</h3><p>Modern AI mostly runs on electronic processors such as GPUs. Those processors are ridiculously powerful, but neural networks spend huge amounts of their time doing one basic operation:</p><p><strong>y = Wx</strong></p><p>Take a vector of numbers, multiply it by a matrix of learned weights, and produce a new vector. Then do it again. And again. Millions or billions of times.</p><p>Photonics offers a weird alternative: instead of representing everything only with electronic signals, represent information using <strong>optical fields</strong> and use interference to perform linear transformations.</p><p>The basic device I started with is called a <strong>Mach–Zehnder interferometer</strong>, or MZI.</p><p>An MZI splits light into two paths, changes their relative phase, and recombines them.</p><p>Depending on those phases, the two beams interfere differently.</p><p>That means a controllable MZI can act like a tiny programmable mathematical operation.</p><p>One MZI isn’t an AI accelerator.</p><p>Thousands of them arranged into meshes are much more interesting.</p><h3>I didn’t start by building the neural network</h3><p>I built PhotonForge in stages because I didn’t want a complicated model that produced impressive graphs while hiding a broken foundation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*ucNtei7iApBq2Ewu-s9vuA.png" /><figcaption><em>PhotonForge was built incrementally: one MZI → programmable mesh → general matrix processor → hybrid neural network → hardware-failure experiments.</em></figcaption></figure><h4>V0.1 — One interferometer</h4><p>First, I simulated a single ideal 50:50 MZI using complex optical fields. I checked power conservation, unitarity, phase periodicity, analytical agreement, and complex-field superposition.</p><p>I also deliberately broke the model in several ways to make sure my tests could detect errors. Once that worked, I locked the version.</p><h4>V0.2 — A programmable optical mesh</h4><p>Next I connected MZIs into a <strong>Clements mesh</strong>, an architecture that can implement arbitrary unitary transformations.</p><p>I tested random 2×2, 4×4, and 8×8 transformations.</p><p>Again: validate, deliberately break things, lock the version.</p><h4>V0.3 — General matrix multiplication</h4><p>Neural-network weights are not restricted to unitary matrices. So I used singular value decomposition:</p><p><strong>W = UΣV†</strong></p><p>Two programmable optical meshes implement U and V†, while a bank of optical attenuators implements the singular values in Σ. That let PhotonForge execute general real or complex matrices, including rectangular ones.</p><h4>V0.4 — Finally, AI</h4><p>Only after all of that did I connect PhotonForge to a trained neural network. The network was deliberately small: <strong>64 → 32 → 16 → 10</strong>. It classified 8×8 handwritten digits from the scikit-learn Digits dataset.</p><p>The nonlinear parts — bias, ReLU, scaling, and final classification — stayed electronic. The matrix multiplications went through the simulated photonic processor. PhotonForge is a simulation of a hybrid photonic-electronic architecture.</p><p>And in the ideal version, it worked.</p><p>Both versions achieved <strong>97.04% test accuracy</strong>, with <strong>270 / 270 predictions in agreement</strong>. That gave me something I needed before studying failure: a clean baseline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*3s_iu44A-OYrMyP-y9ZsLQ.png" /><figcaption>The frozen 64→32→16→10 classifier achieved 97.04% test accuracy, and ideal PhotonForge inference reproduced all 270/270 digital predictions.</figcaption></figure><h3>Then I started breaking it</h3><p>V0.5 was the part I actually cared about. I froze the neural network: no retraining, no changing its weights, and no fixing it after errors appeared.</p><p>Then I introduced imperfections at the simulated hardware level. I changed the optical components themselves and traced their effects through the network.</p><p>I tested:</p><ul><li>phase-setting error,</li><li>beam-splitter imbalance,</li><li>unwanted insertion loss,</li><li>finite phase-control resolution,</li><li>readout noise,</li><li>spatially correlated phase errors,</li><li>and phase drift over time.</li></ul><p>Then I followed the error through the entire system:</p><p><strong>Component error → optical matrix error → activation error → logit error → wrong prediction</strong></p><p>That gave me failure curves instead of just one accuracy number.</p><h3>The network could absorb errors — until suddenly it couldn’t</h3><p>For static phase error, I changed the programmed optical phases by random offsets with a chosen RMS magnitude. At tiny error levels, the predictions barely changed. Then the logits started drifting, a few decisions flipped, and accuracy degraded sharply.</p><p>Under this specific error model, the interpolated threshold for retaining <strong>95% of ideal accuracy</strong> was <strong>0.03208 rad RMS</strong>. That number describes this simulated network under my defined error distribution; it is not a specification for real photonic chips.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*LnvsymG2bZbIIYfDLhIHhQ.png" /><figcaption><em>As RMS phase error increases, inference stays stable at first and then degrades. Under this model, the interpolated 95%-retention threshold was </em><strong><em>0.03208 rad RMS</em></strong><em>.</em></figcaption></figure><p>I repeated the experiment for other hardware errors too. Beam-splitter imbalance, unwanted optical loss, and readout noise each had their own failure curves.</p><p>Reducing phase-control precision also hurt the network: <strong>8-bit phase control preserved the baseline correct count</strong>, while lower resolutions degraded performance.</p><p>Their severity units differ, so ranking these problems by threshold would not be fair. The useful question was:</p><blockquote><strong><em>How does each kind of physical error propagate into AI failure?</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tPSwkZ-zhoko2dW1nmUkxA.png" /><figcaption><em>Two different failure mechanisms: continuous phase-setting error (left) and finite phase-control resolution (right). In this experiment, </em><strong><em>8-bit phase control preserved the baseline correct count</em></strong><em>, while lower resolutions degraded performance.</em></figcaption></figure><h3>Drift was more interesting than random error</h3><p>Static errors are useful, but real programmable optical systems also have a time problem.</p><p>A phase that is correct now may not remain correct. So I built a temporally correlated phase-drift model. I deliberately used simulation steps rather than seconds or minutes: I don’t have a calibrated physical chip that would justify a real time scale.</p><p>I ran <strong>100 independent drift trajectories</strong>. All 100 eventually crossed my predefined operational threshold, with a median crossing at <strong>27 simulation steps</strong>. The drift’s long-run size was set to twice the moderate-error s95, so crossing the threshold was partly by design.</p><p>Under this model, uncontrolled drift can move a network from correct operation into measurable degradation over time. That gave me a system that doesn’t just fail. It degrades — and degradation creates the possibility of detecting failure before it becomes catastrophic.</p><h3>The result I didn’t expect</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U7jzps2es6HYUzaDVLugdg.png" /><figcaption><em>Sensitivity was highly concentrated. The top </em><strong><em>1%, 5%, and 10%</em></strong><em> of phase controls accounted for </em><strong><em>36.1%, 75.7%, and 89.9%</em></strong><em> of measured first-order logit sensitivity in this compiled network.</em></figcaption></figure><p>I assumed that if a photonic mesh contained thousands of programmable controls, reliability would mostly be about keeping all of them accurate. So I measured the sensitivity of all <strong>10,976 phase controls</strong>.</p><p>For each one, I asked: if I change this phase by a tiny amount, how much do the neural network’s output logits move? Then I ranked them.</p><p>The sensitivity was nowhere near evenly distributed. The <strong>top 5% contained 75.7%</strong> of the measured squared logit sensitivity. The top 1% contained 36.1%, and the top 10% contained 89.9%. Another <strong>5,700 phase controls were first-order inert</strong> under this analysis.</p><p>That was the moment the project changed for me.</p><p>If almost every component mattered equally, then reliability would basically become:</p><blockquote><em>Keep everything calibrated.</em></blockquote><p>Expensive problem.</p><p>But if a small subset matters disproportionately, there is a different possibility:</p><blockquote><strong><em>Maybe you don’t need to fix everything. Maybe you need to know what matters.</em></strong></blockquote><h3>I tried to make sure that result wasn’t just numerical nonsense</h3><p>Sensitivity rankings can be dangerous. A derivative might look impressive simply because the numerical step size is wrong. So I tested multiple perturbation sizes and compared the efficient calculation against brute-force component perturbations.</p><p>Then I gave highly sensitive, middle-ranked, and low-sensitivity groups identical phase perturbations. The ordering held: the high-sensitivity group produced much larger changes in network output.</p><p>That doesn’t prove those exact components will be the important ones on another network or a real chip. But it does suggest that the concentration I was seeing was a property worth testing further.</p><h3>One hypothesis I thought would work mostly didn’t</h3><p>V0.4 gave me another suspicious number. The first neural-network layer had a condition number around 63,000,000,000, while later layers were dramatically better conditioned. That made me wonder:</p><blockquote><em>Is Layer 1 fragile simply because its matrix is badly conditioned?</em></blockquote><p>It sounded plausible. So instead of assuming it, I made a separate controlled experiment. I generated synthetic matrices with condition numbers from <strong>1 to </strong>1,000,000, controlled other properties, compiled them through PhotonForge, and applied the same phase perturbations.</p><p>The change in normalized matrix sensitivity was only about <strong>1.047×</strong> across that enormous condition-number range.</p><p>Small.</p><p>So condition number alone did <strong>not</strong> explain the vulnerability.</p><p>That’s one of my favorite results in the project because it killed an explanation I initially liked.</p><p>A build isn’t useful only when it confirms your idea.</p><p>Sometimes the most useful result is finding out that your explanation was wrong.</p><h3>My model also exposed one of its own weaknesses</h3><p>My correlated-phase experiment had settings I called weak, moderate, and strong. But after measuring the actual neighbor correlation, the nominal “strong” setting didn’t measure above “moderate.” The RMS normalization I was using distorted the relationship.</p><p>I kept the result instead of hiding it. That part of the model needs a better correlation generator before I use it for the next stage of the research.</p><p>This is also why I built deliberately wrong <strong>negative controls</strong> into PhotonForge. V0.5 passed <strong>67 / 67 checks</strong> and detected <strong>12 / 12 deliberately incorrect implementations</strong>.</p><p>For example, I intentionally:</p><ul><li>used the wrong dB conversion,</li><li>regenerated static error for every sample,</li><li>bypassed the perturbed photonic matrix,</li><li>used impossible beam-splitter values,</li><li>and even dropped failed Monte Carlo runs.</li></ul><p>The point was not to say the code is perfect.</p><p>It was to make it harder for a broken experiment to quietly produce a convincing graph.</p><h3>What I built for people to actually explore</h3><p>Most of PhotonForge lives in Google Colab notebooks. That’s useful for research and terrible for explaining the project. So I built an interactive web version of the reliability lab.</p><p>You can move through the architecture, change phase-error severity, explore different failure modes, inspect the neural network, and see the component-vulnerability result visually.</p><p><a href="https://photonforge-delta.vercel.app/"><strong>Try the live PhotonForge demo →</strong></a></p><p>The website presents results from the simulation; it does not run a photonic chip in your browser.</p><h3>So what happens next?</h3><p>The obvious response to drift is calibration: if an optical phase moves away from its target, measure it and correct it. But calibrating everything all the time can become its own problem. PhotonForge gave me a new question:</p><blockquote><em>If 5% of phase controls contain 75.7% of measured sensitivity, can I recover most of the network’s performance by recalibrating only the controls that matter most?</em></blockquote><p>That’s V0.6. I want to compare no calibration, random calibration, round-robin calibration, sensitivity-ranked calibration, and full calibration. Competing limited-budget strategies will receive the same number of correction actions, with no-calibration and full-calibration baselines for context.</p><p><strong>This experiment has no results yet.</strong></p><p>There’s another trap I have to avoid. My V0.5 sensitivity analysis used the test set. That’s fine for discovering the phenomenon, but it is not okay to use that ranking to evaluate a V0.6 calibration strategy on the same test set.</p><p>For V0.6, the component ranking will be recomputed and frozen using only the <strong>validation set</strong>. Only after the strategy is locked will I evaluate it on the untouched test set.</p><p>If sensitivity-aware calibration still wins against strong baselines after that, the result becomes much more interesting. If it doesn’t, that’s useful too. Maybe knowing which components are important isn’t enough: the system may also need to know which components are drifting right now — and eventually, which ones will drift next.</p><h3>What PhotonForge does not prove</h3><p>PhotonForge is a <strong>computational research platform</strong>. I did not fabricate a photonic chip or measure a laser, real thermal drift, or energy consumption. I did not demonstrate faster inference than a GPU.</p><p>Its current job is narrower: build a photonic neural-network model that I can trust enough to deliberately break, measure how it fails, and use those failures to test reliability strategies. The results describe one compiled network under defined error models.</p><p>Eventually, the simulation needs an external reality check against actual photonic hardware or experimentally validated device models. That’s part of what I want to work toward.</p><h3>The part of computing I’m becoming obsessed with</h3><p>When I started learning about photonic AI, the exciting question seemed obvious:</p><blockquote><em>How fast can we compute with light?</em></blockquote><p>Now I’m more interested in a different one:</p><blockquote><strong><em>How do we make computation with light dependable enough to trust?</em></strong></blockquote><p>An ideal photonic neural network is already interesting. A network that knows which parts are drifting, understands which errors matter, and can recover before its predictions fail is much closer to a computing system.</p><p>That’s what I want PhotonForge to become: a system studying how optical AI can keep computing when the hardware stops being perfect.</p><h3>About Me</h3><p>I’m Kunal Kumar Singh, a high-school student interested in AI hardware, photonic computing, and building computing systems that can push AI beyond the limits of today’s processors.</p><p>PhotonForge is part of my larger goal of understanding what comes after conventional GPU scaling — not only how new computing architectures can work, but how they can become reliable enough to matter.</p><p>If you work on integrated photonics, optical neural networks, hardware calibration, or reliable AI accelerators, I’d love to hear what you think I’m getting wrong.</p><p>Especially if you can break PhotonForge in a way I haven’t thought of yet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=299e00dbf34e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI Is Running Into a Physics Problem. Photonic Chips Could Be the Escape.]]></title>
            <link>https://medium.com/@kunalkumarsingh1435/ai-is-running-into-a-physics-problem-photonic-chips-could-be-the-escape-899241d2572d?source=rss-c391d9e3cf45------2</link>
            <guid isPermaLink="false">https://medium.com/p/899241d2572d</guid>
            <dc:creator><![CDATA[Kunal Kumar Singh]]></dc:creator>
            <pubDate>Wed, 21 Oct 2026 06:01:34 GMT</pubDate>
            <atom:updated>2026-10-21T06:04:59.022Z</atom:updated>
            <content:encoded><![CDATA[<h4>How computing with light could help overcome the bandwidth, energy, and data-movement limits facing the next generation of artificial intelligence.</h4><p>Every response generated by an AI model has a physical cost.</p><p>Numbers have to be retrieved from memory. Chips have to communicate with one another. Electrical signals have to move through wires. Calculations have to happen billions of times over.</p><p>And all of it requires energy.</p><p>For the past decade, one answer to growing AI models has been straightforward:</p><p><strong>use more powerful GPUs — and use more of them.</strong></p><p>That strategy has worked extraordinarily well. GPUs can perform huge numbers of calculations simultaneously, making them ideal for the mathematical operations behind neural networks.</p><p>But there is a problem.</p><p>As AI systems spread across increasingly large clusters of processors, the challenge is no longer only how quickly each chip can calculate.</p><p>It is also how quickly those chips can <strong>move information</strong>.</p><p>Modern AI workloads require enormous amounts of data to travel between memory, processors, and other processors. At high bandwidths, electrical interconnects face increasing problems from resistive loss, capacitance, signal distortion, latency, and power consumption. <a href="https://www.nature.com/articles/s41928-026-01681-6?utm_source=chatgpt.com">Nature</a></p><p>At some point, simply adding more electronic hardware starts running into physics.</p><p>So researchers are asking a strange question:</p><p><strong>What if parts of an AI computer stopped moving information with electricity and started using light?</strong></p><p>That is the idea behind <strong>photonic computing</strong>.</p><p>And light may be useful for much more than communication.</p><p>It may also be able to perform the math itself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OEQ_fV1xBUuY4lEx.png" /><figcaption>Photonic tensor processor and electronic control system. Credit: Meyer et al., <a href="https://doi.org/10.1038/s41467-026-71599-2">Nature Communications (2026), Fig. 1</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.</figcaption></figure><h3>AI Has a Hardware Problem</h3><p>Underneath the complexity of a neural network is an enormous amount of mathematics.</p><p>One of its most important operations can be simplified to:</p><p><strong>Y = WX</strong></p><p>A collection of input values, <strong>X</strong>, is multiplied by a matrix of learned weights, <strong>W</strong>, producing a new set of values, <strong>Y</strong>.</p><p>This type of matrix multiplication appears constantly throughout modern AI.</p><p>Transformers use it.</p><p>Computer-vision models use it.</p><p>Recommendation systems use it.</p><p>Large language models use it.</p><p>GPUs became extremely valuable because they can perform many of these operations in parallel.</p><p>But computation is only half the story.</p><p>Before a GPU can multiply two numbers, those numbers have to be somewhere the GPU can access.</p><p>Model weights have to move.</p><p>Activations have to move.</p><p>Intermediate results have to move.</p><p>And when a model is distributed across thousands of processors, those processors have to continuously exchange information with one another.</p><p>This creates a strange situation:</p><p><strong>a processor can become extremely fast at computation while the system around it struggles to feed it data.</strong></p><p>At the scale of modern AI infrastructure, data movement has become important enough that researchers are developing entirely new interconnect architectures specifically to address bandwidth, latency, and energy consumption. <a href="https://www.nature.com/articles/s41928-026-01681-6?utm_source=chatgpt.com">Nature</a></p><p>The next breakthrough in AI hardware may therefore require improving not only how we <strong>compute information</strong>, but how we <strong>move it</strong>.</p><h3>Photonics Replaces Some Electrical Signals With Light</h3><p>Photonics is the science and engineering of controlling light.</p><p>Inside a photonic chip, light can travel through microscopic structures known as <strong>waveguides</strong>.</p><p>A waveguide is basically a tiny road for light.</p><p>Instead of an electrical signal traveling through a metal connection, a laser can generate light that travels through a waveguide built directly into or alongside a semiconductor system.</p><p>That alone is useful.</p><p>But light has another property that electronics can exploit.</p><p>Different wavelengths can travel through the <strong>same waveguide at the same time</strong>.</p><p>Imagine several closely spaced infrared wavelengths sharing one microscopic pathway, each carrying a separate data stream.</p><p>This technique is called <strong>wavelength-division multiplexing</strong>, or WDM.</p><p>Conceptually:</p><p><strong>λ₁ → data stream 1</strong></p><p><strong>λ₂ → data stream 2</strong></p><p><strong>λ₃ → data stream 3</strong></p><p><strong>λ₄ → data stream 4</strong></p><p>All four can travel through the same optical path simultaneously.</p><p>A 2026 <em>Nature Electronics</em> review describes optical interconnects as a potential route toward higher bandwidth, lower propagation loss, and improved signal integrity compared with electrical links as AI and high-performance computing systems scale. <a href="https://www.nature.com/articles/s41928-026-01681-6?utm_source=chatgpt.com">Nature</a></p><p>That makes photonics extremely attractive for one of AI’s biggest problems:</p><p><strong>connecting lots of processors together.</strong></p><p>But transporting information is only the beginning.</p><h3>Light Can Perform Math</h3><p>Light behaves as a wave.</p><p>And waves interact.</p><p>When two light waves meet, they can interfere with each other.</p><p>If their phases align, they can reinforce one another.</p><p>If their phases oppose each other, they can partially cancel.</p><p>That might sound like a physics experiment.</p><p>But engineers can use this behavior to represent mathematical operations.</p><p>One of the most important devices for doing this is called a <strong>Mach–Zehnder interferometer</strong>, or MZI.</p><p>An MZI takes incoming light and splits it into two paths.</p><p>The phase of the light traveling along those paths can be changed.</p><p>Then the paths are recombined.</p><p>Depending on those phase changes, different amounts of light appear at the outputs.</p><p>In other words, an electrical control signal can determine how an optical signal is transformed.</p><p>Arrange many MZIs into a network, and the network can perform matrix transformations.</p><p>A major open-access review of photonic matrix multiplication identifies MZI networks, wavelength-division multiplexing, and other optical architectures as leading approaches for implementing the matrix operations used in AI. <a href="https://www.nature.com/articles/s41377-022-00717-8?utm_source=chatgpt.com">Nature</a></p><p>This is the part that makes photonic computing so fascinating.</p><p>Instead of representing numbers inside a conventional processor and repeatedly instructing transistors to multiply them, numbers can be encoded into properties of light.</p><p>The light travels through a deliberately designed optical circuit.</p><p>Its waves split.</p><p>They accumulate phase.</p><p>They interfere.</p><p>They recombine.</p><p>And the resulting optical signal represents the answer to a mathematical operation.</p><p><strong>The physics of the chip becomes part of the computation.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*77iDCVNXOsLuFnZGoNaa3w.png" /><figcaption>A Mach–Zehnder interferometer redistributes light between its outputs as the relative phase changes. Credit: Qcomp, <a href="https://commons.wikimedia.org/wiki/File:Mach-Zehnder_interferometer%2Bportlabels.svg">Wikimedia Commons</a>, <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>.</figcaption></figure><h3>Photonic Neural Networks Turn Optical Physics Into AI Computation</h3><p>Now imagine taking that idea much further.</p><p>An input to a neural network can be encoded into optical signals.</p><p>Those signals enter a programmable photonic circuit.</p><p>The circuit performs the linear algebra.</p><p>Photodetectors convert the resulting light back into electrical values.</p><p>Those values continue through the rest of the AI system.</p><p>Conceptually:</p><p><strong>Electronic data</strong></p><p>↓</p><p><strong>Encode data into light</strong></p><p>↓</p><p><strong>Photonic matrix multiplication</strong></p><p>↓</p><p><strong>Detect optical output</strong></p><p>↓</p><p><strong>Electronic processing</strong></p><p>That is a <strong>photonic neural-network accelerator</strong>.</p><p>Researchers have spent years demonstrating different approaches to this architecture, including MZI meshes, microring resonators, wavelength-based systems, and other optical structures. A 2026 review of on-chip photonic neural networks describes photonics as particularly attractive because of its bandwidth, parallelism, and low latency, while also highlighting major scalability problems that remain unsolved. <a href="https://advanced.onlinelibrary.wiley.com/doi/10.1002/adom.71567?utm_source=chatgpt.com">The Advanced Portfolio</a></p><p>For a long time, however, photonic AI faced an uncomfortable limitation.</p><p>The demonstrations looked impressive…</p><p>but the models were often small.</p><p>The tasks were simplified.</p><p>And the numerical precision of optical hardware struggled to compete with mature electronics.</p><p>Then the field started crossing an important boundary.</p><h3>Photonic AI Is Beginning to Run Real Models</h3><p>In 2025, researchers reported a photonic AI processor capable of executing models including <strong>ResNet</strong>, <strong>BERT</strong>, and an Atari deep-reinforcement-learning workload.</p><p>That matters because earlier photonic processors had often been demonstrated on simpler benchmarks.</p><p>The authors reported that the processor reached near-electronic precision across many workloads, representing a step toward photonic hardware capable of competing with conventional AI accelerators rather than simply demonstrating isolated optical operations. <a href="https://www.nature.com/articles/s41586-025-08854-x?utm_source=chatgpt.com">Nature</a></p><p>And progress has continued.</p><p>A September 2026 <em>Nature Photonics</em> perspective concluded that light-driven accelerators are closing the gap with digital accelerators across metrics including energy efficiency, throughput, density, and latency. <a href="https://www.nature.com/articles/s41566-026-01987-z?utm_source=chatgpt.com">Nature</a></p><p>Other researchers are attacking the problem from different directions.</p><p>A 2026 optical processing unit combined coherent interference, wavelength multiplexing, and spatial parallelism across multiple optical cores, demonstrating how several forms of optical parallelism can be combined on one system. <a href="https://www.nature.com/articles/s41467-026-76128-9?utm_source=chatgpt.com">Nature</a></p><p>Photonic AI has not replaced GPUs.</p><p>But the question has changed.</p><p>It is no longer:</p><p><strong>Can light perform AI computation at all?</strong></p><p>It is becoming:</p><p><strong>Where does light provide enough of an advantage to justify rebuilding part of the computing stack around it?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/0*1Zx0q8Fvv2VJAjth" /><figcaption>An optical neural network linking convolutional and fully connected stages. Credit: Wu et al., <a href="https://doi.org/10.1038/s41377-025-02029-z">Light: Science &amp; Applications (2025)</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.</figcaption></figure><h3>The First Photonic Revolution May Happen Between Chips</h3><p>There is an important possibility that is easier to miss.</p><p>The biggest near-term opportunity for photonics may not be replacing GPU arithmetic.</p><p>It may be <strong>connecting GPUs together</strong>.</p><p>Modern frontier-scale AI systems do not run on a single processor.</p><p>They run across huge clusters.</p><p>Those processors constantly exchange information.</p><p>As the amount of data moving through those systems increases, electrical interconnects become harder to scale.</p><p>At high data rates, electrical connections experience resistive losses, capacitive effects, distortion, and growing power requirements. Optical communication behaves differently.</p><p>Light can travel efficiently over longer distances.</p><p>Multiple wavelengths can share the same connection.</p><p>And optical links can offer extremely high bandwidth density.</p><p>This is why <strong>co-packaged optics</strong> has become such an important area.</p><p>Instead of placing optical communication far away from the processor, optical components can be packaged extremely close to the compute chip.</p><p>The goal is to convert signals into light earlier and avoid forcing huge amounts of data through long electrical connections.</p><p>A 2026 <em>Nature Electronics</em> review describes this transition toward optical chip-to-chip communication as a potential foundation for future high-performance computing infrastructure. <a href="https://www.nature.com/articles/s41928-026-01681-6?utm_source=chatgpt.com">Nature</a></p><p>This may ultimately be photonics’ fastest route into mainstream AI systems.</p><p>Not by destroying the GPU.</p><p>By helping thousands of GPUs communicate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/0*JWF8EA4mJxwHjCG_.png" /><figcaption>Co-packaged optics with external laser sources. This is a proposed switch architecture, not a measured product benchmark. Credit: Tan et al., <a href="https://doi.org/10.1007/s12200-022-00055-y">Frontiers of Optoelectronics (2023), Fig. 5</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.</figcaption></figure><h3>Lightmatter, Lightelligence, and Marvell Are Betting on Photonics</h3><p>This is no longer only an academic research field.</p><p>Companies are building real products around the idea.</p><h4>Lightmatter is attacking the interconnect bottleneck</h4><p>Lightmatter is developing photonic infrastructure for AI systems.</p><p>Its <strong>Passage</strong> platform focuses on optical interconnects designed to move enormous amounts of data between processors.</p><p>In March 2026, Lightmatter reported that a Passage co-packaged-optics chiplet demonstrated <strong>1.6 terabits per second per fiber</strong> using 16 optical wavelengths. Because this is a company-reported performance result, it should be treated as such rather than as an independent benchmark. <a href="https://lightmatter.com/press-release/lightmatter-achieves-record-1-6-tbps-per-fiber-to-accelerate-ai-optical-interconnect/?utm_source=chatgpt.com">Lightmatter®</a></p><p>A few months later, Lightmatter joined NVIDIA’s <strong>NVLink Fusion</strong> ecosystem and announced plans to provide co-packaged and near-packaged optical connectivity compatible with NVIDIA’s infrastructure. <a href="https://lightmatter.com/press-release/lightmatter-joins-nvidia-nvlink-fusion/?utm_source=chatgpt.com">Lightmatter®</a></p><p>That is important because it shows a possible path for photonics:</p><p>not replacing the existing AI ecosystem, but integrating directly into it.</p><h4>Lightelligence is putting optical computation onto accelerator cards</h4><p>Lightelligence’s <strong>PACE 2</strong> is an optoelectronic acceleration card released in 2025.</p><p>According to the company, PACE 2 contains a configurable <strong>128 × 128 optical matrix multiplier</strong>, uses 8-bit optical output precision, and integrates more than 40,000 photonic devices. <a href="https://www.lightelligence.ai/products/photon-computing/pace2?utm_source=chatgpt.com">LIGHTELLIGENCE</a></p><p>The interesting part is not simply that PACE 2 performs optical calculation.</p><p>It connects through PCIe like conventional accelerator hardware.</p><p>That represents the hybrid philosophy:</p><p><strong>use photonics where it helps, while remaining compatible with electronic computers.</strong></p><h4>Marvell acquired Celestial AI for optical AI connectivity</h4><p>In February 2026, semiconductor company <strong>Marvell</strong> completed its acquisition of Celestial AI.</p><p>Celestial AI developed <strong>Photonic Fabric</strong>, an optical interconnect platform intended to provide high-bandwidth, low-latency connectivity for large AI systems. <a href="https://investor.marvell.com/sec-filings/all-sec-filings/content/0001193125-26-032861/d45933dex991.htm?utm_source=chatgpt.com">Marvell Technology, Inc.</a></p><p>Marvell later described its first-generation Photonic Fabric product as a chiplet integrating electrical and optical components including modulators, photodiodes, waveguides, SerDes, and control electronics. <a href="https://investor.marvell.com/sec-filings/all-sec-filings/content/0001835632-26-000011/mrvl-20260131.htm?utm_source=chatgpt.com">Marvell Technology, Inc.</a></p><p>When companies building AI infrastructure start acquiring photonic-interconnect companies, it becomes harder to dismiss photonics as a laboratory curiosity.</p><h3>Photonics Solves Some Physics Problems and Creates New Ones</h3><p>At this point, photonic computing can sound almost too good.</p><p>Light is fast.</p><p>Light supports massive parallelism.</p><p>Different wavelengths can share the same waveguide.</p><p>Interference can perform mathematical operations.</p><p>So why aren’t data centers already filled with photonic processors?</p><p>Because light introduces its own problems.</p><h4>Optical loss reduces the signal</h4><p>Photons do not move through real hardware perfectly.</p><p>Waveguides, couplers, modulators, splitters, and other devices introduce loss.</p><p>The larger and more complex an optical network becomes, the more these losses can accumulate.</p><h4>Converting between electrons and photons costs energy</h4><p>Most computer data begins electronically.</p><p>Memory is electronic.</p><p>Control systems are electronic.</p><p>Many nonlinear operations are electronic.</p><p>That means a hybrid processor constantly encounters conversions such as:</p><p><strong>electrical → optical</strong></p><p>and later:</p><p><strong>optical → electrical</strong></p><p>Those interfaces require components such as modulators, lasers, photodetectors, amplifiers, and data converters.</p><p>And they consume energy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/0*BF3VVCbqppajh28y.png" /><figcaption>Challenges in optical power delivery. Credit: Tan et al., <a href="https://doi.org/10.1007/s12200-022-00055-y">Frontiers of Optoelectronics (2023), Fig. 7</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.</figcaption></figure><p>A 2026 <em>Nature Photonics</em> perspective identifies optical losses and electro-optic interfaces as major reasons large cloud-scale photonic accelerators remain difficult to deploy commercially. <a href="https://www.nature.com/articles/s41566-026-01987-z?utm_source=chatgpt.com">Nature</a></p><h4>Neural networks need more than matrix multiplication</h4><p>Photonics is naturally attractive for <strong>linear operations</strong>.</p><p>Neural networks also rely on nonlinear functions.</p><p>Electronics handle nonlinear operations extremely well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uGiEkb6QtmhAB37PBbjpUQ.png" /><figcaption>Linear and nonlinear blocks in a self-monitored optical neural network. Credit: Shi et al., <a href="https://doi.org/10.1038/s41467-022-33877-7">Nature Communications (2022), Fig. 1</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.</figcaption></figure><p>Scalable all-optical nonlinearities are much harder to implement efficiently, and researchers still identify them as a major limitation for photonic neural networks. <a href="https://www.nature.com/articles/s41566-026-01987-z?utm_source=chatgpt.com">Nature</a></p><h4>Real photonic chips drift</h4><p>Optical systems can be extremely sensitive to small physical changes.</p><p>Temperature can alter refractive index.</p><p>Manufacturing imperfections can change waveguide dimensions.</p><p>Phase relationships can drift.</p><p>A matrix programmed onto a perfect simulation may not behave exactly the same way after the chip is manufactured and placed inside a hot data center.</p><p>That creates a fascinating problem:</p><p><strong>the hardware itself may need continuous calibration.</strong></p><h4>Photonics still lacks the flexibility of mature digital computing</h4><p>GPUs have enormous software ecosystems.</p><p>They can run countless workloads.</p><p>Developers have decades of tools, compilers, libraries, debugging infrastructure, and programming abstractions.</p><p>Photonic hardware does not yet have anything comparable.</p><p>Building the chip is only part of the problem.</p><p>Someone has to make it usable.</p><h3>The Future of AI Hardware Will Probably Be Hybrid</h3><p>This is where I think the story becomes more interesting than simply asking whether photonics will “beat” GPUs.</p><p>That is probably the wrong competition.</p><p>Electronics are incredibly good at:</p><ul><li>storing information</li><li>implementing control logic</li><li>performing nonlinear operations</li><li>high-precision digital computation</li><li>running programmable software</li></ul><p>Photonics is potentially exceptional at:</p><ul><li>moving large amounts of information</li><li>high-bandwidth interconnects</li><li>parallel signal processing</li><li>selected matrix operations</li><li>extremely low-latency transformations</li></ul><p>Trying to force one technology to do everything misses the point.</p><p>The better architecture may look like:</p><p><strong>Electronic memory</strong></p><p>↓</p><p><strong>Electronic control</strong></p><p>↓</p><p><strong>Photonic matrix accelerator</strong></p><p>↓</p><p><strong>Electronic nonlinearity</strong></p><p>↓</p><p><strong>Optical interconnect</strong></p><p>↓</p><p><strong>Another processor</strong></p><p>Rather than replacing electronics, photonics could become another layer of the computing hierarchy.</p><p>That matches the conclusion of the recent <em>Nature Photonics</em> perspective: the most viable near-term role for photonics is <strong>inside the existing digital ecosystem</strong>, not as a completely independent replacement for digital computers. <a href="https://www.nature.com/articles/s41566-026-01987-z?utm_source=chatgpt.com">Nature</a></p><h3>The Missing Breakthrough May Be Software</h3><p>Hardware gets most of the attention.</p><p>But there is another layer that may become just as important.</p><p>Imagine building a photonic accelerator.</p><p>On paper, its optical circuit implements exactly the matrix you want.</p><p>Then the real chip is manufactured.</p><p>One phase shifter is slightly different from expected.</p><p>One waveguide loses more light.</p><p>Temperature changes.</p><p>The optical matrix is no longer exactly the matrix your neural network requested.</p><p>One solution is to manufacture increasingly perfect hardware.</p><p>Another is more interesting:</p><p><strong>make the software understand the imperfect hardware.</strong></p><p>A future photonic software stack could measure the real behavior of every component and automatically compensate for it.</p><p>Conceptually:</p><p><strong>AI model</strong></p><p>↓</p><p><strong>Compiler</strong></p><p>↓</p><p><strong>Map operations onto photonic hardware</strong></p><p>↓</p><p><strong>Measure real hardware errors</strong></p><p>↓</p><p><strong>Calibrate phase and optical weights</strong></p><p>↓</p><p><strong>Run computation</strong></p><p>↓</p><p><strong>Monitor drift</strong></p><p>↓</p><p><strong>Recalibrate</strong></p><p>The software would not simply send instructions to the processor.</p><p>It would maintain a continuously updated model of the processor itself.</p><p>This creates potential research problems in:</p><ul><li>compiler design</li><li>hardware-aware machine learning</li><li>calibration algorithms</li><li>thermal compensation</li><li>architecture search</li><li>error correction</li><li>workload mapping</li><li>electronic-photonic co-design</li></ul><p>And unlike fabricating a new semiconductor process, many of these problems can begin in software and simulation.</p><p>That is the part of photonic computing I find most interesting.</p><h3>My Prediction: Photonics Will Become a Layer of AI Infrastructure, Not a Replacement for GPUs</h3><p>The easiest prediction would be:</p><blockquote><em>Photonic computers will replace GPUs.</em></blockquote><p>I don’t think that is what will happen.</p><p>My prediction is more specific:</p><p><strong>By the mid-2030s, the most commercially important photonic AI systems will be hybrid architectures, with optics becoming common first for high-bandwidth interconnects and selected linear-algebra workloads while electronics continue handling memory, control, precision-sensitive operations, and nonlinear computation.</strong></p><p>That prediction can be wrong.</p><p>If fully optical computers suddenly become practical and replace digital processors, it is wrong.</p><p>If photonics fails to move beyond niche applications, it is wrong.</p><p>But based on the problems researchers and companies are currently attacking, hybridization seems more realistic.</p><p>Optical interconnects already address an immediate AI-infrastructure bottleneck.</p><p>Photonic accelerators are becoming capable of increasingly realistic workloads.</p><p>Meanwhile, optical loss, conversion overhead, reconfigurability, nonlinearities, and hardware drift still make a completely optical computing stack extremely difficult. <a href="https://www.nature.com/articles/s41566-026-01987-z?utm_source=chatgpt.com">Nature</a></p><p>The winning system may therefore not be the one that uses the most photonics.</p><p>It may be the one that knows <strong>exactly where photons outperform electrons — and where they do not.</strong></p><h3>The Next AI Breakthrough May Happen Below the Model</h3><p>Most conversations about the future of artificial intelligence focus on algorithms.</p><p>Better reasoning.</p><p>More parameters.</p><p>Longer context windows.</p><p>New model architectures.</p><p>Agents.</p><p>But every AI model ultimately runs on something physical.</p><p>Electrons move.</p><p>Memory is accessed.</p><p>Heat is generated.</p><p>Information travels across finite distances.</p><p>And there are limits to how much computing infrastructure we can scale by simply repeating the same architecture.</p><p>Photonics offers a different set of physical tools.</p><p>Light can carry many streams of information simultaneously.</p><p>Interference can perform mathematical operations.</p><p>Optical links can connect processors at enormous bandwidths.</p><p>None of that guarantees that photonic computing will succeed.</p><p>The technology still has serious problems.</p><p>But those problems are exactly what make it worth exploring.</p><p>The future of AI may depend not only on building smarter algorithms.</p><p>It may depend on building computers that use the same laws of physics in a different way.</p><h3>Where I Want to Take This Next</h3><p>I’m continuing to explore photonic computing, AI hardware, and the software required to make new computing architectures practical.</p><p>The problem I’m especially interested in is <strong>hardware-aware photonic computing</strong>: whether software can model real-world problems such as phase error, fabrication variation, optical loss, and thermal drift, then automatically compensate for them.</p><p>My next step is to begin building simulations of photonic neural-network hardware and test how different physical imperfections affect AI performance.</p><p>If you work in photonics, semiconductor design, computer architecture, or AI hardware, leave a comment with the unsolved problem you think a student could meaningfully explore in simulation. I’m especially interested in papers, open-source tools, and feedback on modeling hardware drift.</p><h3>About Me</h3><p>I’m <strong>Kunal Kumar Singh</strong>, a high school student exploring next-generation computing, artificial intelligence, and emerging hardware architectures.</p><p>My north star is to help build the computing systems that allow AI to scale beyond the limits of today’s GPUs. Right now, I’m exploring photonic computing and how light, electronics, and software could work together to create faster and more energy-efficient AI infrastructure.</p><p>Through TKS, I learn emerging technologies, investigate their biggest unsolved problems, and build projects around the areas I find most promising.</p><h3>Sources</h3><p><strong>Research and reviews</strong></p><p>Nechipurenko, D., Gautam, A. &amp; Shcherbakov, M. R. <a href="https://www.nature.com/articles/s41566-026-01987-z">Photonic accelerators for AI across cloud and edge platforms</a>. <em>Nature Photonics</em> (2026). Perspective on system architectures, opportunities, and deployment barriers.</p><p>Ahmed, S. R. et al. <a href="https://doi.org/10.1038/s41586-025-08854-x">Universal photonic artificial intelligence acceleration</a>. <em>Nature</em> 640, 368–374 (2025). Experimental processor running ResNet, BERT, and reinforcement-learning workloads.</p><p>Kim, B. et al. <a href="https://doi.org/10.1038/s41928-026-01681-6">Co-packaged optics for high-performance computing and artificial intelligence</a>. <em>Nature Electronics</em> 9, 853–867 (2026). Review of optical interconnects and system-level tradeoffs.</p><p>Zhou, H. et al. <a href="https://doi.org/10.1038/s41377-022-00717-8">Photonic matrix multiplication lights up photonic accelerator and beyond</a>. <em>Light: Science &amp; Applications</em> 11, 30 (2022). Open-access review of matrix-multiplication architectures.</p><p>Fu, T. et al. <a href="https://doi.org/10.1038/s41377-024-01590-3">Optical neural networks: progress and challenges</a>. <em>Light: Science &amp; Applications</em> (2024). Open-access review of optical neural networks.</p><p>On-Chip Photonic Neural Network Architectures. <em>Advanced Optical Materials</em> (2026). Additional architecture and scalability context cited in the article.</p><p><a href="https://doi.org/10.1038/s41467-026-76128-9">Optical processing unit study</a>. <em>Nature Communications</em> (2026). Study cited for combined optical parallelism.</p><p><a href="https://doi.org/10.1038/s41467-026-71599-2">Deep neural network inference on an integrated, reconfigurable photonic tensor processor</a>. <em>Nature Communications</em> (2026). Source of the opening hardware figure.</p><p><strong>Company announcements and product documentation</strong></p><p>Lightmatter: <a href="https://lightmatter.com/press-release/lightmatter-achieves-record-1-6-tbps-per-fiber-to-accelerate-ai-optical-interconnect/">Passage 1.6 Tbps-per-fiber announcement</a> (March 11, 2026) and <a href="https://lightmatter.com/press-release/lightmatter-joins-nvidia-nvlink-fusion/">NVLink Fusion announcement</a> (2026).</p><p>Lightelligence: <a href="https://www.lightelligence.ai/products/photon-computing/pace2">PACE 2 product specifications</a>. Company-reported optical matrix size, precision, and integration figures.</p><p>Marvell: <a href="https://investor.marvell.com/sec-filings/all-sec-filings/content/0001193125-26-032861/d45933dex991.htm">Celestial AI acquisition completion</a> (February 2, 2026) and <a href="https://investor.marvell.com/sec-filings/all-sec-filings/content/0001835632-26-000011/mrvl-20260131.htm">fiscal 2026 annual report</a>.</p><p><em>Company specifications and announcements establish what vendors report; they are not independent comparisons of complete AI systems.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=899241d2572d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Next Generation of Brain Implants Won’t Just React. They’ll Predict.]]></title>
            <link>https://medium.com/@kunalkumarsingh1435/can-brain-stimulation-learn-b29455350dba?source=rss-c391d9e3cf45------2</link>
            <guid isPermaLink="false">https://medium.com/p/b29455350dba</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[neurotechnology]]></category>
            <category><![CDATA[neuroscience]]></category>
            <category><![CDATA[parkinson-disease]]></category>
            <category><![CDATA[biomedical-engineering]]></category>
            <dc:creator><![CDATA[Kunal Kumar Singh]]></dc:creator>
            <pubDate>Sat, 19 Sep 2026 03:01:09 GMT</pubDate>
            <atom:updated>2026-09-25T05:44:37.323Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine having a device implanted in your brain that can reduce the symptoms of a neurological disorder by delivering tiny electrical pulses.</p><p>Now imagine that your symptoms change throughout the day.</p><p>Your medication kicks in. You start walking. You become stressed. You fall asleep. Your neural activity shifts.</p><p>But the stimulation does not necessarily change with it.</p><p>The human brain is constantly changing.</p><p>So why should the device stimulating it remain static?</p><p>That question is driving a new generation of neurotechnology known as <strong>adaptive neuromodulation</strong>.</p><p>Instead of continuously delivering stimulation according to a fixed set of parameters, adaptive systems can sense signals from the nervous system, interpret what state the patient may be in, and change stimulation in response.</p><p>In other words, the device begins to listen before it acts.</p><p>And that seemingly simple change transforms neuromodulation from a one-way treatment into a feedback-controlled system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*8I3Axn9PdRFuD8x5" /><figcaption><em>Deep brain stimulation uses an implanted electrode connected to a pulse generator beneath the skin of the chest.</em></figcaption></figure><p><em>Traditional neuromodulation sends stimulation toward the nervous system. Adaptive neuromodulation adds sensing and feedback, allowing stimulation to change with the patient’s state.</em></p><h3>Electricity Can Change What the Brain Does</h3><p>The brain is made of billions of neurons communicating using electrical and chemical signals.</p><p>These neurons form enormous networks responsible for everything from movement and memory to emotion and sensation.</p><p>When activity within certain neural circuits becomes dysfunctional, symptoms can emerge.</p><p>One way of altering those circuits is surprisingly direct:</p><p><strong>electricity.</strong></p><p>Deep brain stimulation, or <strong>DBS</strong>, uses electrodes surgically implanted into specific brain regions. Those electrodes are connected to a pulse generator that delivers electrical stimulation.</p><p>DBS has been used clinically for neurological conditions including Parkinson’s disease.</p><p>The exact biology behind DBS is complicated. It does not simply “turn neurons on” or “turn neurons off.” Electrical stimulation can alter patterns of activity across interconnected neural circuits.</p><p>But there is an important engineering question hidden inside the therapy:</p><blockquote><em>How much stimulation should the brain receive at any particular moment?</em></blockquote><p>Traditional stimulation settings are usually configured by clinicians and can remain relatively stable until they are adjusted again.</p><p>That approach can work.</p><p>But it assumes that one set of stimulation parameters remains useful even as the patient’s internal state changes.</p><p>That is where closed-loop systems become interesting.</p><h3>The Thermostat Problem</h3><p>Think about the thermostat in your house.</p><p>Imagine if your heater had only one setting.</p><p>It would continue producing the same amount of heat regardless of whether the room was freezing or already unbearably hot.</p><p>That is an <strong>open-loop system</strong>.</p><p>There is an input, but there is no feedback telling the system what happened afterward.</p><p>A thermostat solves this by adding a sensor.</p><p>It measures the temperature.</p><p>If the room gets too cold, the heater turns on.</p><p>If the room gets too warm, it turns off.</p><p>That creates a <strong>closed loop</strong>.</p><p>Adaptive neuromodulation applies a similar principle to the nervous system.</p><p>Instead of:</p><p><strong>Stimulation → Brain</strong></p><p>we get:</p><p><strong>Brain → Sensing → Controller → Stimulation → Brain</strong></p><p>A 2026 review in <em>Microsystems &amp; Nanoengineering</em> describes closed-loop neuromodulation as the integration of neural recording, signal analysis and stimulation so that stimulation parameters can be dynamically adjusted according to physiological state. <a href="https://www.nature.com/articles/s41378-026-01357-3?utm_source=chatgpt.com">Nature</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/0*xx1a64jhko1N2_eW" /><figcaption>Closed-loop DBS senses biological activity and uses that feedback to adjust stimulation.</figcaption></figure><p><em>In a closed-loop neuromodulation system, the nervous system becomes both the target and part of the feedback mechanism.</em></p><p>That sounds straightforward.</p><p>Measure the brain.</p><p>Detect the problem.</p><p>Adjust stimulation.</p><p>Done.</p><p>Except the brain is not a thermostat.</p><h3>Neurostimulators Listen to Biomarkers, Not the Disease Itself</h3><p>A closed-loop system needs feedback.</p><p>But an implanted electrode cannot directly read:</p><blockquote><em>“The patient’s Parkinson’s symptoms are getting worse.”</em></blockquote><p>Instead, the system measures biological signals that researchers believe are related to the state they care about.</p><p>These measurable signals are often called <strong>biomarkers</strong>.</p><p>A biomarker could be a particular pattern of neural activity, a physiological measurement, or some combination of signals.</p><p>The controller then uses the biomarker as a proxy for what is happening inside the patient.</p><p>This distinction is extremely important.</p><p>The system is not measuring the disease itself.</p><p>It is measuring a signal that hopefully tells us something useful about the disease state.</p><p>Researchers have already demonstrated this concept in Parkinson’s disease.</p><p>In a 2024 blinded randomized feasibility trial published in <em>Nature Medicine</em>, researchers studied four people with Parkinson’s disease who had DBS implants. They identified individualized neural signals associated with different dopaminergic and motor states and used those signals to control adaptive stimulation. In this small pilot study, adaptive DBS improved motor symptoms and quality of life compared with clinically optimized continuous stimulation. The researchers emphasized that larger trials are still needed. <a href="https://www.nature.com/articles/s41591-024-03196-z?utm_source=chatgpt.com">Nature</a></p><p>That is remarkable.</p><p>The stimulation did not simply run continuously according to one fixed program.</p><p>The patient’s own neural activity helped determine how stimulation changed.</p><p>But it creates a much harder question:</p><blockquote><em>What if the biomarker changes?</em></blockquote><h3>The Brain Is a Terrible Thermostat</h3><p>A room is relatively easy to control.</p><p>You have a measurable quantity:</p><p><strong>temperature.</strong></p><p>You have a clear objective:</p><p><strong>keep the room around a target temperature.</strong></p><p>And the heater behaves fairly predictably.</p><p>The brain violates almost every one of these assumptions.</p><p>Control-theory researchers studying closed-loop neuromodulation highlight several fundamental challenges, including <strong>nonstationarity, partial observability, under-actuation, measurement interference, and strict safety constraints</strong>. <a href="https://pubmed.ncbi.nlm.nih.gov/42109929/?utm_source=chatgpt.com">PubMed</a></p><p>Those terms sound intimidating.</p><p>The ideas behind them are not.</p><p><strong>Closed-loop neuromodulation has to deal with several problems at once:</strong></p><ul><li><strong>Nonstationarity</strong> — the nervous system changes over time</li><li><strong>Partial observability</strong> — electrodes see only a fraction of brain activity</li><li><strong>Under-actuation</strong> — a few electrodes cannot independently control every relevant circuit</li><li><strong>Measurement interference</strong> — stimulation can distort the signals being measured</li><li><strong>Biomarker uncertainty</strong> — measured signals do not perfectly represent symptoms</li><li><strong>Objective misalignment</strong> — optimizing the biomarker may not optimize the patient’s experience</li><li><strong>Safety constraints</strong> — adaptation cannot be allowed to exceed safe stimulation limits</li></ul><h3>The brain changes over time</h3><p>Engineers call this <strong>nonstationarity</strong>.</p><p>The same nervous system does not behave identically from hour to hour, let alone year to year.</p><p>Medication can change neural activity.</p><p>Movement can change it.</p><p>Sleep can change it.</p><p>Disease progression can change it.</p><p>Even learning and neural plasticity can change how circuits respond.</p><p>A controller that worked perfectly yesterday may not work exactly the same way tomorrow.</p><h3>We can only observe part of the system</h3><p>This is <strong>partial observability</strong>.</p><p>The brain contains billions of neurons and enormous interconnected networks.</p><p>A few implanted electrodes only capture a tiny window into that activity.</p><p>It is like trying to understand an entire city by watching traffic through three security cameras.</p><p>The controller has to infer what is happening from incomplete information.</p><h3>We cannot control every part of the brain independently</h3><p>This is related to <strong>under-actuation</strong>.</p><p>A DBS electrode influences surrounding neural tissue, but it cannot precisely control every neuron in every circuit involved in the patient’s symptoms.</p><p>The device has only a limited number of control inputs for an incredibly complex biological system.</p><h3>Stimulation can interfere with sensing</h3><p>This creates another strange problem.</p><p>The system is trying to measure electrical signals from the nervous system while simultaneously delivering electrical stimulation.</p><p>The treatment itself can distort the measurement.</p><p>The controller is therefore observing a system that it is actively perturbing.</p><p>This is much harder than controlling a thermostat.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*BrMJm1ZuKdS63jHm.jpg" /><figcaption>Adaptive DBS can use neural activity as a feedback signal to change stimulation in real time.</figcaption></figure><p><em>Thermostats control a relatively predictable system using a direct measurement. Neural controllers must work with changing dynamics, incomplete measurements and strict safety constraints.</em></p><h3>Adaptive Brain Stimulation Is Already Becoming Real</h3><p>Adaptive neuromodulation can sound futuristic.</p><p>It is not purely theoretical.</p><p>Clinical research has been moving steadily toward systems that can both sense and stimulate.</p><p>The 2024 <em>Nature Medicine</em> Parkinson’s study demonstrated personalized adaptive DBS outside of a single short laboratory session, using individualized neural biomarkers to regulate stimulation. <a href="https://www.nature.com/articles/s41591-024-03196-z?utm_source=chatgpt.com">Nature</a></p><p>And the broader field is moving toward more integrated devices that combine sensing, processing and stimulation.</p><p>A 2026 review of closed-loop neuromodulation technologies notes that future systems are expected to incorporate real-time neural and physiological feedback, machine-learning-based state decoding and patient-specific adaptive control. <a href="https://www.nature.com/articles/s41378-026-01357-3?utm_source=chatgpt.com">Nature</a></p><p>But there is an important distinction:</p><blockquote><strong><em>Responsive does not necessarily mean intelligent.</em></strong></blockquote><p>A system can change stimulation in response to a signal without actually learning anything about the patient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*DrYTaf3jMRn2INKB" /><figcaption>Three-dimensional reconstruction of DBS electrodes placed near common deep-brain targets used in Parkinson’s disease.</figcaption></figure><h3>Medtronic, Boston Scientific, and Abbott Are Advancing Personalized Neuromodulation</h3><p>Adaptive neuromodulation is already moving from research labs into commercial neurotechnology.</p><p><strong>Medtronic</strong> has developed sensing-enabled deep brain stimulation systems and received FDA approval for an adaptive DBS feature for Parkinson’s disease. Its devices can use recorded neural activity to help adjust stimulation over time.</p><p><strong>Boston Scientific</strong> develops DBS systems such as Vercise, which focus on precise control of stimulation across multiple electrode contacts and are part of the broader move toward more personalized neuromodulation.</p><p><strong>Abbott</strong> also develops neuromodulation systems across DBS and spinal cord stimulation, including devices designed around individualized programming and remote care.</p><p>The important shift is that neurotechnology companies are moving beyond simply delivering electrical pulses. The long-term direction is toward systems that can sense, interpret, and eventually adapt to the patient they are connected to.</p><h3>From Reactive to Predictive</h3><p>Imagine a basic adaptive controller.</p><p>It monitors a biomarker.</p><p>If the biomarker crosses a threshold, stimulation increases.</p><p>If the biomarker falls below the threshold, stimulation decreases.</p><p>That is already useful.</p><p>But it is essentially reactive.</p><p>Something happens.</p><p>The controller notices.</p><p>Then it responds.</p><p>The next generation could move further.</p><p>A 2026 framework for physiologic closed-loop controllers distinguishes between <strong>feedback biomarkers</strong>, which react to an observed state, and <strong>feedforward or predictive biomarkers</strong>, which may indicate that a future state is approaching. <a href="https://pubmed.ncbi.nlm.nih.gov/42059841/?utm_source=chatgpt.com">PubMed</a></p><p>That creates an interesting possibility.</p><p>What if a neurostimulator did not wait for symptoms to worsen?</p><p>What if it recognized a neural pattern suggesting that symptoms were likely to worsen soon?</p><p>The system could potentially intervene earlier.</p><p>The progression might look something like this:</p><p><strong>Fixed stimulation</strong></p><p>↓</p><p><strong>Reactive closed loop</strong></p><p>↓</p><p><strong>Personalized closed loop</strong></p><p>↓</p><p><strong>Predictive control</strong></p><p>↓</p><p><strong>Learning control</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*kxHkbGq_YWtCl9stkCLCgg.png" /><figcaption><em>In adaptive DBS, neural activity from the subthalamic nucleus can be measured in real time and used to control whether stimulation is turned on or off.</em></figcaption></figure><p><em>Closed-loop neurotechnology could evolve from fixed stimulation toward increasingly personalized and predictive control.</em></p><p>That final stage is where things become especially interesting.</p><h3>A Neurostimulator Can Learn Your Patterns, But Only From Incomplete Data</h3><p>Imagine that two patients have exactly the same diagnosis.</p><p>Their brains will still not be identical.</p><p>They may respond differently to the same stimulation.</p><p>Their symptoms may fluctuate differently.</p><p>Medication may affect them differently.</p><p>Their useful biomarkers may even be different.</p><p>So instead of building one universal controller, what if the device gradually developed a model of the individual nervous system it was connected to?</p><p>It could potentially observe:</p><ul><li>neural activity</li><li>previous stimulation settings</li><li>movement</li><li>medication timing</li><li>sleep</li><li>physiological signals</li><li>past responses to stimulation</li></ul><p>Over time, the system could attempt to answer questions like:</p><blockquote><em>What stimulation level usually helps this person in this state?</em></blockquote><blockquote><em>How does this person’s response change throughout the day?</em></blockquote><blockquote><em>What usually happens before their symptoms worsen?</em></blockquote><blockquote><em>What is the minimum stimulation required to keep them within a useful therapeutic range?</em></blockquote><p>This begins to resemble a <strong>digital model of the patient</strong>.</p><p>Control-theory researchers have suggested digital twins and hybrid learning-and-control architectures as possible future tools for testing and designing closed-loop neuromodulation systems. They also emphasize that learning systems would require independent safety supervision because maximizing performance cannot be allowed to override safety constraints. <a href="https://pubmed.ncbi.nlm.nih.gov/42109929/?utm_source=chatgpt.com">PubMed</a></p><p><em>Future adaptive neuromodulation systems could combine multiple signals with a patient-specific model to choose stimulation while an independent safety layer limits what the controller is allowed to do.</em></p><p>This is fundamentally different from simply making the stimulation stronger.</p><p>The goal becomes using <strong>the right amount of stimulation at the right time for the right person.</strong></p><h3>The Algorithm Could Optimize the Wrong Signal</h3><p>There is an even deeper problem.</p><p>Suppose our controller becomes incredibly good at controlling its biomarker.</p><p>It keeps the neural signal exactly where engineers want it.</p><p>Has the patient necessarily gotten better?</p><p>Not always.</p><p>A biomarker is a measurement.</p><p>The patient’s actual experience is the outcome we care about.</p><p>Those two things are related, but they are not always identical.</p><p>Imagine a fitness tracker programmed to maximize your daily step count.</p><p>You could attach the tracker to a machine that shakes it thousands of times.</p><p>The metric would improve dramatically.</p><p>Your fitness would not.</p><p>A closed-loop neural system faces a similar danger.</p><p>If researchers choose the wrong objective, a controller could become extremely effective at optimizing something that only partially represents the patient’s actual condition.</p><p>That means designing adaptive neuromodulation is not simply an engineering problem.</p><p>It is also a problem of deciding:</p><blockquote><strong><em>What should the system actually optimize?</em></strong></blockquote><p>For many neurological conditions, the answer may involve combining objective neural measurements with movement, behavior, patient-reported outcomes and other physiological signals.</p><p>The smarter the controller becomes, the more important this question becomes.</p><h3>The Future Is Not Just Closed Loop</h3><p>Today, the phrase <strong>closed-loop neuromodulation</strong> usually emphasizes feedback.</p><p>The system senses something and changes stimulation.</p><p>I think the more important long-term shift will be from <strong>reactive devices to personalized predictive systems</strong>.</p><p>A future neurostimulator might continuously estimate a patient’s state using multiple signals.</p><p>It could predict how that state is likely to change.</p><p>It could select the minimum useful stimulation.</p><p>It could observe the result.</p><p>Then it could update its model of the patient.</p><p>Conceptually:</p><p><strong>Neural activity + movement + physiology + medication + history</strong></p><p>↓</p><p><strong>Patient-specific state model</strong></p><p>↓</p><p><strong>Prediction</strong></p><p>↓</p><p><strong>Controller</strong></p><p>↓</p><p><strong>Safety layer</strong></p><p>↓</p><p><strong>Stimulation</strong></p><p>↓</p><p><strong>New measurements</strong></p><p>↓</p><p><strong>Model updates</strong></p><p>This creates something much closer to an adaptive biological control system than a conventional medical device.</p><p>And researchers are already moving toward the pieces needed to make this possible: integrated sensing, patient-specific biomarkers, adaptive regulation, machine-learning-based decoding and safety-aware closed-loop architectures. <a href="https://www.nature.com/articles/s41378-026-01357-3?utm_source=chatgpt.com">Nature</a></p><h3>The Brain Shouldn’t Have a Static Controller</h3><p>Neuromodulation has already shown that electricity can alter dysfunctional neural circuits and improve symptoms.</p><p>Closed-loop systems add something new:</p><p><strong>the ability to listen.</strong></p><p>But listening is only the beginning.</p><p>The nervous system is constantly changing.</p><p>A truly adaptive therapy may therefore require more than one perfect stimulation setting.</p><p>It may require a controller capable of continuously estimating what is happening, predicting what may happen next, and choosing the smallest intervention necessary to keep the patient within a therapeutic state.</p><p>That creates a difficult challenge.</p><p>The system has to learn from incomplete information.</p><p>It has to adapt without becoming unstable.</p><p>It has to optimize measurable biomarkers without forgetting the human outcome those biomarkers are supposed to represent.</p><p>And above everything else, it has to remain safe.</p><p>We have already begun moving from fixed stimulation toward adaptive stimulation.</p><p>The much harder question is what happens when the loop starts learning.</p><p><strong>Hypothesis</strong></p><p>My prediction is that over the next decade, adaptive neuromodulation will move beyond simple threshold-based responses toward patient-specific predictive control. Instead of waiting for a biomarker to cross a threshold, future systems could combine neural activity, movement, medication state, and past stimulation responses to predict when intervention is needed. The real test will be whether these systems can improve symptom control while reducing unnecessary stimulation compared with today’s reactive approaches.</p><p><strong>Call to Action</strong></p><p>I’m continuing to explore adaptive neuromodulation, particularly how predictive control, machine learning, and patient-specific models could improve closed-loop stimulation. If you work in neurotechnology, neuroscience, control systems, or are researching similar problems, I’d love to hear your perspective or connect.</p><h3>About Me</h3><p>I’m Kunal Kumar Singh, a high school student exploring neurotechnology, artificial intelligence, and the intersection of biology and engineering. I’m especially interested in adaptive neuromodulation and how intelligent control systems could make future neurotechnology more personalized, predictive, and responsive. Through TKS, I’m exploring emerging technologies and building projects around problems I want to understand more deeply.</p><h3>Sources</h3><p><strong>Oehrn, C.R. et al.</strong> “Chronic adaptive deep brain stimulation versus conventional stimulation in Parkinson’s disease: a blinded randomized feasibility trial.” <em>Nature Medicine</em>, 2024. <a href="https://www.nature.com/articles/s41591-024-03196-z?utm_source=chatgpt.com">Nature</a></p><p><strong>Wang, J. et al.</strong> “Active devices and systems for closed-loop neuromodulation.” <em>Microsystems &amp; Nanoengineering</em>, 2026. <a href="https://www.nature.com/articles/s41378-026-01357-3?utm_source=chatgpt.com">Nature</a></p><p><strong>Wang, M. et al.</strong> “Fundamental questions on closed-loop neuromodulation: a control theory perspective.” <em>Cognitive Neurodynamics</em>, 2026. <a href="https://pubmed.ncbi.nlm.nih.gov/42109929/?utm_source=chatgpt.com">PubMed</a></p><p><strong>Marks, V.S. et al.</strong> “Principles of Physiologic Closed-Loop Controllers in Neuromodulation.” <em>Neuromodulation</em>, 2026. <a href="https://pubmed.ncbi.nlm.nih.gov/42059841/?utm_source=chatgpt.com">PubMed</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b29455350dba" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>