Equity Penetration Explained: Multi-Layer Shareholding and Ultimate Beneficial Owner Algorithms

    Equity penetration is rarely a single query—ownership often nests and cross-holds across many layers in company registries, annual reports, partnership agreements, and investment announcements. Using the case of a natural-person shareholder, Fan, this article explains how to model and calculate it. It separates two definitions—a summation definition for economic interest and a control definition for "who is in control"—walks through the graph data model (entities, equity edges, and control edges), and presents a recursive algorithm with pruning and cycle detection. It also covers cross-shareholding, limited partnerships (GP vs. LP), related-party grouping, handling incomplete data, performance optimization, a four-layer cloud architecture, LLM-based extraction with rule validation, and quantifiable accuracy metrics with acceptance thresholds.

    How is equity penetration performed? How are cross-holdings calculated? Under a multi-layer shareholding structure, how do you separately answer “who owns how much” and “who is in control”? In company registries, annual reports, partnership agreements, and investment announcements, ownership relationships are often not a simple one-layer mapping but nested and cross-held across many layers. Looking only at direct shareholders usually yields just a shareholder list; only by recursively traversing the equity chain layer by layer can you approximate the real economic interest and control relationships. Using the case of a natural-person shareholder, Fan, this article explains the modeling approach for equity penetration, the algorithm implementation, handling of special structures, cloud architecture, and accuracy evaluation.

    1. Penetration Is Not a Single Query

    “Who are a company’s shareholders?” and “How much of Company X does Fan own?” look like single queries, but they actually require recursively expanding an equity graph. Behind every shareholder there are more shareholders, and companies may also hold stakes in each other. The number of layers can range from two or three to over a dozen. Querying only direct shareholders returns a direct-holding result, not complete beneficial ownership.

    Equity penetration typically serves three scenarios:

    • Compliance and risk control: identifying hidden related parties, concentrated holdings, suspected nominee holdings, and shell-company networks.
    • Investment research: reconstructing the economic interest of natural persons or institutions in a target company.
    • Group management: mapping member-company hierarchies, control chains, and consolidation scope.

    To avoid confusing results, this article uses two definitions:

    • Summation definition: a shareholder’s interest in the target company equals the sum of holding ratios along all paths that reach the target, with ratios multiplied at each layer.
    • Control definition: trace upward along control paths to identify the ultimate controller, controlling shareholder, and control chain, emphasizing “who is in control.”

    The summation definition answers “how much is allocated,” and the control definition answers “who controls.” The two must be calculated separately and labeled separately.

    2. Case: Fan and Multi-Layer Nested Equity

    Assume an investment holding company, Company F, has the following ownership structure:

    1. Fan (natural person)
    2. ├── directly holds 40% of Company F
    3. └── holds 70% of Company A (Ltd.)
    4. └── A holds 60% of Company B
    5. ├── B holds 30% of Company F
    6. └── Partnership C (limited partnership) holds 10% of Company F
    7. ├── A, as GP (general partner), holds 1% of C
    8. └── an employee stock ownership platform, as LP (limited partner), holds 99% of C
    9. Company F's other shareholders:
    10. ├── Ding (natural person) directly holds 20%
    11. └── an investment company directly holds 30%

    In this structure, Fan holds F both directly and indirectly through A, B, and C. There are three common misreadings.

    Misreading 1: Looking only at direct shareholders

    Looking only at F’s direct shareholder list, Fan appears directly because Fan holds 40% directly. But if you then count only Fan’s direct investment, you underestimate Fan’s true economic interest, because Fan also holds stakes indirectly through A, B, and C.

    Misreading 2: Missing a path in the summation

    For example, calculating only:

    1. 70% × 60% × 30% = 12.6%

    then adding the direct 40% gives 52.6%. This still misses a shorter but real path:

    1. Fan → A → C → F: 70% × 1% × 10% = 0.07%

    The correct total is:

    1. 40% + 12.6% + 0.07% = 52.67%

    Misreading 3: Treating a limited partnership as simple capital-ratio penetration

    C is a limited partnership. A, as GP, holds 1% of C, and the employee stock ownership platform, as LP, holds 99%. If control is judged purely by capital-contribution ratio, the 1% GP is easily overwhelmed by the 99% LP. But under partnership governance, the GP usually manages partnership affairs and represents the partnership externally; whether this constitutes control must be judged in combination with the partnership agreement, voting mechanisms, and authority arrangements. Economic interest and control rights cannot be conflated.

    3. Summation Definition: Fan’s Economic Interest

    Under the summation definition, Fan’s interest in F includes:

    • Direct holding: 40%;
    • Indirect through A and B: 70% × 60% × 30% = 12.6%;
    • Indirect through A and C: 70% × 1% × 10% = 0.07%;
    • Total: 40% + 12.6% + 0.07% = 52.67%.

    Therefore, Fan’s total economic interest in F is about 52.67%. This definition suits dividend distribution, property rights, economic-interest analysis, and approximate beneficial-owner identification.

    Note that 12.6% and 0.07% are economic-interest contributions Fan forms through different paths and should not be directly equated with A’s control ratio over F. Reference lines such as 20% shareholding can only serve as auxiliary screening and cannot replace control judgments.

    4. Control Definition: Simplified and Complete Control Chain

    If you only compare direct shareholders’ holding ratios in F, the highest-holding path is Fan (40%) → F; Ding is 20% and an investment company is 30%, both lower than Fan. Here you can give a simplified conclusion: at the direct-shareholder level, Fan is the shareholder with the highest holding ratio.

    But this is only a simplified definition. If A controls B through shareholding and controls C through a partnership agreement or executive-affairs arrangement, the control definition should continue tracing along control edges rather than only looking at direct shareholders. This may form:

    1. Fan → A → B → F
    2. Fan → A → C → F

    In other words, if A controls B and C, Fan may further form a final control chain over F through controlling A; if A’s control over B and C cannot be proven, then A, B, and C can only be treated as minority-investment paths, labeled as insufficient control evidence.

    The key to the control definition is the “control path” rather than “adding up ratios.” Therefore, system output must state: whether the current result is based only on direct holding ratios, whether control edges are included, and whether it relies on special arrangements such as partnership agreements, voting-right delegation, or acting-in-concert.

    5. Data Modeling: Nodes, Edges, and Endpoints

    The foundation of equity penetration is a graph structure. Nodes represent entities such as companies, natural persons, and partnerships; edges represent shareholding or control relationships from shareholder to invested company.

    A simplified table structure:

    1. entity(
    2. id,
    3. type, -- COMPANY / PERSON / PARTNERSHIP, etc.
    4. name,
    5. registration_id,
    6. status -- active / deregistered / revoked
    7. )
    8. equity_edge(
    9. id,
    10. shareholder_id, -- shareholder or controlling party
    11. company_id, -- invested company
    12. ratio, -- direct shareholding ratio [0,1]
    13. invest_type, -- equity / partnership interest / voting-right proxy / acting-in-concert
    14. control_note, -- special control note, e.g., "serves as general partner"
    15. valid_from,
    16. valid_to,
    17. source
    18. )
    19. control_edge(
    20. id,
    21. controller_id,
    22. controlled_id,
    23. control_type, -- agreement-based control / GP control / voting-right proxy / acting-in-concert
    24. control_weight, -- control weight, only for ranking candidate control paths
    25. evidence,
    26. valid_from,
    27. valid_to
    28. )

    Modeling notes:

    • Unique entity identifier: use stable identifiers such as company registration numbers and partnership registration numbers as primary keys; names are for display only.
    • Temporal versioning: equity relationships change over time, so record effective intervals to support reconstructing the ownership structure as of a historical date.
    • Penetration endpoints: natural persons, listed companies, government-owned investment entities, etc., can serve as endpoints. is_terminal can come from rule tables such as entity type, listed-company directories, and government ownership registries.
    • Special control edges: GP control, voting-right delegation, acting-in-concert, etc., cannot be simply calculated by ratio and should be recorded separately.
    • Multi-source conflicts: prioritize regulatory disclosures and official registration data; tag other sources with a credibility level; conflicting data goes to manual review.

    6. Algorithm Implementation: Recursion, Pruning, and Cycle Detection

    Upward penetration finds shareholders starting from a company; downward penetration finds invested companies starting from a shareholder. Both share the same edge table, differing only in query direction:

    • Upward penetration: query edges where company_id = current node;
    • Downward penetration: query edges where shareholder_id = current node.

    The base algorithm can use breadth-first or depth-first traversal:

    1. def penetrate(start_id, direction="UP", max_depth=10, min_ratio=0.01):
    2. """
    3. UP: traverse upward from a company to its shareholders
    4. DOWN: traverse downward from a shareholder to invested companies
    5. """
    6. results = {}
    7. stack = [(start_id, 1.0, frozenset([start_id]))]
    8. while stack:
    9. node, ratio, visited = stack.pop()
    10. # Endpoint: natural person, listed company, government entity, etc.
    11. if is_terminal(node):
    12. results[node] = results.get(node, 0.0) + ratio
    13. continue
    14. # Max-depth limit
    15. depth = len(visited) - 1
    16. if depth >= max_depth:
    17. results[node] = results.get(node, 0.0) + ratio
    18. continue
    19. for edge in query_edges(node, direction):
    20. if edge.ratio <= 0:
    21. continue
    22. next_ratio = ratio * edge.ratio
    23. # Ratio-threshold pruning
    24. if next_ratio < min_ratio:
    25. continue
    26. # Cycle detection: target node already in the current path
    27. if edge.neighbor in visited:
    28. mark_cycle(edge)
    29. continue
    30. stack.append(
    31. (edge.neighbor, next_ratio, visited | {edge.neighbor})
    32. )
    33. return results

    In Fan’s case, if min_ratio = 0.01, the 0.07% path may be pruned early. Therefore, if the business needs to account for all economic interests, the threshold should be lowered, or low-ratio paths should be aggregated separately, to avoid losing them directly.

    7. Cross-Shareholding: Identification, Labeling, and Manual Review

    Cross-shareholding can be divided into direct cycles and indirect cycles:

    • Direct cycle: A holds B, and B holds A;
    • Indirect cycle: A → B → C → A.

    Ratios on a cycle are self-referential, so simple layer-by-layer multiplication does not necessarily converge. In engineering, you can:

    1. Detect cycles during traversal and separately label “cross-shareholding exists, manual review required”;
    2. For scenarios explicitly requiring precise interest calculation, use mathematical methods such as matrix inversion, but confirm that data outside the cycle is complete;
    3. For scenarios with a well-defined regulatory definition, truncate by rule and record the truncation point.

    For example, A holds 40% of B, and B holds 20% of A. Simply calculating A’s interest in B yields an approximate interest ratio:

    1. 40% ÷ (1 − 20%) ≈ 50%

    But this does not equal control. This approximate value only reflects interest conversion and cannot replace judgments about the company’s articles of association, shareholder agreements, voting arrangements, and board structure. Whether control exists must be reviewed in combination with the articles of association, partnership agreements, and voting arrangements.

    8. Limited Partnerships: Separate GP and LP Handling

    In a limited partnership, the GP’s capital ratio may be very low but it may hold executive-affairs authority. The LP’s capital ratio may be very high but it usually does not participate in daily operations. Therefore, output separately:

    • Economic interest: calculated by partnership-interest ratio;
    • Control: judged by partnership agreement, GP status, executive-affairs authority, and external representation authority.

    Taking C as an example, A holds 1% of C as GP, and Fan indirectly forms a 0.07% economic interest through A. If A can manage C’s partnership affairs, A may have control over C; if the partnership agreement restricts A’s authority, control cannot be directly determined. The system should display “economic interest” and “control influence” in separate columns, to avoid miswriting the 1% GP interest as a complete control conclusion.

    In Fan’s case, A, B, and C may belong to the same control system. If the system outputs only endpoint shareholders one by one, it may mistakenly treat A, B, and C as unrelated entities, thereby missing the risk of “one controller controlling multiple counterparties.”

    It is recommended to add a related-grouping field to the results:

    • Group by the same ultimate controller;
    • Label relationship types within a group: direct holding, indirect holding, GP control, voting-right delegation, acting-in-concert, etc.;
    • For scenarios such as related-party transactions, anti-money-laundering, and unified credit, prioritize showing within-group relationships rather than isolated entities.

    10. Data Gaps and “Incomplete Penetration”

    Public data is not always complete. Common gaps include:

    • Some shareholders are not disclosed;
    • Historical equity changes are not synchronized;
    • Name changes cause duplicate entity identification;
    • Partnership agreements are not public, so control relationships cannot be confirmed.

    When facing gaps, the system should output an “incomplete penetration” flag and list the missing levels, rather than giving a ratio that looks precise but is actually unreliable. For compliance and risk-control scenarios, this flag is more important than a single nominal ratio.

    11. Performance Optimization: Pruning, Caching, and Incremental Updates

    Equity penetration should not start by pursuing “full recursion.” A more effective approach is to prune first:

    • Cumulative-ratio threshold pruning;
    • Max-depth limit;
    • Terminal-node identification;
    • Visited-path cycle detection;
    • Duplicate-node merging.

    Equity structures are relatively stable but change frequently. You can:

    • Cache results by “company + penetration date”;
    • When an equity-change event is triggered, recompute only the affected subgraph;
    • Precompute high-frequency nodes;
    • Build the full graph offline and handle incremental requests online;
    • Have offline and online share the same algorithm code to avoid definition inconsistency.

    No optimization can sacrifice explainability. Results should carry paths, definitions, thresholds, truncation flags, and data sources.

    12. Cloud Architecture: Selection by Scale

    An equity-penetration system can be split into four layers:

    1. Data layer: object storage saves raw files such as announcements, annual reports, and partnership agreements; a database saves entities, equity edges, and control edges.
    2. Compute layer: a container platform hosts batch jobs; for recursive queries, you can choose a relational-database recursive CTE, a graph database, or distributed graph computing.
    3. Service layer: a unified penetration interface supports querying by company, natural person, direction, and definition.
    4. Governance layer: logs record call sources; monitoring and alerting track query latency, failure rate, and data-update latency.

    Selection recommendations:

    • Small-scale data: prioritize a relational-database recursive CTE, simple and controllable;
    • Medium scale, complex relationships: consider a graph database or graph-computing service;
    • Large scale, multi-layer nesting: adopt distributed graph computing, caching, and offline snapshots;
    • High compliance requirements: add access control, audit logs, data masking, and source traceability.

    The cloud offers general capabilities such as object storage, managed databases, containers, caching, and log monitoring, but specific selection still needs validation against data scale, update frequency, compliance requirements, and acceptance metrics.

    13. Integration with AI Models: Extraction, Validation, Evaluation

    The inputs for equity penetration often come from unstructured text such as announcements, annual reports, and partnership agreements. Large language models can be used for extraction, but must follow “model extraction + rule validation”:

    • The model identifies shareholders, companies, ratios, dates, and roles such as GP, LP, controlling shareholder, and acting-in-concert party;
    • Rule validation checks whether ratios are between 0 and 1, whether dates are reasonable, and whether entity identifiers are unique;
    • Validation failures go to manual review;
    • Each extraction result is attached with source-text snippets and positions to ensure traceability.

    Model selection should not chase version numbers but should build an evaluation set: collect human-labeled samples and periodically compare extraction accuracy, field-completeness rate, hallucination rate, and back-link coverage.

    14. Accuracy Evaluation: How to Prove Penetration Is Correct

    An equity-penetration system needs quantifiable metrics:

    • Endpoint identification accuracy: number of manually confirmed endpoints / number of sampled endpoints;
    • Ratio calculation error: absolute difference between the calculated ratio and the manually reviewed ratio;
    • Cycle identification coverage: number of identified cycle samples / total known cycle samples;
    • Incomplete penetration rate: number of samples with missing levels / total sampled samples.

    Sampling is recommended to use stratified sampling, stratified by industry, region, data risk, and equity complexity. Acceptance thresholds can be set by business, for example:

    • Endpoint identification accuracy no less than 95%;
    • Ratio calculation error no more than 0.5 percentage points;
    • Cycle identification coverage no less than 90%;
    • Incomplete penetration rate no more than 5%.

    Misclassified samples should flow back into the evaluation set, forming a continuous-optimization loop.

    15. Conclusion

    The essence of equity penetration is to perform recursive calculation on a graph with node types, temporal versions, and special control flags, in a way that has clear definitions, explainable paths, and identifiable cycles. Three things are key to engineering implementation:

    • Complete modeling: whether nodes, edges, temporality, endpoints, and control edges are complete;
    • Definition separation: whether the summation definition and the control definition are output separately;
    • Explainable results: whether paths, thresholds, truncation, missing-flags, and data sources are retained.

    Only by getting these three right can equity penetration be upgraded from “querying a shareholder list” to “answering true economic interest and ultimate control,” and become trusted infrastructure in compliance and risk control, investment research, and group management.