通过课程指导自适应递归加速小型递归模型的训练速度
Accelerating Training Speed of Tiny Recursive Models with Curriculum Guided Adaptive Recursion
AI总结:
CGAR通过课程指导自适应递归方法,提升小型递归模型训练效率,实现加速训练和保持模型质量。
摘要:
背景:递归推理模型通过迭代细化实现强大性能,使小型网络能够匹敌大型语言模型。然而,训练过程计算成本高昂,通常需要36个GPU小时来解决数独极端问题。现有模型使用固定递归深度和均匀监督加权,导致训练效率低下。目标:我们提出了CGAR(课程指导自适应递归),将课程学习应用于架构深度。CGAR引入了渐进深度课程(PDC)以动态调整递归深度,并引入分层监督加权(HSW)以对监督步骤施加指数衰减的重要性。方法:PDC实现了一个三阶段计划,从浅层(2,1)逐步过渡到完整深度(6,3)配置,提供了41.4%的FLOPs减少。HSW对监督步骤施加指数衰减,实现了40%的梯度方差减少和加速收敛。结果:在数独极端问题上,CGAR仅导致0.63%的准确率下降(86.65%到86.02%),就实现了1.71倍的训练加速(从10.93小时到6.38小时)。PDC单独实现了2.26倍的加速,准确率为85.47%,显示出效率和质量的帕累托改进。HSW提供了1.61倍的加速。CGAR训练的模型在推理效率上表现更优,具有100%的终止准确率和11%更少的推理步骤。结论:CGAR使递归模型在有限硬件上实现了高效的训练。通过将深度视为一个调度参数,它实现了显著的节省并防止过拟合,使这些模型在神经符号AI和程序合成中得以应用。
英文摘要:
Background: Recursive reasoning models achieve strong performance through iterative refinement, allowing small networks to match large language models. However, training is computationally expensive, often requiring 36 GPU-hours for Sudoku extreme. Existing models use fixed recursion depth and uniform supervision weighting, leading to inefficient training. Objectives: We propose CGAR (Curriculum-Guided Adaptive Recursion), applying curriculum learning to architectural depth. CGAR introduces Progressive Depth Curriculum (PDC) to dynamically adjust recursion depth and Hierarchical Supervision Weighting (HSW) to apply exponentially decaying importance to supervision steps. Methods: PDC implements a three-stage schedule transitioning from shallow (2, 1) to full depth (6, 3) configurations, providing 41.4% FLOPs reduction. HSW applies exponential decay to supervision steps, achieving 40% gradient variance reduction and accelerated convergence. Results: On Sudoku-Extreme, CGAR achieves 1.71x training speedup (10.93 to 6.38 hours) with only a 0.63% accuracy drop (86.65% to 86.02%). PDC alone achieves 2.26x speedup with 85.47% accuracy, showing a Pareto improvement in efficiency and quality. HSW provides 1.61x speedup. CGAR-trained models show superior inference efficiency with 100% halting accuracy and 11% fewer reasoning steps. Conclusions: CGAR enables efficient training of recursive models on modest hardware. By treating depth as a scheduled parameter, it achieves substantial savings and prevents overfitting, making these models practical for neurosymbolic AI and program synthesis. https://github.com/Kaleemullahqasim/CGAR and huggingface.co/Kaleemullah/trm-cgar-sudoku.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。