You will be shown an excerpt from a computer science scientific research paper, followed by a question about the paper. Please answer the question. Do not include any text in your response other than the answer.

Context: An attention function can be described as mapping a query and a set of key-value pairs to an output, where the query, keys, values, and output are all vectors. The output is computed as a weighted sum of the values, where the weight assigned to each value is computed by a compatibility function of the query with the corresponding key.

Question: What are similarities and differences between Key, Value, and Query?
Key, Value and Query are all vectors, All are used to compute attention. Queries are mapped to a pair of key and value during attention computations.