小规模 regime 中的缩放规律:小型模型如何改变其错误
Scaling Laws in the Tiny Regime: How Small Models Change Their Mistakes
AI总结:
研究探讨了小规模模型在 CIFAR-100 上的误差率缩放规律,发现小型模型在准确率、误差结构和校准方面有独特表现,且幂律关系在不同规模下不一致。
摘要:
神经缩放定律描述了模型性能随着规模以幂律方式提高,但现有研究集中在参数超过10000万的模型上。2000万以下的 regime —— 这是 TinyML 和边缘 AI 运行的领域 —— 仍未被探讨。我们在 CIFAR-100 上训练了 90 个模型(22000 到 1980 万参数),在两种架构(普通卷积网络、MobileNetV2)上,保持深度和训练固定,只改变宽度。两种都遵循误差率的近似幂律:ScaleCNN 的 α=0.156±0.002,MobileNetV2 的 α=0.106±0.001(五种子)。由于先前工作使用交叉熵损失而不是误差率,直接比较指数是近似的;有此免责声明,这些值比大型语言模型的 α≈0.076 大 1.4 到 2 倍。幂律并不普遍成立:局部指数随规模下降,且 MobileNetV2 在 1980 万参数时饱和(局部 α=0.006)。误差结构也发生变化。最小和最大 ScaleCNN 的错误集的 Jaccard 重叠仅为 0.35(25 个种子对,±0.004)—— 压缩改变了哪些输入被误分类,而不是仅仅有多少。小型模型集中在简单类别上(基尼系数:22000 时 0.26,470 万时 0.09),而放弃最难的(底部 5 准确率:10% vs 53%)。与预期相反,最小模型是最校准的(ECE=0.013 vs 中等大小峰值 0.110)。总体准确率因此对边缘部署来说是误导性的;验证必须在目标模型大小上进行。
英文摘要:
Neural scaling laws describe how model performance improves as a power law with size, but existing work focuses on models above 100M parameters. The sub-20M regime -- where TinyML and edge AI operate -- remains unexamined. We train 90 models (22K--19.8M parameters) across two architectures (plain ConvNet, MobileNetV2) on CIFAR-100, varying width while holding depth and training fixed. Both follow approximate power laws in error rate: $α= 0.156 \pm 0.002$ (ScaleCNN) and $α= 0.106 \pm 0.001$ (MobileNetV2) across five seeds. Since prior work fit cross-entropy loss rather than error rate, direct exponent comparison is approximate; with that caveat, these are 1.4--2x steeper than $α\approx 0.076$ for large language models. The power law does not hold uniformly: local exponents decay with scale, and MobileNetV2 saturates at 19.8M parameters ($α_{\mathrm{local}} = 0.006$). Error structure also changes. Jaccard overlap between error sets of the smallest and largest ScaleCNN is only 0.35 (25 seed pairs, $\pm 0.004$) -- compression changes which inputs are misclassified, not merely how many. Small models concentrate capacity on easy classes (Gini: 0.26 at 22K vs. 0.09 at 4.7M) while abandoning the hardest (bottom-5 accuracy: 10% vs. 53%). Counter to expectation, the smallest models are best calibrated (ECE = 0.013 vs. peak 0.110 at mid-size). Aggregate accuracy is therefore misleading for edge deployment; validation must happen at the target model size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。