Skip to content
Book a conversation

Vector representation

Understand how information can be represented as numerical vectors and why vectors, embeddings, and similarity are different concepts.

Luiz GardelinUpdated Read in Markdown
All terms

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation
On this pageIntroduction

A vector representation describes information through a sequence of numbers organized into dimensions. Google's machine learning glossary introduces vectors with different numbers of elements and gives examples of information represented this way. The representation enables mathematical operations on data, but its meaning depends on how the numbers were defined. Google, vector.

Representation depends on purpose

A vector may contain measurements selected by people or be produced by a model. Vector representation is therefore broader than an embedding. In semantic search, embeddings are generally produced by models trained to represent relationships useful to the task. This does not mean every embedding is learned: Kocmi and Bojar study random word embeddings held fixed while other parts of the network are trained. That experiment does not support recommending random vectors for semantic search. Kocmi and Bojar, non-trainable embeddings.

In a hypothetical example, a team represents each support request with three numbers: the number of attachments, days open, and number of interactions. This representation could help compare requests according to those measurements. It does not establish whether their subjects are similar. A representation learned from the text could express other relationships, but would need its own evaluation.

In vector search, the system compares a query's representation with the representations of content. Microsoft's documentation describes retrieval through vector similarity, including possible conceptual relationships. This does not make every vector suitable for every task. The information represented and the comparison method remain decisive. Microsoft, vector search.

What distance does not establish

Two nearby items are similar according to the chosen representation and measure. In the hypothetical example, requests with the same number of interactions could concern entirely different problems. A dimension might also dominate the comparison if the design does not match the intended purpose. Interpretation should begin with the features actually encoded, rather than treating numerical proximity as a complete description of the items.

For an organization, useful questions include what information enters the vector, who defined the representation, and which kind of proximity will help people work. The connection with the original record also needs to be retained, since the numbers do not replace reading the source. Numerical similarity does not establish truth, currency, relevance to a decision, or access authorization. A representation is a comparison instrument with a particular scope that needs to be understood and tested.

Sources

  1. Machine Learning Glossary Google

    Defines vectors, embeddings, grounding, and citation measures, distinguishing representation, source relationships, and factual correctness.

  2. An Exploration of Word Embedding Initialization in Deep-Learning Tasks ACL Anthology

    Section 5.2 examines random word embeddings held fixed while other parts of the network are trained. The study concerns language tasks and does not support recommending this choice for semantic search.

  3. Vector search in Azure AI Search Microsoft

    Explains numerical representation, similarity, and indexing and query stages in a vendor implementation.

Written by

Luiz Gardelin

Founder and lead consultant at The Company Brain

Luiz Gardelin is the founder and lead consultant at The Company Brain, an AI organizational transformation consultancy based in Brazil. He also founded Webinhood and Tropk.ai.

See all content by this author

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation

Related terms

Continue reading

All resources