You can decompose models into a graph database [N]

Reddit r/MachineLearning / 4/15/2026

💬 OpinionSignals & Early TrendsIdeas & Deep AnalysisTools & Practical Usage

Key Points

  • The article describes a method to decompose a static LLM into layers and represent that decomposition as a graph database for performing KNN-style walks per layer.

https://github.com/chrishayuk/larql

https://youtu.be/8Ppw8254nLI?si=lo-6PM5pwnpyvwMXh

Now you can decompose a static llm model and do a knn walk on each layer (which was decomposed into a graph database), and it's mathematically identical to doing matmult. It allows you to update the models internal factual knowledge without retraining (just insert into graph DB), it also uses less memory (since its just a database). The creator is the CTO at IBM.

submitted by /u/Educational_Win_2982
[link] [comments]