Elamur Research

Sparse, Dense, and Attentional Representations for Text Retrieval

Paper · 2021 · Yi Luan, Jacob Eisenstein, Kristina Toutanova et al.

Summary

A search system must recognize both wording and meaning. A relevant passage may repeat an unusual name from the query, or it may express the requested idea through different terms. These demands create a practical tension in information retrieval. Sparse methods such as BM25 preserve detailed evidence about which terms occur. Dense encoders learn useful similarities between expressions, but they compress a document into a representation whose size typically stays fixed as the document grows. This paper asks what that compression can lose, when the losses matter, and how to recover some of the missing precision without making large-scale search prohibitively expensive.

The authors study this question through fidelity: whether a compressed representation preserves distinctions available to a sparse retrieval function. Their theoretical reference is a random projection, which maps a vocabulary-sized representation into a smaller vector without learning from relevance judgments. The analysis connects the required embedding dimension to the normalized margin separating a preferred document from a competitor. A small margin makes the ordering easier to disturb. For Boolean term matching, the resulting guarantee requires more dimensions as document length increases. Experiments compressing BM25 representations from TREC-CAR support the broader pattern: longer documents have smaller normalized margins, and preserving their rankings requires larger random projections. These results establish a useful account of compression difficulty, while leaving open how much a trained nonlinear encoder can avoid it.

The proposed architectural response is ME-BERT, a retrieval system that assigns several vectors to each document while keeping a single query vector. A document receives the score of its best-matching vector. This maximum operation allows the system to use an ordinary nearest-neighbor index containing several entries for each document. The authors also combine dense scores with BM25 scores, retaining explicit lexical evidence alongside learned similarity. Their experiments move from a controlled passage-containment task to answer-bearing passage retrieval on Natural Questions, then to supervised passage and document retrieval on MS MARCO and TREC DL 2019. Across these settings, additional document vectors and sparse–dense combinations generally help, with particularly useful gains when passages are longer.

The strongest conclusion concerns the design of efficient candidate retrieval. A dense representation does not automatically subsume a sparse one, and a single document vector can become a restrictive interface. ME-BERT and the hybrids improve retrieval while preserving an indexable scoring function. Full query–document cross-attention remains stronger in the controlled reranking comparisons, but its computation depends on evaluating each query together with each candidate. Better initial retrieval also matters downstream: when an expensive reranker can inspect only a short candidate list, improvements in that list become especially valuable. The paper therefore offers both an explanation of a retrieval weakness and an engineering compromise between lexical precision, learned generalization, storage, and search time.

Interesting ideas

Fidelity against a transparent reference. A representation can be evaluated by asking which decisions of a simpler system it preserves. This is more concrete than calling an embedding expressive or informative. Here, the reference is a sparse relevance function, and the observable failure is a reversed document ordering. Elsewhere, the same approach could compare a learned representation with explicit features, rules, or another inspectable baseline. The reference need not be the best overall predictor. Its value is that it identifies distinctions that compression should not silently erase.

Difficulty depends on the margin. The raw size of a representation does not describe how safely it can be compressed. What matters in the analysis is the score separation between alternatives, normalized by the relevant vector lengths. A preferred result with a narrow lead is vulnerable to small changes in similarity. This suggests evaluating representations on difficult comparisons as well as aggregate accuracy. In another ranking or selection problem, margin-conditioned analysis could reveal whether a system fails mainly on nearly tied alternatives or loses distinctions even when the reference decision is clear.

Length belongs in the evaluation. An overall retrieval score can conceal a systematic weakness on long passages. The paper repeatedly changes the maximum passage length and compares systems under those conditions. The lesson extends to any component that maps variable amounts of information into fixed storage: evaluate how performance changes with the amount being represented. Length is especially informative when a representation must retain a small relevant detail among unrelated material. Such analysis can distinguish a generally weak system from one whose capacity becomes inadequate under particular input conditions.

Random compression is a serious control. An untrained projection can preserve useful structure simply because it has enough dimensions. The authors use this fact to create a mathematically interpretable reference for fidelity. In other representation experiments, a random encoder can help separate the contribution of learning from the contribution of dimensionality. It also provides a diagnostic: if a trained representation loses distinctions that an appropriate random projection retains, the problem may concern its objective or optimization instead of an unavoidable lack of space.

Several indexable views can outperform a single summary. ME-BERT allows a document to offer several possible matches while keeping the query representation compact. This reduces the need to force all useful document content through a single vector. The important engineering feature is the aggregation rule: taking a maximum leaves retrieval compatible with a nearest-neighbor index. The broader idea applies when an item contains several aspects and a query typically addresses a particular aspect. Additional representations help only if their scoring and search procedures remain affordable.

Preserve complementary evidence. The hybrid systems combine a learned relevance score with a lexical score instead of assuming either source is sufficient. Exact terms can protect distinctions that semantic compression weakens, while dense similarity can recover relationships that term overlap misses. The weight is selected on development data, making the combination testable rather than rhetorical. This approach is useful wherever explicit evidence and learned similarity answer different parts of a decision. It also encourages reporting each component separately so that a combined improvement can be understood.

Evaluate the entire budget. A retrieval system uses storage, indexing time, search time, and downstream scoring time. The paper measures several of these instead of treating embedding dimension as a complete efficiency measure. Extra document vectors increase index size, but the measured quality–latency tradeoff can still improve. Better candidates can also reduce the work required from a later reranker. The reusable principle is to compare systems at the budget that matters to the application, including the cost of correcting weak initial decisions.

Deep dive: Sparse, Dense, and Attentional Representations for Text Retrieval

Why dense retrieval can lose exact matches, how document length affects compression, and what multi-vector and sparse–dense systems improve. · about 38 minutes to read

How Mova uses it

For Mova, the small transparent language system written in Rust, these ideas suggest concrete evaluation and retrieval work. They should be understood as proposed uses rather than reported implementations. The connection is methodological: preserve distinctions that an explicit component already makes, expose failures hidden by averages, and retain readable evidence when learned similarity contributes to an answer. The paper does not evaluate Mova, and it supplies no results for Mova’s parsing or text-world components.

In the learn stage, fidelity could become a regression check for gparse embeddings. The reference would be distinctions already represented by the perceptron parser or by rule features. An evaluation could collect cases where those features distinguish competing analyses and then check whether the learned representation still supports that distinction. A lost distinction would be recorded as a specific failure, with the relevant feature or parser decision attached. This would adapt the paper’s central question without assuming that a retrieval theorem automatically applies to dependency parsing.

Such a check would need to distinguish preservation from overall correctness. A perceptron decision is not automatically a gold analysis, just as reproducing a BM25 ordering does not establish relevance. The useful test is whether learning discards an available, understandable signal. Mova could then inspect whether the discarded distinction was useful, redundant, or mistaken. This preserves the paper’s careful separation between fidelity to a reference and success on the final task.

In the tree stage, gparse and the perceptron parser could be compared using LAS in sentence-length bins. LAS measures whether a predicted dependency has both the correct head and the correct relation label. Reporting it by length would show whether an apparent overall improvement coexists with deterioration on longer sentences. The comparison should use the same evaluation material for both parsers, with counts accompanying the bins so that a small group of difficult examples does not acquire unwarranted authority. This is an evaluation proposal; the paper reports retrieval measurements, not parsing accuracy.

The learn stage could also include a random-projection encoder as a negative control. Its role would be to show what the chosen input features and representation size provide without training. A learned encoder should then be assessed against both the explicit feature reference and the random control. These comparisons answer different questions. The feature reference asks what distinctions survive compression; the random control asks whether training contributes something beyond an untrained mapping of comparable dimensionality. Neither comparison alone would establish that the resulting representation improves Mova’s final behavior.

For the answer stage, the hybrid idea fits passage selection in fables and tales. A candidate passage could receive a lexical score from exact entity matches and lemma overlap, alongside an embedding similarity score. Development examples would determine how the signals should be combined. The selected passage should retain its lexical matches as readable evidence: which character name matched, which action lemma overlapped, and which words supported the choice. The embedding component could help with related expressions, while the explicit matches would make part of the decision inspectable.

For the world stage, an entity or episode could be indexed through several local vectors, perhaps associated with individual frames. A query could then match the relevant part rather than a single compressed account of everything attached to that entity. Mova could preserve the identity of the winning frame and report which part supplied the match. This would be an application-specific adaptation. ME-BERT uses contextual output positions rather than manually defined frames, so the paper does not establish that its vectors have the readable local meanings Mova would want.

These proposals concern Mova’s learn, tree, answer, and world stages and the tests associated with them. They do not justify naming particular source files, claiming that a hybrid retriever is already present, or reporting an improvement. Their practical value is a set of reviewable questions: which explicit distinctions survive learning, where length changes performance, whether training beats a random control, and which textual evidence supports a retrieved answer.

The problem and its context

A search pipeline can fail before ranking begins

The paper starts from a common architecture for text search. An inexpensive retriever searches a large collection and returns candidates. A more expensive neural scorer then orders those candidates more carefully. This division allows expressive query–document computation to be used where it is affordable.

The weakness is that the later stage sees only what the earlier stage retrieves. If a relevant document is missing from the candidate list, a better reranking function cannot restore it. The authors illustrate the issue with a BM25 recall@1000 result of 69.4 reported by Yan and colleagues. That number belongs to the cited retrieval setting; it is not a universal property of BM25. Its significance is structural: even a substantial candidate list can leave relevant material unavailable to the next stage.

This motivates improving initial retrieval rather than concentrating all learning in the reranker. The question is how to do so without requiring the system to run a large query–document network over the entire collection. Learned dense retrieval offers an attractive answer because documents can be encoded before queries arrive.

Sparse and dense representations preserve different things

In a sparse bag-of-words representation, a coordinate corresponds to a vocabulary item. Most coordinates are empty for any particular text. The nonempty coordinates retain direct information about the terms that occur and, depending on the weighting scheme, how informative those occurrences are. The paper includes Boolean matching, TF-IDF, and BM25 within an inner-product formulation.

Sparse retrieval can use an inverted index, which associates terms with the documents in which they occur. Its useful precision comes from preserving individual lexical identities. If a query contains an important entity name, the representation can directly distinguish a document containing that name from one that does not.

A dense dual encoder replaces the vocabulary-sized representation with a shorter learned vector. The query and document are encoded separately, and their vectors are compared through an inner product. The document side can therefore be computed in advance. Efficient vector search makes it possible to retrieve candidates from a large collection without running the encoder again for each query–document pair.

The attraction is generalization. A learned representation can assign similar vectors to related expressions even when the query and document use different words. The paper connects this line of work to approaches including Sentence-BERT and Dense Passage Retrieval. But the ability to generalize does not imply that a compact vector preserves every useful exact distinction.

The authors’ motivating observation concerns precisely this gap. On a task asking a system to retrieve a passage containing the query wording, BM25 can beat a fine-tuned dense encoder, especially for longer passages. A representation that is useful for semantic similarity can still be weak at detecting whether a particular combination of terms occurs.

Attention provides expressiveness at a different cost

A cross-attentional scorer processes the query and document together. In the paper’s implementation, their token sequences are concatenated with a separator, and a learned function of the resulting classification representation supplies the score. Query tokens can influence the document’s contextual processing and vice versa.

This makes cross-attention a useful comparison for expressiveness. It can examine fine-grained interactions that a separately computed document vector must anticipate in advance. Earlier work such as Passage Re-ranking with BERT demonstrates the relevance of this design to the second stage of retrieval pipelines.

The expense follows from the same interaction. A document cannot be represented once by a query-independent final score. The system must perform joint computation for each candidate it evaluates. Consequently, the authors use cross-attention for reranking rather than unrestricted collection search.

The central design space therefore lies between sparse lexical retrieval, compact dense retrieval, and expensive interaction-based scoring. The paper asks how much of the latter’s precision can be recovered while retaining the searchable structure of the former approaches.

What the paper adds to earlier representation work

The authors also distinguish their task from reconstructing text after compression. Compressive sensing asks whether an original sparse vector can be recovered from a smaller measurement. Reconstructing all term counts is a stronger requirement than preserving a relevance ordering, so bounds for reconstruction need not describe retrieval accurately.

Related work on recovering complete sentences from embeddings uses a more expressive decoder. The paper notes that this changes the computational problem: an expensive reconstruction mechanism is not equivalent to retrieving through inner products. It also discusses random sentence representations whose high-dimensional versions can approach trained encoders on other tasks. These observations support taking untrained compression seriously, without making those tasks interchangeable with retrieval.

The paper’s distinctive contribution is to connect a measurable ranking property to document length and embedding dimension, then test architectural responses under retrieval conditions. It does not claim to settle the general capacity of neural representations. Instead, it develops a tractable account of a specific demand: preserving precise comparisons that a sparse scoring function already makes.

The method, step by step

The investigation has an analytical part and an architectural part. The analysis asks when compression changes a sparse ranking. The architecture then changes how documents are represented, while retaining a score that an efficient search index can support. The experiments test whether the resulting advantages survive beyond the deliberately lexical problem used to motivate them.

From compression analysis to scalable retrieval

The steps in order.

From compression analysis to scalable retrievalStep 1: Express sparse relevance through inner products1. Express sparse relevance through inner productsStep 2: Measure margins between competing documents2. Measure margins between competing documentsStep 3: Analyze ranking errors after random projection3. Analyze ranking errors after random projectionStep 4: Examine how passage length changes fidelity4. Examine how passage length changes fidelityStep 5: Encode documents with several contextual vectors5. Encode documents with several contextual vectorsStep 6: Retrieve through maximum vector similarity6. Retrieve through maximum vector similarityStep 7: Combine dense and lexical candidate scores7. Combine dense and lexical candidate scores

Represent sparse retrieval as an inner product

Let a query and a document be vectors over the same vocabulary. Their coordinates encode term presence or a weighting derived from term frequency and collection statistics.

s(q, d) = ⟨q, d⟩

Here, q is the query vector, d is the document vector, s is the relevance score, and angle brackets denote an inner product. Each matching coordinate contributes a product to the total. The vocabulary size is v, so these vectors belong to a space with v coordinates.

For Boolean retrieval, coordinates indicate whether a term occurs. The score counts vocabulary items shared by query and document. For weighted retrieval, the same algebra applies after changing the coordinate values.

q̃ᵢ = qᵢ × IDFᵢ

The subscript i identifies a vocabulary item. qᵢ indicates its presence in the query, IDFᵢ is its inverse document frequency, and q̃ᵢ is the weighted query coordinate. In the paper’s TF-IDF formulation, this weighted query is compared with the document term representation.

BM25(q, d) = ⟨q̃, d̃⟩

q̃ is the weighted query vector. d̃ is a transformed document vector whose coordinates depend on term counts, document length, and BM25 settings. The paper uses this reformulation to study BM25 through vector compression; it does not require that a practical sparse implementation explicitly store these as dense vocabulary-sized arrays.

Define what compression must preserve

A compressive encoder maps the vocabulary-sized input into a vector with k coordinates, where k is much smaller than v and does not grow with document length.

s_f(q, d) = ⟨f(q), f(d)⟩

f is the encoding function, and s_f is the relevance score after compression. The central fidelity question is whether comparisons under s remain comparisons in the same direction under s_f.

Suppose the sparse function prefers document d₁ to document d₂ for query q. A compression failure occurs when the encoded score gives d₂ at least as much relevance as d₁. The analysis requires a strictly positive original separation; it does not try to preserve an arbitrary ordering between documents tied by the reference score.

This choice makes fidelity operational. It is possible to count comparison errors without claiming that the sparse reference supplies perfect relevance judgments. The representation is being tested for preservation of an existing distinction.

Use a random projection as the reference encoder

The authors first consider a linear map chosen at random.

f(x) = Ax

x is any query or document vector. A is a matrix with k rows and v columns, so multiplication produces a k-dimensional representation. The same matrix is used for queries and documents.

The paper analyzes Gaussian and Rademacher constructions. In the Rademacher case, each matrix entry independently takes either sign with equal probability.

aᵢ,ⱼ ∈ {−1/√k, +1/√k}

aᵢ,ⱼ is the matrix entry in row i and column j. k is the projection dimension. The scaling controls the size of projected vectors as the number of coordinates changes.

No relevance training is involved. This is why the construction provides a useful baseline: its performance reflects the ability of a low-dimensional random map to preserve the geometry needed by the sparse ranking.

Measure the normalized margin

The unnormalized score lead is not enough to characterize the difficulty of a comparison. The authors divide it by the query norm and the norm of the difference between the competing documents.

μ(q, d₁, d₂) = ⟨q, d₁ − d₂⟩ / (‖q‖ × ‖d₁ − d₂‖)

μ is the normalized margin. d₁ is the document favored by the sparse score, and d₂ is its competitor. Double bars denote the Euclidean norm. The numerator is the original score gap, while the denominator accounts for the size of the vectors involved in that comparison.

A larger positive margin means the ranking is more robust to distortion. A small margin means the preferred ordering can change after a relatively small perturbation. The quantity also clarifies why unrelated content can matter: additional document coordinates can enlarge the denominator without giving the preferred document a correspondingly larger query-specific advantage.

For a comparison whose normalized margin is ε, the paper bounds the probability β of a ranking error after Gaussian or Rademacher projection.

β ≤ 4 exp(−(k/2)(ε²/2 − ε³/3))

β is the error probability, ε is the positive normalized margin, k is the embedding dimension, and exp is the exponential function. The guarantee improves as k increases. It becomes more demanding when ε decreases.

Solving this inequality for the required dimension gives a sufficient condition.

k ≥ 2(ε²/2 − ε³/3)⁻¹ ln(4/β)

ln denotes the natural logarithm. The inverse factor describes the cost of preserving a small margin, while β specifies the tolerated error probability. This is an upper bound on a sufficient dimension, rather than an exact prediction of the smallest workable embedding.

The authors also give a simpler expression.

k > 12 ε⁻² ln(4/β)

The symbols have the same meanings. This bound is looser, but it makes the inverse-square dependence on the margin easy to see. The paper’s empirical analysis then asks whether the more precise margin expression tracks actual projection requirements.

Extend a pairwise comparison to retrieval

Retrieval does not merely compare a preferred document with a single rival. It must place the target sufficiently high among a collection of competitors.

The authors let d₁ be the target and D the collection excluding it. They choose a retrieval depth r₀ and define ε using the r₀-th smallest normalized margin between the target and a competitor. R counts how many competitors score at least as highly as the target after projection.

Pr(R ≥ r₀) ≤ 4(|D| − r₀ + 1) exp(−(k/2)(ε²/2 − ε³/3))

Pr denotes probability, |D| is the number of competing documents, and R ≥ r₀ means enough competitors overtake the target to push it beyond the desired position. The expression combines the pairwise result with a collection-level argument.

The corresponding sufficient dimension is:

k ≥ 2(ε²/2 − ε³/3)⁻¹ ln(4(|D| − r₀ + 1)/β)

β now specifies the tolerated probability of failing at the desired retrieval depth. The collection-size term appears inside a logarithm. However, the authors warn that this guarantee can be loose because it uses a union bound and unfavorable assumptions about competitors’ margins.

This distinction matters when interpreting the theory. The result identifies dependencies and sufficient conditions. It does not supply a dimension that every real collection must require.

Connect the guarantee to document length

Boolean term matching gives the authors a particularly interpretable special case. Let L_Q be the squared norm of the Boolean query, and let L_D be the largest squared norm among the Boolean document vectors. These quantities count distinct terms.

k ≥ 24 L_Q L_D ln(4/β)

k is a sufficient projection dimension for the stated pairwise error guarantee. L_Q describes query size, L_D describes the largest document’s distinct-term count, and β is the tolerated error probability.

This condition grows with document size. A Boolean score has a discrete non-zero gap, but document differences can become larger as more terms are present. The normalized margin can therefore become smaller.

The situation is harder for BM25 and TF-IDF. Their term weights permit close scores that do not have the same simple discrete separation. Adding query terms creates additional ways for weighted contributions to nearly balance. The authors consequently investigate BM25’s margins empirically instead of pretending that the Boolean result transfers unchanged.

For TREC-CAR, they group documents by length and measure normalized margins between the best BM25 document in each group and its competitors. They also measure how many projection dimensions are needed to preserve retrieval quality. This connects the theoretical quantity to actual text instead of using length alone as an explanation.

Explain what general lower bounds do and do not imply

The paper next considers whether nonlinear encoders might escape the random-projection pattern. It cites general dimensionality-reduction results about preserving inner products between bounded-norm vectors.

|⟨f(x), f(y)⟩ − ⟨x, y⟩| ≤ ε

x and y are vectors with norms no greater than unity, f is an encoder, and ε is the maximum allowed inner-product distortion. The absolute-value bars measure the magnitude of the change.

For arbitrary vector sets, the relevant lower bounds require dimensions with the following asymptotic growth.

k = Ω(ε⁻²)

Ω expresses a lower bound on how dimension must grow as tolerated distortion shrinks. This statement concerns worst-case vector configurations. It does not establish that naturally occurring documents attain that difficulty, or that preserving rankings requires preserving all inner products equally well.

The authors explicitly leave room for learned encoders to exploit structure in real text. They also recognize that an encoder could preserve orderings while allowing substantial score distortion. These qualifications are essential to the transition from mathematical compression to trained retrieval.

Give documents several searchable representations

The proposed neural architecture starts with contextual token representations from a transformer. If x is the query sequence, h₁(x) is the final representation at its initial classification token.

f⁽¹⁾(x) = h₁(x)

f⁽¹⁾ is the single query representation. The superscript indicates that the query supplies a single vector; h₁ is the contextual output associated with its initial position.

For document sequence y, the architecture retains the first m contextual output vectors.

f⁽ᵐ⁾(y) = [h₁(y), …, hₘ(y)]

m is the number of document vectors. Each hⱼ(y) is a final contextual representation from document position j. These are learned contextual outputs, not an explicit division of the document into independently encoded passages.

The relevance function chooses the strongest query–vector match.

ψ⁽ᵐ⁾(x, y) = maxⱼ₌₁,…,ₘ ⟨f⁽¹⁾(x), fⱼ⁽ᵐ⁾(y)⟩

ψ⁽ᵐ⁾ is the document relevance score. fⱼ⁽ᵐ⁾(y) is document vector j, and the maximum selects the largest inner product with the query representation.

This aggregation is central to scalability. Each document vector becomes a separate index entry associated with its document. The best-scoring vector identifies a document attaining the best document score. The index grows with m, but the scoring rule still supports efficient vector search.

Understand the idealized argument for multiple vectors

To explain why this can help, the authors analyze documents decomposed into orthogonal segments.

d = Σᵢ₌₁ᵐ d⁽ⁱ⁾

d is the complete document representation, d⁽ⁱ⁾ is segment i, m is the number of segments, and Σ denotes their sum. Orthogonality means that the segments do not contribute overlapping directions in the assumed representation space.

Under the theorem’s conditions, the query’s relevant contribution is concentrated in a particular segment of the preferred document. Restricting attention to the appropriate segments can retain the score advantage while reducing the norm of the document difference.

μ(q, d₁⁽ⁱ⁾, d₂⁽ⁱ⁾) ≥ μ(q, d₁, d₂)

The left side is the normalized margin for segment i; the right side is the margin for the complete documents. The inequality holds under the stated alignment and orthogonality assumptions, not for arbitrary learned document vectors.

A larger margin can permit a smaller projection dimension at the same error target. But this is an explanatory construction. ME-BERT does not enforce orthogonal semantic segments, and real queries may depend on several parts of a document.

Instantiate and train the systems

For the controlled tasks, the authors initialize encoders from BERT, using its base configuration with 12 layers and 768-dimensional outputs. DE-BERT takes the classification-position vector for both query and document. Lower-dimensional variants use a learned projection followed by layer normalization, with k selected from 32, 64, 128, and 512.

ME-BERT uses m = 8 for the containment and Natural Questions experiments. Its contextual outputs can also be projected to a smaller dimension. All encoder parameters are adjusted through task training; the projection is not the only learned component.

The training objective is cross-entropy over a positive passage and negative candidates. For these experiments, the authors sample 7 negatives from a precomputed list of 200 documents and add negatives supplied by other examples in the batch. The batch provides 1024 candidates in total. The precomputed list combines 100 strong BM25 candidates with 100 randomly selected passages.

For scalable retrievers, the authors also try an additional hard-negative mining iteration when it helps. Hard negatives are passages the current retrieval system finds plausible in spite of their being unsuitable training targets. The procedure strengthens training around actual retrieval confusions rather than relying only on easy random alternatives.

The hybrid systems combine sparse and dense scores linearly. A single weight, λ, is fitted on development data. The authors describe this as interpolation; its purpose is to let lexical precision and learned similarity contribute together.

To search with the combined score, they retrieve top candidates from each component and rerank those candidates using the combination. This is an approximate candidate-union procedure. It differs from exhaustively evaluating the combined score across the whole collection.

ScaNN supplies vector search. Most experiments use its exact-search settings, while the supervised retrieval analysis also varies approximate-search settings to examine quality and time. The authors release the implementation as multivec within google-research/language.

Experiments and results

Establishing the random-projection relationship

The initial empirical study uses TREC-CAR to test whether the normalized-margin analysis predicts the dimensions needed to approximate BM25. For each query, the preferred document is the one with the highest BM25 score. The authors compare it with alternative documents and group these comparisons by margin.

The target pairwise error rate is β < .05. The search for a suitable dimension uses 40 candidate values of k between 32 and 9472. Within each margin group, the authors identify the smallest tested dimension that reaches 95% pairwise accuracy.

The observed relationship follows the theoretical shape: the required dimension grows roughly linearly with the inverse expression involving the squared and cubed margin. The paper describes the bound as matching the empirical relationship up to a constant factor. This is evidence about the dependence on margin, rather than proof that the numerical upper bound precisely predicts every minimum dimension.

Some comparisons exceed the difficulty covered by the displayed range. Those that do not reach 95% accuracy within the tested dimensions are excluded from that figure. The result therefore needs to be read together with the search range.

The margin measurements also show why the weighted case is demanding. In the collection used for this analysis, the minimum observed normalized margin is 6.8e-06 for BM25 and 0.0169 for Boolean matching. These numbers describe different scoring functions on that collection. They demonstrate that term weighting can create extremely close comparisons; they do not establish that every weighted ranking is difficult.

When documents are grouped by length, the authors inspect the 10th, 100th, and 1000th smallest margins. These decrease as the passages become longer. The dimension required for the chosen recall-at-10 target increases at the same time. This supplies the empirical bridge from margins to document length.

A controlled task where the query is inside the answer

The containment experiment deliberately emphasizes precise matching. Wikipedia text is segmented into passages, and queries are sampled as subsequences of their target passages. The sampled words remain in the target. Query lengths range between 5 and 25 tokens.

The dataset contains 1 million queries. Evaluation uses 5K queries, with the remainder available for training and validation. The authors construct separate collections with maximum passage lengths of 50, 100, 200, and 400 tokens. Each collection has 3 million candidates.

The collections also include synthetic distractors. These retain most query words but differ in one or two tokens. A retriever cannot succeed merely by noticing a broadly similar topic. It must distinguish near-matching wording from actual containment.

The reranking experiment uses 200 candidates: 100 retrieved by the bigram-enhanced BM25 variant and 100 random passages. The open retrieval experiment searches the complete candidate collection. Cross-attention is evaluated in the former setting because it is not suitable for unrestricted search at this scale.

MRR@10 is the main reported measure for this task. Reciprocal rank rewards placing the correct passage earlier, while the cutoff limits attention to the stated result depth. BM25 with unigram and bigram features exceeds 95 MRR@10 across the collections, showing how strongly an explicit lexical system fits this task.

The important pattern is the response to length. Single-vector DE-BERT becomes less competitive as passages grow. Multi-vector representations remain stronger, and the hybrid improves further. Cross-attention is nearly perfect in reranking and changes little across passage lengths.

A particularly informative comparison concerns a small-vector ME-BERT variant. Using several 64-dimensional document vectors lets it outperform a single-vector DE-BERT representation of dimension 512, in spite of comparable document-vector storage. This supports the value of distributing representation across searchable alternatives instead of treating total stored coordinates as the only determinant of quality.

Natural Questions tests semantic retrieval

The next task uses Natural Questions, where user questions must retrieve passages containing an answer. This is less favorable to a purely lexical strategy. The relevant passage need not repeat the question, and successful retrieval can depend on related wording.

The training set has 87,925 question–answer pairs, and the test set has 3,610. A portion of training data is held out for development. A retrieved passage counts as correct when it contains an exact string match to an annotated short answer.

The document collections again use maximum passage lengths of 50, 100, 200, and 400. Their approximate sizes are 39 million, 27.3 million, 16.1 million, and 10.2 million passages, respectively. These collections differ in how the same broad source material is partitioned, so comparing a fixed number of retrieved passages would favor different amounts of returned text.

The authors address that issue through recall@400 tokens. A system searching shorter passages can return more passages, while a system searching longer passages returns fewer. For the 50-token collection, the evaluation uses the top 8 passages; for the 100-token collection, it uses the top 4. The aim is to compare success under an approximately equal returned-text budget.

For reranking, the candidate list combines 100 BM25-unigram results and 100 random passages. Unigram BM25 is chosen because it is stronger for this task than the unigram-plus-bigram alternative.

Dense encoders fare better relative to BM25 here than on containment, consistent with the task’s greater need for semantic generalization. Nevertheless, representation size still matters. Larger single-vector encodings generally improve performance, and multi-vector encodings add further benefits, especially for longer passages.

The open retrieval setting makes the limitation more visible. For passage lengths above 50, only the higher-dimensional single-vector encoders outperform BM25. Sparse–dense hybrids improve on their separate components, and the benefit of adding sparse scores becomes more pronounced for longer passages.

These results support the architecture beyond the synthetic distractor task. They do not turn the compression theorem into a direct prediction of answer retrieval: the paper explicitly separates exact-match fidelity from the semantic demands of Natural Questions.

Supervised passage and document retrieval

The large-scale supervised evaluation uses MS MARCO. Its passage task searches about 8.8 mln passages and supplies about 532k training queries associated with relevant passages. The document task searches about 3 million documents and provides about 367 thousand training queries.

Development evaluation uses 6,980 queries for passage retrieval and 5,193 for document retrieval. The paper reports MRR@10 for these development results. It also evaluates on MS MARCO test data and the manually judged TREC DL 2019 collections.

For these supervised experiments, the retrievers and rerankers start from BERT-large. Training uses positive and negative candidates from BM25’s 1000-best list, with a hard-negative mining iteration when beneficial. Each task uses its own training data.

The document task receives an additional processing step. Following the comparison setup described by the authors, full documents are divided into overlapping passages with lengths up to 482 tokens. Each passage includes the document URL and title. ME-BERT uses m = 3 for passage retrieval and m = 4 for document retrieval.

The development results below compare efficient initial retrievers. The external sparse baseline is called BM25-E in the paper. For the passage task, it is the default Anserini system. Hybrid names ending in E indicate use of that external sparse component.

First-stage retrieval on MS MARCO passage development, MRR@10

The multi-vector hybrid improves on both the sparse baseline and the dense-only retrievers.

First-stage retrieval on MS MARCO passage development, MRR@10BM25-E: 0.184BM25-E0.184DE-BERT: 0.302DE-BERT0.302ME-BERT: 0.334ME-BERT0.334DE-HYBRID-E: 0.309DE-HYBRID-E0.309ME-HYBRID-E (this paper): 0.343ME-HYBRID-E (this paper)0.343
The numbers
System or settingMRR@10
BM25-E0.184
DE-BERT0.302
ME-BERT0.334
DE-HYBRID-E0.309
ME-HYBRID-E (this paper)0.343

The baseline set covers several ways of improving candidate retrieval. Document-expansion approaches add predicted query wording before sparse indexing. Contextual term-weighting approaches learn which document terms should contribute more strongly. These are different responses to the same requirement: improve retrieval while keeping the initial search affordable.

The authors compare against Doc2Query and DocT5Query as expansion systems. They also discuss DeepCT and HDCT as learned term-weighting systems. For reranking, the comparisons include a cascade of BERT scorers and the IDST pipeline. These comparisons help distinguish a first-stage retrieval contribution from gains produced by expensive downstream ranking.

On both development sets, the authors report statistical significance for all comparisons among DE-BERT, ME-BERT, DE-HYBRID-E, and ME-HYBRID-E under a Wilcoxon signed-rank test, with p-value < .0001. Statistical significance here supports the reported development comparisons; it does not establish equal gains for every query group or deployment collection.

Test performance and incomplete judgments

TREC DL 2019 provides a complementary test of retrieval quality. The paper reports NDCG@10, which evaluates how well the early results respect graded relevance judgments. It also reports recall and Holes@10.

Holes@10 is the proportion of early results without relevance judgments. This matters because a retriever can return passages outside the judged pool. A low evaluation score may then reflect a mixture of retrieval behavior and missing assessments.

The passage comparison shows the multi-vector and hybrid improvements under the graded ranking measure.

First-stage passage retrieval on TREC DL 2019 test, NDCG@10

Combining the multi-vector retriever with the external sparse system gives the strongest result in this comparison.

First-stage passage retrieval on TREC DL 2019 test, NDCG@10BM25-Anserini: 0.506BM25-Anserini0.506DE-BERT: 0.639DE-BERT0.639ME-BERT: 0.687ME-BERT0.687DE-HYBRID-E: 0.659DE-HYBRID-E0.659ME-HYBRID-E (this paper): 0.706ME-HYBRID-E (this paper)0.706
The numbers
System or settingNDCG@10
BM25-Anserini0.506
DE-BERT0.639
ME-BERT0.687
DE-HYBRID-E0.659
ME-HYBRID-E (this paper)0.706

For the same passage test, the reported recall values are 0.825 for BM25-Anserini and 0.977 for ME-HYBRID-E. These measure a different aspect of performance from NDCG@10: whether relevant material is recovered, rather than only how well the earliest positions are ordered.

Judgment coverage also changes across systems. Passage Holes@10 is 0.000 for the sparse baseline, 0.165 for DE-BERT, and 0.051 for ME-HYBRID-E. The hybrid therefore retains some of the dense retriever’s ability to return different material while producing fewer unjudged early results than that dense-only comparison.

The document test shows why distinguishing representation designs matters. A single dense vector does not improve the graded early ranking over the external baseline in this comparison. Additional document vectors change the outcome.

First-stage document retrieval on TREC DL 2019 test, NDCG@10

The multi-vector systems improve document ranking where the single-vector dense retriever trails the sparse baseline.

First-stage document retrieval on TREC DL 2019 test, NDCG@10Base-Indri: 0.517Base-Indri0.517DE-BERT: 0.510DE-BERT0.510ME-BERT: 0.588ME-BERT0.588DE-HYBRID-E: 0.595DE-HYBRID-E0.595ME-HYBRID-E (this paper): 0.610ME-HYBRID-E (this paper)0.610
The numbers
System or settingNDCG@10
Base-Indri0.517
DE-BERT0.510
ME-BERT0.588
DE-HYBRID-E0.595
ME-HYBRID-E (this paper)0.610

For document recall, the external baseline reaches 0.785 and ME-HYBRID-E reaches 0.914. Document Holes@10 is 0.002 for the baseline, 0.188 for DE-BERT, and 0.063 for ME-HYBRID-E.

The MS MARCO test results use their own reciprocal-rank cutoffs. Passage MRR@10 is 0.186 for BM25-Anserini and 0.336 for ME-HYBRID-E. Document MRR@100 is 0.192 for the external document baseline and 0.310 for ME-HYBRID-E. Keeping those cutoffs explicit avoids treating the passage and document numbers as interchangeable measurements.

Better candidates reduce pressure on reranking

The paper evaluates the initial retrievers inside a later cross-attention pipeline. When a reranker can inspect many candidates, differences among initial retrieval systems become less influential. Several retrievers can supply enough useful material for the later scorer to recover strong rankings.

The advantage of a better initial stage grows when the candidate list is short. The authors vary reranking depth from 10 to 1000 candidates. ME-BERT and the hybrids provide substantial gains when only a small number of documents can receive the expensive score.

This is an important systems result. Improving retrieval is not useful only when a system has no reranker. It can also improve the accuracy available at a restricted reranking budget.

Storage and search time

The efficiency experiment uses ScaNN on a machine with 160 Intel Xeon CPU cores at 2.20GHz and 1.88TB memory. Both retrievers use query vectors with k = 1024. DE-BERT stores a single vector per passage; ME-BERT stores 3.

The DE-BERT index occupies 34.2GB. ME-BERT’s index is approximately three times as large. Index construction takes 1.52h for DE-BERT and 3.02h for ME-BERT.

Search settings vary the amount of approximate-index exploration. The configuration has 5000 leaves, and the number searched ranges from 25 to 2000. Query time is measured with parallel inference over all 160 cores.

In the higher-quality region of the measured tradeoff, ME-BERT reaches better MRR at the same query time. The additional index entries therefore do not translate directly into a proportionate latency penalty. This finding is specific to the measured index, hardware, and search settings; the paper does not supply a universal runtime law for multi-vector retrieval.

What the ablations show

Dimension and document length interact

The controlled experiments vary embedding dimension while changing the maximum passage length. This makes it possible to distinguish a generally beneficial increase in capacity from a capacity problem that becomes more severe as inputs grow.

On containment, the single-vector systems lose ground especially quickly as passages become longer. Their task is deliberately simple in semantic terms: retrieve the passage that already contains the query. The failure therefore cannot be explained solely as an inability to understand paraphrases or infer related concepts.

Natural Questions adds a different requirement. Dense representations can outperform sparse retrieval because semantic relationships matter, yet low-dimensional versions still struggle on longer passages. Taken together, the tasks show that semantic usefulness and precise lexical fidelity are separate properties. A system can possess the former without consistently retaining the latter.

These are controlled comparisons, not a complete factorial study of every training and architecture choice. Passage length changes the collection partitioning, and the tasks do not hold every incidental property constant. The evidence is strongest for a recurring interaction between representation constraints and document length.

Representation structure matters beyond stored size

The comparison between ME-BERT with smaller vectors and DE-BERT with a larger single vector tests whether all document coordinates are equally useful regardless of organization. The multi-vector design performs better in the reported comparisons despite similar document-representation storage.

The reason suggested by the architecture is selective matching. A query can receive a high score from a document vector that captures a useful aspect without requiring unrelated aspects to be merged into the same final vector. The maximum operation provides alternative ways for the document to match.

The experiments support this architectural benefit. They do not show that each retained output vector specializes in a stable topic, entity, or section. The theoretical segment interpretation explains a possibility, while the trained representations remain contextual outputs whose internal division of labor is not established.

This distinction matters for interpretation. A multi-vector index can reveal which stored vector produced a match, but that does not automatically turn the vector into readable evidence about a document segment.

Sparse scores contribute information the dense systems miss

The hybrid comparisons ask whether dense retrieval already contains everything BM25 offers. If that were the case, combining the scores would have little reason to help consistently.

Instead, the combinations improve on dense-only systems across the main retrieval tasks. The benefit becomes especially visible for longer passages. This matches the paper’s motivating account: lexical signals can recover exact distinctions made less reliable by compression.

The result should not be reduced to an unconditional rule that adding any sparse system always improves a dense retriever. The authors tune the combination weight on development data and test particular sparse implementations. Their evidence establishes complementarity under those conditions.

The external and internal sparse baselines also matter. The paper evaluates hybrids using its own BM25 implementation and externally available systems. This prevents the hybrid story from depending entirely on a single chosen lexical baseline.

Cross-attention identifies a remaining expressiveness gap

Cross-attention is the strongest architecture in the controlled reranking experiments. On containment, it is nearly perfect across passage lengths. On Natural Questions, it also remains substantially stronger than the efficient independently encoded alternatives.

This comparison shows that ME-BERT narrows a practical gap without closing it. Keeping query and document encoding separate still limits the interactions available at scoring time.

It also helps locate the compromise. ME-BERT is designed to retain indexability, not to reproduce every computation available to a joint encoder. The efficiency constraint is part of the research question, so the strongest reranking score is not by itself the most appropriate first-stage retrieval design.

Candidate depth changes the value of retrieval improvements

The reranking-depth analysis demonstrates a dependency that aggregate final scores can obscure. With enough candidates, the later scorer has more opportunities to find relevant material. With fewer candidates, omissions in initial retrieval become harder to repair.

The improved retrievers are therefore especially valuable where cross-attention is tightly budgeted. This is evidence about interaction between pipeline stages, rather than an isolated comparison of relevance functions.

The paper also measures approximate-search quality and time. That analysis supports the practical use of the multi-vector score, but it does not fully integrate representation learning with approximate-index errors during training. The authors identify that broader combination as future work.

Limitations

The authors limit the scope of the theory

The theoretical results principally analyze random linear compression. A trained nonlinear encoder may exploit regularities in language that a random map cannot use. The authors explicitly acknowledge that naturally distributed queries and documents might occupy an easier structure than arbitrary vectors.

The general lower bounds do not remove this qualification. They establish that some vector sets require a certain growth in dimension when inner products must be preserved accurately. They do not establish that all text collections are such sets.

The authors also distinguish inner-product preservation from ranking preservation. A nonlinear encoder might change scores substantially while keeping the relevant orderings correct. As a result, a lower bound on score distortion cannot simply be read as a lower bound on the dimension required for successful learned retrieval.

There is another important gap between the theory and the full task. Retrieval benefits from semantic generalization, but the fidelity analysis studies preservation of a sparse reference. The authors do not derive a dimensionality law for understanding related concepts or predicting answer relevance.

Fidelity is a diagnostic, not a complete objective

A careful reader should distinguish losing a BM25 preference from making a relevance error. BM25 can favor the wrong document. A dense encoder that reverses that ordering may have improved the actual search result.

The paper’s use of fidelity remains valuable because it isolates a recognizable capability: retaining term-based distinctions. But an engineer should not train a system to imitate every sparse ordering merely because those orderings are easy to inspect.

The same issue applies to the TREC-CAR projection analysis. The preferred document is selected by BM25 itself. That makes the experiment an evaluation of compression fidelity, instead of an independent relevance benchmark.

The containment task narrows this gap because the desired relation is explicit. Even there, however, success measures a specially constructed retrieval problem. It cannot alone establish performance on ordinary information-seeking queries.

The multi-vector theorem uses strong assumptions

The authors state that the segment argument assumes orthogonality and a query aligned with a particular segment. Real passages mix vocabulary, connect ideas across sentences, and may require evidence from several locations.

ME-BERT does not enforce the theorem’s segmentation. It retains several contextual outputs from the beginning of the encoded sequence. These outputs may collect information from the whole document, but the paper does not prove that they behave like independent orthogonal parts.

The theorem therefore offers a reason why multiple representations can improve normalized margins in an idealized case. The realistic evidence comes from experiments, not from treating its assumptions as established properties of the trained system.

Retrieval correctness is operationalized narrowly

For Natural Questions, a passage counts as correct if it contains an exact match to an annotated short-answer string. This is a clear and reproducible retrieval criterion, but it is narrower than judging whether the passage fully supports an answer.

A matching string can occur without supplying the right explanation or relationship. Conversely, a passage might express useful information without using an annotated answer’s exact form. These are limitations a careful reader can infer from the criterion; they are not additional error rates reported by the authors.

Recall@400 tokens improves the comparison across passage lengths by approximately balancing returned text. It does not make all candidate passages equally informative, nor does it guarantee equal downstream processing costs for every possible reader.

The experiments do not establish universal transfer

The evaluation centers on the paper’s Wikipedia-derived tasks and the supervised search benchmarks it names. It does not show that the same settings are optimal for every domain, language, document type, or query distribution.

The supervised tasks use task-specific training. Their results establish effectiveness in that setup rather than zero-shot transfer to unfamiliar collections.

Similarly, the selected document-vector counts vary by experiment. The authors use m = 8 in the controlled studies and smaller counts in the supervised benchmarks. This is evidence that the architecture can work with modest sets of vectors, not a universal prescription for choosing m.

The comparison with prior systems also depends on the reported benchmark conditions. Some baselines expand documents, some learn term weights, and some use later reranking stages. The paper separates retrieval and reranking results, and that separation should be preserved when interpreting which system is stronger.

Evaluation and efficiency retain practical qualifications

The TREC judgments are incomplete, which is why Holes@10 is reported. That measure makes the issue visible but does not establish the relevance of unjudged results. Differences in assessed coverage remain part of the interpretation.

The runtime measurements use substantial parallel CPU resources and a specified ScaNN configuration. A smaller machine, another index, a different query load, or a collection with different geometry could produce another quality–latency relationship.

Multiple vectors also impose a real storage cost. The paper reports that cost rather than claiming the architecture is free. The result is a favorable measured tradeoff, not the removal of the memory constraint.

Finally, the authors leave joint treatment of learned representations and approximate retrieval for future work. Their approximate-search experiment is informative, but it does not fully answer how representations should be trained to tolerate or exploit the particular errors of an approximate index.

What came after

The paper’s continuing value lies in the questions it makes explicit: what a compressed representation preserves, how lexical and semantic evidence interact, and which interactions can be moved into an efficient search index. The later citation record spans training methods, representation granularity, hybrid retrieval, and evaluation. A citation establishes that later authors engaged with the work; it does not on its own establish adoption of ME-BERT or experimental confirmation of every theoretical claim.

More interaction without full joint scoring

ColBERTv2 belongs to the late-interaction line represented in the later-work list. In that family, query tokens and passage tokens each receive their own vectors. Each query token finds its strongest passage-token match, and the resulting matches are added.

This provides a useful comparison with ME-BERT’s design. Both approaches allow several representations to participate in matching, but ME-BERT keeps a single query vector and takes a maximum over a fixed document-vector set. Token-level late interaction preserves a richer set of query-side distinctions. The descriptions available here support that architectural comparison, without establishing a particular performance advantage for the later system.

M3-Embedding names multilinguality, multiple functions, and multiple granularities as its scope, with self-knowledge distillation in its title. Its connection to the present paper is the broader representation question: a single compact interface need not be the only useful way to support retrieval. The citation information does not specify which of this paper’s mechanisms M3 adopts.

Dense X Retrieval explicitly asks what retrieval granularity should be used. That question sits close to the length analysis here. Deciding how text is divided changes what each representation must retain and what a returned item contains. The later-work listing supports this thematic connection, but it does not provide results about which granularity wins.

Better training addresses another part of the problem

Several citing works focus on how dense representations are learned. Unsupervised Dense Retrieval identifies contrastive learning without supervised retrieval labels as its subject. RocketQA presents an optimized training approach for dense passage search. Topic-Aware Dense Retriever Training foregrounds balanced topic-aware sampling.

These titles indicate different training directions instead of a shared adoption of the multi-vector architecture. Their relevance is that representation capacity and training quality are separate concerns. A fixed architecture can improve through a better learning signal, while the paper’s length analysis asks which distinctions that architecture is being asked to retain.

The relationship is more specific for Approximate Nearest Neighbor Negative Contrastive Learning. The paper already discusses that work as a concurrent approach to more sophisticated negative selection. It therefore belongs to the surrounding development of dense retrieval, rather than a simple sequence in which the present paper appeared first and all cited systems followed it.

Condenser and RetroMAE identify retrieval-oriented pretraining as their concern. The supplied citation descriptions do not establish whether they test the normalized-margin argument or use ME-BERT’s maximum score. They show that later research also attacks retrieval quality before task-specific ranking training begins.

Exact matching and generalization remain connected

COIL places exact lexical matching alongside contextualized inverted lists in its title. This is closely related to the distinction the paper insists on preserving: learned contextual information and explicit term identity need not be treated as mutually exclusive resources. The citation record alone does not justify a claim that COIL implements the paper’s particular hybrid formula.

AdaCQR names alignment between sparse and dense retrieval in the context of conversational query reformulation. That places complementarity at another point in the search process: the query itself. The title supports the connection to sparse–dense alignment, but supplies no basis for reporting its mechanisms or results in greater detail.

The later list also includes BEIR, whose stated subject is heterogeneous zero-shot evaluation. Its relevance is evaluative. Strong task-specific performance leaves open whether a retriever behaves well across different collections and query distributions. That is a natural next question after the supervised and controlled experiments reported here, without implying that BEIR establishes a particular answer about ME-BERT.

Across these directions, the durable contribution is a disciplined way to ask what retrieval representations are buying and losing. Training can improve semantic generalization; additional vectors can change the matching interface; explicit lexical evidence can protect precise distinctions. The paper makes those choices observable through margins, length-conditioned evaluation, retrieval depth, and measured search costs.

 Institutions

 Fields, topics and concepts

Cite

Cite as Yi Luan, Jacob Eisenstein, Kristina Toutanova and Michael Collins. 2021. Sparse, Dense, and Attentional Representations for Text Retrieval. Transactions of the Association for Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1162/tacl_a_00369

@article{luan2021sparse,
  title = {{Sparse, Dense, and Attentional Representations for Text Retrieval}},
  author = {Yi Luan, Jacob Eisenstein, Kristina Toutanova and Michael Collins},
  journal = {Transactions of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.1162/tacl\_a\_00369},
  url = {https://doi.org/10.1162/tacl_a_00369}
}

References

39 references, 11 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. Dimitris Achlioptas. 2003. Database-friendly random projections: Johnson-Lindenstrauss with binary coins. Journal of Computer and System Sciences, 66(4):671–687. DOI: https:// OpenAlex ↗ · Scholar ↗
  2. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies.
  3. Samuel Humeau, Kurt Shuster, Marie-Anne Lachaux, and Jason Weston. 2020. Poly-encoders: Transformer architectures and pre-training strategies for fast and accurate multi-sentence scoring. In Proceedings of the International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
  4. Laura Dietz, Ben Gamari, Jeff Dalton, and Nick Craswell. 2018. TREC complex answer retrieval overview. In Text REtrieval Conference (TREC). OpenAlex ↗ · Scholar ↗
  5. Thathachar S. Jayram and David P. Woodruff. 2013. Optimal bounds for Johnson-Lindenstrauss transforms and streaming problems with subconstant error. ACM Transactions on Algorithms (TALG), 9(3):1–17. DOI: https://doi.org/10.1145/2483699.2483706 OpenAlex ↗ · Scholar ↗
  6. Luyu Gao, Zhuyun Dai, Zhen Fan, and Jamie Callan. 2020. Complementing lexical retrieval with semantic residual embedding. CoRR, abs/2004.13969. Version 1. — arXiv:2004.13969 OpenAlex ↗ · Scholar ↗
  7. William B. Johnson and Joram Lindenstrauss. 1984. Extensions of Lipschitz mappings into a Hilbert space. Contemporary Mathematics, 26(189–206):1. OpenAlex ↗ · Scholar ↗
  8. Daniel Gillick, Sayali Kulkarni, Larry Lansing, Alessandro Presta, Jason Baldridge, Eugene Ie, and Diego Garcia-Olano. 2019. Learning dense representations for entity retrieval. In Proceedings of the 23rd Conference on Computational Natural Language Learning (CoNLL). DOI: https://doi.org/10.18653/v1…
  9. Daniel Kane, Raghu Meka, and Jelani Nelson. 2011. Almost optimal explicit Johnson-Lindenstrauss families. Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques. OpenAlex ↗ · Scholar ↗
  10. Jiafeng Guo, Yixing Fan, Qingyao Ai, and W. Bruce Croft. 2016a. A deep relevance matching model for ad-hoc retrieval. In Proceedings of the 25th ACM International on Conference on Information and Knowledge Management. OpenAlex ↗ · Scholar ↗
  11. Ruiqi Guo, Sanjiv Kumar, Krzysztof Choromanski, and David Simcha. 2016b. Quantization based fast inner product search. In Proceedings of the International Conference on Artificial Intelligence and Statistics (AISTATS). OpenAlex ↗ · Scholar ↗
  12. Ruiqi Guo, Philip Sun, Erik Lindgren, Quan Geng, David Simcha, Felix Chern, and Sanjiv Kumar. 2020. Accelerating large-scale inference with anisotropic vector quantization. In Proceedings of the 37th International Conference on Machine Learning. OpenAlex ↗ · Scholar ↗
  13. Po-Sen Huang, Xiaodong He, Jianfeng Gao, Li Deng, Alex Acero, and Larry Heck. 2013. Learning deep structured semantic models for web search using clickthrough data. In Proceedings of the International Conference on Information and Knowledge Management (CIKM). DOI: https://doi.org/10.1145 /2505515.25… OpenAlex ↗ · Scholar ↗
  14. Vladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis, Ledell Wu, Sergey Edunov, Danqi Chen, and Wen-tau Yih. 2020. Dense passage retrieval for open-domain question answering. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP). DOI: https://doi.org…
  15. Omar Khattab and Matei Zaharia. 2020. Col-BERT. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval. DOI: https://doi.org/10.1145/3397271 .3401075 — doi:10.1145/3397271 OpenAlex ↗ · Scholar ↗
  16. Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, Kristina Toutanova, Llion Jones, Matthew Kelcey, Ming-Wei Chang, Andrew M. Dai, Jakob Uszkoreit, Quoc Le, and Slav Petrov. 2019. Natural…
  17. DOI: Rodrigo Nogueira, Wei Yang, Kyunghyun Cho, and Jimmy Lin. 2019a. Multi-stage document ranking with BERT. CoRR, abs/1910.14424. https://doi.org/10.1162/tacl a 00276 OpenAlex ↗ · Scholar ↗
  18. Cody Kwok, Oren Etzioni, and Daniel S. Weld. 2001. Scaling question answering to the web. ACM Transactions on Information Systems (TOIS), 19(3):242–262. DOI: https://doi.org/10.1145/502115 .502117 OpenAlex ↗ · Scholar ↗
  19. Rodrigo Nogueira, Wei Yang, Jimmy Lin, and Kyunghyun Cho. 2019b. Document expansion by query prediction. CoRR, abs/1904.08375.
  20. Nils Reimers and Iryna Gurevych. 2019. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. In Proceedings of Empirical Methods in Natural Language Processing (EMNLP). DOI: https://doi.org/10.18653/v1/D19-1410
  21. Kasper Green Larsen and Jelani Nelson. 2017. Optimality of the Johnson-Lindenstrauss lemma. In 2017 IEEE 58th Annual Symposium on Foundations of Computer Science (FOCS). DOI: https://doi.org/10.1109/FOCS .2017.64 — doi:10.1109/focs OpenAlex ↗ · Scholar ↗
  22. Stephen Robertson, and Hugo Zaragoza. 2009. The probabilistic relevance framework: BM25 and beyond. Foundations and Trends in Information Retrieval, 3(4):333–389. DOI: https://doi.org/10.1561/1500000019 OpenAlex ↗ · Scholar ↗
  23. Kenton Lee, Ming-Wei Chang, and Kristina Toutanova. 2019. Latent retrieval for weakly supervised open domain question answering. In Proceedings of the Association for Computational Linguistics (ACL).
  24. Minjoon Seo, Jinhyuk Lee, Tom Kwiatkowski, Ankur Parikh, Ali Farhadi, and Hannaneh Hajishirzi. 2019. Real-time open-domain question answering with dense-sparse phrase index. In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.
  25. Ji Ma, Ivan Korotkov, Yinfei Yang, Keith Hall, and Ryan T. McDonald. 2020. Zero-shot neural retrieval via domain-targeted synthetic query generation. CoRR, abs/2004.14503. — arXiv:2004.14503 OpenAlex ↗ · Scholar ↗
  26. Bhaskar Mitra and Nick Craswell. 2018. An introduction to neural information retrieval. Foundations and Trends R in Information Retrieval, 13(1):1–126. DOI: doi:10.1561/1500000061 OpenAlex ↗ · Scholar ↗
  27. Karen Spärck Jones. 1972. A statistical interpretation of term specificity and its application in retrieval. Journal of Documentation, 28(1):11–21. DOI: https://doi.org/10 .1108/eb026526 OpenAlex ↗ · Scholar ↗
  28. Karthik Narasimhan, Adam Yala, and Regina Barzilay. 2016. Improving information extraction by acquiring external evidence with reinforcement learning. In Proceedings of Empirical Methods in Natural Language Processing (EMNLP). DOI: https://doi.org/10.18653/v1/D16-1261 OpenAlex ↗ · Scholar ↗
  29. Nishant Subramani, Samuel Bowman, and Kyunghyun Cho. 2019. Can unconditional language models recover arbitrary sentences? In Advances in Neural Information Processing Systems. OpenAlex ↗ · Scholar ↗
  30. Santosh S. Vempala. 2004. The Random Projection Method, volume 65. American Mathematical Society. OpenAlex ↗ · Scholar ↗
  31. Tri Nguyen, Mir Rosenberg, Xia Song, Jianfeng Gao, Saurabh Tiwary, Rangan Majumder, and Li Deng. 2016. MS MARCO: A human generated machine reading comprehension dataset.
  32. Ellen M. Voorhees. 2001. The TREC question answering track. Natural Language Engineering, 7(4):361–378. DOI: https://doi.org/10.1017/S1351324901002789 OpenAlex ↗ · Scholar ↗
  33. Rodrigo Nogueira and Kyunghyun Cho. 2019. Passage re-ranking with BERT. CoRR, abs /1901.04085.
  34. John Wieting and Douwe Kiela. 2019. No training required: Exploring random encoders for sentence classification. In Proceedings of the International Conference on Learning Representations (ICLR). OpenAlex ↗ · Scholar ↗
  35. Rodrigo Nogueira and Jimmy Lin. 2019. From doc2query to doctttttquery. https://github.com/castorini/docTTTTTquery Lee Xiong, Chenyan Xiong, Ye Li, Kwok-Fung Tang, Jialin Liu, Paul Bennett, Junaid Ahmed, and Arnold Overwijk. 2020. Approximate nearest neighbor negative contrastive learning for dense…
  36. Ming Yan, Chenliang Li, Chen Wu, Bin Bi, Wei Wang, Jiangnan Xia, and Luo Si. 2020. IDST at TREC 2019 deep learning track: Deep cascade ranking with generation-based document expansion and pre-trained language modeling. In Text REtrieval Conference (TREC). OpenAlex ↗ · Scholar ↗
  37. Peilin Yang, Hui Fang, and Jimmy Lin, New York, NY, USA. 2018a. Anserini: Reproducible ranking baselines using lucene. Journal of Data and Information Quality, 10(4). DOI: doi:10.1145/3239571 OpenAlex ↗ · Scholar ↗
  38. Wei Yang, Haotian Zhang, and Jimmy Lin. 2019. Simple applications of BERT for ad hoc document retrieval. CoRR, abs/1903.10972. OpenAlex ↗ · Scholar ↗
  39. Proofs A.1 Lemma 1 k \< 2 exp(− ( ǫ 2 / 2 − ǫ 3 / 3)) . 2 OpenAlex ↗ · Scholar ↗

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/luan-2021-sparse-dense-attentional-representations-text/