Jerry Liu 针对复杂表格解析评测难题介绍了新发布的 ParseBench-2,提出基于错误严重性策略(severity policy)调整确定性评测指标。该基准建立了包含 330 多个错误类型的分类体系并划分为 5 个严重级别,允许用户针对金融等业务场景自定义惩罚权重。此举解决了传统编辑距离指标将数值符号颠倒与排版变体等同视之、难以度量灾难性错误的问题。
One of the hardest parts around document parsing is parsing complex tables.
Besides the task itself being difficult, it is also hard to measure what ‘good’ looks like. Ultimately it comes down to intuition around what is a catastrophic error for downstream knowledge work.
* Formatting differences (markdown vs. html tags) are harmless
* Making the header row a “data” row is also probably harmless (any human/model can interpret it as the header anyways)
* Swapping the signs on a number, particular in financial reporting, is much more severe.
It is hard to encode what “good” looks like in a quantifiable way. Existing deterministic tests/metrics (OmniDocBench/OlmOCR-Bench/ParseBench-1) use some variant of edit distance, or an average over binary tests, making it hard to distinguish severe errors from normal ones.
With our recent release of ParseBench-2, our answer is to tune any deterministic metric by a severity policy, where you can explicitly state how good or bad different errors are.
* For instance, in a finance setting, dropping digits/flipping signs is really bad! Our default severity weighting is 10, but you might decide 25 - the policy is meant to be customizable by the user.
* Check out the examples below highlighting this. You can compare the impact of “actually bad” or “harmless” perturbations on a few different benchmarks incl. ParseBench-2.
We have a taxonomy of 330+ error types, a big subset of which is defined around table errors, categorizing them from 5 severity levels:
* most severe: wrong digits, decimals misplaced, values swapped, column missing
* medium severe: body rows reordered, one cell split into two, etc.
* harmless: formatting errors, html markup
More details around table methodology in blog/tech report.
Blog: https://t.co/xtgxfln8Wc
Tech report: https://t.co/f6SxkKIlme
来源:Jerry Liu · x.com