Abstract
Similarity modeling in Heterogeneous Information Networks (HINs) has traditionally relied on manually defined "meta-paths" to capture structural relationships. However, this approach suffers from a combinatorial explosion of possible paths and often ignores rich node-level content. This paper introduces AutoPath, a novel framework that utilizes reinforcement learning to automatically discover informative paths between nodes. By integrating these paths with deep content embeddings via conjugate autoencoders, AutoPath captures both the structural "who-knows-who" and the attribute-rich "what-is-it" aspects of complex data. Experimental results on IMDb, DBLP, and Yelp datasets demonstrate that AutoPath significantly outperforms existing state-of-the-art methods in similarity modeling tasks.
Introduction
Heterogeneous Information Networks (HINs) are essential for modeling real-world data with multiple types of entities and relationships. For example, a network like Yelp contains users, businesses, locations, and categories. To determine similarity between nodes, researchers have traditionally used meta-paths—predefined sequences of node types like "User-Business-User."
Despite their utility, meta-paths face two significant challenges. First, the search space for meta-paths grows exponentially with path length, making manual selection or exhaustive search computationally prohibitive. Second, structural paths alone ignore node-specific content; two identical meta-paths may represent very different semantic relationships if the underlying node attributes (e.g., business reviews or user demographics) differ significantly.
Methodology: The AutoPath Framework
AutoPath addresses these challenges through a semi-supervised joint learning framework that combines structural exploration with content understanding.
Path Discovery via Reinforcement Learning
Instead of relying on fixed meta-paths, an RL agent is trained to "walk" the network to find paths between similar node pairs. To manage the massive number of nodes in large-scale HINs, AutoPath employs a continuous policy gradient. Rather than selecting a discrete node at each step, the agent chooses a point in a continuous embedding space and moves to the nearest neighbor node, ensuring efficiency as the network scales.
Deep Content Embedding via Conjugate Autoencoders
To incorporate node-level attributes, the framework utilizes Conjugate Autoencoders. This architecture features shared layers to capture general network features and type-specific layers tailored to the unique attributes of different node types (e.g., text for movies vs. professional metadata for authors).
Joint Training
The RL agent and the autoencoder are trained in a closed loop. The unsupervised autoencoder provides the embeddings that guide the RL agent's navigation, while the supervised RL task provides feedback that helps refine the embeddings to be more discriminative for similarity tasks.
Experimental Evaluation
The model was evaluated on three diverse datasets: IMDb (45k nodes), DBLP (335k nodes), and Yelp (1.1M nodes).
Key Results
AutoPath consistently outperformed state-of-the-art baselines such as Metapath2vec and ESim. On the DBLP dataset, AutoPath achieved an AUC of 0.840, a significant improvement over the best baseline, RelSim (0.788). Furthermore, AutoPath demonstrated superior efficiency; on the Yelp dataset, it completed training in 1,620 seconds, compared to 4,394 seconds for RelSim.
Discussion and Future Work
AutoPath provides a flexible, content-aware approach to similarity modeling. By treating node selection as a vector search, it maintains efficiency at scale. Moreover, its reliance on content embeddings allows for inductive learning, enabling the model to estimate similarity for new nodes added after training—a capability lacking in purely structural models.
Future research directions include integrating more advanced NLP techniques (e.g., Transformers) to better model textual content and improving the interpretability of the complex paths discovered by the RL agent.
Summary updated