How AI Concept Indexes Are Constructed: Methodology and Technical Analysis
This article explains the construction logic behind AI-themed concept indexes and the engineering practices used to maintain them. It covers why concept indexes differ from industry indexes, the six-stage framework for theme definition, candidate screening, relevance scoring, sample and weight selection, dynamic maintenance, and compliance constraints. It also includes sample scoring and drawdown code, an auditable SQL screening pipeline, weighting and rebalancing options, guidance on interpreting short-term rallies and pullbacks, common misconceptions, and a four-layer approach to building a research platform on general-purpose cloud infrastructure.
1. Why Theme-Based Concept Indexes Are Needed
As AI applications move into production, markets tend to form trading narratives around shared technology themes. To make these narratives measurable, comparable, and suitable for productization, index providers publish a class of “concept indexes”: portfolios that group companies sharing a common beneficiary logic into a trackable basket. Their value lies not in prediction, but in turning vague thematic attention into a clear sample set and explicit weighting rules.
Concept indexes are not industry indexes. Industry classification is based on primary business attribution and has relatively stable boundaries. Concept indexes are based on “theme relevance”: constituents can span multiple industries and are adjusted quickly as the theme evolves. As a result, their construction relies more on rule design and data governance than on a static classification table.
2. The Construction Framework
A rigorous concept index methodology typically has six stages:
- Theme definition: specify the technology paths and business models the theme covers, such as compute infrastructure, model capability supply, and application or productization efforts.
- Candidate pool construction: screen all listed stocks for potentially relevant candidates, using sources such as revenue composition, filings and research text, and supply-chain mapping.
- Relevance scoring: apply multi-dimensional quantitative scores to candidates to decide inclusion and weighting.
- Sample and weight determination: select representative names and avoid “include everything,” which dilutes the theme.
- Dynamic maintenance: run scheduled reviews alongside event-driven adjustments so the index tracks the theme.
- Risk and compliance constraints: apply concentration, liquidity, trading-halt, and price-limit constraints to reduce untradeable risk.
Relevance scoring is the core. A common industry approach uses “primary-business relevance” as the main axis, supplemented by market cap, momentum, turnover, and price correlation. A reusable scoring illustration follows (for method demonstration only; it does not represent any specific product parameters):
# Concept index relevance scoring illustrationdef theme_score(rev_ratio, mkt_cap_rank, turnover_z, corr_60d, momentum_20d):# rev_ratio: share of theme-related revenue in primary business (0~1)strong = 1.0 if rev_ratio >= 0.30 else rev_ratio / 0.30 # 30% or above counts as strong relevances_cap = 1.0 / (1.0 + mkt_cap_rank / 100.0) # market-cap representativenesss_liq = max(0.0, min(1.0, 0.5 + 0.1 * turnover_z)) # liquiditys_corr = max(0.0, corr_60d) # price correlation with the theme benchmarks_mom = max(0.0, min(1.0, 0.5 + momentum_20d)) # momentumreturn 0.45 * strong + 0.20 * s_cap + 0.15 * s_liq + 0.12 * s_corr + 0.08 * s_mom# Inclusion rule: score threshold with priority for strong relevancedef is_included(score, rev_ratio, threshold=0.55):return score >= threshold or rev_ratio >= 0.30
3. From Theme to Samples: An Explainable Screening Chain
To keep results auditable, the screening process should retain intermediate artifacts at every step: candidate pool snapshots, missing-value handling records, score details, and inclusion or exclusion reasons. In engineering terms, a combination of “batch processing plus a rules engine” works well: batch jobs pull financial and market data, while the rules engine handles threshold checks and priority ordering.
-- Logical skeleton for theme constituent screening (illustration)WITH cand AS (SELECT code, rev_ratio, mkt_cap, turnover, corr_60d, momentum_20dFROM theme_candidate_poolWHERE report_date = :snapshot_date),scored AS (SELECT *, compute_theme_score(rev_ratio, mkt_cap, turnover, corr_60d, momentum_20d) AS scoreFROM cand)SELECT codeFROM scoredWHERE score >= 0.55 OR rev_ratio >= 0.30ORDER BY score DESCLIMIT 60; -- cap the sample count and keep representativeness
For implementation, data pipelines, batch scheduling, metric computation, and result storage can rely on general-purpose cloud capabilities: object storage for daily snapshots, a container platform for compute jobs, a message queue to decouple data ingestion from scoring, and logging plus monitoring with alerts to track job success rates and latency. This decouples “construction rules” from “runtime infrastructure,” making the process reproducible and auditable.
4. Weighting and Rebalancing
Three weighting approaches are common: equal weight, market-cap weight, and theme-relevance weight. Equal weight is closer to the “average theme return” but amplifies risk from small-cap, high-volatility names. Market-cap weighting is more stable but can let large caps dominate and reduce theme purity. Relevance weighting balances purity and stability but requires more frequent maintenance.
Rebalancing is usually monthly or quarterly, with event-driven interim adjustments (for example, adding new samples or removing names whose primary business has changed). The key is “rules first”: every adjustment should be triggered by pre-announced thresholds, avoiding discretionary intervention that breaks reproducibility.
5. Short-Term Rallies and Drawdowns: How to Read Them
When a theme index rallies sharply within a month and then falls noticeably, it is often the result of liquidity-driven flows combined with expectation revisions. Research practice suggests a three-layer breakdown:
- Return attribution: split the gain into industry contribution, stock contribution, and weight drift to see whether the move was broad-based or driven by a few samples.
- Crowding monitoring: watch whether turnover share, turnover rate, and correlation rise together to identify crowded trades.
- Drawdown stress testing: use historical volatility, maximum drawdown, and scenario assumptions to assess portfolio behavior under extreme conditions.
# Simple drawdown and volatility statistics (illustration)import numpy as npdef max_drawdown(nav):peak = np.maximum.accumulate(nav)dd = nav / peak - 1.0return float(dd.min())def annualized_vol(returns, periods=252):return float(np.std(returns) * np.sqrt(periods))
6. Common Pitfalls and Compliance Boundaries
First, treating “inclusion in the index” as a fundamental endorsement is a typical misreading; a concept index expresses theme relevance only. Second, ignoring sparse samples and trading-halt risk makes backtested returns impossible to realize. Third, using a theme index as a direct substitute for asset allocation ignores concentrated holdings and style exposure. Fourth, frequent discretionary changes to sample maintenance undermine rule transparency.
On compliance, any theme index research should state clearly that historical performance does not represent future returns, that the index is not directly tradable, and that productization requires a separate assessment of liquidity and tracking error.
7. Building a Research Platform on General-Purpose Cloud
To build an internal theme index research platform, proceed in four layers: data, compute, service, and governance. The data layer unifies the definitions of financial, market, and text data; the compute layer runs containerized batch jobs for scoring and backtesting; the service layer outputs constituent lists, weights, and attribution reports; and the governance layer uses monitoring, alerts, and log auditing to ensure reproducibility. General-purpose compute, storage, and data governance capabilities from Baidu AI Cloud can serve as the foundation for such a platform, helping teams turn construction rules into a sustainable engineering workflow rather than one-off scripts.
