Technical Implementation of Equity Penetration Analysis for Large Language Model Companies

    This article outlines a technical approach to equity penetration analysis for large language model (LLM) companies, whose ownership structures typically involve multiple funding rounds, employee shareholding platforms, and cross-regional entities. It covers the three computable questions behind penetration analysis, multi-source data collection and entity resolution, graph modeling with time-aware edges, recursive ownership calculation with cycle handling, control determination beyond equity ratios, incremental and temporal computation, production observability, and common pitfalls with acceptance criteria. Readers will find practical code examples and evaluation guidance for building a traceable, explainable penetration capability.

    1. Problem Definition: Why Equity Penetration Matters More in the LLM Industry

    Large model companies typically feature a structure of multiple private funding rounds, employee shareholding platforms, and cross-regional entities, with ownership chains often nested five to seven layers deep. Equity penetration is not about drawing a simple org chart. It must answer three computable questions:

    1. What is the ultimate equity ratio a natural person holds in the target company?
    2. Which entities form a concerted-action relationship and therefore actually control the target company?
    3. Over what time window has this control relationship changed?

    The third question is the most easily overlooked, yet it is often the most critical in due diligence and compliance scenarios. LLM companies raise capital quickly, and a single capital increase can push the actual controlling ratio across a key threshold. Equity penetration must therefore be an incremental calculation with a time dimension, not a one-time snapshot.

    2. Data Layer: Collecting and Normalizing Multi-Source, Heterogeneous Information

    Raw equity information is highly fragmented. Common sources include publicly disclosed funding information, business registration disclosures, prospectuses and annual reports, public judicial and bidding documents, and internal ledgers provided by the company itself. In engineering practice, a three-layer design is recommended:

    • Collection layer: use scheduled pulls for structured interfaces and layout parsing for unstructured documents, preserving page numbers and coordinates for later traceability;
    • Normalization layer: unify entity identifiers and handle abbreviations, full names, historical renamings, and unified social credit code changes for the same entity;
    • Storage layer: place original documents in object storage with version retention, and write parsing results into a graph database to form an evidence chain traceable back to the source text.

    Entity disambiguation is the largest cost item in the data layer. The recommended approach is “strong identifiers first, weak features as fallback”:

    1. def resolve_entity(candidate, index):
    2. # Match strong identifiers directly to avoid incorrect merging
    3. if candidate.uscc and candidate.uscc in index.uscc_map:
    4. return index.uscc_map[candidate.uscc]
    5. # Weak-feature scoring: name similarity + address + historical association
    6. scores = []
    7. for node in index.candidates(candidate.name):
    8. s = 0.0
    9. s += 0.6 * name_similarity(candidate.name, node.name)
    10. s += 0.25 * address_similarity(candidate.addr, node.addr)
    11. s += 0.15 * prior_edge_strength(candidate, node)
    12. scores.append((s, node))
    13. scores.sort(reverse=True)
    14. return scores[0][1] if scores and scores[0][0] > THRESHOLD else index.create(candidate)

    The threshold should not be set too low; otherwise, entities with the same name but different identities will be incorrectly merged, and such errors are amplified across several layers in penetration results.

    3. Graph Modeling: Nodes, Edges, and Attribute Design

    A directed weighted graph is recommended. Nodes fall into four categories: natural persons, legal entities, shareholding platforms, and funds. Edges represent shareholding relationships. Edge attributes should include at least: shareholding ratio, subscribed versus paid-in basis, registration time, change time, and source document identifier.

    1. // Create a shareholding edge with time attributes
    2. MERGE (a:Entity {id: $holder})
    3. MERGE (b:Entity {id: $target})
    4. MERGE (a)-[r:HOLDS]->(b)
    5. SET r.ratio = $ratio,
    6. r.effective_from = $from_date,
    7. r.source = $doc_id

    Special attention is needed for the difference between subscribed and paid-in capital. The subscribed ratio determines the nominal shareholding in business registration, while the paid-in ratio is closer to the actual contribution. The two can yield different control conclusions, so both must be retained on the edge, and the basis adopted must be stated explicitly in the conclusion.

    4. Penetration Algorithm: From Recursive Multiplication to Cycle Handling

    The most straightforward approach is to multiply along each path and sum the equity across all paths from a natural person to the target company:

    1. def ultimate_ownership(graph, person, target, max_depth=10):
    2. total = 0.0
    3. stack = [(person, 1.0, 0, {person})]
    4. while stack:
    5. node, acc, depth, visited = stack.pop()
    6. if node == target:
    7. total += acc
    8. continue
    9. if depth >= max_depth:
    10. continue
    11. for nxt, edge in graph.out_edges(node):
    12. if nxt in visited: # cycle protection
    13. continue
    14. stack.append((nxt, acc * edge.ratio, depth + 1, visited | {nxt}))
    15. return total

    Three engineering optimizations are worth implementing:

    • Cycle detection: cross-shareholding is not uncommon in practice, so a visited set or preprocessing with Tarjan’s strongly connected components is required to avoid infinite recursion;
    • Memoization: cache results for the same (node, target) subproblem, which significantly improves performance in deeply nested scenarios;
    • Threshold pruning: when the multiplied result is already below 1e-6, terminate that branch early, as it has no material impact on the final conclusion.

    5. Control Determination: Beyond Ratios, Agreements Also Matter

    Looking only at equity ratios leads to misjudgment. Determining actual control usually requires layering three additional factors: special arrangements that separate voting rights from economic rights, board seat nomination rights, and concerted-action agreements. An explainable weighted model can express this:

    1. control_score = w1 * voting_ratio
    2. + w2 * board_seat_share
    3. + w3 * agreement_flag
    4. + w4 * veto_right_flag

    Weights should be determined jointly by the business side and legal counsel, not decided unilaterally by the algorithm side. The model output must include the contribution value of each term, making conclusions explainable and reviewable.

    6. Incremental and Temporal Computation

    Treat each change as an event with an effective time, and take a graph snapshot at a given point in time when querying. This answers questions such as “who crossed the 30% threshold after a given funding round.” In implementation, add effective and expiration times to edges and filter by time interval during queries. For large data volumes, precompute snapshots bucketed by time, trading space for query latency.

    7. Engineering and Observability

    Production systems are best deployed in containers, with graph computation tasks separated from parsing tasks and decoupled through a message queue. The full pipeline needs three types of observability metrics: parsing success rate, manual review rate for disambiguation, and penetration computation latency distribution. Connect these to logging services and monitoring alerts, and set threshold alerts for anomalies such as a sharp drop in parsing success rate. Model and rule versions should be brought under configuration management to ensure any historical conclusion can be reproduced.

    8. Common Pitfalls and Acceptance Recommendations

    • Same-name merging errors are amplified across layers; always retain a manual review entry point;
    • Ignoring the managing partner in a limited partnership leads to control misjudgment;
    • Calculating only direct shareholding without handling multi-layer nesting;
    • Lacking a time dimension, making it impossible to answer historical point-in-time questions.

    For acceptance, build a small manually annotated dataset and evaluate it with three metrics: absolute error in equity ratio, accuracy of control relationship determination, and the proportion of conclusions that are traceable. Also require that every conclusion can jump to its supporting source text in one click. Meeting these three points turns equity penetration from a chart into a trustworthy computation capability.