NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Nearly-Unsupervised Hashcode Representations for Biomedical Relation Extraction.

Sahil Garg, Aram Galstyan, Greg Ver Steeg, Guillermo A. CecchiEMNLP 2019 · DOI

TL;DR

This paper introduces a "nearly-unsupervised" approach to learning hashcode representations for biomedical relation extraction. By leveraging unlabeled data from test sets during training, their method significantly improves generalization and achieves state-of-the-art results compared to existing supervised and semi-supervised techniques.

What Problem Does This Paper Address?

Identifying biological entities and their relationships within biomedical text is crucial for advancing fields like personalized medicine. However, a major bottleneck is the scarcity of annotated data due to the high cost of expert labeling. Furthermore, the diversity of research topics and writing styles in biomedical literature means that models trained on one set of data might not perform well on another (test) set. Previous methods for relation extraction, including those using kernelized locality-sensitive hashing (KLSH), often rely heavily on supervised learning, which can lead to overfitting with limited data and poor generalization to unseen text.

Methods

The core contribution is a novel framework for learning hashcode representations in a "nearly-unsupervised" setting. Unlike purely supervised methods that require labeled data for all training steps, this approach uses the knowledge of which set a data point belongs to (training or test/pseudo-test) but not its specific class label. This unlabeled test data is used to fine-tune hash functions, aiming to improve their generalization capabilities.

Key methodological innovations include:

  • Nearly-Unsupervised Learning Setting: The framework utilizes unlabeled data points from a test or pseudo-test set alongside labeled training data. The class labels are only used in the final classification stage (e.g., with a Random Forest).
  • Fine-Grained Optimization: Instead of relying on randomized hash function construction, the paper proposes a greedy, information-theoretic algorithm to optimize each hash function individually. This allows for more intelligent choices in how data points are split.
  • Informative Split: The method prioritizes splits of data subsets that are balanced and generalize well across both training and test sets, as visualized in Figure 2.
  • Local Sampling from Clusters: To further enhance generalization, the approach suggests sampling data points locally from "high-entropy" clusters (those with a balanced mix of training and test data) rather than globally. This allows for learning hierarchical, multi-scale representations.
  • Neural Hashing Extension: The framework is also shown to be adaptable for learning hashcodes using neural networks.

Datasets

The paper evaluates its approach on four public datasets for biomedical relation extraction:

  • AIMed: Focuses on protein-protein interactions (PPIs) in sentences, ignoring interaction type.
  • BioInfer: Similar to AIMed, focusing on PPIs.
  • PubMed45: A more challenging dataset requiring inference of interaction types and roles from unrestricted lists.
  • BioNLP: Another dataset for inferring interaction types and roles.

The authors maintain the same experimental setup as prior work for fair comparison.

Key Insights and Ideas

  • Leveraging Unlabeled Test Data is Key: The core insight is that even without labels, knowing which data points belong to the test set provides valuable information for learning more generalizable representations.
  • Fine-grained Optimization Prevents Overfitting: By optimizing individual hash functions intelligently, rather than relying on randomness, the model can avoid overfitting to the training set and improve performance on unseen data.
  • Clustering for Better Sampling: Sampling data points from clusters that contain a mix of training and test data (high-entropy clusters) is a more effective strategy for learning generalizable hash functions.
  • Hierarchical Representations: The idea of learning global hash functions first, then using them to define clusters from which local hash functions are learned, allows for capturing multi-scale details in the data.

Key Results

The proposed KLSH-NU-RF (Kernelized Locality Sensitive Hashing - Nearly Unsupervised Random Forest) model significantly outperforms its supervised counterpart (KLSH-RF) and various semi-supervised neural network models across the four datasets.

  • AIMed & BioInfer: The model achieves F1 scores 3 points higher than KLSH-RF on AIMed. On BioInfer, it ties with the adversarial neural model Adv-Bi-LSTM and shows significant gains over other adversarial models and SSL-VAE.
  • PubMed45 & BioNLP: KLSH-NU-RF outperforms SSL-VAE and KLSH-RF by 4 F1 points on both datasets.
  • Inductive vs. Transductive: Both inductive (using a subset of training data as pseudo-test) and transductive (using actual test data) settings show improvements over the supervised baseline. Notably, the inductive setting, using even less information than the baseline, still achieves significantly higher F1 scores.
  • Neural Hashing: The neural hashing variant performs comparably to kernel hashing and significantly better than other neural baselines.

Limitations and Future Work

  • Computational Cost: While the approach is scalable due to kernel similarities, the greedy optimization of hash functions can still be computationally intensive.
  • Parameter Sensitivity: While the authors state some parameters are not sensitive, fine-tuning for others (like kernel parameters or neural network architectures) might still be required.
  • Future Work: The paper suggests extending the framework to incorporate class labels more directly (e.g., via an additional term in the objective function) and exploring its applicability to other modeling aspects like non-stationary kernels, document-level inference, and ontology usage. The adaptability to neural network architectures also opens avenues for further research.

Summary updated

BibTeX
@inproceedings{garg2019nearly,
  author = {Sahil Garg and Aram Galstyan and Greg Ver Steeg and Guillermo A. Cecchi},
  title = {{Nearly-Unsupervised Hashcode Representations for Biomedical Relation Extraction.}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2019},
  doi = {10.18653/v1/d19-1414},
}
Figure