We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.IR

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Information Retrieval

Title: Distilling Transformers for Neural Cross-Domain Search

Abstract: Pre-trained transformers have recently clinched top spots in the gamut of natural language tasks and pioneered solutions to software engineering tasks. Even information retrieval has not been immune to the charm of the transformer, though their large size and cost is generally a barrier to deployment. While there has been much work in streamlining, caching, and modifying transformer architectures for production, here we explore a new direction: distilling a large pre-trained translation model into a lightweight bi-encoder which can be efficiently cached and queried. We argue from a probabilistic perspective that sequence-to-sequence models are a conceptually ideal---albeit highly impractical---retriever. We derive a new distillation objective, implementing it as a data augmentation scheme. Using natural language source code search as a case study for cross-domain search, we demonstrate the validity of this idea by significantly improving upon the current leader of the CodeSearchNet challenge, a recent natural language code search benchmark.
Comments: 4 pages, 1 figure, emnlp formatting
Subjects: Information Retrieval (cs.IR); Machine Learning (cs.LG); Software Engineering (cs.SE)
Cite as: arXiv:2108.03322 [cs.IR]
  (or arXiv:2108.03322v1 [cs.IR] for this version)

Submission history

From: Colin B Clement [view email]
[v1] Fri, 6 Aug 2021 22:30:19 GMT (501kb,D)

Link back to: arXiv, form interface, contact.