<?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 Akshit Choudhari on Medium]]></title>
        <description><![CDATA[Stories by Akshit Choudhari on Medium]]></description>
        <link>https://medium.com/@akshit.chodhary?source=rss-beceb8397951------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SQII9Z4Uh38xVkjQ</url>
            <title>Stories by Akshit Choudhari on Medium</title>
            <link>https://medium.com/@akshit.chodhary?source=rss-beceb8397951------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 02:20:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@akshit.chodhary/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[Wrap up ? | GSoC 2023 @ML4SCI]]></title>
            <link>https://medium.com/@akshit.chodhary/wrap-up-gsoc-2023-ml4sci-2f98adaa21ae?source=rss-beceb8397951------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f98adaa21ae</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[diffusion-models]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[particle-physics]]></category>
            <category><![CDATA[ml4sci]]></category>
            <dc:creator><![CDATA[Akshit Choudhari]]></dc:creator>
            <pubDate>Mon, 23 Oct 2023 14:22:50 GMT</pubDate>
            <atom:updated>2023-10-23T14:25:18.435Z</atom:updated>
            <content:encoded><![CDATA[<h3>Wrap up ? | GSoC 2023 @ML4SCI</h3><p>Hello! I got an opportunity to participate in <strong>Google Summer of Code (GSoC)</strong> <strong>2023</strong> with <strong>Machine Learning For Science (ML4SCI)</strong> organization, this blog post is a short summary of the project I worked on for GSoC — <strong>Diffusion Models for Fast Detector Simulation</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*IGK9W_s95QFB1KZb4KV8uA.png" /></figure><p>I wrote a blog during the mid evaluation which focuses mainly on the forward diffusion process do check that out <a href="https://medium.com/@akshit.chodhary/halfway-there-gsoc-2023-ml4sci-f35eacadf854">here</a>.</p><h4>Project Scope</h4><p>Particle colliders such as the Large Hadron Collider (LHC) play a crucial role in advancing our understanding of fundamental particles and their interactions. To achieve their desired performance, these experiments rely on accurate simulations of high-energy physics (HEP) events. However, simulating HEP events required for these experiments with traditional approaches such as Monte Carlo simulation is <strong>time-consuming and computationally expensive</strong> because of which there is a need to explore different approaches. Therefore, fast simulation paradigms based on deep learning techniques, such as <a href="https://doi.org/10.1088/1742-6596/1525/1/012064">Generative adversarial networks</a>, <a href="https://arxiv.org/abs/2104.01725">Graph generative models</a>, are being explored and applied in various domains of HEP. My project focuses on the same task using Diffusion models.</p><h4><strong>Dataset</strong></h4><p>Understanding the dataset is a crucial part of this project specially because we are not dealing with classical image containing RGB values ranging 0–255 but with <strong>raw physical data, </strong>so classical techniques/hacks can be thrown out of the window and other methods need to be brainstormed. Upon successful collision of particles, measurements and observations are made, out of which for this project I’ve focused mainly on three channels namely Tracks, ECAL, HCAL.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NTN1tEZnxLXNaAvuJ55ROA.png" /><figcaption>Image representation of Track, ECAL, HCAL channels</figcaption></figure><p>Note, for the training and reconstruction process 64x64x3 dimension was user rather than 125x125x3 to save some computational power.</p><h4>Diffusion models</h4><p>The working of Diffusion models in laymen language could be boiled down into two parts <strong>forward process and backward process</strong>.</p><p>The forward process can be described as a Markov chain where we systematically <strong>destroy </strong>our original datum (image, text, point cloud, time series, etc.) with noise and in the backward process, we try to <strong>learn the decay of information</strong> caused by noise due to which it is possible to reverse the process of destroying original datum and recover the information lost due to noise, in this process we can generate new samples, Hence <strong>simulating more samples</strong> replica to the original datum.</p><p><strong>Forward Process</strong></p><p>This is a non-trainable part of the model, and we simply add noise to original datum subsequently using a scheduler math logic as per choice and experimentation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*aik1b3vd1dL5zbUCyb0YUQ.png" /></figure><p><strong>Backward Process</strong></p><p>This is the trainable part of the model meaning where the model actually learns to simulate new jet events. Here we start from a completely noisy image i.e last image of forward process (say xₜ) and try to predict its previous less noiser version i.e xₜ₋₁ .</p><h3>Results</h3><p>Read the below backward process from Right to left, i.e complete noise to a reconstructed jet event.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3qJAa5vt7BVPl-t_4LczoA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/187/1*satocpS8c56X8RCjkjsZpA.png" /><figcaption>Reconstruction result 1</figcaption></figure><p>As you can see the bigger square blobs of HCAL layer seems to be reconstructed quite well but the ECAL and Tracks layer gets misinterpreted as noise itself and is hence not reconstructed in the final result. Zeroes are also not predicted correctly. Which is why a different representation for the datum like point clouds needs to be tried out that can possibly give more promising results. This project didn&#39;t really get a satisfactory ending for now so it&#39;s not a wrap up and a lot of scope for research is still left in domain of deep learning for particle physics.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*ZMJZjPBj5Ts88fwaXaOkiw.png" /></figure><h3>Code</h3><p>Code for this project and other approaches to tackle the problem of slow simulation using depe learning methods are available here: <a href="https://github.com/ML4SCI/DeepFalcon">GitHub — ML4SCI/DeepFalcon</a></p><p>Feel free to reach out to me if I can be of any help to you, Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f98adaa21ae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Halfway there! | GSoC 2023 @ML4SCI]]></title>
            <link>https://medium.com/@akshit.chodhary/halfway-there-gsoc-2023-ml4sci-f35eacadf854?source=rss-beceb8397951------2</link>
            <guid isPermaLink="false">https://medium.com/p/f35eacadf854</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[particle-physics]]></category>
            <category><![CDATA[google-summer-of-code]]></category>
            <category><![CDATA[diffusion-models]]></category>
            <dc:creator><![CDATA[Akshit Choudhari]]></dc:creator>
            <pubDate>Fri, 04 Aug 2023 14:12:06 GMT</pubDate>
            <atom:updated>2023-08-04T14:12:06.212Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello! I got an opportunity to participate in <strong>Google Summer of Code (GSoC)</strong> <strong>2023</strong> with <strong>Machine Learning For Science (ML4SCI)</strong> organization, this blog post would be a short summary on the project I am working on — <strong>Diffusion Models for Fast Detector Simulation</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*wm4xnqkVVg5yKPWz8M7B0g.png" /></figure><h3>Project Scope</h3><p>Particle colliders such as the Large Hadron Collider (LHC) play a crucial role in advancing our understanding of fundamental particles and their interactions. To achieve their desired performance, these experiments rely on accurate simulations of high-energy physics (HEP) events. However, simulating HEP events required for these experiments with traditional approaches such as Monte Carlo simulation is <strong>time-consuming and computationally expensive</strong> because of which there is a need to explore different approaches. Therefore, fast simulation paradigms based on deep learning techniques, such as <a href="https://doi.org/10.1088/1742-6596/1525/1/012064">Generative adversarial networks</a>, <a href="https://arxiv.org/abs/2104.01725">Graph generative models</a>, are being explored and applied in various domains of HEP. My project focuses on the same task using Diffusion models.</p><h3>What are Diffusion models?</h3><p>Diffusion models are a class of generative models that can simulate complex data distributions by modeling the diffusion of noise over time. They are a set of <strong>probabilistic likelihood estimation</strong> methods that draw inspiration from physical phenomenon, specifically the thermodynamics of gas molecules, where they diffuse from high density to low density areas. You might have heard about Diffusion models from AI art generating models like <a href="https://medium.com/@steinsfu/stable-diffusion-clearly-explained-ed008044e07e">Stable Diffusion</a> and <a href="https://www.assemblyai.com/blog/how-dall-e-2-actually-works/">DALL·E 2</a>.</p><p>The working of Diffusion models in laymen language could be boiled down into two parts <strong>forward process and backward process</strong>.</p><p>The forward process can be described as a Markov chain where we systematically <strong>destroy </strong>our original datum (image, text, point cloud, time series, etc.) with noise and in the backward process, we try to <strong>learn the decay of information</strong> caused by noise due to which it is possible to reverse the process of destroying original datum and recover the information lost due to noise, in this process we can generate new samples, Hence <strong>simulating more samples</strong> replica to the original datum.</p><h3>Dataset</h3><p>Understanding the dataset is a crucial part of this project specially because we are not dealing with classical image containing RGB values ranging 0–255 but with <strong>raw physical data, </strong>so classical techniques/hacks can be thrown out of the window and other methods need to be brainstormed. Upon successful collision of particles, measurements and observations are made out of which three channels namely Tracks, ECAL, HCAL are of our main interest.</p><ol><li>Track: In particle physics, a track refers to the <strong>trajectory or path of a charged particle</strong> as it passes through a detector. Tracking detectors are designed to reconstruct and measure the properties of charged particles such as <strong>momentum, charge, and position</strong>.</li><li>ECAL (Electromagnetic Calorimeter): The electromagnetic calorimeter is a detector component that measures the <strong>energy of electromagnetic particles</strong>, such as photons and electrons. It interacts with and absorbs the energy of these particles, causing them to create electromagnetic showers. The electromagnetic shower is then detected by a sensitive medium, which convert the deposited energy into electrical signals that can be measured.</li><li>HCAL (Hadronic Calorimeter): The hadronic calorimeter is a detector component that measures the <strong>energy of hadrons</strong>, which are particles composed of quarks, such as protons, neutrons, and mesons. Unlike electromagnetic particles, which primarily interact electromagnetically, hadronic particles predominantly undergo strong interactions. The HCAL is designed to absorb the energy of hadrons and measure their total energy deposition. It interacts with the incoming hadrons, causing them to produce showers of secondary particles. The secondary particles deposit energy in the calorimeter material, which is then detected and measured.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NTN1tEZnxLXNaAvuJ55ROA.png" /><figcaption>Image representation of Track, ECAL, HCAL channels</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/633/1*ZMJZjPBj5Ts88fwaXaOkiw.png" /><figcaption>Point Cloud representation of Track (z=0), ECAL (z=1), HCAL(z=2) channels</figcaption></figure><p>Diffusion process is very memory consuming and to make the most out of the dataset memory management is required considering each jet event is of size 125 x 125 x 3 and only a single Parquet file consists of 32000 such datapoints. Which brings me to the progress I’ve made. So far, I’ve written code for Dataset classes for efficient memory usage for both image and point cloud representations performed data analysis, setup preprocessing functions and completed the forward process. By the end of this project, I plan to present simulation results from diffusion model and benchmark results for image and point cloud data representation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LahUSFVjHzAjDp-ma9v7mw.png" /><figcaption>Forward Process for Image representation</figcaption></figure><p>For the second half of GSoC, our focus will be on completing the reverse process in which we learn the noise decay and generate new samples.</p><h4><strong>Code</strong></h4><p>Code for this project and other approaches to tackle the problem of slow simulation are available here: <a href="https://github.com/ML4SCI/DeepFalcon">GitHub — ML4SCI/DeepFalcon</a></p><p>Feel free to reach out to me if I can be of any help to you, Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f35eacadf854" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>