Cross-Domain Generalization Through Memorization: A Study of Nearest Neighbors in Neural Duplicate Question Detection
@misc{yaghoobzadeh2020crossdomain,
title = {Cross-Domain Generalization Through Memorization: A Study of Nearest Neighbors in Neural Duplicate Question Detection},
author = {Yadollah Yaghoobzadeh and Alexandre Rochette and Timothy J. Hazen},
year = {2020},
eprint = {2011.11090},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2011.11090}
}
Yaghoobzadeh, Y., Rochette, A., & Hazen, T. J. (2020). Cross-Domain Generalization Through Memorization: A Study of Nearest Neighbors in Neural Duplicate Question Detection [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.11090
YAGHOOBZADEH Y, ROCHETTE A, HAZEN TJ. Cross-Domain Generalization Through Memorization: A Study of Nearest Neighbors in Neural Duplicate Question Detection[EB/OL]. (2020-11-22)[2026-11-30]. https://arxiv.org/abs/2011.11090.
Abstract
Duplicate question detection (DQD) is important to increase efficiency of community and automatic question answering systems. Unfortunately, gathering supervised data in a domain is time-consuming and expensive, and our ability to leverage annotations across domains is minimal. In this work, we leverage neural representations and study nearest neighbors for cross-domain generalization in DQD. We first encode question pairs of the source and target domain in a rich representation space and then using a k-nearest neighbour retrieval-based method, we aggregate the neighbors' labels and distances to rank pairs. We observe robust performance of this method in different cross-domain scenarios of StackExchange, Spring and Quora datasets, outperforming cross-entropy classification in multiple cases.