Teburin Abubuwan Ciki
1. Gabatarwa
Fasahar Blockchain ta kawo sauyi ga masana'antu daban-daban tun lokacin da aka gabatar da Bitcoin, tana ba da hanyoyin amincewa masu rarrabawa ta hanyar algorithms na yarjejeniya kamar hujjar-aiki. Duk da haka, tsarin hujjar-aiki na al'ada yana cinye albarkatun lissafi masu yawa don warware wasu takalmamin lissafi marasa ma'ana, wanda ke haifar da ɓarnatar makamashi mai yawa da kuma damuwa game da muhalli.
Wannan takarda tana ba da shawara game da wani sabon tsari wanda ke canza hujjar-aiki zuwa matsalar koyo mai ƙarfafawa, inda nodes na blockchain ke haɗin gwiwa don horar da cibiyoyin jijiyoyi masu zurfi yayin kiyaye tsaron cibiyar sadarwa. Wannan hanyar tana magance babban iyaka na tsarin blockchain na al'ada ta hanyar sanya aikin lissafi ya zama mai ma'ana kuma mai amfani ga ƙalubalen AI na ainihi.
Ceton Makamashi
Ragewa har zuwa 65% na amfani da makamashin lissafi idan aka kwatanta da PoW na al'ada
Ingancin Horarwa
Sau 3.2 mafi saurin haɗuwa a cikin horon RL mai rarrabawa a cikin nodes na blockchain
Tsaron Cibiyar Sadarwa
Yana kiyaye kashi 99.8% na tsaron blockchain na al'ada yayin ba da fa'idodin AI
2. Hanyar Aiki
2.1 Blockchain a matsayin Tsarin Yarjejeniya na Markov
Ana ƙirƙira tsarin girma blockchain a matsayin Tsarin Yarjejeniya na Markov (MDP) inda:
- Yanayi (S): Yanayin blockchain na yanzu wanda ya haɗa da ma'amaloli, tubalan baya, da yanayin cibiyar sadarwa
- Aiki (A): Zaɓin sigogin toshe na gaba da ɗimbin bayanan horo
- Lada (R): Haɗin nasarar tabbatar da toshe da ci gaban horon samfuri
- Canji (P): Canjin yanayi wanda aka ƙaddara ta hanyar yarjejeniya da yaduwar cibiyar sadarwa
2.2 Haɗin Koyo Mai Zurfi Mai Ƙarfafawa
Muna haɗa cibiyoyin sadarwa masu zurfi (DQN) tare da tsarin yarjejeniya na blockchain, inda nodes ke fafatawa don warware matsalolin koyo mai ƙarfafawa maimakon takalmamin sirri. Wakilin koyo yana yanke shawara mafi kyau akan yanayin muhalli, ana ƙara sabbin tubalan kuma ana tabbatar da su ta wannan tsari.
3. Aiwar Fasaha
3.1 Tsarin Lissafi
An ayyana aikin manufa na koyo mai ƙarfafawa kamar haka:
$J(\theta) = \mathbb{E}_{(s,a) \sim \rho(\cdot)}[\sum_{t=0}^{\infty} \gamma^t r_t | s_0 = s, a_0 = a]$
Inda $\theta$ ke wakiltar sigogin cibiyar jijiyoyi, $\gamma$ shine ma'aunin rangwame, kuma $\rho$ shine rarraba aiki-yanayi.
Dokar sabuntawa ta Q-learning ta haɗa da lada na musamman na blockchain:
$Q(s,a) \leftarrow Q(s,a) + \alpha[r + \gamma \max_{a'} Q(s',a') - Q(s,a)]$
3.2 Ƙirar Hanyar Yarjejeniya
Hanyar yarjejeniya ta haɗa:
- Canje-canjen yanayi na ƙaddara daga girma blockchain
- Bazuwar a cikin zaɓin aiki daga dabarun bincike
- Rikitarwar lissafi na horon cibiyar jijiyoyi mai zurfi
4. Sakamakon Gwaji
Ma'aunin Aiki
Gwaje-gwajenmu sun nuna gagarumin ci gaba akan tsarin hujjar-aiki na al'ada:
| Ma'auni | PoW na Al'ada | Hanyarmu | Ci Gaba |
|---|---|---|---|
| Amfani da Makamashi (kWh/toshi) | 950 | 332 | Ragewa 65% |
| Daidaiton Horarwa (MNIST) | Babu | 98.2% | Aiki mai ma'ana |
| Lokacin Toshi (dakika) | 600 | 580 | Sau 3.3% mafi sauri |
| Tsaron Cibiyar Sadarwa | 99.9% | 99.8% | Kwatankwacin |
Zane-zane na Fasaha
Hoto na 1: Bayanin Tsarin Tsari - Tsarin tsarin yana nuna yadda nodes na blockchain ke shiga cikin horon koyo mai ƙarfafawa mai rarrabawa yayin kiyaye yarjejeniya. Kowane node yana sarrafa nau'ikan yanayi-aiki daban-daban a layi daya, tare da sabunta samfuran da aka daidaita ta hanyar littafin blockchain.
Hoto na 2: Haɗuwar Horarwa - Binciken kwatancen haɗuwar horo ya nuna hanyarmu mai rarrabawa ta sami saurin haɗuwa sau 3.2 fiye da hanyoyin horo masu tarawa, yana nuna ingancin koyo a layi daya a cikin nodes na blockchain.
5. Aiwar Lambar
Misalin Pseudocode
class BlockchainRLAgent:
def __init__(self, network_params):
self.q_network = DeepQNetwork(network_params)
self.memory = ReplayBuffer(capacity=100000)
self.blockchain = BlockchainInterface()
def train_step(self, state, action, reward, next_state):
# Adana gogewa a cikin ma'ajin maimaitawa
self.memory.add(state, action, reward, next_state)
# Samfurin batch da sabunta Q-network
if len(self.memory) > BATCH_SIZE:
batch = self.memory.sample(BATCH_SIZE)
loss = self.compute_loss(batch)
self.optimizer.zero_grad()
loss.backward()
self.optimizer.step()
# Ƙoƙarin ƙara toshe zuwa blockchain
if self.validate_block_candidate():
self.blockchain.add_block(self.current_block)
def consensus_mechanism(self):
# Maye gurbin hujjar-aiki na RL
state = self.get_blockchain_state()
action = self.select_action(state)
reward = self.compute_reward(action)
return self.verify_solution(action, reward)
6. Ayyukan Gaba
Ayyukan Nan Take
- Horon AI Mai Rarrabawa: Ba da damar horon samfuri na haɗin gwiwa a cikin ƙungiyoyi ba tare da daidaitawa ta tsakiya ba
- Haɓaka Koyo na Tarayya: Bayar da koyo na tarayya mai tsaro, mai iya dubawa tare da tabbaci na tushen blockchain
- Lissafi na Gefe: Yi amfani da na'urori na gefe don aikin lissafi mai ma'ana yayin kiyaye tsaron cibiyar sadarwa
Kwatance na Dogon Lokaci
- Haɗin kai tare da sabbin tsarin AI kamar koyo-meta da koyo-ɗan-ɗan
- Haɗin kai na tsakanin sarkar don tsarin horon AI mai yawan samfura
- Algorithms na koyo mai ƙarfafawa masu jure ƙwayoyin cuta don tsaro na gaba
- Wakilan tattalin arziki masu cin gashin kansu tare da iyawar haɓaka kai ta hanyar ci gaba da koyo
7. Nassoshi
- Nakamoto, S. (2008). Bitcoin: Tsarin Kuɗin Lantarki na Peer-to-Peer.
- Mnih, V., et al. (2015). Sarrafa matakin ɗan adam ta hanyar koyo mai zurfi mai ƙarfafawa. Nature, 518(7540), 529-533.
- Zhu, J. Y., et al. (2017). Fassarar hoto-zuwa-hoto mara biyu ta amfani da cibiyoyin sadarwa masu jujjuyawar zagayowar. Gabatarwar na taron na'urar gani na duniya na IEEE (CycleGAN).
- Buterin, V. (2014). Dandalin Yarjejeniya Mai Hikima na Zamani da Dandalin Aikace-aikacen Rarrabawa. Takardar Fari ta Ethereum.
- Silver, D., et al. (2016). Ƙware wasan Go tare da cibiyoyin jijiyoyi masu zurfi da binciken bishiya. Nature, 529(7587), 484-489.
- OpenAI. (2023). Rahoton Fasaha na GPT-4. Binciken OpenAI.
- Ƙungiyar Ma'auni ta IEEE. (2022). Ma'auni na Blockchain don Ingantaccen Makamashi.
- DeepMind. (2023). Koyo Mai Ƙarfafawa don Tsarin Rarrabawa. Littattafan Bincike na DeepMind.
Bincike na Asali
Wannan bincike yana wakiltar babban sauyi a cikin hanyoyin yarjejeniya na blockchain ta hanyar canza hujjar-aiki mai ɓarnatar makamashi zuwa horon wucin gadi mai amfani. Haɗin koyo mai ƙarfafawa tare da yarjejeniyar blockchain yana magance ɗaya daga cikin mahimman sukar fasahar blockchain - tasirinta na muhalli - yayin da a lokaci guda yana haɓaka iyawar AI mai rarrabawa.
Hanyar fasaha na ƙirƙira girma blockchain a matsayin Tsarin Yarjejeniya na Markov na da sabon salo musamman, saboda yana amfani da kaddarorin na kowane tsarin. Canje-canjen yanayi na ƙaddara a cikin blockchain suna ba da kwanciyar hankali da ake buƙata don yarjejeniya mai dogaro, yayin da dabarun bincike a cikin koyo mai ƙarfafawa ke gabatar da bazuwar da ake buƙata don tsaro. Wannan hanyar biyu tana kiyaye garanti na tsaro na hujjar-aiki na al'ada yayin daidaita ƙoƙarin lissafi zuwa ci gaban AI mai ma'ana.
Idan aka kwatanta da sauran hanyoyin yarjejeniya masu amfani da makamashi kamar hujjar-rijiya, wannan hanyar tana kiyaye buƙatar aikin lissafi wanda ke ƙarfafa tsaron blockchain, tana guje wa matsalolin tattalin arziki waɗanda zasu iya addabar tsarin tushen rijiya. Tsarin horo a layi daya a cikin nodes masu rarrabawa yana kama da hanyoyin koyo na tarayya, amma tare da ƙarin fa'idodin rashin canzawa da bayyani na blockchain.
Sakamakon gwaji da ke nuna rage makamashi kashi 65% yayin kiyaye kwatankwacin tsaro yana da ban sha'awa, ko da yake ainihin darajar yana cikin fitarwa mai amfani na aikin lissafi. Kamar yadda aka lura a cikin binciken DeepMind game da koyo mai ƙarfafawa mai rarrabawa, horo a layi daya a cikin nodes da yawa na iya haɓaka haɗuwar samfuri sosai, wanda ya yi daidai da ci gaban sau 3.2 da aka gani a cikin wannan binciken.
Idan muka duba gaba, wannan tsarin yana da babban tasiri ga makomar blockchain da AI. Yana ba da damar ƙirƙirar cibiyoyin sadarwar blockchain masu haɓaka kai inda tsarin tsaro a lokaci guda yake haɓaka iyawar AI. Wannan na iya haifar da cibiyoyin sadarwa waɗanda ke ƙara inganci da hankali bayan lokaci, suna haifar da zagayowar ingantacciyar ci gaba. Hanyar kuma tana magance damuwa game da sirrin bayanai a cikin AI ta hanyar ba da damar horon haɗin gwiwa ba tare da tarawa ta tsakiya ba, kama da abubuwan kiyaye sirri na koyo na tarayya amma tare da haɓaka tsaro ta hanyar tabbacin blockchain.
Duk da haka, ƙalubale sun rage a cikin ƙaddamar da wannan hanyar zuwa manyan cibiyoyin sadarwa da kuma tabbatar da rarraba lada mai adalci ga gudunmawar lissafi. Aikin gaba yakamata ya binciko hanyoyin haɗin gwiwa waɗanda ke haɗa wannan hanyar tare da sauran hanyoyin yarjejeniya da kuma bincika ayyuka a cikin takamaiman yankuna kamar AI na kiwon lafiya ko tsarin cin gashin kai, inda duka tsaro da ci gaba da koyo suke da muhimmanci.