Equity Look-through Analysis with Large Language Models: A Technical Implementation Path

    This article explains how to implement equity look-through analysis for large language model companies, where ownership structures are deep, branching, and full of cross-holdings. It covers the core concepts, multi-source data governance, directed weighted graph modeling, recursive calculation with cycle handling, result interpretation, and engineering practices for performance and observability, along with common pitfalls to avoid.

    1. Problem Definition: What Is Equity Look-through?

    Equity look-through means expanding ownership relationships layer by layer, either top-down or bottom-up, until you reach the ultimate natural persons, state-owned entities, or public shareholders. The goal is to answer “who actually controls this company, and to what extent.” In industries like large language models, where R&D cycles are long, funding rounds are dense, and option pools and employee shareholding platforms are numerous, ownership structures typically show three traits: deep hierarchies, many branches, and cross-holdings. This means the analysis cannot be done by manually scanning spreadsheets; it must be modeled as a recursive computation on a graph.

    Three foundational concepts need to be clarified first:

    • Direct ownership percentage: a registered edge, for example, A holds 30% of B.
    • Look-through ownership percentage: the combined equity after summing across all paths, accounting for path products and multi-path summation.
    • Control: a concept related to but not equivalent to ownership percentage, usually requiring additional factors such as acting-in-concert agreements, voting rights delegation, and board seats.

    2. Data Layer: Collecting and Governing Multi-source Information

    The accuracy ceiling of look-through analysis is determined by data quality. Available information typically includes business registration records, shareholder registers, outbound investment records, public disclosures of actual controllers, and bidding and annual report disclosures. In engineering, a layered approach is recommended:

    1. Ingestion layer: land structured tables and semi-structured documents in object storage, keeping original files unchanged for traceability.
    2. Parsing layer: perform layout analysis and field extraction on document materials, outputting “entity—shareholder—percentage—date” four-tuples.
    3. Standardization layer: unify entity identifiers. Company names have abbreviations, former names, typos, and full-width versus half-width parenthesis differences, so they must be mapped to a unique entity ID.
    4. Quality layer: set validation rules, for example, whether the percentages for the same entity on the same date sum to close to 100%; conflicting records go into a manual review queue.

    Illustrative normalization logic:

    1. def normalize_entity(raw_name, alias_table):
    2. key = raw_name.strip().replace("(", "(").replace(")", ")")
    3. return alias_table.get(key, key)
    4. def validate(edges):
    5. # Direct percentages for the same invested entity at the same point in time should sum to close to 1
    6. agg = {}
    7. for e in edges:
    8. agg[(e.target, e.date)] = agg.get((e.target, e.date), 0) + e.ratio
    9. return {k: v for k, v in agg.items() if abs(v - 1.0) > 0.02}

    3. Modeling Layer: Representing Ownership as a Directed Weighted Graph

    Abstract each entity as a node and each ownership relationship as a directed edge, with the edge weight being the ownership percentage (expressed as a decimal between 0 and 1). Node attributes should retain entity type (natural person, enterprise, shareholding platform, government entity), place of registration, and year of establishment; edge attributes should retain registration date and data source, because ownership changes over time and queries must support “slicing by a given point in time.”

    Here is an often-overlooked engineering detail: historical versions should be retained rather than storing only the latest state. After a funding round, existing shareholders’ equity is diluted. If only the current snapshot is kept, you cannot answer “what the control relationships were before the previous round.”

    4. Algorithm Layer: Recursive Look-through and Cycle Handling

    The core of look-through is multi-path summation. Let P(t) be the look-through percentage of node t, then:

    1. P(t) = Σ_over_parents( P(p) × w(p → t) )

    The termination condition is reaching a leaf node (a natural person or an entity that is no longer traced upward). A memoized depth-first traversal is recommended, while maintaining the current path set for cycle detection:

    1. def look_through(node, memo, visiting, edges, acc=1.0, out=None):
    2. if node in visiting: # cross-holding cycle detected
    3. return
    4. if node in memo:
    5. accumulate(out, node, acc * memo[node]); return
    6. parents = edges.get(node, [])
    7. if not parents:
    8. accumulate(out, node, acc); return
    9. visiting.add(node)
    10. for p, w in parents:
    11. look_through(p, memo, visiting, edges, acc * w, out)
    12. visiting.remove(node)

    There are three cycle-handling strategies; pick one according to the business definition and document it. First, truncation: stop when a node already in the path is encountered, which yields conservative results. Second, proportional allocation: distribute equity within the cycle by an agreed coefficient. Third, flag it as a “structural anomaly” and emit an alert for manual judgment. Whichever is chosen, results must be reproducible on the same dataset.

    5. Result Layer: From Percentages to Conclusions

    After look-through is complete, the output usually contains three parts: a list of ultimate beneficiaries with their look-through percentages, the longest control chain, and concentration metrics. Concentration can be measured by the sum of equity shares of the top few beneficiaries, used to quickly determine whether a “single entity has actual control.” To assess control rather than just beneficial ownership, acting-in-concert relationships should be added to the graph as additional “virtual edges,” and clearly labeled in the results.

    6. Engineering: Performance and Operability

    When the graph reaches millions of edges, single-machine recursion hits two bottlenecks: repeated computation and call-stack pressure from deep paths. Possible approaches include: splitting subgraphs by weakly connected components for parallel computation; replacing recursion with an iterative stack; and materializing and reusing results for hot subgraphs. For scheduling, orchestrate ingestion, parsing, and computation into a periodic pipeline, automatically retry failed tasks, and bind each run’s data version to its result version for auditing. On Baidu AI Cloud, this kind of architecture typically uses object storage for raw and result data, a container platform for parsing and computation tasks, a message queue for task distribution, and logging and monitoring services for observability. These are general-purpose capabilities that can be tailored to your own scale.

    7. Common Pitfalls

    • Calculating only direct ownership while ignoring multi-layer nesting, leading to seriously distorted conclusions.
    • Failing to handle same-name different entities and former names, merging two companies into one node.
    • Ignoring the time dimension, using today’s conclusion to answer a historical question.
    • Mixing percentage definitions, conflating “subscribed” with “paid-in,” or “voting rights percentage” with “beneficial ownership percentage.”
    • No cycle detection, so the program silently returns incorrect results without alerting.

    In summary, equity look-through is essentially a “multi-path summation on a graph with a time dimension.” Only by doing data governance, graph modeling, recursive algorithms, and observability well can the conclusions be explainable and auditable.