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

对黑箱低语:通过视觉提示强化冻结OCR

Whispering to a Blackbox: Bootstrapping Frozen OCR with Visual Prompts

Duke University(杜克大学)

Samandar Samandarov, Nazirjon Ismoiljonov, Abdullah Sattorov, Temirlan Sabyrbayev

AI总结:

通过视觉提示框架Whisperer,利用行为克隆方法提升冻结OCR模型的性能,减少字符错误率8%。

摘要:

在现代机器学习领域,冻结的预训练模型提供了稳定性和效率,但往往在特定任务上表现不佳,因为数据分布不匹配。本文介绍了Whisperer,一种新的视觉提示框架,该框架学习扩散基预处理程序以适应像素空间中的输入,有效地"对黑箱低语"增强冻结的下游模型,如EasyOCR。通过将过程框架为对随机发现的改进策略进行行为克隆,我们的方法在具有30万张退化合成文本图像的挑战性数据集上,将字符错误率(CER)减少了8%(绝对值)(10.6%相对值),超过了手工工程基线,如CLAHE。关键创新是四阶段训练课程,利用行为克隆放大通过部分训练扩散模型的随机探索发现的"幸运"改进。这种方法高度样本高效,并避免了传统强化学习的陷阱。至关重要的是,我们将此过程不视为朴素的强化学习,而是作为探索策略的行为克隆:我们随机采样中间扩散输出,选择那些通过偶然改善CER的输出,然后训练模型来重现它们。这种强化课程(60个GPU小时内4个阶段)将随机成功放大为系统策略。总之,通过通过对OCR输入的低语,我们改进了不完美的分类器,而无需触碰其权重。

英文摘要:

In the landscape of modern machine learning, frozen pre-trained models provide stability and efficiency but often underperform on specific tasks due to mismatched data distributions. This paper introduces the Whisperer, a novel visual prompting framework that learns diffusion-based preprocessors to adapt inputs in pixel space, effectively "whispering" enhancements to frozen downstream models like EasyOCR. By framing the process as behavioral cloning of stochastically discovered improvement policies, our method achieves an 8% absolute (10.6% relative) reduction in Character Error Rate (CER) on a challenging dataset of 300k degraded synthetic text images, surpassing hand-engineered baselines such as CLAHE. The key innovation is a four-stage training curriculum that uses behavioral cloning to amplify "lucky" improvements discovered through the stochastic exploration of a partially trained diffusion model. This approach is highly sample-efficient and avoids the pitfalls of traditional reinforcement learning. Crucially, we frame this not as naive reinforcement learning, but as behavioral cloning of an exploration policy: we stochastically sample intermediate diffusion outputs, select those that improve CER by chance, and then train the model to reproduce them. This bootstrapping curriculum (4 stages over 60 GPU-hours) amplifies random successes into a systematic strategy. In summary, by whispering to the frozen OCR through its inputs, we improve an imperfect classifier without touching its weights.

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

↑