~/talk

Increasing the LLM Accuracy for Question Answering on Structured Data: Knowledge Graphs to the Rescu

Talkat DataEngBytes Sydney 2024 · on Tuesday, 2024-09-24· [large-language-models]
links:none on file
slides:none on file

Benchmark uses an enterprise insurance SQL schema, a set of enterprise questions, an ontology and mappings that virtualize the SQL as an RDF knowledge graph and run SPARQL. Core findings: GPT-4 zero-shot on SQL: 16% execution accuracy, Knowledge Graph representation: 54% (≈3×), and an Ontology-based Query Check that detects domain/range and path errors plus an LLM repair loop raises overall accuracy to 72% (with 8% unknowns and a 20% error rate). Results come from reproducible prompts, virtualized KG rewrites to SQL, and execution-based scoring.

AI-written summary · about

  1. 0:00LLM accuracy challenges
  2. 1:27Why knowledge graphs matter
  3. 3:13What is a knowledge graph
  4. 5:17Text-to-SQL vs knowledge graphs
  5. 7:01Benchmarking LLM accuracy
  6. 8:46Benchmark framework design
  7. 10:11Question and schema complexity
  8. 11:34Context layer role
  9. 13:19Experimental setup and prompts
  10. 15:02Measuring execution accuracy
  11. 17:09Results: 3x higher accuracy
  12. 19:57Validation of findings
  13. 20:59Why queries fail without graphs
  14. 22:01Graph query examples
  15. 24:11Semantic checks for accuracy
  16. 28:04Ontology-based query checker
  17. 31:20LLM repair and error reduction
  18. 33:064x accuracy with semantics
  19. 34:53Knowledge graph-powered system
  20. 36:5993% accuracy achieved
  21. 37:41LLM QA challenges
  22. 39:26Defining AI trust
  23. 40:28Invest in knowledge graphs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.