{"id":948,"date":"2026-07-23T09:00:00","date_gmt":"2026-07-23T00:00:00","guid":{"rendered":"https:\/\/blog.hancom.com\/dla-document-layout-analysis-rag\/"},"modified":"2026-08-25T16:08:19","modified_gmt":"2026-08-25T07:08:19","slug":"dla-document-layout-analysis-rag","status":"publish","type":"post","link":"https:\/\/blog.hancom.com\/en\/dla-document-layout-analysis-rag\/","title":{"rendered":"What is DLA (Document Layout Analysis)? A Summary of Core Technologies Determining RAG Preprocessing Quality and Retrieval Accuracy"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">DLA (Document Layout Analysis) is a core preprocessing technology that determines the success or failure of a RAG (Retrieval-Augmented Generation) system.<\/p>\n\n<p class=\"wp-block-paragraph\">When an AI built on internal documents gives irrelevant answers, misreads figures in tables, or omits image information entirely, the cause is usually not the large language model (LLM). It\u2019s because information is already lost during preprocessing\u2014when documents are converted into a structure the AI can read. From chunking quality and retrieval accuracy to hallucination rates, I\u2019ll walk you through, from a practical perspective, how DLA determines the outcome.  <\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\"><strong>What is DLA?<\/strong><\/h2>\n\n<p class=\"wp-block-paragraph\">DLA is a technology that doesn&#8217;t just extract text, but analyzes the positions and relationships of titles, body text, tables, images, and captions within a document. In other words, it is the process of identifying the structure and reading order of a document\u2014much like organizing a book&#8217;s table of contents\u2014and arranging it into a format that AI can utilize. <\/p>\n\n<h3 class=\"wp-block-heading\"><strong>Definition and Core Concepts of DLA<\/strong><\/h3>\n\n<p class=\"wp-block-paragraph\">The core of DLA is understanding a document not as a simple collection of characters, but as structured units of information. The same sentence or number can mean different things depending on whether it appears in a title, the body, or inside a table. <\/p>\n\n<p class=\"wp-block-paragraph\">For example, if numbers from a table get mixed into the body text, the AI struggles to tell what those numbers describe. And if the title\u2013body hierarchy disappears, content from different sections can blend together, undermining the evidence behind search results or answers. <\/p>\n\n<p class=\"wp-block-paragraph\">That\u2019s why DLA is a key preprocessing step that preserves the hierarchy and reading order of titles, body text, tables, images, and captions\u2014so the document\u2019s meaning remains intact through chunking, embedding, retrieval, and answer generation. Recent document <a href=\"https:\/\/arxiv.org\/abs\/2410.21169\" target=\"_blank\" rel=\"noopener\">parsing research (Document Parsing Unveiled, 2024)<\/a> also describes parsing\u2014converting unstructured documents into machine-readable representations\u2014as an important preprocessing stage upstream of RAG. <\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h3 class=\"wp-block-heading\"><strong>How are OCR and DLA different?<\/strong><\/h3>\n\n<p class=\"wp-block-paragraph\">OCR (Optical Character Recognition) is a technology that recognizes characters in images or documents and converts them into text. In contrast, DLA analyzes the structural context as well\u2014what role the recognized text plays in the document, whether it\u2019s a title or body text, table data, or an image description. <\/p>\n\n<p class=\"wp-block-paragraph\">For example, OCR can read the number \u201c95\u201d in a table, but it\u2019s hard to know whether that number is \u201c2025 revenue\u201d or a \u201ccustomer satisfaction score.\u201d DLA, on the other hand, identifies which table and which field the number belongs to, along with surrounding titles and body text, preserving the document\u2019s meaning. <\/p>\n\n<p class=\"wp-block-paragraph\">If OCR is about reading characters, DLA is about understanding a document\u2019s structure and relationships. Extracting only text can flatten the structure of titles, tables, and lists and lose contextual information. But applying DLA helps preserve meaning more accurately through chunking, embedding, and retrieval. This is why, in RAG, using DLA alongside OCR is more advantageous for retrieval accuracy than OCR alone.  <\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-tsr-vlm-comparison-1024x576.png\" alt=\"Infographic comparing the differences between DLA Document Layout Analysis, TSR Table Structure Recognition, and VLM Chart Image Information Conversion\" class=\"wp-image-1407\" srcset=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-tsr-vlm-comparison-1024x576.png 1024w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-tsr-vlm-comparison-300x169.png 300w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-tsr-vlm-comparison-768x432.png 768w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-tsr-vlm-comparison-600x338.png 600w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-tsr-vlm-comparison.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\"><strong>3 Reasons Why DLA Determines RAG Retrieval Accuracy<\/strong><\/h2>\n\n<p class=\"wp-block-paragraph\">Preserving document hierarchy, restoring table structure, and structuring unstructured data are the core roles of DLA. This structural information is passed to chunking, embedding, and retrieval stages, determining the retrieval quality of a RAG system. <\/p>\n\n<h3 class=\"wp-block-heading\"><strong>RAG chunking quality starts with preserving document hierarchy<\/strong><\/h3>\n\n<p class=\"wp-block-paragraph\">For hierarchical chunking and semantic chunking to work properly, the document\u2019s title\/section\/body hierarchy must be preserved first during parsing. If the hierarchy is lost, content from different topics may be bundled into a single chunk, or a single semantic unit may be split across multiple chunks. As a result, retrieval accuracy drops and answer quality can be affected.  <\/p>\n\n<p class=\"wp-block-paragraph\">Both semantic chunking and hierarchical chunking depend on the quality of DLA. That\u2019s because titles, body text, and table structures must be analyzed accurately to preserve context and meaning during chunking. Research also shows that RAG systems with stronger structure awareness achieve higher answer accuracy than existing systems, and some studies report correctly answering about <a href=\"https:\/\/arxiv.org\/abs\/2401.12599\" target=\"_blank\" rel=\"noopener\">47%<\/a> more questions.  <\/p>\n\n<p class=\"wp-block-paragraph\">This issue is especially pronounced in Korean official documents. The indentation-based hierarchy typical of laws and reports is often not recognized properly by global general-purpose parsers. That\u2019s why Hancom Data Loader separately embeds a Level inference engine that analyzes paragraph styles, indentation, and numbering schemes to automatically tag hierarchy levels.  <\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h3 class=\"wp-block-heading\"><strong>Why TSR Restoration Reduces Errors in Numeric Queries<\/strong><\/h3>\n\n<p class=\"wp-block-paragraph\">When tables are converted into plain text, the row-column relationships are lost, causing RAG to generate incorrect answers for numerical queries.<\/p>\n\n<p class=\"wp-block-paragraph\">Simple parsing fails to handle merged cells and multi-level headers, resulting in the loss of table structures. Consequently, the AI references incorrect evidence, leading to an increase in errors for numerical queries. Tables in financial reports and technical documents are areas where RAG failure cases are frequently reported.  <\/p>\n\n<p class=\"wp-block-paragraph\">TSR (Table Structure Recognition) is the key technology that solves this problem. Hancom Data Loader recognizes borderless tables, merged cells, and even tables within tables (nested tables), and converts row\/column structures at the cell level into Markdown. <\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-table-structure-recognition-merged-cell-1024x576.png\" alt=\"Process of recognizing table structures and merged cells in public documents using DLA and TSR, and converting them into structured data\" class=\"wp-image-1409\" srcset=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-table-structure-recognition-merged-cell-1024x576.png 1024w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-table-structure-recognition-merged-cell-300x169.png 300w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-table-structure-recognition-merged-cell-768x432.png 768w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-table-structure-recognition-merged-cell-600x338.png 600w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-table-structure-recognition-merged-cell.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h3 class=\"wp-block-heading\"><strong>What do you need to make image and chart information usable in RAG retrieval?<\/strong><\/h3>\n\n<p class=\"wp-block-paragraph\">Images and charts cannot become retrieval targets in RAG through text extraction alone. Without contextual information, AI treats visual information as if it doesn\u2019t exist. <\/p>\n\n<p class=\"wp-block-paragraph\">With simple parsing, image and chart information is excluded from retrieval. Only when image context keyword extraction is performed together can answer quality be completed. This is why image captioning and contextual keyword extraction determine the completeness of answer quality.  <\/p>\n\n<p class=\"wp-block-paragraph\">Based on DLA, Hancom Data Loader recognizes images and charts as separate objects within a document and stores them separately. The image captioning feature, which generates natural-language captions by understanding the context and relationships of objects within images, is currently in the PoC stage, and the commercial release schedule will be announced later.  <\/p>\n\n<p class=\"wp-block-paragraph\">\ud83d\udca1Want to connect everything from HWP\u00b7HWPX to PDFs and images to your RAG pipeline as-is, without conversion?<\/p>\n\n<p class=\"wp-block-paragraph\">\ud83d\udc49 <a href=\"https:\/\/sdk.hancom.com\/services\/1?type=DATA_LOADER\" target=\"_blank\" rel=\"noopener\">Explore Hancom Data Loader<\/a><\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\"><strong>Text Extraction vs. DLA: What&#8217;s the Difference?<\/strong><\/h2>\n\n<p class=\"wp-block-paragraph\">Simple text extraction only pulls characters, while DLA preserves the role, position, and relationships those characters have within the document. Whether this structural information is preserved is a key difference that determines retrieval accuracy and answer quality. <\/p>\n\n<h4 class=\"wp-block-heading\"><strong>Simple Text Extraction vs. DLA<\/strong><\/h4>\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><td><strong>Comparison Item<\/strong><\/td><td><strong>Simple Text Extraction<\/strong><\/td><td><strong>DLA<\/strong><\/td><\/tr><tr><td>Table handling<\/td><td>Row\/column relationships lost<\/td><td>Restores even merged cells<\/td><\/tr><tr><td>Paragraph hierarchy<\/td><td>Flat text<\/td><td>Preserves title\/body\/list hierarchy<\/td><\/tr><tr><td>Images\/charts<\/td><td>Ignored or omitted<\/td><td>Object recognition and separate storage <\/td><\/tr><tr><td>Chunk quality<\/td><td>Semantic units break<\/td><td>Hierarchy-based splitting possible<\/td><\/tr><tr><td>RAG retrieval accuracy<\/td><td>Low<\/td><td>High<\/td><\/tr><tr><td>Hallucinations<\/td><td>Frequent<\/td><td>Minimized<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<p class=\"wp-block-paragraph\">The SCAN study <a href=\"https:\/\/aclanthology.org\/2026.findings-eacl.82\/\" target=\"_blank\" rel=\"noopener\">(Findings of ACL: EACL 2026)<\/a> reports that RAG systems applying DLA improve text-based QA accuracy by up to 9.0% and QA accuracy leveraging visual information such as images and charts by up to 6.4%, compared to systems that do not apply it.<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Hancom Data Loader is a document parsing solution that converts HWP, HWPX, PDF, and OOXML into structured data<\/strong>. Semantix is a technology that integrates DLA, OCR, TSR, and image captioning into a single pipeline, and Hancom Data Loader is a solution that includes Semantix internally. <\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-workflow-1024x576.png\" alt=\"Usage flow of Hancom Data Loader based on DLA, from document upload, data parsing, extraction, data review, RAG indexing, to user search and response\" class=\"wp-image-1410\" srcset=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-workflow-1024x576.png 1024w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-workflow-300x169.png 300w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-workflow-768x432.png 768w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-workflow-600x338.png 600w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-workflow.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\"><strong>Why do RAG hallucinations occur?<\/strong><\/h2>\n\n<p class=\"wp-block-paragraph\">RAG hallucination is mostly not a performance issue of the Large Language Model (LLM), but rather occurs because information lost during the document preprocessing stage enters the pipeline as-is.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>Maintaining Document Structure to Reduce Hallucinations<\/strong><\/h3>\n\n<p class=\"wp-block-paragraph\">If information is lost at the parser stage, incorrect chunks and retrieval results are generated, and hallucinations can occur during the process of creating answers based on them. When wrong chunks are created, the retrieval stage pulls irrelevant evidence, resulting in the generation of sophisticated-looking incorrect answers. Even if you change the model, it only more elaborately reconstructs the wrong input, making it even harder to discover the actual cause.  <\/p>\n\n<p class=\"wp-block-paragraph\">Conversely, the more document structure is preserved, the more accurately the AI retrieves the right semantic units, reducing errors that use irrelevant information as evidence. <strong>Structure-preserving parsing \u2192 accurate chunking \u2192 accurate retrieval \u2192 minimized hallucinations<\/strong>\u2014this flow is the key.<\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\"><strong>Criteria for Selecting a DLA Solution for Enterprise Document AI Utilization<\/strong><\/h2>\n\n<p class=\"wp-block-paragraph\">When choosing a document parsing solution for an enterprise environment, you must verify four things: whether it can parse HWP\u00b7HWPX originals, supports on-premises deployment, outputs structured JSON\/HTML, and can operate in network-segregated environments.<\/p>\n\n<p class=\"wp-block-paragraph\">It must be able to process major domestic document formats, including HWP\u00b7HWPX, in their original form, and it should minimize structural loss by extracting directly from the original files without converting to PDF. <\/p>\n\n<p class=\"wp-block-paragraph\">For public and financial institutions, it is essential to verify whether the solution runs on-premises without external transmission in internal or network-segregated environments. You should also check if the extraction results are output in JSON or HTML formats to be connected directly to a RAG pipeline. <\/p>\n\n<p class=\"wp-block-paragraph\">Hancom Data Loader is a document parsing solution that meets all requirements: HWP\u00b7HWPX original parsing, fully embedded on-premises deployment, structured JSON\/HTML output, and support for network-segregated environments.<\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-core-technology-1024x576.png\" alt=\"Infographic on the 6 core technologies of DLA-based Hancom Data Loader: DLA, OCR, TSR, HWP Data Loader, Level Inference Engine, Docker, REST API\" class=\"wp-image-1411\" srcset=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-core-technology-1024x576.png 1024w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-core-technology-300x169.png 300w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-core-technology-768x432.png 768w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-core-technology-600x338.png 600w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-core-technology.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h3 class=\"wp-block-heading\"><strong>Why global parsing solutions don\u2019t fit Korean enterprise RAG<\/strong><\/h3>\n\n<p class=\"wp-block-paragraph\">It is well known that DLA affects RAG quality. However, in the Korean corporate environment, there are realistic constraints that are difficult to solve with global general-purpose solutions alone. <\/p>\n\n<p class=\"wp-block-paragraph\">First, most global enterprise document parsing APIs only support general-purpose formats such as PDF, JPEG, PNG, and TIFF, and do not support direct parsing of original HWP or HWPX files. If HWP\/HWPX files are processed after being converted to PDF, hierarchy and table structures are lost, leading to a decline in RAG quality.  <\/p>\n\n<p class=\"wp-block-paragraph\">Second, cloud API approaches cannot be used in closed or network-segregated environments of public, financial, and legal institutions by design.<\/p>\n\n<p class=\"wp-block-paragraph\">Third, the hierarchical structure unique to Korean official documents is often outside the training scope of global DLA models. Reflecting these characteristics, the government is also converting public documents to an <a href=\"https:\/\/www.yna.co.kr\/view\/AKR20260423082600017\" target=\"_blank\" rel=\"noopener\">open HWPX system that AI can read<\/a>. Central government ministries have already mandated HWPX use in the Onnara System since 2022, and starting May 18, 2026, the same standard will be expanded to local government Onnara Systems as well.   <\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Hancom Data Loader is a solution that satisfies all three requirements: HWP original parsing, on-premises security, and Korean document structure recognition.<\/strong><\/p>\n\n<p class=\"wp-block-paragraph\">\u2705 Directly parses HWP\u00b7HWPX originals based on the HWP SDK<\/p>\n\n<p class=\"wp-block-paragraph\">\u2705 Internalize on-premises document parsing with a container-based REST API<\/p>\n\n<p class=\"wp-block-paragraph\">\u2705 Uses a Level inference engine optimized for Korean official documents<\/p>\n\n<p class=\"wp-block-paragraph\">\u2705 Hancom Data Loader holds GS certification <\/p>\n\n<p class=\"wp-block-paragraph\">If you need accurate HWP\u00b7HWPX original parsing, you can get started with Hancom Data Loader.<\/p>\n\n<p class=\"wp-block-paragraph\">\ud83d\udc49 <a href=\"https:\/\/livedemo.sdk.hancom.com\/dataloader\" target=\"_blank\" rel=\"noopener\">Go use the Hancom Data Loader live demo<\/a> <\/p>\n\n<p class=\"wp-block-paragraph\">\ud83d\udc49 <a href=\"https:\/\/sdk.hancom.com\/contacts\/create\" target=\"_blank\" rel=\"noopener\">Inquire About Hancom Data Loader<\/a><\/p>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-cta-features-1-1024x576.png\" alt=\"CTA image introducing the HWP\/HWPX original parsing, document hierarchy, on-premise Docker, TSR, and image\/chart recognition features of DLA-based Hancom Data Loader\" class=\"wp-image-1422\" srcset=\"https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-cta-features-1-1024x576.png 1024w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-cta-features-1-300x169.png 300w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-cta-features-1-768x432.png 768w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-cta-features-1-600x338.png 600w, https:\/\/blog.hancom.com\/wp-content\/uploads\/2026\/07\/dla-hancom-data-loader-cta-features-1.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<h2 class=\"wp-block-heading\"><strong>DLA Frequently Asked Questions<\/strong><\/h2>\n<div id=\"rank-math-faq\" class=\"rank-math-block\">\n<div class=\"rank-math-list \">\n<div id=\"faq-question-1783995666545\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Can I use HWP\u00b7HWPX files directly in a RAG pipeline?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>General-purpose frameworks such as LangChain and LlamaIndex do not natively support the HWP\u00b7HWPX format. If you convert to PDF and process it, structure is lost, so you need a solution that supports HWP SDK-based original parsing. Hancom Data Loader provides a REST API for integration with external RAG frameworks, and with JSON output that preserves the original HWP\u00b7HWPX structure, you can connect it directly to your RAG pipeline.  <\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1783995673275\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>What problems occur if RAG is built without DLA?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Building RAG without DLA flattens the text, causing the hierarchy of titles, tables, and images to be entirely lost. Chunks are cut without semantic units, and hallucinations surge as the retrieval stage pulls irrelevant evidence. In particular, table data is listed as just numbers with row-column relationships lost, leading to higher error rates in numerical queries. Even if the LLM is replaced, the same errors will repeat if preprocessing quality is low.   <\/p>\n\n<\/div>\n<\/div>\n<div id=\"faq-question-1783995682734\" class=\"rank-math-list-item\">\n<h3 class=\"rank-math-question \"><strong>Can we adopt a Document Layout Analysis solution even in network-segregated or closed-network environments?<\/strong><\/h3>\n<div class=\"rank-math-answer \">\n\n<p>Cloud API-based parsing solutions fundamentally cannot be used in the closed-network or network-separated environments of public, financial, and legal institutions. A solution that supports on-premises document parsing is required, and Hancom Data Loader can be operated without an external network by being internalized into the customer\u2019s internal server in the form of a container-based REST API. With a structure optimized for the network-separated environments of public institutions and financial firms, its adoption is proven even in public procurement environments through its GS certification.  <\/p>\n\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n<div style=\"height:0px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n<p class=\"wp-block-paragraph\"><strong>References<\/strong><\/p>\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/arxiv.org\/abs\/2005.11401\" target=\"_blank\" rel=\"noopener\"><strong>Lewis et al.<\/strong>,<\/a> \u201cRetrieval-Augmented Generation for Knowledge-Intensive NLP Tasks\u201d, NeurIPS 2020 <\/li>\n\n\n\n<li><a href=\"https:\/\/arxiv.org\/abs\/2401.12599\" target=\"_blank\" rel=\"noopener\"><strong>Lin<\/strong><\/a>, \u201cRevolutionizing RAG with Enhanced PDF Structure Recognition\u201d, arXiv:2401.12599 <\/li>\n\n\n\n<li><a href=\"https:\/\/arxiv.org\/abs\/2410.21169\" target=\"_blank\" rel=\"noopener\"><strong>Zhang et al.<\/strong>,<\/a> \u201cDocument Parsing Unveiled: Techniques, Challenges, and Prospects\u201d, arXiv:2410.21169 <\/li>\n\n\n\n<li><a href=\"https:\/\/aclanthology.org\/2026.findings-eacl.82\/\" target=\"_blank\" rel=\"noopener\"><strong>Ueda et al.<\/strong>,<\/a> \u201cSCAN: Semantic Document Layout Analysis for Textual and Visual Retrieval-Augmented Generation\u201d, Findings of ACL: EACL 2026<\/li>\n\n\n\n<li><a href=\"https:\/\/aws.amazon.com\/ko\/what-is\/retrieval-augmented-generation\/\" target=\"_blank\" rel=\"noopener\"><strong>AWS<\/strong><\/a>, \u201cWhat is Retrieval-Augmented Generation (RAG)?\u201d <\/li>\n\n\n\n<li><a href=\"https:\/\/www.ibm.com\/kr-ko\/think\/topics\/retrieval-augmented-generation\" target=\"_blank\" rel=\"noopener\"><strong>IBM<\/strong><\/a>, \u201cWhat is RAG (Retrieval-Augmented Generation)?\u201d <\/li>\n\n\n\n<li>Supported document formats for <a href=\"https:\/\/docs.aws.amazon.com\/textract\/latest\/dg\/limits-document.html\" target=\"_blank\" rel=\"noopener\"><strong>AWS Textract<\/strong><\/a> <\/li>\n\n\n\n<li>Supported formats for <strong><a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/ai-services\/document-intelligence\/overview?view=doc-intel-4.0.0\" target=\"_blank\" rel=\"noopener\">Azure Document Intelligence<\/a><\/strong> <\/li>\n\n\n\n<li>Supported file types for <a href=\"https:\/\/docs.cloud.google.com\/document-ai\/docs\/file-types\" target=\"_blank\" rel=\"noopener\"><strong>Google Document AI<\/strong><\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/www.danbinews.com\/news\/articleView.html?idxno=32366\" target=\"_blank\" rel=\"noopener\"><strong>Danbinews<\/strong><\/a>, \u201cKorean documents can\u2019t be read by AI?\u201d, 2026.02.01 <\/li>\n\n\n\n<li><a href=\"https:\/\/www.yna.co.kr\/view\/AKR20260423082600017\" target=\"_blank\" rel=\"noopener\"><strong>Yonhap News<\/strong><\/a>, \u201cMandatory conversion of public documents to HWPX\u201d, 2026.04.23 <\/li>\n<\/ol>\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your RAG quality is low, the root cause is not the large language model (LLM) but document preprocessing. This post summarizes what you need in practice for RAG pipeline preprocessing\u2014from the definition of Document Layout Analysis (DLA) and how it differs from OCR, to chunking quality and minimizing hallucinations. <\/p>\n","protected":false},"author":2,"featured_media":1414,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-948","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ax-glossary"],"_links":{"self":[{"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/posts\/948","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/comments?post=948"}],"version-history":[{"count":17,"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/posts\/948\/revisions"}],"predecessor-version":[{"id":1810,"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/posts\/948\/revisions\/1810"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/media\/1414"}],"wp:attachment":[{"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/media?parent=948"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/categories?post=948"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hancom.com\/en\/wp-json\/wp\/v2\/tags?post=948"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}