Tokens and
Complex Systems
Trent McConaghy
@trentmc0
Outline
• Trust machines
• Incentive machines
• EA design for token design
• Benevolent computer viruses
• AI DAOs
• Blockchains as life
Blockchains as
Trust Machines
Blockchains: Google Sheets, Minus the Google
What’s special:
- no one owns it
- anyone can add to it
- no one can delete from it
- Writing to a blockchain is like
etching in stone.
- The sheet stores a list of
transactions (txs).
- Then we use txs to issue assets,
and transfer them
Blockchains are databases with
“blue ocean” benefits
Decentralized / shared control
Immutability / audit trail
Assets / exchanges
How:
• Decentralized: Byzantine fault tolerant (BFT) consensus
• Immutable: chain of blocks = hash linked list of transaction groups
• Assets: digital signature on every transaction
“Trust machine” because it minimizes trust needed to operate.
Alice
Mongo
DB
Blockchains as
Incentive Machines
What’s the amazing thing about blockchains?
•Decentralized?
•Immutability?
•Assets
•One more…
Blockchain Superpower:
Get people to do stuff
By rewarding with tokens
Economic Incentive for Bitcoin
Objective: Maximize security of network
• Where “security” = compute power
• Therefore, super expensive to roll back changes to the transaction log
E(Ri) α Hi * T
E() = expected
value
# tokens (BTC)
dispensed each
block
block
rewards
hash power of actor
= contribution to
“security”
E(Ri) α Hi * T
Bitcoin Token Release Schedule
F(H, t) = 1 - (0.5t/10) = % tokens released after t years
• Schedule is fixed in advance
• 4 years for 50% of tokens released = half-life “the halvening”
Result of Bitcoin maximizing security?
Maximizing energy usage! > USA by mid 2019!
Result of Bitcoin maximizing security?
Maximizing energy usage! > USA by mid 2019!
Like paper-clip generating AI, but with energy…
Economic Incentive for Ocean
Objective: Maximize supply of high-quality data (for use by AI)
• This means: reward curating data + making it available
• Where “curating” = betting on data. Reward taste-making.
E(Rij) α log10(Sij) * log10(Dj) * T *Ri
Expected
reward for user
i on dataset j
Dj = proofed popularity
= # proof-of-service
invoked (eg # deliveries
of dataset j)
Sij = predicted popularity
= user’s curation market
stake in service j
(eg dataset j)
# tokens
during
interval
Complex Systems
in Token Design
Design of Tokenized ecosystem
≈ Design of EAs (Evolutionary Algorithms)
What Tokenized ecosystem Evolutionary Algorithm
Goals Block reward function
E.g. “Maximize hash rate”
Objective function
E.g. “Minimize error”
Measurement
& test
Proof
E.g. “Proof of Work”
Evaluate fitness
E.g. “Simulate circuit”
System agents Miners & token holders (humans)
In a network
Individuals (computer agents)
In a population
System clock Block reward interval Generation
Incentives &
Disincentives
You can’t control human,
Just reward: give tokens
And punish: slash stake
You can’t control individual,
Just reward: reproduce
And punish: kill
Agent-based Systems for Token Simulation
• Q: How do we design computer chips?
• A: Simulator + CAD tools
• Q: How are we currently designing tokenized
ecosystems?
• A: By the seat of our pants!
• Which means we might be getting it all wrong!
What we (desperately) need:
1. Simulators: agent-based systems
2. CAD tools: for token design
Reason #37 why you might care: there is tons of
$$ at stake (and we might be getting it all wrong)
Benevolent
Computer Viruses
(aka Smart Contracts)
Then you get
decentralized processing
aka smart contracts.
And you can build a
world computer
having decentralized processing,
storage, and communications
(e.g. Ethereum vision)
What if you used a blockchain (database)
to store state of a state machine?
State
Virtual machine
Decentralized applications
(Dapps)
World computer
Blockchain
DAO: a computational process that
• runs autonomously,
• on decentralized infrastructure,
• with resource manipulation.
It’s code that can own stuff!
(Or, good computer viruses)
DAO: Decentralized Autonomous Organization
State
Virtual machine
DAO Dapp
World computer
Blockchain
AI DAOs
AI entity is a feedback control system.
That is, AGI.
Its feedback loop would continue on
its own, taking inputs, updating its
state, and actuating outputs, with the
resources to do so continually.
AGI on a DAO?
State
Virtual machine
AI DAO Dapp
World computer
Blockchain
An AI DAO is …
• An AI running on decentralized processing substrate
<or, equivalently>
• A DAO running with AI algorithms
Definition of AI DAO
Example: The ArtDAO
Algorithm…
1. Run AI art engine to generate new image, using GP or deep
2. Claim attribution in blockchain
3. Create multiple editions
4. Post editions for sale onto a marketplace, using Getty
(centralized), or OpenBazaar (decent.)
5. Sell the editions. $ goes to ArtDAO using built-in cryptocurrency
like Ether. IP go from ArtDAO using ascribe.
6. Repeat! Create more art, sell it, get wealthier
Example: The ArtDAO
Algorithm…
1. Run AI art engine to generate new image, using GP or deep
2. Claim attribution in blockchain, using ascribe
3. Create multiple editions, using ascribe
4. Post editions for sale onto a marketplace, using Getty
(centralized), or OpenBazaar (decent.)
5. Sell the editions. $ goes to ArtDAO using built-in cryptocurrency
like Ether. IP go from ArtDAO using ascribe.
6. Repeat! Create more art, sell it, get wealthier
Over time, if ArtDAO makes more money from sales
than from generating new art, then
it will accumulate wealth. And, you can’t turn it off.
AI DAO
Architectures
AI DAO Arch 1/3: AI at the Center
AI DAO Arch 2/3 : AI at the Edges
AI DAO Arch 3/3 : Swarm Intelligence
Many dumb agents with emergent AI complexity
Angles to Making AI DAOs
• DAO  AI DAO. Start with DAO, add AI. E.g. Plantoid
• AI  AI DAO. Start with AI, add DAO. E.g. numer.ai
• SaaS  DAO  AI DAO. Convert SaaS to DAO. Then add AI
• Physical service  AI DAO. E.g. Uber self-owning cars
Evolving the ArtDAO
Market
Art work
Code
Level to adapt at
How to
adapt
Human-based adapt at the code level.
Here, humans put in new smart contract
code (and related code in 3rd party
services), to improve ArtDAO’s ability to
generate art and amass wealth.
Evolving the ArtDAO
Market
Art work
Code
Level to adapt at
How to
adapt
Auto adapt at the market level.
It creates more of what humans buy, and
less of what humans don’t buy.
Evolving the ArtDAO
Market
Art work
Code
Level to adapt at
How to
adapt
Auto adapt at the art-work level.
Here, a human influences the creation of an
artifact. For example, it presents four variants of
a work, and a human clicks on a favorite. After
10 or 50 iterations, it will have a piece that the
human likes, and purchases.
Evolving the ArtDAO
Auto adapt at the code level.
Here, the ArtDAO modifies its own code, in hopes of improving.
• It creates a copy of itself, changes that copy’s code just a little bit, and gives a tiny bit of
resources to that new copy.
• If that new copy is bad, it will simply run out of resources and be ignored.
• But if that new copy is truly an improvement, the market will reward it, and it will be able
to amass resources and split more on its own.
• Over time, ArtDAO will spawn more children, and grandchildren, and the ones that do well
will continue to spread. We end up with a mini-army of AI DAOs for art.
• If buyers are DAOs too, it’s a network of DAOs, leading to swarm intelligence
We can extrapolate way further. It gets crazy, quickly.
A simple ArtDAO allows us to “idea-inoculate” so we’re
ready for the scarier stuff…
Market
Art work
Code
Level to adapt at
How to
adapt
Giving Personhood to an AI DAO
With Today’s Laws (!)
Blockchains as
Life
Blockchains as Life (Merkle)
-Ralph Merkle, “DAOs, Democracy and Governance”, May 2016
Blockchains as Life (Merkle)
-Ralph Merkle, “DAOs, Democracy and Governance”, May 2016
Conclusion
Trent McConaghy
@trentmc0
We covered:
• Blockchains as trust machines, and incentive machines
• You can get people to do stuff!
• Complex systems for token design. EAs, agents
• Smart contracts are benevolent computer viruses
• AI DAOs = amazing intersection of AI * blockchain
• Blockchains as life
The complex systems world has useful theory & tools for blockchain
world; and blockchain has many interesting problems!
Conclusion

Tokens and Complex Systems

  • 1.
  • 2.
    Outline • Trust machines •Incentive machines • EA design for token design • Benevolent computer viruses • AI DAOs • Blockchains as life
  • 3.
  • 5.
    Blockchains: Google Sheets,Minus the Google What’s special: - no one owns it - anyone can add to it - no one can delete from it - Writing to a blockchain is like etching in stone. - The sheet stores a list of transactions (txs). - Then we use txs to issue assets, and transfer them
  • 6.
    Blockchains are databaseswith “blue ocean” benefits Decentralized / shared control Immutability / audit trail Assets / exchanges
  • 7.
    How: • Decentralized: Byzantinefault tolerant (BFT) consensus • Immutable: chain of blocks = hash linked list of transaction groups • Assets: digital signature on every transaction “Trust machine” because it minimizes trust needed to operate. Alice Mongo DB
  • 8.
  • 9.
    What’s the amazingthing about blockchains? •Decentralized? •Immutability? •Assets •One more…
  • 10.
    Blockchain Superpower: Get peopleto do stuff By rewarding with tokens
  • 11.
    Economic Incentive forBitcoin Objective: Maximize security of network • Where “security” = compute power • Therefore, super expensive to roll back changes to the transaction log E(Ri) α Hi * T E() = expected value # tokens (BTC) dispensed each block block rewards hash power of actor = contribution to “security”
  • 12.
    E(Ri) α Hi* T Bitcoin Token Release Schedule F(H, t) = 1 - (0.5t/10) = % tokens released after t years • Schedule is fixed in advance • 4 years for 50% of tokens released = half-life “the halvening”
  • 13.
    Result of Bitcoinmaximizing security? Maximizing energy usage! > USA by mid 2019!
  • 14.
    Result of Bitcoinmaximizing security? Maximizing energy usage! > USA by mid 2019! Like paper-clip generating AI, but with energy…
  • 15.
    Economic Incentive forOcean Objective: Maximize supply of high-quality data (for use by AI) • This means: reward curating data + making it available • Where “curating” = betting on data. Reward taste-making. E(Rij) α log10(Sij) * log10(Dj) * T *Ri Expected reward for user i on dataset j Dj = proofed popularity = # proof-of-service invoked (eg # deliveries of dataset j) Sij = predicted popularity = user’s curation market stake in service j (eg dataset j) # tokens during interval
  • 16.
  • 17.
    Design of Tokenizedecosystem ≈ Design of EAs (Evolutionary Algorithms) What Tokenized ecosystem Evolutionary Algorithm Goals Block reward function E.g. “Maximize hash rate” Objective function E.g. “Minimize error” Measurement & test Proof E.g. “Proof of Work” Evaluate fitness E.g. “Simulate circuit” System agents Miners & token holders (humans) In a network Individuals (computer agents) In a population System clock Block reward interval Generation Incentives & Disincentives You can’t control human, Just reward: give tokens And punish: slash stake You can’t control individual, Just reward: reproduce And punish: kill
  • 18.
    Agent-based Systems forToken Simulation • Q: How do we design computer chips? • A: Simulator + CAD tools • Q: How are we currently designing tokenized ecosystems? • A: By the seat of our pants! • Which means we might be getting it all wrong! What we (desperately) need: 1. Simulators: agent-based systems 2. CAD tools: for token design
  • 19.
    Reason #37 whyyou might care: there is tons of $$ at stake (and we might be getting it all wrong)
  • 20.
  • 21.
    Then you get decentralizedprocessing aka smart contracts. And you can build a world computer having decentralized processing, storage, and communications (e.g. Ethereum vision) What if you used a blockchain (database) to store state of a state machine? State Virtual machine Decentralized applications (Dapps) World computer Blockchain
  • 22.
    DAO: a computationalprocess that • runs autonomously, • on decentralized infrastructure, • with resource manipulation. It’s code that can own stuff! (Or, good computer viruses) DAO: Decentralized Autonomous Organization State Virtual machine DAO Dapp World computer Blockchain
  • 23.
  • 24.
    AI entity isa feedback control system. That is, AGI. Its feedback loop would continue on its own, taking inputs, updating its state, and actuating outputs, with the resources to do so continually. AGI on a DAO? State Virtual machine AI DAO Dapp World computer Blockchain
  • 25.
    An AI DAOis … • An AI running on decentralized processing substrate <or, equivalently> • A DAO running with AI algorithms Definition of AI DAO
  • 26.
    Example: The ArtDAO Algorithm… 1.Run AI art engine to generate new image, using GP or deep 2. Claim attribution in blockchain 3. Create multiple editions 4. Post editions for sale onto a marketplace, using Getty (centralized), or OpenBazaar (decent.) 5. Sell the editions. $ goes to ArtDAO using built-in cryptocurrency like Ether. IP go from ArtDAO using ascribe. 6. Repeat! Create more art, sell it, get wealthier
  • 27.
    Example: The ArtDAO Algorithm… 1.Run AI art engine to generate new image, using GP or deep 2. Claim attribution in blockchain, using ascribe 3. Create multiple editions, using ascribe 4. Post editions for sale onto a marketplace, using Getty (centralized), or OpenBazaar (decent.) 5. Sell the editions. $ goes to ArtDAO using built-in cryptocurrency like Ether. IP go from ArtDAO using ascribe. 6. Repeat! Create more art, sell it, get wealthier Over time, if ArtDAO makes more money from sales than from generating new art, then it will accumulate wealth. And, you can’t turn it off.
  • 28.
  • 29.
    AI DAO Arch1/3: AI at the Center
  • 30.
    AI DAO Arch2/3 : AI at the Edges
  • 31.
    AI DAO Arch3/3 : Swarm Intelligence Many dumb agents with emergent AI complexity
  • 32.
    Angles to MakingAI DAOs • DAO  AI DAO. Start with DAO, add AI. E.g. Plantoid • AI  AI DAO. Start with AI, add DAO. E.g. numer.ai • SaaS  DAO  AI DAO. Convert SaaS to DAO. Then add AI • Physical service  AI DAO. E.g. Uber self-owning cars
  • 33.
    Evolving the ArtDAO Market Artwork Code Level to adapt at How to adapt Human-based adapt at the code level. Here, humans put in new smart contract code (and related code in 3rd party services), to improve ArtDAO’s ability to generate art and amass wealth.
  • 34.
    Evolving the ArtDAO Market Artwork Code Level to adapt at How to adapt Auto adapt at the market level. It creates more of what humans buy, and less of what humans don’t buy.
  • 35.
    Evolving the ArtDAO Market Artwork Code Level to adapt at How to adapt Auto adapt at the art-work level. Here, a human influences the creation of an artifact. For example, it presents four variants of a work, and a human clicks on a favorite. After 10 or 50 iterations, it will have a piece that the human likes, and purchases.
  • 36.
    Evolving the ArtDAO Autoadapt at the code level. Here, the ArtDAO modifies its own code, in hopes of improving. • It creates a copy of itself, changes that copy’s code just a little bit, and gives a tiny bit of resources to that new copy. • If that new copy is bad, it will simply run out of resources and be ignored. • But if that new copy is truly an improvement, the market will reward it, and it will be able to amass resources and split more on its own. • Over time, ArtDAO will spawn more children, and grandchildren, and the ones that do well will continue to spread. We end up with a mini-army of AI DAOs for art. • If buyers are DAOs too, it’s a network of DAOs, leading to swarm intelligence We can extrapolate way further. It gets crazy, quickly. A simple ArtDAO allows us to “idea-inoculate” so we’re ready for the scarier stuff… Market Art work Code Level to adapt at How to adapt
  • 37.
    Giving Personhood toan AI DAO With Today’s Laws (!)
  • 38.
  • 39.
    Blockchains as Life(Merkle) -Ralph Merkle, “DAOs, Democracy and Governance”, May 2016
  • 40.
    Blockchains as Life(Merkle) -Ralph Merkle, “DAOs, Democracy and Governance”, May 2016
  • 41.
  • 42.
    Trent McConaghy @trentmc0 We covered: •Blockchains as trust machines, and incentive machines • You can get people to do stuff! • Complex systems for token design. EAs, agents • Smart contracts are benevolent computer viruses • AI DAOs = amazing intersection of AI * blockchain • Blockchains as life The complex systems world has useful theory & tools for blockchain world; and blockchain has many interesting problems! Conclusion