arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2612.05825cs.LGeess.SP
收藏

更少消息还是更粗粒度消息?循环模块间的等比特比较

Fewer Messages or Coarser Messages? An Equal-Bit Comparison Between Recurrent Modules

University of Washington(华盛顿大学);The University of Hong Kong(香港大学)

Xuanyu Yang, Tong Guo

AI总结:

本研究对比循环模块间三种等比特消息传输方式,发现按变化发送4比特的方案在多数GRU模型中准确率更高,且验证了传输时间与任务事件相关的观点不成立。

摘要:

当网络被拆分为模块时,模块间的链路通信开销可能超过模块内部的计算开销。我们研究在固定比特预算下,两个循环模块之间应如何传输消息。在针对工作记忆任务训练的双模块网络中,一个模块(发送方)在每一帧将其输出传递给另一个模块(接收方)。我们比较了三种分配十六分之一全精度负载的方式:每一帧用2比特;每隔一帧用4比特,时间预先固定;仅当量化消息变化超过阈值时发送4比特消息。在对530个评估模型运行这些条件前,预测和决策规则已被添加时间戳。在每个模型取最佳阈值时,在同时达到预算的375个模型中,按变化发送4比特消息的准确率高于均匀2比特的情况有372个,高于固定时间4比特发送的情况有368个,因此该提升并非由保留4比特导致。低精度链路的代价取决于分工:在均匀2比特下,所有三种架构中,答案依赖接收方的网络比依赖发送方的网络损失的准确率大得多。报告了三个限制:该方案在155个模型(主要是LSTM)中未达到预算,因此375个可比模型中有345个是GRU。在事后分析中,每组预先固定一个阈值,368个GRU中有203个保持预算且全部优于两个比较器(中位数分别为37.0和59.6个点);在全部530个模型中,该方案优于均匀2比特的有206个,在FBK-LSTM中无优势且无可比LSTM。此外,先前注册的“传输时间由任务事件而非信号变化设定”的观点未得到支持。按变化发送并非新方法;本研究的贡献是等比特比较、与分工的关联以及注册测试。

英文摘要:

When a network is split into modules, the link between them can cost more than the computation inside them. We study how a message between two recurrent modules should be sent under a fixed bit budget. In two-module networks trained on a working-memory task, one module, the sender, passes its output to the other, the receiver, on every frame. We compare three ways of spending one sixteenth of the full-precision payload: every frame at 2 bits; every other frame at 4 bits, at times fixed in advance; and 4-bit messages sent only when the quantized message has changed by more than a threshold. Predictions and decision rules were time-stamped before any of these conditions was run on the 530 evaluation models. With the best threshold per model, sending on change at 4 bits was more accurate than uniform 2 bits in 372 of the 375 models in which both reached the budget, and more accurate than fixed-time 4-bit sending in 368 of 375, so the gain is not explained by keeping 4 bits. The cost of a low-precision link depended on the division of labor: under uniform 2 bits, networks whose answer depends on the receiver lost far more accuracy than networks whose answer depends on the sender, in all three architectures. Three limits are reported. The scheme did not reach the budget in 155 models, mostly LSTMs, so 345 of the 375 comparable models are GRUs. In a post hoc analysis with one threshold per group fixed in advance, 203 of the 368 GRUs kept the budget and all 203 beat both comparators (medians 37.0 and 59.6 points); over all 530 models the scheme beat uniform 2 bits in 206, with no advantage in FBK-LSTMs and no comparable LSTM. And an earlier registered idea, that transmission times are set by task events and not by signal change, was not supported. Sending on change is not new; the contributions are the equal-bit comparisons, the link to the division of labor, and the registered tests.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑