01 November 2023

Reliable, open and sustainable – those are the qualities aimed for in a ChatGPT for European languages including Swedish. But there are still big problems that need to be solved before ChatGPT can be considered beneficial to society.

Abstract AI generated image of textboxes above electronics and the face of a robot
The image was created by Sara Läthén, Linköping University, partly with AI.

Marco Kuhlmann, professor at Linköping University, develops methods to understand and computer generate human speech. He is part of a project coordinated by Linköping University that has just been granted around SEK 70 million.

Photo credit Magnus Johansson “Everyone was astounded when ChatGPT and later GPT-4 were released, as it was really fascinating how good they were, having been trained on such large data sets. They were suddenly able to solve tasks they had not been specifically trained for,” he says.

But before ChatGPT can be considered beneficial to society, there are still big problems that need to be solved. You must be able to trust the models, they must provide information that is true and not make things up. ChatGPT is very good at producing grammatically correct and convincing text, but the model has not been trained to generate texts that are factually correct. Ensuring correctness and credibility is therefore among the most important issues for the researchers to solve in the three-year research project aptly named TrustLLM. LLM stands for Large Language Model, the term used for the type of language models that includes ChatGPT.

To better explain the problem, they can be compared with search engines. If you use a search engine, you still need to be cautious about the results it returns. But as it provides multiple alternatives, you can go through the list of search results to see if anything looks odd, maybe an unreliable source, for instance. You can make a selection, but when you use ChatGPT and the other models you get only one reply, and no opportunity to make your own decision as to which of the sources you trust.

The project is to benefit citizens and industry alike, and is carried out in collaboration with organisations from Germany, Iceland, Denmark, Norway and the Netherlands. The funding has been provided by Horizon Europe, the EU’s key funding programme for research and innovation.

Language models to be open

One major problem with language models such as ChatGPT and others is that they are owned by large companies, often American, which creates a problem from a societal as well as a scientific perspective.

“With language models becoming increasingly commercialised, we have noted that companies publish fewer and fewer details on how they train their models, what data they use to train them on, and what methods they use. This is where we can come in, with this project,” says Marco Kuhlmann.

He believes that the researchers may now be able to recreate methods that the companies are possibly already using, and above all that the methods developed in the project should be published and then critically reviewed by the scientific community. Photo credit Thor Balkhed

Marco Kuhlmann thinks that one of the reasons why the EU is investing in the TrustLLM project is so as not to fall too far behind. The project could result in a key technology in which Europe currently does not have as much competence as the US, especially not in the public sector. This competence can be found mainly in large international enterprises that are not always very transparent. Marco Kuhlmann hopes that TrustLLM will contribute to the EU reaching, or even surpassing, their level.

The technology in the project is to be made open and accessible so as to benefit many countries and companies in many ways. He points out that this is better also from a financial perspective. To develop large language models to respond to real needs, the project is looking at a number of concrete applications in medicine, media, vehicles and mobility, and public agencies.

“We have partners both in academia and industry, and they can pull in the same direction here. This openness is really something that concerns us all. I think that the fact that we are in this project with industry is also a reason why the EU wants to invest in this,” says Marco Kuhlmann.

A quick and reliable tool using a minimum of energy

The supercomputer Berzelius photographed with fisheye lens.A supercomputer. Photo credit Thor Balkhed Training language models requires a lot of energy. They are also expensive to operate. The project will develop the model to be as efficient as possible, to make it a quick and sustainable tool using a minimum of energy.

“I think efficiency optimisation and reducing energy requirement during training and during further development of a model, post training, is very important, in terms of environmental impact as well as from a financial perspective. European companies don’t have the same resources as the large American enterprises in this field,” says Marco Kuhlmann.

Ethical approach to training data

The researchers will train the language model on the largest amount of text so far in European artificial intelligence, AI. One important focus for the project is having an ethical approach, by ensuring that personal data and copyright are protected in the amounts of text used.

“We’re working on solving problems that the entire research community is working on and is interested in progressing within, which makes this project exciting to me. I mainly contribute a research perspective. A lot of basic research needs to be done, while there are also strong financial incentives, so it’s really a win-win situation,” says Marco Kuhlmann.

Advanced ecosystem for next generation European language model

Although the technologies to be developed by the project are supposed to be language independent, the researchers will, at the final stages of the project, have developed a model for the Germanic languages Swedish, Danish, Icelandic, German and Dutch. The project is created in a kind of open ecosystem so that other researchers will then be able to take over, reuse and further develop language models for other European languages. Another objective is for the TrustLLM project and its surrounding ecosystem to contribute to making human-machine interaction more contextualised, which will have a large number of applications.

The aim is that the models developed will be the most powerful and reliable language models in Europe and that the project will be a major breakthrough in AI. In this way, the researchers hope to contribute to securing European independence in important AI technologies and create a new framework for European collaboration on large language models. They want to lay the foundations for a European centre for large language models and large-scale AI to maximise scientific, social and financial effects.

Fredrik Heintz, professor of computer science at LiU, believes that developing its own large language models is essential for Europe.

“We have to lead through innovation, not only through regulation. TrustLLM is an important step towards large-scale investments in Europe to make sure we take an active part and push our values in the form of new language models.”

Professorerna Marco Kuhlmann och Fredrik Heintz

Marco Kuhlmann and Fredrik Heintz, professors in the Artificial Intelligence and Integrated Computer Systems division at Linköping University, are involved in managing the TrustLLM project. Photo: Lena Tasse.

Translated by Anneli Mosell.

More about artificial intelligence at LiU

Latest news from LiU

Server room and data on black background.

Machine Psychology – a bridge to general AI

AI that is as intelligent as humans may become possible thanks to psychological learning models, combined with certain types of AI. This is the conclusion of Robert Johansson, who in his dissertation has developed the concept of Machine Psychology.

Research for a sustainable future awarded almost SEK 20 million grant

An unexpected collaboration between materials science and behavioural science. The development of better and more useful services to tackle climate change. Two projects at LiU are to receive support from the Marianne and Marcus Wallenberg Foundation.

Innovative idea for more effective cancer treatments rewarded

Lisa Menacher has been awarded the 2024 Christer Gilén Scholarship in statistics and machine learning for her master’s thesis. She utilised machine learning in an effort to make the selection of cancer treatments more effective.