Ask Safely! How to Query LLMs Without Leaking Your KG Private Data
modeling-languages.com·4h
🏗️LLM Infrastructure
Preview
Report Post

Would you like to use a Large Language Model (LLM) to extract information from your Knowledge Graph (KG), but your graph contains sensitive data? That’s usually a problem, especially if you rely on third-party LLM APIs. In this post we present a privacy-aware query generation approach that identifies sensitive information in the graph and masks it before sending anything to the LLM. Our experiments indicate that this preserves query quality while preventing sensitive data from leaving your system.

Background

Querying a KG usually requires writing SPARQL or Cypher, which demands both domain knowledge and familiarity with the graph structure. LLMs can simplify this by generating the query directly from a natural language question. However, if dealing with private inform…

Similar Posts

Loading similar posts...