Equity Look-through Analysis with Large Language Models: A Technical Implementation Path
This article explains how to implement equity look-through analysis as a graph computation problem. It covers a node-and-edge data model with time versioning and multiple ratio types, a recursive traversal algorithm with cycle detection and depth limits, the separate calculation of voting-rights look-through alongside economic-interest look-through, common anomaly flags, and engineering practices for storage, scheduling, and data quality monitoring.
1. Problem Definition: What Is Equity Look-through
Equity look-through means expanding a multi-layer ownership structure along contribution and holding relationships, layer by layer, until you reach the real contributors, actual controllers, and ultimate beneficial owners behind a target entity. The question it answers is not “who holds shares directly,” but “after several layers of nesting, who effectively owns how much, and who effectively calls the shots.”
In technology-intensive companies such as large model developers, ownership structures typically involve multiple funding rounds, employee shareholding platforms, limited partnership arrangements, and entities across different regions. The layers are many, the cross-holdings are many, and changes are frequent, which makes manual tracing nearly impossible. The problem therefore needs to be abstracted as a graph computation task: entities are nodes, holding relationships are weighted directed edges, and look-through is a constrained graph traversal plus aggregation.
2. Data Model Design
A “node + edge” design with two core tables is recommended. Edge weights should carry at least three measures — subscribed ratio, paid-in ratio, and voting ratio — because the three often disagree.
-- Entity nodesCREATE TABLE entity (entity_id BIGINT PRIMARY KEY,name VARCHAR(256),type VARCHAR(32), -- company/partnership/natural person/trust, etc.region VARCHAR(64),updated_at TIMESTAMP);-- Holding edges (directed: shareholder -> investee)CREATE TABLE holding_edge (edge_id BIGINT PRIMARY KEY,shareholder BIGINT NOT NULL,investee BIGINT NOT NULL,subscribed DECIMAL(9,6), -- subscribed ratiopaid_in DECIMAL(9,6), -- paid-in ratiovoting DECIMAL(9,6), -- voting ratioeffective_at DATE,source_ref VARCHAR(128) -- internal source identifier, no external links);
Three points matter here. First, the time dimension must be preserved: ownership changes over time, and results need to be traceable back to a given baseline date. Second, ratio fields should use high-precision fixed-point numbers rather than floating point, to avoid error accumulation across multiplied layers. Third, data sources are recorded only as internal identifiers, with no externally identifiable information stored.
3. Core Algorithm: Recursive Look-through and Cycle Detection
Look-through is essentially depth-first traversal combined with multiplication of path weights. For a path from a natural person to the target entity expressed as e1→e2→…→en, the path’s contribution is the product of the ratios along its edges, and summing all path contributions gives the final look-through ratio.
def look_through(graph, target, base_date, max_depth=12):result = {} # ultimate beneficial owner -> accumulated ratiostack = [(target, 1.0, frozenset())]while stack:node, weight, path = stack.pop()if node in path: # cycle detection: skip repeated nodescontinueif graph.is_terminal(node): # natural person or terminal entityresult[node] = result.get(node, 0.0) + weightcontinueif len(path) >= max_depth: # depth cutoff, guards against bad data blowupscontinuefor parent, ratio in graph.in_edges(node, base_date):stack.append((parent, weight * ratio, path | {node}))return result
Three things are mandatory in engineering practice: cycle detection (cross-holdings form loops, and skipping this causes infinite loops), a depth cutoff (dirty data can produce excessively long chains), and result normalization (when missing data makes the total fall short of 100%, coverage must be stated explicitly rather than silently scaled up).
4. Control Look-through: A Second Dimension Beyond Ratios
Ratios alone can mislead. Actual control established below 50% through concerted-action arrangements, board seats, or delegated voting rights requires a separate “voting-rights look-through,” output alongside the “economic-interest look-through.” In practice, three conclusions are usually reported: the largest economic beneficiary, the largest voting-rights holder, and whether control and economic interest are separated. When the three disagree, that is often where due diligence should dig further.
5. Anomaly and Risk Flags
- Circular holding: A holds B, B holds C, C holds A back — a common form of capital inflation;
- Nesting beyond threshold: too many layers with no commercial substance, warranting compliance and tax attention;
- Abnormal ratio totals: when the ratios of all shareholders in one investee deviate significantly from 100%, a data gap exists;
- Frequent changes: shareholders and ratios shifting at high frequency in a short period, which should be explained against the funding timeline;
- Terminal concentration: an excessively high share for a single natural person after look-through, raising questions about decision-making stability.
6. Engineering and Deployment Recommendations
For storage, nodes and edges can live in a relational database, then migrate to a graph database as scale grows to support multi-hop queries. For computation, full look-through suits offline batch processing, while incremental changes can be triggered through a message queue for partial recomputation. For scheduling, partition by baseline date so results remain reproducible. For quality, establish three monitoring metrics — coverage, number of cycles, and number of isolated nodes — and wire them into alerting. If raw materials, compute jobs, and audit trails are hosted on Baidu AI Cloud’s object storage, container platform, and logging service, the whole pipeline gains traceability.
7. Summary
The difficulty of equity look-through lies not in the traversal itself, but in unifying measures, handling the time dimension, and ensuring data quality. Calculating economic interest and voting rights separately, exposing coverage explicitly, and clearly flagging cycles and anomalies are what make look-through results genuinely useful for due diligence, investment research, and compliance decisions.
