arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.24969cs.LGcs.AI
收藏

OSDTW:长尾识别的最优共享深度与任务加权

OSDTW: Optimal Shared Depth and Task Weighting for Long-Tailed Recognition

Shenzhen International Graduate School, Tsinghua University, Shenzhen, China(清华大学深圳国际研究生院,中国深圳);Shenzhen Zkosemi Semiconductor Technology Co., Ltd(深圳卓芯半导体科技有限公司)

Chang Chu, Qingyue Zhang, Shao-Lun Huang, Junxiong Zheng

AI总结:

提出OSDTW框架,通过分解任务、共享编码器与任务特定解码器,并基于Fisher信息矩阵推导泛化误差的偏置-方差分解,以优化共享深度和任务权重,解决长尾识别中头部-尾部性能权衡问题。

摘要:

长尾识别面临持续的头部-尾部权衡:提升尾部性能通常会降低头部准确率,并可能增加训练不稳定性。尽管重加权、解耦训练和多专家方法取得了强有力的实证结果,但关于头部和尾部类别之间表示共享以及跨类别组监督加权的关键设计选择仍主要基于启发式。在这项工作中,我们提出了OSDTW,一个原则性的任务分解框架,将原始的单标签识别问题划分为头部任务和尾部任务,通过共享编码器和任务特定解码器实现。为了处理两个标签组之间的互斥性和统计依赖性,我们引入了一个因子化模型,并表明由此产生的基于KL散度的泛化误差可以写为任务项之和(加一个常数),从而得到一个定义良好的任务级目标。我们进一步开发了一个三阶段训练流程:独立任务训练以估计任务级最优值和Fisher信息矩阵,加权联合训练以学习共享编码器,以及分支组装以构建最终的解耦模型。在块对角Fisher近似下,我们推导了期望泛化误差的可计算二阶展开,将其分解为编码器方差、编码器偏置和解码器方差。这种偏置-方差分解提供了一个可计算的代理来选择共享深度和任务权重,从而实现高效的超参数搜索。在标准长尾基准上的实验证明了所提出方法相对于强基线的有效性。

英文摘要:

Long-tailed recognition suffers from a persistent head--tail trade-off: improving tail performance often degrades head accuracy and can increase training instability. Despite strong empirical results from re-weighting, decoupled training, and multi-expert methods, key design choices about representation sharing between head and tail classes and supervision weighting across class groups remain largely heuristic. In this work, we propose OSDTW, a principled task-decomposition framework that partitions the original single-label recognition problem into a head task and a tail task, implemented with a shared encoder and task-specific decoders. To handle the mutual exclusivity and statistical dependence between the two label groups, we introduce a factorized model and show that the resulting Kullback--Leibler divergence-based generalization error can be written as the sum of task-wise terms up to an additive constant, yielding a well-defined task-wise objective. We further develop a three-stage training pipeline: independent task training to estimate task-wise optima and the Fisher information matrix, weighted joint training to learn a shared encoder, and branch assembly to construct the final decoupled model. Under a block-diagonal Fisher approximation, we derive a computable second-order expansion of the expected generalization error, decomposing it into encoder variance, encoder bias, and decoder variance. This bias--variance decomposition provides a computable proxy to select the shared depth and task weights, enabling efficient hyper-parameter search. Experiments on standard long-tailed benchmarks demonstrate the effectiveness of the proposed approach over strong baselines.

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

↑