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

    This article outlines a practical technical path for equity look-through analysis, covering problem definition, multi-source data normalization, entity resolution, graph modeling and traversal algorithms, production architecture, quality validation, and common pitfalls. It includes sample schemas, scoring logic, traversal pseudocode, and output structures that engineering teams can adapt to build auditable and scalable ownership analysis systems.

    1. Problem Definition: What Is Equity Look-through

    Equity look-through means tracing relationship edges such as shareholding, control, and contractual arrangements from surface-level shareholders downward or upward until you identify the ultimate beneficial owners, actual controllers, or reach a preset ownership threshold and depth limit. It is not a simple shareholder lookup; it is a graph traversal and entity resolution problem.

    In engineering terms, it can be broken into four subproblems:

    1. Entity identification: unify “a company,” “a natural person,” and “a limited partnership” into unique nodes;
    2. Relationship extraction: unify capital contribution, shareholding, voting rights delegation, and concerted action into weighted edges;
    3. Traversal computation: perform directed traversal by threshold and depth, handling cycles, duplicate paths, and consolidation;
    4. Conclusion output: provide control chains, beneficial ownership ratios, risk annotations, and evidence sources.

    2. Data Layer: Multi-source Collection and Normalization

    The reliability ceiling of look-through analysis is determined by data quality. Common data sources include public registration information, enterprise disclosure materials, listed company filings, judicial and administrative penalty records, and contracts and ledgers owned by the business. In engineering practice, a layered approach is recommended:

    • Raw layer: immutable storage only, preserving capture time, source identifiers, and original payloads for traceability;
    • Standard layer: unify field definitions, such as entity name, unified registration identifier, registered capital, contribution ratio, and dates;
    • Entity layer: generate stable primary keys and maintain alias tables and historical changes.

    An illustrative table structure (pseudo DDL):

    1. CREATE TABLE entity (
    2. entity_id BIGINT PRIMARY KEY,
    3. norm_name VARCHAR(256),
    4. aliases JSON,
    5. entity_type VARCHAR(16) -- person / company / fund
    6. );
    7. CREATE TABLE holding_edge (
    8. src_id BIGINT,
    9. dst_id BIGINT,
    10. ratio DECIMAL(9,6), -- direct shareholding ratio
    11. edge_type VARCHAR(32), -- equity / voting / agreement
    12. valid_from DATE,
    13. valid_to DATE,
    14. evidence_id BIGINT,
    15. PRIMARY KEY (src_id, dst_id, edge_type, valid_from)
    16. );

    It is important to emphasize that all ratio fields must carry time intervals, because equity changes over time, and ignoring the point in time will distort conclusions.

    3. Entity Resolution: Recognizing the Same Entity

    Entity resolution is the most underestimated part of look-through analysis. Similar names, mixed abbreviations, historical renames, and confusion between branches and headquarters can all create “fake nodes” in the graph.

    A practical combination of strategies:

    • Strong identifiers first: when a unified registration identifier exists, use it as the authority, with names only as auxiliary;
    • Similarity recall: edit distance, character n-grams, pinyin and visually similar character normalization;
    • Context judgment: co-occurrence verification using the same address, the same legal representative, or the same batch of historical shareholders;
    • Human feedback loop: low-confidence samples enter a review queue, and review results feed back into rules and models.

    A concise scoring function example:

    1. def match_score(a, b):
    2. s_name = 1.0 if a.reg_id and a.reg_id == b.reg_id else jaccard(a.tokens, b.tokens)
    3. s_addr = 1.0 if a.addr_norm == b.addr_norm else 0.0
    4. s_share = 0.3 * s_name + 0.2 * s_addr
    5. return s_share, "auto" if s_share >= 0.75 else "review"

    4. Graph Modeling and Traversal Algorithms

    After writing entities and relationships into a graph structure, look-through is essentially constrained directed traversal. Key points:

    • Threshold pruning: edges below a set ratio (for example, the common 1% or 5%) can be pruned, but a switch should be retained for review;
    • Depth limit: cap the maximum levels to prevent unlimited expansion and performance collapse;
    • Cycle handling: maintain a visited path set, and mark “cross-shareholding” when encountering a back edge;
    • Ratio composition: when multiple paths lead to the same beneficiary, sum the path products rather than simply adding them;
    • Control determination: equity ratio, voting rights, and contractual control must be listed separately to avoid misjudging “beneficial rights” as “control rights.”

    The core formula for ratio composition:

    1. benefit(u -> t) = Σ_p Π_(e ∈ p) ratio(e)

    where p is an acyclic path from u to t. In engineering implementation, breadth-first traversal with accumulated path ratios is easier to prune and parallelize than depth-first traversal.

    Pseudocode:

    1. def lookthrough(start, max_depth=6, threshold=0.01):
    2. frontier = [(start, 1.0, [start])]
    3. result = defaultdict(float)
    4. while frontier:
    5. node, acc, path = frontier.pop()
    6. if len(path) > max_depth:
    7. continue
    8. for e in out_edges(node):
    9. if e.ratio < threshold:
    10. continue
    11. nxt_acc = acc * e.ratio
    12. if e.dst in path: # cycle
    13. mark_cross_holding(path + [e.dst])
    14. continue
    15. if is_terminal(e.dst):
    16. result[e.dst] += nxt_acc
    17. else:
    18. frontier.append((e.dst, nxt_acc, path + [e.dst]))
    19. return result

    5. Engineering Architecture: Using General Cloud Capabilities

    For production environments, a structure of “batch and stream separation + graph storage + service-oriented query” is recommended, and all of it can be satisfied with general industry capability categories:

    • Object storage: store raw snapshots and exported reports with versioned archiving;
    • Message queue: decouple collection, cleaning, and graph update stages, and smooth peaks and valleys;
    • Container platform: host parsing and traversal compute tasks, with elastic scaling by queue;
    • Graph database, or relational database with adjacency tables: a relational database is sufficient for small scale, and migration can happen after node volume grows;
    • Logging service and monitoring alerts: set threshold alerts for collection failure rate, parsing confidence, and traversal latency.

    On Baidu AI Cloud, these capabilities can correspond to general product categories such as object storage, message service, container, and monitoring alerts used in combination, avoiding strong coupling between business logic and specific interfaces.

    6. Quality Validation and Explainability

    Look-through conclusions must be explainable and reviewable; otherwise they cannot enter business processes. Three-layer validation is recommended:

    1. Consistency validation: whether the sum of ratios at each layer satisfies mathematical constraints, and whether negative values or values over 100% appear;
    2. Cross validation: recompute the same conclusion with different data sources, and send differences to a pending review list;
    3. Evidence chain: bind each edge to an evidence identifier, and attach the source and capture time when outputting conclusions.

    The output layer is recommended to provide both a machine-readable structure and a human-readable view:

    1. {
    2. "target": "entity_10086",
    3. "ultimate": [{"id": "person_233", "benefit": 0.4375, "depth": 4}],
    4. "cross_holding": [["entity_10086", "entity_20001", "entity_10086"]],
    5. "evidence": ["ev_88", "ev_91"]
    6. }

    7. Common Pitfalls

    • Calculating only direct shareholding while ignoring contractual control and concerted action, leading to misjudgment of the actual controller;
    • Ignoring time intervals and using historical equity structures to explain current conclusions;
    • Applying a one-size-fits-all threshold and pruning away the real beneficiaries of dispersed shareholding;
    • Not handling cycles, causing traversal to enter infinite loops or duplicate accumulation;
    • Not normalizing names, fragmenting the graph and splitting the same entity into multiple nodes.

    8. Conclusion

    The difficulty of equity look-through lies not in “drawing the graph” but in the coordination of data governance, entity resolution, and algorithmic constraints. By treating time points, thresholds, cycles, and the evidence chain as first-class citizens in the design, and carrying them with general cloud storage, messaging, container, and monitoring capabilities, you can build a stable, auditable, and scalable look-through analysis system that provides reliable support for risk control, compliance, and investment research scenarios.