Min-Hsueh Chiu

Logo

  • Projects
  • Publications
  • Blog
  • CV
  • Random things
  • Theme by orderedlist

    Knowledge Graph: A Brief Overview and Creation Guide

    A knowledge graph is a structured representation of entities and their relationships within a system or domain.

    In this post, I want to briefly talk about how to create a knowledge graph. At DoorDash, understanding products and their attributes is crucial for customer recommendations and brand advertisements. For example, when a new product like Coke is added, we need to determine its relationships, such as:

    (coca-cola company) -[manufactures]-> (coke)

    How to Extract Entities?

    This process is called Named-Entity Recognition (NER).

    There are some more classic ways to perform entity extraction, but what if we leverage LLMs to assist us? LLMs have contextual and semantic understanding that can improve the process.

    What if we need additional attributes with deeper meanings that are not explicitly stated on product labels or descriptions, or specialized attributes unique to this product?

    Reference

    Building DoorDash’s Product Knowledge Graph with Large Language Models