Vector space model

Vector space model

Vector space model (or "term vector model") is an algebraic model for representing text documents (and any objects, in general) as vectors of identifiers, such as, for example, index terms. It is used in information filtering, information retrieval, indexing and relevancy rankings. Its first use was in the SMART Information Retrieval System.

Definitions

A document is represented as a vector. Each dimension corresponds to a separate term. If a term occurs in the document, its value in the vector is non-zero. Several different ways of computing these values, also known as (term) weights, have been developed. One of the best known schemes is tf-idf weighting (see the example below).

The definition of "term" depends on the application. Typically terms are single words, keywords, or longer phrases. If the words are chosen to be the terms, the dimensionality of the vector is the number of words in the vocabulary (the number of distinct words occurring in the corpus).

Applications

Relevancy rankings of documents in a keyword search can be calculated, using the assumptions of document similarities theory, by comparing the deviation of angles between each document vector and the original query vector where the query is represented as same kind of vector as the documents.

In practice, it is easier to calculate the cosine of the angle between the vectors instead of the angle:

:cos{ heta} = frac{mathbf{v_1} cdot mathbf{v_2{left| mathbf{v_1} ight| left | mathbf{v_2} ight

A cosine value of zero means that the query and document vector were orthogonal and had no match (i.e. the query term did not exist in the document being considered).

Example: tf-idf weights

In the classic vector space model proposed by Salton, Wong and Yang the term specific weights in the document vectors are products of local and global parameters. The model is known as term frequency-inverse document frequency model. The weight vector for document "d" is mathbf{v}_d = [w_{1,d}, w_{2,d}, ldots, w_{N,d}] ^T, where

:w_{t,d} = mathrm{tf}_t cdot log{frac{|{t in d}| is inverse document frequency (a global parameter). |D| is the total number of documents in the document set; |{t in d}| is the number of documents containing the term "t".

In a simpler Term Count Model the term specific weights do not include the global parameter. Instead the weights are just the counts of term occurrences: w_{t,d} = mathrm{tf}_t.

Limitations

The vector space model has the following limitations:

#Long documents are poorly represented because they have poor similarity values (a small scalar product and a large dimensionality)
#Search keywords must precisely match document terms; word substrings might result in a "false positive match"
#Semantic sensitivity; documents with similar context but different term vocabulary won't be associated, resulting in a "false negative match".
#The order in which the terms appear in the document is lost in the vector space representation.

Models based on and extending the vector space model

Models based on and extending the vector space model include:
* Generalized vector space model
* (enhanced) Topic-based Vector Space Model [http://kuropka.net/files/HPI_Evaluation_of_eTVSM.pdf] (eTVSM) — Extends the vector space model by removing the constraint that the term-vectors be orthogonal. In contrast to the generalized vector space model the (enhanced) Topic-based Vector Space Model does not depend on concurrence-based similarities between terms. The enhancement of the enhanced Topic-based Vector Space Model (compared to the not enhanced one) is a proposal on how to derive term-vectors from an Ontology.
* Latent semantic analysis
* DSIR model
* Term Discrimination

Further reading

* G. Salton, A. Wong, and C. S. Yang (1975), " [http://www.cs.uiuc.edu/class/fa05/cs511/Spring05/other_papers/p613-salton.pdf A Vector Space Model for Automatic Indexing] ," "Communications of the ACM", vol. 18, nr. 11, pages 613–620. "(The article in which the vector space model was first presented)"
* [http://isp.imm.dtu.dk/thor/projects/multimedia/textmining/node5.html Description of the vector space model]
* [http://kuropka.net/files/HPI_Evaluation_of_eTVSM.pdf Description and Evaluation of the enhanced Topic-based Vector Space Model]
* [http://www.miislita.com/term-vector/term-vector-3.html Description of the classic vector space model by Dr E Garcia]

ee also

*Inverted index
*Compound term processing


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Symplectic vector space — In mathematics, a symplectic vector space is a vector space V equipped with a nondegenerate, skew symmetric, bilinear form omega; called the symplectic form. Explicitly, a symplectic form is a bilinear form omega; : V times; V rarr; R which is *… …   Wikipedia

  • Vector quantization — is a classical quantization technique from signal processing which allows the modeling of probability density functions by the distribution of prototype vectors. It was originally used for data compression. It works by dividing a large set of… …   Wikipedia

  • Space (mathematics) — This article is about mathematical structures called spaces. For space as a geometric concept, see Euclidean space. For all other uses, see space (disambiguation). A hierarchy of mathematical spaces: The inner product induces a norm. The norm… …   Wikipedia

  • Vector graphics — This article is about computer illustration. For other uses, see Vector graphics (disambiguation). Example showing effect of vector graphics versus raster graphics. The original vector based illustration is at the left. The upper right image… …   Wikipedia

  • Model theory — This article is about the mathematical discipline. For the informal notion in other parts of mathematics and science, see Mathematical model. In mathematics, model theory is the study of (classes of) mathematical structures (e.g. groups, fields,… …   Wikipedia

  • Vector field reconstruction — [ [http://prola.aps.org/pdf/PRE/v51/i5/p4262 1 Global Vector Field Reconstruction from a Chaotic Experimental Signal in Copper Electrodissolution.] Letellier C, Le Sceller L , Maréchal E, Dutertre P, Maheu B, Gouesbet G, Fei Z, Hudson JL.… …   Wikipedia

  • Vector-field consistency — [ designation coined by L. Veiga. ] is a consistency model for replicated data (e.g., objects), described in the paper by cite paper | author=Nuno Santos, Luís Veiga, Paulo Ferreira | date=2007 | title=Vector Field Consistency for Adhoc Gaming|… …   Wikipedia

  • Vector field — In mathematics a vector field is a construction in vector calculus which associates a vector to every point in a (locally) Euclidean space.Vector fields are often used in physics to model, for example, the speed and direction of a moving fluid… …   Wikipedia

  • Vector Motors — Infobox Company company name = Vector Motors Corporation company company type = Private foundation = 1971 location = Wilmington, California key people = Gerald Wiegert Chairman CEO industry = Automotive products = The Vector Vector W2 Vector W8… …   Wikipedia

  • Space frame — The roof of this industrial building is supported by a space frame structure. A space frame or space structure is a truss like, lightweight rigid structure constructed from interlocking struts in a geometric pattern. Space frames can be used to… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”