T3C:具有一致性保证的测试时张量压缩
T3C: Test-Time Tensor Compression with Consistency Guarantees
AI总结:
T3C通过测试时张量压缩,在准确率、延迟和模型大小之间实现可预测的折衷,优于现有量化方法。
摘要:
我们提出了T3C,一种一次训练、测试时预算条件下的压缩框架,将秩和精度作为可控制的部署参数。T3C结合了弹性张量分解(保持在最大秩内)与秩绑定的混合精度量化以及一个轻量级控制器,该控制器将延迟/能量/大小预算令牌映射到每层的秩/位分配;该策略会 snaps 到硬件对齐的配置,并且在预算上是单调的。一个快速的、逐层一致性证书,通过谱代理和激活统计计算,上界了logit漂移并正则化了训练,从而产生一个实用的可靠性信号,且具有可忽略的开销。在ImageNet-1k上,T3C推动了视觉帕累托前沿:对于在匹配精度(≤0.5%下降)下的ResNet-50,p50延迟为1.18ms,模型大小为38MB,优于PTQ-8b(1.44ms,88MB);对于ViT-B/16,T3C达到2.30ms p50,模型大小为59MB,优于强大的PTQ/QAT基线。因此,一个单一的T3C检查点在不同设备上提供了可预测的、证书支持的准确率-延迟-大小折衷方案。
英文摘要:
We present T3C, a train-once, test-time budget-conditioned compression framework that exposes rank and precision as a controllable deployment knob. T3C combines elastic tensor factorization (maintained up to a maximal rank) with rank-tied mixed-precision quantization and a lightweight controller that maps a latency/energy/size budget token to per-layer rank/bit assignments; the policy snaps to hardware-aligned profiles and is monotone in the budget. A fast, layerwise consistency certificate, computed from spectral proxies and activation statistics, upper-bounds logit drift and regularizes training, yielding a practical reliability signal with negligible overhead. On ImageNet-1k, T3C shifts the vision Pareto frontier: for ResNet-50 at matched accuracy (\leq 0.5% drop), p50 latency is 1.18ms with a 38MB model, outperforming PTQ-8b (1.44ms, 88MB); for ViT-B/16, T3C reaches 2.30ms p50 with 59MB, improving over strong PTQ/QAT baselines. A single T3C checkpoint therefore provides predictable, certificate-backed accuracy-latency-size trade-offs on demand across devices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。