<?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 Vaibhav Jain on Medium]]></title>
        <description><![CDATA[Stories by Vaibhav Jain on Medium]]></description>
        <link>https://medium.com/@vabsweb?source=rss-b75a9cf66dff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*LQgdjDPvCkFU2KEM.</url>
            <title>Stories by Vaibhav Jain on Medium</title>
            <link>https://medium.com/@vabsweb?source=rss-b75a9cf66dff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 14:15:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vabsweb/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[The hidden benefit of vacations!]]></title>
            <link>https://medium.com/@vabsweb/the-hidden-benefit-of-vacations-26f009dae987?source=rss-b75a9cf66dff------2</link>
            <guid isPermaLink="false">https://medium.com/p/26f009dae987</guid>
            <dc:creator><![CDATA[Vaibhav Jain]]></dc:creator>
            <pubDate>Sat, 02 Mar 2024 15:58:41 GMT</pubDate>
            <atom:updated>2024-03-02T15:58:41.476Z</atom:updated>
            <content:encoded><![CDATA[<p>People think that vacations are to have fun, to relax, to see new places, to try new and delicious food. For some, vacations are a hobby. For others, it’s a rare event. Sometimes it’s just a weekend getaway. And sometimes, it streches into a weeks long journey. But for everyone, who has taken a vacation before, one thought always comes to mind: “After I return from this vacation, I will get some serious work done!” Well… at least for me.</p><p>Ever since I was a kid my family has travelled often. Not a lot, but often. And ever since I have gained the conscious mind, I have this thought every time I go on a trip that I will complete all the tasks I’ve been putting on for long, I will start this project I’ve been thinking of starting forever. I will do this, I will do that. It’s like going to another city magically gives me a sudden surge of motivation I desperately crave in my everyday life. Travelling gives me like I will emerge as the god of productivity on the other side of this visit to a random city. And it especially happens on the way there or travelling back, whether by bus, train, or flight. I know I’m not alone.</p><p>Today, at the start of yet another journey, while fantasising about finishing my personal pile of unfinished work, I had this moment of realisation. I noticed that people believe vacations, by virtue of new and exciting experiences, gives us the much needed break which revitalises their soul and gets them ready to get back to their hectic and demanding weekdays. But what if, it has nothing to do with the vacation? What if, it is just a side effect and the real reason is just hiding in the plain sight?</p><p>How often do you sit down and do nothing? Not that often I bet. Me neither. Not many people do. But when we travel, our means of entertainment are limited. Sure, we listen to songs, watch a movie or two, talk to the person sitting next to you. But if the ride is long, there comes a moment when it’s just you, and your thoughts alone. In my experience, it is this particular moment when people start to dream knocking their own towers of incomplete tasks. I believe it is just a side effect of being left alone with your thoughts and have a brief moment with them. In our daily lives, we do not have time to think about them. The immediate and important tasks take priority seats and all the long term projects or unpleasant tasks take the backside. We rarely have time to get to see the whole picture. And when you’re on a bus, eyes closed, tired but not sleepy, you have nothing better to do but to reflect on your life. That’s when it hits you, how many things you planned to do and how none of them ever get to cross the finish line.</p><p>Okay so maybe this wasn’t such a big realisation. Maybe everyone else knew it. But I know for a fact that almost no one sees the opportunity to take advantage of. Or maybe they do… I don’t care because that’s not the point. My point is, I will try to create this moment of self-reflection more often in my life.</p><p>Do I mean I will go on more vacations? I wish. But I have no money. However, I can always go on hiking trips for free. There are so many hiking trails near where I live and I always think about how I want to go for more hikes. But I always put them off for I need to get some work done. So what if, from now on, I go on hikes not for the joy of it but as a time I need to spend to organise my plans for the near future and to reflect which tasks need my more attention. It will give me the opportunity to do something I find joy in (hiking) while doing I should be doing to be productive in life (planning).</p><p>Well here’s the plan. Let’s see if I actually do it or if it gets lost in the myriad of planned tasks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26f009dae987" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deep Learning and the Wall]]></title>
            <link>https://medium.com/@vabsweb/deep-learning-and-the-wall-2e0e5a8ed7bb?source=rss-b75a9cf66dff------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e0e5a8ed7bb</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <category><![CDATA[knowledge-discovery]]></category>
            <dc:creator><![CDATA[Vaibhav Jain]]></dc:creator>
            <pubDate>Mon, 31 Jul 2023 11:17:14 GMT</pubDate>
            <atom:updated>2023-07-31T11:17:14.199Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Introduction</strong></h3><p>When the Alexnet (Krizhevsky, Sutskever, and Hinton 2017) was first published in 2012, the authors claimed that the network “depth” is important for achieving the results and that if trained on a deeper<br>network, the model’s performance is expected to significantly increase. 2 years later, VGGNet (Simonyan and Zisserman 2014) did exactly that and achieved 8% performance increase with the help of a much deeper network. Next year, the Inception model (Szegedy et al. 2015) again improved upon VGGNet by 2% with the help of an even deeper (and more complex) architecture, and this trend is continuing ever since. As the model’s depth is increased, deep learning models are able to learn much more complex features and give better performance and supposedly, outperforming humans at various tasks. But are they really learning better than humans? Is adding more layers and more complex architectures all there is in deep learning or maybe deep learning could benefit from<br>incorporating other means of knowledge discovery?</p><p>In this article, we discuss these overarching questions and, with the help of some examples of State-Of-The-Art (SOTA) applications, discuss if we could benefit from combining other knowledge representation methods with modern deep learning.</p><h3><strong>What is deep about deep learning?</strong></h3><p>Deep learning employs deep neural networks to automatically learn features from raw data. What makes deep learning “deep” is the use of deep neural networks, which contain many layers of interconnected nodes that are able to learn increasingly complex representations of the input data.</p><p>The key advantage of deep learning is its ability to automatically learn features from the raw data, without requiring manual feature engineering. This makes deep learning models more flexible and adaptable to new patterns in the data leading to breakthroughs in areas such as image and speech recognition, natural language processing, and even drug discovery. In fact, few fields have been more celebrated and researched than deep learning in the last decade. This raises the question, do all these applications use the same deep learning?</p><h3>Are all Deep Learning applications equally “Deep”?</h3><p>While Deep learning has been applied in various applications such as image classification, natural language processing, and game playing, not all deep learning applications are equally “deep” in terms of the level of complexity and the amount (or method) of supervision required.</p><p>For applications like image classification, architectures based on Convolutional Neural Networks (CNNs) are most widely used due to their ability to extract and form relations between spatial features of an image. AlexNet (Krizhevsky, Sutskever, and Hinton (2017)) is a prime example of this type of architecture. While CNNs had been around for almost 2 decades, AlexNet was the first model to couple it with regularization techniques like dropout and accelerated learning by using GPUs. They<br>were also the first to introduce ReLU activation as non-linearity. These innovations allowed them to significantly improve the performance of convolutional neural networks and paved the way for further advancements in deep learning.</p><p>Somewhat similar is what Stokes et al. (2020) have done in their work for discovering novel antibiotics using deep learning. They used a direct message-passing neural network that represents the information of all the atoms connected with a bond in a molecule. This allowed them to encode<br>higher-order information about the properties of a molecule in its representation. However, these are still relatively straightforward supervised learning algorithms. Most modern architectures take advantage of intelligent engineering and combine different learning approaches to reach SOTA results.</p><p>To train an agent to play the game of Go, Silver, Huang, et al. (2016) used supervised learning in combination with reinforcement learning algorithms and Monte Carlo Tree Search (MCTS). The supervised learning phase of the architecture involved training the neural networks on a large dataset of expert Go games. The reinforcement learning phase involved having the program play against itself and using the outcomes of those games to update the neural networks. The MCTS phase was used to explore the possible future moves and select the best one based on simulations. The use of Monte Carlo tree search allowed the AlphaGo program to explore and evaluate a large number of possible moves efficiently, while the deep neural networks provided guidance on which moves were<br>most likely to be good. The two methods were combined in a way that leveraged the strengths of each, resulting in a powerful approach to game playing.</p><p>In their work to generate images from textual descriptions, Ramesh et al. (2022) proposed a novel hierarchical framework that leverages the power of deep learning and advances in natural language processing. The hierarchical framework consists of two stages. In the first stage, a low-resolution image is generated based on the textual description and a high-level semantic representation of the input text (obtained from the Contrastive Language-Image Pre-training (CLIP) model). In the second<br>stage, the low-resolution image is refined into a high-resolution image using a deep convolutional neural network.</p><p>Each of these examples introduced novel techniques and showed ground-breaking results. They are certainly achieving performance no previous AI has achieved. However, do all these results point us in the right direction?</p><h3>Are all success stories equally valid?</h3><p>Despite great results, all these applications still suffer from the general limitations of Deep Learning.</p><p>One of the biggest challenges in deep learning is generalizability. Using an example as trivial as &quot;a sofa with a leopard print&quot;, Khurshudov (2015) had shown that even SOTA image classifiers at the time suffer heavily when presented with out-of-distribution samples. It is not only limited to unexpected samples; algorithms such as used in solving AlphaGo have very limited generalizability to other application tasks. One can argue that this work was purely designed to solve the game of AlphaGo but there are plenty of other examples, especially in RL, where an algorithm’s performance is questionable when the generalization of learning is required (for example, in their work on solving Atari games, Hafner et al. (2020) beat all other existing single-GPU RL algorithms. However, they didn’t show similar performance when training in continuous environment settings).</p><p>Stokes et al. (2020) have mentioned in the paper that their model may not generalize well to predict the activity of molecules that are significantly different than the ones the model is trained on. This lack of generalization is, again, problematic since gathering huge amounts of data required to train deep learning models is a difficult task, especially in biomedical applications. This over-reliance of deep learning on data and ways in which one can overcome it is discussed again in the next section.</p><p>Another huge criticism of deep learning models is their inability to understand the very nature of abstract concepts in the data. As Khurshudov (2015) argued, if an image contains two small circles placed one above the other, we recognize an eight; but when none of the digit-specific elements are present, we consider the image to be not a digit at all. This is something a supervised classifier (Krizhevsky, Sutskever, and Hinton 2017, Simonyan and Zisserman 2014, Szegedy et al. 2015) never does — instead, it tries to put the image into the closest category, even if the likeness is negligible. Another example of this is the lack of basic compositional reasoning abilities in DALL-E 2. For example, when given a prompt &quot;a red cube on top of a blue cube&quot;, it is not always necessary that the generated image has a red cube on the top. It is unable to learn to bind attributes to abstract objects and as a result, cannot grasp the meaning of ’top’ in a physical/spatial sense.</p><p>Not all DL challenges are technical in nature. There are many important ethical factors that restrict the use of deep learning in practical applications. Since deep learning-based models fundamentally rely purely on data to &quot;learn&quot; the patterns, we have limited control over what the model learns from data. This often results in undesirable behavior exhibited by the model. Biases and stereotypes in image generation are very common examples. DALL-E 2, when asked to generate an image of a &quot;flight attendant&quot; leads to images of women. A &quot;builder&quot; as a caption leads to images of men. Such biases are obviously not acceptable in any useful applications of such models and require extensive fine-tuning to control such behavior. Image-generation models can also be used to spread disinformation.</p><p>Deep learning also suffers in other ways due to its black-box nature than just undesired output. One criticism (which in my personal opinion should get more light) is that a lot of successful results in deep learning are based on experimental findings without solid theory to support them. For example, during the exploration phase with MCTS in AlphaGo model, Silver, Huang, et al. (2016) used the SL (Supervised Learning) policy network to calculate the priors rather than using the RL (Reinforcement<br>Learning) policy network. In theory, the RL network is expected to give better estimates of the priors, however, during experiments authors found that the SL network gives better performance results. They reasoned that it is presumably because humans select a diverse beam of promising moves whereas RL optimizes for a single best move. This fashion of experimental optimization of performance is common in deep learning, however, it raises the question of the explainability of deep learning.</p><h3>Can deep learning and knowledge discovery go together?</h3><p>Deep learning is astonishing at learning to recognize patterns. And it does so at such inhumane levels that enable it to find new drugs, generate realistic images, or beat humans at board games. However, at its core, it only gives us estimates of these patterns. This is acceptable where all we need is rough estimates. But when the stakes are high and the margins for error are low, it will just not be sufficient.</p><p>Deep learning is especially bad when it comes to understanding the complexities of the real world. DALL-E 2 often generates images that are incoherent or unnatural. GPT-3 is prone to producing toxic language and promulgating misinformation. As Bender et al. (2021) have put it, deep-learning-powered large language models are like &quot;stochastic parrots,&quot; repeating a lot, understanding little.</p><p>Many researchers have raised their voices against the current approach to solving this problem in deep learning, which is: Big data. In recent years, the focal point of current research in AI is to gather more data and train bigger models. However as Marcus (2022) and many others have argued time and time again, large data is not going to solve the innate challenges of deep learning, some of which were discussed in the previous section. Moreover, it also invites other problems like the security and privacy of AI models with big data. Training deep learning models on large datasets increases their risk of overfitting which, in turn, compromises the defense of such models against Adversarial Attacks and such (for example: Membership Inference Attacks (Shokri et al. 2017)).</p><p>Another solution, which seemingly eliminates the fundamental limitations of deep learning, is through Symbolic Learning. Symbolic learning puts forward the idea of using symbols to represent entities that form relations with each other to approximate a pattern or function. These relations can either be learned from data or given as a prior through expert knowledge or sometimes, both.</p><p>Symbolic learning offers many advantages over end-to-end deep learning. It is naturally better at representing long-horizon, procedural tasks that are difficult to perform using deep networks. Symbolic representations are also, commonly, easier to interpret and formally verify than neural networks, which is in the spirit of the idea of Explainable AI. It is also easier to put restrictions on symbolic representations that serve as a form of regularization and lead to more generalizable and data-efficient learning (Chaudhuri et al. 2021).</p><p>Unfortunately, symbolic learning is not a one-stop solution free from all problems we were looking for. Perhaps, the most immediate challenge in symbolic programming is Specification issues. It assumes that one can symbolically specify known facts about the world. However, such specifications can be hard to formulate and in most cases, nontrivial. In addition, transferring such formulations from one application to another that is significantly different in nature is a challenging task. Symbolic learning also suffers from Scalability. Symbolic program architectures that can be automatically discovered through search tend to be small. In contrast, end-to-end deep learning now scales to models with hundreds of billions of parameters.</p><p>It is now important that we look beyond the argument of deep learning or symbolic learning or other methods, and start focusing on the amalgam between them. All these approaches have their advantages and weakness and can be benefited from each other. Many recent publications have realized this and put into action such &quot;hybrid models&quot; to achieve SOTA results.</p><p>Due to its close nature of interaction with the environment, Reinforcement Learning is benefitting from (neuro)symbolic learning the most. Take AlphaGo Zero (Silver, Schrittwieser, et al. 2017), which is an evolution of the AlphaGo model, for an example. AlphaGo Zero uses a similar combination of deep learning and Monte Carlo tree search to play the game of Go at a high level. However, unlike AlphaGo, AlphaGo Zero does not use human expert representations to initialize its neural network.</p><p>Instead, it learns to represent the game’s rules and dynamics through self-play, using a symbolic representation of the game board and game state. Other recent works have also shown that they have successfully improved the generalizability of existing RL algorithms by incorporating inductive biases and knowledge representation via Symbolic Learning (Jiang et al. 2021, León, Shanahan, and Belardinelli 2021, Guan, Sreedharan, and Kambhampati 2022).</p><p>To complete the discussion, we come back to the solution of big data. There is a reason that many prominent researchers and big corporations (like OpenAI) advocate for it. They have termed a scaling law for the phenomenon in neural network models, that is, the more data they fed into their neural networks, the better those networks performed. Marcus (2022) has passionately opposed this idea in his article - questioning the legitimacy and universality of this argument. However, recent theories behind the use of overparameterized models (Allen-Zhu, Li, and Song 2019) and large data have given way to successful applications like ChatGPT, etc.</p><h3>Conclusion</h3><p>Deep learning has, no doubt, achieved resounding success in multitudes of applications. Most of its success is credited to the recent availability of huge amounts of data and computational resources. However, we are slowly reaching the limitations of using end-to-end deep learning models and cannot rely on just data anymore to reach explainable, secure AI.</p><p>In this article, we have reviewed some of the state-of-the-art, breakthrough deep learning algorithms over the years and see how similar (or different) their deep learning is. We analyzed their strengths and considered where they fail to perform. We also argued in favor of research towards other means of representing and incorporating world knowledge, especially putting forward the case of Symbolic Learning. We considered applications where such models could benefit traditional deep learning, and provide recent research works that use the same hybrid learning to improve upon the previous SOTA models.</p><p>However, it is still not evident in what direction the future of current AI is. The truth is that at present, outstanding engineering work fueled with enormous amounts of data and computation (ChatGPT, DALL-E 2) is massively outperforming any other form of AI.</p><h3>References</h3><p>Simonyan, Karen and Andrew Zisserman (2014). “Very deep convolutional networks for large-scale image recognition”. In: arXiv preprint arXiv:1409.1556.</p><p>Khurshudov, Artem (2015). Suddenly, a leopard print sofa appears.<br>Szegedy, Christian et al. (2015). “Going deeper with convolutions”. In: Proceedings of the IEEE conference on computer vision and pattern recognition, pp. 1–9.</p><p>Silver, David, Aja Huang, et al. (2016). “Mastering the game of Go with deep neural networks and tree search”. In: nature 529.7587, pp. 484–489.<br>Krizhevsky, Alex, Ilya Sutskever, and Geoffrey E Hinton (2017). “Imagenet classification with deep convolutional neural networks”. In: Communications of the ACM 60.6, pp. 84–90.</p><p>Shokri, Reza et al. (2017). “Membership inference attacks against machine learning models”. In: 2017 IEEE symposium on security and privacy (SP). IEEE, pp. 3–18.</p><p>Silver, David, Julian Schrittwieser, et al. (2017). “Mastering the game of go without human knowledge”. In: nature 550.7676, pp. 354–359.</p><p>Allen-Zhu, Zeyuan, Yuanzhi Li, and Zhao Song (2019). “A convergence theory for deep learning via over-parameterization”. In: International Conference on Machine Learning. PMLR, pp. 242–252.</p><p>Hafner, Danijar et al. (2020). “Mastering atari with discrete world models”. In: arXiv preprint arXiv:2010.02193.</p><p>Stokes, Jonathan M et al. (2020). “A deep learning approach to antibiotic discovery”. In: Cell 180.4, pp. 688–702.</p><p>Bender, Emily M et al. (2021). “On the Dangers of Stochastic Parrots: Can Language Models Be Too Big?” In: Proceedings of the 2021 ACM conference on fairness, accountability, and transparency, pp. 610–623.</p><p>Chaudhuri, Swarat et al. (2021). “Neurosymbolic programming”. In: Foundations and Trends® in Programming Languages 7.3, pp. 158–243.<br>Jiang, Zhengyao et al. (2021). “Grid-to-graph: flexible spatial relational inductive biases for reinforcement learning”. In: arXiv preprint arXiv:2102.04220.</p><p>León, Borja G, Murray Shanahan, and Francesco Belardinelli (2021). “In a nutshell, the human asked for this: Latent goals for following temporal specifications”. In: arXiv preprint arXiv:2110.09461.</p><p>Guan, Lin, Sarath Sreedharan, and Subbarao Kambhampati (2022). “Leveraging approximate symbolic models for reinforcement learning via skill diversity”. In: International Conference on Machine Learning. PMLR, pp. 7949–7967.</p><p>Marcus, Gary (2022). “Deep learning is hitting a wall”. In: Nautilus, Accessed, pp. 03–11.</p><p>Ramesh, Aditya et al. (2022). “Hierarchical text-conditional image generation with clip latents”. In: arXiv preprint arXiv:2204.06125.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e0e5a8ed7bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>