<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Défithon | James Pontes Miranda</title><link>https://jameswpm.github.io/tags/defithon/</link><atom:link href="https://jameswpm.github.io/tags/defithon/index.xml" rel="self" type="application/rss+xml"/><description>Défithon</description><generator>Hugo Blox Builder (https://hugoblox.com)</generator><language>en-us</language><lastBuildDate>Mon, 30 Nov 2026 00:00:00 +0000</lastBuildDate><image><url>https://jameswpm.github.io/media/icon_hu7729264130191091259.png</url><title>Défithon</title><link>https://jameswpm.github.io/tags/defithon/</link></image><item><title>What Does It Mean for an LLM to Understand a Domain?</title><link>https://jameswpm.github.io/post/trip-report-defithon-2026/</link><pubDate>Mon, 30 Nov 2026 00:00:00 +0000</pubDate><guid>https://jameswpm.github.io/post/trip-report-defithon-2026/</guid><description>&lt;p>Last month, between the 16th and 17th of November, I spent 2 days discussing with other researchers exactly how we can help LLM-based systems understand a domain during modeling. This was the essence of the &lt;a href="https://gdr-scilog.cnrs.fr/" target="_blank" rel="noopener">GDR SciLog&lt;/a> Défithon 2026, a collaborative event created to address some challenges established in the context of the AI4SE (AI for Software Engineering) challenge. The discussion presents many complex challenges and an opportunity to think about what may help us to develop a system with LLM aid, which I discuss below.&lt;/p>
&lt;p>In late 2026, it&amp;rsquo;s increasingly common to see LLM-based systems producing code that can match, and sometimes surpass, the work of experienced developers. Given that, we may be tired of hearing variations of a catchphrase that reads: &amp;ldquo;the challenge was never the code, but the engineering behind it&amp;rdquo;. It happens that code is (usually) easy to verify, and that this ease of verification empowers LLM-based agents to confidently change code that goes to production with minimal human intervention. This enables the use of a large set of verifiers as approval gates to ensure compliance with system requirements and infrastructure constraints.&lt;/p>
&lt;p>The scenario described above is debatable, especially when it comes to the lack of human oversight in automated processes, but this is the state of software development in many companies, and whether it&amp;rsquo;s good or bad is a discussion for another post. What this perspective misses is a very important aspect of the craft of creating software systems: &lt;em>what exactly does it mean to understand a system?&lt;/em>&lt;/p>
&lt;p>I&amp;rsquo;m an advocate for model-based approaches to handle system complexities. However, even if we ignore the formalities and languages of MBSE, designing a system more often than not requires creating a mental model that represents the system being developed. Drawing boxes and arrows when explaining the system to the team is such a cliché in software development that I&amp;rsquo;d bet an image search with the keywords &amp;ldquo;software development&amp;rdquo; will return some photos of someone in front of a whiteboard drawing boxes.&lt;/p>
&lt;p>Let&amp;rsquo;s start with a very brief idea of an informal-ish model for a software system. Even when not using any flavor of UML, if your programming language of choice is object-oriented, it&amp;rsquo;s common to have a class diagram to represent the different users of the system. The example below is a simple class diagram for a library system, with a class for the system&amp;rsquo;s user that may assume two types: Student and Teacher.&lt;/p>
&lt;div class="mermaid">classDiagram
class User {
+String id
+String name
+String email
}
class UndergradStudent {
+int maxBooks = 3
+int loanDurationDays = 14
}
class Teacher {
+int maxBooks = 10
+int loanDurationDays = 30
}
User &lt;|-- UndergradStudent
User &lt;|-- Teacher
&lt;/div>
&lt;p>LLMs are totally capable of creating this diagram &lt;strong>syntactically&lt;/strong> correctly (I asked ChatGPT for it, by the way), and given such a diagram, it&amp;rsquo;s straightforward for a human developer to create code for it, so it&amp;rsquo;s also an easy task for an LLM-based agent. However, despite the syntax of this diagram (in this case written with &lt;a href="https://mermaid.js.org/" target="_blank" rel="noopener">mermaid&lt;/a>), even in this simple example, there are already some &lt;strong>semantically&lt;/strong> challenging interpretations.&lt;/p>
&lt;p>For example, the diagram gives the &lt;code>UndergradStudent&lt;/code> an attribute named &lt;code>maxBooks&lt;/code> with a value of &lt;code>3&lt;/code>. This is syntactically valid but semantically ambiguous because it&amp;rsquo;s incomplete. Nothing prevents a student from borrowing a fourth book, and this should be taken into account when implementing the system. This model does not explicitly state that the number of active loans a student may have must never exceed this limit.&lt;/p>
&lt;p>Reading the model (and potentially explaining it to other team members) may make it sound obvious because we can &lt;em>understand&lt;/em> it. Based on experience, common sense, or implicit assumptions, we may think we understand what the model describes. However, even the implementation of such a simple system may fail because its semantics are still subject to interpretation&lt;sup id="fnref:1">&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref">1&lt;/a>&lt;/sup>.&lt;/p>
&lt;p>If this is already a problem in such a simple example, imagine the challenge with complex systems.&lt;/p>
&lt;p>Essentially, this was the challenge we discussed during the Défithon. It was hosted in Labège, in the offices of &lt;a href="https://www.berger-levrault.com/fr/actualites/defithon26-comment-integrer-lia-dans-la-conception-logicielle/" target="_blank" rel="noopener">Berger Levrault&lt;/a>. It brought together young researchers (PhD students and postdocs) to think about it: &amp;ldquo;How to validate that a (meta)model generated by an LLM correctly models the intended business domain?&amp;rdquo;&lt;/p>
&lt;p>It took us (3 teams of around 5 challengers and two mentors) the whole day to figure out a list of possibilities, drawing on ideas from the state of the art in modeling, as well as insights from industrial projects that use systems and software models to design their systems. The (expected) conclusion is that there is no bulletproof solution yet. Constraint languages, formal validation, mechanical proofs, human-in-the-loop approaches, interactive interfaces, and many other techniques can be used to solve the problem.&lt;/p>
&lt;p>Some approaches focus on making constraints explicit, others on checking model consistency, while others aim to involve stakeholders in validating the generated representations. Still, this post is less about discussing these solutions (they may appear in the future, since we also set up some collaborative work there 😉) and more about discussing the insights I got while there.&lt;/p>
&lt;p>Working on software for almost a decade now, I&amp;rsquo;ve found some truths that remain valid despite the ever-changing technological landscape, including the new challenges brought by the advancement of LLM-based systems: it&amp;rsquo;s hard to know what a system is meant to be.&lt;/p>
&lt;p>A system may, and probably will, serve a wide variety of people with different mental models and perspectives, so it is common sense to say that the same system can be viewed and experienced in entirely different ways depending on the user. The other non-user stakeholders of the system also have a whole different set of incentives for the same system.&lt;/p>
&lt;p>I think this is where collaboration becomes essential. Not simply as a way to bring people together, but as a way to expose different perspectives, challenge implicit assumptions, and build a shared understanding of the system. However, collaboration alone is not enough. We need ways to make the knowledge exchanged explicit, represent it, and validate whether the resulting models actually capture what stakeholders intend.&lt;/p>
&lt;p>This is also where MBSE (and similar techniques), formal validation, and human-in-the-loop approaches become important. They are not competing solutions, but complementary tools to support this process. And when LLM-based systems become part of the engineering process, they should also participate in this exchange, helping us explore, question, and refine our understanding of the domain.&lt;/p>
&lt;p>The Défithon helped me start thinking about this common challenge. I can go back to the catchphrase I mentioned before and challenge it: the real challenge is not just the code itself or even the engineering and system design behind it, but how to ensure everyone interested in the system has a shared understanding of it.&lt;/p>
&lt;p>For me, this means that the future of LLM-based engineering systems should not be limited to generating models, code, or even validating their correctness. These systems should also help us expose assumptions, challenge interpretations, and progressively build a shared understanding of the domains they operate in.&lt;/p>
&lt;p>Collaboration is key to this process, but it needs to be supported by appropriate modeling and validation techniques. And figuring out how to combine these elements, while understanding the role of humans and AI in this process, is an interesting challenge for both research and software engineering.&lt;/p>
&lt;p>Below is a video summarizing the experience of some participants. The video is mainly in French, with some English testimonials (mine is at 02:36). It is also shared by &lt;a href="https://www.linkedin.com/posts/berger-levrault_innobybl-blresearch-daezfithon2026-activity-7530659143964229632-m2Nf" target="_blank" rel="noopener">Berger Levrault on LinkedIn&lt;/a>.&lt;/p>
&lt;video controls >
&lt;source src="https://jameswpm.github.io/post/trip-report-defithon-2026/video/rex-defithon.mp4" type="video/mp4">
&lt;/video>
&lt;figure class="w-1/2 mx-auto">&lt;img src="https://jameswpm.github.io/post/trip-report-defithon-2026/images/defithon.jpg"
alt="A photo of a wooden table with a badge over it, which is the focus of the picture. The badge is a white rectangle mostly with blue font that reads: &amp;#34;Défithon&amp;#39;26 | AI4SE - James Pontes Miranda - Challenger&amp;#34;. The badge also has a yellow circle mark and a watermark with the Défithon logo.">&lt;figcaption>
&lt;p>My &amp;ldquo;challenger&amp;rdquo; badge&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;div class="footnotes" role="doc-endnotes">
&lt;hr>
&lt;ol>
&lt;li id="fn:1">
&lt;p>Specifically for UML models and using a complete MBSE solution, it&amp;rsquo;s possible to extend it with constraints (using &lt;a href="https://en.wikipedia.org/wiki/Object_Constraint_Language" target="_blank" rel="noopener">OCL&lt;/a>, for example) and formally express &lt;em>some&lt;/em> semantics. In the example, we can complete the model and define the constraint that the number of active loans cannot exceed &lt;code>maxBooks&lt;/code>, but I&amp;rsquo;m purposefully assuming some informality in this model.&amp;#160;&lt;a href="#fnref:1" class="footnote-backref" role="doc-backlink">&amp;#x21a9;&amp;#xfe0e;&lt;/a>&lt;/p>
&lt;/li>
&lt;/ol>
&lt;/div></description></item></channel></rss>