TL;DR
Researchers have developed PhraseCom, a framework for Comparative Document Analysis (CDA) that automatically identifies the shared themes and unique distinctions between two documents or document sets. By moving beyond simple word-overlap to a graph-based semantic approach, the system can find commonalities even when documents don't share the exact same vocabulary, outperforming existing methods by up to 56% in F1 score.
What Problem Does This Paper Address?
When we compare two texts—say, two research papers on PageRank or two news articles about a tsunami—we usually want to know two things: what do they agree on, and what makes each one unique?
Traditional text mining often fails here for three reasons:
- Data Sparsity: Two documents might discuss the same concept using different words, leading to zero "overlap" in a simple word-count model.
- Granularity: Single words (unigrams) are often too vague to be meaningful, while full sentences are too verbose to serve as a concise summary.
- The "Overly Specific" Trap: Existing tools often pick out extremely rare technical jargon as "distinctive" features, even if those terms don't actually help a human understand the core difference between the texts.
The authors introduce Comparative Document Analysis (CDA) to solve this by extracting high-quality, multi-word phrases that capture the semantic "bridge" between documents.
Methods
The authors propose a framework called PhraseCom, which operates in three main stages:
- Salient Phrase Generation: Instead of just looking at words, the system uses a distantly-supervised segmentation algorithm (trained on Wikipedia titles) to identify "quality phrases." It then filters these based on interestingness (how much they characterize the document) and diversity (to avoid redundant phrases).
- Graph-Based Semantic Relevance: This is the "secret sauce." The authors build a massive bipartite graph connecting all phrases to all documents in a corpus. If Document A and Document B don't share a phrase, but both are strongly connected to a third Document X that does contain that phrase, the system can infer a semantic link.
- Joint Optimization: The system solves two optimization problems simultaneously. It looks for phrases that are Common (high relevance to both docs) and phrases that provide Pairwise Distinction (high relevance to one, low relevance to the other). This iterative process ensures that the relevance scores and the phrase selections "reinforce" each other.
Datasets
The researchers evaluated PhraseCom on two large-scale, real-world datasets:
- Academia: 205,484 full-text computer science papers from the ACM Digital Library (1990–2015).
- News: 67,809 news articles related to the 2011 Japan Tsunami, collected over a one-month period.
They created "gold standard" evaluation sets by having human annotators (CS students and researchers) label phrases as "perfect," "good," or "bad" for comparing specific document pairs.
Key Insights and Ideas
- Semantic Commonality vs. Exact Match: The authors found that in their gold-standard data, over 60% of the phrases humans chose to describe commonalities did not actually appear in both documents. This proves that "word overlap" is a poor metric for comparison; you need a corpus-wide graph to find the hidden connections.
- The Power of Phrases: By using multi-word units (e.g., "personalized web search" instead of just "search"), the summaries become much more readable and informative for humans.
- Mutual Enhancement: The model doesn't just pick phrases based on pre-calculated scores. The act of selecting a phrase as "common" actually updates the relevance scores of the documents it's linked to, which in turn helps find better phrases in the next iteration.
Key Results
- Significant Performance Gains: PhraseCom consistently outperformed baselines like WordMatch, TopicLabel, and PatentCom. On the Academia dataset, it achieved a 56% improvement in F1 score over the best competitor for finding commonalities.
- Robustness: Unlike "StringFuzzy" methods that rely on arbitrary thresholds (e.g., "only show phrases with a score > 3.0"), PhraseCom’s optimization framework acts as an adaptive threshold, performing stably across different domains (News vs. Science).
- Qualitative Clarity: In case studies comparing seminal PageRank papers, PhraseCom successfully identified "EM algorithm" as a semantic commonality between two papers that used different terminology, while correctly identifying "dynamic programming" as a distinction for the paper that focused on computational efficiency.
Limitations and Future Work
- Computational Overhead: While the authors describe the algorithm as efficient, building and propagating scores across a bipartite graph of 200k documents and 300k phrases is computationally intensive compared to simpler methods.
- Hierarchical Relations: The current model treats phrases as independent units. The authors suggest that future work could exploit hierarchical relations (e.g., knowing that "machine learning" is a broader category than "support vector machines") to produce even more nuanced comparisons.
- Beyond Pairs: The current framework is optimized for comparing two items (or two sets). Extending this to "N-way" comparison (comparing five different companies or three different political candidates) remains an open challenge.
Summary updated