Using Knowledge Graphs & LLMs for Automotive R&D: RAG, Graph ML & Crash Simulation

Episode 2 61 min

Episode 2 · Using Knowledge Graphs & LLMs for Automotive R&D: RAG, Graph ML & Crash Simulation

61 min

What we talked about

Anahita Pakiman, originally from Iran, studied mechanical engineering, specialized in applied mechanics in Sweden, and worked in the automotive industry in Gothenburg for five years before moving to Germany for a PhD in applied AI at Fraunhofer SCAI. Alexey invites her to explain how knowledge graphs and LLMs are used in research, in academia and in industry.

Anahita explains that applied mechanics centers on finite element analysis and CFD, which break physics into small elements to predict how a structure responds to a force, a vibration or a crash. It is numerical analysis based on differential equations, not on cost functions and data, so it differs from machine learning. In the automotive job she worked on optimization and semantic reporting. One vehicle can need more than 500 crash simulations, and one simulation with 12 million elements can take 12 to 17 hours on 192 CPUs. Engineers used to compare results by putting two script-generated PowerPoints side by side. Optimization meant changing thicknesses or adding holes, for example to keep an inner hood stiff but safe for a pedestrian's head.

Relational databases were hard to maintain as vehicles changed, so her mentor suggested Neo4j. The knowledge graph links vehicles, platforms, upper bodies, parts and simulations, so sibling vehicles can be compared. From it she extracts smaller computational graphs, for example in NetworkX, to cluster over 300 simulations visually and detect load paths through the structure. She uses SimRank to rank similar simulations, and she treats graph data science and graph machine learning as the same thing. A small supervised experiment on a toy model tried to transfer crash behavior between sibling vehicles.

On LLMs, Anahita describes grounding answers to reduce hallucination. Chunks in a vector database lose relations and semantics, while a knowledge graph can add them, for example which chapter of a book a chunk belongs to. A prompt template can include an example Cypher query. She is wary of building the graph itself with an LLM, because the result is hard to verify. Her two-week LLM bootcamp project with Jonathan started as an adaptive physics learning tool and became a paper reading assistant for arXiv papers, with section embeddings, GPT-defined keywords and PageRank over references. The hardest part was that they could not automate graph generation, and Streamlit crashed during the demo.

For learning, Anahita recommends the Stanford Machine Learning with Graphs course by Jure Leskovec, the DeepLearning.AI short course on knowledge graphs and LLMs, and the Graph Conference.

Chapters

  1. 1:40 Guest Bio: career path from mechanical engineering to applied AI 1 min
  2. 2:57 Guest Background & Career Transition 3 min
  3. 5:37 Applied Mechanics & Finite Element Analysis (FEA) overview 2 min
  4. 8:05 FEA vs Machine Learning: numerical modeling vs data-driven approaches 1 min
  5. 8:50 Optimization, Topology & Semantic Reporting in crash simulations 7 min
  6. 15:58 Knowledge Graphs for Automotive R&D: motivation and Neo4j adoption 5 min
  7. 20:32 Graph vs Tabular Representations: visualization, clustering, load-path detection 6 min
  8. 26:15 From Knowledge Graphs to Computational Graphs (NetworkX & graph analytics) 2 min
  9. 28:00 Graph Data Science & Graph ML: similarity measures and SimRank 6 min
  10. 33:43 Combining Knowledge Graphs & LLMs: grounding and retrieval-augmented generation (RAG) 4 min
  11. 38:10 Text Chunking, Embeddings & Vector Databases vs Knowledge Graph Semantics 2 min
  12. 39:56 Prompt Templates & KG-driven Retrieval (Cypher-based examples) <1 min
  13. 40:23 RAG vs Transfer Learning: embeddings, fine-tuning, and distinctions 2 min
  14. 42:42 Trust, Hallucination & Verification Limits of LLM-extracted Knowledge 2 min
  15. 44:13 ADPT-LRN-PHYS Project Overview: LLM + KG for adaptive learning and paper reading 3 min
  16. 47:10 Paper Parsing & KG Visualization: sections, keywords, PageRank and reference mapping 7 min
  17. 54:18 Project Challenges: automating graph generation and scoping the demo 1 min
  18. 55:36 Deployment & Frontend Issues: Streamlit limits and state management for graph UIs 2 min
  19. 57:46 Learning Resources: graph ML courses, Jure Leskovec, Graph Conference and KG+LLM courses 3 min
  20. 1:00:41 Episode Conclusion and Takeaways <1 min

Anahita Pakiman

Anahita Pakiman is a data scientist-engineer and Senior Knowledge Graph and Data Science Consultant at brox IT-Solutions. She combines a strong background in knowledge graphs, the semantic web, digitalization, and mechanical engineering, and has applied knowledge graphs, LLMs, RAG, and graph machine learning to real-world problems in automotive R&D and industry.

Topics in this episode

The wiki pages this conversation is filed under, the strongest first.

Graph Data Science

Graph data science applies graph algorithms and ML to nodes, edges, paths, centrality, similarity, and domain workflows.

Knowledge Graph vs Vector Search

Compare explicit graph representations with vector similarity search for relationship retrieval, provenance, and embedding similarity.

Vector Databases

Vector databases as the storage, indexing, and nearest-neighbor retrieval layer for embeddings.

Embeddings

Embeddings as representations for semantic search, RAG, recommendations, multimodal retrieval, and language systems.

LLMs

Large language models with links to retrieval, agents, evaluation, production, and security pages.

Graph RAG vs Vector RAG

How relationship context compares with passage context when a RAG system builds an LLM prompt.

Information Retrieval

Information retrieval as the design of retrieval units, indexes, candidate generation, prefilters, and the handoff to ranking or generation.

Machine Learning

Machine learning as applied modeling, evaluation, production design, monitoring, roles, and business tradeoffs.

RAG vs Fine-Tuning

A decision guide for choosing retrieval, model adaptation, or both in production LLM systems.

Search

Search as the product system that turns retrieval, ranking, answers, recommendations, constraints, and evaluation into a useful surface.

Search/RAG Project Checklist

Review checklist for one chosen search or RAG implementation: corpus, chunking, baselines, citations, evaluation artifacts, traces, and production constraints.

Simulation and Digital Twins

How simulation and digital twins connect physics models, synthetic data, validation, and data-engineering workflows.

Related events

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.

Want to learn more about our community?

How it started, who's here, and everything that goes on here: courses, events, Slack, and more.

About DataTalks.Club