top of page

Unstructured Data Extraction: A Practical Guide for Malaysian Enterprises

11 minutes ago
10 min read

Sketches of documents framing the article title

Unstructured data extraction is the process of reading content that has no fixed layout, such as emails, scanned forms, contracts and PDFs, and turning it into labelled fields that a system can store, check and act on. For most enterprises the working route is a pipeline: capture the document, read the text, classify it, extract the fields you need, validate them, and send exceptions to a person. This guide explains each step, how to check accuracy, what Malaysian rules apply and how to prove the business case.



TL;DR

 

  • Unstructured data has no predefined schema. Extraction maps it to one you define, field by field, with a confidence score for each value.

  • OCR only reads characters. Classification, language models and validation rules turn those characters into business meaning.

  • Accuracy must be measured against documents your own staff have labelled, and low-confidence fields should route to human review.

  • In Malaysia, the Personal Data Protection Act 2010 and the 2025 cross-border transfer guideline shape where and how extraction can run.

  • Prove the return with a few operational measures: touch time, exception rate, cycle time and error cost.

 

Table of Contents

 

 

What counts as unstructured data in a business

 

Unstructured data has no identifiable structure. Typical examples are bitmap images, free-form text and data types that sit outside databases, and the body of an email or the content of a Word document is free form. HPE Malaysia’s glossary extends the list to social posts, recordings, logs and IoT streams, usually kept in their native format.

 

In a bank, an insurer, a factory or a logistics firm, the pattern is the same. The valuable facts sit inside documents: a loan application, a claim form, a supplier invoice, a bill of lading, a certificate of analysis, a customer complaint. A file can have formatting, even tables, and still fail to fit a database, because nothing guarantees where the policy number or the delivery date will appear.

 

Email deserves a specific mention in Malaysia. The National Archives’ electronic records guidance treats email as a business record when it concerns policy or procedures, commitments, decisions, approvals or correspondence that starts or discusses official action. Approvals and commitments sitting in inboxes are unstructured data with real obligations attached.

 

Why manual handling becomes expensive

 

The cost of manual re-keying is rarely a single line in the budget. It appears as staff hours, delayed decisions, rework and audit findings. A 2024 systematic review in the Journal of Big Data notes that manual processing of documents can cause errors and delays. It also reports that static rules often fail on real-world document structures, which is why template-based tools tend to break when a supplier changes its invoice layout.

 

The cost compounds. A slow underwriting file waits for data entry before an underwriter sees it. A customs document with one wrong digit stalls a shipment. A bank officer who copies figures from a PDF into a spreadsheet has no audit trail of where each number came from. Extraction done properly fixes all three: speed, accuracy and traceability.

 

How extraction works, step by step

 

A production pipeline has more stages than the phrase “AI extraction” suggests. Each stage has a different job and a different failure mode.


Stages of an enterprise document extraction pipeline

Capture and pre-processing

 

Documents arrive by email, portal upload, scanner, SFTP or API. Before anything is read, the system should deskew scans, remove noise, split bundles into individual documents and record the source, the time of receipt and a unique identifier. This is the start of the audit trail.

 

Reading the text with OCR

 

Scanned documents need optical character recognition to identify text in images. The Journal of Big Data review explains that OCR alone cannot understand the meaning of facts or retrieve non-text characters. OCR tells you that the characters “12,500.00” exist on the page. It does not tell you whether that figure is a premium, a deductible or a freight charge.

 

Classification and layout understanding

 

The next step identifies what kind of document it is, and where its regions, tables and key-value pairs sit. Classification matters because the schema depends on the type: an invoice and a bank guarantee need different fields. Tables are a special case, and they are where many projects lose accuracy. Our practical guide to PDF table extraction covers merged cells, multi-page tables and ruled versus unruled layouts.

 

Extracting fields into a schema

 

This is where large language models earn their place. The same review describes an approach in which machine-learning OCR extracts text from images, tables and graphs, then a vision-language model maps the content to a schema and produces structured JSON with confidence scores, followed by user validation. The design lesson is more important than the product: define the target schema first, ask the model for exactly those fields, and require a confidence value and a source location for each one.

 

For teams new to this, the schema is the real work. Decide the field names, formats (dates, currency, units), which fields are mandatory and what counts as valid. A model cannot be accurate against a target nobody has defined.

 

Validation and human review

 

Extracted values should be checked against business rules before they reach a core system: totals that add up, dates in a sensible range, policy numbers that exist, tax identifiers that match a format, a supplier that appears in the vendor master. Values that fail, or that fall below a confidence threshold, go to a reviewer who sees the original document beside the proposed value.

 

Our article on generative AI for documents explains where language models help most and where classical methods remain the better tool.

 

Choosing an approach by document type

 

No single method fits every document. The right mix depends on how variable the layout is and how costly an error would be.

 

Document type

Layout variability

Typical approach

Review emphasis

Standard forms and ID documents

Low

OCR with fixed zones plus validation rules

Spot checks

Invoices and purchase orders

Medium to high

OCR, layout model and schema-driven language model

Amounts, tax and supplier match

Contracts and policy wordings

High, long text

Language model with clause-level extraction and citations

Every extracted obligation

Emails and chat messages

Very high

Classification, then language model extraction

Intent, commitments, attachments

Handwritten notes and claim forms

High

Handwriting recognition with strong confidence gating

Most fields until performance is proven

The review identifies handwriting recognition, varied layouts and low-quality task-specific public datasets among the open challenges. In practice, that means a model that performs well on a public benchmark may disappoint on your own scanned branch forms. Test on your documents, not someone else’s.

 

How to check accuracy and reliability

 

Accuracy is not a single number. Treat it as a small set of measures taken against a test set of documents that your own people have labelled.

 

Start with field-level accuracy, reported per field. An amount and a free-text notes field do not carry the same risk, and a blended 96 per cent can hide a 80 per cent result on the one field that matters. Then measure document-level accuracy: the share of documents in which every critical field is correct. It is always lower than the field figure, and it is the one that predicts how much rework you will face.

 

Next, use confidence scores to decide what a human sees. Published research on resume extraction found that embedding-based verification could separate correct from erroneous extractions with an F1 score of 0.98, allowing low-confidence fields to be flagged for human-in-the-loop review. That result came from a public resume dataset with synthesised errors, so treat it as evidence that the technique works, not as a promise for your invoices. Set your own thresholds by running the pilot and plotting how many errors slip through at each cut-off.

 

Finally, keep monitoring after go-live. Suppliers change formats, new products add fields and models drift. A sample of auto-approved documents should be re-checked by a person every week at first, then monthly, with the results logged. That log is also what an internal auditor will ask for.

 

Malaysian rules that shape the design

 

Extraction pipelines read personal data by definition: names, identity numbers, addresses, account details, medical information on claim forms. Four Malaysian references matter most.

 

First, the Personal Data Protection Act 2010 (Act 709) regulates the processing of personal data in commercial transactions by data users and protects the interests of data subjects. If your extraction vendor processes documents for you, your contract with them needs to reflect your duties as a data user.

 

Second, cross-border processing. If a cloud model or an offshore service reads your documents, the 2025 cross-border transfer guideline is the page to read. It explains that section 129 of Act 709 permits transfer where the destination has substantially similar law or adequate protection, or where conditions apply such as consent, contractual necessity, legal proceedings, vital interests or reasonable precautions. The same guideline expects controllers to assess the receiving jurisdiction and safeguards, secure the transfer, protect against loss or unauthorised access, and include personal-data-processing and security clauses in processor contracts.

 

Third, automated decisions. If extracted values feed a decision about a person, such as a credit score or a claim outcome, look at the Personal Data Protection Commissioner’s consultation paper on automated decision-making and profiling. It proposes treating AI use as automated decision-making where effects are legal or similarly significant, and it names risks around training data, model outputs, access, correction and disclosure. It is a consultation paper, so confirm its current status before you rely on it.

 

Fourth, the National Guidelines on AI Governance and Ethics, published in September 2024. They are voluntary and set out seven principles: fairness; reliability, safety and control; privacy and data security; inclusivity; transparency; accountability; and human benefit. They give a sensible checklist for the review step and the audit log.

 

For a fuller treatment, see our notes on Malaysia’s AI rules for businesses and on mapping ISO/IEC 42001 to Malaysian PDP requirements. Regulated firms should also check the requirements of their own sector regulator, and take advice from their legal or compliance counsel before choosing where data is processed.


Malaysian rules that shape the design — overview diagram

Perspective: what we see in enterprise extraction projects

 

Most extraction projects do not fail because the model cannot read. They fail in the gaps around it. A proof of concept is built by one team, handed to a second team to integrate, and then to a third to run. Nobody owns the exception queue, nobody owns the accuracy log, and six months later the reviewers are back to typing.

 

We approach it the other way round. One senior team owns the strategy, the build and the operation, so the person who designs the schema is the same person who sees the exception rate in production. We engineer for production from day one: audit trails for every extracted value, governance that maps to PDPA duties, and results measured in business terms, not in demo screenshots.

 

Our advice to enterprise leaders is to start narrow. Pick one document type with high volume and a clear cost, such as supplier invoices, claim forms or shipping documents. Label a few hundred real examples. Agree the thresholds with the people who own the risk. Then expand. The organisations that move fast on this are the ones that treat extraction as an operating capability, not a one-off tool purchase.

 

— Thomas Samuel

 

Measuring the operational benefit

 

The business case for extraction should be built from measures you can observe in your own process, before and after. Four are enough for most programmes.

 

Touch time per document: the minutes of human effort from receipt to posting. Measure it on a sample before you start, so that the baseline is your own and not a vendor’s.

 

Straight-through rate: the share of documents that post with no human intervention. Report it with the error rate among those documents, since a high rate with hidden errors is worse than a modest rate with clean data.

 

Cycle time: the elapsed time from receipt to decision or payment. In underwriting and trade documentation this is often the figure that leadership cares about most, because it affects customers directly.

 

Error cost: the rework, penalties, write-offs or disputes caused by wrong data. Pull it from finance and quality records, and attribute it carefully.

 

Multiply the first measure by volume and loaded staff cost to size the hours released, then deduct the running cost of the system, the review effort and the managed operations. Show the result as a range. A conservative range is more credible to a finance committee than a single optimistic figure.

 

From pilot to production

 

A sound rollout has a clear sequence. Begin with a readiness check of the document sources, the data quality, the systems that will receive the output and the people who will review exceptions. Then prioritise use cases by value and feasibility, build a pilot on one document type with a labelled test set, and set thresholds. Integrate with the core system, deploy with monitoring, and then operate and optimise.

 

Where organisations stumble is the final two steps. Monitoring, evaluation and ongoing optimisation are not extras. Document formats change, volumes spike and rules are updated, so someone must be accountable for the system after launch.

 

How Sentient Concepts can help

 

We design, build and run extraction systems for finance, insurance, manufacturing and logistics organisations in Malaysia. The work usually begins with Readiness & Data Diligence, which tests your documents, data and controls before any build. From there our AI & GenAI Solutions team engineers the pipeline, and Managed AI Operations keeps it accurate after go-live. You can see the full range on our services page.


Sentient Concepts

If you have a document-heavy process that is slowing decisions or inflating cost, talk to us about a scoped starting point. We will tell you plainly whether extraction is the right fix.

 

FAQ

 

What is meant by unstructured data?

 

Unstructured data is information with no predefined schema or fixed fields, such as email bodies, free-text documents, images, recordings and logs. It can sit inside a file that has formatting, but its content still does not fit database columns. Extraction is what turns it into structured records.

 

How do I extract data from documents without templates?

 

Use a schema-driven approach: define the fields you need, read the page with OCR and layout analysis, then ask a language model to return only those fields with a confidence score and source location. Validate against business rules and send low-confidence values to a reviewer. Template-free does not mean review-free.

 

Can AI read handwriting and poor scans?

 

It can, but results are weaker than on clean printed text. Published research lists handwriting recognition and varied layouts as continuing challenges. Test on your own scans, gate handwritten fields with strict confidence thresholds and keep human review until measured performance justifies relaxing it.

 

Does the PDPA apply to document extraction?

 

Yes, whenever the documents contain personal data processed in commercial transactions. Your obligations as a data user remain even when a vendor processes the documents, and offshore processing brings the cross-border transfer rules into play. Ask your legal or compliance counsel to review the design before go-live.

 

How long does it take to see results?

 

That depends on document variety, data quality and integration effort, so we do not quote a fixed timeline here. A narrow pilot on one document type with a labelled test set gives you measured accuracy and touch-time figures early, and those numbers should decide whether to expand.

 

Sources

 

Recommended

 

 
 
bottom of page