Kernelized Hashcode Representations for Relation Extraction


  • Sahil Garg University of Southern California
  • Aram Galstyan USC Information Sciences Institute
  • Greg Ver Steeg University of Southern California
  • Irina Rish IBM Research
  • Guillermo Cecchi IBM
  • Shuyang Gao USC Information Sciences Institute



Kernel methods have produced state-of-the-art results for a number of NLP tasks such as relation extraction, but suffer from poor scalability due to the high cost of computing kernel similarities between natural language structures. A recently proposed technique, kernelized locality-sensitive hashing (KLSH), can significantly reduce the computational cost, but is only applicable to classifiers operating on kNN graphs. Here we propose to use random subspaces of KLSH codes for efficiently constructing an explicit representation of NLP structures suitable for general classification methods. Further, we propose an approach for optimizing the KLSH model for classification problems by maximizing an approximation of mutual information between the KLSH codes (feature vectors) and the class labels. We evaluate the proposed approach on biomedical relation extraction datasets, and observe significant and robust improvements in accuracy w.r.t. state-ofthe-art classifiers, along with drastic (orders-of-magnitude) speedup compared to conventional kernel methods.




How to Cite

Garg, S., Galstyan, A., Steeg, G. V., Rish, I., Cecchi, G., & Gao, S. (2019). Kernelized Hashcode Representations for Relation Extraction. Proceedings of the AAAI Conference on Artificial Intelligence, 33(01), 6431-6440.



AAAI Technical Track: Natural Language Processing