- Embedding
Sum = bag of words: the summed text embedding, like the VSM document vector (sum of one-hot encodings), ignores word order because addition is commutative: “cute cats eating” and “eating cute cats” get the same vector and cos-sim 1. §
- Inverted Index
In practice, most entries are zero (sparse), so the inverted index is far more compact than a full term-document matrix. §
- LSI Ranking
Let A∈Rm×n be the term-document matrix of the Vector Space Model (m terms, n documents, e.g. tf.idf entries) and A=USV its reduced SVD with U∈Rm×r, S∈Rr×r… §
- One-Hot Encoding
Documents and queries are sums: a document column of the term-document matrix in the Vector Space Model (VSM) is the sum of the one-hot encodings of its words, with multiplicity: d=∑w∈docew (with tf entries). A query… §
- Sparse Matrix
Typical case: a term-document matrix in the Vector Space Model, where ∣V∣ is large but each document contains only a small fraction of the vocabulary, so storing all entries is infeasible. §
- TF-IDF
Arranging the tf.idf scores of all terms and documents gives the term-document matrix A of the Vector Space Model, with rows = terms, columns = documents: §
- Term Frequency
In the Vector Space Model with the tf term-document matrix A (Aij=tf(ti,Dj)) and the 0/1 query vector q, this is qTA for all documents at once. §
- VL11 – Vector Space Model, Word Embeddings
In the Vector Space Model (VSM) each document is a vector with one component per word; in this context words are called terms. Putting the vectors of all documents of a corpus side by side gives the term-document matrix A (rows = terms,… §
Vector Space Model (VSM) — documents as columns of a term-document matrix, retrieval as qTA §
- VL13 – Evaluation, Exam, Work in our Group
Slide 18. This task combines dot-product ranking in the vector space model with P@k, P@R and average precision from the Evaluation topic. §
Vector Space Model (VSM) — dot-product ranking qTA over a term-document matrix in the WS 22/23 Task 3.1 example §
- Latent Semantic Indexing
Starting point. In the vector space model the term-document matrix A∈Rm×n (m terms, n documents) scores all documents for a query vector q∈Rm at once as q⊤A. A document only gets a score… §
- Word Embeddings and Language Models
Vector Space Model — documents as term-score vectors in a term-document matrix A; retrieval as q⊤A §
| VSM / one-hot | ei, orthogonal | sum of one-hot encodings = column of A (tf), or BM25 scores | ∣V∣, sparse | cos-sim 0 | lost (bag of words) | §