<?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 Uri Yerushalmi on Medium]]></title>
        <description><![CDATA[Stories by Uri Yerushalmi on Medium]]></description>
        <link>https://medium.com/@uriy?source=rss-6a544bb50d15------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dcqy2tX7K4smA5CG7Iaf1g.jpeg</url>
            <title>Stories by Uri Yerushalmi on Medium</title>
            <link>https://medium.com/@uriy?source=rss-6a544bb50d15------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 18:14:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@uriy/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[Dopamine.ai partners with LangNet to accelerate innovation in voice technologies]]></title>
            <link>https://medium.com/dopamine-ai/dopamine-ai-partners-with-langnet-to-accelerate-innovation-in-voice-technologies-dcd326af2e86?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/dcd326af2e86</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Tue, 21 Aug 2018 12:17:38 GMT</pubDate>
            <atom:updated>2018-08-21T12:17:38.445Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3q7Ei-_BB6X7WzTMcHZk9A.png" /></figure><p>We are pleased to announce that we have partnered with <a href="https://langnet.io/">LangNet</a>, the decentralized ecosystem for language-based applications and technologies.</p><p>Dopamine and LangNet share the same vision with respect to the importance of decentralized data ownership and untapped monetization opportunities for data providers.</p><p>While Dopamine builds a Decentralized Collaborative Processing Networks (DCPN) in which data and AI providers are incentivized to supply various services that consumers can easily pipeline for their own specific needs, LangNet harnesses the power of the crowd to aggregate a rich and vast voice data repository to accelerates innovation in Language AI, put users in control of their data and share value equitably across the ecosystem.</p><p>Currently, most data and AI intellectual property (IP) is owned by firms with deep pockets, leaving smaller enterprises with highly expensive end to end services; as a result, independent developers or firms with comparatively small IPs struggle to keep and monetize their IP.</p><p>Dopamine uses blockchain technology to develop a network of rewards and interactions that protects IPs, incentivizes collaboration among parties, allows flexible transfer of knowledge among different players and synergizes various data and AI players .</p><p>At the same time, LangNet enable anyone around the globe to contribute language data in exchange for tokens. Collected data include voice recordings of users reading a sentence to train speech-to-text systems and personal commands for a voice assistant. Data is owned by the contributor and can be licensed out to developers for tokens.</p><p>Data ownership and usage are tracked on chain. An inflation model pays out data contributors and service providers — data hosts, data validators and data curators — on a regular basis. Data consumers lock or burn tokens to access resources.</p><p>Through this partnership, LangNet will integrate with Dopamine’s platform as a voice data provider. Developers and enterprises on Dopamine’s platform will be able to access LangNet’s growing repository of language resources and run campaigns to rapidly crowdsource the voice datasets and the models they need in order to build new applications in different languages and for new uses cases. Consumer developers and enterprises on Dopamine’s platform can easily and affordably secure necessary voice data to train their speech models. Providers on the Dopamine network will enjoy new monetization possibilities that would arise from new possibilities to pipeline voice data, and LangNet users can explore new demand and gain access to broader markets to earn from licensing their voice data.</p><p><strong>About Dopamine.ai</strong></p><p>Dopamine.ai is a blockchain data and AI platform and marketplace. Its network enables a massive number of data and AI providers to collaborate while getting rewarded and enabling construction of faster and more accurate decentralized AI solutions. Dopamine.ai disrupts the current oligopolistic data &amp; AI ecosystem, where an entity needs to put massive amounts of resources to control the whole pipeline of data and AI solution construction. For more information about Dopamine.ai, visit <a href="http://www.dopamine.ai/">www.dopamine.ai</a></p><p><strong>About LangNet (The Language Network)</strong></p><p>LangNet is a decentralized, open ecosystem for language technologies that support voice assistants, smart speakers, chatbots and conversational agents. We enable users to contribute language data in exchange for tokens, and developers can run campaigns to rapidly crowdsource the data and models they need to build new applications in different languages and for new uses cases. Blockchain and our utility token enable us to track contributions and share value equitably and in a decentralized way across the ecosystem. More information is available on our <a href="https://langnet.io/">website</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuLqpIuWH962Zs8HGtskoA.jpeg" /><figcaption>www.dopamine.ai</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dcd326af2e86" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dopamine-ai/dopamine-ai-partners-with-langnet-to-accelerate-innovation-in-voice-technologies-dcd326af2e86">Dopamine.ai partners with LangNet to accelerate innovation in voice technologies</a> was originally published in <a href="https://medium.com/dopamine-ai">Dopamine.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dopamine.ai Selected for the Oracle Scaleup Ecosystem Program]]></title>
            <link>https://medium.com/dopamine-ai/dopamine-ai-selected-for-the-oracle-scaleup-ecosystem-program-b35f7e15bc58?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/b35f7e15bc58</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[oracle]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Wed, 27 Jun 2018 12:10:17 GMT</pubDate>
            <atom:updated>2018-06-27T12:10:17.185Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CDXGgbQcHRjg9ekUb6-rgQ.png" /></figure><p><a href="https://dopamine.ai/">Dopamine.ai</a>, a pioneering Artificial Intelligence platform built on blockchain technologies, announced today that it has joined the<a href="https://www.oracle.com/startup/scaleup.html"> Oracle Scaleup Ecosystem</a> program after being selected to participate. Over the coming months, Dopamine.ai will work with Oracle Scaleup to access its global customer base, cloud-based resources, and expertise, as the company moves into its next phase of growth.</p><p>The Dopamine platform is a data and AI marketplace based on network effect principles; where the network value grows as a function of its active user base. Therefore, engagement opportunities with Oracle’s 430,000 customers is an unparalleled opportunity for Dopamine.</p><blockquote>“More and more companies realize the huge potential presented in Dopamine’s AI collaboration model. The feedback we get from the market tells us that Dopamine’s approach for decentralized AI and data collaboration is a game-changer for data and AI-related businesses. We will use the opportunity to partner with numerous companies through Oracle Scaleup, enabling them to monetize their data &amp; AI models through participation in Dopamine’s decentralized solutions. Additionally, we expect to dramatically lower their time to market and minimize costs while increasing product quality, by utilizing Dopamine’s innovative collaborative solutions and incentive structures,” said Dr. Uri Yerushalmi, CEO and Founder of Dopamine.ai.</blockquote><p>Oracle’s global startup mission is to provide enriching, collaborative partnerships to enable next-generation growth and drive cloud-based innovation for startups throughout all stages of their journey. To that end, Oracle offers residential and nonresidential startup programs that power cloud-based technology innovation and enable co-creation and co-innovation.</p><p>Oracle Scaleup Ecosystem is the nonresidential, virtual-style program designed for mature startups and venture capital and private equity portfolio companies to enable hypergrowth and scale. The program allows Oracle to reach more startups regardless of geographic location.</p><p>Oracle’s Scaleup Ecosystem program offers mentoring, R&amp;D support, marketing/sales enablement, migration assistance, cloud credits and discounts, and access to Oracle’s customer and product ecosystems.</p><blockquote>“Oracle Scaleup allows us to work with disruptive global platforms, like Dopamine.ai, to realize synergies that underlie large data-driven ecosystems,” said Reggie Bradford, Oracle senior vice president, Startup Ecosystem, and Accelerator.</blockquote><p><strong>About Dopamine.ai</strong></p><p>Dopamine.ai is a blockchain data and AI platform and marketplace. Its network enables a massive number of data and AI providers to collaborate while getting rewarded and enabling construction of faster and more accurate decentralized AI solutions. Dopamine.ai disrupts the current oligopolistic data &amp; AI ecosystem, where an entity needs to put massive amounts of resources to control the whole pipeline of data and AI solution construction. For more information about Dopamine.ai, visit <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dopamine.ai&amp;d=DwMFaQ&amp;c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&amp;r=mANeziDgdwduYoKcDUE5zZynpYRccMC8UK8KgVD-1rM&amp;m=jqrtJT3-dzM34nOwhq03XJmFj7VvCCP0bOZo93rNNQc&amp;s=PTj23jzbWZyMKXu1pTP0JHTkPqUIXKYYECqARaDTZfc&amp;e=">www.dopamine.ai</a></p><p><strong>About Oracle</strong></p><p>The Oracle Cloud offers complete SaaS application suites for ERP, HCM and CX, plus best-in-class database Platform as a Service (PaaS) and Infrastructure as a Service (IaaS) from data centers throughout the Americas, Europe and Asia. For more information about Oracle (NYSE:ORCL), please visit us at<a href="https://www.oracle.com/index.html"> oracle.com</a>.</p><p><strong>Trademarks</strong></p><p>Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b35f7e15bc58" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dopamine-ai/dopamine-ai-selected-for-the-oracle-scaleup-ecosystem-program-b35f7e15bc58">Dopamine.ai Selected for the Oracle Scaleup Ecosystem Program</a> was originally published in <a href="https://medium.com/dopamine-ai">Dopamine.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decentralized Hybrid Neural Networks]]></title>
            <link>https://medium.com/@uriy/decentralized-hybrid-neural-networks-85241e515a2?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/85241e515a2</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[decentralization]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Wed, 11 Apr 2018 06:52:28 GMT</pubDate>
            <atom:updated>2018-06-12T19:43:29.570Z</atom:updated>
            <content:encoded><![CDATA[<h4>Separated Entities “Thinking Together”</h4><p>By <a href="https://twitter.com/Uriyeru">Uri Yerushalmi</a></p><p>uriy@dopamine.ai</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Xr1mz-gfEWPBO_14zdHxPA.png" /></figure><p>When I was a young programmer, I was sometimes asked what I did for a living when I wasn’t quite in the mood to have a lengthy discussion about software development. In such cases, I could usually get away with saying one word: “computers.” Back then, no one asked whether I was a software or hardware engineer, not to mention front-end or server-side, data scientist or QA, IT or RT: we were all simply “computing-related.” But today, if I were to forget what age we now live in and try to get away with using the same approach — I’d come off as being rude or dismissive. By analyzing the evolution of computing related workforce, we can extrapolate the future of software market structures.</p><p>In the lines below, we present code samples relating to the way future software market might look, focusing on AI-oriented software, and how new decentralized platforms are expected to help it flourish.</p><h3>From Viruses to Mammals</h3><p>The situation I described above fits the statement below:</p><p><em>In growing technical fields, tomorrow’s jobs will require a much more specialized skill set than that of today’s professions.</em></p><p>Now, it would be reasonable to say that many of human professions are expected to be replaced by AI modules, or AI-related knowledge. And given that AI is a growing field, we can also say that:</p><p><em>Tomorrow’s AI modules are expected to be much more granular than today’s.</em></p><p>A different view getting to a similar conclusion would be in the following puzzle. By which defining characteristic are the following organism types ordered: Virus, Bacteria, Fungus, Nematode, Insect, Mammal?</p><p>Most of you would probably say “by the level of sophistication,” while others would say “by genome size.” The truth is that both answers are correct. Usually, as solutions to problems get more advanced, they become more complicated and harder to determine. We see the same thing with advances in the AI landscape in recent years: architectures get more profound and more complicated. And we expect to see this tendency continue. So, again:</p><p><em>Tomorrow’s AI modules are expected to be much more granular and specialized than today’s.</em></p><h3>Eyes of the Hawk, Ears of the Wolf, Strength of a Bear and Speed of a Puma</h3><p>So if each one of the above AI modules specializes in its own domain, in a decentralized economy, we would expect a different entity to own each module. Each entity would then continuously optimize and evolve these modules. Most of the engineers among you would argue that combining modules that were not built together (e.g., with the eyes of a hawk and the ears of a wolf) would create a paralyzed monster, which is true in regular systems. But in some types of AI, like Neural Networks, the plasticity of such systems makes it much easier to glue together less-related modules. This capability would be impossible in older, stricter software systems.</p><p>Let’s take as a simplified example the following case: consumer A wishes to have an image classifier for digits (to all data scientists out there, my apologies. I know this classification can be done in a few lines of code, so this is only an example) and let’s assume there are three relevant AI modules out there in the ecosystem that were used in other projects:</p><ul><li>A Retina module — specializing in efficiently extracting low-level features from images, owned by Entity “R.”</li><li>A Visual Cortex module — specializing in efficiently extracting high-level features from low-level modules, owned by Entity “V.”</li><li>A Classifier module — specializing in providing good estimates about which class each sample belongs to, owned by Entity “C.”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/1*wdaWMhaMA_S3XSS48HRrMQ.png" /></figure><p>Each one of the above modules is assumed to be developed, optimized, and maintained by its owning entity, as represented below:</p><p>Through the platform network, the owning entities allow their modules to be instantiated, without revealing their internals, and trained for specific cases, in exchange for rewards. For example, entity C’s module could be used for other classification tasks, not only visual (like a voice mood detector):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/453/1*SiXynQJx7pZt_fE6VokrZQ.png" /></figure><p>The other modules are equally flexible. For example, the “Retina” module could have been used in the same way as the module C, to process images in various image classification tasks (like face recognition), and the”visual cortex” module could have been used in other tasks that would require high-level feature processing, like object detection (of road signs):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*JWVTYof0P9-OQX4GIg1Lxw.png" /></figure><p>Again, my apologies to our neurophysiologist readers, the above names are only for clarifying the specialty of each module.</p><p>Below we illustrate how, client “A” can create a “hybrid being” that uses a retina of “R,” the visual cortex of “V” and the classifier of “C”, and puts that new hybrid being to a specialized task.</p><h3>Coding the Hybrid</h3><p>In our Github, you can find <a href="https://github.com/DopamineAI/bootcamp/tree/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide">the code for each one of the entities above</a>. The code is quite simple, and mainly describes the rules and rewards every such provider expects in exchange for using its module. However, if you have not read our <a href="https://medium.com/dopamine-ai">previous examples</a>, like the <a href="https://medium.com/dopamine-ai/dopamines-hello-world-e18a92fd1483">hello-world example</a>, we recommend starting there. Note that the vision is that each one of these modules would have a certain level of complexity and pre-optimization, which is not applied in our example.</p><p>The code includes a simplified program for entities <a href="https://github.com/DopamineAI/bootcamp/blob/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide/retina.ipynb">R</a>, <a href="https://github.com/DopamineAI/bootcamp/blob/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide/visualcortex.ipynb">V</a> and <a href="https://github.com/DopamineAI/bootcamp/blob/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide/classifier.ipynb">C</a>. The interesting part of this code is that the client entity A, can create a similar structure to the one below and instantiate and train a decentralized entity (blue in diagram below), all while rewarding the relevant participants via a smart contract:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*Xr1mz-gfEWPBO_14zdHxPA.png" /></figure><p>Surprisingly, the <a href="https://github.com/DopamineAI/bootcamp/blob/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide/client.ipynb">client side code</a> is much simpler than we initially expected; the consumer only needs to tell the program that she expects the data to flow in a pipeline created by these three entities, and state the reward she is willing to pay for that pipeline. Under the hood, the platform network takes care of:</p><ul><li>Reward negotiations</li><li>Pipeline creation</li><li>Matching validations</li><li>Efficient data flow</li><li>Reward book-keeping</li><li>And more…</li></ul><p>We demonstrate that the “hybrid being” created by the client is able to learn:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/0*u8C8ufsXjySwsQmC." /></figure><p>The new hybrid being is actually a decentralized neural network, which lives on the platform network and rewards all of its creators according to pre-agreed smart contracts. For example, whenever entity “B” (red below) asks to use this new being for classifications, it would need to reward all relevant entities, including entity A, according to the predefined smart contract:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/649/1*cRC0irhwy1GCcva3ACiK-g.png" /></figure><h3>Regulating the Hybrid</h3><p>Some of you might argue that the ability to develop AI with no single point of control is too risky. My argument is that such a structure is the most regulable possible. In this type of AI structure, no central authority has all the knowledge to build risky AI based solutions. The AI is global, and it is quite easy to sanction bad players. This new AI represents a marketplace where you need the cooperation of many players to achieve advanced results. For example, if a large number of players agree to obey a certain AI treaty, players excluded from that treaty would find it very difficult to develop any solution without joining the treaty.</p><h3>Conclusion</h3><p>The above example shows real code for the creation of a decentralized AI (the blue in the above diagram). This AI is decentralized in the sense that no one controls it, it can be built with no single point of failure, and that many players contributed to its creation and optimization. We see the potential of such structures not only for the sake of decentralization, but as a means for democratizing AI and data, efficiently developing new AI solutions, and having better control over AI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85241e515a2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Decentralized Hybrid Neural Networks]]></title>
            <link>https://medium.com/dopamine-ai/decentralized-hybrid-neural-networks-b62a33a00b40?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/b62a33a00b40</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[decentralization]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Thu, 29 Mar 2018 21:06:50 GMT</pubDate>
            <atom:updated>2018-06-29T05:45:53.759Z</atom:updated>
            <content:encoded><![CDATA[<h4>“Thinking Together” using Dopamine.ai</h4><p>By <a href="https://twitter.com/Uriyeru">Uri Yerushalmi</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r8plyrJ6VyfTEZTwCxhofw.jpeg" /></figure><p>When I was a young programmer, I was sometimes asked what I did for a living when I wasn’t quite in the mood to have a lengthy discussion about software development. In such cases, I could usually get away with saying one word: “computers.” Back then, no one asked whether I was a software or hardware engineer, not to mention front-end or server-side, data scientist or QA, IT or RT: we were all simply “computing-related.” But today, if I were to forget what age we now live in and try to get away with using the same approach — I’d come off as being rude or dismissive. By analyzing the evolution of computing related workforce, we can extrapolate the future of software market structures.</p><p>In the lines below, we show how the future software market might look, focusing on AI-oriented software, and how new decentralized platforms, like Dopamine.ai, will help it flourish.</p><h3>From Viruses to Mammals</h3><p>The situation I described above fits the statement below:</p><p><em>In growing technical fields, tomorrow’s jobs will require a much more specialized skill set than that of today’s professions.</em></p><p>Now, it would be reasonable to say that many of human professions are expected to be replaced by AI modules, or AI-related knowledge. And given that AI is a growing field, we can also say that:</p><p><em>Tomorrow’s AI modules are expected to be much more granular than today’s.</em></p><p>A different view getting to a similar conclusion would be in the following puzzle. By which defining characteristic are the following organism types ordered: Virus, Bacteria, Fungus, Nematode, Insect, Mammal?</p><p>Most of you would probably say “by the level of sophistication,” while others would say “by genome size.” The truth is that both answers are correct. Usually, as solutions to problems get more advanced, they become more complicated and harder to determine. We see the same thing with advances in the AI landscape in recent years: architectures get more profound and more complicated. And we expect to see this tendency continue. So, again:</p><p><em>Tomorrow’s AI modules are expected to be much more granular and specialized than today’s.</em></p><h3>Eyes of the Hawk, Ears of the Wolf, Strength of a Bear and Speed of a Puma</h3><p>So if each one of the above AI modules specializes in its own domain, in a decentralized economy, we would expect a different entity to own each module. Each entity would then continuously optimize and evolve these modules. Most of the engineers among you would argue that combining modules that were not built together (e.g., with the eyes of a hawk and the ears of a wolf) would create a paralyzed monster, which is true in regular systems. But in some types of AI, like Neural Networks, the plasticity of such systems makes it much easier to glue together less-related modules. This capability would be impossible in older, stricter software systems.</p><p>Let’s take as a simplified example the following case: consumer A wishes to have an image classifier for digits (to all data scientists out there, my apologies. I know this classification can be done in a few lines of code, so this is only an example) and let’s assume there are three relevant AI modules out there in the ecosystem that were used in other projects:</p><ul><li>A Retina module — specializing in efficiently extracting low-level features from images, owned by Entity “R.”</li><li>A Visual Cortex module — specializing in efficiently extracting high-level features from low-level modules, owned by Entity “V.”</li><li>A Classifier module — specializing in providing good estimates about which class each sample belongs to, owned by Entity “C.”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/0*ByRxsW6KpGeyIP45." /></figure><p>Each one of the above modules is assumed to be developed, optimized, and maintained by its owning entity, as represented below:</p><p>Through the Dopamine network, the owning entities allow their modules to be instantiated, without revealing their internals, and trained for specific cases, in exchange for rewards. For example, entity C’s module could be used for other classification tasks, not only visual (like a voice mood detector):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/0*3V5dJhUocXQtp_-v." /></figure><p>The other modules are equally flexible. For example, the “Retina” module could have been used in the same way as the module C, to process images in various image classification tasks (like face recognition), and the”visual cortex” module could have been used in other tasks that would require high-level feature processing, like object detection (of road signs):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*62iCARFDBFL9z9fj." /></figure><p>Again, my apologies to our neurophysiologist readers, the above names are only for clarifying the specialty of each module.</p><p>Below we illustrate how, using Dopamine, client “A” can create a “hybrid being” that uses a retina of “R,” the visual cortex of “V” and the classifier of “C”, and puts that new hybrid being to a specialized task.</p><h3>Coding the Hybrid</h3><p>In our Github, you can find <a href="https://github.com/DopamineAI/bootcamp/tree/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide">the code for each one of the entities above</a>. The code is quite simple, and mainly describes the rules and rewards every such provider expects in exchange for using its module. However, if you have not read our <a href="https://medium.com/dopamine-ai">previous examples</a>, like the <a href="https://medium.com/dopamine-ai/dopamines-hello-world-e18a92fd1483">hello-world example</a>, we recommend starting there. Note that the vision is that each one of these modules would have a certain level of complexity and pre-optimization, which is not applied in our example.</p><p>The code includes a simplified program for entities <a href="https://github.com/DopamineAI/bootcamp/blob/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide/retina.ipynb">R</a>, <a href="https://github.com/DopamineAI/bootcamp/blob/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide/visualcortex.ipynb">V</a> and <a href="https://github.com/DopamineAI/bootcamp/blob/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide/classifier.ipynb">C</a>. The interesting part of this code is that the client entity A, can create a similar structure to the one below and instantiate and train a decentralized entity (blue in diagram below), all while rewarding the relevant participants via a smart contract:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Zc7gq6_S3pEiAHcu." /></figure><p>Surprisingly, the <a href="https://github.com/DopamineAI/bootcamp/blob/master/05.%20Multi%20Entity%20AI%20Trainable%20Servide/client.ipynb">client side code</a> is much simpler than we initially expected; the consumer only needs to tell the program that she expects the data to flow in a pipeline created by these three entities, and state the reward she is willing to pay for that pipeline. Under the hood, the Dopamine network takes care of:</p><ul><li>Reward negotiations</li><li>Pipeline creation</li><li>Matching validations</li><li>Efficient data flow</li><li>Reward book-keeping</li><li>And more…</li></ul><p>We demonstrate that the “hybrid being” created by the client is able to learn:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/0*u8C8ufsXjySwsQmC." /></figure><p>The new hybrid being is actually a decentralized neural network, which lives on the Dopamine network and rewards all of its creators according to pre-agreed smart contracts. For example, whenever entity “B” (red below) asks to use this new being for classifications, it would need to reward all relevant entities, including entity A, according to the predefined smart contract:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ixZNOyAG5iHKD_2P." /></figure><h3>Regulating the Hybrid</h3><p>Some of you might argue that the ability to develop AI with no single point of control is too risky. My argument is that such a structure is the most regulable possible. In this type of AI structure, no central authority has all the knowledge to build risky AI based solutions. The AI is global, and it is quite easy to sanction bad players. This new AI represents a marketplace where you need the cooperation of many players to achieve advanced results. For example, if a large number of players agree to obey a certain AI treaty, players excluded from that treaty would find it very difficult to develop any solution without joining the treaty.</p><h3>Conclusion</h3><p>The above example shows real code for the creation of a decentralized AI (the blue in the above diagram). This AI is decentralized in the sense that no one controls it, it can be built with no single point of failure, and that many players contributed to its creation and optimization. We see the potential of such structures not only for the sake of decentralization, but as a means for democratizing AI and data, efficiently developing new AI solutions, and having better control over AI. For more updates regarding Dopamine network, please subscribe <a href="https://dopamine.ai/">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuLqpIuWH962Zs8HGtskoA.jpeg" /><figcaption>www.dopamine.ai</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b62a33a00b40" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dopamine-ai/decentralized-hybrid-neural-networks-b62a33a00b40">Decentralized Hybrid Neural Networks</a> was originally published in <a href="https://medium.com/dopamine-ai">Dopamine.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transfer Learning via Blockchain]]></title>
            <link>https://medium.com/dopamine-ai/transfer-learning-via-blockchain-4d9598a3fb50?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d9598a3fb50</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ico]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Thu, 01 Feb 2018 11:48:09 GMT</pubDate>
            <atom:updated>2018-06-18T09:23:50.832Z</atom:updated>
            <content:encoded><![CDATA[<h4>Code Samples Using the Dopamine Protocol</h4><p>By <a href="https://twitter.com/Uriyeru">Uri Yerushalmi</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QP2LkSVhGvRCLAqYidLRhQ.jpeg" /></figure><p>We all understand the importance of learning from the experiences of others. In our lives, we encounter many people that we trust and have been down the same road we are traveling. Although their path may not be the exact same as ours, many people have encountered and solved problems similar to the ones we might be facing. By using others’ experiences as a starting point, we accelerate our own progress. But can the same approach be applied to <strong>machine </strong>learning (ML)?</p><p>Below, we will show a simplified implementation based on the Dopamine network that applies similar concepts in ML.</p><h3>Transfer Learning</h3><p>In machine learning, the term “transfer learning” is used for a similar approach as the one presented above, where knowledge that was gained solving one problem is applied to a different problem. Not long ago, transfer learning was believed to be “the next driver of machine learning success” (Andrew Ng, NIPS 2016). I am not sure that transfer learning has delivered yet on that promise, at least on the commercial level.</p><p>One cause could be that unlike in humans, where there is an old and established social structure where we “transfer” learning to our friends, relatives and customers, in ML such a social structure is relatively new. Because this structure is still developing, there is a lack of trust among the different entities. The inevitable outcome is a structural market barrier, where most “transfer learning” cases are within the same research group or entity.</p><h3>Google’s Cloud AutoML</h3><p>However, the industry shows signs of a demand to break that transfer learning structural market barrier. Google recently released an alpha version of “<a href="https://www.blog.google/topics/google-cloud/cloud-automl-making-ai-accessible-every-business/">Cloud AutoML</a>”, starting with “AutoML Vision”, which is a transfer learning-based machine learning service that allows consumers to train custom vision models for their own use cases. The basic idea behind this technology is that Google provides a pretrained image classification model, allowing the consumer to upload their own images to train and evaluate a new model that is focused on their own classification needs.</p><p>The Dopamine protocol enables a similar transfer in a decentralized way, where small suppliers can also provide such services.</p><h3>Our Example</h3><p>In our example below (<a href="https://github.com/DopamineAI/bootcamp/tree/master/04.%20Decentralized%20AutoML%20Service">code available on github</a>), we show a “producer” that plugs a pre-trained service onto the Dopamine network. This service was trained on about 36,000 images of digit characters 1–6 (from the MNIST library). The service allows consumers to instantiate their own copy of the model, train, and evaluate it on their own data. A consumer that has only 42 samples of digits from classes that were unknown to the producer (7,8,9,0) uses this service to establish its own classification model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/929/0*RkTf2c98BE6622I7." /></figure><p>The Dopamine layer takes care of matching both sides and passing rewards (more clear samples are available in our <a href="https://medium.com/dopamine-ai">previous publications</a>). We also show a comparison of two consumers that both have the same 42 training samples:</p><ul><li>The “self learning” consumer (blue below), which chooses to train a model on it’s own ,using the same technique the provider did.</li><li>The “transfer learning” consumer (green below), who chooses to consume a transfer learning service from the Dopamine network.</li></ul><p>It’s clear in the chart below that although both consumers have the same data and use the same deep learning architecture, the consumer that “learned from the experience of others” achieved higher accuracy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/0*6OzUI5twKxNztA7L." /></figure><h3>Final Notes</h3><p>The sample presented above is only a “toy sample” presenting possible interactions on the Dopamine network. Further enhancements, for example, could include transferring knowledge among large number of participants, and not only two as is presented here. Furthermore, a trust mechanism that is in the works, has not been presented yet as part of the Dopamine network. However, the basic concept outlined is much deeper: just as we try to learn from the experiences of others, decentralization technologies enable us to build AI systems that learn from the experiences of other AI systems. But unlike the human case, where every individual gets to learn from the experience of a few others (I’m currently ignoring evolution, which will be covered in a separate post), in the decentralization AI case the vast potential of transfer learning is unmatched.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuLqpIuWH962Zs8HGtskoA.jpeg" /><figcaption>www.dopamine.ai</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d9598a3fb50" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dopamine-ai/transfer-learning-via-blockchain-4d9598a3fb50">Transfer Learning via Blockchain</a> was originally published in <a href="https://medium.com/dopamine-ai">Dopamine.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Decentralized Protocol for Teaching AI]]></title>
            <link>https://medium.com/dopamine-ai/a-decentralized-protocol-for-teaching-ai-dd99aa31c01c?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd99aa31c01c</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ico]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Mon, 08 Jan 2018 10:31:32 GMT</pubDate>
            <atom:updated>2018-06-18T09:24:13.519Z</atom:updated>
            <content:encoded><![CDATA[<p>By <a href="https://twitter.com/Uriyeru">Uri Yerushalmi</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2JYeUAthEGmH0yEneIWYnA.jpeg" /></figure><p>When my elementary school kid asks me for help in math, he really makes my day. However, last week, he asked for help writing an essay, and I found myself looking for excuses and reasons why should he ask his mom or just grow up and be more independent!</p><p>I’m sure that many of the parents among you have faced similar situations. We are not expected to teach our children everything by ourselves. In some cultures, people have been sending their children to schools for thousands of years. But an AI developer does not have such luxury: we teach our AI modules (learnwares) by ourselves. We cannot send them to school, nor can we send them to tutors. The reasons why we can’t simply create an AI “school” are various and practical: every learnware is different, so how would a teacher know what and how to teach the learnware student? How would you reward your learnware’s teacher? How would you trust him? Why would he trust you? And many more…</p><p>Here, we present here a new approach to AI schooling with some preliminary code samples based on the Dopamine network, allowing several entities to teach one entity’s learnware, while being rewarded fairly.</p><h3>New Era</h3><p>The main reasons for not being able to send our learnwares to schools are:</p><p>A. Reasons related to lack of common language and protocols when dealing with AI.</p><p>B. Reasons related to trust.</p><p>C. Reasons related to rewarding and payments.</p><p>The three classes above are going through significant changes:</p><p>(A) With the growth of the AI industry more and more individuals “talk” and “communicate” AI, and start using the same terms.</p><p>(B&amp;C) The blockchain technology enables building trustless solutions.</p><h3>Sample Toy Case</h3><p>In the sample below (full code available <a href="https://github.com/DopamineAI/bootcamp/blob/master/03.%20Training%20Service:%20Single%20Entity%20%2CNo%20certificates/ReadMe_Jupyter.ipynb">here</a>; checkout the <a href="https://github.com/DopamineAI/bootcamp">bootcamp </a>for previous samples) we have a single student that is interested learning how to recognize handwritten digits from the mnist dataset:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/0*Nz4c6p1OwKefMdUo." /></figure><p>The “student” has 10,000 labeled images that are used only for testing and evaluating the teachers. The “teachers” together have 60,000 other samples.</p><p>We show that initially the student is not very successful:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*3PNmFbkFFH_AyR6uIDAX_w.png" /></figure><p>The dynamics of teaching-rewarding a tutor from the student’s perspective can be described as follows using Dopamine’s modeling language:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q-Ab2uG1z3yp64FK." /></figure><h3>Logarithmic Reward Scale</h3><p>Since the student is being taught by several tutors, it needs to “declare” a fair and transparent rewarding system. Using the Dopamine network, a student can, for example, declare that the total reward to be given in the current session is 1000 DOPAs if the score achieved is 1.0 and that the rewarding scale is logarithmic, where half of the reward will be given for raising the student’s score from 0.99 to 1.0:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*oCmRtwvSHZJA04xHUgDsqg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/0*-pETOPhqpztpICP9." /></figure><h3>Running The Sample</h3><p>Code for running different Dopamine nodes (1 student + several teachers) is quite simple, and available <a href="https://github.com/DopamineAI/bootcamp/blob/master/03.%20Training%20Service:%20Single%20Entity%20%2CNo%20certificates/ReadMe_Jupyter.ipynb">here</a>.</p><p><strong>Results</strong></p><p>Eventually the student reaches an accuracy score of less than 99%, and therefore it pays less than 500 tokens reserved for this training budget. one can see the rewards and improvements attributed for every teacher below. As expected, teachers that brought more meaningful data and came first have an advantage when earning rewards:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*7aLX9I7FaGDqlA7E1oV5Yg.png" /></figure><p>Clearly, as shown below, the student eventually succeeds in recognizing the first characters:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*8SssnfJ8PyXjehbpTVAe5Q.png" /></figure><p><strong>What’s Not Shown Here Yet</strong></p><p>The sample above was simplified and does not yet include other mechanisms we are working on these days, including trust mechanisms where each side (student / teacher) is less dependent on trusting the counter party.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuLqpIuWH962Zs8HGtskoA.jpeg" /><figcaption><a href="http://www.dopamine.ai/">www.dopamine.ai</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd99aa31c01c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dopamine-ai/a-decentralized-protocol-for-teaching-ai-dd99aa31c01c">A Decentralized Protocol for Teaching AI</a> was originally published in <a href="https://medium.com/dopamine-ai">Dopamine.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Decentralized Protocol for Teaching AI]]></title>
            <link>https://medium.com/@uriy/a-decentralized-protocol-for-teaching-ai-1871f8a76677?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/1871f8a76677</guid>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Thu, 04 Jan 2018 16:45:54 GMT</pubDate>
            <atom:updated>2018-06-18T09:24:43.490Z</atom:updated>
            <content:encoded><![CDATA[<p>By <a href="https://twitter.com/Uriyeru">Uri Yerushalmi</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2JYeUAthEGmH0yEneIWYnA.jpeg" /></figure><p>When my elementary school kid asks me for help in math, he really makes my day. However, last week, he asked for help writing an essay, and I found myself looking for excuses and reasons why should he ask his mom or just grow up and be more independent!</p><p>I’m sure that many of the parents among you have faced similar situations. We are not expected to teach our children everything by ourselves. In some cultures, people have been sending their children to schools for thousands of years. But an AI developer does not have such luxury: we teach our AI modules (learnwares) by ourselves. We cannot send them to school, nor can we send them to tutors. The reasons why we can’t simply create an AI “school” are various and practical: every learnware is different, so how would a teacher know what and how to teach the learnware student? How would you reward your learnware’s teacher? How would you trust him? Why would he trust you? And many more…</p><p>Here, we present here a new approach to AI schooling with some preliminary code samples based on the Dopamine network, allowing several entities to teach one entity’s learnware, while being rewarded fairly.</p><h3>New Era</h3><p>The main reasons for not being able to send our learnwares to schools are:</p><p>A. Reasons related to lack of common language and protocols when dealing with AI.</p><p>B. Reasons related to trust.</p><p>C. Reasons related to rewarding and payments.</p><p>The three classes above are going through significant changes:</p><p>(A) With the growth of the AI industry more and more individuals “talk” and “communicate” AI, and start using the same terms.</p><p>(B&amp;C) The blockchain technology enables building trustless solutions.</p><h3>Sample Toy Case</h3><p>In the sample below (full code available <a href="https://github.com/DopamineAI/bootcamp/blob/master/03.%20Training%20Service:%20Single%20Entity%20%2CNo%20certificates/ReadMe_Jupyter.ipynb">here</a>; checkout the <a href="https://github.com/DopamineAI/bootcamp">bootcamp </a>for previous samples) we have a single student that is interested learning how to recognize handwritten digits from the mnist dataset:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/530/0*Nz4c6p1OwKefMdUo." /></figure><p>The “student” has 10,000 labeled images that are used only for testing and evaluating the teachers. The “teachers” together have 60,000 other samples.</p><p>We show that initially the student is not very successful:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*3PNmFbkFFH_AyR6uIDAX_w.png" /></figure><p>The dynamics of teaching-rewarding a tutor from the student’s perspective can be described as follows using Dopamine’s modeling language:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q-Ab2uG1z3yp64FK." /></figure><h3>Logarithmic Reward Scale</h3><p>Since the student is being taught by several tutors, it needs to “declare” a fair and transparent rewarding system. Using the Dopamine network, a student can, for example, declare that the total reward to be given in the current session is 1000 DOPAs if the score achieved is 1.0 and that the rewarding scale is logarithmic, where half of the reward will be given for raising the student’s score from 0.99 to 1.0:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*oCmRtwvSHZJA04xHUgDsqg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/551/0*-pETOPhqpztpICP9." /></figure><h3>Running The Sample</h3><p>Code for running different Dopamine nodes (1 student + several teachers) is quite simple, and available <a href="https://github.com/DopamineAI/bootcamp/blob/master/03.%20Training%20Service:%20Single%20Entity%20%2CNo%20certificates/ReadMe_Jupyter.ipynb">here</a>.</p><p><strong>Results</strong></p><p>Eventually the student reaches an accuracy score of less than 99%, and therefore it pays less than 500 tokens reserved for this training budget. one can see the rewards and improvements attributed for every teacher below. As expected, teachers that brought more meaningful data and came first have an advantage when earning rewards:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*7aLX9I7FaGDqlA7E1oV5Yg.png" /></figure><p>Clearly, as shown below, the student eventually succeeds in recognizing the first characters:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*8SssnfJ8PyXjehbpTVAe5Q.png" /></figure><p><strong>What’s Not Shown Here Yet</strong></p><p>The sample above was simplified and does not yet include other mechanisms we are working on these days, including trust mechanisms where each side (student / teacher) is less dependent on trusting the counter party.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuLqpIuWH962Zs8HGtskoA.jpeg" /><figcaption>www.dopamine.ai</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1871f8a76677" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Providing AI Services via Blockchain]]></title>
            <link>https://medium.com/dopamine-ai/providing-ai-services-via-blockchain-c6a853cfb4a6?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6a853cfb4a6</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ico]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Sun, 31 Dec 2017 11:29:02 GMT</pubDate>
            <atom:updated>2018-06-18T09:25:25.064Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Dopamine.ai Code Sample</h3><p>By <a href="https://twitter.com/Uriyeru">Uri Yerushalmi</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LCsVYV_SVa8LU_TxJXvjmw.jpeg" /></figure><p>In our <a href="https://medium.com/dopamine-ai/dopamines-hello-world-e18a92fd1483">last post</a>, we presented a simple overview of Dopamine’s infrastructure using a classic “Hello World” implementation.</p><p>Now, we’re excited to dig deeper into what Dopamine is all about by giving an example of an AI inference service trade. Our code remains simple and clear, but what it represents is far from basic. Check it out below:</p><p><strong>The Sample Scenario</strong></p><p><a href="https://github.com/DopamineAI/bootcamp/tree/master/02.%20Single%20Entity%20AI%20Inference%20Service">Our example</a> gives an overview of a scenario in which a buyer “B” purchases an AI service from the seller “A”. To keep things simple, we did not include the usage of Dopamine certificates and we assume that both sides know one another’s address.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*j0jYspix_55HgNGi2t82eg.png" /><figcaption>A Dopamine Modeling Diagram of the Sample Scenario</figcaption></figure><p>The service that is being purchased in this scenario is classification of a specific image (a lion, in our example). We use a pre-trained VGG model to make this identification (downloaded via the tensorflow library).</p><p><strong>Buyer Side</strong></p><p>Our <a href="https://github.com/DopamineAI/bootcamp/blob/master/02.%20Single%20Entity%20AI%20Inference%20Service/buyer.ipynb">Bootcamp page</a> walks the user through the steps required to initiate the service on the buyer side, which are similar to the “Hello World” case: create a session, a service descriptor and a reward descriptor. Then, the whole process of getting the service in exchange for DOPA tokens is done in a single line:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*pCDFoSlMCB_ePOgwlT71tg.jpeg" /></figure><p>The process is extremely streamlined, making this feature quite easy to implement.</p><p><strong>Seller Side</strong></p><p>The <a href="https://github.com/DopamineAI/bootcamp/blob/master/02.%20Single%20Entity%20AI%20Inference%20Service/seller.ipynb">seller</a> is trading the image classification service we described above in exchange for 100 DOPA weis. On this side too, the Dopamine workflow is very similar to the “Hello World” case: describe the service , create quote, and wait for buyers. We wait and are in luck: we get a buyer for our very nifty image classification service.</p><p><strong>Next Sample</strong></p><p>In our next code sample we will show how AI teaching services can be implemented on the Dopamine network. Stay tuned…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuLqpIuWH962Zs8HGtskoA.jpeg" /><figcaption>www.dopamine.ai</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6a853cfb4a6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dopamine-ai/providing-ai-services-via-blockchain-c6a853cfb4a6">Providing AI Services via Blockchain</a> was originally published in <a href="https://medium.com/dopamine-ai">Dopamine.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dopamine’s “Hello World”]]></title>
            <link>https://medium.com/dopamine-ai/dopamines-hello-world-e18a92fd1483?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/e18a92fd1483</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ico]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Tue, 05 Dec 2017 09:03:00 GMT</pubDate>
            <atom:updated>2018-06-18T09:26:52.054Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A short glimpse into coding using Dopamine.ai API</em></p><p>By <a href="https://twitter.com/Uriyeru">Uri Yerushalmi</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*77dEGhKyGSdUFP66wtfHQQ.jpeg" /></figure><p>A “Hello World” program is often the very first program I look for when I am new to a language, API, or technology. That’s why we have chosen to use this type of example to initiate the <a href="https://github.com/DopamineAI/bootcamp">“Dopamine.ai” bootcamp on github</a>.</p><h4>Dopamine’s Bootcamp</h4><p>The “<a href="https://github.com/DopamineAI/bootcamp">Bootcamp</a>” is a repository on github that will gradually include many well documented code samples that will be available to Dopamine developers. Presently, Dopamine’s API is in Python, so we wrote the <a href="https://github.com/DopamineAI/bootcamp/tree/master/01.%20Simple%20Image%20Trade">first sample</a> as a set of Jupyter notes. Interested developers will find other useful resources within the Bootcamp pages, like an explanation of our <a href="https://github.com/DopamineAI/bootcamp/blob/master/Dopamine%20Modeling%20Language.ipynb">modeling diagram language</a>.</p><h4>“Hello World”</h4><p><a href="https://github.com/DopamineAI/bootcamp/tree/master/01.%20Simple%20Image%20Trade">This </a>sample demonstrates the simplest usage of Dopamine’s API: purchasing the data of an image in exchange for DOPA tokens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*KyIAC6sdtf_wPk3OHTEJKA.jpeg" /></figure><p>The sample is currently running on an Etherum testnet (ropsten), and is provided to solicit your feedback on Dopamine’s API. The sample is based on the dopapy API, which has not been released yet.</p><p>This sample provides an example for both sides: <a href="https://github.com/DopamineAI/bootcamp/blob/master/01.%20Simple%20Image%20Trade/seller.ipynb">seller </a>(provider) vs <a href="https://github.com/DopamineAI/bootcamp/blob/master/01.%20Simple%20Image%20Trade/buyer.ipynb">buyer</a> (consumer). Many of the code lines are similar on each side. For example, both the buyer and seller will create a session that serves from a given IP/port and is based on a given wallet. Both sides will then check their wallet balance. Example below!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fcadc4a0faa30fd6195075158297004b/href">https://medium.com/media/fcadc4a0faa30fd6195075158297004b/href</a></iframe><h4>Seller side</h4><p>The seller side needs to:</p><ul><li>Indicate where the image to be sold is located.</li><li>Describe the image, so that the buyer knows what he’s paying for</li><li>Create a quote, indicating how many tokens he requests in return for the image.</li><li>Place the quote on the Dopamine network so others can interact with it.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b59689bec7c19ca3992cfe4f2eb2e8e4/href">https://medium.com/media/b59689bec7c19ca3992cfe4f2eb2e8e4/href</a></iframe><h4>Buyer side</h4><p>The buyer side needs to:</p><ul><li>Indicate with whom the buyer wishes to trade. (This part is simplified for a “Hello World” case. In future versions we will present how counter quotes can be found via the blockchain and the Dopamine board).</li><li>Describe what type of service the buyer expects to receive.</li><li>Create a quote, indicating how much the buyer is willing to pay for the service (specific number of tokens).</li><li>Make the deal and acquire the image.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/593e4527a078347a29f61c7948db7020/href">https://medium.com/media/593e4527a078347a29f61c7948db7020/href</a></iframe><p>That’s it… these few lines of code are all that’s required to purchase an image on the Dopamine network. No additional configurations are required, making the entire process simple and efficient.</p><h4>What’s not presented here …yet</h4><p>Hopefully, the simplicity of the example above has left you interested in hearing more complex examples and details. In future samples, we will present more layered and intriguing versions of the AI deals that we can base on the Dopamine network, along with Dopamine’s certificate mechanism and much more. Please stay <a href="http://www.dopamine.ai/">tuned</a>. Looking forward to your input!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuLqpIuWH962Zs8HGtskoA.jpeg" /><figcaption>www.dopamine.ai</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e18a92fd1483" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dopamine-ai/dopamines-hello-world-e18a92fd1483">Dopamine’s “Hello World”</a> was originally published in <a href="https://medium.com/dopamine-ai">Dopamine.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hardware Software Learnware]]></title>
            <link>https://medium.com/dopamine-ai/hardware-software-learnware-efc0bad2b147?source=rss-6a544bb50d15------2</link>
            <guid isPermaLink="false">https://medium.com/p/efc0bad2b147</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[dopamine]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[ico]]></category>
            <dc:creator><![CDATA[Uri Yerushalmi]]></dc:creator>
            <pubDate>Mon, 20 Nov 2017 08:09:33 GMT</pubDate>
            <atom:updated>2018-06-18T09:27:16.239Z</atom:updated>
            <content:encoded><![CDATA[<h4>Looking Into the Economy and Infrastructure of a New Type of Software</h4><p>By <a href="https://twitter.com/Uriyeru">Uri Yerushalmi</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7F4iiKM6O4KswbaojYCYeQ.jpeg" /></figure><p><strong><em>“Neural networks … represent the beginning of a fundamental shift in how we write software” </em></strong><em>(</em><a href="https://medium.com/@karpathy/software-2-0-a64152b37c35"><em>Andrej Karpathy, Software 2.0, Medium</em></a><em>)</em></p><p>One of my joys as a student in multidisciplinary studies was attending a class and having my knowledge of biology reinforced by the concepts I learned in my computer science lecture (or vice versa). This week I experienced a similar joy when I read Andrej Karpathy’s great post “Software 2.0,” where he analyzes the difference between the new type of software “Software 2.0” vs the old type “Software 1.0”. Karpathy reaches a very similar conclusion to concepts mentioned <a href="https://medium.com/dopamine-ai/dopamine-ai-will-blockchain-unchain-ai-4600e1650d5b">here</a>, although his point-of-view is quite different.</p><p>In order to elaborate, let’s examine how the rise of this new type of software could affect the software industry and market.</p><h3>Software vs Learnware</h3><p>Here are some of the major differences between the old software and the new, adaptive software described in Karpathy’s post, which I will refer to as “Learnware.”. (I decided to call this new type of software “Learnware” because it’s based on learning systems):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*g04WyN6cmKbGqdZtm7l_6A.png" /><figcaption>Software vs Learnware differences</figcaption></figure><h3>Learnware affecting Software Market</h3><p>You have probably noticed the ways in which the software market has started to change, but some of the changes are less apparent than others…</p><h4>Collaborative Processing and Service Orientation</h4><p>In software we are used to collaborating with each other via libraries and APIs (Application Programming Interfaces). Every interface’s tasks need to be well-defined. It’s usually very clear to the user what is done when calling the interface and how.</p><p>For example, imagine two restaurants that do not have menus:</p><p>At the first restaurant, aptly if curiously named, “Old Software Type,” the guests need to arrive with exact instructions for the meal they want. They must show up with a detailed recipe to ensure they receive the right food.</p><p>At the second, newer restaurant, called “Learnware,” the guests make more abstract requests like, “I’m sad, give me something that would make me happy” and the chef is able to generate an optimal meal on the spot.</p><p>It is clear that some of the guests of the first restaurant would prefer to save the hassle of writing a recipe and just cook at home, right ? That, however, that is not as possible for the guests at the second restaurant.</p><p>Such a baseline very often leads the API user to take an “I know best what I need so I’ll just code it myself” approach (which is usually the wrong thing to do, but that’s a different story). In Learnware, the “I’ll do it myself” approach makes even less sense, since by simply defining what the user needs (eg. “find a cat in the picture”), the developer is still not close to a solution that s/he can code by his or herself (unlike a clearly defined task, “draw a rectangle with corners x1,y1,x2,y2” in the old type of software).</p><p>Due to such profound differences, I’d expect more and more tools and platforms for collaborative processing to arrive in the near future.</p><p><em>Main affecting factors from table above: F, G, H</em></p><h4>Learnware initiatives</h4><p>We can describe most business activities that incorporate new software as “Learnware Initiatives”. These initiatives include new applications based on visual and speech recognition, visual generation, speech synthesis, robotics, gaming, translation, decision making, and more.</p><p><em>Main affecting factors from table above: A</em></p><h4>Job Market</h4><p>Clearly the presence of Learnware will change the job market drastically. No matter how companies brand the job of feeding knowledge into Learnware (programmer,data scientist, quant), as Learnware gets more common and simpler to train, the required skillset to work with this new software will evolve. I would expect that the future requirements for Learnware developer roles will be totally different from those required of the old type of software programmers.</p><p><em>Main affecting factors from table above: B, C, D</em></p><h4>Techniques for Feeding Knowledge</h4><p>As a software developer, you use languages like C++ , Java, or Python for programming knowledge into software. The same techniques are currently used for building and training Learnware. However, while regular software programming languages are designed to best describe, manage, and maintain various sets of instructions, the key to programming knowledge in Learnware is accurately describing an optimal data flow graph. Therefore, I’m not sure using the older type of programming languages is the optimal method for developing Learnware.</p><p><em>Main affecting factors from table above: C, D</em></p><h4>Software Libraries for Building Learnware</h4><p>We’ve already seen these newer software libraries around for several years: Tensorflow, Pytorch, Keras, Theano, MXNet…</p><p><em>Main affecting factors from table above: B, C, D</em></p><h4>Specialized Hardware</h4><p>In the old type of software, which had a large instruction set, the introduction of new hardware required adjustments to the compilation and code levels. In contrast, in Learnware, the usage of new hardware is much more transparent. The race for dedicated hardware for Learnware has been ongoing for several years , with NVidia in the forefront.</p><p><em>Main affecting factors from table above: B, E</em></p><h4>Tools for Looking into the Black Box</h4><p>We need tools for looking into Learnware Black Boxes. These tools are important for several reasons, but primarily for development purposes. We will probably be able to train our Learnware better if we understand how each Learnware reaches a decision. Another reason we need these tools is to encourage the acceptance of Learnware from a social point-of-view. For example, European member states are expected to adopt new legislation that governs how AI’s decisions can be challenged if they appear unfair or arbitrary. Early drafts of the General Data Protection Regulation (GDPR) enshrined what is called a “right to explanation” in law.</p><p><em>Main affecting factors from table above: H</em></p><h3>Taking Part in the Revolution</h3><p>I assume many readers are involved, in some way or another, in activities that fit into the sections above (and if you are not, you are missing out on a lot of fun!). We at Dopamine.ai are working intensively on solutions for collaborative processing. If you are interested in reading more or receiving updates on our project, please subscribe <a href="http://www.dopamine.ai/">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kuLqpIuWH962Zs8HGtskoA.jpeg" /><figcaption><a href="http://www.dopamine.ai/">Dopamine.ai</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=efc0bad2b147" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dopamine-ai/hardware-software-learnware-efc0bad2b147">Hardware🢂 Software🢂 Learnware</a> was originally published in <a href="https://medium.com/dopamine-ai">Dopamine.ai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>