LLM-Assisted Ownership Tracing: Implementation and Risk Boundaries

    Large language models can help uncover corporate ownership and control relationships in contracts, annual reports, and other unstructured documents, but their outputs require verification. This article explains an architecture that combines LLM-based extraction with knowledge graph analysis, covering document parsing, multi-hop reasoning, evidence tracking, deployment security, evaluation, and the decisions that must remain subject to human review.

    1. Why Corporate Ownership Tracing Needs a New Approach

    Tracing corporate ownership through multiple layers is a foundational task in anti-money laundering, financial risk management, and due diligence. Companies may use layers of limited liability companies, partnerships, or offshore entities to obscure the individuals who ultimately control them.

    Traditional approaches rely on manually reviewing corporate registry data or implementing rules in relational databases. These methods have two significant limitations:

    • Dependence on structured data. They are less effective when relevant information appears in PDF annual reports, scanned documents, or investment agreements.
    • Limited recognition of implicit control. Rules can match explicit fields, but they struggle to identify control arising from acting-in-concert agreements, nominee shareholding arrangements, or delegated voting rights.

    Entity names also vary across documents. The same company may appear under an abbreviation, a former name, or an English name. Without entity resolution, a short name such as “Example Tech” and the full name “Example Technology Ltd.” may be treated as separate companies, breaking the ownership chain.

    Large language models can read contractual provisions and interpret the relationships they describe. This makes them a useful complement to rule-based methods. However, model outputs are uncertain and must not be used directly as risk assessment conclusions.

    2. A Practical Architecture: LLM Extraction and Knowledge Graph Analysis

    A practical approach combines LLM-based extraction with knowledge graph computation.

    The LLM extracts entities and relationships from text, attaching supporting source evidence. The knowledge graph stores these results, resolves entity identities, and performs ownership traversal and cycle detection.

    Graph queries provide stable, reproducible results, with a much lower per-query cost than repeatedly invoking a model.

    The architecture has three main stages:

    1. Long-document parsing and extraction
    2. Multi-hop reasoning
    3. Knowledge graph validation

    3. Long-Document Parsing and Entity Extraction

    Split Documents into Manageable Sections

    Ownership-related documents often span dozens or hundreds of pages. Even when a model supports a long context window, submitting an entire document at once introduces risks.

    Context capacity remains finite, and models may overlook information in the middle of long inputs. Longer inputs also increase inference costs.

    In practice, split documents by section or contractual clause. For Chinese-language source documents, an overlap of 200–500 characters between adjacent chunks can help prevent important provisions from being cut apart. Set chunk sizes, overlap lengths, and splitting rules according to the chosen model’s actual limits, and validate them against sample documents.

    Preserve Tables and Layout Information

    Ownership tables and capital contribution schedules often contain merged cells or continue across pages. Text extraction tools may disrupt their structure.

    Convert tables into structured rows and columns before passing them to the model. Scanned documents require OCR first, and OCR errors can propagate directly into extracted results. Preserve references to the original image locations so reviewers can check the source.

    Define Prompts and Output Schemas

    Prompts should clearly specify the model’s role, task, and constraints. For example:

    Answer only from the supplied text. Do not output any relationship that the text does not state.

    Use a fixed JSON structure, such as:

    1. {
    2. "entity": {
    3. "name": "Example Technology Ltd.",
    4. "type": "company",
    5. "aliases": ["Example Tech"]
    6. },
    7. "relation": {
    8. "source": "Company A",
    9. "target": "Company B",
    10. "type": "shareholding",
    11. "ratio": 0.51
    12. },
    13. "evidence": {
    14. "doc_id": "Agreement-2024-017",
    15. "page": 12,
    16. "quote": "Excerpt from the source document"
    17. },
    18. "confidence": 0.82,
    19. "needs_review": false
    20. }

    Every relationship must include a source excerpt and page number. Relationships without supporting evidence must not be admitted to the graph.

    If the model output cannot be parsed, the application should automatically retry once. Records that still fail should enter a manual review queue.

    4. Multi-Hop Reasoning and Ownership Paths

    Ownership tracing requires linking multiple relationships into a path. Consider this example:

    • Company A owns 51% of Company B.
    • Company B owns 30% of Company C but controls it through an agreement.
    • Company C is the largest shareholder in Company D.

    The model can be prompted with the relevant jurisdiction’s statutory definition of control and asked to assess each link in turn. Each link needs its own assessment; the facts in the example do not, by themselves, establish control across the entire chain.

    Reasoning results should include:

    • Path nodes
    • Evidence supporting each edge
    • Confidence scores
    • Specific legal provisions
    • Human review status

    Legal references must identify the relevant provisions rather than merely state “under company law.”

    Models may omit links or misclassify relationships during multi-layer reasoning. As paths become longer, connections across the context can weaken. Ambiguous references such as “other shareholders” may also cause a model to assign interests to the wrong party.

    For these reasons, inferred paths should be treated only as candidates. They must pass graph validation before being included in a risk report.

    5. Knowledge Graph Validation and Updates

    The knowledge graph serves as the system’s underlying data layer. Three tasks are required before extracted data is accepted.

    Entity Resolution

    Names, abbreviations, and English-language variants referring to the same company must map to a single node. Useful matching fields include corporate registration identifiers, registered addresses, and registered legal representatives where applicable.

    Uncertain matches should remain unresolved and be submitted for human confirmation.

    Relationship Confidence and Conflict Resolution

    The same pair of companies may have several reported ownership percentages. For example, an amended agreement may differ from an earlier version.

    The graph should retain version identifiers and effective dates, select the latest valid record according to defined rules, and record the reason for any conflict.

    Updates and Rollbacks

    Assign a batch identifier whenever a new set of documents is ingested. If extraction errors are later found, the affected batch can be rolled back without disturbing other data.

    After validation, routine ownership traversal, cycle detection, and influence calculations should run on the graph.

    6. Cloud-Native Deployment and Data Security

    Teams may deploy this architecture on general-purpose cloud platforms using object storage, container services, managed graph databases, and model inference services.

    Several controls require particular attention.

    Data Classification

    Corporate registry information, nonpublic investment agreements, and personal identity information should have different sensitivity classifications, with corresponding storage locations and access permissions.

    Masking and Data Minimization

    Before sending text to a model, mask fields such as identity document numbers and bank account numbers. Retain only the information needed for extraction.

    Access Auditing

    Log model calls, graph queries, and data exports. Each record should identify the operator, time, and scope of data accessed.

    Network Isolation

    Sensitive workloads can access model services over private networks or use open-source models deployed in a private environment to reduce external data transfer.

    Whether an external API satisfies compliance requirements must be assessed jointly with legal and security teams.

    Deployment choices depend on data volume, latency requirements, and operational capacity. Private deployment costs more but provides greater control over data. Public cloud APIs can be integrated more quickly, but require appropriate data processing agreements.

    7. Evaluating Model Capabilities

    Before deployment, build an evaluation dataset covering four scenarios:

    1. Simple shareholding
    2. Cross-shareholding
    3. Nominee shareholding
    4. Contractual control

    Recommended measures include entity extraction precision and recall, relationship classification accuracy, ownership path completeness, and the proportion of records corrected during human review.

    The table below summarizes evaluation dimensions. Actual results must be measured on the team’s own samples; no benchmark values are asserted here.

    Metric Description Status
    Entity extraction precision Proportion of extracted entities that match the annotations To be measured
    Relationship classification accuracy Correct classification of shareholding and control relationships To be measured
    Ownership path completeness Proportion of annotated paths recovered in full To be measured
    Hallucination rate Proportion of output relationships without source evidence To be measured
    Per-document latency and cost Processing time and model invocation cost for one document To be measured
    Human correction rate Proportion of records requiring manual modification To be measured

    Results are comparable when measured using the same model version and evaluation dataset. A model version change requires a new evaluation; previous conclusions should not simply be carried forward.

    8. Risk Boundaries and Usage Guidance

    LLM outputs must not be treated directly as final risk assessments or legal conclusions. Human judgment should always be retained for:

    • Determinations of ultimate control
    • Findings that may involve criminal or administrative liability
    • Paths with insufficient evidence or low confidence
    • Records where model results conflict with graph results

    The system should explain the evidence and limitations behind every output. Reports must distinguish between information stated directly in source documents, conclusions derived through inference, and findings that remain unverified.

    Final legal conclusions require confirmation by qualified legal professionals.

    Conclusion

    LLMs extend ownership tracing beyond fixed rules by interpreting contractual language and other unstructured evidence. They can address gaps in rule coverage, but they do not remove the need for human judgment.

    Teams should begin with a small sample, validate the approach, and establish evaluation and review processes before expanding its use. The objective is an evidence-backed workflow in which models assist extraction and interpretation, graphs support reproducible analysis, and people remain responsible for consequential decisions.