arXiv:2608.06607v1 cs.CL

비용 효율적인 문서 필드 추출을 위한 추론 전 라우팅

Pre-Inference Routing for Cost-Efficient Document Field Extraction

Sreerekha Rajendran

제출 2026-08-06

한국어 초록

대부분의 문서 추출 시스템은 모든 문서에 단일 모델을 사용합니다. 이는 단순하지만 쉬운 케이스에는 비용이 많이 들고 어려운 케이스에는 덜 효과적일 수 있습니다. 본 연구에서는 저비용의 문서 기반 신호를 활용해 추출 전에 문서의 난이도를 예측할 수 있는지 살펴보고, 이를 통해 더 저렴한 추출기와 더 강력한 추출기 중 하나를 선택하도록 합니다. 연구 결과, 라우팅은 두 가지 조건이 충족될 때만 도움이 된다는 점을 확인했습니다. 즉, 저렴한 모델의 실패 빈도가 라우팅을 가치 있게 만들 만큼 충분히 높아야 하며, 이러한 실패를 이미지 품질 및 레이아웃과 같은 가시적 특징으로부터 예측할 수 있어야 합니다. 저자들은 이를 실용적인 테스트로 구체화하여 5개 장르에 적용했습니다. 두 조건이 모두 충족될 때, 보정된 라우터는 항상 대형 모델을 선택하는 것과 비교해 F1 점수 차이를 0.02 이내로 유지하면서 영수증에서는 31~33%, 품질이 저하된 광고 구매 양식에서는 77%까지 비용을 절감합니다. 이미 읽기 쉬운 깨끗한 디지털 인보이스나 영양 성분 라벨처럼 두 조건 중 하나라도 누락되면 라우팅은 도움이 되지 않습니다. 레이블이 지정된 소규모 파일럿을 통해 라우팅의 작동 여부를 예측할 수 있으며, 이를 먼저 실행한 두 가지 사례에서 예측이 적중했습니다. 단순한 단어 가방(bag-of-words) 라우터도 엔지니어링된 특징만큼 우수한 성능을 보여, 주된 한계가 라우터 설계가 아닌 장르에 있음을 보여줍니다. 저자들은 해석 가능한 특징을 사용하여 어떤 장르가 라우팅 가능한지 설명합니다. 라우터는 각 데이터셋마다 재학습되어야 하며, 동일한 장르 내에서도 데이터셋 간에 전이되지 않습니다. 이러한 결과는 비용 차이가 5배 및 3배인 두 모델 쌍 모두에서 유지됩니다.

원문 초록

Most document-extraction systems use a single model for all documents. This is simple but can be costly for easy cases and less effective for difficult ones. We examine whether we can predict a document's difficulty before extraction using inexpensive, document-based signals, and use this to choose between a cheaper and a stronger extractor. We find that routing only helps if two conditions hold: the cheaper model fails often enough to make routing worthwhile, and those failures can be predicted from visible features such as image quality and layout. We turn these into a practical test and apply it to five genres. When both conditions are met, the calibrated router reduces cost by 31-33% on receipts and 77% on degraded ad-buy forms while keeping quality within 0.02 F1 of always choosing the large model. Routing does not help if either condition is missing, as with clean digital invoices or nutrition labels that are already easy to read. A small labeled pilot can predict whether routing will work, and in the two cases where we ran it first, the prediction was correct. A simple bag-of-words router works about as well as engineered features, showing that the main limit is the genre, not the router design; we use interpretable features to help explain which genres can be routed. The router must be retrained for each dataset and does not transfer across datasets, even within the same genre. These results hold for two model pairs with cost differences of 5x and 3x.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2608.06607v1제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.