[论文解读] Automatic quality evaluation and (semi-) automatic improvement of OCR models for historical printings
本文提出一种策略,利用来自多样化早期印刷品(1471–1686年)的混合训练数据,自动评估并改进历史印刷品的OCR模型,在未见过的文本上实现了超过90%的字符准确率。该方法引入置信度和词汇性作为真实准确率的代理指标,实现完全自动化的模型优化,以及仅需100–200行人工校对的半自动改进,结果接近于单独训练的模型。
Good OCR results for historical printings rely on the availability of recognition models trained on diplomatic transcriptions as ground truth, which is both a scarce resource and time-consuming to generate. Instead of having to train a separate model for each historical typeface, we propose a strategy to start from models trained on a combined set of available transcriptions in a variety of fonts. These \emph{mixed models} result in character accuracy rates over 90\% on a test set of printings from the same period of time, but without any representation in the training data, demonstrating the possibility to overcome the typography barrier by generalizing from a few typefaces to a larger set of (similar) fonts in use over a period of time. The output of these mixed models is then used as a baseline to be further improved by both fully automatic methods and semi-automatic methods involving a minimal amount of manual transcriptions. In order to evaluate the recognition quality of each model in a series of models generated during the training process in the absence of any ground truth, we introduce two readily observable quantities that correlate well with true accuracy. These quantities are \emph{mean character confidence C} (as given by the OCR engine OCRopus) and \emph{mean token lexicality L} (a distance measure of OCR tokens from modern wordforms taking historical spelling patterns into account, which can be calculated for any OCR engine). Whereas the fully automatic method is able to improve upon the result of a mixed model by only 1-2 percentage points, already 100-200 hand-corrected lines lead to much better OCR results with character error rates of only a few percent. This procedure minimizes the amount of ground truth production and does not depend on the previous construction of a specific typographic model.
研究动机与目标
- 解决用于训练历史印刷品OCR模型的外交转录本稀缺且成本高昂的问题。
- 开发无需真实标签的自动质量评估方法,实现无需人工统计错误的模型选择与改进。
- 在实现多样化早期现代字体高识别准确率的同时,最小化OCR模型训练的人工工作量。
- 评估使用准确率代理指标的完全自动化与半自动化改进策略的有效性。
提出的方法
- 在6种历史印刷品(1471–1686年)的组合数据集上训练混合OCR模型,以提升在相似字体上的泛化能力。
- 使用基于LSTM的OCRopus识别器生成初始OCR输出以供评估。
- 引入两种代理指标:平均字符置信度(C)和平均词元词汇性(L),二者均与真实字符准确率高度相关。
- 将混合模型的OCR输出作为伪真实标签,以完全自动化的方式重新训练模型。
- 使用100–200行人工校对结果作为真实标签,对模型进行半自动微调。
- 通过置信度和词汇性指标迭代评估模型性能,无需真实标签即可选择表现最佳的模型。
实验结果
研究问题
- RQ1在缺乏真实标签的情况下,平均字符置信度和平均词元词汇性能否作为真实OCR准确率的可靠代理?
- RQ2使用混合模型的OCR输出作为伪真实标签,完全自动化的模型改进策略效果如何?
- RQ3仅使用100–200行人工校对的半自动改进,能在多大程度上提升OCR性能,与混合模型相比如何?
- RQ4在相同文档上,基于极少量真实标签训练的模型性能与单独训练的模型相比如何?
- RQ5质量评估指标能否在自动化流程中指导模型选择与训练终止?
主要发现
- 平均字符置信度(C)和平均词元词汇性(L)与真实字符准确率具有强相关性,可实现无需真实标签的可靠自动模型排序。
- 使用伪真实标签进行完全自动化的优化,使混合模型的字符准确率提升了1–2个百分点。
- 仅使用100–200行人工校对的半自动优化,将字符错误率降低至仅百分之几,性能与单独训练的模型相当。
- 对于1471-O、1522-D和1533-C,基于100行数据训练的模型性能达到或略高于单独训练的模型,差异在统计波动范围内。
- 将真实标签数量增至200行后,解决了三个案例(1686-L、1591-P、1668-L)的性能下降问题,表明足够训练数据的重要性。
- 该方法可通过用新真实标签更新混合模型,实现模型的渐进式改进,逐步将通用的“混合(其他)”模型转变为针对目标文档更准确的“混合(自身)”模型。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。