All articles

AI Technology & Integration

Large language models (LLMs) and knowledge graphs for knowledge management in companies

Updated
Reading time
9 min

What is the right technology for knowledge management in your company? The advantages and disadvantages of LLMs and knowledge graphs compared.

Speech bubble next to a knowledge graph of nodes illustrating LLMs for knowledge management

Knowledge graphs have dominated as a technology for years when it comes to making knowledge accessible in companies. Knowledge graphs are used to structure unstructured knowledge and make it retrievable. The word “knowledge management” has left a lot of scorched earth in many companies. However, large language models (LLMs) have become established in recent years. Companies that are considering becoming active in knowledge management (again) are therefore spoilt for choice: do they rely on an established technology or on a modern, evolving technology? Without taking a closer look at the two technologies, it is almost impossible to make an assessment.

Chapter 01

What are LLMs (if they are used for knowledge management)?

LLM stands for “Large Language Models”, i.e. large language models that are based on artificial intelligence and enable a broad understanding and generation of human-like language. When used in the field of knowledge management, they are used to organise, understand, process and generate information.

LLMs as we know them today (transformer models) were only developed in 2017. At that time, they were presented by Google at a scientific stage as so-called transformer models at the NIPS in Las Vegas. We at amber have been working with this technology since 2020 and have already published several models. Since the release of ChatGPT by OpenAI in November 2022, the technology has developed even faster than before and companies are now using it on a broad scale.

In the context of knowledge management, LLMs can solve various use cases, which mostly include the following:

  • Semantic search

    Through their understanding of natural language, LLMs can enable advanced semantic search. This means that they can not only search for keywords, but also understand the semantic context and deliver relevant results. amber is an example of a solution for this use case.

  • Question-answer systems

    They can serve as the basis for question-answer systems by understanding natural language questions and generating precise answers. This enables efficient information retrieval and supports employees in quickly obtaining information. amberAI is an example solution for this use case.

  • Information extraction and summarisation

    LLMs can analyse large amounts of text, extract important information and condense it into concise summaries. This helps to process large amounts of data and filter out relevant findings. In this case too, amberAI is an example of a solution.

  • Personalised recommendations

    Based on user interactions and preferences, LLMs can make personalised recommendations for content or information by recognising patterns in the data and making appropriate suggestions. Such functions are also included in amberAI.

  • Text generation and document creation

    LLMs can be used to automatically generate reports, documents or articles by synthesising information from different sources and presenting it in understandable language.

If you want to find out more about the potential introduction of LLMs for knowledge management, you should read this blog post.

Advantages of LLMs in knowledge management

  • Language understanding and interpretation: LLMs can understand and interpret information in natural language, making interaction with knowledge resources more intuitive and user-friendly.
  • Up-to-dateness: By combining this with techniques such as Retrieval Augmented Generation or Multi-Hop-Question Answering, LLMs always have access to the latest knowledge without having to be trained beforehand.
  • Out-of-the-box systems: When used correctly, large language models work out-of-the-box and do not require individual training or tagging.

Disadvantages of LLMs in knowledge management

  • Interpretability and transparency: LLM’s decisions are based on complex models, which makes their decision-making processes less transparent and harder to understand.
  • Distortions and misinterpretations: There is a possibility that LLMs can generate biased or erroneous information due to their training data and algorithms, leading to incorrect interpretations or answers.
  • High computing power and resource requirements: The use of LLMs requires significant computing power and resources to function effectively, which may not be available or cost effective for all organisations depending on the type of hosting.
Chapter 02

What are knowledge graphs?

Knowledge graphs are an innovative way of visualising information and its relationships. Think of them as a giant network map that connects data points (such as people, places, concepts) to visualise their relationships and meanings.

They consist of entities (things or concepts) and their attributes (properties) as well as the relationships between the entities. For example: An entity could be “Eiffel Tower”, with attributes such as “height”, “year built” etc. and relationships to other entities such as “located in Paris”.

Entity
A thing or concept, e.g. “Eiffel Tower”.
Attribute
A property of the entity, e.g. “height” or “year built”.
Relationship
The link to other entities, e.g. “located in Paris”.

Knowledge graphs are considered a mature technology as they are based on the Resource Description Framework (RDF). This has received several updates over the years, with the last significant update being over 10 years old (2014).

What are the advantages of knowledge graphs?

  • Structure: Provide structured information that is clearly defined and shows relationships between entities.
  • Transparency: Provide a transparent model that is easier to understand as it explicitly shows the relationships between data points.
  • Representation: Provide clear representations of knowledge that exists in a specific area or domain.

What are the disadvantages of knowledge graphs?

  • Creation: Knowledge graphs are time-consuming to create as the relationships have to be defined once. The knowledge must be entered into predefined schemas, which does not make it a dynamic technology.
  • Less flexibility: May not be as flexible as language models and may have difficulties with unforeseen queries. In addition, they are relatively difficult to adapt to different applications, as the “knowledge” then has to be redefined or defined differently.
  • Rigidity: Knowledge graphs are limited to the knowledge learnt and have difficulty integrating new or evolving information.
Chapter 03

Technology decision: Comparison of LLMs vs. knowledge graphs in knowledge management

Now that it is clear what the advantages and disadvantages of LLMs and knowledge graphs are, the technologies are now compared for the use case of knowledge management.

Of course, there are significantly more success stories for the use of knowledge graphs than there are for LLMs. Not because LLMs are weaker, but because they are simply so new that they have not yet been integrated in depth in many companies. What LLMs are often criticised for, however, is that they often do not understand the context. But this is precisely where the flexibility of LLMs comes into its own. Thanks to techniques such as multi-hop question answering, retrieval augmented generation and the like, LLMs can decide for themselves how much more context they need in order to answer questions correctly on their own (keyword: autonomous agents). And in the event that the employee is not satisfied with the answer, they can simply ask further questions and have the relevant information generated. It is often a fallacy that LLMs first have to be trained with internal data. At amber, we offer solutions that work out-of-the-box and without training.

Knowledge graphs also have their undeniable advantages: You know how they work and you can be sure that the answer will be correct – provided that the information defined in the graph is up-to-date and correct.

LLMs

  • Fewer success stories so far, because the technology is so new
  • Decide for themselves how much context they need, thanks to multi-hop question answering and RAG
  • Employees can simply ask further questions
  • Work out-of-the-box and without training

Knowledge graphs

  • Significantly more success stories
  • You know how they work
  • Answers are correct, provided the information in the graph is up-to-date and correct

To determine the right technology, however, the right use case must first be defined. We have uploaded an example here to help interested parties define their use cases.

About the author

Bastian Maiworm

Co-founder & CRO at amber

LinkedIn

Bastian co-founded amber and talks to mid-sized companies every day about how they make their knowledge findable with AI.

FAQ

Frequently asked questions about LLMs and knowledge graphs

What are LLMs in knowledge management?

LLM stands for large language models, i.e. AI-based models that understand and generate human-like language. In knowledge management they are used to organise, understand, process and generate information, for example for semantic search, question-answer systems or summaries.

What are knowledge graphs?

Knowledge graphs represent information and its relationships like a network map. They consist of entities, their attributes and the relationships between the entities, and are based on the Resource Description Framework (RDF).

What advantages do LLMs have in knowledge management?

LLMs understand natural language, always have access to the latest knowledge when combined with retrieval augmented generation or multi-hop question answering, and, when used correctly, work out-of-the-box without individual training or tagging.

What are the disadvantages of knowledge graphs?

They are time-consuming to create because relationships have to be defined in predefined schemas. They are less flexible with unforeseen queries, difficult to adapt to different applications and have difficulty integrating new or evolving information.

Do LLMs have to be trained with internal data first?

No, that is often a fallacy. amber offers solutions that work out-of-the-box and without training.

Which technology is more future-proof?

From amber's point of view, anyone who wants to work in a future-orientated way should rely on LLMs: their development potential is great, they are becoming more efficient and more and more providers focus on them. First, however, the right use case has to be defined.

Gotowy na efektywniejszą pracę?

Zarejestruj się firmowym adresem e-mail i wypróbuj amber jeszcze dziś. Wgraj dokumenty, połącz narzędzia, z których korzystasz na co dzień, i pozwól amber przejąć część pracy.

Testuj amber bezpłatnie przez 30 dni. Bez karty kredytowej.