Hi! I am Guilhem Fouilhé, a PhD candidate at IRIT, a member of the
MELODI team,
and part of ANITI in Toulouse.
My doctoral research focuses on conversational explanations in AI planning and trustworthy language models.
Building on a background in applied mathematics and neural dynamics, I combine mathematical analysis,
systems development, and empirical evaluation. My interests are now extending toward how people
contribute knowledge to AI-assisted decisions and verify the resulting recommendations.
Outside of research, I enjoy spending time outdoors near the Pyrenees and travelling to learn about
different cultures and ways of life.
Research interests
My research examines how AI systems use information and how people can understand, challenge, and improve their decisions. It brings together conversational explanations in planning, the behavior of language models, and emerging work on human–AI cooperation.
Conversational explanations and AI planning
I develop conversational interfaces that help people explore plans, understand conflicts between goals, and guide decisions according to their preferences. My doctoral work combines symbolic planning with language-model agents and user studies to investigate interactive explanations.
Language-model behavior: knowledge, context, and pragmatics
I study how language models use information provided in context, including when it conflicts with memorized knowledge. My work examines factual recall, sensitivity to question phrasing, and the limits of in-context learning. Current investigations explore how discourse cues and conversational commitments shape responses to conflicting information.
My emerging research asks how people can contribute knowledge that an AI system lacks and verify that it has been used in its recommendations. I am particularly interested in how dialogue and explanations help people recognize relevant local circumstances, communicate exceptions, and check decisions—and when they encourage misplaced reliance.
Earlier research: mathematical modeling and neural dynamics
Research and engineering across human-aware AI, conversational decision systems, explainability, and applied mathematics.
2023 – Present
Doctoral Researcher
IRIT & ANITI, Université de Toulouse
Developing human-aware AI systems for collaborative decision-making: multi-agent LLM architectures, conversational
interfaces over automated planning, interactive goal-conflict explanations, and human-in-the-loop user studies. Advisors: Nicholas Asher and Philippe Muller.
Funded by the EU project TUPLES.
2023 (6 months)
Research Intern
IRT Saint Exupéry
Supervisors: David Vigouroux and Agustin Picard.
Influence functions for global explainability of deep neural networks.
Report
2022 (3 months)
Research Intern
CerCo – CNRS (funded by ANITI)
Supervisors: Grégory Faye and Rufin VanRullen.
Mathematical models for predictive coding in vision. Theoretical and applied study of stability of predictive coding DNNs (PyTorch).
Publication
2021 (2 months)
Research Intern
IMT – Institut de Mathématiques de Toulouse (funded by CIMI)
Supervisors: Grégory Faye and Christophe Besse.
Sharp thresholds for bistable reaction–diffusion equations. Theoretical and numerical study of asymptotic behavior.
Publication
Valedictorian (major de promotion), with honours. ANITI Graduate School Fellowship (M1 and M2).
2017 – 2021
B.Sc. in Mathematics
Université de Montpellier
First two years as a Mathematics–Physics double major. With honours.
Publications
Peer-reviewed papers, preprints, and academic reports. Click to expand abstracts and citations.
Research Publications
Memory vs. Context? Influential Factors of Factual Recall in Language Models
BlackboxNLP 2026 (9th Workshop on Analyzing and Interpreting Neural Networks for NLP @ EMNLP 2026), 2026
We reproduce and stress-test the work of Yu et al. (2023), who characterize how language models (LMs) arbitrate between memorized knowledge and contradictory in-context statements.
Abstract & links
Summary
We investigate the influential factors governing the trade-off between parametric memory and in-context information during factual recall in Large Language Models.
Abstract
We reproduce and stress-test the work of Yu et al. (2023), who characterize how language models (LMs) arbitrate between memorized knowledge and contradictory in-context statements. We replicate their world-capitals experiments on 31 models spanning Pythia, GPT-2, Qwen3, and Ministral families, including base and post-trained variants, and extend evaluations to five additional knowledge relation types from the ParaConflict dataset. We empirically confirm most of their original findings: larger models and higher-frequency entities tend to favor memorized answers, with substantial family-level variance. However, several conclusions do not generalize cleanly: entity-frequency effects disappear on Qwen3-14B and 32B; post-training shifts the memory-context trade-off inconsistently across families; question phrasing alone can change a model’s reliance on memorized knowledge by up to 80 percentage points; and semantically unrelated prose can mimic coherent supporting context. Our results clarify where Yu et al.’s claims hold and to what extent they generalize to other prompts.
Scaling a New Attention Scoring Function: A Feedback on Pretraining a 1B Model Efficiently
JCAD 2026 (Journées Calcul Données), 2026
Practical feedback on pretraining SSA-Luciole, a 1B-parameter model on 3T tokens using custom Triton kernels and 64 NVIDIA H200 GPUs on Kairos (CALMIP).
Abstract & links
Summary
Oral presentation at JCAD 2026 in Nantes, sharing practical feedback and engineering insights from scaling Scaled Signed Averaging (SSA) to pretrain SSA-Luciole (a 1B parameter model trained on 3T tokens) on the Kairos supercomputer at CALMIP.
Abstract
Understanding the mathematical foundations of modern Large Language Models (LLMs) is essential for designing architectures that are more robust, interpretable, and reliable in real-world settings. However, theoretical analyses often rely on unrealistic assumptions, making large-scale empirical validation necessary.
In previous work, we introduced Scaled Signed Averaging (SSA) [1] as a drop-in replacement for the softmax scoring function in Attention to prevent attention from collapsing to a single token in large/out-of-distribution settings. Simple A/B testing on a 114M parameters model showed promising results but this scale is still far away from the models deployed today.
Through a Mesochallenge/collaboration with CALMIP during the deployment phase of the Kairos supercomputer (64 NVIDIA H200 GPUs, 4.77 Pflop/s, ranked #1 in the GREEN500 November 2025 list), and with Linagora via the OpenLLM France project, we pretrained SSA-Luciole, a 1B-parameter model trained on 3T tokens. This model and training dataset size are closer to current trends. We are currently on the process of transitioning this project to national compute resources for the final stages of the training (continued pretraining with cosine learning rate decay on 1.5T tokens then linear annealing on 0.5T).
This work provides practical feedback on scaling a novel attention scoring function in an academic environment. We discuss the implementation of SSA through custom Triton kernels, optimization challenges encountered during distributed training across 16 nodes, and strategies for monitoring large-scale runs and diagnosing GPU failures. We also present preliminary observations regarding training stability and efficiency compared to standard softmax-based architectures. Results suggests that this architecture replacement could improve any transformer model without any additional computational cost.
Our objective is to provide actionable lessons for academic teams seeking to experiment with novel LLM architectures at scale on modern HPC infrastructures.
[1] Naim, O., Bhar, S., Bolte, J., & Asher, N. (2026). SSA: Improving Performance With a Better Scoring Function. ACL 2026.
Exploring Plan Space through Conversation: An Agentic Framework for LLM-Mediated Explanations in Planning
EUMAS 2026 (23rd European Conference on Multi-Agent Systems), 2026
🏆 Best Paper Nominee. An agentic multi-agent LLM framework for conversational explanations in planning, evaluated with a human-in-the-loop user study.
Abstract & links
Summary
🏆 Best Paper Nominee at EUMAS 2026
We formalize and implement an agentic, multi-agent LLM architecture for conversational explanations in planning, and evaluate it with a human-in-the-loop user study.
Abstract
When automating plan generation for a real-world sequential decision problem, the goal is often not to replace the human planner, but to facilitate an iterative reasoning and elicitation process, where the human’s role is to guide the AI planner according to their preferences and expertise. In this context, explanations that respond to users’ questions are crucial to improve their understanding of potential solutions and increase their trust in the system. To enable natural interaction with such a system, we present a multi-agent Large Language Model (LLM) architecture that is agnostic to the explanation framework and enables user- and context-dependent interactive explanations. We also describe an instantiation of this framework for goal-conflict explanations, which we use to conduct a user study comparing the LLM-powered interaction with a baseline template-based explanation interface.
IPEXCO: A Platform for Iterative Planning with Interactive Goal-Conflict Explanations
World Conference of Explainable AI 2025, 2025
Agentic platform for iterative planning: multi-agent LLM chat interface with online human-in-the-loop evaluation.
Abstract & links
Summary
This is a demo paper about a platform for iterative planning with interactive goal-conflict explanations.
My most notable contribution is the design of an agentic multi-agent LLM architecture to present explanations to users through a chat interface, including human-in-the-loop evaluation via online user studies.
Abstract
When automating plan generation for a real-world sequential decision problem, the objective is often not to replace the human planner, but rather to facilitate an iterative reasoning and elicitation process, where the human’s role is to guide the planner according to their preferences and expertise. In this context, explanations that address users’ questions are crucial to improve their understanding of potential solutions and increase their trust in the system. We present a platform that implements this iterative planning approach and provides explanations to user questions based on conflicting goals and preferences. The platform supports both a classical template-based interface and a multi-agent Large Language Model (LLM) architecture that enables interactive explanations tailored to the user and context. The integration of online user studies allows for the evaluation of the effectiveness of the explanations and the impact of the communication interface.
Conversational Goal-Conflict Explanations in Planning via Multi-Agent LLMs
Workshop on Planning in the Era of LLMs (LM4Plan @ AAAI 2025), 2025
Conversational goal-conflict explanations via multi-agent LLMs — an agentic architecture for interactive planning.
Abstract & links
Summary
We formalize and implement an agentic, multi-agent LLM architecture for conversational explanations in planning.
Contribution
This is my first first-author paper!
Abstract
When automating plan generation for a real-world sequential
decision problem, the goal is often not to replace the human
planner, but to facilitate the tedious work. In an iterative pro-
cess, the human’s role is to guide the planner according to
their preferences and expert experience. Explanations that re-
spond to users’ questions are crucial to increase trust in the
system and improve understanding of the sample solutions.
To enable natural interaction with such a system, we present
an explanation framework agnostic architecture for interac-
tive natural language explanations that enables user and con-
text dependent interactions. We propose conversational inter-
faces based on Large Language Models (LLMs) and instan-
tiate the explanation framework with goal-conflict explana-
tions. As a basis for future evaluation, we provide a tool for
domain experts that implements our interactive natural lan-
guage explanation architecture.
KI 2025: Advances in Artificial Intelligence, 2024
We challenge the prevailing narrative about how transformers learn linear functions in-context by exploring a simple controlled setup with synthetic data.
Abstract & links
Summary
We investigate how transformer models learn linear functions through in-context learning, challenging common assumptions about their algorithmic capabilities.
Contribution
This work provides new insights into the limitations of in-context learning by studying a controlled setup with synthetic data.
Abstract
We explore in-context learning (ICL), a popular paradigm for inference with Large Language Models (LLMs), in a controlled experimental setup using synthetic training data. Using a range of small transformer models trained from scratch, we focus on a mathematical task with simple yet precise prompts: learning a linear function f from a sequence of inputs and their corresponding function values . Our findings challenge the prevailing narrative that transformers adopt algorithmic approaches like linear regression to in-context learn (ICL) a linear function. We observe that all models have “boundary values” that limit generalizability. While we can extend boundary values with training distributions over a wider range, we lose the precision of models trained on distributions with more restricted ranges. Thus, we see a dilemma for ICL at least in some tasks: either models will lack generalizability or precision.
Mathematical Derivation of Wave Propagation Properties in Hierarchical Neural Networks with Predictive Coding Feedback Dynamics
Bulletin of Mathematical Biology, 2023
We present a mathematical framework to systematically investigate neural dynamics in a hierarchical perceptual system with predictive coding.
Abstract & links
Summary
We present a mathematical framework to systematically investigate neural dynamics in a hierarchical perceptual system, showing how stability and wave propagation properties emerge from predictive coding principles.
Contribution
This paper provides a rigorous mathematical analysis of hierarchical neural networks with predictive coding dynamics, revealing conditions for stability and characterizing wave propagation properties.
Abstract
Sensory perception (e.g., vision) relies on a hierarchy of cortical areas, in which neural activity propagates in both directions, to convey information not only about sensory inputs but also about cognitive states, expectations and predictions. At the macroscopic scale, neurophysiological experiments have described the corresponding neural signals as both forward and backward-travelling waves, sometimes with characteristic oscillatory signatures. It remains unclear, however, how such activity patterns relate to specific functional properties of the perceptual apparatus. Here, we present a mathematical framework, inspired by neural network models of predictive coding, to systematically investigate neural dynamics in a hierarchical perceptual system. We show that stability of the system can be systematically derived from the values of hyper-parameters controlling the different signals (related to bottom-up inputs, top-down prediction and error correction). Similarly, it is possible to determine in which direction, and at what speed neural activity propagates in the system. Different neural assemblies (reflecting distinct eigenvectors of the connectivity matrices) can simultaneously and independently display different properties in terms of stability, propagation speed or direction. We also derive continuous-limit versions of the system, both in time and in neural space. Finally, we analyze the possible influence of transmission delays between layers, and reveal the emergence of oscillations.
Asymptotic behavior of nonlocal bistable reaction-diffusion equations
Discrete and Continuous Dynamical Systems - Series B, 2022
We study the asymptotic behavior of nonlocal bistable reaction-diffusion equations.
Abstract & links
Summary
We study the asymptotic behavior of nonlocal bistable reaction-diffusion equations.
Abstract
In this paper, we study the asymptotic behavior of the solutions of nonlocal bistable reaction-diffusion equations starting from compactly supported initial conditions. Depending on the relationship between the nonlinearity, the interaction kernel and the diffusion coefficient, we show that the solutions can either: propagate, go extinct or remain pinned. We especially focus on the latter regime where solutions are pinned by thoroughly studying discontinuous ground state solutions of the problem for a specific interaction kernel serving as a case study. We also present a detailed numerical analysis of the problem.
Travaux d’Initiation à la Recherche, Université Paul Sabatier, 2022
A university project review of a brain-inspired algorithm applied to deep neural networks.
Details
Summary
We review the application of predictive coding - a popular neuroscience framework - to deep neural networks.
Contribution
This work was produced for TIR (Travaux d’Initiation `a la Recherche) course in M1 Computer Science of UPS during year 2021/2022.
Abstract
Predictive Coding is a popular framework in neurosciences for explaining cortical function. In this model, higher-level cortical areas try to predict lower-level neural activity and prediction errors are passed back to higher layers. Deep Neural Networks (DNN) , which use brain-inspired architecture, could be augmented with such a model, providing robustness and a better understanding of spatio-temporal dependencies. We investigate research in this direction and give a quick review on tasks in which Predictive Coding (PC) for DNN has demonstrated its interest, with a strong emphasis on vision-related tasks.
Human-aware AI platforms, conversational decision interfaces, and LLM systems — from GPU training to deployed interactive agents.
2026
SSA-Luciole-1B
Pretraining a billion-parameter state-of-the-art LLM from scratch. HPC GPU training, inference, and evaluation with PyTorch Lightning, Nvidia NeMo, Hugging Face, and custom Triton kernels.
Human-aware AI platform for iterative planning with conversational goal-conflict explanations. Multi-agent LLM architecture bridging users and symbolic planners, evaluated with human-in-the-loop user studies.
Human-Aware AIConversational InterfacesExplainable AI (XAI)Multi-agent LLMsAngularNode.jsMongoDBOpenAI API
Visualization tools for a Pl@ntNet dataset at the Institut Montpelliérain Alexandre Grothendieck.
PythonData visualization
Skills
Human-aware AI engineering, conversational systems, LLM serving, and human-in-the-loop evaluation — from GPU inference to interactive decision platforms.
Human-Aware & Conversational AI
Conversational interfaces and multi-agent LLM systems for decision-making and planning on proprietary (OpenAI) and self-hosted backends (Ollama, OpenClaw, vLLM).
Human-Aware AIConversational AIMulti-agent LLMsDecision-makingOpenAI API
Interactive XAI & HITL
Goal-conflict explanations, contrastive reasoning, user studies, and empirical evaluation of trust, usability, and cognitive alignment.
Explainable AI (XAI)Goal conflictsHuman-in-the-loopUser studieslm-evaluation-harness
LLM deployment & inference
GPU access and scheduling, vLLM inference, and throughput / latency optimization for production model serving.
GPU inferenceCUDAThroughputModel serving
MLOps / LLMOps & Full-Stack
Containerized deployments, CI/CD pipelines, AWS cloud infrastructure, and interactive web tools (Angular, FastAPI, Node.js).
Lectures, tutorials, and lab sessions for undergraduate (L1–L3) and graduate (M1) students at
Université Toulouse III – Paul Sabatier and UPSSITECH engineering school.
2023–2026: 104 contact hours (100.17 equivalent tutorial hours), including 14 hours of combined lectures and tutorials. Volumes follow the university service records and their administrative rounding.
Teaching used materials supplied by the course teams. Undergraduate UEs from 2024–2025 belong to Licence Flex (L1–L3); object-oriented programming and data structures were taught to my L3 SID groups.
Program construction and correctness proofs using Why3 and MicroPython, including binary search and greatest common divisor. Supervision and assessment of practical sessions.
12 h TP · 12 h equivalent TD
Advanced Algorithmics
Université Paul Sabatier · Master course (M1 Computer Science, common core) · 2025–2026 · KINX7AC1
Five two-hour practical sessions on linear programming and metaheuristics in Python, using PySCIPOpt for linear programming.
Program construction and correctness proofs using Why3 and MicroPython, including binary search and greatest common divisor. Supervision and assessment of practical sessions.
Python practical sessions: native data structures, object-oriented programming and weighted graphs; advanced language concepts, vector computing, testing and debugging.
Implementation of uninformed state-space search strategies: breadth-first search, uniform-cost search and depth-first search. No involvement in assessment.
2 h TP · 1.33 h equivalent TD
Data Structures
Université Paul Sabatier · Undergraduate course (L3 SID; Licence Flex from 2024–2025) · 2023–2025 · KMIXID11
Data structures in C: pointers, dynamic memory, linked lists, queues, trees and files. Contributed to marking practical assignments.
20 h TP · 16.67 h equivalent TD
Outreach
I co-authored a national online module,
“Identifier les possibilités d'utilisation des IA génératives textuelles”,
for the French Université Numérique.
This module, accessible to all students in France, explores the potential uses of generative AI in academic settings.
My role was to explain how ChatGPT and similar models function.
Awards & Service
Awards & Funding
ANITI Graduate School Fellowship (Master’s, M1 and M2, 2021–2023) Valedictorian of the M.Sc. in Computer Science & Mathematics for AI (2023)
Competitive research internship grants from CIMI and ANITI (2021, 2022)
Academic Service & Leadership
Participated in a one-week workshop on the digital divide in Cahors, in partnership with the Département du Lot.
PhD & Postdoc Representative, ANITI (2024–2026) —
Organized seminars, workshops, and social events for the AI cluster’s early-career researchers.
Scientific Evaluator, Airbus Beluga AI Challenge — Explainability Track (2025).
Invited talks at LAAS-CNRS and IRT Saint Exupéry.
Gave talks within the TUPLES consortium at KU Leuven (2023), Saarland University and Czech Technical University (CTU/CVUT) in Prague (2024). Also attended LxMLS 2024 summer school (Lisbon).
Student governance (Montpellier, 2018–2021). President of the student union
AGEM (2019–2020):
led a 15-person team representing 75,000+ students; elected to university, faculty, and CROUS councils.
Collective initiatives: city’s first student social grocery store; organized an inclusive 2020 mayoral debate (11/14 candidates);
increased funding for campus projects.
Le bureau de l’association des étudiants de Montpellier aux fêtes du VIème centenaire de Ernest Michel, 1892
News
Upcoming: My PhD defense is scheduled for 8 December 2026.