Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I connected a fruit fly connectome to tic-tac-toe (with a minimax safety net)

Описание и применение

Проект демонстрирует, как реальные данные о нервной системе плодового мушки можно применить для создания агента, играющего в крестики‑нолики, с использованием минимакс‑сети для улучшения стратегии.

Задача

How to use a real fruit fly neural circuit to play tic‑tac‑toe.

Результат

The project demonstrates that a real fruit fly connectome can be mapped to a simple game, producing a playable tic‑tac‑toe agent. The fly’s circuit alone tends to lose, but when combined with a minimax safety net it can play competitively.

Рабочий процесс

  • Select neurons that send motor commands and their central brain inputs.
  • Use connectome data to obtain neuron‑to‑neuron connections, synapse counts, and neurotransmitter predictions.
  • Map each of the 9 tic‑tac‑toe squares to a group of output neurons and each board state to a group of input neurons.
  • Simulate signal flow through the network using the real wiring and synapse strengths.
  • Determine the fly’s preferred move as the output group with the strongest activity.
  • Run minimax to generate optimal moves; let the fly pick among minimax‑recommended moves.
  • If minimax is disabled, run the raw circuit alone to observe its behavior.
  • Play the game via terminal interface.

Доказательства

Scientists have mapped the whole nervous system of a fruit fly: every neuron and every connection, in a public database called a connectome.

Источник

Python, neuprint-python, networkx and pandas do the work.

Источник

  • Дата записи: 2026-10-21T08:56:14.983Z