THEME: Enhancing Thematic Investing with Semantic Stock Representations and Temporal Dynamics
Abstract
Thematic investing, which aims to construct portfolios aligned with structural trends, remains a challenging endeavor due to overlapping sector boundaries and evolving market dynamics. A promising direction is to build semantic representations of investment themes from textual data. However, despite their power, general-purpose LLM embedding models are not well-suited to capture the nuanced characteristics of financial assets, since the semantic representation of investment assets may differ fundamentally from that of general financial text. To address this, we introduce THEME, a framework that fine-tunes embeddings using hierarchical contrastive learning. THEME aligns themes and their constituent stocks using their hierarchical relationship, and subsequently refines these embeddings by incorporating stock returns. This process yields representations effective for retrieving thematically aligned assets with strong return potential. Empirical results demonstrate that THEME excels in two key areas. For thematic asset retrieval, it significantly outperforms leading large language models. Furthermore, its constructed portfolios demonstrate compelling performance. By jointly modeling thematic relationships from text and market dynamics from returns, THEME generates stock embeddings specifically tailored for a wide range of practical investment applications.
Cite
@article{arxiv.2508.16936,
title = {THEME: Enhancing Thematic Investing with Semantic Stock Representations and Temporal Dynamics},
author = {Hoyoung Lee and Wonbin Ahn and Suhwan Park and Jaehoon Lee and Minjae Kim and Sungdong Yoo and Taeyoon Lim and Woohyung Lim and Yongjae Lee},
journal= {arXiv preprint arXiv:2508.16936},
year = {2025}
}
Comments
Accepted at ACM International Conference on Information and Knowledge Management (CIKM)