CurveCodec 2:基于学习熵模型的骨架无关动画压缩
研究论文 · 2026/10/06
骨骼运动以每帧每个关节的变换形式存储,但其中大部分信息是由身体结构隐含的,而非运动本身。压缩是探究在已知身体结构的情况下运动必须保留哪些信息的一种方式,而生产级编解码器必须在给定误差界限下对任意骨骼给出答案。我们之前的编解码器 CurveCodec 通过稀疏锚点上的学习先验,在平均误差上匹配了现代游戏引擎生产库 ACL,但未达到 ACL 的最坏情况,且其负载以浮点数而非比特计算。本文探究骨骼运动的冗余所在,以及编解码器中哪部分应由学习模型接管。测量给出三个答案:在生产精度下,最大节省来自从每个量化曲线自身的过去预测它,其次是通过层级闭环为每个关节选择不编码哪些样本。在这种编码器留下的间隙上,基于数百万训练样本的最近邻预言机并不优于线性插值,我们尝试的学习插值器也未能自偿。网络真正学到的是编解码器必须发送的残差分布。CurveCodec 2 将每个子轨道编码为对数映射中的曲线,闭环量化并稀疏化为率失真选择的键,残差在小学习模型下进行熵编码,其整数推理跨平台比特精确。每个解码片段验证两个契约:在给定容差内达到 ACL 自身的每关节最坏情况,或达到 ACL 的每片段平均误差。在来自 33 个数据集的 4,472 个片段的留出测试集上,CurveCodec 2 在最坏情况契约下,于 ACL 默认精度 0.01 厘米时所需字节为 ACL 的 0.37 倍;在平均契约下,于 0.1 厘米时所需字节为 0.22 倍。它可在单个 CPU 核心上解码,并能无需重新训练迁移到训练中未出现的物种。项目页面:https://rubbly.cn/publications/curvecodec/
该工作深入分析了骨骼动画压缩中的冗余来源,并提出了一个实用的生产级编解码器,在严格误差界限下显著优于现有方案,且具有跨平台比特精确性和无需重新训练的泛化能力,对游戏引擎和动画压缩领域有重要价值。
Skeletal motion is stored as every joint's transform at every frame, yet most of it is implied by the body rather than by what the motion is about. Compression is one way to ask what a motion must still say once the body is known, and a production codec must answer it for any skeleton with a stated error bound. Our earlier codec, CurveCodec, matched the mean error of ACL, the production library of modern game engines, with a learned prior over sparse anchors, but not ACL's worst case, and it counted its payload as floats rather than bits. Here we ask where the redundancy of skeletal motion lies and which part of a codec a learned model should take over. Measurements give three answers. At production precision the largest saving comes from predicting each quantized curve from its own past, the second from choosing per joint, in closed loop through the hierarchy, which samples not to code. On the gaps such an encoder leaves, a nearest-neighbour oracle over millions of training samples is no better than linear interpolation, and no learned in-betweener we tried paid for itself. What a network does learn is the distribution of the residuals the codec must send. CurveCodec 2 codes every sub-track as a curve in the log map, quantized in closed loop and thinned to rate-distortion-selected keys, with residuals entropy-coded under a small learned model whose integer inference is bit-exact across platforms. Two contracts are verified on every decoded clip: ACL's own worst case per joint within a stated tolerance, or ACL's mean error per clip. On a held-out test side of 4,472 clips from 33 datasets, CurveCodec 2 needs 0.37x ACL's bytes at ACL's default precision of 0.01 cm under the worst-case contract and 0.22x at 0.1 cm under the mean contract, decodes on one CPU core, and transfers without retraining to a species absent from training. Project page: https://rubbly.cn/publications/curvecodec/