AI chat tools are great at understanding poetry, but they struggle when faced with complex tables of numbers. Maxime Cordy, Senior Research Scientist in Artificial Intelligence and Software Engineering at the University of Luxembourg’s SnT, is working to change this.

"Today, asking an AI chat tool to process data in tables is like trying to do Excel work in Word,” says Prof. Cordy. “This is leaving many professions behind. We are doing research that will change that by bringing the benefits of an AI chat to tables.”

The limits of today’s tools

ChatGPT and similar AI tools rely on Large Language Models (LLMs), trained on a large amount of freely available text from the internet. Processing numerical tables, however, requires tabular models. Training these models poses its own challenges, mainly accessing the right training data. Often, this data isn’t available online, so custom-built models are needed for different fields, such as weather prediction and credit scoring. Moreover, AI models can be black boxes. In fields like finance and statistics, it’s important to understand how they reach their results.

Today, asking an AI chat tool to process data in tables is like trying to do Excel work in Word
Maxime Cordy

Maxime Cordy, Assistant professor in Software Engineering for AI Systems , SnT

This need for customisation and concerns about transparency make ir hard for many industries to adopt advanced tools. As a results, they still rely on traditional methods for numerical tasks, such as Excel or decision trees. “They are interpretable, efficient, and accurate in most cases,” explains Prof. Cordy. “Deep learning, by contrast, often struggles.”

However, a new generation of foundation models for tabular data is emerging, inspired by the success of large language models in the text domain. “Instead of building a separate model for each task, you can now prompt a foundation model with your dataset and the problem you want to solve,” Prof. Cordy said. “It will attempt to provide an answer without retraining.” This could make AI adoption more scalable, as one powerful model can be reused across multiple problems once the data is prepared. The implications for the financial, insurance, logistics, and statistics sectors are clear, with applications in fraud detection, risk modelling, and economic forecasting.

Chat meets numbers

Today, people expect to chat with AI naturally. Enabling chat features for tables is essential, but language and number systems don’t work well together yet. “LLMs are text generators, not calculators,” Prof. Cordy said. “Ask one to compute an average, and it might confidently give you the wrong result, just like text hallucinations in text generation today.” Text hallucinations easier to identify for readers than calculation errors. For tabular models, it’s key to have a robust tool that relies less on human corrections.

The solution is tool-augmented AI, where a language model uses systems made for numerical reasoning. These include foundation models for tables, classic statistical packages, and spreadsheet engines. This method, called agentic AI, lets the language model choose the right tool and create the final explanation. “Think of it as a smart coordinator,” Prof. Cordy explained. “The language model provides understandable output, while the specialised tools ensure the answer is correct.”

Testing with real data

There’s no substitute for testing with real-world data. SnT has a long track record of collaborating with industry and institutions, advancing research and bringing new technology to their partners. For this specific research area, Prof. Cordy’s research group is looking for a partner to bring them real-world data to test a “ChatGPT-for-tables” idea. Companies could upload data, ask a question, and instantly get outputs from several foundation table models side by side. This comparative approach will highlight the strengths and limitations of each model, making testing more accessible.

“You cannot guarantee a model will always be correct, but you can measure how often it performs well under stress,” states Prof. Cordy. “We are developing methods to test robustness, security, bias, and reliability, alongside accuracy. This demystifies the models and empowers users to see what is possible today and where the limits are.”

That philosophy of democratising AI evaluation is also one of the pillars of the AI Factory. This initiative was launched through a collaboration between SnT, LuxProvide, Luxinnovation, Luxembourg National Data Service, and the Luxembourg Institute of Science and Technology, and seven other associate partners. It aims to support Luxembourg businesses by offering a full suite of AI services. One of these services will be an open evaluation platform for AI integrators and developers. The vision is to let organisations specify their domain – finance, biometrics, statistics – and automatically generate a dashboard of relevant tests for any AI tool they’re looking to use. In the future, contributors will also be able to add their own evaluation tools. This will create a marketplace of evaluation modules, like an app store on a phone.