Abstract
Comparing large collections of documents is a critical task in domains such as government funding and national intelligence. This paper introduces a flexible, bipartite graph-based framework for analyzing relationships between document groups. By representing groups and comparison criteria (e.g., topics) as nodes, the framework provides mathematically grounded methods for identifying specialized entities, measuring similarity between organizations, and detecting emerging trends. Evaluation on a large dataset of NSF grant abstracts demonstrates that the proposed cosine similarity measure outperforms standard baselines in identifying related programs.
Introduction
In many analytical fields, the primary unit of interest is a group of documents rather than an individual file. For instance, a funding agency like the National Science Foundation (NSF) may need to quantify the overlap between research programs or identify rapidly growing scientific areas. Traditional comparative text mining often focuses on summarizing shared topics but lacks a robust mechanism for analyzing the structural relationships between the groups themselves. Furthermore, existing graph-based similarity measures often fail to account for group size or connection weight, leading to biased results where large, diverse groups appear more similar than they actually are.
Methodology: Weighted Bipartite Graphs
The core of the proposed framework is a weighted bipartite graph model $G = (P, C, E, w)$. In this model, nodes in set $P$ represent document groups (e.g., research labs, fiscal years), while nodes in set $C$ represent comparison criteria. The authors utilize topics generated via Latent Dirichlet Allocation (LDA) as the primary comparison criteria.
An edge exists between a group and a topic if the group contains documents belonging to that topic, with the weight $w$ representing the document count at that intersection. This structure allows for several algorithmic analyses:
- Node Entropy: Measures the concentration of a node. Low entropy in a group indicates high specialization, while low entropy in a topic suggests it is unique to specific groups.
- Cosine Similarity: Groups are compared by treating their topic connections as vectors. This allows for size-invariant thematic comparison, finding groups that behave similarly regardless of total document count.
- Louvain Clustering: By projecting the bipartite graph into a group-to-group similarity space, the Louvain algorithm can identify natural clusters of related entities.
Evaluation and Results
The framework was evaluated using a dataset of 132,372 NSF grant abstracts from 1990 to 2002. The descriptive names of these programs (e.g., "Linguistics") served as a ground truth for validating the model's mathematical findings.
Similarity Performance
The authors compared their Cosine Similarity approach against Weighted Jaccard and Spearman’s Rank metrics. Using Mean Average Precision (MAP) at various depths (MAP@3, 6, and 9), the results showed that Cosine Similarity consistently provided the most accurate identification of related NSF programs.
Key Insights
- Specialization vs. Breadth: The model successfully distinguished between specialized programs (e.g., "Linguistics" with low entropy) and broad cooperative funds (e.g., "Australia" with high entropy).
- Trend Detection: By using calendar years as groups, the framework identified the rapid emergence of Nanotechnology in the late 1990s through its low-entropy "uptrend."
- Clustering: The model autonomously grouped disparate elements, such as "Synaptic Mechanisms" and "Behavioral Neuroscience," into a coherent "Neuroscience" cluster based solely on grant content.
Conclusion and Future Work
While the framework currently relies on LDA topics, which can be sensitive to noise, it demonstrates significant utility in finding "duplication of effort" and structural trends in large document collections. Future work may incorporate Named Entity Recognition or paraphrase detection to provide even more granular comparison criteria and improve scalability against larger baselines.
Summary updated