Connectome Fly
一只拥有真实大脑的果蝇。它的全部 158,262 个神经元都在你的世界中实时运行。
此模组添加了一种生物。她没有预设脚本。她的大脑是 BANC 连接组(connectome),即真实雌性果蝇的完整接线图(来自 codex 和 flywire):每一个神经元,每一次连接,约 310 万个突触。模组在你游玩时实时运行整个网络。她在你的世界中遇到的事物会驱动她的真实感受器神经元;而她自身的运动神经元和下行神经元所发出的信号,则决定了她身体的动作。
如果她跳跃,是因为她的巨纤维神经元(Giant Fiber)发放了电信号。如果她行走、转向、梳理身体、起飞或产卵,那么在真实果蝇中执行这些动作的神经元总是先一步发放电信号。你可以在屏幕上观察这一切的发生。
从这里开始
在 Minecraft 1.20.1 中使用 Fabric Loader 和 Fabric API 安装此模组。
打开一个开启了作弊的世界,并运行 /flylab arena all。
会出现 33 个玻璃箱,每个对应一个实验。每个箱子里都有一个放在讲台上的书,解释该实验的内容,以及一个立在石灰柱上的木按钮,按下后可将果蝇放入箱内。
按下按钮。阅读书籍。按照说明操作。观察 HUD。
首次加入时,会出现一个介绍屏幕来解释其余内容。你可以使用 /flyintro 再次打开它。
她的感知
你世界中的事物会被输入到真实果蝇中负责感知它们的感受器神经元:
嗅觉:蛋糕、蜂蜜和堆肥驱动一组食物气味神经元。甜瓜、浆果、可可豆和花朵驱动另一组。营火烟雾驱动她的二氧化碳(CO2)神经元。菌丝体和蘑菇驱动她唯一的霉菌受体神经元。
味觉:位于她脚部和口器上的糖、苦味和水神经元。蛋糕和蜂蜜是甜的,枯萎玫瑰是苦的,水桶或湿泥土代表水。
触觉和痛觉:击打她会触发 644 个刚毛神经元。仙人掌刺会触发她的痛觉神经元。
听觉:音符盒、钟、唱片机以及雄性的求偶歌声。
视觉:逼近的形状、移动的小物体、整个世界围绕她旋转、黑暗中的光线、地平线上的陆地。
热、冷、潮湿、干燥、风、雨。
体内状态:饥饿、口渴、疲劳和昼夜节律时钟。
她的行为
逃跑。视野中快速逼近的事物会使她跳跃并飞走。直接在她身后的事物不会,因为果蝇看不到身后。
随机地行走、休息和梳理身体,这些行为源于她自身的下行神经元。
通过嗅觉寻找食物,进食,吃饱后失去兴趣,直到再次感到饥饿。
口渴时从水桶或潮湿的地面饮水,或者喝玩家手中的水瓶里的水。
学习。如果在进食某种食物时击打她,下次她会选择另一种食物。这一教训以记忆体(mushroom body)中较弱的突触形式存储,并在约 15 分钟后消退。
通过计算大脑罗盘细胞中的步数找到回家的路。
夜间睡觉。她的身体下沉,头部低垂,腿部折叠。
求偶和交配。一只雄性跟随她并用一只翅膀唱歌。大约 10 秒后她会接受。她产下一枚卵,30 秒后孵化,幼虫带着自己的大脑长大。
为争夺食物与另一只饥饿的雌性搏斗,表现为扑击,败者后退。
在墙壁上行走并从天花板上倒挂。
在户外像果蝇一样飞行。在室内她主要行走。在开阔的天空下,她会自主起飞,巡航于几格高度之上,并在饥饿且闻不到气味时进行长距离搜索飞行。如果食物在上风向,她会捕捉气味并逆风飞向食物。
她不会衰老,也不会因年老而死。
33 个箱子
运行 /flylab arena all 创建所有箱子,运行 /flylab arena <name> 创建单个箱子,或运行 /flylab arena list 查看名称列表。
在一个箱子内,只有该实验相关的感官被开启,因此隔壁箱子的干扰不会影响结果。“Home” 箱子开启了所有感官且无特定实验。这只是让她居住的地方。
一只拥有大脑的宠物
用蛋糕、浆果、蜂蜜和其他甜食从手中喂养她。
右键点击她并使用水瓶给她喝水。
用拴绳牵着她走到某处。拴绳只能移动她的身体。她的大脑保持独立运行不受影响。
让她待在屋顶下,她会待得离你很近。让她在开阔天空下外出,她会漫游,有时会很远。
HUD
注视一只果蝇会出现实时读数:她身体的动作、哪些感官正在激活、她大脑输出的哪些部分处于活跃状态、罗盘、记忆、睡眠、饥饿、口渴、飞行等。
/flyhud 显示或隐藏 HUD。
/flyhud small、/flyhud medium、/flyhud big 设置其大小。
源自她神经元的动作标记为 [brain]。源自我们自身规则的动作标记为 [model]。
命令
命令及其功能
| 命令 |
功能 |
/flylab help |
帮助信息 |
/flylab arena all |
构建所有 33 个箱子 |
/flylab arena <name> |
构建一个箱子 |
/flylab spawn |
生成一只雌性。/flylab spawn male 生成一只用于求偶的雄性 |
/flylab body model or bee |
真实的果蝇模型,或普通的蜜蜂身体模型 |
/flylab stacked on or off |
保留你生成的每一只果蝇,或一次仅保留一个实验对象 |
/flylab hungry, /flylab thirsty |
立即让她感到饥饿或口渴 |
/flylab fly |
让她进行一次飞行 |
/flylab mate |
开始求偶 |
/flylab loom |
向她展示一个逼近的形状 |
/flylab drum left, right, stop |
在 Optomotor 箱子中转动条纹环 |
/flylab brains <n> |
同时运行的完整大脑数量上限 |
/flylab book |
一本野外指南书 |
/flycredits |
说明什么是真实的、什么是校准过的、什么是模型 |
创造模式菜单中还有一个 Connectome Fly 刷怪蛋。
什么是真实的,什么不是
真实的部分:神经元、谁连接到谁、突触的数量,以及每个连接是兴奋性还是抑制性。所有内容均源自 BANC 连接组 v888 版本。模组中的每个神经元 ID 都可以在公开数据集中查找。
由我们校准:布线图提供的是连接关系,而非速度。神经元的时程常数、阈值以及若干增益参数均由我们设定。她的行走、飞行与睡眠频率经过校准;而具体何时执行这些行为,则源自她自身的神经元活动。
已标注的模型:饥饿、口渴、风感、每种 Minecraft 方块的气味或味道,以及少量行为规则。它们在屏幕上均标有 [model] 字样。
未声称具备的特性:完整的意识、真实的生物节律。
完整名单可在游戏内通过 /flycredits 命令查看。
要求与性能
Minecraft 1.20.1,Fabric Loader 0.15 或更高版本,Fabric API。
客户端与服务端均需安装。
每个“飞脑”(fly brain)会占用约一个 CPU 核心的资源。该模组同时运行的“大脑”数量最多不超过你核心总数的一半。额外的雌性果蝇将处于“brain queued”(大脑排队中)状态,直到有空闲的大脑可用。雄性仅使用小型电路,开销几乎可以忽略不计。
在四核机器上,预计可同时运行 2 个大脑。需要更多果蝇的箱子仍可正常工作,但部分果蝇将处于等待状态。
下载大小约为 19 MB,其中大部分是她的大脑数据。
已在单人模式下构建并测试。多人模式尚未进行测试。
常见问题
她真的没有脚本吗?是的。她的反射、行走与休息、跳跃、起飞、梳理行为以及产卵动作均读取自她自身的神经元。围绕这些行为的一些机制由我们的规则控制,例如饥饿系统的运作方式。这些规则均在屏幕上和致谢名单中标注。
这是完整的大脑还是简化版?是完整的大脑。包含 158,262 个神经元和约 310 万个突触,每秒模拟 1000 次。
为什么她这么大?如果按真实尺寸呈现,一只果蝇只有几个像素。我们将其放大是为了让你看得更清楚 :)
她飞走了……她是讨厌我吗?那是果蝇在开阔天空下的正常行为,尤其是饥饿的果蝇。让她待在屋顶下、系上牵引绳,或持续喂食即可。
她经常静止不动……为什么?真正的果蝇也是如此。室内饲养且饱食的果蝇大部分时间都在休息和梳理自身。
我可以在整合包、视频或服务器中使用这个模组吗?可以。请参阅下方的许可证。
致谢
她的大脑:BANC(Brain And Nerve Cord,脑与神经索)果蝇连接组,Codex 和 FlyWire 发布的 v888 版本。特别感谢 Dr.Aarie Matsliah 接受采访并提供解释。
雄性的求偶电路:由 HHMI Janelia 研究所和剑桥大学提供的雄性果蝇连接组数据。
感谢这两个团队公开其数据。
由 fly project 制作。flyproject.io
许可证
CC BY 4.0。你可以分享、重新上传、放入整合包或在其基础上进行二次开发。唯一条件是需注明项目来源。连接组数据本身仍受其作者自有条款约束。
Connectome Fly
A fruit fly with a real brain. All 158,262 neurons of it, running live inside your world.
This mod adds one creature. She is not scripted. Her brain is the BANC connectome, the complete wiring map of a real female fruit fly (from codex and flywire): every neuron, every connection, about 3.1 million synapses. The mod runs that whole network live while you play. What she meets in your world drives her real receptor neurons. What her own motor and descending neurons do is what moves her body.
If she jumps, it is because her Giant Fiber fired. If she walks, turns, grooms, takes off or lays an egg, the neurons that do that in a real fly fired first. You can watch it happen on screen.
Start here
Install the mod with Fabric Loader and Fabric API on Minecraft 1.20.1.
Open a world with cheats on and run /flylab arena all.
33 glass boxes appear, one per experiment. Each has a book on a lectern that explains it and a wooden button on a lime post that puts the fly inside.
Press a button. Read the book. Do what it says. Watch the HUD.
The first time you join, an intro screen explains the rest. You can open it again with /flyintro.
What she senses
Things in your world are fed to the receptor neurons that sense them in a real fly:
Smell: cake, honey and compost drive one set of food smell neurons. Melon, berries, cocoa and flowers drive another. Campfire smoke drives her CO2 neurons. Mycelium and mushrooms drive her one private receptor for mould.
Taste: sugar, bitter and water neurons on her feet and proboscis. Cake and honey are sweet, wither roses are bitter, a water cauldron or wet mud is water.
Touch and pain: punch her and 644 bristle neurons fire. Cactus spines fire her pain neurons.
Hearing: note blocks, bells, jukeboxes and the courtship song of a male.
Vision: looming shapes, small moving things, the whole world turning around her, light in the dark, land on the horizon.
Heat, cold, damp, dry, wind, rain.
Inside her: hunger, thirst, tiredness and a day clock.
What she does
Escapes. Something growing fast in her view makes her jump and fly off. Something directly behind her does not, because a fly cannot see there.
Walks, rests and grooms in random instances that come from her own descending neurons.
Finds food by smell, eats, gets full and loses interest until she is hungry again.
Drinks from a cauldron or damp ground when thirsty, or from a water bottle in your hand.
Learns. Hit her while she eats one food and she will pick the other one next time. The lesson is stored as weaker synapses in her mushroom body and fades in about 15 minutes.
Finds her way home by counting her own steps on the compass cells in her brain.
Sleeps at night. Her body sinks, her head droops and her legs fold in.
Courts and mates. A male follows her and sings with one wing. After about 10 seconds she accepts. She lays an egg, it hatches in 30 seconds, and the hatchling grows up with its own brain.
Fights another hungry female over food, with lunges and a loser that backs off.
Walks on walls and hangs from ceilings.
Flies outdoors like a fly. Indoors she mostly walks. Under open sky she takes off on her own, cruises a few blocks up, and makes long search flights when she is hungry and smells nothing. If food is upwind she catches the smell and flies up the wind to it.
She does not age and does not die of old age.
The 33 boxes
Run /flylab arena all for all of them, /flylab arena <name> for one, or /flylab arena list for the names.
Inside a box only that experiment's senses are switched on, so nothing from the box next door gets in the way. The Home box has every sense on and no experiment. It is just a place for her to live.
A pet with a brain
Feed her from your hand with cake, berries, honey and other sweet food.
Give her water by right clicking her with a water bottle.
Put her on a lead to walk her somewhere. The lead only moves her body. Her brain keeps running untouched.
Keep her under a roof and she stays close. Let her out under open sky and she will roam, sometimes far.
The HUD
Look at a fly and a live readout appears: what her body is doing, which senses are firing, which of her brain's outputs are active, her compass, memory, sleep, hunger, thirst, flight and more.
/flyhud shows or hides it.
/flyhud small, /flyhud medium, /flyhud big set its size.
Actions that came from her neurons are tagged [brain]. Things that are our own rules are tagged [model].
Commands
Command and what it does
/flylab help
/flylab arena all build all 33 boxes
/flylab arena <name> build one box
/flylab spawn a female. /flylab spawn male for a courting male
/flylab body model or bee the real fly model, or a plain bee body
/flylab stacked on or off keep every fly you spawn, or one experiment at a time
/flylab hungry, /flylab thirsty make her hungry or thirsty now
/flylab fly send her on a flight
/flylab mate start a courtship
/flylab loom show her a looming shape
/flylab drum left, right, stop turn the striped ring in the Optomotor box
/flylab brains <n> how many whole brains may run at once
/flylab book a field guide book
/flycredits what is real, what is calibrated, what is a model
There is also a Connectome Fly spawn egg in the creative menu.
What is real and what is not
Real: the neurons, who connects to whom, how many synapses, and whether each connection excites or inhibits. All of it comes from the BANC connectome, release v888. Every neuron ID in the mod can be looked up in the public dataset.
Calibrated by us: a wiring map gives the connections, not the speeds. Neuron time constants, thresholds and a few gains are ours. How often she walks, flies and sleeps is calibrated. The moment she does, it comes from her neurons.
Labeled models: hunger, thirst, the wind, what each Minecraft block smells or tastes like, and a handful of behaviour rules. They are marked [model] on screen.
Never claimed: full consciousness, real biological timing.
The full list is in game under /flycredits.
Requirements and performance
Minecraft 1.20.1, Fabric Loader 0.15 or newer, Fabric API.
Needed on both the client and the server.
Each fly brain keeps about one CPU core busy. The mod runs at most half your cores as brains at once. Extra females wait with a "brain queued" label until a brain is free. Males use a small circuit and cost almost nothing.
On a 4 core machine, expect 2 brains at a time. Boxes that need more flies still work, but some of those flies will be waiting.
The download is about 19 MB, most of it her brain.
Built and tested in single player. Multiplayer has not been tested yet.
FAQ
Is she really not scripted? Her reflexes, her walking and resting, her jump, her take off, her grooming bouts and her egg laying are read from her own neurons. Some things around that are our rules, such as how hunger works. Those are labeled, on screen and in the credits.
Is this the whole brain or a simplified one? The whole thing. 158,262 neurons and about 3.1 million synapses, stepped 1000 times a second.
Why is she so big? A life size fruit fly would be a few pixels. We made it like that so you can see her better :)
She flew away.. does she hate me? That is what a fly does under open sky, especially a hungry one. Keep her under a roof, on a lead, or fed.
She sits still a lot.. why? So do real flies. A fed fly indoors rests and grooms most of the time.
Can I use this in a modpack, a video or a server? Yes. See the license below.
Credits
Her brain: the BANC (Brain And Nerve Cord) fruit fly connectome, release v888 from Codex and FlyWire. Special Thanks to Dr.Aarie Matsliah For The interview and explanation.
The male's courtship circuit: the male fruit fly connectome by HHMI Janelia and the University of Cambridge.
Thank you to both teams for making their data public.
Made by the fly project. flyproject.io
License
CC BY 4.0. Share it, re-upload it, put it in modpacks, build on it. The only condition is that you credit the project. The connectome data stays under its authors' own terms.
评论 0
登录后参与评分
还没有评论,来抢沙发吧