Inferensys

Glossary

Entity

A primary key or business object, such as a user ID or product SKU, that links feature values together to form a complete feature vector for a prediction.
Wide-angle shot of a modern WeWork open floor plan with creative walls covered in AI system architecture diagrams, product team collaborating in standing desk area with industrial lighting.
FEATURE STORE FUNDAMENTALS

What is an Entity?

In machine learning feature stores, an entity is the primary key or business object that links feature values together to form a complete feature vector for a prediction.

An entity is the core business object—such as a user_id, product_sku, or driver_id—that serves as the primary join key within a feature store. It defines the granularity at which features are aggregated and retrieved, ensuring that a feature vector for a specific prediction request is assembled by correctly joining all relevant feature values from different feature groups that share the same entity key.

Entities are registered in the feature registry and are fundamental to achieving point-in-time correctness during training dataset generation. By anchoring features to a well-defined entity, data architects prevent data leakage and ensure that the online store can serve a consistent, unified view of an object's attributes to a model endpoint with ultra-low latency during real-time inference.

ENTITY CONCEPTS

Frequently Asked Questions

Clear answers to common questions about entities in feature stores and machine learning inference, covering their role as primary keys that link feature values into complete prediction vectors.

An entity is a primary key or business object—such as a user_id, product_sku, or store_id—that uniquely identifies a specific instance within a domain and links all related feature values together. In a feature store, entities serve as the join key that combines features from multiple feature groups into a single feature vector for model training or online inference. For example, when a recommendation model needs to score a product for a user, the entity user_id=12345 retrieves that user's behavioral embeddings, demographic features, and real-time session activity, while product_sku=ABC-789 pulls the item's price, category, and inventory status. Entities are defined in the feature registry with metadata including their name, description, and join keys, ensuring consistent resolution across both the offline store and online store. Without a well-defined entity model, feature retrieval becomes ambiguous and point-in-time correctness cannot be guaranteed during training dataset generation.

Prasad Kumkar

About the author

Prasad Kumkar

CEO & MD, Inference Systems

Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.

His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.