[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"news-slug-chorus-lookup-table-backbone-replacement-ratio":3,"topics-all":38,"news-related-6bed3f6a-042d-4f85-9a05-fcbd39b5447e":67},{"id":4,"title":5,"summary":6,"content":7,"original_url":8,"source_id":9,"tags":10,"translations":24,"news_slug":31,"published_at":32,"created_at":33,"modified_at":34,"is_published":35,"publish_type":36,"image_url":14,"view_count":37},"6bed3f6a-042d-4f85-9a05-fcbd39b5447e","查表模块每加一个参数,只换到 0.31 个主干参数","论文把查表模块能顶替多少主干参数算成了可测量的数字: 表开到与主干一样大时,16M 档匹配 21M 的纯模型,到 349M 档只剩 1.16 倍。每个新增参数顶掉的主干参数从 0.31 一路降到 0.14。作者还指出,学习率各自搜过一遍后,47M 档的增益少了三分之一。","给大模型加一张 n-gram 查表能省多少算力,是这两年最受关注的话题之一。Engram 把哈希 n-gram 嵌入读进残差流,Chorus 让输入和注意力共享同一套 bigram 与 trigram 表,Over-Tokenized Transformer 把词表撑大,报告 400M 模型追平 1B 模型的训练损失。方向都一致: 用大表换掉主干参数。\n\n但很少有人把这笔账算到底。一篇 11 月 25 日挂出的论文问的是更硬的问题: 查表模块到底顶替了多少主干参数?\n\n## 一个把账算到底的实验\n\n作者 Szymon Kocur 是华沙的独立研究者,论文《Bigger Model or Bigger Table? How Much Backbone a Chorus N-gram Module Replaces》发在 arXiv 上 (https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.34725) 。他不比较两个模型的分数,而是换了个问法: 先训一组纯 Transformer,画出留出损失随参数量的曲线,再问查表模型达到的那条损失线对应着多大的纯模型。这就是论文里的 equivalent size 概念。\n\n方法不复杂,难在把变量控制住。模型从 16M 训到 349M 参数,五档各配一组;语料是 Wieszcz-XIX (https:\u002F\u002Farxiv.org\u002Fabs\u002F2610.10592) ,1918 年前印刷的波兰语,训练集 6.69 billion token,词表 8,000,一次训练读 1.34 billion token。\n\n## 1.34 倍,以及它随规模缩小的部分\n\n表和主干差不多大时,查表模型匹配的纯模型尺寸是: 16M 档匹配 21M,倍数 1.34;47M 档匹配 61M,1.29;107M 档匹配 129M,1.20;204M 档匹配 242M,1.18;349M 档匹配 404M,1.16。\n\n论文报告的「每个新增参数顶掉多少主干参数」更直白: 16M 档 0.31,47M 档 0.27,107M 档 0.19,204M 档 0.17,349M 档 0.14。\n\n原因也朴素。论文的总结写得很清楚: 同样总参数下,纯模型的留出损失更低,只是每 token 算力更多。换算过来,一个表参数顶掉的不到三分之一个主干参数。倍率超过 1,并不等于同样参数下表更划算。\n\n## 学习率会把三分之一的优势吃掉\n\n这是论文里容易被跳过、却影响结论的细节。作者对两类模型分别搜学习率,而不是共用一套配方,并明确指出这一步把 47M 档的增益砍掉了大约三分之一。\n\n拆开看更清楚。47M 档在固定学习率下,Chorus 比纯模型好 0.077 nats;换成各自最优学习率后差距降到 0.049。降幅主要来自模块的固定部分 (token 表、门控、卷积和投影,47M 档共 8.26 million 参数,其中 4.61 million 在 token 表里) ,N-gram 行本身在两种设定下几乎没变,分别是 0.039 和 0.038 nats。\n\n也就是说,查表模块报的很多增益,其实是学习率没调平带来的账面数字。论文在限制章节里承认了: 只搜了主干的 Muon 率,表的率固定在 0.0015。\n\n## 知识测验:增益比想象中脆弱\n\n只看损失曲线会漏掉: 查表模型是不是真的「知道」更多。论文设计了一套事实测验,497 条事实分成七组,按当时的拼写方式问成 755 个问题,一组因没有候选列表被剔除,最后计分 688 题。\n\n结果不整齐。16M 档查表模型答对 0.089,纯模型 0.076,p 值 0.28;107M 档 0.211 对 0.161,p 小于 0.001,单边会答的题数 58 比 12,看着很显著。但 204M 档是 0.218 对 0.230,p 值 0.46;349M 档 0.240 对 0.233,p 值 0.67。\n\n把 N-gram 表清零之后更有意思: 每个尺寸上它都掉到同尺寸纯模型之下。作者的解释很直接,查表模型的知识确实来自表。摘要里那句「在事实测验上两者相差大约和同一个模型换两个种子差不多」说的就是这个量级。还有个细节值得记: 同一模型的两个种子之间分数就差 0.001 到 0.033;论文拿 107M 纯模型的两个种子做对照,拆成 20 比 43,p 值 0.005。\n\n## 重叠、精度和成本\n\n重叠部分: 收益有一部分来自训练集里出现过的文本。8,192 个计分窗口里,13-token 序列有 11.0% 在训练集出现过,269 个窗口有一半以上命中。剔除与训练集共享 50-token 序列的窗口后,47M 档增益从 0.049 nats 降到 0.046,倍率从 1.29 降到 1.28;107M 档从 1.20 降到 1.18,349M 档从 1.16 降到 1.13。收益是真的,只是被高估了一点。\n\n精度部分: 表存成 4 bit,留出损失只变 0.002 nats,保留 97% 到 98% 的增益;2 bit 时变化 0.186 到 0.235,比表本身给的增益还大。\n\n成本部分: 查表模型比同尺寸纯模型训练慢 9% 到 16%;但跟同等损失的纯模型比,等大的表让它快 11% (16M 档) 到 3% (349M 档) ,更大的表差距拉得更开。每 token 算力上,等大的表给同尺寸纯模型增加 7% 训练 FLOPs,而查表模型比同等损失的纯模型少 8% 到 19%。\n\n## 这笔账该怎么读\n\n这篇论文的价值在于把「加表能顶多少模型」这个一直被含糊处理的问题变成一个可测量的数字。小模型上,一张和主干差不多大的表能顶掉 1.34 倍的模型尺寸,这个性价比确实存在,也是 Engram、Chorus 这条路线被跟进的原因;到了 349M 档,兑换率掉到 0.14,表换不来等量的主干容量,好处更多体现在每 token 的算力和训练速度上。\n\n还有一个容易被忽略的判断标准: 查表模型报的增益,必须先过一遍「两类模型各自搜学习率」这一关。过不去的倍率,多半是配方差异,不是结构优势。作者也提醒,查表模块受益最多的场景是留出文本重复训练文本处 (比如重印本) ,而这个 1918 年前的波兰语语料正好符合。\n\n论文自己泼的几盆冷水也应和数字一起读: 只有一个语料、一个 tokenizer、一个模块;作者用的是自己的复现版本,和原论文代码有两处不同 (输入嵌入不做归一化,优化器从 Ember 换成 SparseAdam) ,所以没有直接对比原作者的数字;事实测验题目由作者自己选,同一事实两种问法会让符号检验偏乐观,随机水平在 47 到 72 分之一。\n\n代码、配置和每次运行的留出结果都放出来了,表格脚本也在里面 (https:\u002F\u002Fgithub.com\u002FSKocur\u002Fchorus-scaling) ,想复算的人可以直接跑。","https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.34725","7437aeb9-930c-4866-a2e9-48003c1a792b",[11,15,18,21],{"id":12,"name":13,"slug":13,"description":14,"color":14},"5e628969-6d2a-437f-998a-104e4b16cfb1","ai-progress",null,{"id":16,"name":17,"slug":17,"description":14,"color":14},"120fa59a-ff6f-4537-9bf5-f818df636a0e","benchmark",{"id":19,"name":20,"slug":20,"description":14,"color":14},"0ef8513a-0a26-42f0-b6f9-5b6dadded45c","efficiency",{"id":22,"name":23,"slug":23,"description":14,"color":14},"01598627-1ea6-4b27-a5d8-874971571a71","llm",[25],{"id":26,"lang":27,"title":28,"summary":29,"content":30},"8fc40f4f-3266-40e8-8c60-2d7a2d07565f","en","Lookup tables replace at most 0.31 backbone parameters each","A paper measures what a lookup table replaces: each added parameter buys 0.31 backbone parameters, 0.14 at 349M, and the ratio shrinks with scale.","Adding a lookup table to a language model has been one of the most closely watched tricks of the past two years. Engram reads hashed n-gram embeddings into the residual stream, Chorus shares one set of bigram and trigram tables between the input and the attention values, and the Over-Tokenized Transformer grows the input vocabulary, reporting that a 400M model matches the training loss of a 1B one. The pitch is always the same: use a cheap large table in place of expensive backbone parameters.\n\nWhat rarely happens is anyone running the accounting all the way down. A paper posted on 25 November asks the harder question: how much backbone does a lookup table actually replace?\n\n## An experiment that runs the account to the end\n\nThe author, Szymon Kocur, is an independent researcher in Warsaw. His paper, Bigger Model or Bigger Table? How Much Backbone a Chorus N-gram Module Replaces, is on arXiv (https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.34725) . Instead of comparing two model scores, he changes the question. Train a set of plain transformers, plot held-out loss against parameter count, then ask which plain model size corresponds to the loss a table-equipped model reaches. That is the paper's equivalent size concept.\n\nThe method is not complicated; holding the variables still is the hard part. Models run from 16M to 349M parameters, with a matched group at each of five sizes. The corpus is Wieszcz-XIX (https:\u002F\u002Farxiv.org\u002Fabs\u002F2610.10592) , Polish printed before 1918, with 6.69 billion tokens of training data and an 8,000-token vocabulary. A full training run reads 1.34 billion tokens.\n\n## 1.34 times, and the part that shrinks with scale\n\nWith tables about as large as the backbone, the plain model size a table-equipped model matches is: 21M for the 16M backbone, a multiplier of 1.34; 61M for the 47M backbone, 1.29; 129M for 107M, 1.20; 242M for 204M, 1.18; and 404M for 349M, 1.16.\n\nThe paper reports how many backbone parameters each added parameter replaces, and the numbers are blunter: 0.31 at 16M, 0.27 at 47M, 0.19 at 107M, 0.17 at 204M, and 0.14 at 349M.\n\nThe reason for the low multiplier is plain. The paper's own summary states it directly: at the same total number of parameters, a plain model reaches a lower loss, at more computation per token. Turned around, one table parameter replaces well under one backbone parameter. A multiplier above 1 does not mean tables are the better deal per parameter.\n\n## The learning rate eats a third of the advantage\n\nThis detail is easily skipped, and it is the one that most changes the conclusion. The author searched the learning rate separately for each kind of model rather than giving both the same recipe, and states plainly that this extra step cuts the gain at the 47M size by about a third.\n\nBreaking it down is clearer. At the fixed rate, Chorus beats the plain model by 0.077 nats at 47M; under each model's own tuned rate the gap falls to 0.049. Most of the drop comes from the module's fixed part, the token table, gates, convolution and projections, which together hold 8.26 million parameters at 47M, 4.61 million of them in the token table. The N-gram rows themselves contribute about the same in both settings, 0.039 and 0.038 nats.\n\nIn other words, much of what lookup-table modules report as their gain is an artifact of an untuned learning rate. The paper concedes as much in its limitations: only the backbone's Muon rate is searched, with the tables' rate fixed at 0.0015.\n\n## The knowledge quiz is more fragile than the loss curve suggests\n\nWatching the loss curve alone misses something. Does a table-equipped model actually know more? The paper built a fact quiz of 497 facts in seven groups, asked as 755 questions in the spelling of the period, with one group carrying no candidate list and dropped, leaving 688 scored questions.\n\nThe results are uneven. At 16M the table model answers 0.089 against 0.076 for the plain model, p equal to 0.28. At 107M it is 0.211 against 0.161, p below 0.001, with 58 questions known to only one side against 12, which looks solid. But at 204M it is 0.218 against 0.230 with p of 0.46, and at 349M it is 0.240 against 0.233 with p of 0.67.\n\nZeroing out the N-gram tables is more telling: at every size the zeroed table model falls below the plain model of its own size. The author's reading is direct, a table model's knowledge really does come from the table. What the abstract compresses into one line, that on a fact quiz the two differ about as much as two seeds of one model, describes exactly this scale of effect. One more detail is worth keeping: between two seeds of the same model the score already varies by 0.001 to 0.033, and the paper used two seeds of the 107M plain model as a control, splitting 20 against 43 with p equal to 0.005.\n\n## Overlap, precision and cost\n\nOverlap: part of what the table module earns comes from text already present in the training split. Of the 13-token sequences across all positions of the 8,192 scored windows, 11.0% occur in the training split, and 269 windows have more than half of theirs there. Restricting to windows sharing no 50-token sequence with training, the 47M gain falls from 0.049 nats to 0.046 and the multiplier from 1.29 to 1.28; at 107M it goes from 1.20 to 1.18, and at 349M from 1.16 to 1.13. The gain is real, just a little inflated.\n\nPrecision: stored at 4 bits, the tables shift held-out loss by 0.002 nats and keep 97% to 98% of the gain; at 2 bits the shift is 0.186 to 0.235, more than the tables themselves contribute.\n\nCost: a table model trains 9% to 16% slower than a plain model of its size, but against a plain model of equal loss, equal-size tables make it 11% faster at 16M and 3% faster at 349M, and larger tables widen that gap. On FLOPs per token, equal-size tables add 7% to the training FLOPs of the plain model of their size, while the table model needs 8% to 19% fewer than a plain model of the same loss.\n\n## How to read this account\n\nThe value of the paper is turning how much a table can stand in for backbone capacity into a measurable number. At small sizes, a table about as large as the backbone replaces the capacity of a model 1.34 times its size, and that trade genuinely exists, which is why lines like Engram and Chorus keep drawing attention. By the 349M size the exchange rate has fallen to 0.14, so tables no longer buy equivalent backbone capacity; what remains is per-token compute and training speed.\n\nThere is also a filter worth applying: any gain a table module reports should survive a separate learning-rate search for both kinds of model. A multiplier that does not survive that step is usually a recipe difference rather than a structural advantage. The author also notes that a table module benefits most where the held-out text repeats the training text, as in reprints, and a corpus of pre-1918 Polish has exactly that property.\n\nThe paper also cools its own results, and these limits should be read alongside the numbers. There is one corpus, one tokenizer, one module. The author used his own reimplementation, which departs from the original code in two ways, since the input embedding is not normalised and the optimiser is SparseAdam rather than Ember, so none of the original authors' numbers are compared directly. The quiz facts were chosen by the author, asking a fact in two phrasings makes the sign tests optimistic, and chance level is one in 47 to 72.\n\nThe code, the configurations, the held-out results of every run and the script that builds the paper's tables are all released (https:\u002F\u002Fgithub.com\u002FSKocur\u002Fchorus-scaling) , so anyone wanting to recompute can run the script directly.","chorus-lookup-table-backbone-replacement-ratio","2026-11-28T13:30:00Z","2026-11-28T13:08:52.995011Z","2026-11-28T13:08:52.995043Z",true,"agent",147,[39,49,58],{"slug":40,"tag_slug":41,"title_zh":42,"title_en":43,"intro_zh":44,"intro_en":45,"id":46,"is_active":35,"created_at":47,"modified_at":48},"image-generation","text-to-image","图像生成：从文生图到逐框编辑的模型竞赛","Image Generation: from text-to-image to frame-level editing","文生图已是红海，战场正转向编辑与可控性：FLUX.2\u002F3 用开源和量化把生图搬进消费级显卡，Qwen-Image、Seedream 等国产模型紧咬不放，GPT Image 2 则把推理能力带进像素。本专题追踪图像生成与编辑模型的发布、架构演进、加速量化与商业化数据，看「好图」如何变成「可用的图」。","Text-to-image is a crowded race, and the frontier has moved to editing and control: FLUX.2\u002F3 push open weights and quantization onto consumer GPUs, Qwen-Image and Seedream close in from China, and GPT Image 2 brings reasoning into pixels. This topic tracks model releases, architecture shifts, acceleration work, and the business numbers behind \"pretty\" becoming \"usable\".","52de7c59-7864-4569-8ae7-3d656d26a1a1","2026-11-20T07:20:23.534506Z","2026-11-20T07:20:23.534527Z",{"slug":50,"tag_slug":50,"title_zh":51,"title_en":52,"intro_zh":53,"intro_en":54,"id":55,"is_active":35,"created_at":56,"modified_at":57},"ai-for-science","AI for Science 2026：从 UniPert 到 GPT-Rosalind 的硬核进化","AI for Science 2026: from UniPert to GPT-Rosalind","生命科学、化学材料、物理世界模型——AI 正在从\"语言工具\"变成\"实验伙伴\"。本专题收录 AI 在三大科学方向的关键节点：UniPert 统一基因与化学扰动空间、GPT-Rosalind 端到端生命科学推理、达摩院 AI 智能体 28 小时找到 4 种超导新材料、Anthropic Claude Science 把工作台做成标准品。","From language tool to lab partner — AI is reshaping life sciences, chemistry\u002Fmaterials, and physical world models. This topic covers the key milestones: UniPert unifying genetic-chemical perturbation spaces, GPT-Rosalind's end-to-end life-sciences reasoning, DAMO's AI agent discovering 4 superconducting materials in 28 hours, and Anthropic's Claude Science workbench going mainstream.","988a4300-5fab-41c4-b5d8-63711a2dc757","2026-09-10T01:34:15.296649Z","2026-09-10T01:34:15.296663Z",{"slug":59,"tag_slug":59,"title_zh":60,"title_en":61,"intro_zh":62,"intro_en":63,"id":64,"is_active":35,"created_at":65,"modified_at":66},"h3-series","MiniMax H3 系列：从开源权重到 35 倍吞吐","MiniMax H3 Series: from open weights to 35x throughput","MiniMax H3 自 2026 年 8 月开源以来节奏密集：官方把生成、参考与编辑收回一个模型；ComfyUI 当天压进 RTX 3060；摩尔线程 3 小时完成国产 GPU 适配；fal 后训练版把吞吐拉到 35 倍；FastH3 蒸馏再砍推理成本。本专题持续追踪 H3 的发布—开源—蒸馏—部署全链路。","Since MiniMax open-sourced H3 in August 2026 the pace has been relentless: one unified omni-modal model, same-day ComfyUI support down to an RTX 3060, a 3-hour Day-0 port to Moore Threads GPUs, fal's post-trained H3 Max at 35x throughput, and FastH3 distillation cutting inference cost further. This topic tracks the full H3 chain — release, open weights, distillation, deployment.","83ef0daa-3c31-4cb3-86ed-e5ee58654d5f","2026-09-08T07:33:19.942193Z","2026-09-08T07:33:19.942209Z",{"items":68},[69,74,79,84,89,94],{"id":70,"title":71,"news_slug":72,"published_at":73},"8e741f04-82a2-46da-9d30-3c31117ca70c","Ambient SFT:让预训练的自己当高温老师","ambient-sft-temperature-matching","2026-11-18T17:30:00+00:00",{"id":75,"title":76,"news_slug":77,"published_at":78},"08c85d0c-1ad8-43d6-bd32-0ec8b21bf2aa","给教师开小抄,学生涨分却不是抄来的","opsd-privileged-solution-teacher-audit","2026-11-15T01:30:00+00:00",{"id":80,"title":81,"news_slug":82,"published_at":83},"0be3d0c4-dee7-4fc2-9364-6a8ce68f5f3d","0.8B 模型换输出格式,静默错误率 10.3%→4.5%","output-format-silent-errors-small-parser","2026-11-13T09:20:00+00:00",{"id":85,"title":86,"news_slug":87,"published_at":88},"a6d8e95f-41ba-4a97-815c-94eff9401706","按步数赢按算力输:GRPO密集奖励的评测账本","grpo-dense-rewards-matched-compute","2026-11-11T05:05:00+00:00",{"id":90,"title":91,"news_slug":92,"published_at":93},"e8168e92-d16e-452a-991c-aac74dd23ec0","预训练赢了,微调输了:Muon 的反转","muon-adamw-fine-tuning-gap-reversal","2026-11-04T01:12:00+00:00",{"id":95,"title":96,"news_slug":97,"published_at":98},"bb244989-00b5-4b67-b70a-5316452ee44e","把 RLVR 的\"零梯度\"浪费变成有效信号：Mistral 联合剑桥用 Reasoning Arena 让推理训练提速 41%","reasoning-arena-mistral-cambridge-41pct","2026-06-08T00:00:00+00:00"]