IMFD Researcher will be a presenter at major conference on logic and automata

The 2024 edition of Highlights will take place from September 16 to 20 at the Universidad de Bordeaux (France). The talk to be given by Pablo Barceló will cover three case studies that highlight the key role of logic in improving the understanding of modern machine learning architectures.

The Laboratoire Bordelais de Recherche en Informatique (LaBRI), which operates at the Universidad de Bordeaux (France) and brings together more than 100 researchers, will this year host Highlights, one of the world’s most important conferences in the fields of model theory, automata theory, databases, and games for logic and verification. The 2024 edition, to be held from September 16 to 20, will feature four invited speakers, including Pablo Barceló, director of the Instituto de Ingeniería Matemática y Computacional (IMC UC).

“Highlights brings together the best work from the most relevant conferences in different areas. It is an informal conference with no proceedings, which are the collections of papers published in the context of an academic meeting. Instead, people submit the best work that has already been published previously, which is why it is the major gathering for those working in areas such as logic for computer science and automata,” says Barceló, PhD in computer science and researcher at the Centro Nacional de Inteligencia Artificial (CENIA) and the Millennium Institute for Foundational Research on Data (IMFD).

The academic adds that, with the aim of offering a broad view of the latest advances in the different areas covered by the conference, each year the organizers include speakers who are recognized researchers in their respective fields. During this edition, alongside Barceló will be Albert Atserias (Universidad Politécnica de Cataluña), Mikołaj Bojańczyk (University of Warsaw, Poland) and Laure Daviaud (University of East Anglia, United Kingdom). “In addition to the people presenting papers in just 10 minutes, there are the main presenters who give longer, hour-long talks. In my case, this is the first time I have been invited,” he notes.

barcelo ok

Pablo Barceló, director of IMC.

The talk to be given by the IMC director in France will be titled “The Role of Logic in Advancing Machine Learning: Three Case Studies” and will cover case studies that highlight the essential role of logic in improving the understanding of modern machine learning architectures. The first two works are “Logical Languages Accepted by Transformer Encoders with Hard Attention” and “The Logical Expressiveness of Graph Neural Networks,” which also involve, respectively, researchers Alexander Kozachinskiy (postdoc IMC UC/ CENIA/ IMFD) and Juan Reutter (IMC academic/ Departamento de Ciencia de la Computación UC and director of IMFD). The third is called “A Uniform Language to Explain Decision Trees” and has as one of its co-authors Marcelo Arenas (IMC / Departamento de Ciencia de la Computación UC and IMFD researcher).

“What I want to show is that the logical aspects of computer science can be used to understand the capabilities of current artificial intelligence models. We work in three areas; one refers to graph neural networks, another is the expressive power of transformers, which are the architectures behind language models such as ChatGPT. Finally, we address the interpretability of models. That is, how I explain the decisions they make, showing in each case that logic can be an important tool for understanding what can be done and what the computational cost is,” Barceló states.

The transformer revolution

Transformer models originated from a paper published by Google researchers in 2017 titled “Attention Is All You Need,” which quickly became one of the most influential developments in the field of machine learning. As the director of the IMC notes, its architecture is fundamental to OpenAI’s cutting-edge language models such as ChatGPT, in addition to being key to the creation of software such as AlphaStar by DeepMind.

“Transformers are language models that recognize sequences of symbols, of words. So, from a mathematical standpoint, it is interesting to understand which languages can be recognized by transformers and which cannot. To do that, what we do is formalize a computational model behind transformers and study that model based on which languages it can accept, which creates connections with the logical theory of languages and automata theory, which are also mathematical objects that process sequences,” says Barceló.

chatgpt2

Transformers have become essential for applications like ChatGPT.

This work is essential to the current development of transformers, whose application can be seen in chatbots, virtual assistants, and other interactive artificial intelligence systems where dynamic conversation with users is vital. “Today we are seeing that they can generate and improve texts. But as these models are refined, they will also be used to handle multimodal data, which is not just text but also encompasses images or sounds. These transformers will be capable of extracting information from all these sources as if it corresponded to a single type of data,” explains the researcher.

The potential of graphs

A graph is a mathematical data structure consisting of a set of vertices -called nodes- and a set of edges connecting these vertices. In the 1980s, researchers began exploring ways to apply neural networks to data organized as graphs, although it was not until the early 2010s that graph neural networks began to become more well known, as a result of the development of new architectures and learning algorithms.

“These neural networks are models that process information structured based on graphs. We analyze which properties of graphs can be recognized by a neural network of this type, and to do that we employ logical methods. We showed that any expression that can be expressed with a certain logic can be expressed in a graph neural network, and vice versa. If there is a logical expression that can be recognized by a graph neural network, then it is expressible in this logic. It is like a one-to-one relationship between the two,” explains Barceló.

redgrafo

Graph neural networks have undergone significant advances in recent years

Today these networks have applications that span various fields. “For example, graph neural networks are used for fraud detection in banks. If you have a transaction graph, with a neural network you can start to detect areas where operations look strange. They are also used to optimize transportation networks. They are also very useful in the development of new drugs, since they can show that drugs that tend to more effectively target certain diseases adhere to a certain molecular structure. With that information, you can go on to generate another new drug,” says the director of the IMC.

Explainable artificial intelligence

The third study that Barceló will present in France addresses the search for explainable artificial intelligence and demonstrates how first-order logic can be used to design languages that declare, evaluate, and compute explanations for decisions made by machine learning models.

“Basically, models work like black boxes, since we understand very little about how they make decisions. That is why there is an increasingly important trend to try to design models that are more explainable, that somehow provide reasons for the decisions they made,” says the academic.

An example arises when a bank uses one of these models to grant or reject a loan for a client: “It is important to know what criteria it was based on to reach that decision, and not just have the model simply provide an answer. In the end, those criteria are mathematical notions that can also be formalized through logic.” This is because today there is a desire for the “explanations obtained to provide mathematical guarantees, and to be the best, or the most concise or efficient.”

Source: IMC UC