this post was submitted on 01 Oct 2023
1137 points (97.5% liked)

Technology

59600 readers
3362 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (1 children)

mining is really just verifying transactions

Not correct.

Mining is a "proof of work", in the case of Bitcoin it's competing to be the first to find a hash that meets certain parameters (difficulty), for a block referencing the previous top one. Whether the new block has transactions in it or not, you get the same reward for being the first one to find and broadcast it.

Verifying is done by every node in the P2P network, both when deciding whether to relay candidate transactions, and when checking whether a new block's hash meets the mining requirements.

The Bitcoin blockchain has plenty of valid blocks with no transactions in them (part of a speculative mining strategy used by some to get the block reward faster than others).

The whole scheme works the same with any other kind of "proof of work", as long as the nodes relaying the new block can check whether the work happened or not (there are many ways in which that could be accomplished for AI training, the easiest of them by publishing the new model and having nodes check whether it meets some quality parameters).

[–] [email protected] 6 points 1 year ago (2 children)

I mean, yeah. I knew most of that, but I just wanted to keep it short and simple.

I don't really understand how it would work with AI training. If your computers are working on training AI instead of finding blocks, I don't see how you can support transactions. Just sounds like distributed computing with rewards to me, where you might be able to cash out at some central portal or smth, but you can't send other people that money directly (at least not over a blockchain, but would be possible vis that portal maybe, although, again, that wouldn't be a blockchain).

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (2 children)

Proof of work need not be useless. E.g. https://primecoin.io/

The tricky bit is finding a problem that is hard to solve but easy to verify. I'm not sure AI tasks fall into that category.

The transaction verification is separate to the work.

[–] [email protected] 3 points 1 year ago (1 children)

The tricky bit is finding a problem that is hard to solve but easy to verify. I'm not sure AI tasks fall into that category.

They actually do. Training an AI involves changing some values in the model in an attempt for it to better fit an optimization function. It takes many tries to find a set of values that perform better, but a single try to confirm it does.

Both sides require much more computing power than for a single hash, but the difficulty imbalance is still there, and verifiers could change "how much better fit" the next model needs to be, just like they do by changing difficulty requirements right now.

[–] [email protected] 2 points 1 year ago

True. The next iteration doesn't need to be optimal, just an improvement in the loss function.

Not sure how they would decide when to stop.

[–] [email protected] 1 points 1 year ago

Huh, neat. Thanks for the info!

[–] [email protected] 1 points 1 year ago

training AI instead of finding blocks

There is no "finding blocks" in Bitcoin, it isn't Minecraft. Miners work on "finding a better hash", for whatever block they want to propose. The two actions, creating a block, and working on finding a hash, are separate.

In a "proof of training an AI" blockchain, there would still be a hash linking one block to the previous one, just the proof for accepting a new block would no longer be looking for another (useless) hash.