<?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 Paulo Shakarian on Medium]]></title>
        <description><![CDATA[Stories by Paulo Shakarian on Medium]]></description>
        <link>https://medium.com/@PauloShak?source=rss-3678dd01c988------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MkkXS2EAg0RIBbCML_Z9JQ.png</url>
            <title>Stories by Paulo Shakarian on Medium</title>
            <link>https://medium.com/@PauloShak?source=rss-3678dd01c988------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 19:21:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@PauloShak/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[Will Neurosymbolic AI Change Autonomous Vehicles? It was done in GTA.]]></title>
            <link>https://medium.com/@PauloShak/will-neurosymbolic-ai-change-autonomous-vehicles-it-was-done-in-gta-26d50ca4e3f9?source=rss-3678dd01c988------2</link>
            <guid isPermaLink="false">https://medium.com/p/26d50ca4e3f9</guid>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[autonomous-cars]]></category>
            <category><![CDATA[autonomous-vehicles]]></category>
            <dc:creator><![CDATA[Paulo Shakarian]]></dc:creator>
            <pubDate>Mon, 20 Mar 2023 04:19:43 GMT</pubDate>
            <atom:updated>2023-03-20T04:19:43.581Z</atom:updated>
            <content:encoded><![CDATA[<p>A few weeks ago, a grad student named Wout Vossen in Belgium posted a video where he create a self-driving car in <a href="https://en.wikipedia.org/wiki/Grand_Theft_Auto">Grand Theft Auto (GTA)</a> using <a href="https://neurosymoblic.asu.edu/">neurosymbolic AI.</a> This video touched on two areas that I am currently working on: self-driving cars and neurosymbolic AI. I was fortunate enough to chat with Wout about his experience. To me his project illustrates some ideas about both neurosymbolic AI and self-driving vehicles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*Xs4Dva33-GKggO5e0sXEjA.png" /><figcaption>Wout’s self-driving vehcile in Grand Theft Auto</figcaption></figure><ol><li><strong>Road rule can be directly enforced during training. </strong>This is one of the main advantages to current neurosymbolic approaches — the addition of rules. In Wout’s experiment, he encoded traffic rules directly and these rules were enforced during training using. The result is the autonomous agent is more likley to adhere to the rules.</li><li><strong>Consistency management is important. </strong>Wout relied on training data gathered by driving the vehicle in simulation. He found with the particular variant of neurosymbolic AI he used (DeepProbLog) all training samples needed to adhere to the rules in order for training to proceed properly. Hence, it was very difficult to create training data — as in his experiment noisy data was not an option. This is likely due to the fact that the data causes inconsistencies with the rules. There are several other approaches (such as LNN) that allow for better handling of noisy data and tracking inconsistencies.</li><li><strong>Symbol grounding is important. </strong>One of the key aspects that I found from talking to Wout about his experiment is that defining what portions of the image mean (which in the literature is called symbol grounding) is of particular importance to getting things correct. This connection between symbols and real-world perception in his case was done via end-to-end training, as he did not have labelled data describing parts of scenes. I think that this setup — which relied on end-to-end training to infer the symbols — is part of the reason why he had to have such clean training data. If the training data did not adhere perfectly to the rules, the symbols may not have been properly defined.</li><li><strong>Neurosymbolic autonomous driving could lead to more modular and safer autonomy. </strong>One problem with standard DL techniques is the lack of assurances. If assurances can be made to individual components of a system, then they can be more properly assembled as a whole. Perhaps neurosymbolic techniques applied to various components in a self driving car can be used together to build up a complete system that can provide better overall assurances, as we could be more confident in individual components.</li><li><strong>Neurosymbolic approaches may allow for better diagnostics of autonomous driving systems.</strong> The use of rules to guide the training process may also lead to an improved ability to understand why such systems fail and can also allow us to directly program rules to avoid situations.</li><li><strong>Documentation and ease-of-use are important. </strong>Neurosymbolic AI is really new, so much of the code is not created in the most user-friendly way. Documentation is often missing or incomplete. This is something taht the neurosymbolic community needs to continue to improve upon.</li></ol><p>Anyhow, this is not meant to be a complete primer on either neurosymbolic AI or self-driving vehicles, but rather just a quick set of notes after talking to a bright grad student who did some interesting work.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FEiTDBVMcGUg%3Fstart%3D52%26feature%3Doembed%26start%3D52&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DEiTDBVMcGUg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FEiTDBVMcGUg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b201838af94600c21089741015ad830b/href">https://medium.com/media/b201838af94600c21089741015ad830b/href</a></iframe><p><strong><em>About the author. </em></strong>Paulo Shakarian, Ph.D. is a tenured Associate Professor at the Fulton Schools of Engineering at Arizona State University specializing in artificial intelligence. Earlier in his career, he was a DARPA Fellow and participated in the <a href="https://www.darpa.mil/about-us/timeline/darpa-urban-challenge">DARPA Urban Challenge</a>, considered the first major test of self-driving cars in an urban environment. He has taught numerous courses on AI, including neurosymbolic AI and earlier this year he co-organized a <a href="https://neurosymoblic.asu.edu/2023-aaai-tutorial-advances-in-neuro-symbolic-reasoning/">tutorial on neurosymbolic AI at AAAI.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=26d50ca4e3f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning logical relationships with neural networks with differentiable ILP]]></title>
            <link>https://medium.com/@PauloShak/learning-logical-relationships-with-neural-networks-with-differentiable-ilp-e509860f68b3?source=rss-3678dd01c988------2</link>
            <guid isPermaLink="false">https://medium.com/p/e509860f68b3</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[logic]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Paulo Shakarian]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 13:16:46 GMT</pubDate>
            <atom:updated>2023-03-13T13:16:46.674Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ReQXs43ZNTi1yZKiCGDR2A.png" /></figure><p>Since last week’s post on my lab’s software package <a href="https://neurosymoblic.asu.edu/pyreason/">PyReason</a>, I got a lot of questions on if it would be possible for a neural network to learn logical relationships from data. After all, ChatGPT seems to be able to generate Python code, and Meta released a NeurIPS paper to show you can learn math equations from data using a transformer-based model, so why not logic? In this article, we will one line of research in this area — differentiable ILP.</p><p>The research in this area really kicked off with a 2018 <a href="https://medium.com/jair.org/index.php/jair/article/view/11172">paper from DeepMind</a> where Richard Evans and Edward Grefenstette showed that you could adapt techniques from “inductive logic programming” to use gradient descent, and learn logical rules from data. Previous (non-neural) work on inductive logic programming was generally not designed to work with noisy data and instead fit the historical examples in a precise manner. Evans and Grefenstette utilized a neural architecture and a loss function — and they showed they could handle noisy data and even do some level of integration with CNN’s. Their neural architecture mimicked a set of candidate logical rules — and the rules assigned higher weights by gradient descent would be thought to best fit the data. However, a downside to this approach is that the neural network was <a href="https://www.youtube.com/watch?v=SOnAE0EyX8c&amp;list=PLpqh-PUKX-i7URwnkTqpAkSchJHvbxZHB&amp;index=5">quintic in the size of the input</a>. This is why they only applied their approach on very small problems — it did not see very wide adoption.</p><p>That said, in the last two years, there have been some notable follow-ons to this work. Researchers out of Kyoto University and NTT introduced a manner to learn rules that are more expressive in a different manner by allowing function symbols in the logical language (<a href="https://ojs.aaai.org/index.php/AAAI/article/view/16637/16444">Shindo et al., AAAI 2021</a>). They leverage a clause search and refinement process to limit the number of candidate rules — hence limiting the size of the neural network. A student team from ASU created a presentation on their work for our recent seminar course on neuro symbolic AI. We released a three part video series from their talk:</p><p><a href="https://www.youtube.com/watch?v=JIS78a40q8U&amp;t=270s">Part 1: Review of differentiable inductive logic programming</a></p><p><a href="https://www.youtube.com/watch?v=nzfbxlHUwuE&amp;t=345s">Part 2: Clause search and refinement In our recent video series</a></p><p><a href="https://www.youtube.com/watch?v=-fKWNtHUIN0&amp;t=27s">Part 3: Experiments</a></p><p><a href="https://labs.engineering.asu.edu/labv2/wp-content/uploads/sites/82/2022/10/Shindo_dILP.pdf">Slides</a></p><p>Some think that the ability to learn such relationships will represent a significant advancement in ML, specifically addressing shortcomings in areas such as knowledge graph completion and reasoning about scene graphs. However, the gap still remains wide, and ILP techniques, including differentiable ILP still have a ways to go.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJIS78a40q8U%3Fstart%3D270%26feature%3Doembed%26start%3D270&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJIS78a40q8U&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJIS78a40q8U%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/3dc66ad42744c154a17d4f7a02deaba5/href">https://medium.com/media/3dc66ad42744c154a17d4f7a02deaba5/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnzfbxlHUwuE%3Fstart%3D345%26feature%3Doembed%26start%3D345&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnzfbxlHUwuE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FnzfbxlHUwuE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/20c0a19a47652c948097cc074f5523ef/href">https://medium.com/media/20c0a19a47652c948097cc074f5523ef/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-fKWNtHUIN0%3Fstart%3D30%26feature%3Doembed%26start%3D30&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-fKWNtHUIN0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-fKWNtHUIN0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6e2a39569f5a1f767fe85860c85e731e/href">https://medium.com/media/6e2a39569f5a1f767fe85860c85e731e/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e509860f68b3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Study: ChatGPT has potential difficulties with inference steps for math problems]]></title>
            <link>https://medium.com/@PauloShak/study-chatgpt-has-potential-difficulties-with-inference-steps-for-math-problems-dce217965ac8?source=rss-3678dd01c988------2</link>
            <guid isPermaLink="false">https://medium.com/p/dce217965ac8</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[agi]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Paulo Shakarian]]></dc:creator>
            <pubDate>Mon, 13 Mar 2023 05:13:11 GMT</pubDate>
            <atom:updated>2023-03-13T05:14:04.479Z</atom:updated>
            <content:encoded><![CDATA[<p>We did a <a href="https://arxiv.org/abs/2302.13814">study on ChatGPT’s performance on math word problems</a> — the paper was accepted to <a href="https://www.aaai-make.info/">AAAI-MAKE</a> (and will be presented at the end of the month).</p><p>The performance also changes drastically when you restrict ChatGPT from showing its work. This variance is illustrated in the earlier figure. But perhaps more importantly, we found, under several conditions, its probability of failure increases linearly with the number of addition and subtraction operations (see below figure). This could imply that multi-step inference is a limitation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AiFCOD8S54IiamAauzzVLA.png" /></figure><p>Our paper is posted on <a href="https://arxiv.org/abs/2302.13814">Arxiv</a> and we also have the below video.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FvD-YSTLKRC8%3Fstart%3D44%26feature%3Doembed%26start%3D44&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DvD-YSTLKRC8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FvD-YSTLKRC8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0ffe190bdd6c62bcc2bc6b89e76134a5/href">https://medium.com/media/0ffe190bdd6c62bcc2bc6b89e76134a5/href</a></iframe><p>Hope to see you at AAAI-MAKE in San Francisco at the end of the month!</p><p><strong><em>About the author. </em></strong>Paulo Shakarian, Ph.D. is a tenured Associate Professor at the Fulton Schools of Engineering at Arizona State University. He specializes in artificial intelligence and machine learning — publishing numerous scientific books and papers. Shakarian was named a “KDD Rising Star,” received the Air Force Young Investigator award, received multiple “best paper” awards and has been featured in major news media outlets such as CNN and The Economist. Paulo has been funded by various organizations including IARPA (HAYSTAC, CAUSE, ICARUS), ARO (3x), ONR (5x), and AF/AFOSR (2x). Paulo also co-founded a startup company that used machine learning to predict future exploits; the company was acquired after raising $8 million in venture capital and having obtained over 80 customers. Earlier in his career, Paulo was an officer in the U.S. Army where he served two combat tours in Iraq, earning a Bronze Star and the Army Commendation Medal for Valor. During his military career, Paulo also served as a DARPA Fellow and as an advisor to IARPA. He holds a Ph.D. and M.S. in computer science from the University of Maryland, College Park, and a B.S. in computer science from West Point.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dce217965ac8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>