从数据到硅片:与芯片对弈四子棋
From data to silicon: play Connect-4 against a chip

原始链接: https://benoitrostykus.com/data_to_silicon.html

作者认为,如果芯片制造成本大幅降低,针对特定任务的数据集很快就能制成定制ASIC——直接在硅片上实现的AI模型。他们认为机器学习任务的自动化芯片设计比预期更近,以自主学习的单周期Connect-4芯片为例:约14,000个逻辑门,采用130 nm工艺,尺寸0.8×0.8毫米,25 MHz,每步几百年焦耳,速度与CPU相当但能耗低得多,从模拟对局中学习,成本不到10美元。

一篇 Hacker News 帖子链接到一个名为"从数据到硅:与芯片下四子棋"的项目。作者表示,该模型直接从输入/输出比特学习,根据当前棋盘状态预测应下哪一列,并使用逻辑门作为计算原语。评论者询问学习得到的模型如何变成 ASIC 以及逻辑门如何组织,但未给出更多实现细节。其他用户称赞该项目并分享对弈结果,包括九步获胜一次,以及大约三局才获胜一次。
相关文章

原文
From data to silicon

⇤ home

Nov. 16th, 2026

What if you could take a dataset of (input, output) pairs collected for a task of interest (image recognition, next-word prediction etc.), and turn that into a custom chip designed specifically for this task? In other words, learning an AI model where the model is the silicon?
I believe this extreme specialization of hardware is where we could soon find ourselves, assuming the cost of making such chips can be dramatically reduced. This hinges on two prerequisites:

  1. cheaper manufacturing, from more fabs and affordable small production runs, so the world's insatiable demand for compute can be met
  2. making the design of custom silicon extremely cheap

Think about it: if you could cheaply print custom ASICs for every non-trivial piece of computation running over and over, why wouldn't you? Soon, AI building AI will do that anyway.

While I have no idea how to build semiconductor factories, let me convince you that automating the design of chips for arbitrary ML tasks is closer than you might think.
Here is a single-cycle chip that plays Connect-4, autonomously learned end-to-end for less than $10 of compute, just from a dataset of simulated games. It has about 14k logic gates. On a two-decade-old 130 nm manufacturing process, it measures 0.8 × 0.8 mm, runs at 25 MHz and consumes a few hundred picojoules per move: about as fast as a Connect-4 engine running on a modern CPU, while using two to three orders of magnitude less energy.
Try playing against the chip and see the individual wires light up within a clock cycle as the signal propagates through it:

联系我们 contact @ memedata.com