Introduction: The Hypertext Embedding Challenge
Standard document embedding techniques like doc2vec or word2vec were designed for "plain" text. When applied to hypertext—documents with links or citations—they often "downcast" the problem by treating citations as ordinary words or ignoring links entirely. This results in significant information loss regarding the relational structure and semantic context of the documents.
The authors identify four critical requirements for a robust hypertext embedding:
- Content Awareness: Reflecting the document's internal text.
- Context Awareness: Capturing how others describe the document when linking to it.
- Newcomer Friendliness: Providing high-quality embeddings for new documents without incoming links.
- Context Intent Awareness: Capturing the semantic reason for a link (e.g., "evaluating" vs. "comparing").
Methodology: The hyperdoc2vec Framework
The proposed hyperdoc2vec (h-d2v) framework represents each document $d$ using two distinct vectors: an IN vector ($d^I$) for its role as a source (the linker) and an OUT vector ($d^O$) for its role as a target (the linked).
The model employs a multi-objective approach. It integrates a standard doc2vec objective (specifically pv-dm) to capture internal content with a novel citation objective. For a citation where document $d_s$ cites $d_t$ using context words $C$, the model predicts the target's OUT vector ($d_t^O$) by averaging the source's IN vector ($d_s^I$) and the IN vectors of the context words. This dual-role architecture ensures that "newcomers" receive valid $d^I$ vectors from their own content, while "intent" is captured through the direct use of context words in the prediction task.
Evaluation and Key Results
The model was evaluated on three academic paper datasets: NIPS (small), ACL Anthology (medium), and DBLP (large).
Performance in Citation Recommendation
h-d2v consistently outperformed baselines across all datasets. On the DBLP dataset, it achieved a Mean Average Precision (MAP) of 10.83, nearly 50% higher than the next best non-h-d2v model.
Document Classification
On the DBLP dataset, hyperdoc2vec achieved the highest Macro-F1 (72.89) and Micro-F1 (78.99). When combined with graph-only embeddings like DeepWalk, performance further improved to a Micro-F1 of 79.93.
Qualitative Insights
A case study demonstrated h-d2v's precision: when queried with context about evaluating machine translation, it correctly ranked the seminal BLEU paper as the top recommendation, whereas other models were distracted by general machine translation topics. This highlights the model's ability to distinguish between "intent" words (like "evaluate") and "topic" words.
Conclusion and Future Work
hyperdoc2vec successfully leverages the "crowdsourced" summaries found in citation contexts. While currently validated on academic papers, future work includes applying the model to noisier hypertext environments like Wikipedia or the general web and exploring more sophisticated attention mechanisms to further refine link "intent."
Summary updated