Document Intelligence大全

用語・参照用語・参照実挙動未確認実挙動未観測鮮度未確認鮮度を確定できない
記事ID
EA-070

要点

「企業AIの文書入力は、LLMへPDFを渡す処理だけで完結しない。OCR、レイアウト、表、フォーム、業務field抽出は独立したDocument Intelligence層として実装でき、主要cloudはversioned processor/APIを提供している。ただし文字認識・構造抽出・業務field抽出・最終回答は別々の品質段階であり、一段の成功を後段の正確性へ外挿してはならない。」

現在の判断

Document Intelligenceは単一OCR機能ではない。最低でも text OCR / reading order / layout / table structure / key-value & forms / selection marks / signatures / domain schema extraction / normalization / confidence & geometry / chunking を分離する。

どこまで当てはまるか

provider / cloud region / processor type / API revision / model version / language / input MIME / page and file-size limit / sync-vs-async path / pricing tier / custom-training requirement / preview-vs-GAを個別確認する。Microsoft v4へのmigration、Google processor version、AWS FeatureTypesをcurrent claimとして再確認する。

詳しく理解する

対象範囲と前提

非LLMコンポーネント / 実装 / 相互運用性 / エンタープライズAIコア / プロバイダーマッピング / ベンチマーク / ガバナンス

検討ポイント

OCR・layout・table・form・invoice等のdocument understandingはLLM本体と分離可能な専門処理層であり、企業運用では「文字が読めた」ことと「文書構造・業務fieldが正しく抽出された」ことを分離評価すべきか。current managed servicesのcapability/version/availabilityと、LLM downstream利用時のfailure envelopeは何か。

根拠資料

  • 資料の種類:公式製品文書 exact title: Document Intelligence general document model author/org: Microsoft canonical URL: https://learn.microsoft.com/azure/ai-services/document-intelligence/concept-general-document 公開・更新・参照:更新日 2026-08-15 / 参照日 2026-09-15 version: v4 GA API 2024-11-30; v3.1 GA 2023-07-31 supporting locator: general document features / key-value pair extraction / input requirements evidence label: 仕様確認済み / 製品情報は要再確認 対応関係:裏付け/適用限界 finding: v4以降prebuilt-documentはdeprecatedで、key-value pairs等はLayout model + features=keyValuePairsへ移行。v3.0 APIは2029-03-30 support end予定。PDF/image/Office対応やpage/file limitsもmodel/tier依存。
  • 資料の種類:公式製品文書 exact title: Sample processor output 著者・組織:Google Cloud canonical URL: https://docs.cloud.google.com/document-ai/docs/output 公開・更新・参照:参照日 2026-09-15 version/model IDs: Enterprise OCR pretrained-ocr-v2.1.1-2025-01-31; Custom Extractor pretrained-foundation-model-v3.5-2026-05-26; Form Parser v2.1-2023-06-26; Layout Parser v1.0-2024-06-03 supporting locator: Digitize text / Extract documents processor tables evidence label: 仕様確認済み / 製品情報は要再確認 relation: support / context 調査結果: OCR、品質分析、エンティティ抽出、フォーム解析、レイアウト解析、ドキュメントチャンキングがプロセッサごとに分離されており、プロセッサ/モデルのバージョンが明示されている。
  • source class: official API documentation exact title: Handle processing response 著者・組織:Google Cloud canonical URL: https://docs.cloud.google.com/document-ai/docs/handle-response 公開・更新・参照:参照日 2026-09-15 version: current docs supporting locator: Entities, nested entities, and normalized values evidence label: 仕様確認済み 対応関係:裏付け/適用限界 finding: Invoice parser等はschema-grounded entities、confidence、text/page anchors、normalized values、nested line itemsを返す。ただしchild naming conventionは全processorで一様ではない。
  • source class: official product/API documentation 正確なタイトル:AnalyzeDocumentRequest / Analyze Document 著者・組織:Amazon Web Services canonical URL: https://docs.aws.amazon.com/textract/latest/APIReference/API_AnalyzeDocument.html publication/update/access: API reference published 2026-09-11 / accessed 2026-09-15 version: current Textract API supporting locator: FeatureTypes; response BlockType evidence label: 仕様確認済み / 製品情報は要再確認 relation: support / context finding: TABLES、FORMS、SIGNATURES、LAYOUTをfeature typeとして選択でき、QUERY/QUERY_RESULT、merged cell、table title/footer、layout header/footer/list/figure等をBlockとして返す。
  • 資料の種類:公式製品文書 exact title: Tables 著者・組織:Amazon Web Services canonical URL: https://docs.aws.amazon.com/textract/latest/dg/how-it-works-tables.html 公開・更新・参照:参照日 2026-09-15 version: current docs supporting locator: table extraction description evidence label: 仕様確認済み relation: support finding: cell、merged cell、column header、title、section title、footer、table type、summary cell等を構造として抽出する。
  • 資料の種類:公式製品文書 exact title: Best Practices for Queries 著者・組織:Amazon Web Services canonical URL: https://docs.aws.amazon.com/textract/latest/dg/bestqueries.html 公開・更新・参照:参照日 2026-09-15 version: current docs 参照箇所: クエリを使用した表の抽出 / 長文回答 evidence label: 仕様確認済み 関係性: カウンター / 制限 finding: Queriesはwhole table/whole row/column抽出をsupportせず、長いanswerはlatency/timeoutを増やす。query featureの存在を一般的structured extraction能力へ外挿できない。
  • 出典クラス: 公式価格表 exact title: Document AI pricing 著者・組織:Google Cloud canonical URL: https://cloud.google.com/products/document-ai/pricing 公開・更新・参照:参照日 2026-09-15 version: current pricing supporting locator: Form Parser / Layout Parser pricing tables evidence label: 仕様確認済み / 製品情報は要再確認 relation: context / limit finding: processor別page/count課金があり、Document Intelligence層はLLM token costとは別meterとして管理すべき。

確認できていること

  • 「OCR accuracy」と「structured extraction accuracy」は別品質軸。文字列が正しくてもrow/column association、key-value binding、reading order、nested line item、page anchorが誤ればdownstream AIは誤った事実構造を受け取る。

  • 現在のプロバイダーの実装は、バージョン管理されたプロセッサ/モデル/APIである。プロバイダー名だけで機能を固定せず、プロセッサ/モデルID/APIの改訂版を出典・来歴として保持する。

  • document processor outputはderived artifactであり原文そのものではない。LLM/RAGへ渡す場合、原文locator/page/geometryと抽出fieldを結び、後から原文へ戻れる設計が必要。

  • specialized parserのschemaは強力だがdocument class、language、layout、field coverageに依存する。invoice parserの高confidence fieldを契約書・自由帳票へ一般化しない。

  • direct multimodal LLM parsingとspecialized Document Intelligenceは代替関係と決め打ちしない。前者は柔軟性、後者はschema/geometry/confidence/versioned outputに強みがあるため、fixtureで比較してroutingする。

よくある失敗・反証

  • scan quality、rotation、small text、handwriting、language/script、complex merged tables、multi-column reading order、footnote/header/footer、checkbox、stamp/signature、nested tablesでerror classが異なる。

  • confidence scoreはcalibration済みbusiness correctnessを自動保証しない。fieldごとのthreshold/human review policyが必要。

  • 表のセル内のテキストが正しくても、行や列の結合(span)またはヘッダーとの関連付けが誤っていれば、計算やRAGのチャンクは破損する。

  • domain parserは未定義fieldを落とす可能性があり、schema coverageとextraction precision/recallを分離する。

  • downstream LLMが抽出JSONを再解釈して誤る可能性があるため、processor accuracyとanswer accuracyを混同しない。

  • ベンチマーク/公開サンプルは、特定の組織の利用環境や、特定の文書分布を保証するものではありません。

実務での使い方

  • Microsoft Azure Document Intelligence、Google Cloud Document AI、Amazon Textractはいずれもmanaged document-processing層を現行提供。実装方式・schema・versioningは相互に同一ではない。共通Coreではvendor-neutralなDocument Extraction Contractを置き、provider mappingで各output schemaへ対応させるのが妥当。

  • 公開benchmarkの単一scoreを製品保証へ使わない。追加検証では自前fixtureを優先し、少なくとも OCR CER/WER、reading-order error、table cell accuracy、row/column topology、key-value F1、domain-field exact/normalized match、page-anchor accuracy、abstention/empty-field behavior、latency、cost/pageを別々に測る。document class別・language別・scan quality別にsliceする。

  • 文書はPII、契約情報、財務情報を含み得るため、processing region、retention/logging、encryption、access control、human review経路をproviderごとに確認する。

  • extraction output自体もsensitive derived dataとしてACL/retention対象にする。

  • auditには source document hash/version、processor/model/API version、config/features、timestamp、output artifact ID、confidence、human correctionを保持する。

  • costはpage/processor課金、custom training、LLM downstream token、human reviewを別meter化する。

  • migration/deprecationを監視し、同一fixtureでprocessor version regressionを行う。

  • synthetic + redistributable non-sensitive documentsを用意し、clean PDF / noisy scan / rotated / multi-column / merged-table / form / invoice / contract-like / multilingualを含める。ground truthをtext・reading order・table topology・field schema・page locatorで別々に持ち、processor単体→LLM downstreamの二段評価を実施する。認証済みtenant live testは未実施。

まだ確認できていないこと

  • / 再確認条件

  • Azure/Google/AWSの各サービスの全リージョン・全言語・全プロセッサにおける現在の可用性、各信頼度較正、カスタムモデルのトレーニング/データ運用管理の詳細、直接的なマルチモーダルLLMとの同一条件での比較、および独立した再現可能なベンチマークによる現在のマネージドサービス横断比較。

  • 外部根拠の再確認日が正式な本文・公開管理情報で確定していないため、現行性は未確認のまま保持する。確認日を推測して補わない。

根拠資料

この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。

このページから探す

種類

主題

やりたいこと

読み終えたら、次の判断へ

この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。

最初の知見から実務判断まで、3つの読み方を見る