神経進化 / Neuroevolution
世代を重ねて、小さな脳が移動方法を探す。
観察 / Explore
「進化を開始」でランダムな脳の集団を評価します。上段は初代で最も遠くに進んだ個体、下段は全世代で最良の個体。同じ6秒間を繰り返し、動きの変化を比較します。画面は個体に追従するため背景の目盛りや移動距離も見てください。初代が選ばれるまでは静止した身体を表示します。
Start evolution to evaluate a population of random brains. Compare the first generation's champion with the best found so far in repeated six-second trials. Cameras follow each creature on a shared scale; read the ground ticks and distance.
身体と脳 / Body and brain
4つの質点を6本のばねで結んだ固定の身体です。重力・ばねの減衰・地面の簡易摩擦を計算します。神経回路は12入力(周期信号2、ばねの伸び6、接地4)、隠れユニット8、出力6。158個の重みとバイアスが遺伝子で、出力が各ばねの自然長を±25%変えます。周期信号は入力に与えますが、脚の運動順序は指定しません。
Four point masses and six damped springs form a fixed body. A 12–8–6 tanh neural network controls rest lengths within ±25%. Inputs are two clock signals, six spring strains and four ground contacts. Its 158 weights and biases form the genome. A clock is supplied; a gait is not prescribed.
選択と突然変異 / Evolution
各個体は同じ条件で1秒間受動的に落ち着かせた後、6秒間動かします。重心の右向き移動距離だけが評価値です。身体幅1が距離の単位。上位2個体をそのまま残し、3個体のトーナメント選択、一様交叉、重みの突然変異で次世代を作ります。重みは−5〜5に制限します。歩行の効率や直立は評価していないため、転がる・跳ねる動きも選ばれます。改善や二足歩行は保証しません。
Fitness is rightward center-of-mass displacement after a six-second trial following passive settling. Two elites survive; tournament selection, uniform crossover and weight mutation produce the rest. Energy efficiency and upright walking are not objectives. Improvement is not guaranteed.
モデルの範囲 / Scope
これは本サイト独自の2D教材です。固定構造のニューラルネットワークをGAで進化させます。接続構造を進化させるNEATではなく、身体形状も進化させるKarl Simsの研究の再現でもありません。物理は簡略化した質点・ばね系で、ばねの交差や質点同士の衝突は扱いません。数値積分は1/120秒の固定刻みです。
This gallery’s teaching model evolves fixed-topology neural weights, not NEAT or body morphology. It is not a reproduction of Karl Sims' system. Physics uses a simplified mass-spring model, fixed 1/120-second integration, ground contact, and no self-collision.
操作・保存 / Controls and sharing
集団サイズ変更は進化を初期化し、突然変異率変更は次回評価の繁殖に適用します。シードはリセットで反映。計算はCPUのWeb Workerで行い、高負荷や応答停止時は直前に完了した世代を保持します。非表示中は評価と再生を止めます。グラフは直近500世代です。
保存は最優秀個体と初代の脳をJSONに出力します。開く・ドロップで再現し、成績は再計算します。進化集団全体の途中再開データではありません。読み込み後の開始は保存した脳の集団から新しい進化を始めます。ファイルはサーバーへ送信しません。
Snapshots store the champion and baseline brains, not the whole evolutionary run. Import recalculates fitness and seeds a fresh population from the champion. Files stay in your browser. Evolution runs in a CPU worker with load protection; hidden tabs suspend work. The chart keeps 500 generations.
関連研究 / Further reading
以下は背景となる研究です。本モデルのコード・身体・パラメーターは独自のもので、原研究のコードや個体データは使用していません。