In one embodiment, an embedding is determined for each entity in a set of entities that is selected from a plurality of entities. Each embedding corresponds to a point in an embedding space, which includes points corresponding to embeddings of entities. The embeddings of the entities are determined using a deep-learning model. Embeddings are determined for each entity attribute in a set of entity attributes. Each of the entity attributes in the set is of an entity-attribute type and is associated with at least one entity. The entity-attribute embeddings are refined using the deep-learning model. The embeddings of the entities in the set of entities are modified based on the entity-attribute embeddings that are associated with the respective entity to obtain updated embeddings for each entity in the set. The updated embeddings include information regarding the entity attributes that are associated with the respective entities.
Please help me write a proper abstract based on the patent claims. CLAIM: 1. A method comprising: determining, by one or more computing devices, an embedding for each entity in a first set of entities, wherein: the first set of entities is selected from a plurality of entities, each embedding corresponds to a point in an embedding space, the embedding space comprises a plurality of points corresponding to embeddings of a plurality of entities, and the embeddings of the entities are determined using a deep-learning model; determining, by one or more computing devices, embeddings for each entity attribute in a first set of entity attributes, wherein: each of the entity attributes in the first set of entity attributes is of an entity-attribute type, each entity attribute of the first set of entity attributes is associated with at least one entity of the plurality of entities, and the embeddings of the entity attributes are refined using the deep-learning model; and modifying, by one or more computing devices, the embeddings of the entities in the first set of entities based on the embeddings of the entity attributes that are associated with the respective entity to obtain updated embeddings for each entity in the first set of entities, wherein the updated embeddings comprise information regarding the entity attributes that are associated with the respective entities. 2. The method of claim 1, further comprising: determining embeddings for each entity in a second set of entities, the second set of entities being selected from the plurality of entities; determining embeddings for each entity attribute in a second set of entity attributes, wherein each entity in the second set of entity attributes is of the entity-attribute type; and modifying the embeddings of the entities in the first and second sets of entities based on the embeddings of the entity attributes that are associated with the respective entity to obtain updated embeddings for each entity in the first and second sets of entities, wherein the updated embeddings comprise information regarding the entity attributes that are associated with the respective entities. 3. The method of claim 1, wherein modifying the embedding of each entity comprises pooling the embedding of each entity in the first set of entities with the embeddings of the entity attributes that are associated with the respective entity. 4. The method of claim 1, wherein the plurality of entities comprise a plurality of pages in a social-networking system. 5. The method of claim 4, wherein the entity-attribute type is topics associated with pages, categories associated with pages, locations associated with pages, or users associated with pages. 6. The method of claim 1, wherein the deep-learning model is trained using Skip-Gram Negative Down-Sampling. 7. The method of claim 1, wherein each embedding in the embedding space corresponds to a respective vector representation. 8. The method of claim 7, further comprising: detecting that a context item associated with a user of a social-networking system has been changed from a first context to a second context; and identifying one or more embeddings as being relevant to the second context by: using vector arithmetic to determine a point in the embedding space associated with the second context, and applying a search algorithm to the embedding space, wherein points corresponding to one or more embeddings of the identified entities are within a threshold distance of the point corresponding to the determined point in the embedding space associated with the second context. 9. The method of claim 7, further comprising: receiving a query, the query being inputted by a user; translating the query to a vector expression; evaluating the vector expression to identify a point in the embedding space associated with the query; and identifying one or more entities as being relevant to the query by applying a search algorithm to the embedding space, wherein points corresponding to one or more embeddings of the identified entities are within a threshold distance of the point corresponding to the identified point in the embedding space associated with the query. 10. One or more computer-readable non-transitory storage media embodying software that is operable when executed to: determine an embedding for each entity in a first set of entities, wherein: the first set of entities is selected from a plurality of entities, each embedding corresponds to a point in an embedding space, the embedding space comprises a plurality of points corresponding to embeddings of a plurality of entities, and the embeddings of the entities are determined using a deep-learning model; determine embeddings for each entity attribute in a first set of entity attributes, wherein: each of the entity attributes in the first set of entity attributes is of an entity-attribute type, each entity attribute of the first set of entity attributes is associated with at least one entity of the plurality of entities, and the embeddings of the entity attributes are refined using the deep-learning model; and modify the embeddings of the entities in the first set of entities based on the embeddings of the entity attributes that are associated with the respective entity to obtain updated embeddings for each entity in the first set of entities, wherein the updated embeddings comprise information regarding the entity attributes that are associated with the respective entities. 11. The media of claim 10, further comprising: determining embeddings for each entity in a second set of entities, the second set of entities being selected from the plurality of entities; determining embeddings for each entity attribute in a second set of entity attributes, wherein each entity in the second set of entity attributes is of the entity-attribute type; and modifying the embeddings of the entities in the first and second sets of entities based on the embeddings of the entity attributes that are associated with the respective entity to obtain updated embeddings for each entity in the first and second sets of entities, wherein the updated embeddings comprise information regarding the entity attributes that are associated with the respective entities. 12. The media of claim 10, wherein modifying the embedding of each entity comprises pooling the embedding of each entity in the first set of entities with the embeddings of the entity attributes that are associated with the respective entity. 13. The media of claim 10, wherein the plurality of entities comprise a plurality of pages in a social-networking system. 14. The media of claim 13, wherein the entity-attribute type is topics associated with pages, categories associated with pages, locations associated with pages, or users associated with pages. 15. A system comprising: one or more processors; and a memory coupled to the processors comprising instructions executable by the processors, the processors operable when executing the instructions to: determine an embedding for each entity in a first set of entities, wherein: the first set of entities is selected from a plurality of entities, each embedding corresponds to a point in an embedding space, the embedding space comprises a plurality of points corresponding to embeddings of a plurality of entities, and the embeddings of the entities are determined using a deep-learning model; determine embeddings for each entity attribute in a first set of entity attributes, wherein: each of the entity attributes in the first set of entity attributes is of an entity-attribute type, each entity attribute of the first set of entity attributes is associated with at least one entity of the plurality of entities, and the embeddings of the entity attributes are refined using the deep-learning model; and modify the embeddings of the entities in the first set of entities based on the embeddings of the entity attributes that are associated with the respective entity to obtain updated embeddings for each entity in the first set of entities, wherein the updated embeddings comprise information regarding the entity attributes that are associated with the respective entities. 16. The system of claim 15, further comprising: determining embeddings for each entity in a second set of entities, the second set of entities being selected from the plurality of entities; determining embeddings for each entity attribute in a second set of entity attributes, wherein each entity in the second set of entity attributes is of the entity-attribute type; and modifying the embeddings of the entities in the first and second sets of entities based on the embeddings of the entity attributes that are associated with the respective entity to obtain updated embeddings for each entity in the first and second sets of entities, wherein the updated embeddings comprise information regarding the entity attributes that are associated with the respective entities. 17. The system of claim 15, wherein modifying the embedding of each entity comprises pooling the embedding of each entity in the first set of entities with the embeddings of the entity attributes that are associated with the respective entity. 18. The system of claim 15, wherein the plurality of entities comprise a plurality of pages in a social-networking system. 19. The system of claim 18, wherein the entity-attribute type is topics associated with pages, categories associated with pages, locations associated with pages, or users associated with pages.