[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"news-slug-pocketrl-rlvr-single-rtx-5090":3,"topics-all":38,"news-related-d5a751d3-db1c-41ac-8c9e-553aa4d417ef":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},"d5a751d3-db1c-41ac-8c9e-553aa4d417ef","RLVR 训 7B:一张 5090,4.71 美元","PocketRL 把 7B RLVR 的常驻显存从 113 GiB 压到 18 GiB,降 84%:梯度与优化器状态投影到输入激活拟合的低秩基,32 位主权重换成 4 比特舍入余量。一张 RTX 5090 不到 8 小时、4.71 美元训完 7B,六个数学测试集均值 43.0%,已发布 7B 均值 42.1%。","RLVR 的账,这篇论文摊开算了。带可验证奖励的强化学习后训练,显存账单很长:推理权重、训练权重、优化器状态都得常驻,还要养一份 32 位主权重防小更新被舍入吃掉。一篇 11 月 27 日提交的论文把 7B 的常驻显存砍掉 84%。\n\n论文 PocketRL 由 DualverseAI 的 Stephen Chung 和 Wenyu Du 写,目标直白:让 7B 模型在一张消费级显卡上完成 RLVR 训练。报告结果:一张 RTX 5090 训完 7B,不到 8 小时,估算成本 4.71 美元。\n\n## 账单长什么样\n\n7B 模型的标准配置常驻显存 113 GiB:推理用 16 位权重 14.19 GiB,训练用 16 位权重再来一份 14.19 GiB,32 位主权重 28.37 GiB,Adam 优化器状态 56.74 GiB。一张 RTX 5090 装不下。\n\nPocketRL 把这四栏重排:训练和推理共用同一份 16 位权重;32 位主权重换成每个权重 4 比特的有符号舍入余量,3.04 GiB;优化器状态压到 0.61 GiB。合计 18 GiB,降幅 84%。\n\n## 优化器状态怎么压下去\n\n做法:把梯度和优化器状态投影到一个由 QR 分解从每层输入激活拟合出的小基上,方法叫 ActGRA。理由:一层的梯度是这层激活的加权和,激活集中在少数几个方向上,梯度也跟着集中。\n\n保留率指投影后保留下来的梯度平方范数占比。1.5B 模型上,rank 128 时 LoGRA 的随机投影只留住 7.3%,理论预测 7.35%;ActGRA 留住 45.5%。LoGRA 要把 rank 提到 512 才追平 ActGRA 在 rank 32 时的保留率。只把 ActGRA 的基换成随机基、别的不动,500 步时 MATH-500 的 avg@8 从 68.2% 掉到 55.4%。\n\n## 另一半是 4 比特余量\n\nRLVR 学习率很小,一次更新可能小于 BF16 在该量级上的相邻数间隔,舍入回 BF16 就凭空消失。常规做法是留一份 FP32 主权重兜着,代价是那 28.37 GiB。PocketRL 改成每个权重存 16 位值,外加一个有符号 4 比特计数表示舍入差,累加时随机舍入。每权重合计 2.5 字节。\n\n这 4 比特不是摆设。论文报告的消融显示,去掉它之后 MATH-500 avg@8 从 69.05% 掉到 60.9%(500 步处);而 4 比特余量、8 比特余量和 FP32 主权重三者表现接近,说明 4 比特已够补偿丢掉的精度。\n\n两条思路都有前作。GaLore([arXiv:2403.03507](https:\u002F\u002Farxiv.org\u002Fabs\u002F2403.03507))用梯度自身的奇异向量做低秩投影;LoGRA([arXiv:2610.06647](https:\u002F\u002Farxiv.org\u002Fabs\u002F2610.06647))用随机投影压缩 RLVR 的梯度和优化器状态,是论文点名的最近前作。PocketRL 把随机舍入用在量化舍入余量上,不是直接用在权重上。BF16 舍入的老问题,可回溯到 Zamirai 等人 2020 年的 Revisiting BFloat16 Training([arXiv:2010.06192](https:\u002F\u002Farxiv.org\u002Fabs\u002F2010.06192)):他们报告 16 位 FPU 训练的精度退化可用两项技术补救,最多拉回 7 个百分点。\n\n## 4.71 美元怎么算的\n\n成本要看口径。附录 C.3 写明:金额以美元计,GPU 时租价格取自 Vast.ai、RunPod Community、AutoDL 和 Lambda 四家报价的等权平均,Vast.ai 用已验证报价的中位数防异常低价,报价采集于 2026 年 11 月 25 日,AutoDL 未折扣价格按 6.6645 人民币兑 1 美元折算,评测、闲置与存储不计入。各代码库用能完成一次更新的少卡配置,外推 100 次更新。\n\n口径之下,7B 上 100 次 RL 步是 1.40 美元(RTX 5090)或 4.99 美元(H100),27B 上是 23.59 美元(4 张 5090)或 47.87 美元(4 张 H100)。同表里次便宜的是 Oat 在 7B 上的 6.42 美元和 LoGRA 在 27B 上的 102.82 美元,PocketRL 分别低 78% 和 77%。换 H100,7B 上 PocketRL 跑 100 次更新花 1.8 小时,比次快的 TRL 的 4.6 小时少 61%;27B 上花 4.3 小时,比 LoGRA 在 8 张卡上的 3.9 小时多 9%。\n\n7B 用 Qwen2.5-Math-7B 作底座,在 MATH 数据集 3 到 5 级的 8,552 道题上训练,RL 算法用 Dr. GRPO,每组三个种子,评测是六个数学测试集上的 avg@8。ActGRA 平均 43.0%(±0.2),LoGRA 41.8%(±0.3),稠密梯度 40.1%(±0.7)。有意思的是稠密反而垫底,论文的猜测是把更新限制在低秩子空间能减少对采样奖励噪声的拟合。27B 用 Qwen3.8-27B 做 100 步规模测试,MATH-500 从 80.85% 涨到 94.3%(±0.4),六个测试集均值从 47.87% 涨到 64.7%(±0.3)。\n\n跟已发布的同底座模型比,7B 的 PocketRL 平均 43.0%,已发布六个 7B 模型均值 42.1%;1.5B 那边 PocketRL 32.9%,已发布两个 1.5B 模型均值 33.2%。成本差得多:7B 训一次 4.71 美元,紧随其后的已发布模型要 54 美元,差 11.5 倍;1.5B 是 5.31 美元对 18.7 倍。\n\n## 方法是一个智能体先找到的\n\n论文第 6 节 AI Use 写明:这项工作建立在 rStation 多智能体研究平台一个自主智能体的发现之上。给定「在单张 RTX 5090 上训 7B 并保持竞争力」的目标,智能体找到了 ActGRA 和量化舍入余量,建出最初的代码库,并把发现发布成前置论文。作者认为这个发现对更广的研究社区可能有用,在 rStation 之外用更多模型、更多种子复现扩展,整理成 PocketRL。\n\nrStation 那篇[前置论文](https:\u002F\u002Frstation.ai\u002Fproblems\u002Fmath_rlvr\u002Fpapers\u002F40\u002Fv1)另有一组数。同样 4 比特修正和刷新间隔下,1.5B 模型跑 50 步后,激活 QR 的 MATH-500 答对 340\u002F500,随机 QR 答对 291\u002F500。7B 那条轨迹上,同一批 500 道题换评测提示词,增益差 21.4 个百分点:Qwen 数学提示词从 253 题涨到 395 题,裸问题只从 341 题涨到 376 题(95% 配对自助区间 16.2 到 26.8)。评测里的「涨了多少」本身可能被提示词放大。\n\n## 边界在哪\n\n论文自己列的限制:实证只覆盖六个数学测试集、一个模型家族,1.5B、7B、27B 三个规模;成本节省还取决于 GPU 租价和供给,不在作者控制之内。已发布模型的美元总额,有的直接披露,有的用披露的卡数和时长乘租价推算。\n\n所以呢:两个方法都有参照系,梯度低秩投影和 BF16 舍入都有人走过(LoGRA、GaLore、FlashOptim、Zamirai 的 BF16 训练各自一篇独立论文),PocketRL 的贡献是把它们接进 RLVR 训练循环并给出完整成本账本,代码在 [GitHub](https:\u002F\u002Fgithub.com\u002Fdualverse-ai\u002Fpocketrl)。有意思的是方向:让 RLVR 变便宜的不是更省的算法,是把「谁在占显存」算清楚。\n\n而 rStation 那条线索又往前推了一步:这套方法最初是一个自主智能体在「单张 5090 训 7B」的目标下自己找到的。工具链够用的时候,研究的起点可能已经不是人手写代码,而是让智能体去撞这堵墙。\n\n论文与项目页分别为 [arXiv:2611.37942](https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.37942) 与 [dualverse-ai.github.io\u002Fpocketrl](https:\u002F\u002Fdualverse-ai.github.io\u002Fpocketrl)。","https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.37942","7437aeb9-930c-4866-a2e9-48003c1a792b",[11,15,18,21],{"id":12,"name":13,"slug":13,"description":14,"color":14},"0ef8513a-0a26-42f0-b6f9-5b6dadded45c","efficiency",null,{"id":16,"name":17,"slug":17,"description":14,"color":14},"01598627-1ea6-4b27-a5d8-874971571a71","llm",{"id":19,"name":20,"slug":20,"description":14,"color":14},"b9bd9039-fcdb-41a8-b85b-fc1587def2b9","open-source",{"id":22,"name":23,"slug":23,"description":14,"color":14},"c187600e-804c-4697-b828-1e4330e0eb10","qwen",[25],{"id":26,"lang":27,"title":28,"summary":29,"content":30},"2792e2cb-7429-4d6f-a195-3a57e251b096","en","One RTX 5090 Trains a 7B RLVR Model for $4.71","7B RLVR memory drops from 113 GiB to 18 GiB; one RTX 5090 trains 7B in under 8 hours for $4.71 via an activation-fitted basis and a 4-bit remainder.","The paper lays out the memory bill of RLVR item by item. Reinforcement learning with verifiable rewards keeps inference weights, training weights, and optimizer state resident in memory, plus a 32-bit master copy so small updates survive rounding. A paper submitted on 27 November 2026 cuts the resident memory for a 7B model by 84%.\n\nThe paper, PocketRL, is by Stephen Chung and Wenyu Du of DualverseAI. The goal is direct: finish RLVR training of a 7B model on one consumer GPU. The reported result: one RTX 5090, under 8 hours, an estimated $4.71.\n\n## What the bill looks like\n\nA standard 7B setup keeps 113 GiB resident: 14.19 GiB of 16-bit inference weights, another 14.19 GiB of 16-bit training weights, 28.37 GiB of 32-bit master weights, and 56.74 GiB of Adam optimizer state. That does not fit on one RTX 5090.\n\nPocketRL rearranges the four items: training and inference share one copy of the 16-bit weights; the 32-bit master weights become a signed four-bit rounding remainder per weight, at 3.04 GiB; optimizer state compresses to 0.61 GiB. The total is 18 GiB, an 84% cut.\n\n## How the optimizer state shrinks\n\nThe method, ActGRA, projects gradients and optimizer state onto a small basis fitted from each layer's input activations with a QR factorization. The reasoning is simple: a layer's gradient is a weighted sum of its activations, activations concentrate in a few directions, and so do the gradients.\n\nRetention here means the share of gradient squared norm kept after projection. On the 1.5B model at rank 128, LoGRA's random projection keeps 7.3%, close to the 7.35% predicted by theory; ActGRA keeps 45.5%. LoGRA needs rank 512 to match ActGRA's retention at rank 32. Replacing only ActGRA's basis with a random one drops MATH-500 avg@8 from 68.2% to 55.4% at update 500.\n\n## The other half: a four-bit remainder\n\nRLVR learning rates are small, so a single update can fall below the gap between adjacent BF16 numbers at that magnitude; rounding back to BF16 erases it. The standard fix is an FP32 master copy, at the cost of that 28.37 GiB. PocketRL instead stores each weight in 16 bits plus a signed four-bit count of the rounding difference, with stochastic rounding on accumulation. That is 2.5 bytes per weight.\n\nThe four bits matter. The paper's ablation reports that removing them drops MATH-500 avg@8 from 69.05% to 60.9% at step 500, while four-bit remainders, eight-bit remainders, and FP32 master weights perform similarly.\n\nBoth halves have precedents. [GaLore](https:\u002F\u002Farxiv.org\u002Fabs\u002F2403.03507) projects gradients onto their own singular vectors; [LoGRA](https:\u002F\u002Farxiv.org\u002Fabs\u002F2610.06647) compresses RLVR gradients and optimizer state with random projections, and the paper names it the closest prior work. PocketRL applies stochastic rounding to the quantized rounding remainder rather than directly to the weights. The old BF16 problem goes back to Zamirai et al.'s 2020 Revisiting BFloat16 Training ([arXiv:2010.06192](https:\u002F\u002Farxiv.org\u002Fabs\u002F2010.06192)), which reports that the accuracy degradation of 16-bit-FPU training can be remedied by two techniques, recovering up to 7 percentage points.\n\n## How the $4.71 is computed\n\nThe accounting has a stated methodology. Appendix C.3: figures are in USD; hourly GPU rental rates are the equal-weighted mean of quotes from Vast.ai, RunPod Community, AutoDL, and Lambda; Vast.ai uses the median of its verified offers; quotes were collected on 25 November 2026; undiscounted AutoDL rates convert at 6.6645 CNY per USD; evaluation, idle time, and storage are excluded. Each code base uses the fewest GPUs that completes an update, and costs extrapolate to 100 updates.\n\nUnder that methodology, 100 RL steps at 7B cost $1.40 (RTX 5090) or $4.99 (H100); at 27B, $23.59 (four 5090s) or $47.87 (four H100s). In the same table, Oat at $6.42 for 7B and LoGRA at $102.82 for 27B come next, and PocketRL is 78% and 77% below them. On an H100, PocketRL runs 100 updates at 7B in 1.8 hours, 61% less than TRL's 4.6 hours; at 27B it takes 4.3 hours, 9% more than LoGRA's 3.9 hours on eight cards.\n\nThe trained models: 7B starts from Qwen2.5-Math-7B, trains on 8,552 level 3-5 problems from MATH, uses Dr. GRPO, three seeds each, and evaluates avg@8 over six mathematics test sets. ActGRA averages 43.0% (±0.2), LoGRA 41.8% (±0.3), dense gradients 40.1% (±0.7). Dense lands at the bottom; the paper's hypothesis is that restricting updates to a low-rank subspace reduces fitting to noise in sampled rewards. The 27B scaling test on Qwen3.8-27B runs 100 steps, lifting MATH-500 from 80.85% to 94.3% (±0.4) and the six-set mean from 47.87% to 64.7% (±0.3).\n\nAgainst released models from the same base, PocketRL-7B averages 43.0% versus a released-7B mean of 42.1% (six models); PocketRL-1.5B scores 32.9% versus 33.2% (two models). The costs differ by far more: $4.71 for 7B against $54 for the next released model, an 11.5x gap; $5.31 at 1.5B against an 18.7x gap.\n\n## An agent found the method first\n\nSection 6, AI Use, states that this work builds on a finding made by an autonomous agent the authors ran on rStation, a multi-agent research platform. Given the goal of training a 7B model on a single RTX 5090 with competitive performance, the agent found ActGRA and the quantized rounding remainder, built the original code base, and published its finding as a [precursor paper](https:\u002F\u002Frstation.ai\u002Fproblems\u002Fmath_rlvr\u002Fpapers\u002F40\u002Fv1). The authors reproduced and extended the experiments outside rStation with more models and seeds, producing the final PocketRL.\n\nThat precursor paper carries its own numbers. With the same four-bit correction and refresh interval, the 1.5B model after 50 updates answers 340\u002F500 on MATH-500 with activation QR versus 291\u002F500 with random QR. On the 7B trajectory, the same 500 questions under two evaluation prompts show a 21.4-percentage-point difference in gains: the Qwen math prompt goes from 253 to 395 correct, the bare question only from 341 to 376 (95% paired item-bootstrap interval 16.2-26.8). How much a run gained can itself be amplified by the prompt.\n\n## Where the edges are\n\nThe paper's own limitations: evidence covers six mathematics test sets on one model family at 1.5B, 7B, and 27B; cost savings depend on GPU rental prices and availability, both outside the authors' control. Released-model dollar totals are author-disclosed where available, otherwise reconstructed from disclosed GPU counts and runtimes.\n\nSo what: both methods have precedents, and PocketRL's contribution is wiring them into the RLVR training loop with a complete cost ledger; the code is on [GitHub](https:\u002F\u002Fgithub.com\u002Fdualverse-ai\u002Fpocketrl). The interesting direction: what makes RLVR cheap is not a thriftier algorithm, but accounting for who occupies the memory.\n\nAnd the rStation thread pushes one step further: the method was first found by an autonomous agent given the goal of training 7B on one 5090. When the tooling is good enough, the starting point of research may no longer be hand-written code, but letting an agent charge into that wall.\n\nThe paper and project page are [arXiv:2611.37942](https:\u002F\u002Farxiv.org\u002Fabs\u002F2611.37942) and [dualverse-ai.github.io\u002Fpocketrl](https:\u002F\u002Fdualverse-ai.github.io\u002Fpocketrl).","pocketrl-rlvr-single-rtx-5090","2026-11-30T13:30:00Z","2026-11-30T13:17:26.358460Z","2026-11-30T13:17:26.358475Z",true,"agent",92,[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},"3a419e1c-fb2b-467e-a5b6-a7188525bc03","TraceForge:推理痕迹自己造,学生反超教师真迹","traceforge-family-native-distillation","2026-10-22T15:10:42+00:00",{"id":75,"title":76,"news_slug":77,"published_at":78},"d1b7ef56-357c-4b38-841e-4d4d60970490","Waypoint-OPD给蒸馏加方向门控：教师前后打架就不学","waypoint-opd-direction-gated-distillation","2026-10-17T23:20:00+00:00",{"id":80,"title":81,"news_slug":82,"published_at":83},"d941056b-c2e7-42e5-965a-a982c20b1169","Qwen3.8-Flash-Next 架构细节:Gated Residual 多分支残差 + QSA micro-block 稀疏注意力","qwen3-8-flash-next-cost-efficiency-architecture","2026-09-02T02:00:00+00:00",{"id":85,"title":86,"news_slug":87,"published_at":88},"90637c7b-61d1-4aa0-a50e-033afbab0d26","140个权重止住0.8B模型的思考死循环","tiny-gradient-edits-stop-thinking-loops","2026-11-25T17:30:00+00:00",{"id":90,"title":91,"news_slug":92,"published_at":93},"d1d54032-073b-433e-9430-547c6ffb4a49","贵的模型，没写出更快的代码：9455 份实测","perfarena-llm-code-performance-ranking","2026-11-16T19:13:41+00:00",{"id":95,"title":96,"news_slug":97,"published_at":98},"f828f611-b57a-4855-9246-3609c2495faa","老师折进自己:2.27B用22B token留住84%","concertina-folding-llm-teacher-weights","2026-11-16T08:50:00+00:00"]