SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2104.08253 · EMNLP · 2021

Condenser: a Pre-training Architecture for Dense Retrieval

Luyu Gao, Jamie Callan

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 3 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
luyug/Condenser — 2 of 3
FunctionStatusWhere it lives
DataTrainingArguments Ran luyug/Condenser/modeling.py
code served (permissive licence) · get_code("1efa551a28f7dae8")
ModelArguments Ran luyug/Condenser/modeling.py
code served (permissive licence) · get_code("3ebfd1ebef74cfd5")
CondenserForPretraining Not yet run luyug/Condenser/modeling.py
code served (permissive licence) · get_code("6f9740b864139754")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Pre-trained Transformer language models (LM) have become go-to text representation encoders. Prior research fine-tunes deep LMs to encode text sequences such as sentences and passages into single dense vector representations for efficient text comparison and retrieval. However, dense encoders require a lot of data and sophisticated techniques to effectively train and suffer in low data situations. This paper finds a key reason is that standard LMs' internal attention structure is not ready-to-use for dense encoders, which needs to aggregate text information into the dense representation. We propose to pre-train towards dense encoder with a novel Transformer architecture, Condenser, where LM prediction CONditions on DENSE Representation. Our experiments show Condenser improves over standard LM by large margins on various text retrieval and similarity tasks. 1

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2104.08253")
get_code_for_paper("2104.08253")
have("2104.08253")

Connect an agent — have() is free.