Knowledge graphs describing traditional herbal medicine are typically small and sparse, making node initialization and neighborhood aggregation important for link prediction. This study evaluates random trainable embeddings and MetaPath2Vec initialization across mean, sum, max-pooling, and LSTM GraphSAGE aggregators for herb-therapeutic indication prediction in a graph with 99 herb nodes, 111 therapeutic indication nodes, and 488 recorded links (487 unique pairs). Using a relation-stratified 70/15/15 split, a DistMult decoder, type-aware negative sampling, and five random seeds per configuration, random initialization achieved higher mean reciprocal rank than MetaPath2Vec (0.134 versus 0.122). A sum aggregator with 46,528 parameters performed comparably to an LSTM aggregator with 179,648 parameters. MetaPath2Vec with mean aggregation showed the largest train-validation gap (0.431). Six-layer models reached 0.975 mean pairwise cosine similarity, indicating oversmoothing, while task performance did not decline monotonically. The highest mean reciprocal rank occurred with 80% of the available training edges. These findings show that richer initialization, greater aggregator complexity, and deeper models do not automatically benefit small, sparse, domain-specific knowledge graphs.
Copyrights © 2026