<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tim Wu on Medium]]></title>
        <description><![CDATA[Stories by Tim Wu on Medium]]></description>
        <link>https://medium.com/@changtimwu?source=rss-ceaf2658ef1d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*8vQ4h9-KnBTEU0jD.jpg</url>
            <title>Stories by Tim Wu on Medium</title>
            <link>https://medium.com/@changtimwu?source=rss-ceaf2658ef1d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 16:41:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@changtimwu/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[1.09 億參數打贏 720 億？LeCun 的 JEPA 把「柏拉圖表徵假說」變成定理]]></title>
            <link>https://medium.com/@changtimwu/1-09-%E5%84%84%E5%8F%83%E6%95%B8%E6%89%93%E8%B4%8F-720-%E5%84%84-lecun-%E7%9A%84-jepa-%E6%8A%8A-%E6%9F%8F%E6%8B%89%E5%9C%96%E8%A1%A8%E5%BE%B5%E5%81%87%E8%AA%AA-%E8%AE%8A%E6%88%90%E5%AE%9A%E7%90%86-c59cc1b57639?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c59cc1b57639</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Mon, 30 Nov 2026 13:53:14 GMT</pubDate>
            <atom:updated>2026-12-01T06:46:32.724Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>一個 109M 參數的文字 encoder，在「跟視覺模型看世界的方式有多像」這件事上，贏過 Qwen2.5–72B。這不是說它比 LLM 聰明，而是在說：</em><strong><em>怎麼挑訓練資料的「正樣本」，可能比堆參數更重要。</em></strong></blockquote><h3>先講結論</h3><p>2026 年 10 月底，Randall Balestriero 和 Yann LeCun 在 arXiv 上貼出一篇預印本：<em>Proving and Improving the Platonic Representation Hypothesis with JEPAs</em>。Balestriero 在 X 上的宣傳很直白：</p><blockquote><em>“The Platonic Representation Hypothesis is now a Theorem.”<br>“A 109M JEPA-Text model that aligns with vision models better than 72B LLMs.”</em></blockquote><p>這句話有兩半，一半是理論、一半是實驗。我們一個一個拆。</p><h3>什麼是「柏拉圖表徵假說」（Platonic Representation Hypothesis, PRH）</h3><p>2024 年 MIT 的 Huh、Isola 等人提出一個大膽的猜想：<strong>不同的 AI 模型，不管看的是圖片還是文字，學到的內部表徵（representation）正在收斂到同一個東西。</strong></p><p>名字來自柏拉圖的洞穴寓言：牆上的影子（圖片、文字）只是投影，背後有一個真實世界。模型越強，就越接近那個「真實世界的地圖」。</p><p>怎麼量「像不像」？他們用 <strong>mutual k-NN</strong>：</p><ul><li>拿 1,024 組「圖片 + 說明文字」（WIT-1024 benchmark）。</li><li>圖片丟進視覺模型（例如 DINOv2），文字丟進語言模型，各自得到一堆向量。</li><li>對每一筆資料，分別在兩個空間裡找最近的 10 個鄰居，看兩邊的鄰居名單重疊多少。</li></ul><p>重疊越多，代表兩個模型對「什麼跟什麼很像」的看法越一致。</p><h3>理論：兩張被轉了方向的同一張地圖</h3><p>論文的 Theorem 1 說：在一個理想化的世界裡，如果你用 JEPA 分別訓練圖片 encoder 和文字 encoder，<strong>而且正樣本對（positive pairs）挑得對</strong>，那兩個 encoder 學到的空間，會是<strong>同一個世界嵌入（world embedding）的旋轉（rotation）</strong>。</p><p>用一個比喻：兩張同一座城市的地圖，一張北朝上、一張被轉了 90 度。指北針不同，但「台北車站離西門町比離南港近」這種距離關係完全一樣。旋轉保留距離，所以最近鄰居也完全一樣：mutual k-NN 分數看不出差別。</p><p><strong>JEPA</strong>（Joint Embedding Predictive Architecture）是 LeCun 2022 年提出的路線：不去預測原始像素或下一個 token，而是在<strong>表徵空間（latent space）</strong>裡，從一個觀察的表徵去預測另一個觀察的表徵。</p><h3>關鍵：Good views vs. Bad views</h3><p>整篇論文最值得帶走的概念是這組對比：</p><p><strong>例子 → 共享的是什麼</strong></p><ul><li><strong>Good views</strong> → 同一個場景拍兩張照片；同一張圖的兩句不同說明 · 只共享「世界狀態」，雜訊各自獨立</li><li><strong>Bad views</strong> → 同一張照片切兩塊（crop）；同一句話遮掉不同字（masking） · 連同一份觀察的雜訊一起共享</li></ul><p>舉個例子：一張「狗在草地上」的照片。</p><ul><li>Good view：人類 A 寫「一隻黃金獵犬在公園草地上奔跑」，人類 B 寫「陽光下，狗狗在綠地玩耍」。兩句話的<strong>用字、語氣完全不同</strong>，唯一相同的是那個場景。模型要讓兩句話的表徵靠近，就只能抓住「場景」本身。</li><li>Bad view：把第一句話遮掉幾個字變成兩個版本。兩個版本共享的不只是場景，還有<strong>那個人的寫作習慣、句型、標點</strong>。模型很容易靠這些「只屬於文字」的雜訊就把兩者配對起來，卻沒學到世界本身。</li></ul><p>論文的 Theorem 3 把這件事形式化：模型花在「modality 專屬雜訊」上的維度越多，跟其他 modality 的對齊就越差。</p><h3>那 LLM 呢？Next-token prediction 是一種 bad-view JEPA</h3><p>這是論文最有意思的觀點。作者（Proposition 4）把標準的 next-token softmax loss 拆成兩項：一項是預測、一項是防止表徵崩塌（anti-collapse）。這樣一看，<strong>next-token 訓練本身就是一種 JEPA</strong>：前文（prefix）是一個 view，下一個 token 是另一個 view。</p><p>但這兩個 view 來自<strong>同一份文件</strong>，共享同樣的寫作風格與用字。在作者的分類裡，這就是 bad views。（作者自己也承認，這部分的推論是 heuristic，不是嚴格證明。）</p><p>所以他們的結論是：</p><blockquote><em>“next-token prediction is a remarkably inefficient route to platonic representations.”</em></blockquote><p>LLM 確實也會跟視覺模型對齊，但主要是<strong>靠規模硬堆上去的</strong>。</p><h3>實驗結果</h3><p><strong>1. 同樣的 109M encoder、同樣的資料，good views 只要 1/42 的樣本</strong><br>Good-view JEPA 看了 2,160 萬筆樣本，對齊分數 0.109；next-token 版本要看 9 億筆才到 0.111。</p><p><strong>2. 109M 贏 72B</strong><br>在 WIT-1024 上跟 DINOv2 比對齊：</p><ul><li>109M JEPA：<strong>0.184</strong>（三個 seed 平均）</li><li>Qwen2.5–72B：0.154</li><li>Llama-3–70B：0.151</li><li>CLIP 的 text encoder：0.124</li></ul><p><strong>3. 沒看過任何「圖片 — 說明」配對，也能看圖說話</strong><br>他們把凍結的 DINOv2/DINOv3 圖片特徵，透過<strong>一個旋轉矩陣</strong>轉進文字 JEPA 的空間，再接一個只用純文字 fine-tune 過的 Qwen2.5–1.5B 當 decoder。整條 pipeline 裡，沒有任何網路在圖文配對上訓練過（只有那個旋轉是用 3 萬組配對算出來的），COCO CIDEr 還能到 0.838。如果把旋轉換成一般的線性轉換，分數會掉約五分之一，這正好呼應「旋轉保留鄰居」的理論。</p><h3>但是，先別太興奮：五個要打折的地方</h3><p>原文作者 Mehmet Özel 很誠實地列出限制，我覺得這部分比標題更值得讀：</p><ol><li><strong>分數量的是「對齊」，不是語言能力。</strong> 109M JEPA 不會寫文章、不會推理，它只是一個 encoder。要生成說明文字，還是得接一個 LLM。</li><li><strong>Good views 是 LLaVA 寫的。</strong> 在網路規模的實驗裡，每張圖的文字是 1 句 alt-text + 2 句 LLaVA 重新生成的 caption。LLaVA 背後是 Llama-3–8B + CLIP，而 Llama-3–8B 正好在「被打敗的 LLM 名單」裡。換句話說，<strong>good views 本身就蒸餾了 LLM 和 CLIP 的知識</strong>。改用純文字改寫（Qwen2.5–7B paraphrase）當 good view，分數從 0.107 掉到 0.060。</li><li><strong>圖片那一側其實還是 bad views。</strong> 多數實驗的圖片 encoder 用的是 crop，理論要求的「兩邊都是 good views」只在影片資料集 MSR-VTT 上做到。</li><li><strong>只調了自己的 recipe。</strong> Hyperparameter 只為 good-view JEPA 調過；baseline 沒有。第四個 seed 用兩倍正則化權重只拿到 0.121（四個平均 0.168，仍高於 72B 的 0.154）。</li><li><strong>「證明」只在理想世界成立。</strong> 定理假設每個觀察都能唯一對應一個世界狀態（injective），但「一隻狗在草地上」可以對應無數場景。作者自己也說，沒有任何實驗完全滿足定理的假設。</li></ol><p>另外：這是預印本，還沒經過 peer review。</p><h3>為什麼這件事重要</h3><p>LeCun 多年來一直說「LLM 不是通往人類等級智慧的路」，離開 Meta 後創辦的 AMI Labs 募了 10.3 億美元做 world model。這篇論文給了他的論點一個比較具體的版本：</p><blockquote><strong><em>不是不要 scale，而是先想清楚「什麼算同一件事」。</em></strong></blockquote><p>如果你能設計出好的 positive views（同一個世界狀態的多種獨立觀察），一個小模型就能學到很接近「世界本身」的表徵；如果只靠 next-token prediction，你要付出幾十倍的資料和算力，才能慢慢靠近同一個地方。</p><p>但最後的開放問題也很誠實：<strong>在網路規模上，good views 目前是靠 LLaVA 這類 LLM captioner 生出來的。</strong> 不靠 LLM 也能大量取得好的 views 嗎？這個問題答出來之前，「小 JEPA 打敗大 LLM」這句話，後面都還得加一個小小的星號。</p><h3>附註：我能在自己的 Mac 上玩玩看嗎？</h3><p>我在一台 M1 Max（32 GB）上實際試了一輪。程式碼是 MIT 授權公開的（github.com/galilai-group/prh-proof），但<strong>訓練好的 109M 權重沒有公開</strong>，Hugging Face demo 是從私有 repo 載入的；要自己重訓，得要 492 GB 的文字資料和數百 GPU-hours，Mac 做不到。</p><p>Mac 上做得到的：</p><ul><li><strong>理論驗證</strong>：用 Python 3.11 + PyTorch 2.15 裝好後，repo 的測試全部通過：Sec. 2 的 37 個定理檢查約 2 秒跑完，整套單元測試 144 個通過（約 1 分 40 秒），3 個端到端的小型訓練測試也在 CPU 上跑完（約 2 分鐘）。</li><li><strong>PRH benchmark（WIT-1024）</strong>：用 DINOv2 ViT-B/14 對比 Qwen2.5–0.5B／1.5B 算 mutual 10-NN。Mac 上跑出 <strong>0.102</strong> 和 <strong>0.108</strong>，跟論文表格的數字到小數點後三位完全一樣（論文裡 109M JEPA 同一個 seed 是 0.170，三個 seed 平均 0.184）。兩者差 0.006，落在 95% 區間（−0.013～+0.002）內，0.5B 和 1.5B 其實分不出高下。程式碼沒有 Apple GPU（MPS）路徑，全部走 CPU：Qwen2.5–0.5B 約 2 分鐘、1.5B 約 3.5 分鐘，DINOv2 約 5 分鐘、記憶體峰值約 20 GB。有一個坑：原版 wit-embed 會一次把 1,024 張原尺寸圖片全部解碼（有的高達 1 億像素），32 GB 的 Mac 直接被系統砍掉（exit 137）；改成把圖片原檔寫到磁碟、一批批讀進來就過了。</li><li>在 Flickr30k 上訓練一個 33M 的小 JEPA：可行但會很慢，還沒試。</li></ul><p>想直接看效果，最快的方式是打開 Hugging Face 上的 demo（galilai-group/prh_demo）丟一張照片進去。</p><p><strong>後續（2026–12–01）：</strong>我在 repo 裡已有的 issue #2「Request: release pretrained text JEPA checkpoints」留言，附上 Mac 上重現的 0.102／0.108，禮貌地請作者考慮釋出 109M 的 checkpoint，哪怕只是 demo 已經在用的 seed-0 good-view 模型也好；如果沒有打算公開，也請在 README 註明。作者回覆後我再更新這篇。連結：<a href="https://github.com/galilai-group/prh-proof/issues/2">github.com/galilai-group/prh-proof/issues/2</a></p><h4>參考資料</h4><ul><li>Mehmet Özel, <a href="https://medium.com/data-science-collective/the-llm-behind-lecuns-109-million-parameter-jepa-a290f485f7af"><em>The LLM Behind LeCun’s 109-Million-Parameter JEPA</em></a>, Data Science Collective (Medium), 2026–11–01</li><li>Randall Balestriero, Yann LeCun, <em>Proving and Improving the Platonic Representation Hypothesis with JEPAs</em>, <a href="https://arxiv.org/abs/2610.39302">arXiv 2610.39302</a></li><li>程式碼：<a href="https://github.com/galilai-group/prh-proof">github.com/galilai-group/prh-proof</a>；Demo：<a href="https://huggingface.co/spaces/galilai-group/prh_demo">huggingface.co/spaces/galilai-group/prh_demo</a></li><li>Huh, Cheung, Wang, Isola, <a href="https://arxiv.org/abs/2405.07987"><em>The Platonic Representation Hypothesis</em></a>, ICML 2024</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c59cc1b57639" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[不存狀態，存輸入：llama.cpp 用「重播」取代「回滾」，讓 GDN 模型的 speculative decoding 省下 9 成記憶體]]></title>
            <link>https://medium.com/@changtimwu/%E4%B8%8D%E5%AD%98%E7%8B%80%E6%85%8B-%E5%AD%98%E8%BC%B8%E5%85%A5-llama-cpp-%E7%94%A8-%E9%87%8D%E6%92%AD-%E5%8F%96%E4%BB%A3-%E5%9B%9E%E6%BB%BE-%E8%AE%93-gdn-%E6%A8%A1%E5%9E%8B%E7%9A%84-speculative-decoding-%E7%9C%81%E4%B8%8B-9-%E6%88%90%E8%A8%98%E6%86%B6%E9%AB%94-128ddbfa9ccf?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/128ddbfa9ccf</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 00:50:21 GMT</pubDate>
            <atom:updated>2026-11-25T01:14:53.911Z</atom:updated>
            <content:encoded><![CDATA[<h3>拆解 PR #31669：一個像 FlashAttention 的取捨、一次橫跨 CUDA、Metal、Vulkan、WebGPU、Hexagon、OpenCL 的協作，以及順手修掉的一個隱藏 bug</h3><p>我是從 X 上 @bebuu_ai 的<a href="https://x.com/bebuu_ai/status/2125104014274797642">一則貼文</a>注意到這個 PR 的：「Qwen3.8–27B just got a big memory optimization in llama.cpp」，32 個平行 sequence 的 speculative decoding state 從 37.4 GiB 降到 5.5 GiB。點進去讀完整串討論之後，我有一種很久沒有的興奮感。這個 PR 叫〈<a href="https://github.com/ggml-org/llama.cpp/pull/31669">GDN: use replay instead of rollback</a>〉，作者是 Aman Gupta（@am17an），11 月 4 日開出來，11 月 23 日合併，改了 52 個檔案。</p><p>標題很平淡，但它背後的想法非常漂亮：<strong>與其把每一步的狀態都存起來以便回滾，不如只存那幾個 token 的輸入，需要的時候再重算一次。</strong>結果是 recurrent state 的記憶體省下 73% 到 91%，多序列時反而更快，在手機 NPU 上，開了 MTP 之後的 prompt 處理速度甚至翻倍。</p><h3>先講背景：GDN 和 speculative decoding 天生不合</h3><p>GDN 是 Gated DeltaNet，一種 linear attention。Qwen3.5、Qwen3.8 這一代的 hybrid 模型，大部分層用的是 GDN，只有少數層用傳統 attention；Kimi K3、GLM5-Next 用的 KDA 也是同一家族。</p><p>傳統 attention 有 KV cache，每多一個 token，cache 就多一列。GDN 不一樣，它把過去所有的內容壓進一個<strong>固定大小的 recurrent state</strong>（每一層、每個 head 一個矩陣），每來一個 token 就更新一次。好處是 context 再長，記憶體都不會長大。</p><p>問題出在 speculative decoding（包括 MTP、DFlash2 這類 draft 方法）。它的流程是：先猜幾個 draft token，再讓大模型一次驗證，猜錯的丟掉（llama.cpp 裡叫 seq_rm）。</p><ul><li>對 KV cache 來說，丟掉很簡單：把最後幾列砍掉就好。</li><li>對 recurrent state 來說，丟掉很難：狀態已經被 d3、d4 更新過了，你沒辦法「減掉」它們。</li></ul><p>所以原本的做法是 <strong>snapshot rollback</strong>：驗證每一個 draft 位置時，都把當下的整個 recurrent state 存一份，猜錯了就跳回對應的那一份。draft 越長、snapshot 越多（參數 n_rs_seq），記憶體就跟著一份一份地疊上去。</p><h3>Replay：只存輸入，需要時再重算</h3><p>這個 PR 的做法，作者用一張圖就講完了：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4yz2X5aLZHVBR_HfX1a82A.png" /><figcaption>GDN replay 的三個步驟（圖片來源：<a href="https://github.com/ggml-org/llama.cpp/pull/31669">llama.cpp PR #31669</a>）</figcaption></figure><ol><li><strong>驗證 4 個 draft token：</strong>d1 到 d4 的 logits 照常算出來，但寫回 cache 的狀態<strong>仍然是 S₀</strong>（已確認的狀態），d1 到 d4 的輸入另外存成 pending。</li><li><strong>拒絕 d3、d4：</strong>完全沒有 GPU 工作，只是把這個 cell 的 pending 數量從 4 改成 2。</li><li><strong>驗證下一批 draft：</strong>在同一個 kernel 裡，先在暫存器中把 S₀ 加上 d1、d2「重播」成 S₁，再接著算新的 e1 到 e4。重播的部分不產生 attention 輸出。</li></ol><p>關鍵在於存的東西不一樣。snapshot 存的是一整個 state 矩陣，而 pending 存的是每個 token 的 k、v、g、beta 這幾個向量，加上 convolution 的幾個 column。<strong>矩陣和向量的差距，就是記憶體省下來的地方。</strong></p><h3>重算怎麼會比較快？</h3><p>PR 開出來兩分鐘，就有人（@Green-Sky）問了這個問題：「How come recomputation is faster?」作者的回答只有一句：</p><blockquote><em>we’re trading more compute for less data movement (same principle as flash attention)</em></blockquote><p>這正是 FlashAttention 的精神：GPU 的算力很便宜，搬資料很貴。snapshot 做法每驗證一次，就要把好幾份完整的 state 寫進記憶體；replay 只需要多算兩三個 token 的更新，而且是在暫存器裡算完。多算一點，少搬很多，總帳反而划算。</p><p>PR 裡的數字（RTX PRO 6000、Qwen3.8–27B Q8_0）：</p><ul><li><strong>記憶體（每個 sequence 的 recurrent state）：</strong>n_rs_seq 3 時從 598.5 MiB 降到 163.2 MiB（-73%），7 時從 1197 MiB 降到 176.8 MiB（-85%），15 時從 2394 MiB 降到 203.9 MiB（-91%）。32 個 sequence、n_rs_seq 7，是 <strong>37.4 GiB 對 5.5 GiB</strong>。</li><li><strong>批次驗證（batched verify）：</strong>1 個 sequence 時幾乎持平（+0.9%），32 個 sequence 時快了 <strong>34.5%</strong>。sequence 越多，省下的資料搬運越明顯。</li><li><strong>llama-server + DFlash2：</strong>4、16、32 個 slot 分別快 2.1%、7.9%、3.8%。</li><li><strong>Prefill：</strong>幾乎不變（-0.1% 到 -0.3%）。</li></ul><p>最讓我驚訝的數字來自一位路過的測試者（@whyisitworking）。他在 OnePlus 13（Snapdragon 8 Elite 的 Hexagon NPU）上跑 Qwen3.5–4B、開 MTP，2071 個 token 的 prompt：</p><ul><li>Replay 關：396 t/s</li><li>Replay 開：847 t/s（<strong>+114%</strong>）</li><li>MTP 完全關掉：911 t/s</li></ul><p>也就是說，開 MTP 對 prompt 處理的代價，從 57% 降到大約 7%。對記憶體頻寬最吃緊的手機來說，少搬資料就是一切。</p><h3>順手修掉一個「沒有錯誤訊息的錯誤」</h3><p>這個 PR 裡我最喜歡的一段，是測試過程中挖出來的 bug。</p><p>協作者 Pascal（@ServeurpersoCom）測試時發現：llama.cpp 在處理一個 batch 時，會在 cell 之間搬動 sequence（swap），但記錄回滾範圍的 rs_max 沒有跟著搬，所以某個 sequence 剛驗證完 draft，就失去了回滾的能力，下一次 seq_rm 直接 abort（issue #31656）。在 DFlash2、8 個平行 sequence 的設定下，snapshot 路徑 3 次執行 3 次都在幾秒內 abort。</p><p>作者接著追下去，發現 snapshot 路徑還有更糟的情況：如果 sequence 被搬進的那個 cell 剛好有夠大的 rs_max，seq_rm 會「成功」，但還原的是<strong>前一個主人的 snapshot</strong>。他在 master 上穩定重現，logits 偏差最多約 12，而且沒有任何錯誤訊息。</p><p>Replay 為什麼沒有這個問題？因為回滾需要的資料（committed state 加 pending inputs）就存在 cell 那一列裡，cell 搬到哪裡，它就跟到哪裡。<strong>更簡單的設計，順便讓一整類 bug 消失了。</strong></p><h3>為什麼一個想法能跑在六種後端上？</h3><p>看到「像 FlashAttention」、又是在 RTX PRO 6000 和 Strix Halo 上量的數字，很容易以為這是某種硬體專屬的技巧。但這個 PR 最後支援了 CUDA、Metal、Vulkan、WebGPU、Hexagon、OpenCL。原因是它改的是<strong>存什麼</strong>，不是<strong>硬體怎麼執行</strong>：任何能跑 GDN 更新和 tensor copy 的後端，都能重播幾個 token；而每一種硬體都受記憶體容量和頻寬限制，所以每一種都能受益。</p><p>不過，演算法可以通用，實作卻不行。這也是為什麼它要改 52 個檔案。討論串裡記錄了好幾個只有在特定後端才會出現的問題：</p><ul><li><strong>Graph 重排：</strong>CUDA 的 graph optimize 只做 fusion，但 Metal 和 Vulkan 會重排 graph 節點。原本的 graph replay fallback 在這些後端上，讓 keep 和非 keep 的 ubatch 產生不同的節點順序，scheduler 每次切換都要重新配置記憶體。Pascal 的做法是把 fallback 整個拿掉，replay 一律在 GDN op 裡做；沒有 replay kernel 的後端，那個 op 就交給 CPU 跑。</li><li><strong>Vulkan 慢 3% 的真正原因：</strong>Pascal 一開始以為是每層 4 個小 copy（k、v、g、beta）造成的 dispatch 開銷，做了原型把它們拿掉，差距卻還在。最後找到真正原因：每一層都對同一個 host input 取一次 view，而 scheduler 會把每個 view 當成獨立的輸入上傳，一個驗證 graph 上傳了 56 份，而不是 18 份。改成每個 graph 只建一次 view 之後，Vulkan 從比 snapshot 慢 3% 變成稍快。</li><li><strong>WebGPU 的 buffer 上限：</strong>replay shader 要綁 11 個 storage buffer（fused 版是 12 個），但 Apple 的 adapter 每個 shader stage 最多只能 10 個。解法是在上限不夠的裝置上，讓這個 op 退回 CPU。</li><li><strong>還沒完成的部分：</strong>Vulkan 的 chunked kernel 還不支援 replay，由 @0cc4m 做後續 PR；SYCL 在這個 PR 裡沒有實作，合併後 GDN 會退回 CPU，在 Intel Arc Pro B60 上 decode 從 29 t/s 掉到約 14 t/s，後續的 <a href="https://github.com/ggml-org/llama.cpp/pull/32944">SYCL GDN Replay（#32944）</a>把它補回 29 到 30 t/s，記憶體同樣從 1197 MiB 降到 176.8 MiB。</li></ul><p>一句話總結：<strong>記憶體與運算的取捨是通用的，graph 排程和 kernel 的管線才是每個後端各自的功課。</strong></p><h3>人和 AI agent 一起完成的 PR</h3><p>這個 PR 另一個讓我印象深刻的地方，是它的協作方式：</p><ul><li><strong>@am17an</strong>（作者）：核心的 replay 設計、KDA 模型的 replay、共用的 graph 和 conv 管線。</li><li><strong>@ServeurpersoCom</strong>（Pascal）：大量測試、挖出上面那個 bug、拿掉 graph fallback，寫了 Metal、Vulkan、WebGPU 的 replay kernel，還有共用 conv view 的優化。</li><li><strong>@max-krasnyansky</strong>：Hexagon 的 replay、處理 rebase，最後也是他按下合併。</li><li><strong>@lhez</strong>（Li He）：OpenCL 的 replay。</li></ul><p>先解釋一下「agent」。這裡說的 AI agent（AI 代理），不是聊天機器人，而是像 Claude Code、OpenAI Codex 這類 AI 工具：它能自己讀程式碼、下指令、編譯、跑測試、修改檔案。你給它一個目標，它一步一步做完，再由人檢查結果。</p><p>llama.cpp 對 AI 寫的程式碼態度很明確。它的 CONTRIBUTING.md 開宗明義寫著：「AI-generated code is allowed. You are 100% responsible for every line, however it was produced.」也就是允許用 AI 寫 code，但有前提：必須揭露 AI 怎麼被使用；你必須看懂每一行，能不靠 AI 向 reviewer 解釋；PR 說明、commit message、回覆 reviewer 這些「對人說的話」不准由 AI 代寫；完全沒有人監督的自主 agent，則被明文請出這個 repo。AI 是被接納的工具，但負責任的作者必須是人。</p><p>在這個規則下，AI agent 是明著出現在討論串裡的。PR 的 AI usage disclosure 寫的是 YES；作者在 11 月 10 日直接對 maintainers 說：「feel free to ask your agent to push to this branch with the implementation of the GDN replay」，後來也提到「my agent pointed out」Vulkan 會一直走 scan kernel；@0cc4m 指出 chunked kernel 的問題時，說的是「Codex had no problem to reproduce」；在手機上測試的 @whyisitworking 也註明他用 Claude 幫忙建置和跑量測。</p><p>但讀完整串，我覺得真正推動這個 PR 的，仍然是人的判斷：Pascal 發現 Vulkan 的 3% 差距不是自己原本以為的原因，於是推翻自己的假設重新量測；作者沒有只修 abort，而是追到 snapshot 會悄悄算錯；有人拿 P40 量出在預設 MTP 設定下 VRAM 根本沒變，也被直接寫進討論。AI agent 讓「每個後端都寫一個 kernel」這件事變得便宜，但決定該寫什麼、該相信哪個數字的，還是這些人。</p><p>這個 PR 也讓我有兩個感想。</p><p><strong>第一，這又是一個 AI 幫人類做出更聰明 AI 的例子。</strong>GDN 是讓 LLM 更省、更快的架構，speculative decoding 是讓 LLM 推論更快的技巧，而改善這兩者的程式碼，有一部分是 AI agent 幫忙寫、幫忙重現 bug、幫忙量測的。AI 還沒有完全自己改進自己，但「人加 AI 一起改進 AI」這個迴圈，已經在真實的開源專案裡天天轉動。我把它看成一種半自我改進（semi-self-improvement）：每一輪都還需要人來決定方向，但每一輪都轉得比上一輪更快，而且是遞迴的，這一輪做出來的更強 AI，又會成為下一輪的工具。</p><p><strong>第二，後端程式碼（backend code）比其他程式碼更能從 AI 受益。</strong>寫一個 Metal、Vulkan、WebGPU 或 Hexagon 的 kernel，需要兩樣很少人同時擁有的東西：手上有那個硬體，以及腦中清楚知道高階概念該怎麼對應到這個硬體上。replay 的概念 am17an 已經在 CUDA 上做清楚了，剩下的是把同一個想法「翻譯」到每一種後端的 API 和限制上，而這正是 agent 擅長的事。作者自己就說：「I don’t have devices to test these, however we can use agents and the CI.」Pascal 也說他沒辦法在 AMD、Intel 上測 Vulkan 的其他變體。過去一個想法要等每個後端都有懂行又有空的人，才能慢慢移植；現在一個人看懂設計，加上 agent 和 CI，幾天內就能把它推到六種硬體上。</p><h3>幾個要注意的地方</h3><ul><li><strong>省多少，取決於 </strong><strong>n_rs_seq。</strong>@sorasoras 在 Tesla P40 上用 Qwen3.5-9B、4 個 sequence、MTP draft-n 2 測，總 VRAM 和 baseline 完全一樣（都是 10149 MiB）。draft 很短、snapshot 不多的設定，省下的記憶體不明顯。</li><li><strong>Prefill 不會變快。</strong>PR 的數字是 -0.1% 到 -0.3%，早期測試在 4k prompt 上慢了約 1.7%。好處主要在多序列的驗證步驟和記憶體。</li><li><strong>只適用 GDN / KDA 模型。</strong>合併後的程式碼在 Qwen3.5、Qwen3.5-MoE、Qwen4exp、Clover-MoE、Kimi K3 / K3.1、GLM5-Next 等架構、而且 n_rs_seq 大於 0 時預設開啟 replay。DeepSeek V4.1、LFM 這類 state 本來就小的模型，暫時仍用 snapshot。</li><li><strong>SYCL 使用者要等後續 PR。</strong>在 #32944 合併之前，Intel GPU 上的 GDN 會退回 CPU。</li></ul><h3>結語：存 log，不存狀態</h3><p>身為一個寫了很多年 firmware 的人，這個 PR 讓我想起很熟悉的東西：journaling file system、write-ahead log。不要每次都把整個狀態寫下來，只記錄變更，需要時從最後一個確認過的狀態重播。資料庫和檔案系統用這招幾十年了，現在它出現在 LLM 推論引擎的 GPU kernel 裡。</p><p>前端工程師對這招應該也不陌生，React 處理 state 用的就是同一套。你呼叫 setCount(c =&gt; c + 1) 時，React 不會馬上改 state，而是把這個小小的 update 排進 queue；下次 render 時，從已確認的 base state 開始，把 queue 裡的 update 依序重播一遍。開啟 concurrent rendering 後，React 會先處理高優先權的 update、暫時跳過低優先權的，但不會丟掉它們，之後再從被跳過的地方開始，把後面的 update 全部依序重播（React 原始碼的註解稱之為 rebasing）；而螢幕上已經 commit 的那棵 fiber tree，在新的 render 完成之前都不會被動到。這和 GDN replay 幾乎一一對應：base state 就是 S₀，update queue 就是 pending inputs，被跳過的 update 就像被拒絕的 draft。兩者的前提也一樣：重播必須是 pure 的。React 因此要求 updater function 和 reducer 不能有副作用，Strict Mode 在開發模式下還會故意呼叫兩次來抓錯；GDN 這邊則要求 replay 的結果和 snapshot 位元完全相同（bit identical）。差別只在動機：llama.cpp 是為了少搬一個大矩陣，React 是為了讓 render 可以被打斷、重排、甚至整個丟掉。</p><p>好的系統設計很少是全新的發明，多半是看出「這裡其實是同一個問題」。am17an 看出了 recurrent state 的回滾，就是一個「存狀態還是存 log」的老問題；FlashAttention 的教訓告訴他重算比搬資料便宜；而一群人加上他們的 agent，在 19 天內把這個想法送進了六種硬體後端。</p><h3>參考資料</h3><ul><li><a href="https://github.com/ggml-org/llama.cpp/pull/31669">GDN: use replay instead of rollback</a>（llama.cpp PR #31669，2026–11–04 開啟，2026–11–23 合併；本文圖片取自此 PR）</li><li><a href="https://github.com/ggml-org/llama.cpp/issues/31656">Eval bug: draft-dflash (DFlash2) aborts in post_decode seq_rm on hybrid Qwen3.8–27B with — parallel 8</a>（llama.cpp issue #31656）</li><li><a href="https://github.com/ggml-org/llama.cpp/pull/32944">sycl: Add GDN Replay support</a>（llama.cpp PR #32944）</li><li><a href="https://arxiv.org/abs/2412.06464">Gated Delta Networks: Improving Mamba2 with Delta Rule</a>（Yang, Kautz, Hatamizadeh, 2024）</li><li><a href="https://github.com/ggml-org/llama.cpp/blob/master/CONTRIBUTING.md">llama.cpp CONTRIBUTING.md：AI Usage Policy</a>（另見 <a href="https://github.com/ggml-org/llama.cpp/blob/master/AGENTS.md">AGENTS.md</a>）</li><li><a href="https://arxiv.org/abs/2205.14135">FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness</a>（Dao et al., 2022）</li><li><a href="https://x.com/bebuu_ai/status/2125104014274797642">bebu (@bebuu_ai) 介紹這個 PR 的貼文</a>（X, 2026–11–24）</li><li><a href="https://react.dev/learn/queueing-a-series-of-state-updates">Queueing a Series of State Updates</a>（React 官方文件）</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=128ddbfa9ccf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VLM 以為自己擅長、其實不擅長的事：LiquidAI d1.2 把讀值、框物件、數數量都變成「決策」]]></title>
            <link>https://medium.com/@changtimwu/vlm-%E4%BB%A5%E7%82%BA%E8%87%AA%E5%B7%B1%E6%93%85%E9%95%B7-%E5%85%B6%E5%AF%A6%E4%B8%8D%E6%93%85%E9%95%B7%E7%9A%84%E4%BA%8B-liquidai-d1-2-%E6%8A%8A%E8%AE%80%E5%80%BC-%E6%A1%86%E7%89%A9%E4%BB%B6-%E6%95%B8%E6%95%B8%E9%87%8F%E9%83%BD%E8%AE%8A%E6%88%90-%E6%B1%BA%E7%AD%96-f41f39960aaf?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f41f39960aaf</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 05:23:27 GMT</pubDate>
            <atom:updated>2026-11-18T05:23:27.980Z</atom:updated>
            <content:encoded><![CDATA[<h3>讀收據、找個資、框物件、估數量、多標籤：零生成 token 的 decision model，接手了 VLM 做得又慢又不準的工作</h3><p>上個月我寫了〈<a href="https://medium.com/p/1d3f844d8313">不說話、只做決定：LiquidAI d1–3B 視覺 decision model 實測</a>〉。那次最讓我驚訝的，是 d1 骨子裡是一顆 VLM（vision language model），卻被 fine-tune 成一個不說話的 decision model：看一眼圖片，一個 forward pass，直接給機率。熱狗辨識 zero-shot 就有 98.4%。</p><p>11 月 16 日，LiquidAI 發表了 <a href="https://www.liquid.ai/blog/d1-2">d1.2 和 d1.2-ultra</a>。新增音訊輸入不意外，真正讓我停下來看了很久的，是它新增的五種任務。</p><h3>d1.2 新增了什麼</h3><p>先整理官方公布的重點：</p><ul><li><strong>音訊輸入：</strong>音訊可以是被問的對象（說話的人講哪種語言？背景有沒有警笛？），問題本身也可以是一段錄音。</li><li><strong>五種新的答案型別（typed answers）：</strong>讀值（text / number / date）、找出所有段落（spans）、框出物件（box / boxes）、估一個數字加區間（number with range）、多選（choice with multiple）。</li><li><strong>Artificial Analysis Decision Index v2.1：</strong>d1.2-ultra 拿 75 分，decision model 第一名，比前一名高 2 分。</li><li><strong>校準誤差（calibration error）：</strong>在 13 個 benchmark、22,505 題上，d1.2-ultra 0.8、d1.2 1.2，對照 Jev 1.14 的 2.7、Perplexity Decider v1.3 的 3.7、GPT-6 Luna Decisions API 的 7.2。</li><li><strong>價格：</strong>只收 input token，d1.2 每百萬 0.02 美元，d1.2-ultra 0.042 美元。一張 1024×1024 的圖算 1,536 個 token，用 d1.2 大約 0.00003 美元，一百萬張圖約 31 美元。output 不收錢，因為根本沒有 output token。</li></ul><p>（校準誤差裡出現的 Jev，就是我在〈<a href="https://medium.com/p/5cfc3f3d3808">你手上的 LLM 早就是一顆 Jev</a>〉那篇談過的同類模型。）</p><h3>那張任務表</h3><p>官方說這五種新任務目前沒有公開 benchmark，所以用公開資料集的 held-out split 做了內部測試集：</p><ul><li><strong>從收據讀出一個值</strong>（CORD、SROIE）：d1.2-ultra 98%、d1.2 96%</li><li><strong>找出文件裡每一筆個資</strong>，precision / recall（Nemotron PII）：94% / 93%、92% / 88%</li><li><strong>框出照片裡被描述的物件</strong>（RefCOCO、RefCOCO+、RefCOCOg）：94%、94%</li><li><strong>估計照片裡的物件數量，誤差一以內</strong>（COCO）：93%、92%</li><li><strong>挑出照片裡出現的所有物件</strong>（COCO）：87%、90%</li></ul><p>音訊方面，判斷聽到什麼聲音（ESC-50）和講哪種語言（FLEURS，43 種語言，包含西班牙文 vs. 葡萄牙文這種容易混淆的選項），兩個模型都答對 95% 到 97%。</p><p>看完這張表，我的第一個反應是：<strong>這些全都是我們「以為」VLM 很擅長、但實際用起來並不擅長的事。</strong></p><h3>VLM 以為自己擅長的事</h3><p>VLM 很會「描述」一張圖：這是一張餐廳收據、照片裡有幾個人在公園野餐。但當你需要的不是描述，而是一個精確、結構化的答案時，問題就來了：</p><ul><li><strong>讀值：</strong>叫 VLM 讀出收據的應付金額，它通常讀得到。但如果收據上根本沒有那個欄位，生成式模型很容易「編」一個看起來合理的數字給你。d1.2 的做法是回傳讀到的字元和它在輸入裡的位置；找不到就回 not found。官方範例裡，發票上沒寫 VAT，答案就是 None，而不是一個猜出來的數字。</li><li><strong>數數量：</strong>VLM 數東西出了名地不準。〈<a href="https://arxiv.org/abs/2407.06581">Vision language models are blind</a>〉這篇論文就展示過，連數重疊的圓圈、線條交叉這種小學生題目，當時最強的 VLM 都會錯。d1.2 不假裝自己數得精確，而是回傳一個中位數加上 p10–p90 的區間，例如「12，大概 10 到 14」。</li><li><strong>框物件：</strong>VLM 要給出一個 bounding box，得把座標一個 token 一個 token生成出來；要框 16 個物件，就要生成幾十上百個 token，格式還可能跑掉。d1.2 一次給出每個框、它的信心分數和總數。</li><li><strong>多標籤：</strong>問 VLM「照片裡有哪些東西」，它回你一段文字，你還得自己 parse，而且不知道它對每一項有多確定。d1.2 對每個選項各給一個機率。</li><li><strong>找個資：</strong>要遮蔽個資，你需要的是每一段文字在原文中的確切位置，而不是一段「這份文件包含姓名和電話」的摘要。</li></ul><p>這五件事有一個共通點：<strong>答案的形狀是固定的，只是內容要從輸入裡讀出來。</strong>這正是 decision model 的主場。</p><h3>問題出在「生成」</h3><p>VLM 在這些任務上的另一個問題是慢，而慢的原因是生成。</p><p>生成式模型的延遲，大約是「讀輸入的時間」加上「每個 output token 的時間 × token 數」。讀圖可以平行算，生成卻只能一個接一個。一個框要四個座標，十個框就是一長串 token；如果再加上 chain-of-thought，延遲就更難預測。每多一個 token，也多一次出錯（格式跑掉、編造內容）的機會。</p><p>d1 系列的官方文件寫得很清楚：decision model「evaluates a situation and returns calibrated probabilities across a fixed set of outcomes in a single call with zero generated tokens」，而新的 typed answers 也是「in the same single pass」。這也是它只收 input token 的原因。</p><p>文件裡有幾個細節，讓我猜得到它大概怎麼做到的（以下是我的推測）：</p><ul><li>估數字的時候，文件說模型是在 low 到 high 之間「最多 128 個值」上讀出估計。這聽起來像是在一個固定位置讀出 128 個候選值的機率分布，再取中位數和 p10、p90，而不是生成數字。</li><li>讀值的答案一定附帶它在輸入中的 span，數字和日期是「從 span 解析出來的，不是轉換出來的」。這比較像是「指向」輸入裡的某一段，而不是重新寫一遍。指向的東西，就不可能是編出來的。</li><li>每個值或框都有一個 found 機率，低於 0.5 就當作不存在。所以「不知道」是模型內建的答案，而不是需要 prompt 拜託它承認。</li></ul><p>如果這個推測沒錯，d1.2 等於把 VLM 最弱的那一段（生成）整個拿掉，只留下它最強的那一段（理解輸入）。</p><h3>幾個要注意的地方</h3><ul><li><strong>沒有對照組。</strong>那張任務表只有 d1.2 自己的數字，沒有列出一般 VLM 在同樣測試集上的成績，所以「比 VLM 好多少」目前沒辦法從這張表看出來。</li><li><strong>內部測試集，而且「not found」算對。</strong>目標不存在時回答 not found 也算答對，這很合理，但也代表這些數字和其他論文的 grounding 或 OCR 分數不能直接比。</li><li><strong>d1.2 只有 API。</strong>d1.2 和 d1.2-ultra 是 hosted model。開放權重的是 d1–2B（基於 LFM3-VL-2B）、d1-omni-2B 和 d1-omni-600M；文件說 typed answers 在 d1–2B 和 d1-omni-2B 上也能用，而且支援 mlx-vlm。我上次測的 d1–3B 已經不在最新清單上。</li><li><strong>multi-label 上 ultra 反而比較差。</strong>「挑出所有物件」這一項，d1.2-ultra 87%，低於 d1.2 的 90%。大不一定比較好，還是要用自己的資料量。</li></ul><h3>結語：VLM 負責描述，decision model 負責決定</h3><p>我在 System One 系列裡一直在講同一件事：很多我們習慣丟給 LLM 的工作，其實不需要生成任何文字。d1 第一代證明了分類、評分、是非題可以這樣做；d1.2 則把範圍推到讀值、找段落、框物件、估數量，這些過去我們理所當然交給 VLM、再忍受它的慢和不準的工作。</p><p>VLM 很會描述世界。但在工廠、帳務、個資遮蔽、監控這些需要「讀出一個答案、知道有多確定、而且要快」的場景，一個不說話的模型，可能比一個很會說話的模型更好用。</p><p>d1–2B 的 typed answers 可以在 MLX 上跑，下一步，我想在自己的 M1 Max 上把它和一般 VLM 放在一起，實際量一次框物件、數數量的速度和準確度。</p><h3>參考資料</h3><ul><li><a href="https://www.liquid.ai/blog/d1-2">d1.2: State-of-the-Art Omnimodal Decision Models</a>（Liquid AI Blog, 2026–11–16）</li><li><a href="https://docs.liquid.ai/lfm/models/decision-models">Decision Models documentation</a>（Liquid AI Docs）</li><li><a href="https://arxiv.org/abs/2407.06581">Vision language models are blind: Failing to translate detailed visual features into words</a>（Rahmanzadehgervi et al., 2024）</li><li><a href="https://medium.com/p/1d3f844d8313">不說話、只做決定：LiquidAI d1–3B 視覺 decision model 實測</a>（本人前作）</li><li><a href="https://medium.com/p/57e7808c58b0">d1 的通用性從哪裡來？用醫學影像拆開預訓練與 decision fine-tune</a>（本人前作）</li><li><a href="https://medium.com/p/5cfc3f3d3808">你手上的 LLM 早就是一顆 Jev：LLM-as-Jev 論文解讀與 MLX 實作驗證</a>（本人前作）</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f41f39960aaf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“90% of My Instructions Are Veiled Within Questions”: How Jensen Huang Uses AI, and Why He Needs 60…]]></title>
            <link>https://medium.com/@changtimwu/90-of-my-instructions-are-veiled-within-questions-how-jensen-huang-uses-ai-and-why-he-needs-60-d4fb96ee6cbb?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4fb96ee6cbb</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[nvidia]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 05:22:40 GMT</pubDate>
            <atom:updated>2026-11-18T05:22:40.833Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>“90% of My Instructions Are Veiled Within Questions”: How Jensen Huang Uses AI, and Why He Needs 60 Direct Reports</em></h3><h3>Revisiting his July 2025 interview with CNN’s Fareed Zakaria: not a CEO riding the AI wave, but a heavy daily user who knows exactly what to ask</h3><p><em>This is the English version of a story first published in Traditional Chinese: </em><a href="https://medium.com/p/f445d357e354"><em>〈「90% 的指令都藏在問題裡」：黃仁勳怎麼用 AI，以及為什麼他需要 60 個直屬主管〉</em></a><em>.</em></p><p>After finishing my previous story, “<a href="https://medium.com/p/d046aa3e881d">Beyond the Scandal: Jensen Huang, the Best Tech Explainer Among CEOs</a>,” I went back through some of Jensen Huang’s older interviews. One passage impresses me every time I watch it.</p><p>It comes from CNN’s <em>Fareed Zakaria GPS</em> on July 13, 2025, the week Nvidia became the first company in history worth $4 trillion. The first half covers the U.S.-China AI race and export controls. In the second half, Zakaria asks something many people are asking: an MIT study had people use AI, use plain search, or use nothing, then gave them cognitive tasks, and the AI group scored worst. Is AI making us dumber?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*07taRf9_L7FjpBwy1aWmFw.jpeg" /><figcaption>Fareed Zakaria interviews Jensen Huang, CNN GPS, July 2025. <a href="https://www.facebook.com/fareedzakaria/videos/4255147031438301/">▶ Watch the clip on Fareed Zakaria’s Facebook</a></figcaption></figure><h3>His answer</h3><p>Huang first says he uses AI every single day and thinks his cognitive skills are actually advancing, “because I’m not asking it to think for me. I’m asking it to teach me things that I don’t know or help me solve problems that I otherwise wouldn’t be able to solve reasonably.” Then comes this:</p><blockquote><em>For example, the idea of prompting an A.I., the idea of asking questions — for example, you’re spending most of your time today asking me questions. In order to ask good questions, it’s a highly cognitive skill. And as a CEO, I spend most of my time asking questions and 90 percent of my instructions are actually, you know, conflated with questions. It is veiled within questions. And when I’m interacting with A.I., it’s a questioning system. You’re asking it questions.</em></blockquote><p>He then describes how he actually works:</p><ul><li><strong>He doesn’t just accept the answer.</strong> He usually comes back with: “Are you sure this is the best answer you can provide?”</li><li><strong>He has AIs critique each other.</strong> He takes one AI’s answer, gives it to another, and asks for a critique; he asks several AIs the same question and has them compare notes, then give him the best of all the answers. He likens it to getting three doctors’ opinions.</li><li><strong>He uses all four.</strong> ChatGPT, Gemini Pro, Perplexity and Grok: he says he uses all of them.</li></ul><p>His advice to the people taking those cognitive tests: apply critical thinking.</p><h3>He sees what LLMs really are</h3><p>This passage struck me because it isn’t a vision statement about AI. It is a heavy user describing a working method.</p><p>“90% of my instructions are veiled within questions” describes two things at once: how a good CEO leads people, and how a good user drives an LLM. With a person, asking “is there a better way to do this?” is really a request to think it through again. With an LLM, asking “Are you sure this is the best answer?” is really a request to self-critique. Handing one model’s answer to another model to pick apart is exactly the idea behind self-refinement, multi-model ensembles and LLM-as-a-judge in today’s AI engineering, and he grew this method out of his own management experience.</p><p>It confirms something for me: <strong>he is far more than a CEO riding the AI hype.</strong> He uses it himself, every day. He knows what he wants, knows what to ask the AI, and knows how to push it, instead of blindly tossing content at an AI to tidy up and calling it done.</p><p>It also answers the concern raised by that MIT study. What makes people dumber is outsourcing their thinking to AI. What makes people sharper is using AI to force themselves to ask better questions, challenge the answers and compare different viewpoints. Same tool, opposite outcomes, and the difference is whether the person using it knows how to ask questions.</p><p>AYi (<a href="https://x.com/AYi_AInotes/status/2122132540332868016">@AYi_AInotes</a>) on X offered another reading of this interview that I really like. A few excerpts, translated from Chinese:</p><blockquote><em>Lao Huang [“Old Huang,” a popular nickname for Jensen] once made a remarkably clear-eyed point in an interview: people who really know how to use AI never expect the model to make decisions for them. Quite the opposite — they are themselves highly sophisticated questioners, who use AI as a lever to pry open the edges of their own blind spots.</em></blockquote><blockquote><em>Facing the same new industry, the average person throws AI a single line, “write me an analysis report,” gets back a pile of correct but soulless filler, and feels pleased about how efficient that was. Someone with real hands-on feel first lays out their own hypotheses, breaks down the logic and the sticking points, and forces the AI to follow their framework: to poke holes, supply counter-evidence, and play out the extreme cases.</em></blockquote><blockquote><em>In the age of large models, answers themselves have been completely devalued. The quality of the question is what’s truly scarce.</em></blockquote><blockquote><em>Put simply, it’s the old wisdom of using the Way to command technique. But the precondition is that you’ve first crawled through the mud long enough to earn a bit of the Way yourself. If you don’t have a decent frame of judgment in your head, even the best model and agent in your hands end up as nothing more than a fancy toy.</em></blockquote><p>“Answers have been devalued; the quality of the question is what’s scarce” says it better than I did. And the precondition for commanding technique with the Way is that you have first crawled through the mud yourself. That is exactly what the next section is about: how does a CEO stay in the mud?</p><h3>60 direct reports: some call it too flat, I think it’s the key</h3><p>Huang’s management style has always been controversial. He has about 60 direct reports, where a typical large-company CEO has five to seven. He doesn’t do one-on-ones; he puts problems in front of everyone at once. In his own words: “We present a problem, and all of us attack it.” For years he has also asked employees to send “Top 5 Things” (T5T) emails about what they are working on and what they are noticing, and he reads them.</p><p>Critics say the structure is too flat: one person directly running 60 managers can’t possibly manage them well, and the company depends too much on him alone.</p><p>I would ask the opposite question: <strong>if you put several layers of management in between, how would you ever produce a CEO with such a sharp sense of the front-line user experience and insight?</strong></p><p>Every extra layer means what the CEO hears gets filtered, packaged and polished one more time. In the end the CEO sees slides instead of the shop floor, and hears “everything is under control” instead of where the engineers are actually stuck. Wouldn’t such a CEO end up full of empty strategy talk, thinking all day only about hitting the quarterly numbers and answering to shareholders? We have all seen far too many CEOs like that.</p><p>Look closely and the way Huang runs 60 leaders is the same way he uses AI: throw the problem out, let many minds attack it at once, have them compare and challenge each other, and synthesize the best answer himself. He does it with four AIs and he does it with 60 people. <strong>A flat organization is an organization where the CEO asks the questions directly.</strong> Someone who sees an LLM for what it is, a “questioning system,” probably only emerges in a company that doesn’t let hierarchy get in the way of questions.</p><p>Of course, this structure has a cost: it depends heavily on the CEO’s own ability and energy, and not every company or every CEO can copy it. But for a company that has to do extreme co-design across every GPU generation and every layer of the software stack, I think the cost is worth paying.</p><h3>Closing</h3><p>Many people learning AI go after prompt templates and tool features. What Huang’s answer reminded me of is something more fundamental: <strong>AI is a questioning system, and how well you use it depends on how well you ask questions.</strong></p><p>People who know how to ask questions lead people well and use AI well. In him, those are the same skill.</p><h3>References</h3><ul><li>Chinese version of this story: <a href="https://medium.com/p/f445d357e354">〈「90% 的指令都藏在問題裡」：黃仁勳怎麼用 AI，以及為什麼他需要 60 個直屬主管〉</a></li><li><a href="https://edition.cnn.com/2025/07/13/world/video/gps0713-nvidia-us-china-ai">Fareed Zakaria GPS: Nvidia CEO Jensen Huang interview</a> (CNN, 2025–07–13, video)</li><li><a href="https://transcripts.cnn.com/show/fzgps/date/2025-07-13/segment/01">Fareed Zakaria GPS transcript, 2025–07–13</a> (CNN)</li><li><a href="https://x.com/AYi_AInotes/status/2122132540332868016">AYi (@AYi_AInotes) on this interview</a> (X, 2026–11–16, in Chinese)</li><li><a href="https://www.entrepreneur.com/business-news/why-nvidia-ceo-jensen-huang-never-has-one-on-one-meetings">Nvidia CEO Jensen Huang Never Has One-on-One Meetings With His 60 Direct Reports</a> (Entrepreneur, 2026)</li><li><a href="https://fortune.com/2024/12/13/jensen-huang-email-nvidia-management-leadership-top-5-things-t5t/">Jensen Huang’s Top 5 Things (T5T) emails</a> (Fortune, 2024–12–13)</li><li><a href="https://medium.com/p/d046aa3e881d">Beyond the Scandal: Jensen Huang, the Best Tech Explainer Among CEOs</a> (my previous story)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4fb96ee6cbb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the Scandal: Jensen Huang, the Best Tech Explainer Among CEOs]]></title>
            <link>https://medium.com/@changtimwu/beyond-the-scandal-jensen-huang-the-best-tech-explainer-among-ceos-d046aa3e881d?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d046aa3e881d</guid>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 05:20:45 GMT</pubDate>
            <atom:updated>2026-11-18T05:24:55.547Z</atom:updated>
            <content:encoded><![CDATA[<h3>His explanation of backpropagation on Joe Rogan shows why no one on a keynote stage explains technology better</h3><p><em>This is the English version of a story first published in Traditional Chinese: </em><a href="https://medium.com/p/8b5b8fc5fe1d"><em>〈醜聞之外：我心中最會「講技術」的 CEO，黃仁勳〉</em></a><em>.</em></p><p>For the past two weeks Jensen Huang has been on front pages around the world, and not because of a new GPU.</p><p>Here is what has been publicly reported so far:</p><ul><li><strong>October 29:</strong> The New York Times published “Nvidia Chief Seen as Target of Chinese Spy Plot,” reporting that U.S. intelligence believes Alice Huang (Huang Le, no relation to Jensen), an executive at the Singapore data center company Megaspeed, was an asset recruited by China’s Ministry of State Security and had developed an intimate relationship with him. Megaspeed bought more than $4.8 billion of Nvidia equipment over two years.</li><li><strong>November 8:</strong> Huang emailed all employees admitting “I was unfaithful to my wife” and “There is no excuse for what I did.” Nvidia’s board formed a committee of independent directors to investigate, while saying it has “no reason to believe that either national security or NVIDIA secrets were compromised” and that it still has confidence in his leadership.</li><li><strong>November 9–10:</strong> Nvidia shares fell as much as 8% intraday; shareholders filed a class action in federal court in San Jose; according to CBS, the Justice Department’s National Security Division is investigating Megaspeed over possible violations of AI chip export controls. House Republicans asked him to appear before Congress on November 18. President Trump called him “an honorable guy.” China’s Foreign Ministry called the spy allegations a smear.</li></ul><p>Plenty of people online are disappointed in him and critical of him. That is understandable.</p><h3>My guess: choosing the lesser charge</h3><p>Let me be clear first: <strong>what follows is purely my personal speculation. I have no inside information and no evidence.</strong></p><p>Here is how I am inclined to read it. For more than a year, Huang has been the hardest-pushing lobbyist in Silicon Valley for loosening GPU export controls. In July 2025 he announced that H20 sales to China could resume; in August the Trump administration proposed taking a 15% cut of certain Nvidia chip sales to China; in December Trump cleared the H200 for “approved customers” in China, a decision widely credited to Huang’s persistent lobbying. He has said publicly that U.S. export controls were a failure that only accelerated China’s own development.</p><p>Pushing that hard naturally draws the U.S. government’s attention. And once someone close to him is named as a Chinese intelligence asset, and a major customer is under a Justice Department export-control investigation, the story slides from “business lobbying” toward “national security,” and in the worst version of public opinion, even toward “treason.”</p><p>In that position, voluntarily admitting an affair looks to me like <strong>pleading guilty to something else</strong>. Compared with endangering national security, marital infidelity belongs to the realm of private morality, and it is nowhere near the same order of seriousness. Saying “I wronged my wife” pulls the frame of the story away from “did he sell out America?” and back to “is he a bad husband?”</p><p>Of course, some facts don’t fit my guess well. No one has been charged; the bar for treason in U.S. law is extremely high and the charge is almost never used; Trump has publicly defended him, and the board says there is no evidence that secrets leaked. So this is just an old engineer’s gut reading. The truth is for the investigations and Congress to establish.</p><p>But what I actually want to write about today is not the scandal. It’s the impression Jensen Huang has always made on me.</p><h3>How he explained backpropagation to Joe Rogan</h3><p>Last December Huang appeared on <a href="https://www.youtube.com/watch?v=3hptKYix4X8">The Joe Rogan Experience #2422</a>. At about <a href="https://www.youtube.com/watch?v=3hptKYix4X8&amp;t=2490s">41:30</a>, when Rogan asks whether AI will put people out of work, Huang decides to start from the beginning: how does AI actually “learn”?</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3hptKYix4X8%3Fstart%3D2490%26feature%3Doembed%26start%3D2490&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3hptKYix4X8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3hptKYix4X8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0db584ddd3dd3ff7389c33ffa4cbb53f/href">https://medium.com/media/0db584ddd3dd3ff7389c33ffa4cbb53f/href</a></iframe><p>Backpropagation is the most fundamental concept in deep learning, and one of the hardest to explain to a lay audience. A textbook would say something like: “compute the gradient of the loss function with respect to each weight, propagate it backward layer by layer using the chain rule, and update the weights by gradient descent.” To Joe Rogan’s audience, every word of that is alien.</p><p>Here is Huang’s version, lightly trimmed from the transcript:</p><blockquote><em>Software historically was humans applying first principles and our thinking to describe an algorithm that is then codified just like a recipe… how to cook something looks exactly the same, just in a slightly different language. We call it Python or C or C++.</em></blockquote><blockquote><em>In the case of deep learning… it’s like a switchboard of little mathematical units and we connect it all together… The input could be a picture of a cat. And one of the outputs of the switchboard is where the cat signal is supposed to show up… the other one’s a dog, the other one’s an elephant… All of the other signals are supposed to be zero when I show it a cat. And the one that is a cat should be one.</em></blockquote><blockquote><em>The first time you do it, it just comes up with garbage. And so it says the right answer is cat. And so you need to increase this signal and decrease all of the other, and back propagates the outcome through the entire network. And then you show another… it’s an image of a dog… and you say no, no, no, the answer is this is a dog… and just do it over and over and over again.</em></blockquote><blockquote><em>It’s just like showing a kid: this is an apple, this is a dog, this is a cat. And you just keep showing it to them until they eventually get it.</em></blockquote><p>Not a single gradient or chain rule, and yet everything that matters is there:</p><ul><li><strong>Recipe vs. switchboard:</strong> “recipe” makes it clear that traditional software is rules written by people; “switchboard” makes a neural network a big set of adjustable connections. One contrast covers the fundamental difference between Software 1.0 and deep learning.</li><li><strong>The cat signal is one, everything else zero:</strong> this is the one-hot label and the training target, explained as “which light should come on.”</li><li><strong>Guess, get told what was wrong, adjust backward:</strong> the full loop of forward pass, loss, backward pass and update, compressed into something a listener gets on the first hearing.</li><li><strong>Teaching a kid:</strong> he closes with an experience everyone has had, so that “learning from examples” feels obvious.</li></ul><p>Even better is where he goes next. He recalls Geoffrey Hinton predicting, about five years earlier, that within five years the world would no longer need radiologists. AI did indeed sweep through radiology, yet the number of radiologists has grown. The reason: a radiologist’s purpose is to diagnose disease; studying images is just a task in service of that purpose. AI lets them read images faster, read more of them, even read them in 3D, so hospitals serve more patients, their economics improve, and they hire more radiologists.</p><p>From backpropagation all the way to “will AI take your job,” without a single piece of jargon, he walks his audience through a complete chain of reasoning. It lines up with the argument I made in “<a href="https://medium.com/p/4d6e6902266b">AGI Is Coming and Software Is Dead?</a>”: technology becomes a commodity, but purpose doesn’t disappear.</p><h3>Why I say he’s number one</h3><p>If you have watched every GTC keynote, you will probably agree: <strong>when it comes to explaining hard technology in words ordinary people understand, and lighting up an audience’s enthusiasm while doing it, Jensen Huang is number one.</strong></p><p>TSMC founder Morris Chang once described three levels of communication skill: <strong>Expressive</strong> (you can get your meaning across), <strong>Articulate</strong> (you speak well enough that listening is a small pleasure), and <strong>Eloquent</strong> (listening to you is a great pleasure). He believed the first two can be trained, while the last belongs to a rare kind of talent, not often found in business. He also advised that a good communicator should “not overestimate the audience’s specialist knowledge, but not underestimate their general intelligence either.”</p><p>That backpropagation explanation is practically a textbook demonstration of that line. But I think Huang is already beyond all three levels: you don’t just understand him, you feel, from the heart, an enthusiasm that a brave new world of technology is about to arrive, and you are moved by it.</p><p>On stage he talks about CUDA, tensor cores, NVLink and token economics in a way that engineers find precise and investors and journalists find exciting. You can tell he isn’t reciting a script; he is genuinely excited about this technology, and that excitement is contagious.</p><p>I would say no CEO at any of the FAANG companies, not even Elon Musk, does this better. Most CEOs talk about vision, products and markets; Musk is great at stirring up excitement, but rarely takes the time to walk a technical concept from zero to understanding. Huang does both: he is an engineer, and the best teacher in the room.</p><p>This is really the same conclusion as my previous story. Value belongs to those who help the masses adopt a technology. Nvidia didn’t invent backpropagation, nor deep learning. But the person who got the whole world to understand it, believe in it, and buy GPUs to put it into practice is Jensen Huang.</p><h3>The comments I can’t stand</h3><p>I have to vent a little here.</p><p>Since the scandal broke, a whole crowd of new people has joined the commentary. What I can’t stand is that most of them have never sat through a single GTC keynote or one of his interviews, and yet they casually dismiss him as “just a businessman.”</p><p>Would “just a businessman” spend five minutes on Joe Rogan, with a switchboard and a kid learning words, making backpropagation clear to tens of millions of non-technical listeners? These people’s reading of AI technology is not on the same level as his. Many non-technical people couldn’t get a word in on AI before; now they suddenly feel entitled to lecture the “high priest of AI” on morality. Of course they jumped at the chance.</p><p>It reminds me of another crowd of half-baked experts from years ago. Every time AMD or some other vendor announced a “CUDA-compatible” device, they would start laughing that CUDA’s moat no longer existed. Just try running a mainstream model on one of these supposedly CUDA-compatible devices once, and you’ll see how far off it is. You don’t even need to run anything: open the manual and you’ll find that some of these so-called compatible devices don’t implement <strong>dp4a</strong> (the instruction that multiplies four int8 pairs and accumulates the result, a staple of quantized inference kernels) or anything like it. That kind of “compatibility” is simply exaggerated.</p><p>CUDA’s moat was never the name of an API. It is an ecosystem built over more than a decade, in which every instruction, every kernel and every framework has already been optimized for it. That people who can’t see this call him “just a businessman” doesn’t surprise me at all.</p><h3>Closing</h3><p>A person can fail in private morality and still be the best at what they do. These two things don’t cancel each other out, and they don’t need to. Let the investigations and Congress sort out the scandal.</p><p>But the next time he walks onto the GTC stage in that leather jacket and starts talking, I will probably still watch it from start to finish.</p><p><em>Sequel: </em><a href="https://medium.com/p/d4fb96ee6cbb"><em>“90% of My Instructions Are Veiled Within Questions”: How Jensen Huang Uses AI, and Why He Needs 60 Direct Reports</em></a></p><h3>References</h3><ul><li>Chinese version of this story: <a href="https://medium.com/p/8b5b8fc5fe1d">〈醜聞之外：我心中最會「講技術」的 CEO，黃仁勳〉</a></li><li><a href="https://www.youtube.com/watch?v=3hptKYix4X8">Joe Rogan Experience #2422 — Jensen Huang</a> (YouTube, 2025–12–03; backpropagation segment starts around 41:30)</li><li><a href="https://en.wikipedia.org/wiki/Nvidia_alleged_spying_scandal">Jensen Huang spying scandal</a> (Wikipedia, timeline of events)</li><li><a href="https://www.aljazeera.com/news/2026/11/8/us-chipmaker-nvidia-investigates-ceo-jensen-huang-over-affair">US chipmaker Nvidia investigates CEO Jensen Huang over affair</a> (Al Jazeera, 2026–11–08)</li><li><a href="https://www.cbsnews.com/news/nvidia-jensen-huang-shareholder-lawsuit-affair-chinese-spy/">Nvidia, CEO Jensen Huang face shareholder suit over his affair with alleged Chinese spy</a> (CBS News)</li><li><a href="https://www.axios.com/2026/11/09/alice-huang-nvidia-jensen-megaspeed">Who is Alice Huang? The woman at the center of Nvidia’s scandal</a> (Axios, 2026–11–09)</li><li><a href="https://www.aljazeera.com/economy/2025/7/15/nvidias-ceo-says-it-gained-us-approval-to-sell-h20-ai-chips-to-china">Nvidia’s CEO says it gained US approval to sell H20 AI chips to China</a> (Al Jazeera, 2025–07–15)</li><li><a href="https://www.semafor.com/article/12/09/2025/trump-says-nvidia-can-sell-h200-ai-chips-to-china">Trump says Nvidia can sell powerful H200 AI chips to China</a> (Semafor, 2025–12)</li><li><a href="https://blog.udn.com/arthurnote/5684759">Morris Chang: communication is what makes you effective</a> (Economic Daily News, 1998–11–12, in Chinese)</li><li><a href="https://medium.com/p/4d6e6902266b">AGI Is Coming and Software Is Dead? An Old Firmware Engineer Has Seen This Script Before</a> (my earlier story)</li><li><a href="https://medium.com/p/d4fb96ee6cbb">“90% of My Instructions Are Veiled Within Questions”: How Jensen Huang Uses AI, and Why He Needs 60 Direct Reports</a> (sequel to this story)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d046aa3e881d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[「90% 的指令都藏在問題裡」：黃仁勳怎麼用 AI，以及為什麼他需要 60 個直屬主管]]></title>
            <link>https://medium.com/@changtimwu/90-%E7%9A%84%E6%8C%87%E4%BB%A4%E9%83%BD%E8%97%8F%E5%9C%A8%E5%95%8F%E9%A1%8C%E8%A3%A1-%E9%BB%83%E4%BB%81%E5%8B%B3%E6%80%8E%E9%BA%BC%E7%94%A8-ai-%E4%BB%A5%E5%8F%8A%E7%82%BA%E4%BB%80%E9%BA%BC%E4%BB%96%E9%9C%80%E8%A6%81-60-%E5%80%8B%E7%9B%B4%E5%B1%AC%E4%B8%BB%E7%AE%A1-f445d357e354?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f445d357e354</guid>
            <category><![CDATA[prompt-engineering]]></category>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 05:16:54 GMT</pubDate>
            <atom:updated>2026-11-18T05:24:19.732Z</atom:updated>
            <content:encoded><![CDATA[<h3>重看 2025 年 7 月 CNN Fareed Zakaria 專訪：他不是搭 AI 順風車的 CEO，而是每天親手提問、知道要問什麼的重度使用者</h3><p><em>English version: </em><a href="https://medium.com/p/d4fb96ee6cbb"><em>“90% of My Instructions Are Veiled Within Questions”: How Jensen Huang Uses AI, and Why He Needs 60 Direct Reports</em></a></p><p>上一篇〈<a href="https://medium.com/p/8b5b8fc5fe1d">醜聞之外：我心中最會「講技術」的 CEO，黃仁勳</a>〉寫完之後，我又回頭翻了一些黃仁勳過去的訪談。其中有一段，我每看一次就佩服一次。</p><p>那是 2025 年 7 月 13 日 CNN《Fareed Zakaria GPS》的專訪，Nvidia 剛成為史上第一家市值 4 兆美元的公司。前半段談的是美中 AI 競賽和出口管制，後半段 Zakaria 問了一個很多人都在問的問題：MIT 有一份研究，讓受試者分別用 AI、用搜尋、什麼都不用，最後做認知測驗，結果用 AI 的人分數最差。我們會不會被 AI 弄笨？</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*07taRf9_L7FjpBwy1aWmFw.jpeg" /><figcaption>Fareed Zakaria 專訪黃仁勳，CNN GPS，2025 年 7 月。<a href="https://www.facebook.com/fareedzakaria/videos/4255147031438301/">▶ 到 Fareed Zakaria 的 Facebook 觀看這段影片</a></figcaption></figure><h3>他的回答</h3><p>黃仁勳先說，他每天都在用 AI，而且覺得自己的認知能力反而在進步，因為「我不是叫它替我思考，而是叫它教我不懂的東西，或者幫我解決我原本解決不了的問題」。接著是這段：</p><blockquote><em>For example, the idea of prompting an A.I., the idea of asking questions — for example, you’re spending most of your time today asking me questions. In order to ask good questions, it’s a highly cognitive skill. And as a CEO, I spend most of my time asking questions and 90 percent of my instructions are actually, you know, conflated with questions. It is veiled within questions. And when I’m interacting with A.I., it’s a questioning system. You’re asking it questions.</em></blockquote><p>翻成中文大意是：</p><blockquote><em>你今天大部分時間都在問我問題。要問出好問題，是一種高度認知的能力。身為 CEO，我大部分時間都在問問題，我下的指令有 90% 其實是和問題混在一起的，是包裝在問題裡面的。而我和 AI 互動時，它就是一個提問的系統，你在問它問題。</em></blockquote><p>他接著描述自己實際怎麼用：</p><ul><li><strong>不直接收下答案。</strong>他通常會回問一句：「Are you sure this is the best answer you can provide?」</li><li><strong>讓 AI 互相批評。</strong>把一個 AI 的答案丟給另一個 AI，請它們 critique；同一個問題問好幾個 AI，請它們互相比對筆記，再給他最好的版本。他說這就像看病時多問三位醫生的意見。</li><li><strong>四個都用。</strong>ChatGPT、Gemini Pro、Perplexity、Grok，他說自己四個都在用。</li></ul><p>最後他給那些做測驗的人的建議是：apply critical thinking。</p><h3>他看穿了 LLM 真正的力量</h3><p>這段話讓我很震撼，因為它說的不是 AI 的願景，而是一個重度使用者的工作方法。</p><p>「90% 的指令都包裝在問題裡」，這句話同時描述了兩件事：一個好 CEO 怎麼帶人，以及一個好使用者怎麼帶 LLM。對人，你問「這個方案還有沒有更好的做法？」，其實是在要求對方再想一輪；對 LLM，你問「Are you sure this is the best answer?」，其實是在要求它 self-critique。把一個模型的答案交給另一個模型挑毛病，正是現在 AI 工程裡常用的 self-refine、multi-model ensemble、LLM-as-a-judge 的思路，而他是從管理經驗裡自己長出這套做法的。</p><p>這讓我更確定一件事：<strong>他遠遠不只是一個搭 AI 熱潮順風車的執行長。</strong>他每天親手在用，知道自己要什麼，知道要問 AI 什麼，知道要怎麼要求 AI，而不是盲目地把內容丟給 AI 修一修就交差。</p><p>這也剛好回答了 MIT 那份研究的疑慮。會讓人變笨的，是把思考外包給 AI 的用法；會讓人變強的，是用 AI 去逼自己問出更好的問題、去挑戰答案、去比對不同觀點。同一個工具，兩種完全相反的結果，差別就在使用的人會不會提問。</p><p>X 上的 AYi（<a href="https://x.com/AYi_AInotes/status/2122132540332868016">@AYi_AInotes</a>）對這段訪談有另一種解讀，我也很喜歡，節錄幾段（原文為簡體中文）：</p><blockquote><em>老黄之前在访谈里讲过一个特别通透的观点，他说真正会用 AI 的人，从来不是指望模型替自己做决定，恰恰相反，这些人本身就是带着极高认知的提问者，他们把 AI 当成一根杠杆，去撬开自己知识盲区的边界。</em></blockquote><blockquote><em>同样面对一个新行业，普通人丢给 AI 一句帮我写份分析报告，拿回一堆正确但毫无灵魂的废话，心里还美滋滋觉得效率真高，而真正有实战体感的人，会先抛出自己的假设、拆解逻辑和卡点，逼着 AI 顺着他的框架去挑刺、去补充反面证据、去推演极端情况。</em></blockquote><blockquote><em>在大模型时代，答案本身已经彻底贬值了，提问的质量才是真正的稀缺品。</em></blockquote><blockquote><em>说白了就是老祖宗讲的以道御术，但大前提是你自己得先在泥潭里摸爬滚打出一点道来，脑子里如果连个像样的判断坐标都没有，再顶级的模型和 Agent 塞到你手里，最后也只能沦为一个高级玩具而已。</em></blockquote><p>「答案已經貶值，提問的品質才是稀缺品」，這句話說得比我好。而「以道御術」的前提，是你得先在泥潭裡摸爬滾打出一點「道」來。這也正是下一段我想談的：一個 CEO 要怎麼保持在泥潭裡？</p><h3>60 個直屬主管：有人說太扁平，我反而覺得這是關鍵</h3><p>黃仁勳的管理方式一直很有爭議。他有大約 60 位直屬主管，一般大公司的 CEO 通常只有 5 到 7 位。他不做 one-on-one，而是把問題攤在所有人面前一起討論；他自己說：「We present a problem, and all of us attack it.」他還長年要求員工寄「Top 5 Things」（T5T）email，寫下自己正在做什麼、觀察到什麼，而他會讀。</p><p>批評的人說，這種架構太扁平，一個人直接指揮 60 個主管，不可能管得好，也太依賴他一個人。</p><p>我倒想反問：<strong>如果在這裡設置好幾層管理，又要怎麼培養出一個對第一線的使用體驗和洞見這麼敏銳的 CEO？</strong></p><p>層級每多一層，CEO 聽到的東西就多被過濾、包裝、美化一次。到最後，他看到的是簡報，而不是現場；聽到的是「一切都在掌握中」，而不是工程師卡在哪裡。這樣的 CEO，會不會又是滿嘴策略空話，整天只想著財報達標、對股東負責就好？我們都看過太多這種 CEO 了。</p><p>仔細想想，黃仁勳帶 60 個主管的方式，和他用 AI 的方式其實是同一套：把問題丟出去，讓很多個「腦」同時攻擊它，互相比對、互相挑戰，最後由他綜合出最好的答案。他對 4 個 AI 這樣做，對 60 個人也這樣做。<strong>扁平的組織，就是一個 CEO 親手問問題的組織。</strong>能看穿 LLM 是一個「questioning system」的人，大概也只會出現在這種不讓層級擋住提問的公司裡。</p><p>當然，這種架構也有代價：它非常依賴 CEO 本人的能力和精力，不是每家公司、每個 CEO 都學得來。但對一家要在每一代 GPU、每一層軟體堆疊都做到 extreme co-design 的公司來說，我認為這個代價值得付。</p><h3>結語</h3><p>很多人學 AI，是去學 prompt 的模板、學工具的功能。但黃仁勳這段話提醒我的是更根本的東西：<strong>AI 是一個提問的系統，而會不會用它，取決於你會不會問問題。</strong></p><p>會問問題的人，帶人帶得好，用 AI 也用得好。這兩件事，在他身上是同一種能力。</p><h3>參考資料</h3><ul><li>本文英文版：<a href="https://medium.com/p/d4fb96ee6cbb">“90% of My Instructions Are Veiled Within Questions”: How Jensen Huang Uses AI, and Why He Needs 60 Direct Reports</a></li><li><a href="https://edition.cnn.com/2025/07/13/world/video/gps0713-nvidia-us-china-ai">Fareed Zakaria GPS: Nvidia CEO Jensen Huang interview</a>（CNN, 2025–07–13，影片）</li><li><a href="https://transcripts.cnn.com/show/fzgps/date/2025-07-13/segment/01">Fareed Zakaria GPS transcript, 2025–07–13</a>（CNN 逐字稿）</li><li><a href="https://x.com/AYi_AInotes/status/2122132540332868016">AYi (@AYi_AInotes) 對這段訪談的解讀</a>（X, 2026–11–16）</li><li><a href="https://www.entrepreneur.com/business-news/why-nvidia-ceo-jensen-huang-never-has-one-on-one-meetings">Nvidia CEO Jensen Huang Never Has One-on-One Meetings With His 60 Direct Reports</a>（Entrepreneur, 2026）</li><li><a href="https://fortune.com/2024/12/13/jensen-huang-email-nvidia-management-leadership-top-5-things-t5t/">Jensen Huang’s Top 5 Things (T5T) emails</a>（Fortune, 2024–12–13）</li><li><a href="https://medium.com/p/8b5b8fc5fe1d">醜聞之外：我心中最會「講技術」的 CEO，黃仁勳</a>（本人前作）</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f445d357e354" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[醜聞之外：我心中最會「講技術」的 CEO，黃仁勳]]></title>
            <link>https://medium.com/@changtimwu/%E9%86%9C%E8%81%9E%E4%B9%8B%E5%A4%96-%E6%88%91%E5%BF%83%E4%B8%AD%E6%9C%80%E6%9C%83-%E8%AC%9B%E6%8A%80%E8%A1%93-%E7%9A%84-ceo-%E9%BB%83%E4%BB%81%E5%8B%B3-8b5b8fc5fe1d?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b5b8fc5fe1d</guid>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Tue, 10 Nov 2026 15:56:39 GMT</pubDate>
            <atom:updated>2026-11-17T05:21:20.792Z</atom:updated>
            <content:encoded><![CDATA[<h3>從 Joe Rogan 節目裡那段 backpropagation 的解釋，看他為什麼是 GTC 舞台上無人能及的 explainer</h3><p><em>English version: </em><a href="https://medium.com/@changtimwu/beyond-the-scandal-jensen-huang-the-best-tech-explainer-among-ceos-d046aa3e881d"><em>Beyond the Scandal: Jensen Huang, the Best Tech Explainer Among CEOs</em></a></p><p>這兩週黃仁勳（Jensen Huang）上了全世界的頭版，但不是因為新 GPU。</p><p>先把目前公開報導的事實整理一下：</p><ul><li><strong>10 月 29 日：</strong>The New York Times 刊出〈Nvidia Chief Seen as Target of Chinese Spy Plot〉，報導美國情報單位認為，新加坡資料中心公司 Megaspeed 的高層 Alice Huang（黃樂，和黃仁勳沒有親屬關係）是中國國家安全部吸收的情報資產，並和黃仁勳發展出親密關係。Megaspeed 兩年內買了超過 48 億美元的 Nvidia 設備。</li><li><strong>11 月 8 日：</strong>黃仁勳寄信給全體員工，承認「I was unfaithful to my wife」，並說「There is no excuse for what I did」。Nvidia 董事會成立獨立董事委員會調查，同時表示「no reason to believe that either national security or NVIDIA secrets were compromised」，對他的領導仍有信心。</li><li><strong>11 月 9–10 日：</strong>Nvidia 股價一度跌 8%；股東在聖荷西聯邦法院提起集體訴訟；據 CBS 報導，司法部國安司正在調查 Megaspeed 是否違反 AI 晶片出口管制。眾議院共和黨議員要求他 11 月 18 日到國會說明。川普則稱他是「an honorable guy」。中國外交部說間諜指控是「抹黑」。</li></ul><p>網路上很多人對他失望、批評他。這可以理解。</p><h3>我的猜測：一種「選擇比較輕的罪名」</h3><p>先講清楚：<strong>以下純屬我個人的臆測，我沒有任何內幕消息，也沒有證據。</strong></p><p>我比較傾向這樣解讀這件事。過去一年多，黃仁勳是矽谷最用力遊說放寬 GPU 出口管制的人：2025 年 7 月他宣布 H20 可以恢復賣中國，8 月川普政府提出從對中晶片銷售抽成 15%，12 月川普又放行 H200 賣給「核准的中國客戶」，報導普遍歸功於他的持續遊說。他公開說過美國的出口管制是 failure，反而加速了中國自主發展。</p><p>推得這麼用力，自然會引來美國政府的注意。而一旦他身邊的人被指為中國情報資產、他的大客戶被司法部以出口管制調查，事情的性質就從「商業遊說」滑向「國家安全」，在最壞的輿論版本裡，甚至是「叛國」。</p><p>在這種處境下，主動承認婚外情，某種程度上像是<strong>換一個方式認罪</strong>。比起危害國家安全，婚姻不忠屬於私人道德的範疇，嚴重程度完全不在同一個量級。承認「我對不起我太太」，等於把故事的框架從「他是不是出賣了美國」，拉回到「他是不是一個糟糕的丈夫」。</p><p>當然，也有事實不太支持我的猜測：目前沒有任何人被起訴，美國法律上的 treason 門檻極高、幾乎不曾動用；川普公開挺他，董事會也說沒有證據顯示機密外洩。所以這只是一個老工程師的直覺解讀。真相如何，就交給調查和國會。</p><p>但我今天真正想寫的，不是醜聞，而是我對黃仁勳這個人一直以來的印象。</p><h3>他怎麼跟 Joe Rogan 解釋 backpropagation</h3><p>去年 12 月黃仁勳上了 <a href="https://www.youtube.com/watch?v=3hptKYix4X8">The Joe Rogan Experience #2422</a>。在大約 <a href="https://www.youtube.com/watch?v=3hptKYix4X8&amp;t=2490s">41 分 30 秒</a>的地方，Rogan 問到 AI 會不會讓人失業，他決定先從頭講起：AI 到底是怎麼「學」的。</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F3hptKYix4X8%3Fstart%3D2490%26feature%3Doembed%26start%3D2490&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D3hptKYix4X8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F3hptKYix4X8%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/0db584ddd3dd3ff7389c33ffa4cbb53f/href">https://medium.com/media/0db584ddd3dd3ff7389c33ffa4cbb53f/href</a></iframe><p>backpropagation（反向傳播）是深度學習最核心、也最難對外行人解釋的概念。課本通常這樣寫：「計算 loss function 對每個權重的 gradient，利用 chain rule 從輸出層逐層往回傳遞，再以 gradient descent 更新權重」。對 Joe Rogan 的聽眾來說，這句話每個詞都是外星文。</p><p>黃仁勳的版本是這樣的（以下是我依逐字稿整理的意譯）：</p><blockquote><em>傳統軟體，就是人用第一原理想出一套演算法，再寫成程式。它看起來就像一份食譜，教你怎麼煮一道菜，只是換了一種語言，叫 Python、C 或 C++。</em></blockquote><blockquote><em>Deep learning 不一樣。我們把一大堆小小的數學單元連在一起，像一個巨大的</em><strong><em>總機交換盤（switchboard）</em></strong><em>。給它看一張貓的照片，交換盤上有一個出口是「貓訊號」，其他出口是狗、大象、老虎。看到貓的時候，貓的那個要亮成 1，其他都要是 0。</em></blockquote><blockquote><em>一開始它只會亂猜，吐出一堆垃圾。於是你告訴它：正確答案是貓，你要把這個訊號調高、其他都調低，然後把這個結果</em><strong><em>往回傳（back propagate）</em></strong><em>到整個網路。接著給它看一隻狗，它又亂猜，你又說：不對，這是狗……就這樣一遍又一遍。</em></blockquote><blockquote><em>就像教小孩：這是蘋果、這是狗、這是貓，一直給他看，直到他學會為止。</em></blockquote><p>一個 gradient、一個 chain rule 都沒有出現，但重點全都在：</p><ul><li><strong>食譜 vs. 交換盤：</strong>先用「食譜」講清楚傳統軟體是人寫規則，再用「交換盤」講神經網路是一堆可以調的連線。一個對比，就把 Software 1.0 和 deep learning 的根本差異講完了。</li><li><strong>貓訊號是 1，其他是 0：</strong>這其實就是 one-hot label 和 training target，他用「哪個燈該亮」來講。</li><li><strong>先亂猜，再告訴它錯在哪，往回調：</strong>這就是 forward pass、loss、backward pass、update 的完整循環，被壓成一句聽眾一次就懂的話。</li><li><strong>教小孩：</strong>最後用每個人都有的經驗收尾，讓「從範例中學習」變得理所當然。</li></ul><p>更厲害的是他接下來的轉折。他提到 Hinton 大約五年前預言「五年後世界不再需要放射科醫師」，結果 AI 的確橫掃了整個放射科，但放射科醫師的人數反而變多了。原因是：放射科醫師的目的（purpose）是診斷疾病，看影像只是為了達成目的的一項任務（task）。AI 讓影像看得更快、更多、還能看 3D，醫院能服務更多病人、經濟更好，於是請了更多放射科醫師。</p><p>從 backpropagation 一路講到「AI 會不會搶走你的工作」，全程沒有一句術語，聽眾卻跟著他走完了一條完整的推理。這和我在〈<a href="https://medium.com/p/0dcbeefa9a3c">AGI 來了，軟體已死？</a>〉裡寫的觀點不謀而合：技術會變成大宗商品，但「目的」不會消失。</p><h3>為什麼我說他是第一名</h3><p>如果你看過每一場 GTC keynote，你大概會同意：<strong>在把艱深的技術用大眾聽得懂的話講出來、並且點燃聽眾熱情這件事上，黃仁勳是第一名。</strong></p><p>張忠謀曾經把科技人的表達能力分成三個境界：<strong>Expressive</strong>（能夠表達，詞能達意）、<strong>Articulate</strong>（能言善道，聽起來有點小樂趣）、<strong>Eloquent</strong>（辯才無礙，聽的人有很大的樂趣）。他認為前兩個可以訓練，最後一個屬於天才型，在企業界並不多見。他也提醒好的發訊者要「不高估對象專門知識，但是也不要低估對象的一般智慧」。</p><p>那段 backpropagation 的解釋，幾乎就是這句話的教科書示範。但我認為黃仁勳已經在這三個境界之上：你不但聽懂了，還會打從心裡感受到一股熱情，相信一個科技的美麗新世界即將來臨，而且被它感動。</p><p>他在台上講 CUDA、講 tensor core、講 NVLink、講 token 經濟學，能讓工程師覺得精準，又讓投資人和記者覺得興奮。你可以感覺到，他不是在背稿，而是真的對這些技術興奮。那股熱情會傳染。</p><p>我會說，FAANG 的任何一位 CEO，甚至 Elon Musk，在這件事上都比不上他。其他 CEO 多半談願景、談產品、談市場；Musk 很會點燃熱情，但很少耐心地把一個技術概念從零講到懂。黃仁勳兩者兼具：他既是工程師，也是最好的老師。</p><p>這和我在前一篇文章的結論其實是同一件事。價值屬於幫助大眾採用技術的人。backpropagation 不是 Nvidia 發明的，deep learning 也不是。但讓全世界聽懂它、相信它、願意買 GPU 去實作它的那個人，是黃仁勳。</p><h3>我實在受不了的那些評論</h3><p>說到這裡，我要抱怨一下。</p><p>醜聞爆出來之後，突然多了一大群人加入評論。我實在受不了的是，他們之中大多數人，連一集 GTC keynote 或一場他的專訪都沒認真聽完過，就隨便說他「只是個商人」。</p><p>只是個商人，會花五分鐘在 Joe Rogan 的節目上，用總機交換盤跟小孩認字，把 backpropagation 講給幾千萬個非技術聽眾聽懂嗎？這些人對 AI 技術的判讀，跟他完全不是同一個等級。很多非技術人過去對 AI 插不上話，現在突然覺得自己可以對「AI 教主」的品德說三道四，當然是逮住機會。</p><p>這讓我想起當年另一批半吊子專家。只要 AMD 或其他廠商宣稱推出「CUDA 相容」的設備，他們就開始笑說 CUDA 的護城河不存在了。其實你只要嘗試讓主流 model 在這些宣稱 CUDA 相容的設備上實際跑一次，就知道差多遠。甚至不用跑，翻開手冊就會發現，有些號稱相容的設備根本沒實作 <strong>dp4a</strong>（4 個 int8 相乘再累加的點積指令，量化推論 kernel 的常客）相關的指令。這種「相容」根本就是誇大。</p><p>CUDA 的護城河從來不是 API 的名字，而是十幾年累積下來、每一條指令、每一個 kernel、每一個框架都已經針對它最佳化過的生態系。看不懂這一點的人，說他「只是個商人」，我一點也不意外。</p><h3>結語</h3><p>一個人可以在私德上犯錯，同時在專業上是頂尖的。這兩件事不互相抵銷，也不必互相抵銷。醜聞的部分，就讓調查和國會去釐清。</p><p>但下一場 GTC 他站上台、穿著那件皮衣開始講話時，我大概還是會從頭看到尾。</p><p><em>續篇：</em><a href="https://medium.com/p/f445d357e354"><em>「90% 的指令都藏在問題裡」：黃仁勳怎麼用 AI，以及為什麼他需要 60 個直屬主管</em></a></p><h3>參考資料</h3><ul><li>本文英文版：<a href="https://medium.com/@changtimwu/beyond-the-scandal-jensen-huang-the-best-tech-explainer-among-ceos-d046aa3e881d">Beyond the Scandal: Jensen Huang, the Best Tech Explainer Among CEOs</a></li><li><a href="https://www.youtube.com/watch?v=3hptKYix4X8">Joe Rogan Experience #2422 — Jensen Huang</a>（YouTube，2025–12–03；backpropagation 段落約 41:30 起）</li><li><a href="https://en.wikipedia.org/wiki/Nvidia_alleged_spying_scandal">Jensen Huang spying scandal</a>（Wikipedia，事件時間軸）</li><li><a href="https://www.aljazeera.com/news/2026/11/8/us-chipmaker-nvidia-investigates-ceo-jensen-huang-over-affair">US chipmaker Nvidia investigates CEO Jensen Huang over affair</a>（Al Jazeera, 2026–11–08）</li><li><a href="https://www.cbsnews.com/news/nvidia-jensen-huang-shareholder-lawsuit-affair-chinese-spy/">Nvidia, CEO Jensen Huang face shareholder suit over his affair with alleged Chinese spy</a>（CBS News）</li><li><a href="https://www.axios.com/2026/11/09/alice-huang-nvidia-jensen-megaspeed">Who is Alice Huang? The woman at the center of Nvidia’s scandal</a>（Axios, 2026–11–09）</li><li><a href="https://www.aljazeera.com/economy/2025/7/15/nvidias-ceo-says-it-gained-us-approval-to-sell-h20-ai-chips-to-china">Nvidia’s CEO says it gained US approval to sell H20 AI chips to China</a>（Al Jazeera, 2025–07–15）</li><li><a href="https://www.semafor.com/article/12/09/2025/trump-says-nvidia-can-sell-h200-ai-chips-to-china">Trump says Nvidia can sell powerful H200 AI chips to China</a>（Semafor, 2025–12）</li><li><a href="https://blog.udn.com/arthurnote/5684759">張忠謀：溝通最能發揮效率</a>（經濟日報 1998–11–12，安瑟管理文摘轉載）</li><li><a href="https://medium.com/p/0dcbeefa9a3c">AGI 來了，軟體已死？一個老韌體工程師看過太多次這種劇本</a>（本人前作）</li><li>續篇：<a href="https://medium.com/p/f445d357e354">「90% 的指令都藏在問題裡」：黃仁勳怎麼用 AI，以及為什麼他需要 60 個直屬主管</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b5b8fc5fe1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AGI Is Coming and Software Is Dead? An Old Firmware Engineer Has Seen This Script Before]]></title>
            <link>https://medium.com/@changtimwu/agi-is-coming-and-software-is-dead-an-old-firmware-engineer-has-seen-this-script-before-4d6e6902266b?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d6e6902266b</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[embedded-systems]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Mon, 26 Oct 2026 23:55:13 GMT</pubDate>
            <atom:updated>2026-10-26T23:55:13.073Z</atom:updated>
            <content:encoded><![CDATA[<h3>From VxWorks to Linux, from an in-house ISA to RISC-V, from AIX to Red Hat: value flows to the people who help everyone adopt a technology, not to the people who create it</h3><p><em>This is the English version of a story first published in Traditional Chinese: </em><a href="https://medium.com/p/0dcbeefa9a3c"><em>〈AGI 來了，軟體已死？一個老韌體工程師看過太多次這種劇本〉</em></a><em>.</em></p><p>For the past few months the same lines have been everywhere: “AGI is coming”, “software is dead”, “we won’t need SWEs anymore.” Engineers are worried about their jobs, and the SaaS industry is worried about its business model: if an AI agent can turn a customer’s requirements straight into code, who still needs to subscribe to general-purpose software?</p><p>After many years writing firmware for embedded systems, I know this anxiety well. I have watched the same script play out several times: a new technology arrives, the owners of the old one are declared dead, and everyone panics. But the ending has never been “some group of people disappears entirely.” It has been a <strong>redistribution of value</strong>, and the direction of that redistribution follows a very consistent rule.</p><p>Let’s look at some cases first.</p><h3>Case 1: Wind River, from king of VxWorks to the largest embedded Linux vendor</h3><p>Anyone who has worked in embedded knows Wind River’s flagship is <strong>VxWorks</strong>, a commercial RTOS (real-time operating system) found all over networking gear, aerospace and industrial control. (QNX, often mentioned in the same breath, belongs to a different company, which was later bought by Harman and then BlackBerry.)</p><p>When Linux entered the embedded market, Wind River was a famously vocal opponent of open source. After all, Linux was free, and VxWorks earned royalties. But in 2004 they publicly changed course: a partnership with Red Hat on embedded Linux, an IPC bridge between VxWorks 6.0 and Linux, and development tools rebuilt on the open-source Eclipse. According to reports at the time, they were afraid Linux would eat the VxWorks business, but customers were blunt: for a certain class of applications, we will use Linux no matter what.</p><p>The result? By 2009, VDC found Wind River had more than 30% of embedded Linux market revenue, and that same year Intel bought Wind River for $884 million. VxWorks didn’t die either; five years after the pivot it was still growing.</p><p>Wind River didn’t write the Linux kernel. It made its money on the road that makes Linux <strong>shippable</strong> on a customer’s board: BSPs, toolchains, long-term maintenance, safety certification, and someone to answer for it when things go wrong.</p><h3>Case 2: Andes Technology, from its own ISA to RISC-V</h3><p>Taiwan’s CPU IP company Andes Technology (晶心科技) started with its own <strong>AndeStar</strong> instruction set architecture. Building a proprietary ISA in an Arm-dominated market is hard, and the hard part was never the CPU design itself. It was the ecosystem: compilers, debuggers, OS ports and third-party software, every one of which you have to carry yourself.</p><p>When RISC-V appeared, Andes didn’t compete with it. It became a founding member of the RISC-V Foundation and built its fifth-generation AndeStar V5 directly on RISC-V. It later upgraded to Platinum membership, chairs task groups such as the P-extension (Packed SIMD/DSP), and its product line now runs from tiny 32-bit cores to 64-bit multicore designs with vector units that run Linux.</p><p>Andes didn’t invent RISC-V. But a company that wants to build a chip on RISC-V needs a verified, licensable, supported core, and that is exactly what Andes does.</p><h3>Case 3: IBM, from AIX to paying $34 billion for Red Hat</h3><p>IBM had its own UNIX: <strong>AIX</strong>. When Linux rose, IBM didn’t protect AIX. In 2001 it announced a $1 billion investment in Linux (and pledged another billion in 2013). AIX is still around today, but IBM’s center of gravity moved to Linux long ago.</p><p>The most interesting part is the ending: in 2018 IBM announced it would buy Red Hat for about $34 billion, the largest software acquisition in history at the time, completed in 2019.</p><p>The Linux kernel was written by Linus Torvalds and the community, and its authors didn’t get that $34 billion. Red Hat did: the company that packaged free Linux into something enterprises dare to run, with subscriptions, SLAs and certifications. Red Hat was a veteran of this path itself. In 1999 it bought Cygnus Solutions in a $674 million stock deal. Cygnus had built its business on commercial support for GCC and the GNU toolchain, under the slogan “making free software affordable.”</p><h3>Case 4: the MySQL and PostgreSQL consultancies</h3><p>The database world keeps replaying the same pattern:</p><ul><li><strong>Percona:</strong> founded in 2006 by Peter Zaitsev and Vadim Tkachenko as a two-person MySQL performance consultancy, it grew into a full open source database company.</li><li><strong>EDB (EnterpriseDB):</strong> enterprise support and compatible distributions for PostgreSQL. In 2020 it bought 2ndQuadrant, a UK PostgreSQL consultancy and tools company, and became the largest dedicated PostgreSQL vendor.</li><li><strong>Crunchy Data:</strong> a PostgreSQL company serving government agencies and financial institutions, with about $30 million in annual revenue, bought by Snowflake for about $250 million in 2025. A few weeks earlier, Databricks had bought the serverless Postgres company Neon for about $1 billion.</li></ul><p>Most core PostgreSQL developers are community volunteers. What the capital markets actually put a price on are the teams that carried PostgreSQL into regulated industries, onto the cloud, and into enterprise data platforms.</p><h3>The common pattern: technology becomes a commodity, adoption doesn’t</h3><p>Stack these stories together and the rule is clear:</p><ul><li><strong>New technology eventually becomes cheap, even free.</strong> Linux, RISC-V and PostgreSQL all did. The more successful a technology is, the more it becomes a commodity, like water and electricity.</li><li><strong>But “make this technology work here, for me” is never cheap.</strong> Every customer has its own legacy systems, its own hardware, its own regulations, its own corner cases. That last mile can’t be commoditized, because it is different everywhere by nature.</li><li><strong>For the owners of the old technology, the best way out is usually not to fight but to turn around and become adopters of the new one.</strong> Wind River, Andes and IBM all survived that way, and some did better than before.</li></ul><p>My conclusion: <strong>value belongs to those who help the masses adopt a technology, not to the technology’s creators.</strong></p><p>There are exceptions, of course. Nvidia and Arm are creators and made a fortune; Linus himself is doing fine. But for the vast majority of engineers and companies, you are unlikely to write the next Linux, and you don’t need to. MontaVista’s story adds a further warning. An early pioneer of embedded Linux, MontaVista was bought by Cavium in 2009 for about $50 million, far less than Wind River. Simply standing on the side of the new technology isn’t enough. You have to understand better than anyone else how customers will actually land it.</p><h3>Back to AGI: AI is this generation’s Linux</h3><p>Seen this way, I think the more accurate version of “software is dead” is: <strong>“writing a piece of code that works” is becoming a commodity.</strong> Just as Linux made “having an OS kernel” free.</p><p>That doesn’t mean the value of software engineering disappears. It moves to the last mile:</p><ul><li>How do you replace a factory inspection line with a model that looks at images? Who is responsible when it misjudges?</li><li>Can a hospital’s imaging workflow run on a 3B model? In which cases is it simply unreliable?</li><li>How do you let an AI agent safely modify firmware that has run for fifteen years without taking down the production line?</li><li>How do you connect a company’s internal data, permissions and audit trails to an agent?</li></ul><p>The frontier labs won’t answer these questions for you, because the answers live in your industry, your customers and your legacy systems. My own recent experiments with LiquidAI’s d1–3B (<a href="https://medium.com/p/8477aa9c7899">hot dogs, defect detection, violence detection</a>, and <a href="https://medium.com/p/36527dd4831b">medical images</a>) are exactly this kind of work: I didn’t make the model, but someone has to actually try whether it can land in a specific scenario, and where it fails.</p><p>The same goes for SaaS. If general-purpose software is replaced by AI-generated custom software, what becomes scarce is the people who understand an industry’s workflows, know where things break, and can take responsibility for the outcome. That is essentially the same thing Red Hat and Percona sell.</p><h3>Advice for engineers</h3><p>So if you are worried that AGI will take your job, my advice is: <strong>get good at adopting a technology that already exists, rather than creating one that competes with it.</strong></p><ul><li><strong>Learn to evaluate.</strong> Don’t trust benchmarks to tell you whether a model is accurate on your data. Run the evaluation yourself.</li><li><strong>Know your legacy.</strong> Knowledge of old systems, old protocols and old hardware doesn’t lose value because of AI. It gains value, because every adoption has to cross it.</li><li><strong>Know your domain.</strong> Regulations, safety certification and the rhythm of a production line are the things a model can least learn from the internet.</li><li><strong>Be willing to be accountable.</strong> Enterprises never pay only for software. They pay for someone to pick up the phone when something breaks.</li></ul><p>VxWorks engineers didn’t disappear because of Linux. They became embedded Linux engineers, and the ones who knew both were the most sought after. This time will probably end the same way.</p><h3>References</h3><ul><li>Chinese version of this story: <a href="https://medium.com/p/0dcbeefa9a3c">〈AGI 來了，軟體已死？一個老韌體工程師看過太多次這種劇本〉</a></li><li><a href="https://adtmag.com/articles/2004/03/17/wind-river-gets-linux-fever.aspx">Wind River gets Linux fever</a> (ADTmag, 2004)</li><li><a href="https://www.datamation.com/open-source/embedded-linux-leader-wind-river/">Embedded Linux leader: Wind River</a> (Datamation, 2009)</li><li><a href="https://en.wikipedia.org/wiki/QNX">QNX</a> (Wikipedia)</li><li><a href="https://www.design-reuse.com/news/47204/risc-v-foundation-platinum-member-andes.html">RISC-V Foundation Founding Member Andes Technology Turns Platinum</a> (2019)</li><li><a href="https://www.axios.com/2018/10/28/ibm-to-acquire-red-hat-for-34-billion">IBM to acquire Red Hat for $34 billion</a> (Axios, 2018)</li><li><a href="https://www.phoronix.com/news/IBM-Potential-Red-Hat">IBM Announces Deal To Acquire Red Hat</a> (Phoronix)</li><li><a href="https://www.redhat.com/en/about/press-releases/press-cygnusmerger">Cygnus Solutions Merger Snapshot</a> (Red Hat, 1999)</li><li><a href="https://enterprisedb.com/press-releases/edb-completes-acquisition-2ndquadrant-becomes-largest-dedicated-provider-postgresql">EDB completes acquisition of 2ndQuadrant</a> (EDB, 2020)</li><li><a href="https://www.fool.com/investing/2025/06/04/snowflakes-smart-250-million-acquisition/">Snowflake’s $250 million acquisition of Crunchy Data</a> (Motley Fool, 2025)</li><li><a href="https://us.design-reuse.com/news/22035/cavium-montavista-software-acquisition.html">Cavium Networks to acquire MontaVista Software</a> (2009)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d6e6902266b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your LLM Is Already a Jev: Reading the LLM-as-Jev Paper and Reproducing It in MLX]]></title>
            <link>https://medium.com/@changtimwu/your-llm-is-already-a-jev-reading-the-llm-as-jev-paper-and-reproducing-it-in-mlx-4e0e4308868c?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e0e4308868c</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 23:49:36 GMT</pubDate>
            <atom:updated>2026-10-25T23:49:36.809Z</atom:updated>
            <content:encoded><![CDATA[<h3>No architecture change, no training: just a prefill and a closing bracket. Plus the six bugs hiding in a PoC that “looked easy”</h3><p><em>This is the English version of a story first published in Traditional Chinese: </em><a href="https://medium.com/p/5cfc3f3d3808"><em>〈你手上的 LLM 早就是一顆 Jev〉</em></a><em>.</em></p><p>This story continues my System One series (written in Chinese). Part ① “<a href="https://medium.com/@changtimwu/90-%E4%BF%A1%E5%BF%83-%E4%B8%8D%E6%98%AF%E6%A9%9F%E7%8E%87-%E6%8B%86%E8%A7%A3%E4%B8%80%E5%80%8B%E4%B8%8D%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97%E7%9A%84-llm-13b18d2decc9">‘90% confident’ is not a probability</a>” introduced TypeSafe’s Jev: a decision model that generates no text and returns a probability for each option instead. Part ⑨ “<a href="https://medium.com/@changtimwu/%E4%B8%8D%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97-%E4%B8%8D%E6%98%AF%E8%B3%A3%E9%BB%9E-%E6%98%AF%E9%A0%90%E8%A8%AD%E5%80%BC-4b3258289571">Not generating text isn’t a selling point, it’s the default</a>” argued that prefill-only is simply how embedding models and rerankers already work. My two most recent stories (in English) tested LiquidAI’s <a href="https://medium.com/p/8477aa9c7899">d1–3B</a> and used <a href="https://medium.com/p/36527dd4831b">medical images</a> to pull apart where its generality comes from.</p><p>Jev’s weights and training method are not public, so the community keeps asking how to build this capability. In October, Yinheng Li and Justin Wagle of Microsoft published “<a href="https://arxiv.org/abs/2610.02076">LLM-as-Jev: LLMs Are Already Jev-Style Decision Models — When and How to Fine-Tune Them</a>”, with a blunt answer: <strong>an ordinary chat LLM already is a Jev-style decision model. It needs no architecture change, and most of the time no training.</strong></p><p>The paper ships no code, so I had Claude rebuild it with MLX on my Mac. This story has three parts: the paper’s method, how we implemented it, and how we checked that what we built is right.</p><h3>The method: one prefill and a closing bracket</h3><p>The whole training-free recipe (§3.2–3.3 of the paper) fits in three steps:</p><ul><li><strong>Number the options.</strong> The user message says “State: {situation}”, lists “[1] option one … [K] option K”, and asks the model to answer only with the bracketed number. Wrap it in the model’s chat template with thinking turned off.</li><li><strong>Start the answer for the model.</strong> Prefill the assistant turn with “Best answer: [”. Choosing option k now means generating the tokens “k]”.</li><li><strong>Score every option.</strong> Add up the log-probs of every token in “k]” to get option k’s score, then softmax over all K options. The result is a probability distribution, and no text is generated at all.</li></ul><p>The trick is the <strong>closing bracket</strong>. Because every candidate ends in “]”, no candidate can be the start of another (“1]” is not a prefix of “12]”). The paper calls this prefix-free, and it means the option count is unlimited: 77 options, 151 options, whatever you need. All candidates share one prompt and form a shallow trie, so the prompt is prefilled once and every option is scored with just 1–3 short batched forward steps.</p><p>Compare the common alternatives. Reading the logits of the letters A/B/C/D caps you at 26 options. Asking about each option separately means 77 runs for 77 options.</p><h3>The paper’s numbers: a frozen 4B is already strong</h3><p>All numbers below come from Table 1 and §4 of the paper:</p><ul><li><strong>Competitive with no training.</strong> Frozen Qwen3.5–4B scores 81.4% on the public JevBench (231 items). That beats SemIf (80.5%), which also uses no training, and reflex 4B (79.7%), which was fine-tuned on the same backbone.</li><li><strong>The probabilities are calibrated.</strong> ECE is 0.057 with no post-hoc correction, better than SemIf (0.061) and reflex 4B (0.070). When the model says 80%, it is right about 80% of the time.</li><li><strong>Many options are fine.</strong> On Banking77, a 77-way intent classification task, the untrained 4B gets 69.0%.</li><li><strong>Images work as is.</strong> Put image tokens in front of the prompt and the same interface gets 82.4% on MMBench and 64.6% on MMStar. Remove the images and it drops to 15.2% and 28.8%, so the model really is looking.</li><li><strong>Let it think first.</strong> The paper’s “Thinking Jev” gives the model a capped thinking budget before reading the probabilities. At 4,096 tokens, the 4B reaches 94.8% on JevBench, matching GPT-5.6 Sol at 94.4%.</li></ul><h4>When do you actually need to fine-tune?</h4><p>The conclusions in §4.3 line up almost exactly with what I saw in my two d1 stories:</p><ul><li><strong>Small models are the main beneficiaries.</strong> Untrained, the 0.6B gets only 22.2% on Banking77; fine-tuned, it jumps to 60.5%, because it barely follows the answer format to begin with. The 4B is strong already: full fine-tuning gives almost no net gain on JevBench, and only LoRA improves it (84.0%).</li><li><strong>Fine-tuning changes how the model judges, not what it knows.</strong> In the paper’s words, fine-tuning “cannot inject world knowledge that the pre-trained backbone lacks.” Knowledge benchmarks such as MMLU and TriviaQA barely move however you train. That is the conclusion of my <a href="https://medium.com/p/36527dd4831b">medical imaging story</a> as well: what the model recognizes comes from pretraining, and the fine-tune only decides whether it can apply that to your question.</li><li><strong>Train only on intent routing and you get a yes-man.</strong> The paper calls this the Intent Trap: fed only intent-routing data, the model answers yes to almost every yes/no question, and JevBench drops from 81.4% to 74.9%. It is the same disease as the base model in my d1 story that answered yes to every chest X-ray. LiquidAI says d1’s training specifically “shuffles answer options and fixes shortcuts”, probably to treat exactly this.</li><li><strong>If you train, add anchors.</strong> The paper’s fine-tune adds KL anchors that keep the model close to its original behavior. Without them, the 4B fails to stop after the closing bracket and keeps emitting extra text on 69 of 231 items.</li></ul><h3>Our PoC: Gemini said it was easy, Claude found six bugs</h3><p>I first asked Gemini how hard an MLX PoC would be. It wrote a sketch and said it was easy: one prefill, read each option token’s logit, softmax. The direction was right, but when I had Claude review it line by line against the paper, it found six problems. The three most important:</p><ul><li><strong>The model doesn’t exist.</strong> The sketch used Qwen3.5-4B-Instruct-4bit, but there is no such repo; Qwen3.5 has no -Instruct suffix.</li><li><strong>No chat template.</strong> The paper puts “Best answer: [” inside the assistant turn. The sketch sends a raw string, which turns it into a base-LM setup.</li><li><strong>It reads only the first token.</strong> This is the fatal one. Qwen’s tokenizer splits numbers one digit per token, so “10]” becomes “1”, “0”, “]”. Read only the first token and options 1, 10, 11 and 12 share a single logit; the model cannot tell them apart. The paper’s appendix calls this the “option-10 effect”.</li></ul><p>The fixed implementation (<a href="https://github.com/changtimwu/llm-as-jev-exp">changtimwu/llm-as-jev-exp</a>) runs on an Apple M1 Max with 32 GB, using mlx-lm and 4-bit quantized Qwen3.5–4B and Qwen3–0.6B:</p><ul><li>Build the prompt with the chat template, then append “Best answer: [”.</li><li>Take each candidate’s tokens from tokenizing “prompt + candidate” as a whole, and check that the prompt really is a token-level prefix (Appendix C warns about this).</li><li>Prefill the prompt once, copy its KV cache across the batch, and run <strong>one</strong> batched forward pass over the trie’s internal nodes.</li><li>Pull out every candidate’s log-probs with one vectorized gather, sum them, and softmax.</li></ul><h3>How we checked that it is right</h3><p>With no official code to compare against, validation had three layers: prove the algorithm computes the right numbers, check that it avoids the option-10 trap, and compare against the paper on a real dataset.</p><h4>Layer 1: compare against the slow way</h4><p>The most reliable reference is the slowest possible implementation: for every candidate, run a full forward pass over “prompt + candidate” from scratch and read its log-prob directly, with no cache and no trie. python jev.py --check compares the two methods option by option:</p><ul><li>K=3: identical scores, maximum difference 0.</li><li>K=119: maximum difference 3.8×10⁻⁵ (the paper reports differences on the order of 10⁻⁵), and the same top option.</li><li>Speed: at K=119 the cached version takes 2.5 s; the slow way takes 348 s (119 forward passes), about 141× slower.</li></ul><p>This layer also dug up a detail the paper doesn’t dwell on: <strong>precision</strong>. Our first run used bf16, and the two methods differed by up to 0.15 nats. bf16 has a resolution of only about 0.1 for logits around 20, so different batch shapes round differently. Running activations in FP32 (weights still 4-bit) fixed it with no slowdown. The paper itself runs in FP32.</p><h4>Layer 2: the option-10 trap</h4><p>The demo has one deliberately designed question: “Which month has the fewest days?”, with 12 options and the correct answer, February, in position [10].</p><ul><li><strong>The paper’s full-suffix scoring:</strong> [10] February gets 95.8%.</li><li><strong>The Gemini sketch’s first-token readout:</strong> [1], [10], [11] and [12] each get 24.8%. Four identical scores, because all four start with the token “1”.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AHajOtaaQFryfj3ABlK8_Q.png" /><figcaption>Qwen3.5–4B (4-bit) answering “Which month has the fewest days?”. The paper’s full-suffix scoring gives [10] February 95.8%; reading only the first token, [1], [10], [11] and [12] all start with “1” and get an identical 24.8% each</figcaption></figure><h4>Layer 3: Banking77 against the paper</h4><p>Banking77 is a 77-way classification of banking customer-service intents. We took a fixed sample of 300 items from the 3,076-item test set and read the same model three ways on the M1 Max: the paper’s full-suffix scoring, letting the model actually generate text and parsing the number, and the Gemini sketch’s first-token readout.</p><ul><li><strong>Qwen3.5–4B:</strong> paper scoring 67.3% (paper reports 69.0%); generated text 67.7% (paper 68.5%). The two picked the same answer on 98% of items, with 0 parse failures. The first-token readout gets only 11.0%: its 77 options collapse into just 9 distinct scores.</li><li><strong>Qwen3–0.6B:</strong> paper scoring 21.3% (paper 22.2%); generated text 21.7% (paper 21.9%); first-token readout 8.7%.</li><li><strong>bf16 and FP32 give exactly the same accuracy</strong> (67.3% both). Precision affects the decimals of the probabilities, not which option wins.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rO5IdM7iAL1IjIl-N-lXFQ.png" /><figcaption>Banking77, 77-way intent classification, 300 sampled items, Apple M1 Max, 4-bit weights. Dashed lines are the paper’s numbers on the full test set</figcaption></figure><p>With 300 items the 95% confidence interval is about ±5 points, so both models match the paper within sampling error. A paper run in FP32 on a GPU reproduces with 4-bit weights on laptop-class Apple Silicon.</p><p>Two more details are worth noting. First, the first-token readout’s ECE (0.034) looks better than the paper scoring’s (0.076), but that is an illusion: its probabilities are nearly uniform, and a model that is confident about nothing is never overconfident. That isn’t good calibration. Second, latency: with about 709 prompt tokens per Banking77 item, the 4B takes a median 2.3 s and the 0.6B about 0.46 s; short demo prompts of 60–100 tokens take 160–270 ms. The paper reports 194 ms for the 4B on an RTX A5500, and our code has no speed optimization at all.</p><h3>What the paper tells us</h3><ul><li><strong>“Jev-style” is a way of reading a model more than a kind of model.</strong> Read the same chat LLM’s next-token probabilities differently and it becomes a decision model that returns a calibrated distribution. That echoes part ⑨: not generating text isn’t a special ability, it is what prefill-only models naturally are.</li><li><strong>The details decide everything.</strong> “One prefill, read the logits, softmax” is a true sentence. But how the tokenizer splits digits, whether the prompt really is a token prefix, and whether the floating-point precision is enough can each make the result quietly wrong, without any error message. The Gemini sketch looks perfectly fine up to 9 options and collapses at 77.</li><li><strong>Validate against something slow but impossible to get wrong.</strong> With no official code, “recompute every candidate from scratch” is the best ground truth. Caching, tries and batching should all match it to several decimal places before you run a single benchmark.</li><li><strong>Try no training first.</strong> For a 4B-class model, the untrained readout is already a strong baseline. Fine-tuning pays off only when the model is too small or you have a very specialized routing task. If you do train, use diverse data, match input lengths, and add anchors.</li></ul><h3>Limitations</h3><ul><li>We used 4-bit quantized models; the paper uses FP32 weights.</li><li>Banking77 is a 300-item sample of the 3,076-item test set, not all of it, and the options are the raw label names (e.g. card_arrival).</li><li>We did not reproduce JevBench (its items aren’t published with the paper), fine-tuning, Thinking Jev or the image tasks.</li><li>The code has no speed optimization, so M1 Max latencies can’t be compared directly with the paper’s GPU numbers.</li><li>ECE and Brier are computed on only 300 items, so they are noisier than the paper’s full-test numbers.</li></ul><h3>Reproduce the experiments</h3><pre>git clone https://github.com/changtimwu/llm-as-jev-exp &amp;&amp; cd llm-as-jev-exp<br>uv venv --python 3.12 &amp;&amp; source .venv/bin/activate<br>uv pip install mlx-lm datasets<br>python jev.py --check<br>python demo.py<br>python eval_banking77.py --n 300</pre><h3>References</h3><ul><li>Chinese version of this story: <a href="https://medium.com/p/5cfc3f3d3808">〈你手上的 LLM 早就是一顆 Jev：LLM-as-Jev 論文解讀與 MLX 實作驗證〉</a></li><li>Paper: Yinheng Li, Justin Wagle, “<a href="https://arxiv.org/abs/2610.02076">LLM-as-Jev: LLMs Are Already Jev-Style Decision Models — When and How to Fine-Tune Them</a>”, arXiv:2610.02076v3 (<a href="https://arxiv.org/html/2610.02076v3">HTML</a>)</li><li>Implementation: <a href="https://github.com/changtimwu/llm-as-jev-exp">github.com/changtimwu/llm-as-jev-exp</a> (results in the <a href="https://github.com/changtimwu/llm-as-jev-exp#results">README</a>, commit 57d4e14)</li><li>mlx-lm: <a href="https://github.com/ml-explore/mlx-lm">github.com/ml-explore/mlx-lm</a></li><li>Earlier parts of the System One series (in Chinese): <a href="https://medium.com/@changtimwu/90-%E4%BF%A1%E5%BF%83-%E4%B8%8D%E6%98%AF%E6%A9%9F%E7%8E%87-%E6%8B%86%E8%A7%A3%E4%B8%80%E5%80%8B%E4%B8%8D%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97%E7%9A%84-llm-13b18d2decc9">①</a>, <a href="https://medium.com/@changtimwu/jev-%E6%B2%92%E6%9C%89%E6%AF%94-reranker-%E5%BF%AB-58374712df9c">⑧</a>, <a href="https://medium.com/@changtimwu/%E4%B8%8D%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97-%E4%B8%8D%E6%98%AF%E8%B3%A3%E9%BB%9E-%E6%98%AF%E9%A0%90%E8%A8%AD%E5%80%BC-4b3258289571">⑨</a></li><li>The d1 stories: <a href="https://medium.com/p/8477aa9c7899">It Doesn’t Talk, It Only Decides: Testing LiquidAI’s d1–3B</a>, <a href="https://medium.com/p/36527dd4831b">Where Does d1’s Generality Come From?</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e0e4308868c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[你手上的 LLM 早就是一顆 Jev：LLM-as-Jev 論文解讀與 MLX 實作驗證]]></title>
            <link>https://medium.com/@changtimwu/%E4%BD%A0%E6%89%8B%E4%B8%8A%E7%9A%84-llm-%E6%97%A9%E5%B0%B1%E6%98%AF%E4%B8%80%E9%A1%86-jev-llm-as-jev-%E8%AB%96%E6%96%87%E8%A7%A3%E8%AE%80%E8%88%87-mlx-%E5%AF%A6%E4%BD%9C%E9%A9%97%E8%AD%89-5cfc3f3d3808?source=rss-ceaf2658ef1d------2</link>
            <guid isPermaLink="false">https://medium.com/p/5cfc3f3d3808</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Tim Wu]]></dc:creator>
            <pubDate>Sun, 25 Oct 2026 23:45:35 GMT</pubDate>
            <atom:updated>2026-10-25T23:50:25.932Z</atom:updated>
            <content:encoded><![CDATA[<h3>不改架構、不用訓練，只靠一個 prefill 和一個右括號；以及一個「看起來很簡單」的 PoC 裡藏了六個 bug</h3><p><em>English version: </em><a href="https://medium.com/@changtimwu/your-llm-is-already-a-jev-reading-the-llm-as-jev-paper-and-reproducing-it-in-mlx-4e0e4308868c"><em>Your LLM Is Already a Jev</em></a></p><p>這是我 System One 系列的續篇。第①篇〈<a href="https://medium.com/@changtimwu/90-%E4%BF%A1%E5%BF%83-%E4%B8%8D%E6%98%AF%E6%A9%9F%E7%8E%87-%E6%8B%86%E8%A7%A3%E4%B8%80%E5%80%8B%E4%B8%8D%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97%E7%9A%84-llm-13b18d2decc9">「90% 信心」不是機率</a>〉介紹了 TypeSafe 的 Jev：一個不生成文字、直接回傳「每個選項的機率」的決策模型；第⑨篇〈<a href="https://medium.com/@changtimwu/%E4%B8%8D%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97-%E4%B8%8D%E6%98%AF%E8%B3%A3%E9%BB%9E-%E6%98%AF%E9%A0%90%E8%A8%AD%E5%80%BC-4b3258289571">「不生成文字」不是賣點，是預設值</a>〉我主張 prefill-only 本來就是 embedding、reranker 這類模型的常態；最近兩篇則實測了 LiquidAI 的 <a href="https://medium.com/p/1d3f844d8313">d1–3B</a>，並用<a href="https://medium.com/p/57e7808c58b0">醫學影像</a>拆開它的通用性從哪裡來。</p><p>Jev 的權重和訓練方法都沒有公開，所以社群一直在問：這種能力到底要怎麼做出來？Microsoft 的 Yinheng Li 與 Justin Wagle 在 10 月發表的論文〈<a href="https://arxiv.org/abs/2610.02076">LLM-as-Jev: LLMs Are Already Jev-Style Decision Models — When and How to Fine-Tune Them</a>〉給了一個很乾脆的答案：<strong>一般的 chat LLM 本來就是 Jev-style 決策模型，不需要改架構，大多數情況也不需要訓練。</strong></p><p>論文沒有釋出程式碼，所以我請 Claude 在 Mac 上用 MLX 照論文重做了一遍。這篇分三部分：論文的方法、我們怎麼實作，以及怎麼驗證做出來的東西是對的。</p><h3>論文的方法：一個 prefill，加一個右括號</h3><p>整個 training-free recipe（論文 §3.2–3.3）可以用三個步驟說完：</p><ul><li><strong>把選項編號。</strong>user 訊息寫「State: {情境}」，接著列出「[1] 選項一 … [K] 選項 K」，最後要求「只回答方括號裡的數字」。照模型的 chat template 包好，關掉 thinking。</li><li><strong>替模型先開口。</strong>assistant 的回合預先填好「Best answer: [」。這樣一來，選第 k 個選項就等於接著生成「k]」這幾個 token。</li><li><strong>算每個選項的分數。</strong>把「k]」每個 token 的 log-prob 加起來當作第 k 個選項的分數，再對 K 個選項做 softmax，就得到一個機率分佈。整個過程沒有生成任何文字。</li></ul><p>關鍵在那個<strong>右括號</strong>。因為每個候選都以「]」結尾，沒有任何一個候選會是另一個候選的開頭（「1]」不是「12]」的 prefix）。論文稱之為 prefix-free。所以選項可以有任意多個：77 個、151 個都行。而且所有候選共用同一段 prompt，構成一棵很淺的 trie：prompt 只需要 prefill 一次，之後只要 1 到 3 個很短的 batched forward step 就能算完所有選項。</p><p>相比之下，常見的「讀 A/B/C/D 字母的 logit」做法最多只能有 26 個選項；而把每個選項分開問一次的做法，77 個選項就要跑 77 次。</p><h3>論文的數字：凍結的 4B 已經夠強</h3><p>以下數字都來自論文 Table 1 與 §4：</p><ul><li><strong>不訓練就有競爭力。</strong>凍結的 Qwen3.5–4B 在公開的 JevBench（231 題）拿到 81.4%，高於同樣不訓練的 SemIf（80.5%），也高於在同一個 backbone 上 fine-tune 過的 reflex 4B（79.7%）。</li><li><strong>機率是校準過的。</strong>ECE 0.057，不用任何事後校正就比 SemIf（0.061）和 reflex 4B（0.070）好。也就是說，模型說 80% 的時候，大約真的有八成會對。</li><li><strong>選項再多也能用。</strong>77 類的 Banking77 意圖分類，4B 不訓練就有 69.0%。</li><li><strong>圖片也直接能用。</strong>在 prompt 前面加上影像 token，同一套介面在 MMBench 拿到 82.4%、MMStar 64.6%；把圖拿掉就掉到 15.2% 和 28.8%，證明模型真的有在看圖。</li><li><strong>讓它先想一下。</strong>論文的「Thinking Jev」在讀機率之前給模型一段有上限的 thinking budget。預算到 4,096 tokens 時，4B 在 JevBench 達到 94.8%，追平 GPT-5.6 Sol 的 94.4%。</li></ul><h4>什麼時候才需要 fine-tune？</h4><p>論文 §4.3 的結論，和我前兩篇 d1 的觀察幾乎一致：</p><ul><li><strong>小模型才是 fine-tune 的主要受益者。</strong>0.6B 不訓練時 Banking77 只有 22.2%，fine-tune 後跳到 60.5%，因為它連「照格式回答」都還不太會。4B 則本來就強，全參數 fine-tune 在 JevBench 上幾乎沒有淨收益，只有 LoRA（84.0%）有提升。</li><li><strong>fine-tune 改的是判斷方式，不是知識。</strong>論文的原話是 fine-tuning「cannot inject world knowledge that the pre-trained backbone lacks」。MMLU、TriviaQA 這類知識題，不管怎麼訓練都幾乎不動。這正是我在<a href="https://medium.com/p/57e7808c58b0">醫學影像那篇</a>得到的結論：認得什麼來自預訓練，fine-tune 只決定它能不能把認得的東西套到你的問題上。</li><li><strong>只訓練意圖分類會讓模型變成「yes man」。</strong>論文稱為 Intent Trap：只餵意圖路由資料，模型對 yes/no 題會一面倒地回答 yes，JevBench 從 81.4% 掉到 74.9%。這和 d1 那篇裡 base model 對每一張 X 光都回答 yes 的現象，是同一種病。LiquidAI 說 d1 訓練時特別「打亂選項順序、修掉捷徑」，大概也是在治這個。</li><li><strong>要訓練就要加錨。</strong>論文的 fine-tune 加了 KL anchor，把模型拉住、不讓它離原本的行為太遠。拿掉 anchor，4B 在 231 題裡有 69 題會在右括號後面停不下來、繼續吐出多餘的文字。</li></ul><h3>我們的 PoC：Gemini 說很簡單，Claude 找到六個 bug</h3><p>一開始我請 Gemini 估計用 MLX 做 PoC 的難度。它給了一份草稿，說這很容易：一次 prefill、讀出每個選項 token 的 logit、做 softmax 就好。方向是對的，但我請 Claude 照著論文逐條審查，找出了六個問題。最重要的三個：</p><ul><li><strong>模型名稱不存在。</strong>草稿用的 Qwen3.5-4B-Instruct-4bit 根本沒有這個 repo，Qwen3.5 沒有 -Instruct 後綴。</li><li><strong>沒有套 chat template。</strong>論文是把「Best answer: [」放在 assistant 回合裡；草稿直接丟原始字串，等於換成了 base LM 的設定。</li><li><strong>只讀第一個 token。</strong>這是最致命的一個。Qwen 的 tokenizer 把數字一位一位切開，「10]」會被切成「1」「0」「]」。只讀第一個 token 的話，選項 1、10、11、12 共用同一個 logit，模型根本分不出它們。論文附錄把這個現象叫做「option-10 effect」。</li></ul><p>修正後的實作（<a href="https://github.com/changtimwu/llm-as-jev-exp">changtimwu/llm-as-jev-exp</a>）跑在 Apple M1 Max 32GB 上，用 mlx-lm 和 4-bit 量化的 Qwen3.5–4B 與 Qwen3–0.6B：</p><ul><li>用 chat template 組 prompt，再接上「Best answer: [」。</li><li>每個候選的 token 從「prompt + 候選」整段一起 tokenize 後切出來，並檢查 prompt 確實是 token 層級的 prefix（論文附錄 C 特別提醒這點）。</li><li>prompt 只 prefill 一次，把 KV cache 複製到整個 batch，再對 trie 的內部節點做<strong>一次</strong> batched forward。</li><li>一次向量化的 gather 取出所有候選的 log-prob，加總後做 softmax。</li></ul><h3>怎麼驗證做出來的東西是對的</h3><p>論文沒有程式碼可以對照，所以驗證分成三層：先證明算法本身沒算錯，再看它能不能避開 option-10 陷阱，最後在真實資料集上和論文的數字比對。</p><h4>第一層：和「笨方法」逐一比對</h4><p>最可靠的對照組是最慢的寫法：對每一個候選，把「prompt + 候選」整段重新跑一次 forward，直接算 log-prob，不用任何 cache 或 trie。python jev.py --check 會把兩種方法的結果逐一比較：</p><ul><li>K=3：分數完全一致，最大差異 0。</li><li>K=119：最大差異 3.8×10⁻⁵（論文報告的是 10⁻⁵ 量級），最高分的選項完全相同。</li><li>速度：K=119 時快取版 2.5 秒，笨方法要 348 秒（119 次 forward），快了約 141 倍。</li></ul><p>這一層還挖出一個論文沒細講的細節：<strong>精度</strong>。一開始用 bf16 跑，兩種方法最多差到 0.15 nats。原因是 bf16 在 logit 約 20 附近的解析度只有約 0.1，batch 形狀不同，捨入就不同。把 activation 改成 FP32（權重仍然是 4-bit）就解決了，速度也沒變慢。論文本身也是用 FP32 跑的。</p><h4>第二層：option-10 陷阱</h4><p>demo 裡有一題故意設計的：「哪個月份天數最少？」，12 個選項，正確答案 February 排在第 [10] 個。</p><ul><li><strong>論文的完整 suffix 計分：</strong>[10] February 拿到 95.8%。</li><li><strong>Gemini 草稿的第一 token 讀法：</strong>[1]、[10]、[11]、[12] 各拿 24.8%，四個選項一模一樣，因為它們的第一個 token 都是「1」。</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AHajOtaaQFryfj3ABlK8_Q.png" /><figcaption>Qwen3.5–4B（4-bit）對「哪個月份天數最少？」的回答。論文的完整 suffix 計分把 95.8% 給了 [10] February；只讀第一個 token 時，[1]、[10]、[11]、[12] 都是「1」開頭，各拿到一模一樣的 24.8%</figcaption></figure><h4>第三層：Banking77，和論文數字對照</h4><p>Banking77 是 77 類的銀行客服意圖分類。我們從 3,076 題測試集中固定抽 300 題，在 M1 Max 上用三種方法讀同一個模型：論文的完整 suffix 計分、讓模型真的生成文字再解析數字，以及 Gemini 草稿的第一 token 讀法。</p><ul><li><strong>Qwen3.5–4B：</strong>論文計分 67.3%（論文報告 69.0%），生成文字 67.7%（論文 68.5%），兩者在 98% 的題目上選了同一個答案，0 次解析失敗。第一 token 讀法只有 11.0%：77 個選項被擠成只剩 9 種不同的分數。</li><li><strong>Qwen3–0.6B：</strong>論文計分 21.3%（論文 22.2%），生成文字 21.7%（論文 21.9%），第一 token 讀法 8.7%。</li><li><strong>bf16 和 FP32 的準確率一模一樣</strong>（都是 67.3%）。精度問題影響的是機率的小數點，不影響最後選哪一個。</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rO5IdM7iAL1IjIl-N-lXFQ.png" /><figcaption>Banking77 77 類意圖分類，抽樣 300 題，Apple M1 Max、4-bit 權重。虛線是論文在完整測試集上的數字</figcaption></figure><p>300 題的 95% 信賴區間大約是 ±5 個百分點，所以兩顆模型都在抽樣誤差內對上了論文的數字。用 4-bit 權重、在筆電等級的 Apple Silicon 上，就能重現一篇用 GPU 跑 FP32 的論文。</p><p>還有兩個值得一提的細節。第一，第一 token 讀法的 ECE（0.034）看起來比論文計分（0.076）還好，但這是假象：它的機率幾乎是平均分佈，「哪裡都沒信心」當然不會「過度自信」，這不是校準好。第二，延遲：4B 每題約 709 個 prompt token，中位數 2.3 秒；0.6B 約 0.46 秒；demo 那種 60 到 100 token 的短 prompt 則在 160 到 270 毫秒之間。論文在 RTX A5500 上是 194 毫秒（4B），我們的程式沒有做任何速度優化。</p><h3>這篇論文告訴我們什麼</h3><ul><li><strong>「Jev-style」比較像一種讀法，而不是一種模型。</strong>同一顆 chat LLM，換一種方式讀它的 next-token 機率，就變成一個會吐出校準過機率分佈的決策模型。這呼應了第⑨篇的論點：不生成文字不是什麼特殊能力，而是 prefill-only 模型本來的樣子。</li><li><strong>細節決定成敗。</strong>「一次 prefill、讀 logit、softmax」這句話是對的，但 tokenizer 怎麼切數字、prompt 是不是真的 token prefix、浮點精度夠不夠，每一個都能讓結果悄悄地錯掉，而且錯得不會報錯。Gemini 草稿在 9 個選項以內看起來完全正常，一到 77 個選項就崩了。</li><li><strong>驗證要找一個慢但不會錯的對照組。</strong>沒有官方程式碼時，「把每個候選從頭算一遍」這個笨方法就是最好的 ground truth。快取、trie、batch 這些優化，都應該先和它對到小數點後幾位，再拿去跑 benchmark。</li><li><strong>先試不訓練。</strong>對 4B 等級的模型，不訓練已經是很強的 baseline；fine-tune 只在模型太小，或你有一個很專門的路由任務時才值得。真的要訓練，資料要多樣、長度要對齊，還要加 anchor。</li></ul><h3>限制</h3><ul><li>我們用的是 4-bit 量化模型，論文用的是 FP32 權重。</li><li>Banking77 是從 3,076 題測試集中抽樣 300 題，不是全部；選項直接用原始的類別名稱（例如 card_arrival）。</li><li>沒有重現 JevBench（題目沒有一起發布）、fine-tune、Thinking Jev 和圖片任務。</li><li>速度沒有特別優化，M1 Max 上的延遲不能直接和論文的 GPU 數字比較。</li><li>ECE 和 Brier 只在 300 題上計算，數值比論文的全量測試更容易受抽樣影響。</li></ul><h3>重現實驗</h3><pre>git clone https://github.com/changtimwu/llm-as-jev-exp &amp;&amp; cd llm-as-jev-exp<br>uv venv --python 3.12 &amp;&amp; source .venv/bin/activate<br>uv pip install mlx-lm datasets<br>python jev.py --check<br>python demo.py<br>python eval_banking77.py --n 300</pre><h3>參考資料</h3><ul><li>本文英文版：<a href="https://medium.com/@changtimwu/your-llm-is-already-a-jev-reading-the-llm-as-jev-paper-and-reproducing-it-in-mlx-4e0e4308868c">Your LLM Is Already a Jev: Reading the LLM-as-Jev Paper and Reproducing It in MLX</a></li><li>論文：Yinheng Li, Justin Wagle,〈<a href="https://arxiv.org/abs/2610.02076">LLM-as-Jev: LLMs Are Already Jev-Style Decision Models — When and How to Fine-Tune Them</a>〉, arXiv:2610.02076v3（<a href="https://arxiv.org/html/2610.02076v3">HTML 版</a>）</li><li>實作 repo：<a href="https://github.com/changtimwu/llm-as-jev-exp">github.com/changtimwu/llm-as-jev-exp</a>（結果見 <a href="https://github.com/changtimwu/llm-as-jev-exp#results">README Results</a>，commit 57d4e14）</li><li>mlx-lm：<a href="https://github.com/ml-explore/mlx-lm">github.com/ml-explore/mlx-lm</a></li><li>System One 系列前作：<a href="https://medium.com/@changtimwu/90-%E4%BF%A1%E5%BF%83-%E4%B8%8D%E6%98%AF%E6%A9%9F%E7%8E%87-%E6%8B%86%E8%A7%A3%E4%B8%80%E5%80%8B%E4%B8%8D%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97%E7%9A%84-llm-13b18d2decc9">①「90% 信心」不是機率</a>、<a href="https://medium.com/@changtimwu/jev-%E6%B2%92%E6%9C%89%E6%AF%94-reranker-%E5%BF%AB-58374712df9c">⑧ Jev 沒有比 reranker 快</a>、<a href="https://medium.com/@changtimwu/%E4%B8%8D%E7%94%9F%E6%88%90%E6%96%87%E5%AD%97-%E4%B8%8D%E6%98%AF%E8%B3%A3%E9%BB%9E-%E6%98%AF%E9%A0%90%E8%A8%AD%E5%80%BC-4b3258289571">⑨「不生成文字」不是賣點，是預設值</a></li><li>d1 系列：<a href="https://medium.com/p/1d3f844d8313">不說話、只做決定：LiquidAI d1–3B 視覺 decision model 實測</a>、<a href="https://medium.com/p/57e7808c58b0">d1 的通用性從哪裡來？</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5cfc3f3d3808" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>