How A Log Market Scoring Rule Works thread

i was gonna do this at some point, now seems like a good time


0/
if you're not familiar with prediction markets in general, see this quick reply thread i just did with an overview

a log market scoring rule implements the market part of a prediction market. it's great because it's automated & always liquid



1/
to quickly recap, the first piece of a prediction market is a "conditional ATM"

you put in regular money, and it prints out "conditional money"

e.g. for a single yes/no event, you can put in $1 of regular money and get out both Y$1 (worth $1 if "yes") and N$1 (worth $1 if "no") illustration of "conditional ATM" which takes in $
to create an LMSR machine, you do need to front some money. u can think of it like a subsidy for the information you want to get out of the prediction market.

you take your initial subsidy $, feed it through the conditional-ATM, and put all the conditional$ into the LSMR

3/
the state of the LMSR machine is determined by the ratio between its current contents compared to its initial contents

these ratios can be converted into probabilities by raising 1/2 to the power of the ratio

(concrete example in the next tweet, if the above is confusing)

4/
for example, say you initialize an LMSR with $10

then it will contain Y$10 and N$10 initially

at the start, its current state will equal its initial state, so Y and N will both have probability (1/2)^(10/10)=50%

5/
the core rule of the LMSR is simply:

the probabilities must always sum to 100%

if u want to take some Y$ out of the LMSR, u have to put in enough N$ so that the probabilities still sum to 100%

this completely specifies the behavior.

(don't worry; examples still coming!)

6/
say you want to take out Y$5 from the LMSR.

if you didn't put in any N$ to balance it out, the probabilities would then exceed 100% - no good!

in order to balance out the machine having only Y$5, it would need a total of N$17.7

7/ example of unbalanced LMSR with probabilities exceeding 100%example of balanced LMSR with probabilities equal 100%
so for the example above, you need to put in N$7.7 in order to get out Y$5

the LMSR doesn't create or destroy any Y$ or N$; it just trades them in such a way that it always keeps its own stock of Y$ and N$ representing probabilities that sum to 100%

8/
you can also see that you will never be able to get *all* of the Y$ out of the LMSR, because that would set its probability to 100%. then you would need to put in infinite N$ to get its probability to 0%, and you don't have infinite money.

this means the LMSR never run out!

9/
typically, you probably just want to buy all Y$ or all N$. you can accomplish this by using both the conditional-ATM and the LMSR machine together.

say you want all N$. first, put some regular money into the conditional-ATM. then trade your extra Y$ for N$ at the LMSR.

10/
if the amount you are buying is small compared to the original subsidy, then the price to buy Y$1 using the above method will be ~equal to the current *probability* corresponding to Y$1

that is, if the LMSR reports 30% probability for "yes", then you can get Y$1 for ~30¢

11/
the internal contents of the LMSR also have a neat theoretical interpretation—the *suprisal*, or self-information

the number of Y$ is the suprisal of seeing "yes"; the number of N$ is the suprisal of seeing "no"



12/
this setup also generalizes really simply to N cases instead of just yes/no

say you want to see which of 5 candidates will win an election

then the conditional ATM prints 5 different bills (instead of 2) & the LMSR base for calculating probabilities is 1/5 instead of 1/2.

13/
if you want more details, the best source imo is still this paper by @robinhanson where he introduces the concept: mason.gmu.edu/~rhanson/mktsc…

14/
as usual, i did all the drawings and animations for this thread using blender grease pencil. go #b3d!

15/

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with prerat

prerat Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @prerationalist

30 Dec 21
my favorite thing is when poasters end their feuds and become bros
inspired by @taalumot & @deepfates
Read 4 tweets
21 Sep 21
intro to "bouncy numbers"! 🧵

(I have been wanting to explain this for a while, and I don't think my current explaining approach is perfect, but it's good to start with something!)

there's a punchline, but I'm gonna start by introducing "bouncy numbers" as their own thing

1/
a regular number sits on the number line and it sits still.

for example, here is the number 1.

(see, no bouncing!)
a "bouncy" number moves as if it were attached to an (ideal) spring.

here's a "bouncy" 1.

notice how it starts on the number line at 1, then swing over through 0 and eventually to -1, then swings back and starts over.
Read 22 tweets
20 Sep 21
it's not about the note taking app

it's about your *relationship* with the note taking app
this is a joke but it's also true
a todo list is a terrible boss! that's not a good relationship between you and your app
Read 4 tweets
13 Dec 20
the optimal amount of self-coercion is zero 😊

but what if you have something you "really need to do"?

there might be a way forward that doesn't involve "forcing" or "tricking" or "willpower" or "self-incentives"

here are some (non-coercive) ideas to get un-stuck:
1/

surrender & see

just REALLY committing to "I won't do it unless I wholeheartedly want to"

this doesn't always work, but often for me (more often than I thought!) the resistance immediately disappears after this promise

if it doesn't work immediately, try some more things:
2/

imagine yourself doing the thing in detail, to convince your gut it is indeed possible!

(sometimes gut thinks something is impossible when it actually is possible. but other times gut is RIGHT, so try to *convince* it like this, instead of *coercing* it)
Read 6 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(