<?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 Piotr Grudzien on Medium]]></title>
        <description><![CDATA[Stories by Piotr Grudzien on Medium]]></description>
        <link>https://medium.com/@GruPiotr?source=rss-9f6021365448------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mIp7-_YcYKaWt28m0lY-cA.jpeg</url>
            <title>Stories by Piotr Grudzien on Medium</title>
            <link>https://medium.com/@GruPiotr?source=rss-9f6021365448------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 14 Nov 2026 08:20:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@GruPiotr/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[Add email newsletter subscribe form on Medium]]></title>
            <link>https://medium.com/itemsy/add-email-newsletter-subscribe-form-on-medium-a59d5f86f29d?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/a59d5f86f29d</guid>
            <category><![CDATA[personal-branding]]></category>
            <category><![CDATA[digital-marketing]]></category>
            <category><![CDATA[blogging]]></category>
            <category><![CDATA[email-marketing]]></category>
            <category><![CDATA[newsletter]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Fri, 28 Feb 2020 18:39:23 GMT</pubDate>
            <atom:updated>2020-02-28T18:51:02.390Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://itemsy.com/">Itemsy</a> now allows you to embed the sign-up form for your email newsletter on Medium. All you need to do is paste the link to your profile:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7vc7zMnSYIVBErOGxWmlZw.gif" /></figure><p>Below, you can learn how to use the Itemsy newsletter creator to send out emails with inspiring link curated by <em>you</em>:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FcFt7n18-JKk%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DcFt7n18-JKk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FcFt7n18-JKk%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/08a185b19d16bc31d32bef993f250f79/href">https://medium.com/media/08a185b19d16bc31d32bef993f250f79/href</a></iframe><p>Finally, here is what you newsletter sign-up form would look like in action:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fitemsy.com%2Fembed%2Fpiotrgru&amp;dntp=1&amp;display_name=Itemsy&amp;url=https%3A%2F%2Fitemsy.com%2Fpiotrgru%2F&amp;image=https%3A%2F%2Fitemsy.com%2Fmedia%2Fimages%2Fprofile_picture_1_ATdPzzK.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=itemsy" width="1000" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/61e9d03168df7b11606d85fb7003b912/href">https://medium.com/media/61e9d03168df7b11606d85fb7003b912/href</a></iframe><p>Set up your <a href="http://itemsy.com/">Itemsy</a> account today. It’s free!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a59d5f86f29d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itemsy/add-email-newsletter-subscribe-form-on-medium-a59d5f86f29d">Add email newsletter subscribe form on Medium</a> was originally published in <a href="https://medium.com/itemsy">I T E M S Y</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Daily reading routine using Itemsy]]></title>
            <link>https://medium.com/itemsy/daily-reading-routine-using-itemsy-aedf399ecc66?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/aedf399ecc66</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[blogging]]></category>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[newsletter]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Tue, 18 Feb 2020 13:34:57 GMT</pubDate>
            <atom:updated>2020-02-29T12:15:27.279Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Here’s a daily reading routine I established for myself lately. It was also what got us to start working on </em><a href="https://itemsy.com/"><em>Itemsy</em></a><em> in the first place. We wanted to:</em></p><ul><li><em>stop using multiple reading lists, notes, keep tens of tabs open</em></li><li><em>always be able to go back to or find new interesting reads</em></li><li><em>when time is right, receive my personal email newsletter</em></li></ul><h3>One-click save</h3><p>You come across an interesting article, website or video. Simply save it for later using Itemsy <a href="https://chrome.google.com/webstore/detail/itemsy/hgldjebdmbnjjijfpdjoghabodcfohlb">Chrome</a> or <a href="https://addons.mozilla.org/en-US/firefox/addon/itemsy/">Firefox</a> extension. Add a note to remember why you’re saving it.</p><p>Alternatively, add it to your <em>Saved</em> items at <a href="https://itemsy.com/">itemsy.com</a> or email the link to my@itemsy.com.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*c3ai-OW3q2JG0c2ErBj7vA.gif" /><figcaption>Items saved from browser extension appear in Saved</figcaption></figure><h3>Scroll through <em>Picked for you</em></h3><p>Feel like discovering something interesting to read? Go back to <a href="https://itemsy.com/">itemsy.com</a> and check out items <em>Picked for you</em>.</p><p>We developed an algorithm that looks at content you like, click on, share or save and suggests what else you might find interesting.</p><p>What’s picked for you is based <strong><em>purely on your interests</em></strong>, not on how much advertisers bid on a particular link or how “clickable” it is. Suggestions get better tailored to your taste the more you use Itemsy. Needless to say, no two user’s <em>Picked for you</em> will be anything alike!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*O9HuPVJiDTfgSrTt7mMdog.gif" /><figcaption>Note how items picked for me touch on subjects such as consciousness or evolution which relate to the articles I’d saved before</figcaption></figure><h3>Personal newsletter — just for you</h3><p>Don’t worry about remembering to <em>actually</em> go through the items you’d saved. They will be delivered to your inbox as an email newsletter. You can set it to fit your schedule, for example at 5pm on weekdays.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*wcrcbOlqcG-aZvWbXtdZxw.gif" /></figure><p><em>Start using </em><a href="http://itemsy.com/"><em>Itemsy</em></a><em> today. It’s free. Register at </em><a href="http://itemsy.com/"><em>itemsy.com</em></a><em>, download our </em><a href="https://chrome.google.com/webstore/detail/itemsy/hgldjebdmbnjjijfpdjoghabodcfohlb"><em>Chrome</em></a><em> or </em><a href="https://addons.mozilla.org/en-US/firefox/addon/itemsy/"><em>Firefox</em></a><em> extension or simply email items to read later to my@itemsy.com</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6gv601Gl58WgKPKgoQnIZA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aedf399ecc66" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itemsy/daily-reading-routine-using-itemsy-aedf399ecc66">Daily reading routine using Itemsy</a> was originally published in <a href="https://medium.com/itemsy">I T E M S Y</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to add newsletter to your blog]]></title>
            <link>https://medium.com/itemsy/how-to-add-newsletter-to-your-blog-4ef506d0d1e1?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ef506d0d1e1</guid>
            <category><![CDATA[blogging]]></category>
            <category><![CDATA[newsletter]]></category>
            <category><![CDATA[email]]></category>
            <category><![CDATA[blog]]></category>
            <category><![CDATA[email-marketing]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Tue, 03 Dec 2019 00:05:06 GMT</pubDate>
            <atom:updated>2019-12-03T00:22:04.385Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Whenever I come across a blog post I really enjoy, I try and subscribe to be notified of future posts by email. Very often though, blogs lack that feature. I end up forgetting and never going back to them.</blockquote><p>This short blog post explains how to add a newsletter to your blog using <a href="https://itemsy.com/">Itemsy</a> in 3 quick &amp; easy steps.</p><h3>Step 1/3</h3><p>Create an Itemsy profile:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Tv7ybZWmeuThs_vaN-FQgg.gif" /></figure><h3>Step 2/3</h3><p>Every time you post on your blog, publish the link on your Itemsy profile</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*LQUdhT-7CyPt8k-_h2Hmng.gif" /></figure><h3>Step 3/3</h3><p>Share your Itemsy profile for people to subscribe to. They will receive all new posts straight to their inbox.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kk7DHaTQC8m-ue2TVJs5wA.png" /></figure><p>P.S. In case you need inspiration, that’s one interesting profile set up on <a href="https://itemsy.com/">Itemsy</a>:</p><p><a href="https://itemsy.com/3randomwiki/">3 Random Wiki (3randomwiki) - I T E M S Y</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ef506d0d1e1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itemsy/how-to-add-newsletter-to-your-blog-4ef506d0d1e1">How to add newsletter to your blog</a> was originally published in <a href="https://medium.com/itemsy">I T E M S Y</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 non-obvious lessons learned from our Product Hunt launch]]></title>
            <link>https://medium.com/itemsy/5-non-obvious-lessons-learned-from-our-product-hunt-launch-c9371d543b38?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9371d543b38</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[product-hunt]]></category>
            <category><![CDATA[email]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[newsletter]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Tue, 15 Oct 2019 18:40:45 GMT</pubDate>
            <atom:updated>2019-10-15T18:46:39.274Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Great product is the single best marketing channel.</li><li>Quickly launch the most basic version of your product.</li><li>Your one-liner must be crystal clear.</li><li>People want to instantly try out your product.</li><li>Choose the right day of week.</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcards.producthunt.com%2Fcards%2Fposts%2F170611%3Fv%3D1&amp;url=https%3A%2F%2Fwww.producthunt.com%2Fposts%2Fi-t-e-m-s-y&amp;image=https%3A%2F%2Fph-files.imgix.net%2F5b85eed4-5d9d-4a22-9f57-4c05a7224c5a%3Fauto%3Dformat%26fit%3Dmax%26h%3D405%26w%3D500&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=producthunt" width="500" height="405" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c35f18e9e98a7a4c0d9c78acd3f7941/href">https://medium.com/media/3c35f18e9e98a7a4c0d9c78acd3f7941/href</a></iframe><p>Last Friday, we launched <a href="http://itemsy.com/">I T E M S Y</a> on Product Hunt with almost no preparation. We were very positively surprised by the response and wanted to share some lessons learned.</p><h3>1. Great product is the single best marketing channel</h3><p>It may seem like a good idea to spend time asking friends for support. But in the end it’s a numbers game and what counts is upvotes from Product Hunt regulars who visit the website every single day. So you might as well focus all your energy on <em>making a product people want </em>rather than spend the whole day asking your friends to create an account and upvote. It’s convincing the daily Product Hunt users that is key to success!</p><h3>2. Quickly launch the most basic version of your product</h3><p>This will help you in two important ways: you can launch <em>sooner</em> and you’re more likely to test whether your <strong>core product</strong> actually solves a <em>real problem</em>. If it’s unclear what your product really does, all your experiments will give ambiguous results.</p><blockquote>Bonus: people who comment on Product Hunt are likely to request the exact features you’d already built but haven’t yet unveiled . That’s what happened to us and that’s a good place to be!</blockquote><h3>3. Your one-liner must be crystal clear</h3><p>Hopefully, the above one-liner is 100% clear 😉. If someone who read just your one-liner is unable to explain to their friends what your product does, you’ve failed. Ask yourself if you would have (i) understood <strong>exactly</strong> what your product does and (ii) visited your website only having read your one-liner, nothing else. Also, fewer photos that are clear and simple is usually better. Most people will spend very little time on your PH profile.</p><h3>4. People want to instantly try out your product</h3><p>This obviously puts more complex products at a disadvantage but is very important. At an early stage, you want to make it as easy as possible for people to try out your product and teach you how to improve it (that’s through <em>analytics</em> that you carefully set up before launching, didn’t you?).</p><blockquote>Signing up to <a href="http://itemsy.com/">I T E M S Y</a> takes 10 seconds and just your email. What’s even cooler is that you actually don’t even need to sign up! Just start using it by sending links to my@itemsy.com. The way we onboard users is that everyone is already onboarded.</blockquote><h3>5. Choose the right day of week</h3><p>Landing in top 5 Products of the Day is what you want. Top 5 make it to the next-day Product Hunt newsletter which is a big win. But be careful, Friday is an exception where you need to compete with Saturday and Sunday people for the Monday newsletter spot (which we learned the hard way…). On the other hand, competition for the top 5 is probably more fierce Monday — Thursday (curious, can anyone confirm?).</p><h3>Final thought</h3><p>Product Hunt is not a one-off effort but rather a long-term asset that brings traffic to your site. Keep it in mind and make sure it ages well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h97492sa7V82pURp0D9J0g.jpeg" /><figcaption>Try it at itemsy.com</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9371d543b38" width="1" height="1" alt=""><hr><p><a href="https://medium.com/itemsy/5-non-obvious-lessons-learned-from-our-product-hunt-launch-c9371d543b38">5 non-obvious lessons learned from our Product Hunt launch</a> was originally published in <a href="https://medium.com/itemsy">I T E M S Y</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Turn all your spreadsheets into a lightweight searchable database]]></title>
            <link>https://medium.com/equity-front/turn-all-your-spreadsheets-into-a-lightweight-searchable-database-151a827863e8?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/151a827863e8</guid>
            <category><![CDATA[collaboration-tools]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[spreadsheets]]></category>
            <category><![CDATA[data-management]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Mon, 19 Aug 2019 14:16:23 GMT</pubDate>
            <atom:updated>2019-08-19T14:16:23.478Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Microsoft Excel came out over 30 years ago. Since then almost every other software tool has been replaced by its modern, cloud version. Except Excel.</em></p><h3>Came for the data, stayed for the Excel</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*n0ajXLMgyaFWZYzDnGfmeQ.png" /><figcaption>The Excel-Email mess</figcaption></figure><p>Spreadsheets have become a natural <em>end point</em> for every BI, accounting or data management tool. No matter how sophisticated, slick or “made with ❤️ in SF” the tool is, eventually you’ll always want to <em>export data to Excel</em>.</p><p>As a result, data is always centralised on a local hard drive and shared with others via <em>dozens</em> of emails. Arguably, Excel has become the most popular database (and <em>programming language</em>) in the world which makes email with an .xls attachment the most popular <em>medium of data exchange</em>.</p><p>Even if you <em>do</em> store all your spreadsheets in the cloud, it is anything but easy to fish out the specific number or insight you’re after. You’ve always got countless outdated and duplicated spreadsheets floating about.</p><blockquote>While Dropbox made it easy to store files online, there is no good solution to quickly set up, share and edit data in the cloud.</blockquote><h3>Those Excels your whole team needs to share</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*0NbrvnQQCWhhYHne6ChUBw.jpeg" /><figcaption>Search all your spreadsheets instead</figcaption></figure><p>How would you like a <strong>private database that takes <em>30 seconds</em> to set up</strong>? Everybody on your team immediately gets access to all the data. And it’s as easy to use as Google. I mean, just <a href="https://equityfront.com/">try it</a>.</p><p>We believe you should be able to pick up a new software tool and <em>get value out of it</em> in 30 seconds.</p><p>Also, it needs to be <em>fast</em>. And look good.</p><h4>Go to <a href="https://equityfront.com/">equityfront.com</a> and see how you can get set up in 30 seconds</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AkzbSToUvLiANVSP88ik6w.png" /><figcaption>What you can build with Equity Front</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=151a827863e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/equity-front/turn-all-your-spreadsheets-into-a-lightweight-searchable-database-151a827863e8">Turn all your spreadsheets into a lightweight searchable database</a> was originally published in <a href="https://medium.com/equity-front">Equity Front</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The hard thing about marketplaces]]></title>
            <link>https://medium.com/incentivai/the-hard-thing-about-marketplaces-dfabc5de67be?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfabc5de67be</guid>
            <category><![CDATA[marketplaces]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Mon, 08 Apr 2019 17:31:50 GMT</pubDate>
            <atom:updated>2019-04-09T12:46:21.536Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Getting an online marketplace off the ground is very hard. Growing one is no easier. Marketplace metrics are extremely complicated.</em></p><p><em>One thing that makes marketplaces so complex is </em><strong><em>feedback loops</em></strong><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FGggERc2Khwc0rfJy5R80w.png" /><figcaption>Marketplace feedback loop</figcaption></figure><p>Let’s say we want to estimate the effect of spending $1,000 on supplier acquisition. That will result in some change in suppliers’ behaviour. While that’s difficult enough to estimate, it will also affect customers’ behavior. That, in turn, has an effect on suppliers. Eventually, the whole system converges to an <strong>equilibrium</strong> that is <em>notoriously hard to predict</em>.</p><p>That’s not totally unlike the problem of designing economies of blockchain smart contract systems. And that’s <a href="https://medium.com/incentivai/bonding-curve-simulation-using-incentivai-2b2bfe0c6400">something</a> <a href="https://medium.com/incentivai/simulation-of-the-augur-economy-682636d2840f">we’ve</a> <a href="https://medium.com/incentivai/incentivai-analysis-of-the-nexus-mutual-smart-contract-system-a9f8a1ac7c47">done</a> <a href="https://www.youtube.com/watch?v=5PkR5WvtjEA">before</a>.</p><p>Go ahead and use the same technology to <em>simulate your marketplace with human-like AI agents</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xDL2GLlK-4F-i1KZkc7p6w.png" /><figcaption>Marketplace dynamics simulated with AI agents</figcaption></figure><p>The <a href="https://dashboard.incentivai.co/">Simulation Tool</a> allows marketplace creators to:</p><ul><li><strong>Experiment</strong> with different pricing models</li><li><strong>Simulate </strong>the effect of different customer acquisition efforts</li><li><strong>Customise</strong> for their particular scenarios and KPIs</li></ul><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fp6vTLGfmy5M%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dp6vTLGfmy5M&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fp6vTLGfmy5M%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/985cb0a359f27fdb47f5f8fa424d125c/href">https://medium.com/media/985cb0a359f27fdb47f5f8fa424d125c/href</a></iframe><p><em>If interested, </em><a href="https://www.youtube.com/watch?v=p6vTLGfmy5M"><em>watch the demo</em></a><em>, </em><a href="https://dashboard.incentivai.co/"><em>try it yourself</em></a><em> and </em><a href="http://incentivai.co/"><em>reach out</em></a><em> to have your marketplace simulated before your next big decision!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfabc5de67be" width="1" height="1" alt=""><hr><p><a href="https://medium.com/incentivai/the-hard-thing-about-marketplaces-dfabc5de67be">The hard thing about marketplaces</a> was originally published in <a href="https://medium.com/incentivai">Incentivai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simulation of the Augur economy]]></title>
            <link>https://medium.com/incentivai/simulation-of-the-augur-economy-682636d2840f?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/682636d2840f</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mechanism-design]]></category>
            <category><![CDATA[augur]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Thu, 20 Dec 2018 17:41:46 GMT</pubDate>
            <atom:updated>2019-04-27T18:49:52.988Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://incentivai.co/"><em>Incentivai</em></a><em> has built a tool for testing incentive structures of economy-based systems. They are simulated in a safe environment (which closely resembles the real solution) with ML agents to estimate likely patterns of behaviour and help improve on the choice of system parameters. </em><a href="https://www.augur.net/"><em>Augur</em></a><em>, a prediction market protocol, is an example of such a system encoded in smart contracts and deployed on the Ethereum blockchain.</em></p><p><em>The Augur system was simulated using the Incentivai tool. This blog post summarises some of the findings and agent behaviour patterns found during the analysis.</em></p><h3>Key findings</h3><ol><li><em>Agents convinced about their belief choose to exit Augur rather than migrate to a losing universe. Often, they would migrate to the winning universe and exit.</em></li><li><em>Expected lower trading volume =&gt; Lower expected income from fees =&gt; More speculative use of REP (compared to use of REP for reporting)</em></li><li><em>Overwhelming fork majority =&gt;Scarcity of false outcome token =&gt; Speculative trading or migrating =&gt; Artificially inflated price</em></li><li><em>Expected higher trading volume =&gt; Believers in minority outcome migrate to winning universe and exit sooner (because the REP price there is higher)</em></li><li><em>Reporters likely to change their mind AND Unsuccessful dispute stake being returned =&gt; Stakers disputing correct outcomes</em></li><li><em>Lower resolution fees before market closes compared to after it has closed incentivise higher trading volume</em></li></ol><h3>Reporting and forking</h3><p>The <a href="https://www.augur.net/">Augur</a> <a href="https://www.augur.net/whitepaper.pdf">protocol</a> allows anyone to setup a <a href="https://en.wikipedia.org/wiki/Prediction_market">prediction market</a> on any piece of information of their choice. The correct resolution of markets is ensured by means of specially designed reporting and forking mechanisms.</p><p>This section walks through a number of simulation scenarios highlighting the key findings. Each scenario features a number of agents who interact with the Augur simulation environment by making decisions about which actions to take. The choice is determined by their strategy aimed at optimising for long-term profit conditioned on private belief about which outcome is true.</p><h4>Scenario 1</h4><p>Scenario 1 looked at a typical prediction market with two possible outcomes: A and B. Approximately 70% of users are assumed to believe that B is the true outcome. Following a dispute process, the market is assumed to go into a state of fork.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LdpowzmEaLV4GEHRCiU8Bw.png" /><figcaption>Migration during fork (Scenario 1)</figcaption></figure><p>The fork is decided in favour of the true outcome B (orange), 25.4% REP gets migrated to universe A (blue). What helps resolve the fork with a larger margin is that some A-believers migrate to the winning universe B and sell their REP.</p><blockquote>Agents convinced about their belief choose to exit Augur rather than migrate to a losing universe. Often, they would migrate to the winning universe and exit.</blockquote><p>The graph below shows the evolution of order book mid-prices of the newly-created REP tokens in universes corresponding to outcomes A (blue) and B (orange).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gsn1hkUVR-RkwqiDQ3hslA.png" /><figcaption>Evolution of REP token prices in universes A and B (Scenario 1)</figcaption></figure><p>What is interesting to observe is the fact that initially, the price of false outcome REP A is kept relatively high before it decreases. Part of the reason for it is the fact that some B-believers were willing to buy some of REP A <em>purely speculatively</em>. Even though they considered the token <em>worthless</em>, they were willing to buy it hoping to later sell with profit.</p><h4>Scenario 2</h4><p>In this scenario, <em>all</em> agents are assumed to believe that A is the true outcome. Additionally, it is assumed that following the fork, trading volume (thus income from fees) is expected to <em>decrease</em>.</p><p>What results is an interplay of the following factors:</p><ul><li>Low REP valuation in the winning (A) universe</li><li>Great <em>scarcity</em> of false outcome (B) token</li></ul><p>As a consequence, even though all agents believe B to be the false outcome, its price is kept <em>artificially high due to its scarcity</em>. Additionally, due to low REP valuation in the winning universe, reporters that have migrated there are relatively open to allocating some of their budget to <em>speculation</em>. That involves trading the REP B token or even migrating some of their original REP to the false universe.</p><blockquote>Expected lower trading volume =&gt; Lower expected income from fees =&gt; More speculative use of REP (compared to use of REP for reporting)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*noYgKbJSD3jSi3VWh-oxAA.png" /><figcaption>Evolution of REP token prices in universes A and B (Scenario 2)</figcaption></figure><p>As a consequence of expected low trading volume, price of the winning REP A drops to a lower level soon after the fork starts. Price of REP B, on the other hand, is kept artificially high by the factors described earlier.</p><blockquote>Overwhelming fork majority =&gt;Scarcity of false outcome token =&gt; Speculative trading or migrating =&gt; Artificially inflated price</blockquote><p>As a result, in this particular scenario, <em>price of the losing universe token is at times higher than the winning one</em>. Fortunately, that effect is very far from threatening the outcome of the fork.</p><h4>Scenario 3</h4><p>In this scenario, 80% of agents are assumed to believe that B is the true outcome. This time, trading volume (thus income from fees) is expected to <em>increase</em> following the fork. Additionally, this scenario explores an assumption inspired by <a href="https://en.wikipedia.org/wiki/Bounded_rationality">bounded rationality</a> concepts. It is possible for agents to change their private belief about which outcome is true based on how other agents have been staking/migrating so far (<em>follow the majority</em>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qr61SPM_roeiqjpd0yEdRA.png" /><figcaption>Migration during fork (Scenario 3)</figcaption></figure><p>During the fork, migration to the false universe A occurs only early on and quickly stops. One contributing factor is the <em>follow the majority </em>assumption which means that over time agents who initially believe A is true are increasingly likely to change their mind. Additionally, due to expected high trading volume, REP B price is high which makes A-believers more likely to “give up” and <em>exit Augur by migrating to the winning universe and selling</em>. That is a desirable effect which helps the fork resolve with a larger margin.</p><blockquote>Expected higher trading volume =&gt; Believers in minority outcome migrate to winning universe and exit sooner (because the REP price there is higher)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p3IQPJIBLtKmG4KLj2ixGQ.png" /><figcaption>Evolution of REP token prices in universes A and B (Scenario 3)</figcaption></figure><p>Interestingly, price of the winning universe REP (B, orange) token is initially inflated and corrected afterwards. Demand for REP B is only satisfied once migration has progressed enough and its supply has expanded. Agents who have migrated to the losing universe A only start trying to exit on their tokens later on (following the REP B price correction) and are forced to set the price low due to little interest in speculation from winning universe reporters.</p><h4>Scenario 4</h4><p>In this scenario, <em>all</em> agents are assumed to believe that A is the true outcome. The <em>follow the majority</em> assumption is also included.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QNkr6nQduzq3kSIVfX-tHQ.png" /><figcaption>Stakes during dispute phase (Scenario 4)</figcaption></figure><p>It is assumed that the first reported outcome is B, the false one. Therefore, in the first dispute window, a large amount of stake is deposited to dispute it. Naturally, it is successful and another dispute window starts. What is surprising is that some stake <em>does</em> get deposited on disputing the true outcome. While it is nowhere near enough for a successful dispute, it is informative to explore the likely reasons behind that behaviour:</p><ul><li>Unsuccessful dispute stake is being returned which makes that action relatively low-risk</li><li>Under the <em>follow the majority </em>assumption, the small chance of <em>gathering enough momentum</em> to change the outcome might be enough to justify the cost of transaction fee required to submit the dispute stake</li></ul><blockquote>Reporters likely to change their mind AND Unsuccessful dispute stake being returned =&gt; Stakers disputing correct outcomes</blockquote><h3>Trading</h3><p>This section looks at some aspects of trading on Augur. Agents are assumed to have <em>noisy private belief</em> about probability of outcomes A and B on a particular market.</p><h4>Transaction and resolution fee</h4><p>Augur traders are subject to two types of variable fees. <em>Transaction</em> fee is associated with Ethereum gas cost. <em>Resolution</em> fee is incurred whenever a trader who owns outcome shares <em>resolves</em> with the market. That may occur either when market <em>closes</em> or when two sell orders get <em>matched</em>.</p><p>Whenever a sell order gets submitted, it may either get filled or matched. From trader’s point of view, the former is preferred since in the latter case they are subject to both transaction <em>and</em> resolution fee.</p><h4>Manual vs UI users</h4><p>Whenever traders who use the Augur UI submit sell orders, they don’t know whether they would be subject to the additional resolution fee. Such users, for whom trading is overall more costly, will be referred to as <em>UI users</em>.</p><p><em>Manual users</em> are assumed to be able to manually submit well-timed sell orders, thus make it much more likely that they be filled rather than matched. As a consequence, manual users may be able to trade at lower cost but at the same time they would be under more pressure to try and exit on their shares early rather than hold until market closes.</p><p>What follows is comparisons between manual and UI user behaviours. A number of simulation scenarios were run assuming different transaction and resolution fees. Interestingly, it will shed light on a more general problem of how adjusting mid-market and closed-market resolution fees might affect traders’ behaviour.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qhQwEI9YaxQI-2u7MR8zvw.png" /><figcaption>Trading volume vs transaction fee @ <strong>low</strong> resolution fee</figcaption></figure><h4>Trading volume</h4><p>Not unexpectedly, trading volume was observed to be lower in scenarios with higher transaction fee for both user types. What makes the difference between manual (blue) and UI (orange) users’ behaviour is resolution fee.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sHLQ2X6KWoakM916nFiQ1Q.png" /><figcaption>Trading volume vs transaction fee @ <strong>medium</strong> resolution fee</figcaption></figure><p>As resolution fee increases, the difference in trading volume between manual (blue) and UI (orange) users becomes bigger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_RpYQ5G0-yIWHwNtiRr8mg.png" /><figcaption>Trading volume vs transaction fee @ <strong>high</strong> resolution fee</figcaption></figure><p>One way to interpret the difference between manual and UI users is that the former <em>effectively pay a lower mid-market resolution fee</em>. They are incentivised to try and exit on their shares before market closes. As a consequence, trading volume increases.</p><blockquote>Lower resolution fees before market closes compared to after it has closed incentivise higher trading volume</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXBvPS-bMbn2HqvfHOz8QQ.png" /><figcaption>Volume of buy orders vs resolution fee @ <strong>low</strong> transaction fee</figcaption></figure><h4>Volume of buy orders</h4><p>For UI (orange) users, volume of buy orders decreases consistently for higher resolution fees across low, medium and high transaction fee values.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qCarog4ToGP9Hq7i_8WfJg.png" /><figcaption>Volume of buy orders vs resolution fee @ <strong>medium</strong> transaction fee</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f3Ln-xliXbbFNEojMjfEug.png" /><figcaption>Volume of buy orders vs resolution fee @ <strong>high</strong> transaction fee</figcaption></figure><p>It is interesting to observe that for manual (blue) users, when transaction fees are not too high, the volume of buy orders is almost independent of resolution fee. Agents are willing to buy shares almost regardless of higher resolution fees since they rely on being able to time sell orders well and exit before market closes.</p><p>High transaction fees (bottom graph) make trading more costly. That results in UI users’ volume of buy orders more sensitive to increased resolution fee.</p><h3>Conclusions</h3><p>Simulation allowed for identifying and analysing potentially beneficial mechanisms and potential threats to Augur reporting and forking processes. Those included exit strategies for believers in losing outcomes, artificially inflated false outcome token price and consequences of users following majority.</p><p>Trading simulation allowed for identifying and exploring the impact of lower resolution fees before market closing. That mechanism may be used to tune the <em>tradeoff</em> between fee amount and trading volume.</p><p><em>I would like to thank the </em><a href="https://www.augur.net/"><em>Augur</em></a><em> team for their invaluable suggestions and support while completing this work.</em></p><p><em>Please read the Incentivai </em><a href="https://incentivai.co/disclaimer/"><em>legal disclaimer</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=682636d2840f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/incentivai/simulation-of-the-augur-economy-682636d2840f">Simulation of the Augur economy</a> was originally published in <a href="https://medium.com/incentivai">Incentivai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Incentivai — what is it really all about?]]></title>
            <link>https://medium.com/@GruPiotr/incentivai-what-is-it-really-all-about-35c16fe3a376?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/35c16fe3a376</guid>
            <category><![CDATA[mechanism-design]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Tue, 04 Sep 2018 00:29:33 GMT</pubDate>
            <atom:updated>2018-09-04T06:12:35.997Z</atom:updated>
            <content:encoded><![CDATA[<p>It always starts with an interesting problem.</p><p>Many people give blockchain technology too much credit. Many give it too little credit. I believe that is at least partly due to there being a confusion as to what it is <em>really</em> that we can do now that we couldn’t without blockchain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h3TmYv9QKvHdnHlbNYAhfw.jpeg" /><figcaption>Blockchain confusion Venn diagram</figcaption></figure><p>What is it that makes something a C thing? I believe there are two requirements. If either of them is not strictly necessary, it’s a B thing.</p><p>What you want to build is a C thing if and only if it is <em>required</em> to be:</p><ol><li>Decentralised</li><li>Self-executable</li></ol><p>I will provide explanations and examples to add more colour to the above. Before that I do want to say two things.</p><p>The above definition is not rigorous because neither of the above two is binary and fully well-defined. For example, there might be different levels of decentralisation. The same design might be <em>sufficiently decentralised</em> for one application, not another. Ultimately, it is a matter of subjective judgment.</p><p>It is not to say that blockchain should only ever be used for C things. There are many reasons why it should also be used for B things, for example for educational purposes.</p><h3>Decentralised</h3><p>A system is decentralised if no one person or entity can decide its outcome without first coming to an agreement with others.</p><p>If 10 people go on a trip and it’s Franek who decides whether it’s going to be to Cambridge or Oxford, it’s a centralised system. If everyone votes and majority decides, it’s a decentralised system. If 3 people go to Franek and say “you decide, please vote on my behalf”, the system becomes <em>more centralised</em>.</p><p>Systems can be decentralised to a certain degree, it’s not binary. What makes it <em>sufficiently decentralised</em> for a particular use case is a matter of judgment.</p><h3><strong>Self-executable</strong></h3><p>A system is self-executable if, based on its operation today, there are sufficient guarantees that it will continue operating in the foreseeable future. The definition only considers systems that require human input, thus have an <em>economy</em> element to it. (strictly speaking “the Sun rising every morning” is also a self-executable system)</p><p>Bitcoin, the bank where you keep your savings, the API your company uses to stream weather data can all be considered self-executable to a certain degree. Maintainers of those systems would incur substantial financial loss if they were to suddenly stop operation.</p><p>Some people describe the above concept by calling blockchain trustless or <a href="https://www.economist.com/leaders/2015/10/31/the-trust-machine">the trust machine</a>. Self-executable systems replace the strong assumption that people are trustworthy with a much weaker assumption that people are economically rational.</p><h3>Not decentralised, self-executable</h3><p>Most of what we interact with in the world today, belongs to this category. If I am reading a newspaper today, I am fairly confident that the next issue will be available tomorrow. Me being able to purchase it today is a sufficient proof that publishing newspapers is a profitable enough business for it to be available in the foreseeable future.</p><p>However, whether the newspaper is still a reliable source of information tomorrow depends on just one entity, the publisher. If they are economically irrational, or have incentives external to making a truth-seeking customer happy (e.g. focusing on ads or promoting particular political views), they have enough power to overnight decide to stop being one.</p><h3>Decentralised, not self-executable</h3><p>This one takes a bit more imagination.</p><p>Imagine I am running a small shop that sells fruit and vegetables. I want it to be completely decentralised. Every morning, I ask every single person in the city what they think the price of every product should be and then use the median vote as the actual price.</p><p>Some people might think that average would work better than median so if more than 50% back that proposal, it gets enforced. Some might think that 50% is too low of a majority and voting time should be extended to 2 days. If those get enough backing, they get enforced too. In short, I simply provide the suggested initial rules of the system and they are free to be disputed and changed by the city population.</p><p>That solution seems very decentralised but at the same time not self-executable. It seems highly likely that running the shop and constant voting would make the business very unprofitable. Me, as the shop owner, would quickly decide to give up on it or would never have started it in the first place.</p><h3>Decentralised, self-executable</h3><p>Most of you probably found the above scenario quite ridiculous. Please note, however, that there is only one element missing from making it essentially what Bitcoin is today: make it self-executable.</p><p>Remove the shop owner and add clever technology to make running the shop and voting smooth. As long as users believe that other users see value in a shop where no one person can change its prices or shut it down, the shop will run <em>forever</em>.</p><h3>Not so fast</h3><p>It’s not that easy though. What stops me from bribing a lot of people to vote to set the price of apples to $0.0001, buy all of them and later sell on the black market? Hopefully, the rules are set up in such a way that that scheme (or any other I could possibly think of), wouldn’t work. I would either end up losing money, or other people wouldn’t be interested in accepting my bribes.</p><p>We need to come up with every possible attack and make sure it doesn’t work. What if we missed something?</p><p>There is no way to stop the shop once it’s been launched. We might start a new, improved shop v2.0 and hope that all people switch to that one. It is possible that they will, especially if the change is in their benefit. But that also comes at a cost. Switching once every few years is probably fine. Switching as frequently as iPhone app upgrades is certainly not fine.</p><p>It would be really great to get it right the first time…</p><h3>What do we do?</h3><p>Great question.</p><p><em>Test for all the possible attacks?</em></p><p>Sounds like a lot of work. Also, you need to be confident that none of the numerous grocery-hackers eyeing millions of $$$ worth of apples would be able to outsmart you.</p><p><em>Define all actors, their objectives, dominant strategies and find the equilibrium?</em></p><p>That sounds tempting. Maybe we can make assumptions about who is likely to use the shop and what they care about. Then we can find their optimal strategies and the equilibrium state the system will naturally converge to.</p><p>That’s a very hard problem. We could try to make it easier by making more assumptions. Then again, assumptions about what real humans care about are likely to be wrong. Finally, how likely are users to not only <em>find</em> their optimal strategies but also <em>follow</em> them?</p><h3>Enters Incentivai</h3><p>That is exactly where Incentivai was born.</p><p>Let’s not make assumptions about what people care about and how rational they are, but rather, treat those as parameters.</p><p>Let’s have human-like ML agents find optimal strategies given what they care about as we explore the space of all the possible ways we can be wrong in our assumptions.</p><p>Let’s take a step back, look at how the system operates as a whole and see if we are happy with how robust it is.</p><h3>Bonus</h3><p><em>Wait! I thought Incentivai was about smart contracts and so far in this article you didn’t mentioned blockchain once!</em> one might say.</p><p>Of course, they would be wrong. I mentioned blockchain several times.</p><p>But yes, design of economic incentives applies to self-executable systems that are decentralised to a varying degree. If your <em>Uber for X</em> startup launches a new referral scheme to acquire new customers, why run 1000 A/B tests if you can run just the top 10 most promising ones according to simulation results?</p><p>There is no free lunch, however. It’s not easy to throw a 7-layer deep neural net at the hardest problem out there and, just like that, get it to work quickly. Not to mention generalise to all other, simpler problems.</p><p>Blockchain is the dream world of any ML algorithm. Everything is structured, everything is a number. No wonder computers have been beating us at chess for decades yet would still be nowhere near able to comprehend why <a href="https://www.vanityfair.com/news/2010/08/the-barry-pranksters-the-practical-jokes-of-the-obama-administration">this photo</a> is funny.</p><p>We know where to start and we know where we’re headed.</p><p>If you got this far and at any point thought to yourself <em>well this is pretty cool, I guess I could see myself working on this sort of thing maybe</em>, <a href="http://incentivai.co/">find out more</a> and I’d love to <a href="https://angel.co/incentivai/jobs/421745-machine-learning-engineer">hear from you</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35c16fe3a376" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bonding curve simulation using Incentivai]]></title>
            <link>https://medium.com/incentivai/bonding-curve-simulation-using-incentivai-2b2bfe0c6400?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b2bfe0c6400</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[mechanism-design]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Mon, 30 Jul 2018 14:41:46 GMT</pubDate>
            <atom:updated>2019-04-27T18:48:37.296Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Results of collaboration with <a href="http://oceanprotocol.com/">Ocean Protocol</a></blockquote><p><em>Tokenised ecosystems (e.g. curation markets) require effective mechanisms for distribution of their native tokens. Bonding curves are a promising continuous token model where early adoption is incentivised and price is adjusted based on current supply.</em></p><p><em>It is however extremely difficult to reason about the likely user behaviour resulting from a particular bonding curve setup. We believe that modelling and simulating the system can provide invaluable insights and guide the design process.</em></p><h3>1. Introduction</h3><p>This report discusses the results of testing a Bonding Curve setup using the <a href="http://incentivai.co/">Incentivai</a> simulation tool. The purpose of the analysis is to observe the behaviour of greedy Machine Learning agents to identify behaviour patterns likely to occur once the system is deployed to real users.</p><p>This introductory analysis focuses on the behaviour of greedy speculators (users seeking profit rather than purchasing asset tokens for their functionality) and the overall characteristics of the system. Follow-up analysis should include and not be limited to:</p><ul><li>model for utility of the asset token (usage and potential intrinsic value)</li><li>prevalence and characteristics of possible front-running attacks</li><li>alternative characteristics and parametrisation of the bonding curve</li><li>embedding the bonding curve simulation as a component of the large system being designed</li></ul><p>The plan of this report is as follows. The next section summarises key findings and conclusions. Sections 3 and 4 introduce main concepts behind token bonding curve and the Incentivai simulation setup, respectively. Experimentation results are discussed in section 5 with a focus on agent strategies in section 6. Finally, visualisations of 5 simulation runs are included in the Appendix.</p><h3>2. Key findings</h3><ul><li>Asset token price consistently reaches and oscillates around the value of 50,000 (given the bonding curve setup and assumed users’ budget)</li><li>Asset token price is more volatile when its initial distribution is uneven</li></ul><h3>3. Bonding curve</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v4CaucXZpK6C-TRd_BFT8A.png" /><figcaption>Quadratic bonding curve</figcaption></figure><p>Bonding curve is a token pricing model <em>where the buy price, tp, is determined by the current supply, tc, of the new token</em> (<a href="https://medium.com/@simondlr/tokens-2-0-curved-token-bonding-in-curation-markets-1764a2e0bee5">source</a>). The new token is referred to as asset token and its price is relative to the reference token which is assumed to be the means of exchange. In this analysis, the curve follows equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/150/1*ptEOgMqgRsh1St2PQA58Lw@2x.png" /></figure><p>Therefore, the cost of purchasing volume v tokens can be determined as the relevant area under the bonding curve from equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*PqIG-Uq_TELp5IqxzPxAdQ@2x.png" /></figure><p>Speculators may take advantage of the system by buying into the asset token, waiting for others to follow and exiting their position. This attack is sometimes referred to as <em>pump and dump</em> since speculators attempt to artificially increase the token price which drops substantially as soon as they sell back.</p><p>Sections 5 and 6 analyse this kind of behaviour in more detail. The main consideration is to find the right time to exit when token price is unlikely to inflate any further.</p><h3>4. Simulation setup</h3><p>The bonding curve system is represented as an environment where ML agents can observe its current state and possible actions: no action (skip) or buying/selling tokens subject to their budget constraints. Agents estimate which action is the most beneficial to them based on their objective which in the greedy case is to accumulate as much wealth as possible (be it in asset or reference tokens).</p><p>The simulation setup allows for observing the behaviour of the system as a whole and, in particular, the evolution of asset token price with time. Additionally, the Incentivai tool gives insights into strategies considered by agents by looking at their confidence in choice of optimal action and other actions that have been considered (see section 6).</p><p>Simulation assumes two types of users taking part:</p><ul><li>Agents who follow simple heuristics and form the background for the analysis. They are willing to buy into the system but are constraint by their budget and unlikely to take on significant risks.</li><li>Machine Learning agents who make decisions based on the current state of the market and their estimate of what is likely to happen in the future. They are willing to take on risks and speculate as long as the estimated consequences of their actions are beneficial to them.</li></ul><h3>5. Results</h3><p>Quadratic curve is an aggressive pricing model where a lot can be gained by speculators who manage to buy in with significant volume at a low price and then sell at the right time. Scenarios A and B show different simulation realisations of the same initial setup.</p><p>What one can observe is that the behaviour of users who are the first ones to participate in the bonding curve scheme has a big influence on subsequent system performance. In particular, uneven token distribution makes the token price more volatile. The asset token price moves around a similar equilibrium (50,000) yet with a larger amplitude.</p><h4>5.1 Scenario A</h4><p>Figure 2 presents scenario A where one user (agent 18) manages to buy 100 tokens early on. The blue curve represents asset token price changing over time. Important events (high-volume transactions of volume 30 or above) are marked on the chart.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jyTEu8UBPf1qzq2t9WnupA.png" /><figcaption>Scenario A</figcaption></figure><p>In the scenario above, agent 18 manages to take control of large proportion of tokens early on. This results in the token price being very volatile since the agent is able to single-handedly cause large price movements.</p><p>Agent 18 sells most of their asset tokens early on and then decides to enter another large position (volume 50). Once token price inflates further, they are able to exit and finally sell most of the rest of their tokens later (volume 60). Each of these high-volume transactions significantly moves the price.</p><ul><li>Sell 70 in timestep 101</li><li>Buy 50 in timestep 137 and sell 60 in timestep 240</li><li>Sell 60 in timestep 347</li></ul><p>As a result of this uneven asset token distribution, its price moves significantly up and down the 50,000 value reaching maximum around 70,000 and dropping to as low as 30,000.</p><h4>5.2 Scenario B</h4><p>In scenario B (figure 3), 5 different users buy in early on which results in a more even distribution of the asset token.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8UGzxXCQi2MCg0HsKeLwWg.png" /><figcaption>Scenario B</figcaption></figure><p>It is still possible to observe similar enter-exit schemes performed by individual agents. They are however of lower magnitude and spread among different users rather than dominated by one:</p><ul><li>Agent 19: Buy 30 in timestep 6 and sell 30 in timestep 46</li><li>Agent 16: Buy 30 in timestep 333 and sell 30 in timestep 340</li></ul><p>As a result, asset token price is less volatile when oscillating around the value of 50,000.</p><h3>6. Analysis of agents’ strategies</h3><p>The Incentivai simulation tool uses custom code thanks to which it is <em>white box</em>. It is possible, to some extent, to unpack and understand decisions taken by agents. They approximate their optimal strategy based on what is likely to follow in the future before they choose what to do <em>now</em>. This gives insights into why an agent decided to take a particular action.</p><h4>6.1 Scenario A</h4><p>In scenario A (figure 2) timestep 101, agent 18 decides to sell 70 out of their 100 asset tokens. The table below gives insights into that decision by showing the top 3 <em>short-term strategies</em> considered by the agent. As an example, strategy I would involve selling 70 asset tokens immediately and 30 at the next occasion (subject to agent’s trading frequency).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*Gl3-2DHU8MjhoqSZoqsOrA@2x.png" /></figure><p>All three top strategies involved selling almost all tokens very soon. Interestingly, strategies II and III suggested holding off, presumably in the hope that other users would purchase tokens and increase the price in the meantime. Agent estimated that the risk involved would be too high and chose to sell 70 asset tokens immediately.</p><h4>6.2 Scenario B</h4><p>In scenario B (figure 3) agent 16 buys 40 asset tokens early on (timestep 4) and does not make a high-volume sell until timestep 199. We can analyse decisions made along the way that have led to holding rather than selling early.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*BqP8nKuTsv7f2uIBSC9ycQ@2x.png" /></figure><p>At timestep 7, the price has already reached 36, 100 but agent’s estimates suggest that it is likely to go further up. In fact, the optimal strategy they have found is to buy 5 more asset tokens with the plan to hold and sell 40 later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*xhzJPC6z60R6GyG-sp40VQ@2x.png" /></figure><p>At timestep 86 when the price has gone up further still, agent’s decision is still to hold but there is less confidence around it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*xmRmE11Br8K7KVxcfg7tuw@2x.png" /></figure><p>Finally, at timestep 199 when price has crossed the 55,000 mark, selling immediately becomes the estimated most beneficial action to take.</p><h3>Conclusions</h3><p>Modelling and simulation with ML agents allows for estimating the likely behaviour of users interacting with the bonding curve system. Greedy agents where found to buy tokens and exit when the price was estimated as unlikely to increase further. This resulted in price volatility which was particularly high when token distribution among users was uneven.</p><h3>Appendix</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jyTEu8UBPf1qzq2t9WnupA.png" /><figcaption>Scenario A</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8UGzxXCQi2MCg0HsKeLwWg.png" /><figcaption>Scenario B</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cn1NUhaoHAi0YWaMTyhNhg.png" /><figcaption>Scenario C</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LCqkbePKSk998wzDcz3dKg.png" /><figcaption>Scenario D</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TgHJjKWWqrRn8XGS0mWh6w.png" /><figcaption>Scenario E</figcaption></figure><p>If you found that analysis interesting, please <a href="https://twitter.com/incentivai">follow Incentivai</a> or visit the <a href="http://incentivai.co/">website</a> to learn more. If you and your team would like to use the Incentivai simulation tool for your analysis, please <a href="http://incentivai.co/">reach out</a>.</p><h3>Acknowledgments</h3><p><em>I would like to take this opportunity to thank </em><a href="https://twitter.com/trentmc0"><em>Trent McConaghy</em></a><em>, </em><a href="https://twitter.com/DimitriDeJonghe"><em>Dimitri De Jonghe</em></a><em> &amp; </em><a href="https://twitter.com/gongf05"><em>Fang Gong</em></a><em> from the </em><a href="http://oceanprotocol.com/"><em>Ocean Protocol</em></a><em> team for their input and support. Also, I found the insights and resources on bonding curve models published by </em><a href="https://twitter.com/simondlr"><em>Simon de la Rouviere</em></a><em> invaluable.</em></p><p><em>Please read the Incentivai </em><a href="https://incentivai.co/disclaimer/"><em>legal disclaimer</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b2bfe0c6400" width="1" height="1" alt=""><hr><p><a href="https://medium.com/incentivai/bonding-curve-simulation-using-incentivai-2b2bfe0c6400">Bonding curve simulation using Incentivai</a> was originally published in <a href="https://medium.com/incentivai">Incentivai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Modelling incentives: importance of ML-based approach and the human factor]]></title>
            <link>https://medium.com/incentivai/modelling-incentives-importance-of-ml-based-approach-and-the-human-factor-920818ffe790?source=rss-9f6021365448------2</link>
            <guid isPermaLink="false">https://medium.com/p/920818ffe790</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[mechanism-design]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Piotr Grudzien]]></dc:creator>
            <pubDate>Thu, 12 Jul 2018 20:02:02 GMT</pubDate>
            <atom:updated>2019-04-27T18:46:45.356Z</atom:updated>
            <content:encoded><![CDATA[<p>It’s fair to say that nowadays there is increasing interest in systems that coordinate behaviour and build trust by setting <em>incentives</em> for users.</p><h3>e^👁🥧 on Twitter</h3><p>Going to create a site where the public can rate the core truth of any article &amp;amp; track the credibility score over time of each journalist, editor &amp;amp; publication. Thinking of calling it Pravda ...</p><p>How do you design such a system? How do you reward and penalise users such that their <em>dominant strategy</em> is to be honest, reliable, unbiased and hard-working? <strong>It’s all about the incentives</strong>.</p><p>We might also want to <strong>decentralise</strong> our system such that nobody owns it, or rather, everyone owns it. Enter <em>blockchain</em> and <em>smart contracts</em>. News curation is just one application among many: <a href="https://aragon.one/">DAOs</a>, <a href="https://www.nexusmutual.io/">insurance</a>, <a href="https://www.augur.net/">prediction markets</a>, <a href="https://dharma.io/">lending</a>, <a href="https://filecoin.io/">storage</a>, <a href="https://golem.network/">compute power</a> and many more…</p><p>Getting the incentives right is all about <a href="https://en.wikipedia.org/wiki/Mechanism_design">mechanism design</a>. Mechanism design is hard.</p><blockquote>If there is <a href="https://en.wikipedia.org/wiki/No_free_lunch_theorem">no free lunch in machine learning</a>, in mechanism design there is nothing to eat at all.</blockquote><p>At <a href="http://incentivai.co/">Incentivai</a>, we build a tool for testing the incentive structure of your system. We simulate your environment and observe the behaviour and failure modes identified by ML agents. One way to look at it is that the agents approach your smart contract system the way <a href="https://en.chessbase.com/post/the-future-is-here-alphazero-learns-chess">AlphaZero</a> approaches chess.</p><p>See our <a href="https://medium.com/incentivai/incentivai-analysis-of-the-nexus-mutual-smart-contract-system-a9f8a1ac7c47">case study</a>, the <a href="https://medium.com/incentivai/introducing-incentivai-41ce8ba87152">first</a> <a href="https://medium.com/incentivai/incentivai-4-stages-of-smart-contract-design-3082c545f84f">two</a> blog posts and the <a href="https://incentivai.co/incentivai_concept_paper_10032018.pdf">concept paper</a> to learn more.</p><h3>Why Machine Learning?</h3><p>The use of Machine Learning agents in simulations is critical for several reasons:</p><ul><li>agent behaviour is real-world-like</li><li>agents are capable of identifying new failure modes</li><li>agent behaviour quantifies the importance of failure modes</li></ul><h4>Will they offer bribes? Will they accept bribes?</h4><p>The <a href="https://medium.com/incentivai/incentivai-analysis-of-the-nexus-mutual-smart-contract-system-a9f8a1ac7c47">recently published analysis</a> looked at the <a href="https://www.nexusmutual.io/">Nexus Mutual</a> system (decentralised alternative to insurance). One of the key failure modes is the possibility of submitting false insurance claims and offerring bribes to users who vote to accept them.</p><p>While it is obvious that such an attack exists in theory, it is crucial to simulate and check under what circumstances it is more prevalent and how to <em>tune system parameters</em> to mitigate it.</p><p>For the attack to be a real threat, there need to be <em>both</em> users who find it beneficial to offer a bribe and those who are willing to accept it. During simulations, Machine Learning agents <em>make decisions</em> that are most likely to be beneficial for them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j3-A4QU6V_9mDmFociRgqg.png" /><figcaption>Bribe acceptance rate as a function of vote bond size (risk averse users)</figcaption></figure><p>One way to discourage users from accepting bribes is to <em>increase the amount they put at stake</em> when voting. They would only accept a bribe if they strongly believe others will vote the same way, otherwise the risk is too high.</p><p>In the graph above we can see that increasing the bond size to a relative value of 30, reduces bribe acceptance rates across all scenarios to around 20%.</p><h3>The human factor</h3><p>The users of your system will eventually be real people, so modelling the <em>human factor</em> is essential.</p><p>Taking insurance as an example, it is particularly important to go beyond modelling humans as rational profit-maximising agents. They need to be assumed to be <em>risk averse</em> (continuous low cost preferred to one-time large losses in spite of higher expected long-term return on the latter).</p><p>In order to make the system robust, it cannot assume a certain risk profile. Your design must not be too <em>sensitive</em> to any particular assumption made but rather perform well across a <em>wide range of scenarios</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xN_8UlE-AMzTFHt6ppWnhg.png" /><figcaption>Bribe acceptance rate as a function of vote bond size (less risk averse users)</figcaption></figure><p>The graph above is equivalent to the one shown earlier except it assumes that users are <em>less risk averse</em>. Even though, as expected, they purchase fewer insurance covers (50–100 as opposed to 200–250), their willingness to accept bribes follows a similar pattern. This shows that decreasing the bond size is a <em>robust</em> measure against bribing schemes.</p><h3>Conclusion</h3><p>Reasoning about interactions in complex systems and designing incentive structures is <em>hard</em>. However, getting them right is a crucial prerequisite for widespread user adoption.</p><p>Running simulations of your system prior to deployment allows for <em>iterative improvement</em> of your design. Machine Learning agents make simulation results more insightful and real-world-like.</p><p>Agents <em>make decisions that are best for them</em> the way humans do. That way they are capable of identifying and quantifying various failure modes.</p><p><em>If you and your team would like to use Incentivai to test the incentive structure of your system, please </em><a href="http://incentivai.co/"><em>reach out</em></a><em> or </em><a href="https://twitter.com/incentivai"><em>check us on Twitter</em></a><em>.</em></p><p><em>Please read the Incentivai </em><a href="https://incentivai.co/disclaimer/"><em>legal disclaimer</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=920818ffe790" width="1" height="1" alt=""><hr><p><a href="https://medium.com/incentivai/modelling-incentives-importance-of-ml-based-approach-and-the-human-factor-920818ffe790">Modelling incentives: importance of ML-based approach and the human factor</a> was originally published in <a href="https://medium.com/incentivai">Incentivai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>